]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Style more output of "disassemble" command
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
b2701685
TT
12020-10-08 Tom Tromey <tom@tromey.com>
2
3 * gdb.base/style.exp: Check that "main"'s name is styled.
4
e86efb33
TT
52020-10-07 Tom Tromey <tromey@adacore.com>
6
7 * gdb.base/find.exp: Rename some tests.
8
30897591
GB
92020-10-06 Gary Benson <gbenson@redhat.com>
10
11 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
12 * gdb.base/list1.c (unused): Likewise.
13
ced4a4c1
GB
142020-10-06 Gary Benson <gbenson@redhat.com>
15
16 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
17 __attribute__ ((used)).
18 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
19
ed3bdac4
AB
202020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
21
22 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
23 make use of regions throughout.
24 * gdb.base/overlays.exp: Enclose string with variableds in "..",
25 not {...}.
26 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
27
cd096ec8
HD
282020-10-05 Hannes Domani <ssbssa@yahoo.de>
29
30 * gdb.base/call-sc.c: Fix return struct on stack test case.
31 * gdb.base/call-sc.exp: Likewise.
32
3ee6f75d
GB
332020-10-02 Gary Benson <gbenson@redhat.com>
34
35 * README: Fix "paralell".
36
f65825ec
GB
372020-09-30 Gary Benson <gbenson@redhat.com>
38
39 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
40 Convert directive to lowercase.
41 (.Labbrev1_begin): Add missing label.
42 (abbrev code 0x1): Remove DW_AT_stmt_list.
43 (.Ldie_b): Likewise.
44
5f278258
TT
452020-09-27 Tom Tromey <tom@tromey.com>
46
47 * gdb.tui/new-layout.exp: Use with_test_prefix.
48
8f9929bb
GR
492020-09-26 Gareth Rees <grees@undo.io> (tiny change)
50
51 PR python/26586
52 * gdb.python/python.exp: add test cases for the from_tty
53 argument to gdb.execute.
54
c20c017b
GB
552020-09-25 Gary Benson <gbenson@redhat.com>
56
57 * gdb.base/infcall-nested-structs.exp.tcl: Add
58 additional_flags=-Wno-tautological-compare for C++
59 tests when compiling using Clang.
60
68d654af
GB
612020-09-25 Gary Benson <gbenson@redhat.com>
62
63 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
64 for .c files.
65
b551a89f
TT
662020-09-24 Tom Tromey <tromey@adacore.com>
67
68 PR tui/26638:
69 * gdb.tui/list.exp: Check output of "focus next".
70
20a5fcbd
TT
712020-09-23 Tom Tromey <tom@tromey.com>
72
73 * gdb.dwarf2/intbits.exp: New file.
74 * gdb.dwarf2/intbits.c: New file.
75
b167e53f
PA
762020-09-20 Pedro Alves <pedro@palves.net>
77
78 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
79 spawn_id before calling remote_close. Close secondary MI channel.
80
dbc49e9f
PA
812020-09-20 Pedro Alves <pedro@palves.net>
82
83 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
84 fails.
85
c8d5abea
AB
862020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
87
88 * gdb.fortran/array-slices.exp: Update expected results.
89 * gdb.fortran/class-allocatable-array.exp: Likewise.
90 * gdb.fortran/multi-dim.exp: Likewise.
91 * gdb.fortran/vla-type.exp: Likewise.
92 * gdb.mi/mi-vla-fortran.exp: Likewise.
93
14f9473c
VC
942020-09-18 Victor Collod <vcollod@nvidia.com>
95
96 PR gdb/26635
97 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
98 compatible with i386, and move it to...
99 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
100 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
101 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
102
e8ef12b9
PA
1032020-09-18 Pedro Alves <pedro@palves.net>
104
105 PR gdb/26631
106 * gdb.multi/multi-target-thread-find.exp: New file.
107
e11daf7a
PA
1082020-09-18 Pedro Alves <pedro@palves.net>
109
110 * gdb.multi/multi-target-continue.exp: New file, factored out from
111 multi-target.exp.
112 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
113 multi-target.exp.
114 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
115 multi-target.exp.
116 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
117 multi-target.exp.
118 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
119 multi-target.exp.
120 * gdb.multi/multi-target.exp.tcl: New file, factored out from
121 multi-target.exp.
122 * gdb.multi/multi-target.exp: Delete.
123
d0edc2b8
AB
1242020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
125
126 * gdb.fortran/array-slices.exp: Add missing message data.
127
7474326c
PA
1282020-09-17 Pedro Alves <pedro@palves.net>
129
130 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
131
dd23068d
PA
1322020-09-17 Pedro Alves <pedro@palves.net>
133
134 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
135 full prototype.
136
0640a543
PA
1372020-09-17 Pedro Alves <pedro@palves.net>
138
139 * gdb.python/py-as-string.c: Add cast.
140
ef0cdbc1
PA
1412020-09-17 Pedro Alves <pedro@palves.net>
142
143 * gdb.base/sizeof.c (fill): Add cast.
144
3a5eeb8b
PA
1452020-09-17 Pedro Alves <pedro@palves.net>
146
147 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
148
a8129512
PA
1492020-09-17 Pedro Alves <pedro@palves.net>
150
151 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
152 linkage name.
153 * gdb.base/prologue.exp: Use print /d.
154 * gdb.base/symbol-alias.exp: Handle C++ output.
155 * gdb.base/symbol-alias2.c: Handle C++ output.
156 [__cplusplus] (func): Explicitly specify linkage name.
157
a83cdcb6
PA
1582020-09-17 Pedro Alves <pedro@palves.net>
159
160 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
161 (struct my_key_t): ... this. Adjust all references.
162 (struct value_t): Rename to ...
163 (struct my_value_t): ... this. Adjust all references.
164 (create_map, add_map_element, create_map_map)
165 (add_map_map_element): Add casts.
166
d4bcee5c
PA
1672020-09-17 Pedro Alves <pedro@palves.net>
168
169 * gdb.python/py-framefilter-mi.c (funca): Add casts.
170 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
171
81f90489
PA
1722020-09-17 Pedro Alves <pedro@palves.net>
173
174 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
175
0a229804
PA
1762020-09-17 Pedro Alves <pedro@palves.net>
177
178 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
179 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
180 (charfoo, intfoo): Define full prototype.
181 * gdb.base/ptype1.c (charfoo): Define full prototype.
182 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
183 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
184
c3e5138d
PA
1852020-09-17 Pedro Alves <pedro@palves.net>
186
187 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
188 Don't define.
189 (utf_32_string): Compile for both C and C++.
190 * gdb.base/charset.exp: Use "print /d".
191
151fdbad
PA
1922020-09-17 Pedro Alves <pedro@palves.net>
193
194 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
195 (nullptr): Rename to ...
196 (null_ptr): ... this.
197 * gdb.base/watchpoint.exp: Adjust to rename.
198
18a25b64
PA
1992020-09-17 Pedro Alves <pedro@palves.net>
200
201 * gdb.base/printcmds.c (three, flag_enum_without_zero)
202 (three_not_flag): Add casts.
203
11fac337
PA
2042020-09-17 Pedro Alves <pedro@palves.net>
205
206 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
207 char array.
208 (main): Add references to Barrier, TestStrings, TestStringsH and
209 TestStringsW.
210 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
211 and expect a full prototype in C++.
212
52626c58
PA
2132020-09-17 Pedro Alves <pedro@palves.net>
214
215 * gdb.base/nested-addr.c (main): Add cast.
216 * gdb.base/nested-addr.exp: Use "print /d".
217
52bb0902
PA
2182020-09-17 Pedro Alves <pedro@palves.net>
219
220 * gdb.base/break.exp (func): New. Use it throughout when
221 expecting a function name.
222
73e18ac9
PA
2232020-09-17 Pedro Alves <pedro@palves.net>
224
225 * gdb.base/display.exp: Issue "set print asm-demangle on".
226
c8b18808
PA
2272020-09-17 Pedro Alves <pedro@palves.net>
228
229 * gdb.base/find.c: Include <string.h>.
230 (init_bufs): Add cast.
231 * gdb.base/find.exp: Issue "set print asm-demangle on".
232
fe830662
TT
2332020-09-16 Tom Tromey <tromey@adacore.com>
234
235 PR gdb/26598:
236 * gdb.base/skipcxx.exp: New file.
237 * gdb.base/skipcxx.cc: New file.
238
945ff6e2
TV
2392020-09-16 Tom de Vries <tdevries@suse.de>
240
241 PR testsuite/26617
242 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
243 WITH_DEBUG_SECTIONS is defined.
244 (xstr, str): New macro.
245 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
246 to get start and size of _Dmain.
247 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
248 using additional_flags.
249
da1df1db
TBA
2502020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
251
252 * gdb.base/bp-cmds-sourced-script.c: New file.
253 * gdb.base/bp-cmds-sourced-script.exp: New test.
254 * gdb.base/bp-cmds-sourced-script.gdb: New file.
255
337882d4
TV
2562020-09-16 Tom de Vries <tdevries@suse.de>
257
258 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
259 get the gdb prompt after issuing "monitor exit".
260
7361f908
TV
2612020-09-16 Tom de Vries <tdevries@suse.de>
262
263 PR testsuite/26624
264 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
265
4d91ddd3
TV
2662020-09-16 Tom de Vries <tdevries@suse.de>
267
268 PR testsuite/26618
269 * gdb.tui/new-layout.exp: Escape unbalanced braces.
270
08cc37dd
TT
2712020-09-15 Tom Tromey <tromey@adacore.com>
272
273 PR rust/26197:
274 * lib/rust-support.exp (rust_llvm_version): New proc.
275 * gdb.rust/simple.exp: Check rust_llvm_version.
276
ee6372f2
TV
2772020-09-14 Tom de Vries <tdevries@suse.de>
278
279 * gdb.rust/traits.exp: Fix PATH warning.
280
dc3a371e
PA
2812020-09-13 Pedro Alves <pedro@palves.net>
282
283 * gdb.base/catch-follow-exec.c (main): Add explicit return
284 statement.
285 * gdb.base/catch-signal.c (main): Likewise.
286 * gdb.base/condbreak-call-false.c (main): Likewise.
287 * gdb.base/consecutive.c (main): Add explicit return
288 statement and return type.
289 * gdb.base/cursal.c (main): Add explicit return statement.
290 * gdb.base/cvexpr.c (main): Likewise.
291 * gdb.base/display.c (main): Add explicit return statement and
292 return type.
293 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
294 * gdb.base/endianity.c (main): Likewise.
295 * gdb.base/execd-prog.c (main): Likewise.
296 * gdb.base/gdb1090.c (main): Likewise.
297 * gdb.base/info_qt.c (main): Likewise.
298 * gdb.base/lineinc.c (main): Likewise.
299 * gdb.base/load-command.c (main): Likewise.
300 * gdb.base/macscp1.c (main): Likewise.
301 * gdb.base/pr10179-a.c (main): Likewise.
302 * gdb.base/quit-live.c (main): Likewise.
303 * gdb.base/scope0.c (main): Likewise.
304 * gdb.base/settings.c (main): Likewise.
305 * gdb.base/stack-checking.c (main): Return int.
306 * gdb.base/varargs.c (main): Add explicit return statement.
307 * gdb.cp/ambiguous.cc (main): Likewise.
308 * gdb.cp/anon-struct.cc (main): Likewise.
309 * gdb.cp/anon-union.cc (main): Likewise.
310 * gdb.cp/bool.cc (main): Likewise.
311 * gdb.cp/bs15503.cc (main): Likewise.
312 * gdb.cp/cplusfuncs.cc (main): Likewise.
313 * gdb.cp/cttiadd.cc (main): Likewise.
314 * gdb.cp/extern-c.cc (main): Likewise.
315 * gdb.cp/filename.cc (main): Likewise.
316 * gdb.cp/formatted-ref.cc (main): Likewise.
317 * gdb.cp/mb-ctor.cc (main): Likewise.
318 * gdb.cp/member-ptr.cc (main): Likewise.
319 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
320 * gdb.cp/overload-const.cc (main): Likewise.
321 * gdb.cp/paren-type.cc (main): Likewise.
322 * gdb.cp/parse-lang.cc (main): Likewise.
323 * gdb.cp/pr-1023.cc (main): Likewise.
324 * gdb.cp/psmang1.cc (main): Likewise.
325 * gdb.cp/readnow-language.cc (main): Likewise.
326 * gdb.cp/ref-params.cc (main): Likewise.
327 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
328 * gdb.cp/virtbase2.cc (main): Likewise.
329 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
330 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
331 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
332 * gdb.mi/mi-console.c (main): Likewise.
333 * gdb.mi/mi-read-memory.c (main): Likewise.
334 * gdb.modula2/multidim.c (main): Likewise.
335 * gdb.opt/inline-small-func.c (main): Likewise.
336 * gdb.python/py-rbreak.c (main): Likewise.
337 * gdb.stabs/exclfwd1.c (main): Likewise.
338 * gdb.trace/qtro.c (main): Likewise.
339
af26601c
PA
3402020-09-13 Pedro Alves <pedro@palves.net>
341
342 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
343 instead of getenv.
344
2f4b83cd
PA
3452020-09-13 Pedro Alves <pedro@palves.net>
346
347 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
348 instead of spawning GDB with remote_spawn.
349 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
350 gdb_spawn instead of spawning GDB with remote_spawn.
351
c49da0e4
PA
3522020-09-13 Pedro Alves <pedro@palves.net>
353
354 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
355 file and add calls to first and second.
356 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
357 add call to f.
358
6791b117
PA
3592020-09-13 Pedro Alves <pedro@palves.net>
360
361 * gdb.mi/mi-break-qualified.cc: New file.
362 * gdb.mi/mi-break-qualified.exp: New file.
363 * lib/mi-support.exp (mi_create_breakpoint_multi)
364 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
365 procedures.
366 (mi_create_breakpoint_1): New, factored out from
367 mi_create_breakpoint.
368
3b8d4c5c
PA
3692020-09-13 Pedro Alves <pedro@palves.net>
370
371 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
372 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
373 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
374 (register_class): Delete.
375 (main): Don't call register_class.
376
d5f96005
PA
3772020-09-13 Pedro Alves <pedro@palves.net>
378
379 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
380 (do_tests): Remove "calling method for small class" test.
381 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
382 (register_class): Delete.
383 (main): Don't call register_class.
384 * gdb.cp/call-method-register.exp: New file, based on bits removed
385 from classes.exp.
386 * gdb.cp/call-method-register.cc: New file, based on bits removed
387 from classes.cc.
388
77f2120b
PA
3892020-09-13 Pedro Alves <pedro@palves.net>
390
391 * gdb.base/msym-bp-2.c: New.
392 * gdb.base/msym-bp-shl-lib.c: New file.
393 * gdb.base/msym-bp-shl-main-2.c: New file.
394 * gdb.base/msym-bp-shl-main.c: New file.
395 * gdb.base/msym-bp-shl.exp: New file.
396 * gdb.base/msym-bp.c: New file.
397 * gdb.base/msym-bp.exp: New file.
398
32aea73e
JB
3992020-09-13 Joel Brobecker <brobecker@adacore.com>
400
401 * gdb.base/default.exp: Change $_gdb_major to 11.
402
2a67f09d
FW
4032020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
404 Felix Willgerodt <Felix.Willgerodt@intel.com>
405
406 * x86-avx512bf16.c: New file.
407 * x86-avx512bf16.exp: Likewise.
408 * lib/gdb.exp (skip_avx512bf16_tests): New function.
409
ad570dd7
TV
4102020-09-11 Tom de Vries <tdevries@suse.de>
411
412 PR exp/26602
413 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
414
a56f7391
TBA
4152020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
416
417 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
418
918619e5
AM
4192020-09-10 Alan Modra <amodra@gmail.com>
420
421 PR 26597
422 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
423
cac1e71d
TV
4242020-09-08 Tom de Vries <tdevries@suse.de>
425
426 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
427 after gdb_starti_cmd.
428
c5cd900e
AKS
4292020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
430
431 * lib/fortran.exp (fortran_complex8): New proc.
432 (fortran_complex16): New proc.
433 * gdb.fortran/complex.exp: Use routines from fortran.exp
434 * gdb.fortran/pointer-to-pointer.exp: Likewise.
435 * gdb.fortran/vla-ptr-info.exp: Likewise.
436
8f5c6526
TV
4372020-09-03 Tom de Vries <tdevries@suse.de>
438
439 PR breakpoint/26546
440 * gdb.base/label-without-address.exp: Runto main first.
441
02c6f3f1
TT
4422020-09-02 Tom Tromey <tromey@adacore.com>
443
444 * gdb.ada/mi_var_access.exp: Test children of access variable.
445 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
446 * gdb.ada/mi_var_array.exp: Update.
447
efe24f05
KB
4482020-08-31 Kevin Buettner <kevinb@redhat.com>
449
450 * gdb.base/corefile.exp (warning-free): XFAIL test when running
451 on docker w/ AUFS storage driver.
452
973695d6
KB
4532020-08-31 Kevin Buettner <kevinb@redhat.com>
454
455 * gdb.base/corefile2.exp (renamed binfile): New tests.
456
f3bd50f1
SM
4572020-08-31 Simon Marchi <simon.marchi@efficios.com>
458
459 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
460
22b9b4b0
SL
4612020-08-31 Simon Marchi <simon.marchi@efficios.com>
462
463 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
464 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
465
8efaf6b3
SM
4662020-08-31 Simon Marchi <simon.marchi@efficios.com>
467
468 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
469 output, printing a "not saved" value from history and printing a
470 convenience variable created from a "not saved" value.
471
e840f2e3
TV
4722020-08-31 Tom de Vries <tdevries@suse.de>
473
474 * gdb.base/eh_return.exp: Use nopie.
475
8f57f343
PA
4762020-08-28 Pedro Alves <pedro@palves.net>
477
478 * gdb.base/advance-until-multiple-locations.exp
479 (advance_overload, until_overload): Adjust to match the
480 frame/function header instead of the source line text.
481
626d2320
TV
4822020-08-28 Tom de Vries <tdevries@suse.de>
483
484 * gdb.base/label-without-address.c: New test.
485 * gdb.base/label-without-address.exp: New file.
486
df631783
PA
4872020-08-27 Pedro Alves <pedro@palves.net>
488
489 PR gdb/26523
490 PR gdb/26524
491 * gdb.base/advance-until-multiple-locations.cc: New.
492 * gdb.base/advance-until-multiple-locations.exp: New.
493
48b076bb
SM
4942020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
495
496 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
497
c2015ce4
AB
4982020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
499
500 * gdb.arch/amd64-byte.exp: Make test names unique, use
501 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
502 * gdb.arch/amd64-dword.exp: Likewise.
503 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
504 * gdb.arch/amd64-stap-special-operands.exp: Make test names
505 unique.
506 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
507 * gdb.arch/amd64-word.exp: Make test names unique, use
508 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
509 * gdb.arch/i386-byte.exp: Make test names unique, use
510 gdb_breakpoint.
511 * gdb.arch/i386-word.exp: Likewise.
512
995d3a19
SV
5132020-08-25 Shahab Vahedi <shahab@synopsys.com>
514
515 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
516
8cac2b31
SM
5172020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
518
519 PR gdb/26532
520 * gdb.threads/stepi-random-signal.exp: Update pattern.
521
2bc19622
SM
5222020-08-25 Simon Marchi <simon.marchi@efficios.com>
523
524 PR gdb/26532
525 * gdb.base/ui-redirect.exp: Update pattern.
526
b04aa1fc
GB
5272020-08-25 Gary Benson <gbenson@redhat.com>
528
529 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
530 when compiling with clang.
8571e9c8 531 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 532
9f68b453
GB
5332020-08-25 Gary Benson <gbenson@redhat.com>
534
535 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
536 Add additional_flags=-Wno-inaccessible-base when compiling
537 with GCC >= 10.1 or clang. Add additional_flags=-w when
538 compiling with GCC < 10.
539
3945d2d7
GM
5402020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
541
542 PR m2/26372
fc5d6901
SM
543 * gdb.modula2/multidim.c: New file.
544 * gdb.modula2/multidim.exp: New file.
3945d2d7 545
60122dbe
SM
5462020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
547
548 * lib/gdb.exp (runto): Always emit fail on internal error.
549
1eb8556f
SM
5502020-08-24 Simon Marchi <simon.marchi@efficios.com>
551
552 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
553 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
554 Likewise.
555 * gdb.threads/stepi-random-signal.exp: Likewise.
556
33bf4c5c
TBA
5572020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
558
559 * gdb.base/print-file-var.exp: Fix typo "breapoint".
560 * gdb.trace/strace.exp: Ditto.
561
c2fd7fae
AKS
5622020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
563
564 * gdb.fortran/vla-type.exp: Skip commands not required for
565 the Flang compiled binaries after prologue fix.
566
326afb72
TT
5672020-08-17 Tom de Vries <tdevries@suse.de>
568 Tom Tromey <tromey@adacore.com>
569
570 PR rust/26197:
571 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
572
3ae7ab99
TT
5732020-08-17 Tom Tromey <tromey@adacore.com>
574
575 * gdb.ada/mi_var_access.exp: New file.
576 * gdb.ada/mi_var_access/mi_access.adb: New file.
577 * gdb.ada/mi_var_access/pck.adb: New file.
578 * gdb.ada/mi_var_access/pck.ads: New file.
579
f569c1c5
TV
5802020-08-16 Tom de Vries <tdevries@suse.de>
581
582 PR gdb/25350
583 * gdb.base/eh_return.c: New test.
584 * gdb.base/eh_return.exp: New file.
585
3d11c30a
TV
5862020-08-15 Tom de Vries <tdevries@suse.de>
587
588 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
589 (mixed_func_1d_): Use fortran_charlen_t in decl.
590
547ce8f0
TV
5912020-08-15 Tom de Vries <tdevries@suse.de>
592
593 PR backtrace/26390
594 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
595 Update expected pattern.
596
a54a7f13
PA
5972020-08-13 Pedro Alves <pedro@palves.net>
598
599 * gdb.fortran/complex.exp: Check skip_fortran_tests.
600 * gdb.fortran/library-module.exp: Likewise.
601 * gdb.fortran/logical.exp: Likewise.
602 * gdb.fortran/module.exp: Likewise.
603 * gdb.fortran/print_type.exp: Likewise.
604 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
605 * gdb.fortran/vla-datatypes.exp: Likewise.
606 * gdb.fortran/vla-history.exp: Likewise.
607 * gdb.fortran/vla-ptr-info.exp: Likewise.
608 * gdb.fortran/vla-ptype-sub.exp: Likewise.
609 * gdb.fortran/vla-ptype.exp: Likewise.
610 * gdb.fortran/vla-sizeof.exp: Likewise.
611 * gdb.fortran/vla-type.exp: Likewise.
612 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
613 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
614 * gdb.fortran/vla-value-sub.exp: Likewise.
615 * gdb.fortran/vla-value.exp: Likewise.
616
7a82e903
PA
6172020-08-13 Pedro Alves <pedro@palves.net>
618
619 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
620 * gdb.ada/access_to_packed_array.exp: Likewise.
621 * gdb.ada/access_to_unbounded_array.exp: Likewise.
622 * gdb.ada/addr_arith.exp: Likewise.
623 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
624 * gdb.ada/arr_arr.exp: Likewise.
625 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
626 * gdb.ada/array_bounds.exp: Likewise.
627 * gdb.ada/array_of_variable_length.exp: Likewise.
628 * gdb.ada/array_ptr_renaming.exp: Likewise.
629 * gdb.ada/array_subscript_addr.exp: Likewise.
630 * gdb.ada/arraydim.exp: Likewise.
631 * gdb.ada/arrayparam.exp: Likewise.
632 * gdb.ada/arrayptr.exp: Likewise.
633 * gdb.ada/assign_1.exp: Likewise.
634 * gdb.ada/assign_arr.exp: Likewise.
635 * gdb.ada/atomic_enum.exp: Likewise.
636 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
637 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
638 * gdb.ada/bias.exp: Likewise.
639 * gdb.ada/boolean_expr.exp: Likewise.
640 * gdb.ada/bp_c_mixed_case.exp: Likewise.
641 * gdb.ada/bp_enum_homonym.exp: Likewise.
642 * gdb.ada/bp_inlined_func.exp: Likewise.
643 * gdb.ada/bp_on_var.exp: Likewise.
644 * gdb.ada/bp_range_type.exp: Likewise.
645 * gdb.ada/bp_reset.exp: Likewise.
646 * gdb.ada/call_pn.exp: Likewise.
647 * gdb.ada/catch_assert_if.exp: Likewise.
648 * gdb.ada/catch_ex.exp: Likewise.
649 * gdb.ada/catch_ex_std.exp: Likewise.
650 * gdb.ada/char_enum.exp: Likewise.
651 * gdb.ada/char_param.exp: Likewise.
652 * gdb.ada/complete.exp: Likewise.
653 * gdb.ada/cond_lang.exp: Likewise.
654 * gdb.ada/convvar_comp.exp: Likewise.
655 * gdb.ada/dgopt.exp: Likewise.
656 * gdb.ada/disc_arr_bound.exp: Likewise.
657 * gdb.ada/display_nested.exp: Likewise.
658 * gdb.ada/dot_all.exp: Likewise.
659 * gdb.ada/dyn_loc.exp: Likewise.
660 * gdb.ada/dyn_stride.exp: Likewise.
661 * gdb.ada/excep_handle.exp: Likewise.
662 * gdb.ada/expr_delims.exp: Likewise.
663 * gdb.ada/expr_with_funcall.exp: Likewise.
664 * gdb.ada/exprs.exp: Likewise.
665 * gdb.ada/fin_fun_out.exp: Likewise.
666 * gdb.ada/fixed_cmp.exp: Likewise.
667 * gdb.ada/formatted_ref.exp: Likewise.
668 * gdb.ada/frame_arg_lang.exp: Likewise.
669 * gdb.ada/frame_args.exp: Likewise.
670 * gdb.ada/fullname_bp.exp: Likewise.
671 * gdb.ada/fun_addr.exp: Likewise.
672 * gdb.ada/fun_in_declare.exp: Likewise.
673 * gdb.ada/fun_overload_menu.exp: Likewise.
674 * gdb.ada/fun_renaming.exp: Likewise.
675 * gdb.ada/funcall_char.exp: Likewise.
676 * gdb.ada/funcall_param.exp: Likewise.
677 * gdb.ada/funcall_ptr.exp: Likewise.
678 * gdb.ada/funcall_ref.exp: Likewise.
679 * gdb.ada/homonym.exp: Likewise.
680 * gdb.ada/info_addr_mixed_case.exp: Likewise.
681 * gdb.ada/info_auto_lang.exp: Likewise.
682 * gdb.ada/info_exc.exp: Likewise.
683 * gdb.ada/info_types.exp: Likewise.
684 * gdb.ada/int_deref.exp: Likewise.
685 * gdb.ada/interface.exp: Likewise.
686 * gdb.ada/iwide.exp: Likewise.
687 * gdb.ada/lang_switch.exp: Likewise.
688 * gdb.ada/length_cond.exp: Likewise.
689 * gdb.ada/maint_with_ada.exp: Likewise.
690 * gdb.ada/mi_catch_assert.exp: Likewise.
691 * gdb.ada/mi_catch_ex.exp: Likewise.
692 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
693 * gdb.ada/mi_dyn_arr.exp: Likewise.
694 * gdb.ada/mi_ex_cond.exp: Likewise.
695 * gdb.ada/mi_exc_info.exp: Likewise.
696 * gdb.ada/mi_interface.exp: Likewise.
697 * gdb.ada/mi_prot.exp: Likewise.
698 * gdb.ada/mi_ref_changeable.exp: Likewise.
699 * gdb.ada/mi_string_access.exp: Likewise.
700 * gdb.ada/mi_task_arg.exp: Likewise.
701 * gdb.ada/mi_task_info.exp: Likewise.
702 * gdb.ada/mi_var_array.exp: Likewise.
703 * gdb.ada/mi_var_union.exp: Likewise.
704 * gdb.ada/mi_variant.exp: Likewise.
705 * gdb.ada/minsyms.exp: Likewise.
706 * gdb.ada/mod_from_name.exp: Likewise.
707 * gdb.ada/nested.exp: Likewise.
708 * gdb.ada/null_array.exp: Likewise.
709 * gdb.ada/optim_drec.exp: Likewise.
710 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
711 * gdb.ada/packed_array_assign.exp: Likewise.
712 * gdb.ada/packed_tagged.exp: Likewise.
713 * gdb.ada/pp-rec-component.exp: Likewise.
714 * gdb.ada/print_chars.exp: Likewise.
715 * gdb.ada/print_pc.exp: Likewise.
716 * gdb.ada/ptr_typedef.exp: Likewise.
717 * gdb.ada/ptype_arith_binop.exp: Likewise.
718 * gdb.ada/ptype_array.exp: Likewise.
719 * gdb.ada/ptype_field.exp: Likewise.
720 * gdb.ada/ptype_tagged_param.exp: Likewise.
721 * gdb.ada/ptype_union.exp: Likewise.
722 * gdb.ada/py_range.exp: Likewise.
723 * gdb.ada/py_taft.exp: Likewise.
724 * gdb.ada/rdv_wait.exp: Likewise.
725 * gdb.ada/rec_comp.exp: Likewise.
726 * gdb.ada/rec_return.exp: Likewise.
727 * gdb.ada/ref_param.exp: Likewise.
728 * gdb.ada/ref_tick_size.exp: Likewise.
729 * gdb.ada/rename_subscript_param.exp: Likewise.
730 * gdb.ada/repeat_dyn.exp: Likewise.
731 * gdb.ada/same_component_name.exp: Likewise.
732 * gdb.ada/same_enum.exp: Likewise.
733 * gdb.ada/scalar_storage.exp: Likewise.
734 * gdb.ada/set_wstr.exp: Likewise.
735 * gdb.ada/small_reg_param.exp: Likewise.
736 * gdb.ada/str_binop_equal.exp: Likewise.
737 * gdb.ada/str_ref_cmp.exp: Likewise.
738 * gdb.ada/str_uninit.exp: Likewise.
739 * gdb.ada/sub_variant.exp: Likewise.
740 * gdb.ada/sym_print_name.exp: Likewise.
741 * gdb.ada/taft_type.exp: Likewise.
742 * gdb.ada/tagged.exp: Likewise.
743 * gdb.ada/tagged_access.exp: Likewise.
744 * gdb.ada/task_bp.exp: Likewise.
745 * gdb.ada/task_switch_in_core.exp: Likewise.
746 * gdb.ada/tasks.exp: Likewise.
747 * gdb.ada/tick_last_segv.exp: Likewise.
748 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
749 * gdb.ada/type_coercion.exp: Likewise.
750 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
751 * gdb.ada/unchecked_union.exp: Likewise.
752 * gdb.ada/uninitialized_vars.exp: Likewise.
753 * gdb.ada/var_arr_attrs.exp: Likewise.
754 * gdb.ada/var_arr_typedef.exp: Likewise.
755 * gdb.ada/var_rec_arr.exp: Likewise.
756 * gdb.ada/variant-record.exp: Likewise.
757 * gdb.ada/variant.exp: Likewise.
758 * gdb.ada/variant_record_packed_array.exp: Likewise.
759 * gdb.ada/varsize_limit.exp: Likewise.
760 * gdb.ada/whatis_array_val.exp: Likewise.
761 * gdb.ada/widewide.exp: Likewise.
762 * gdb.ada/win_fu_syms.exp: Likewise.
763
7642020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
765
766 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
767
10c381b5
AB
7682020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
769
770 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
771 unset the array variable.
772
8f34b746
TV
7732020-08-03 Tom de Vries <tdevries@suse.de>
774
775 PR symtab/26333
776 * lib/dwarf.exp (DW_LNE_user): New proc.
777 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
778 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
779
0245e136
KB
7802020-07-31 Kevin Buettner <kevinb@redhat.com>
781
782 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
783 to 'uintptr_t'
784 (inttypes.h): Include.
785
9ef1ec5d
KB
7862020-07-31 Kevin Buettner <kevinb@redhat.com>
787
788 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
789 (C5_24k): Delete.
790 (C5_8k, C5_64k, C5_256k): New macros.
791 (buf_ro): Allocate 256 KiB of initialized data.
792
4c55e970
TBA
7932020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
794
795 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
796 that attempt to overwrite an existing condition with a condition
797 that fails parsing and also with a condition that parses fine
798 but contains junk at the end.
799
1e620590
TBA
8002020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
801
802 * gdb.base/condbreak-bad.c: New test.
803 * gdb.base/condbreak-bad.exp: New file.
804
e12dcc50
TV
8052020-07-30 Tom de Vries <tdevries@suse.de>
806
807 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
808 out of ...
809 (GDBInfoModuleSymbols::check_entry): ... here.
810 (GDBInfoModuleSymbols::check_optional_entry): New proc.
811 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
812 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
813
6cc64caa
TV
8142020-07-30 Tom de Vries <tdevries@suse.de>
815
816 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
817 "__class_some_module_Number_t" optional.
818
90fd07fc
TV
8192020-07-29 Tom de Vries <tdevries@suse.de>
820
821 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
822 multiple locations.
823
f5c79e97
TV
8242020-07-29 Tom de Vries <tdevries@suse.de>
825
826 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
827 rather than function name.
828
f75a0693
AB
8292020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
830
831 PR symtab/26270:
832 * gdb.cp/disasm-func-name.cc: New file.
833 * gdb.cp/disasm-func-name.exp: New file.
834
4888741a
TT
8352020-07-28 Tom Tromey <tromey@adacore.com>
836
837 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
838 'varval' location.
839
43d5901d
AB
8402020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
841
842 * gdb.python/py-unwind.py: Update to make use of a register
843 descriptor.
844
14fa8fb3
AB
8452020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
846
847 * gdb.python/py-arch-reg-names.exp: Add additional tests.
848
e79eb02f
AB
8492020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
850
851 PR fortran/23051
852 PR fortran/26139
853 * gdb.fortran/class-allocatable-array.exp: New file.
854 * gdb.fortran/class-allocatable-array.f90: New file.
855 * gdb.fortran/pointer-to-pointer.exp: New file.
856 * gdb.fortran/pointer-to-pointer.f90: New file.
857
876518dd
TV
8582020-07-25 Tom de Vries <tdevries@suse.de>
859
860 PR symtab/26243
861 * gdb.dwarf2/dw2-line-number-zero.c: New test.
862 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
863
6dcfb80a
TV
8642020-07-24 Tom de Vries <tdevries@suse.de>
865
866 PR testsuite/26293
867 * gdb.ada/mi_prot.exp: Require gnatmake-8.
868
e7bc9db8
PA
8692020-07-23 Pedro Alves <pedro@palves.net>
870
871 * gdb.server/server-kill.exp (prepare): New, factored out from the
872 top level.
873 (kill_server): New.
874 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
875 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
876
78344df7
AB
8772020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
878
879 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
880
25dfed24
SL
8812020-07-22 Sandra Loosemore <sandra@codesourcery.com>
882
883 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
884 Initialize to empty string at top level.
885 (gdb_wrapper_init): Revert check for file existence on build.
886 Build the wrapper in its default place, not a build-specific
887 location. When host == build, make the pathname absolute.
888 (gdb_compile): Delete leftover declaration of
889 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
890 string instead of uninitialized.
891
7da515fd
KB
8922020-07-22 Kevin Buettner <kevinb@redhat.com>
893
894 * gdb.base/corefile2.exp: New file.
895 * gdb.base/coremaker2.exp: New file.
896
9c5ec5c2
KB
8972020-07-22 Kevin Buettner <kevinb@redhat.com>
898
899 * gdb.base/coredump-filter.exp: Add second
900 non-Private-Shared-Anon-File test.
901 (test_disasm): Rename binfile for test which is expected
902 to fail.
903
f9e233c9
KB
9042020-07-22 Kevin Buettner <kevinb@redhat.com>
905
906 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
907 data in core file".
908 * gdb.base/coremaker.c (buf2ro): New global.
909 (mmapdata): Add a read-only mmap mapping.
910
94c265d7
KB
9112020-07-22 Kevin Buettner <kevinb@redhat.com>
912
913 PR corefiles/25631
914 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
915 New test.
916 * gdb.base/coremaker.c (buf3): New global.
917 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
918 flags.
919
9202020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
921
922 * gdb.base/coremaker.c (filler_ro): New global constant.
923
32fa152e
TT
9242020-07-22 Tom Tromey <tromey@adacore.com>
925
926 * gdb.ada/mi_prot.exp: New file.
927 * gdb.ada/mi_prot/pkg.adb: New file.
928 * gdb.ada/mi_prot/pkg.ads: New file.
929 * gdb.ada/mi_prot/prot.adb: New file.
930
c8474dc3
TBA
9312020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
932
933 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
934 loads two JITers.
935
baf8791e
AB
9362020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
937
938 * gdb.python/py-arch-reg-groups.exp: Additional tests.
939
f7306dac
AB
9402020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
941
942 * gdb.python/py-arch-reg-names.exp: Additional tests.
943
6d3d6e4b
TV
9442020-07-21 Tom de Vries <tdevries@suse.de>
945
946 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
947 breakpoint locations".
948 * gdb.reverse/solib-reverse.exp: Same.
949
803d0592
TV
9502020-07-21 Tom de Vries <tdevries@suse.de>
951
952 * gdb.reverse/step-reverse.c (callee): Merge statements.
953
e9bdc510
TV
9542020-07-21 Tom de Vries <tdevries@suse.de>
955
956 * gdb.fortran/info-modules.exp (info module variables): Allow missing
957 line numbers for some variables.
958
f0f9e75a
TV
9592020-07-21 Tom de Vries <tdevries@suse.de>
960
961 * gdb.opt/inline-locals.c (init_array): New func.
962 (func1): Use init_array.
963 * gdb.opt/inline-locals.exp: Update pattern.
964
bd460ecb
TV
9652020-07-21 Tom de Vries <tdevries@suse.de>
966
967 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
968 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
969
ae5369e7
LC
9702020-07-20 Ludovic Courtès <ludo@gnu.org>
971
972 * gdb.guile/source2.scm: Add #f first argument to 'format'.
973 * gdb.guile/types-module.exp: Remove "ERROR:" from
974 regexps since Guile 3.0 no longer prints that.
975
68cf161c
LC
9762020-07-20 Ludovic Courtès <ludo@gnu.org>
977
978 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
979 error regexp to match on Guile 2.2.
980
c14b4913
GB
9812020-07-20 Gary Benson <gbenson@redhat.com>
982
983 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
984 with clang.
985
b243ba58
TV
9862020-07-20 Tom de Vries <tdevries@suse.de>
987
988 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
989 (omp_set_lock_in_order): New function.
990 (single_scope, multi_scope, nested_func, nested_parallel): Use
991 omp_set_lock_in_order and omp_unset_lock.
992 (main): Init and destroy lock and lock2.
993
c06ad8b5
TV
9942020-07-20 Tom de Vries <tdevries@suse.de>
995
996 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
997
6e22f117
TV
9982020-07-20 Tom de Vries <tdevries@suse.de>
999
1000 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
1001
33176ea7
TV
10022020-07-17 Tom de Vries <tdevries@suse.de>
1003
1004 * gdb.base/valgrind-infcall-2.c: New test.
1005 * gdb.base/valgrind-infcall-2.exp: New file.
1006 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
1007
90c3ec2d
TV
10082020-07-17 Tom de Vries <tdevries@suse.de>
1009
1010 * gdb.dlang/circular.c (found): Use found_label as label name.
1011 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
1012 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
1013 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
1014 * gdb.dwarf2/ada-linkage-name.exp: Same.
1015 * gdb.dwarf2/arr-subrange.exp: Same.
1016 * gdb.dwarf2/atomic-type.exp: Same.
1017 * gdb.dwarf2/comp-unit-lang.exp: Same.
1018 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1019 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1020 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
1021 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
1022 * gdb.dwarf2/implptr-64bit.exp: Same.
1023 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1024 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1025 * gdb.dwarf2/imported-unit.exp: Same.
1026 * gdb.dwarf2/main-subprogram.exp: Same.
1027 * gdb.dwarf2/missing-type-name.exp: Same.
1028 * gdb.dwarf2/nonvar-access.exp: Same.
1029 * gdb.dwarf2/struct-with-sig.exp: Same.
1030 * gdb.dwarf2/typedef-void-finish.exp: Same.
1031 * gdb.dwarf2/void-type.exp: Same.
1032
10da644d
TV
10332020-07-17 Tom de Vries <tdevries@suse.de>
1034
1035 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
1036 src parameter.
1037 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
1038 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
1039 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1040 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1041 * gdb.dwarf2/dwz.exp: Same.
1042 * gdb.dwarf2/implptr-optimized-out.exp: Same.
1043 * gdb.dwarf2/implref-array.exp: Same.
1044 * gdb.dwarf2/implref-const.exp: Same.
1045 * gdb.dwarf2/implref-global.exp: Same.
1046 * gdb.dwarf2/implref-struct.exp: Same.
1047 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1048 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1049 * gdb.dwarf2/var-access.exp: Same.
1050 * gdb.dwarf2/varval.exp: Same.
1051 * gdb.trace/entry-values.exp: Same.
1052
315e6afc
TV
10532020-07-17 Tom de Vries <tdevries@suse.de>
1054
1055 * lib/dwarf.exp (Dwarf::extern): Remove.
1056 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
1057 * gdb.dlang/circular.exp: Same.
1058 * gdb.dwarf2/comp-unit-lang.exp: Same.
1059 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1060 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
1061 * gdb.dwarf2/dwz.exp: Same.
1062 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1063 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1064 * gdb.dwarf2/imported-unit.exp: Same.
1065 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1066
5597c940
SL
10672020-07-16 Sandra Loosemore <sandra@codesourcery.com>
1068
1069 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
1070 Use double quotes instead of single quotes.
1071
d0ce17d8
CT
10722020-07-16 Caroline Tice <cmtice@google.com>
1073
1074 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
1075 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
1076
853772cc
TV
10772020-07-16 Tom de Vries <tdevries@suse.de>
1078
1079 * lib/dwarf.exp (program): Initialize _line.
1080 (DW_LNE_end_sequence): Reinitialize _line.
1081 (DW_LNS_advance_line): Update _line.
1082 (line): New proc.
1083 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
1084 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1085 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1086 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1087 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1088 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1089
fe07b572
AB
10902020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1091
1092 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
1093 generic.
1094
52781cce
TV
10952020-07-15 Tom de Vries <tdevries@suse.de>
1096
1097 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
1098 is_amd64_regs_target.
1099
3dcc261c
AB
11002020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1101
1102 * gdb.fortran/ptype-on-functions.exp: Add more tests.
1103 * gdb.fortran/ptype-on-functions.f90: Likewise.
1104
054a0959
SM
11052020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
1106
1107 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
1108 values in documentation for addr_size to 4 and 8.
1109
ccb9eba6
AB
11102020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
1111
1112 * gdb.arch/amd64-osabi.exp: Update.
1113 * gdb.arch/arm-disassembler-options.exp: Update.
1114 * gdb.arch/powerpc-disassembler-options.exp: Update.
1115 * gdb.arch/ppc64-symtab-cordic.exp: Update.
1116 * gdb.arch/s390-disassembler-options.exp: Update.
1117 * gdb.base/all-architectures.exp.tcl: Update.
1118 * gdb.base/attach-pie-noexec.exp: Update.
1119 * gdb.base/catch-syscall.exp: Update.
1120 * gdb.xml/tdesc-arch.exp: Update.
1121
025a39a7
TV
11222020-07-14 Tom de Vries <tdevries@suse.de>
1123
1124 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
1125 (local_gettid): ... this.
1126 (fn): Update.
1127
74e4b667
SL
11282020-07-13 Sandra Loosemore <sandra@codesourcery.com>
1129
1130 * gdb.base/info_sources.exp: Skip directory match tests on
1131 remote hosts.
1132
f413dd74
GB
11332020-07-13 Gary Benson <gbenson@redhat.com>
1134
1135 * gdb.base/savedregs.exp (caller): Use parentheses to
1136 make expected expression evaluation ordering explicit.
1137
915771bb
GB
11382020-07-13 Gary Benson <gbenson@redhat.com>
1139
1140 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
1141
2a122642
GB
11422020-07-13 Gary Benson <gbenson@redhat.com>
1143
1144 * gdb.base/bigcore.c (main): Use a volatile pointer when
1145 attempting to trigger a SIGSEGV.
1146 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
1147 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
1148 * gdb.base/savedregs.c (thrower): Likewise.
1149 * gdb.mi/mi-syn-frame.c (bar): Likewise.
1150
3f00c730
GB
11512020-07-13 Gary Benson <gbenson@redhat.com>
1152
1153 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
1154 defining and using VLA structure fields into...
1155 * gdb.base/vla-struct-fields.c: New file.
1156 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
1157 tests into...
1158 * gdb.base/vla-struct-fields.exp: New file.
1159
963eeee4
TV
11602020-07-13 Tom de Vries <tdevries@suse.de>
1161
1162 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
1163 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
1164 * gdb.base/gold-gdb-index.exp: Same.
1165 * gdb.base/morestack.exp: Same.
1166
0ed35c9a
DX
11672020-07-11 Daniel Xu <dxu@dxuuu.xyz>
1168
1169 PR rust/26121
1170 * gdb.rust/modules.rs: Prevent linker from discarding test
1171 symbol.
1172
4fdba23d
PA
11732020-07-10 Pedro Alves <pedro@palves.net>
1174
1175 PR gdb/26199
1176 * gdb.multi/multi-target.c (exit_thread): New.
1177 (thread_start): Break loop if EXIT_THREAD.
1178 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
1179 (top level) Call test_no_resumed.
1180
15f3b077
TT
11812020-07-08 Tom Tromey <tromey@adacore.com>
1182
1183 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
1184 * gdb.ada/catch_ex.exp: Examine catchpoint text.
1185
9fc501fd
AB
11862020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1187
1188 PR python/22748
1189 * gdb.opt/inline-frame-tailcall.c: New file.
1190 * gdb.opt/inline-frame-tailcall.exp: New file.
1191 * gdb.python/py-unwind-inline.c: New file.
1192 * gdb.python/py-unwind-inline.exp: New file.
1193 * gdb.python/py-unwind-inline.py: New file.
1194
64cb3757
AB
11952020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1196
1197 * gdb.python/py-arch-reg-groups.exp: New file.
1198
0f767f94
AB
11992020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1200
1201 * gdb.python/py-arch-reg-names.exp: New file.
1202
87dbc774
AB
12032020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1204
1205 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
1206 gdb.PendingFrame.architecture method.
1207
d8cc8af6
TV
12082020-07-06 Tom de Vries <tdevries@suse.de>
1209
1210 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
1211
3c8ea5be
PA
12122020-07-03 Pedro Alves <palves@redhat.com>
1213
1214 * gdb.base/structs2.c (main): Adjust second parem_reg call to
1215 explicitly write negative numbers.
1216 * gdb.base/structs2.exp: Adjust expected output.
1217
bf90c83a
PA
12182020-07-03 Pedro Alves <palves@redhat.com>
1219
1220 * gdb.base/charset.c (init_string): Change all char parameters to
1221 unsigned char parameters.
1222
2eb82157
PA
12232020-07-03 Pedro Alves <palves@redhat.com>
1224
1225 * gdb.base/call-sc.exp (start_scalars_test): Use
1226 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1227 * gdb.base/overlays.c: Remove references to PARAMS.
1228 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
1229 * gdb.base/reread.exp: Don't set 'prototypes' global.
1230 * gdb.base/structs.exp (start_structs_test): Use
1231 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1232 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
1233 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1234 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
1235 call.
1236 * gdb.base/varargs.exp: Don't set 'prototypes' global.
1237
9adda7af
PA
12382020-07-03 Pedro Alves <palves@redhat.com>
1239
1240 * gdb.base/m32rovly.c: Delete.
1241 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
1242
2a17c803
PW
12432020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1244
1245 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
1246 of gdb_py_test_multiple.
1247 * gdb.python/py-cmd.exp: Likewise.
1248 * gdb.python/py-events.exp: Likewise.
1249 * gdb.python/py-function.exp: Likewise.
1250 * gdb.python/py-inferior.exp: Likewise.
1251 * gdb.python/py-infthread.exp: Likewise.
1252 * gdb.python/py-linetable.exp: Likewise.
1253 * gdb.python/py-parameter.exp: Likewise.
1254 * gdb.python/py-value.exp: Likewise.
1255
b011fe1a
TV
12562020-06-30 Tom de Vries <tdevries@suse.de>
1257
1258 PR testsuite/26175
1259 * lib/future.exp (gdb_default_target_compile): Detect and handle
1260 early_flags.
1261
df5b8876
SM
12622020-06-29 Simon Marchi <simon.marchi@efficios.com>
1263
1264 * boards/simavr.exp (gdb_load): Catch errors when closing
1265 previous connection. Close connection, wait for process and
1266 unset simavr_spawn_id on failure.
1267
a3ca48cd
TV
12682020-06-29 Tom de Vries <tdevries@suse.de>
1269
1270 * lib/gdb.exp (unknown): Make test-case unresolved.
1271
b0237c0e
TV
12722020-06-29 Tom de Vries <tdevries@suse.de>
1273
1274 PR gdb/25475
1275 * gdb.server/solib-list.exp: Verify that the symbol reload
1276 confirmation question is asked.
1277
c0b3b3bd
PW
12782020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1279
1280 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
1281 have a input seq nr in each pass message.
fe4c3d43 1282 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
1283 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
1284 * gdb.python/python.exp: Make test names unique,
1285 use gdb_test_multiline instead of gdb_py_test_multiple,
1286 use $gdb_test_name.
1287 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
1288
1776e3e5
NA
12892020-06-26 Nick Alcock <nick.alcock@oracle.com>
1290
1291 * configure.ac: Add --enable-libctf.
1292 * aclocal.m4: sinclude ../config/enable.m4.
1293 * Makefile.in (site.exp): Add enable_libctf to site.exp.
1294 * lib/gdb.exp (skip_ctf_tests): Use it.
1295 * gdb.base/ctf-constvars.exp: Error message tweak.
1296 * gdb.base/ctf-ptype.exp: Likewise.
1297 * configure: Regenerate.
1298
f53b3eeb
GB
12992020-06-26 Gary Benson <gbenson@redhat.com>
1300
1301 * gdb.cp/try_catch.cc: Include string.h.
1302 (main): Replace comparison against string literal with
1303 strcmp, avoiding build failure with -Wstring-compare.
1304 Add "marker test-complete".
1305 * gdb.cp/try_catch.exp: Run the test to the above marker,
1306 then verify that the value of "test" is still true.
1307
6d74da72
AB
13082020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1309
1310 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
1311
2e52d038
AB
13122020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1313
1314 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1315
3b9fce96
AB
13162020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1317
1318 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
1319 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
1320 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
1321 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
1322 * gdb.arch/riscv-tdesc-loading.exp: New file.
1323
ed69cbc8
AB
13242020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1325
1326 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1327
767a879e
AB
13282020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1329
1330 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
1331 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
1332 * gdb.arch/riscv-tdesc-regs.c: New file.
1333 * gdb.arch/riscv-tdesc-regs.exp: New file.
1334
221db974
PA
13352020-06-24 Pedro Alves <palves@redhat.com>
1336
1337 * gdb.arch/amd64-entry-value-paramref.exp: Use
1338 prepare_for_testing_full and don't pass "c++" for the .S file
1339 build spec.
1340 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
1341 $options, since it's an assembly file. Remove -Wno-deprecated.
1342 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
1343 compiling C++ programs.
1344
331733cd
PA
13452020-06-24 Pedro Alves <palves@redhat.com>
1346
1347 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
1348 Clang, add "-Wno-unknown-warning-option" to the options.
1349
caa7fd04
AB
13502020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
1351
1352 * gdb.xml/tdesc-reload.c: New file.
1353 * gdb.xml/tdesc-reload.exp: New file.
1354 * gdb.xml/maint-xml-dump-01.xml: New file.
1355 * gdb.xml/maint-xml-dump-02.xml: New file.
1356 * gdb.xml/maint-xml-dump.exp: New file.
1357
bb8d1260
SL
13582020-06-23 Sandra Loosemore <sandra@codesourcery.com>
1359
1360 * lib/completion-support.exp (test_gdb_completion_offers_commands):
1361 Adjust for omitted commands when TUI is disabled.
1362
7e4b9c4c
GB
13632020-06-23 Gary Benson <gbenson@redhat.com>
1364 Pedro Alves <palves@redhat.com>
1365
1366 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
1367 * gdb.cp/nsimport.cc: Likewise.
1368 * gdb.cp/nsnested.cc: Likewise.
1369 * gdb.cp/nsnoimports.cc: Likewise.
1370 * gdb.cp/nsusing.cc: Likewise.
1371 * gdb.cp/smartp.cc: Likewise.
1372 * gdb.python/py-pp-integral.c: Likewise.
1373 * gdb.python/py-pp-re-notag.c: Likewise.
1374
2e573c0a
GB
13752020-06-23 Gary Benson <gbenson@redhat.com>
1376
1377 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
1378 * gdb.cp/nsimport.cc: Likewise.
1379 * gdb.cp/nsnested.cc: Likewise.
1380 * gdb.cp/nsnoimports.cc: Likewise.
1381 * gdb.cp/nsusing.cc: Likewise.
1382 * gdb.cp/smartp.cc: Likewise.
1383 * gdb.python/py-pp-integral.c: Likewise.
1384 * gdb.python/py-pp-re-notag.c: Likewise.
1385
746ebfe8
PW
13862020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1387
1388 * gdb.base/default-args.exp: New test.
1389 * gdb.base/default-args.c: New file.
1390 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
1391 * gdb.base/default.exp: Update to new help text.
1392 * gdb.base/help.exp: Likewise.
1393 * gdb.base/page.exp: Likewise.
1394 * gdb.base/style.exp: Likewise.
1395 * gdb.guile/guile.exp: Likewise.
1396 * gdb.python/python.exp: Likewise.
1397
e822f2cd
SL
13982020-06-22 Sandra Loosemore <sandra@codesourcery.com>
1399
1400 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
1401 remote host. Fix search path syntax on Windows host.
1402
48e9cc84
PW
14032020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1404
1405 * gdb.base/attach.exp: Test priority of 'exec-file' changed
1406 over 'exec-file-mismatch'.
1407 * gdb.base/attach.c: Mark should_exit volatile.
1408 * gdb.base/attach2.c: Likewise. Add a comment explaining
1409 why the sleep cannot be big.
1410 * gdb.base/attach3.c: New file.
1411
160f8a8f
SL
14122020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1413
1414 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
1415 prefix optional.
1416
4d91c2a4
SL
14172020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1418
1419 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
1420 for remote host.
1421
87f83f20
SL
14222020-06-19 Sandra Loosemore <sandra@codesourcery.com>
1423 Hafiz Abid Qadeer <abidh@codesourcery.com>
1424
1425 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
1426 file sent to remote host.
1427 (top level): Allow int32_t as type of 32-bit register.
1428
37ab8655
TV
14292020-06-19 Tom de Vries <tdevries@suse.de>
1430
1431 * lib/gdb.exp (gdb_note): New proc.
1432 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
1433 (gdb_default_target_compile): ... here. Only call
1434 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
1435 (use_gdb_compile): Change to array.
1436 (toplevel): Update sets of use_gdb_compile to specify language.
1437 Warn about default_target_compile override. Store dejagnu's version
1438 of default_target_compile in dejagnu_default_target_compile.
1439
a8a56685
TV
14402020-06-18 Tom de Vries <tdevries@suse.de>
1441
1442 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
1443 (default_gdb_init): ... here.
1444
581bea2c
SL
14452020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1446
1447 Fix TUI support checks in gdb.tui tests.
1448
1449 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
1450 just say UNSUPPORTED.
1451 * gdb.tui/corefile-run.exp: Likewise.
1452 * gdb.tui/empty.exp: Likewise.
1453 * gdb.tui/list-before.exp: Likewise.
1454 * gdb.tui/list.exp: Likewise.
1455 * gdb.tui/main.exp: Likewise.
1456 * gdb.tui/regs.exp: Likewise.
1457 * gdb.tui/resize.exp: Likewise.
1458 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
1459 * gdb.tui/tui-layout-asm.exp: Likewise.
1460 * gdb.tui/tui-missing-src.exp: Likewise.
1461 * gdb.tui/winheight.exp: Likewise.
1462 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
1463
05e682e3
SL
14642020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1465
1466 Fix TCL error in gdb.python/py-format-string.exp.
1467
1468 * gdb.python/py-format-string.exp: Move test for python support
1469 earlier, out of function body.
1470
efb763a5
SM
14712020-06-15 Simon Marchi <simon.marchi@efficios.com>
1472
1473 * gdb.base/index-cache-load-twice.c: New.
1474 * gdb.base/index-cache-load-twice.exp: New.
1475
43327b20
KS
14762020-06-17 Keith Seitz <keiths@redhat.com>
1477
99cf27cf 1478 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
1479 when executing "gdb --configuration".
1480
081e778c
TV
14812020-06-17 Tom de Vries <tdevries@suse.de>
1482
1483 * lib/gdb.exp (gdb_tcl_unknown): New proc.
1484 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
1485 conditional on presence of gdb_tcl_unknown.
1486 (gdb_finish): Make override undo conditional on presence of
1487 gdb_tcl_unknown.
1488
d2d1ea20
TT
14892020-06-16 Tom Tromey <tom@tromey.com>
1490
1491 * gdb.python/tui-window.py (failwin): New function. Register it
1492 as a TUI window type.
1493 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
1494
c802e8a7
GB
14952020-06-16 Gary Benson <gbenson@redhat.com>
1496
1497 * gdb.python/py-nested-maps.c (create_map): Add missing return
1498 value.
1499 (create_map_map): Likewise.
1500
ff08abb8
TBA
15012020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1502
1503 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
1504 variable.
1505 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
1506 and use the already-defined 'options' variable.
1507
a29d5112
AB
15082020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1509 Tom de Vries <tdevries@suse.de>
1510
1511 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
1512 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
1513 (gdb_setup_known_globals): New proc.
1514 (gdb_cleanup_globals): New proc.
1515 * lib/gdb.exp (load_lib): New override proc.
1516 (gdb_stdin_log_init): Set var in_file as persistent global.
1517 * lib/pascal.exp (gdb_stdin_log_init): Set vars
1518 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
1519 fpc_compiler as persistent global.
1520
8c74a764
TV
15212020-06-12 Tom de Vries <tdevries@suse.de>
1522
1523 * lib/tuiterm.exp (spawn): Rename to ...
1524 (tui_spawn): ... this.
1525 (toplevel): Move rename of spawn ...
1526 (gdb_init_tuiterm): ... here. New proc.
1527 (gdb_finish_tuiterm): New proc.
1528 * lib/gdb.exp (gdb_finish_hooks): New global var.
1529 (gdb_finish): Handle gdb_finish_hooks.
1530 (tuiterm_env): New proc.
1531 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
1532 tuiterm_env.
1533 * gdb.tui/basic.exp: Same.
1534 * gdb.tui/corefile-run.exp: Same.
1535 * gdb.tui/empty.exp: Same.
1536 * gdb.tui/list-before.exp: Same.
1537 * gdb.tui/list.exp: Same.
1538 * gdb.tui/main.exp: Same.
1539 * gdb.tui/new-layout.exp: Same.
1540 * gdb.tui/regs.exp: Same.
1541 * gdb.tui/resize.exp: Same.
1542 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
1543 * gdb.tui/tui-layout-asm.exp: Same.
1544 * gdb.tui/tui-missing-src.exp: Same.
1545 * gdb.tui/winheight.exp: Same.
1546
26783bce
TV
15472020-06-12 Tom de Vries <tdevries@suse.de>
1548
1549 PR testsuite/26110
1550 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
1551 (gdb_finish): Reinstall dejagnu's override of ::unknown.
1552
2b4e6a3f
TT
15532020-06-11 Tom Tromey <tom@tromey.com>
1554
1555 PR gdb/18318:
1556 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
1557 floating point tests.
1558
2f33032a
KS
15592020-06-11 Keith Seitz <keiths@redhat.com>
1560
1561 PR gdb/21356
1562 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
1563 vla_struct.
1564 Add new struct vla_typedef and union vla_typedef_union and
1565 corresponding instantiation objects.
1566 Initialize new objects.
1567 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
1568 and vla_typedef_union_object.
1569 Fixup type for vla_struct_object.
1570
a8baf0a3
TV
15712020-06-11 Tom de Vries <tdevries@suse.de>
1572
1573 * lib/gdb.exp (with_override): New proc, factored out of ...
1574 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
1575
7ab96794
TV
15762020-06-10 Tom de Vries <tdevries@suse.de>
1577
1578 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
1579
cab5c3b7
SM
15802020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
1581
1582 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
1583 parameter, update callers.
1584
f8c41851
SM
15852020-06-04 Simon Marchi <simon.marchi@efficios.com>
1586
1587 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
1588 * gdb.dwarf2/share-psymtabs-bt.c: New file.
1589 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
1590
1c07a73f
TV
15912020-06-04 Tom de Vries <tdevries@suse.de>
1592
1593 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
1594
95146b5d
TV
15952020-06-04 Tom de Vries <tdevries@suse.de>
1596
1597 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
1598 exp_continue.
1599
0cfcd4f0
TV
16002020-06-04 Tom de Vries <tdevries@suse.de>
1601
1602 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
1603
f9b5d5ea
TV
16042020-06-03 Tom de Vries <tdevries@suse.de>
1605
1606 PR symtab/26046
1607 * gdb.cp/breakpoint-locs-2.cc: New test.
1608 * gdb.cp/breakpoint-locs.cc: New test.
1609 * gdb.cp/breakpoint-locs.exp: New file.
1610 * gdb.cp/breakpoint-locs.h: New test.
1611
5144dfba
TV
16122020-06-03 Tom de Vries <tdevries@suse.de>
1613
1614 PR testsuite/25609
1615 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
1616 value of global verbose.
1617 * gdb.base/jit-elf.exp: Same.
1618 * gdb.base/jit-reader.exp: Same.
1619
621eacdf
TV
16202020-06-02 Tom de Vries <tdevries@suse.de>
1621
1622 * gdb.dwarf2/multidictionary.exp: Don't use
1623 gdb_spawn_with_cmdline_opts.
1624
1313c56e
AB
16252020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
1626
1627 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
1628 use_header case.
1629 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
1630 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
1631 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
1632 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
1633 * gdb.dwarf2/dw2-inline-header.c: New file.
1634 * gdb.dwarf2/dw2-inline-header.h: New file.
1635
f68f85b5
PA
16362020-05-30 Pedro Alves <palves@redhat.com>
1637
1638 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
1639 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
1640
678048e8
GB
16412020-05-29 Gary Benson <gbenson@redhat.com>
1642
1643 * gdb.compile/compile-cplus.exp (additional_flags): Also
1644 set when building with clang.
1645 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
1646 when building with clang.
1647
9fcafd23
GB
16482020-05-29 Gary Benson <gbenson@redhat.com>
1649
1650 * gdb.arch/i386-avx.exp (additional_flags): Also set when
1651 building with clang.
1652 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
1653
735d5a07
GB
16542020-05-29 Gary Benson <gbenson@redhat.com>
1655
1656 * gdb.cp/koenig.exp (prepare_for_testing): Add
1657 additional_flags=-Wno-unused-comparison.
1658 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
1659
4ad2c6a0
GB
16602020-05-28 Gary Benson <gbenson@redhat.com>
1661
1662 * gdb.base/sigaltstack.c (catcher): Add default case to switch
1663 statement.
1664
09fe663e
GB
16652020-05-28 Gary Benson <gbenson@redhat.com>
1666
1667 * gdb.cp/classes.exp (prepare_for_testing): Add
1668 additional_flags=-Wno-deprecated-register.
1669 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
1670 * gdb.cp/misc.exp: Likewise.
1671
cee00f17
GB
16722020-05-28 Gary Benson <gbenson@redhat.com>
1673
1674 * gdb.linespec/cpls-ops.cc (dummy): New static global.
1675 (test_op_new::operator new): Add return statement.
1676 (test_op_new_array::operator new[]): Likewise.
1677
636edd00
PA
16782020-05-27 Pedro Alves <palves@redhat.com>
1679
1680 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
1681 check. Use test_gdb_complete_unique instead of
1682 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
1683 test_gdb_complete_multiple instead of
1684 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
1685
c2b75043
LM
16862020-05-27 Luis Machado <luis.machado@linaro.org>
1687
1688 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
1689 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
1690 * gdb.arch/arm-disassembler-options.exp: Likewise.
1691 * gdb.arch/arm-disp-step.exp: Likewise.
1692 * gdb.arch/thumb-prologue.exp: Likewise.
1693 * gdb.base/async.exp: Likewise.
1694 * gdb.base/auxv.exp: Likewise.
1695 * gdb.base/complex-parts.exp: Likewise.
1696 * gdb.base/ena-dis-br.exp: Likewise.
1697 * gdb.base/foll-exec.exp: Likewise.
1698 * gdb.base/permissions.exp: Likewise.
1699 * gdb.base/relocate.exp: Likewise.
1700 * gdb.base/return2.exp: Likewise.
1701 * gdb.base/sigbpt.exp: Likewise.
1702 * gdb.base/siginfo-obj.exp: Likewise.
1703 * gdb.cp/converts.exp: Likewise.
1704 * gdb.cp/exceptprint.exp: Likewise.
1705 * gdb.cp/inherit.exp: Likewise.
1706 * gdb.cp/nsnoimports.exp: Likewise.
1707 * gdb.cp/virtbase2.exp: Likewise.
1708 * gdb.mi/mi-var-cmd.exp: Likewise.
1709 * gdb.mi/var-cmd.c: Likewise.
1710
53a47a3e
TT
17112020-05-26 Tom Tromey <tromey@adacore.com>
1712
1713 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
1714
0bc2354b
TT
17152020-05-26 Tom Tromey <tromey@adacore.com>
1716
1717 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
1718 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
1719 type.
1720 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
1721 variable.
1722
0db49895
CBG
17232020-05-26 Christian Biesinger <cbiesinger@google.com>
1724
1725 * Makefile.in: Use = instead of == for the test command
1726 for portability.
1727
40d22035
TV
17282020-05-26 Tom de Vries <tdevries@suse.de>
1729
1730 * gdb.base/gold-gdb-index-2.c: New test.
1731 * gdb.base/gold-gdb-index.c: New test.
1732 * gdb.base/gold-gdb-index.exp: New file.
1733 * gdb.base/gold-gdb-index.h: New test.
1734
043e2e02
TV
17352020-05-25 Tom de Vries <tdevries@suse.de>
1736
1737 * boards/gold-gdb-index.exp: New file.
1738
462f72c5
SM
17392020-05-25 Simon Marchi <simon.marchi@efficios.com>
1740
1741 * boards/simavr.exp: New file.
1742
6cf66e76
SM
17432020-05-25 Simon Marchi <simon.marchi@efficios.com>
1744
1745 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
1746 * gdb.base/inferior-args.exp: New file.
1747 * gdb.base/inferior-args.c: New file.
1748
75d04512
SM
17492020-05-25 Simon Marchi <simon.marchi@efficios.com>
1750
1751 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
1752 inferior_args. Pass it to gdb_reload.
1753 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
1754 inferior_args.
1755 (gdb_reload): Add inferior_args argument.
1756 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
1757 pass it to gdbserver_run.
1758 * boards/native-gdbserver.exp: Do not set noargs.
1759 * boards/native-extended-gdbserver.exp (gdb_reload): Add
1760 inferior_args argument.
1761 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
1762 * gdb.base/a2-run.exp: Check for use_gdb_stub.
1763 * gdb.base/args.exp: Likewise.
1764
42cf1844
TV
17652020-05-25 Tom de Vries <tdevries@suse.de>
1766
1767 * lib/gdb.exp (exec_is_pie): Add comment.
1768
8f7d38ef
TV
17692020-05-25 Tom de Vries <tdevries@suse.de>
1770
1771 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
1772 instead of $binfile in the untested message.
1773
465e1b0f
TV
17742020-05-25 Tom de Vries <tdevries@suse.de>
1775
1776 PR testsuite/26031
1777 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
1778
3c5a0e02
TV
17792020-05-25 Tom de Vries <tdevries@suse.de>
1780
1781 * boards/gold.exp: New file.
1782
0a4f5f8c
TT
17832020-05-23 Tom Tromey <tom@tromey.com>
1784
1785 * gdb.base/style.exp: Remove completion styling test.
1786 * lib/gdb-utils.exp (style): Remove completion styles.
1787
eca1f90c
TT
17882020-05-23 Tom Tromey <tom@tromey.com>
1789
1790 * gdb.base/style.exp: Add completion styling test.
1791 * lib/gdb-utils.exp (style): Add completion styles.
1792
7c13f4e8
AB
17932020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
1794
1795 * gdb.base/annota1.exp: Update expected results.
1796 * gdb.cp/annota2.exp: Update expected results, remove duplicate
1797 test name.
1798 * gdb.cp/annota3.exp: Update expected results.
1799
41977d16
SM
18002020-05-20 Simon Marchi <simon.marchi@efficios.com>
1801
1802 PR gdb/26016
1803 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
1804 against MAP_FAILED.
1805 * gdb.base/coremaker.c (mmapdata): Likewise.
1806 * gdb.base/jit-reader-host.c (main): Likewise.
1807 * gdb.base/sym-file-loader.c (load): Likewise.
1808 (load_shlib): Likewise.
1809
b4757f2e
TT
18102020-05-20 Tom Tromey <tromey@adacore.com>
1811
1812 * gdb.ada/array_char_idx.exp: Recognize initialized array.
1813
9a0bacfb
TV
18142020-05-20 Tom de Vries <tdevries@suse.de>
1815
1816 PR symtab/25833
1817 * gdb.base/with-mf-inc.c: New test.
1818 * gdb.base/with-mf-main.c: New test.
1819 * gdb.base/with-mf.exp: New file.
1820
76571211
TT
18212020-05-19 Tom Tromey <tromey@adacore.com>
1822
1823 * gdb.rust/simple.exp: Restore missing test result.
1824
4cd9f3d5
TV
18252020-05-19 Tom de Vries <tdevries@suse.de>
1826
1827 * gdb.base/gdb-caching-proc.exp: Fix typo.
1828
7d874253
TT
18292020-05-19 Tom Tromey <tromey@adacore.com>
1830
1831 * gdb.rust/simple.exp: Add some test descriptions.
1832 (test_one_slice): Use with_test_prefix.
1833
1d727695
TV
18342020-05-18 Tom de Vries <tdevries@suse.de>
1835
1836 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
1837
7f32a4d5
PA
18382020-05-17 Pedro Alves <palves@redhat.com>
1839
1840 PR gdb/25741
1841 * gdb.base/hw-sw-break-same-address.exp: New file.
1842
7cfd74cf
PA
18432020-05-16 Pedro Alves <palves@redhat.com>
1844
1845 * gdb.multi/multi-re-run.exp (test_re_run): Switch
1846 LAST_LOADED_FILE accordingly.
1847
57b4f16e
PW
18482020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1849
1850 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
1851
7c05caf7
PW
18522020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1853
1854 * gdb.base/help.exp: Test apropos and help for commands
1855 having aliases. Fixed comments not starting with an
1856 upper-case letter or not finishing with a dot.
1857
7aa1b46f
PW
18582020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1859
3b3aaacb
PW
1860 * gdb.base/alias.exp: Update help output check.
1861
57b4f16e 18622020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 1863
7aa1b46f
PW
1864 * gdb.base/default.exp: Update output following fixes.
1865
0605465f
PW
18662020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1867
1868 * gdb.base/alias.exp: Test aliases starting with a prefix of
1869 another alias.
1870
86e4e63d
GB
18712020-05-15 Gary Benson <gbenson@redhat.com>
1872
1873 * gdb.base/info-os.c (main): Add return statement.
1874 * gdb.base/info_minsym.c (minsym_fun): Likewise.
1875 * gdb.base/large-frame-2.c (func): Likewise.
1876 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
1877 * gdb.base/pr10179-b.c (foo2): Likewise.
1878 * gdb.base/valgrind-disp-step.c (foo): Likewise.
1879 * gdb.base/watch-cond.c (func): Likewise.
1880 * gdb.multi/goodbye.c (verylongfun): Likewise.
1881 * gdb.multi/hello.c (commonfun): Likewise.
1882 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
1883 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
1884 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1885 Likewise.
1886 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
1887 * gdb.threads/interrupt-while-step-over.c (child_function):
1888 Likewise.
1889 * gdb.trace/actions-changed.c (end): Likewise.
1890
163df4df
GB
18912020-05-15 Gary Benson <gbenson@redhat.com>
1892
1893 * gdb.opencl/callfuncs.exp: Report when test skipped.
1894 * gdb.opencl/convs_casts.exp: Likewise.
1895 * gdb.opencl/datatypes.exp: Likewise.
1896 * gdb.opencl/operators.exp: Likewise.
1897 * gdb.opencl/vec_comps.exp: Likewise.
1898
6dbc505a
TV
18992020-05-15 Tom de Vries <tdevries@suse.de>
1900
1901 * gdb.base/align.exp.in: Rename to ...
1902 * gdb.base/align.exp.tcl: ... this.
1903 * gdb.base/align-c++.exp: Update.
1904 * gdb.base/align-c.exp: Update.
1905 * gdb.base/all-architectures.exp.in: Rename to ...
1906 * gdb.base/all-architectures.exp: ... this.
1907 * gdb.base/all-architectures-0.exp: Update.
1908 * gdb.base/all-architectures-1.exp: Update.
1909 * gdb.base/all-architectures-2.exp: Update.
1910 * gdb.base/all-architectures-3.exp: Update.
1911 * gdb.base/all-architectures-4.exp: Update.
1912 * gdb.base/all-architectures-5.exp: Update.
1913 * gdb.base/all-architectures-6.exp: Update.
1914 * gdb.base/all-architectures-7.exp: Update.
1915 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
1916 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
1917 * gdb.base/infcall-nested-structs-c++.exp: Update.
1918 * gdb.base/infcall-nested-structs-c.exp: Update.
1919 * gdb.base/info-types.exp.in: Rename to ...
1920 * gdb.base/info-types.exp.tcl: ... this.
1921 * gdb.base/info-types-c++.exp: Update.
1922 * gdb.base/info-types-c.exp: Update.
1923 * gdb.base/max-depth.exp.in: Rename to ...
1924 * gdb.base/max-depth.exp.tcl: ... this.
1925 * gdb.base/max-depth-c++.exp: Update.
1926 * gdb.base/max-depth-c.exp: Update.
1927 * gdb.cp/cpexprs.exp.in: Rename to ...
1928 * gdb.cp/cpexprs.exp.tcl: ... this.
1929 * gdb.cp/cpexprs-debug-types.exp: Update.
1930 * gdb.cp/cpexprs.exp: Update.
1931 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
1932 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
1933 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
1934 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
1935 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
1936 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
1937 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
1938 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
1939 * gdb.dwarf2/clang-debug-names-2.exp: Update.
1940 * gdb.dwarf2/clang-debug-names.exp: Update.
1941
d1034d78
AB
19422020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
1943
1944 * lib/check-test-names.exp: Remove code that prevents this file
1945 loading when tests are run in parallel.
1946
3c5c3649
PA
19472020-05-15 Pedro Alves <palves@redhat.com>
1948
1949 * gdb.multi/multi-kill.exp (start_inferior): Remove
1950 'testpid' parameter. Refer to namespace variable directly.
1951 (testpid): Declare as namespace variable.
1952
272c36b8
PA
19532020-05-15 Pedro Alves <palves@redhat.com>
1954
1955 * gdb.multi/multi-kill.exp: Wrap in namespace.
1956 (start_inferior): Add TESTPID parameter. Use it instead of the
1957 testpid global.
1958 (top level): Define empty TESTPID array, and pass it down to
1959 start_inferior.
1960
02eba61a
TV
19612020-05-14 Tom de Vries <tdevries@suse.de>
1962
1963 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
1964 output.
1965
971a3747
TV
19662020-05-14 Tom de Vries <tdevries@suse.de>
1967
1968 * gdb.base/align.exp: Split into ...
1969 * gdb.base/align.exp.in: ...
1970 * gdb.base/align-c++.exp: ...
1971 * gdb.base/align-c.exp: ... these.
1972 * gdb.base/infcall-nested-structs.exp: Split into ...
1973 * gdb.base/infcall-nested-structs.exp.in: ...
1974 * gdb.base/infcall-nested-structs-c++.exp: ...
1975 * gdb.base/infcall-nested-structs-c.exp: ... these.
1976 * gdb.base/info-types.exp: Split into ...
1977 * gdb.base/info-types.exp.in: ...
1978 * gdb.base/info-types-c++.exp: ...
1979 * gdb.base/info-types-c.exp: ... these.
1980 * gdb.base/max-depth.exp: Split into ...
1981 * gdb.base/max-depth.exp.in: ...
1982 * gdb.base/max-depth-c++.exp: ...
1983 * gdb.base/max-depth-c.exp: ... these.
1984 * gdb.cp/infcall-nodebug.exp: Split into ...
1985 * gdb.cp/infcall-nodebug.exp.in: ...
1986 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
1987 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
1988 * gdb.cp/infcall-nodebug-c-d0.exp: ...
1989 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
1990
a05575d3
TBA
19912020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1992 Pedro Alves <palves@redhat.com>
1993
1994 * gdb.multi/multi-exit.c: New file.
1995 * gdb.multi/multi-exit.exp: New file.
1996 * gdb.multi/multi-kill.c: New file.
1997 * gdb.multi/multi-kill.exp: New file.
1998
6ad82919
TBA
19992020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2000
2001 * gdb.base/annota1.exp: Update the expected output.
2002 * gdb.cp/annota2.exp: Ditto.
2003
843f4d93
AB
20042020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
2005
2006 * lib/check-test-names.exp: Disable when testing is being run in
2007 parallel.
2008
c7c66341
TV
20092020-05-12 Tom de Vries <tdevries@suse.de>
2010
2011 * gdb.base/jit-elf.exp: Fix string concat.
2012
1b59ca1c
TV
20132020-05-12 Tom de Vries <tdevries@suse.de>
2014
2015 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
2016 messages.
2017
b4991d29
TV
20182020-05-12 Tom de Vries <tdevries@suse.de>
2019
2020 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
2021
dbb0ab10
TV
20222020-05-12 Tom de Vries <tdevries@suse.de>
2023
2024 * gdb.ada/catch_ex.exp: Use with_test_prefix.
2025 * gdb.ada/mi_catch_ex.exp: Same.
2026 * gdb.ada/mi_catch_ex_hand.exp: Same.
2027
7549fed8
TV
20282020-05-12 Tom de Vries <tdevries@suse.de>
2029
2030 * gdb.fortran/complex.exp: Use with_test_prefix.
2031
af2d5cd8
TV
20322020-05-12 Tom de Vries <tdevries@suse.de>
2033
2034 * gdb.trace/passcount.exp: Fix test-names.
2035
7c121311
TV
20362020-05-12 Tom de Vries <tdevries@suse.de>
2037
2038 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
2039
c9f3b40e
TV
20402020-05-12 Tom de Vries <tdevries@suse.de>
2041
2042 * gdb.gdb/complaints.exp: Use with_test_prefix.
2043 * gdb.xml/tdesc-regs.exp: Same.
2044 * gdb.opt/inline-locals.exp: Fix test name.
2045
111b33f0
TV
20462020-05-12 Tom de Vries <tdevries@suse.de>
2047
2048 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
2049 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
2050 * gdb.dwarf2/implref-struct.exp: Same.
2051 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
2052 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
2053
ebf47080
SM
20542020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
2055
2056 * gdb.base/jit-so.exp (one_jit_test): Change test name.
2057
d30dcd12
AB
20582020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2059
2060 * lib/check-test-names.exp (all_test_names): New module variable.
2061 (counts): Add 'duplicates' field.
2062 (_check_duplicates): New procedure.
2063 (check): Also check for duplicates.
2064 (do_log_summary): Print duplicates count.
2065 (do_reset_vars): Reset counter for duplicate test names, and
2066 discard all know test names.
2067
34584c09
AB
20682020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2069
2070 * lib/gdb.exp: Include check-test-names.exp library.
2071 * lib/check-test-names.exp: New file.
2072
e0002117
TV
20732020-05-11 Tom de Vries <tdevries@suse.de>
2074
2075 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
2076
53f539a3
KS
20772020-05-11 Keith Seitz <keiths@redhat.com>
2078
2079 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
2080
113ee09a
TV
20812020-05-11 Tom de Vries <tdevries@suse.de>
2082
2083 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
2084 * gdb.cp/cpexprs.exp.in: .. here.
2085 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
2086 cpexprs.exp.
2087
ba3e70b0
KS
20882020-05-11 Keith Seitz <keiths@redhat.com>
2089
2090 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
2091 test names.
2092 * gdb.ada/arrayptr.exp: Likewise.
2093 * gdb.ada/assign_arr.exp: Likewise.
2094 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2095 * gdb.ada/bp_on_var.exp: Likewise.
2096 * gdb.ada/call_pn.exp: Likewise.
2097 * gdb.ada/complete.exp: Likewise.
2098 * gdb.ada/fun_overload_menu.exp: Likewise.
2099 * gdb.ada/funcall_param.exp: Likewise.
2100 * gdb.ada/funcall_ref.exp: Likewise.
2101 * gdb.ada/packed_array_assign.exp: Likewise.
2102 * gdb.ada/same_component_name.exp: Likewise.
2103 * gdb.ada/type_coercion.exp: Likewise.
2104 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2105 * gdb.ada/variant_record_packed_array.exp: Likewise.
2106
3ee6bb11
TV
21072020-05-11 Tom de Vries <tdevries@suse.de>
2108
2109 PR symtab/25941
2110 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
2111 out of ...
2112 * gdb.dwarf2/clang-debug-names.exp: ... here.
2113 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
2114 clang-debug-names.exp.in.
2115 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
2116 * gdb.dwarf2/clang-debug-names-2.c: New test.
2117
86cd6bc8
AKS
21182020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2119
2120 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
2121 (fortran_runto_main): New Proc, fortran version of runto_main.
2122 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
2123 * gdb.fortran/array-bounds.exp: Likewise.
2124 * gdb.fortran/array-slices.exp: Likewise.
2125 * gdb.fortran/block-data.exp: Likewise.
2126 * gdb.fortran/charset.exp: Likewise.
2127 * gdb.fortran/common-block.exp: Likewise.
2128 * gdb.fortran/complex.exp: Likewise.
2129 * gdb.fortran/derived-type-function.exp: Likewise.
2130 * gdb.fortran/derived-type.exp: Likewise.
2131 * gdb.fortran/info-modules.exp: Likewise.
2132 * gdb.fortran/info-types.exp: Likewise.
2133 * gdb.fortran/intrinsics.exp: Likewise.
2134 * gdb.fortran/library-module.exp: Likewise.
2135 * gdb.fortran/logical.exp: Likewise.
2136 * gdb.fortran/max-depth.exp: Likewise.
2137 * gdb.fortran/module.exp: Likewise.
2138 * gdb.fortran/multi-dim.exp: Likewise.
2139 * gdb.fortran/nested-funcs.exp: Likewise.
2140 * gdb.fortran/print-formatted.exp: Likewise.
2141 * gdb.fortran/print_type.exp: Likewise.
2142 * gdb.fortran/printing-types.exp: Likewise.
2143 * gdb.fortran/ptr-indentation.exp: Likewise.
2144 * gdb.fortran/ptype-on-functions.exp: Likewise.
2145 * gdb.fortran/subarray.exp: Likewise.
2146 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2147 * gdb.fortran/vla-datatypes.exp: Likewise.
2148 * gdb.fortran/vla-history.exp: Likewise.
2149 * gdb.fortran/vla-ptr-info.exp: Likewise.
2150 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2151 * gdb.fortran/vla-ptype.exp: Likewise.
2152 * gdb.fortran/vla-sizeof.exp: Likewise.
2153 * gdb.fortran/vla-type.exp: Likewise.
2154 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2155 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2156 * gdb.fortran/vla-value-sub.exp: Likewise.
2157 * gdb.fortran/vla-value.exp: Likewise.
2158 * gdb.fortran/whatis_type.exp: Likewise.
2159 * gdb.mi/mi-var-child-f.exp: Likewise.
2160
6dc55ce9 21612020-05-09 Tom de Vries <tdevries@suse.de>
2162
2163 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
2164
283cb58c
TV
21652020-05-08 Tom de Vries <tdevries@suse.de>
2166
2167 * gdb.dwarf2/clang-debug-names.c: New test.
2168 * gdb.dwarf2/clang-debug-names.exp: New file.
2169
ac4a4f1c
SM
21702020-05-06 Simon Marchi <simon.marchi@efficios.com>
2171
2172 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
2173 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
2174
24fe640b
TV
21752020-05-06 Tom de Vries <tdevries@suse.de>
2176
2177 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
2178 breakpoint is at a "recommended breakpoint location".
2179 * gdb.reverse/consecutive-reverse.exp: Same.
2180
0d8683a3
TV
21812020-05-06 Tom de Vries <tdevries@suse.de>
2182
2183 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
2184 address.
2185
b8983c46
TV
21862020-05-06 Tom de Vries <tdevries@suse.de>
2187
2188 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
2189
abf6d805
TV
21902020-05-06 Tom de Vries <tdevries@suse.de>
2191
2192 * gdb.base/store.exp (check_set, up_set): Allowing missing location
2193 info for r.
2194
0fc2a808
TV
21952020-05-06 Tom de Vries <tdevries@suse.de>
2196
2197 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
2198 necessary.
2199
873dd427
TV
22002020-05-06 Tom de Vries <tdevries@suse.de>
2201
2202 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
2203 void.
2204
7c99e7e2
TV
22052020-05-06 Tom de Vries <tdevries@suse.de>
2206
2207 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
2208 of ...
2209 * gdb.base/async.exp: ... here.
2210 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
2211 "recommended breakpoint location".
2212
6173d6a6
TV
22132020-05-06 Tom de Vries <tdevries@suse.de>
2214
2215 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
2216
6015a067
TV
22172020-05-04 Tom de Vries <tdevries@suse.de>
2218
2219 * gdb.base/async.exp: Check whether instruction addresses are a
2220 "recommended breakpoint location".
2221
3b6acaee
TT
22222020-05-03 Tom Tromey <tom@tromey.com>
2223
2224 * gdb.base/sepdebug.exp: Remove "catch" test.
2225 * gdb.base/break.exp: Remove "catch" test.
2226 * gdb.base/default.exp: Update expected output.
2227
5beb4d17
TV
22282020-05-02 Tom de Vries <tdevries@suse.de>
2229
2230 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
2231 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
2232 * gdb.arch/i386-mpx-map.exp: Same.
2233 * gdb.arch/i386-mpx-sigsegv.exp: Same.
2234 * gdb.arch/i386-mpx-simple_segv.exp: Same.
2235 * gdb.arch/i386-mpx.exp: Same.
2236
8caf140d
TV
22372020-05-02 Tom de Vries <tdevries@suse.de>
2238
2239 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
2240
693196cb
TV
22412020-05-01 Tom de Vries <tdevries@suse.de>
2242
2243 * gdb.ada/operator_bp.exp: Allow more than required amount of
2244 breakpoint.
2245
53ae0aa9
TV
22462020-05-01 Tom de Vries <tdevries@suse.de>
2247
2248 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
2249
ee9d1e5f
HD
22502020-04-30 Hannes Domani <ssbssa@yahoo.de>
2251
2252 PR gdb/18706
2253 * gdb.cp/stub-array-size.cc: New test.
2254 * gdb.cp/stub-array-size.exp: New file.
2255 * gdb.cp/stub-array-size.h: New test.
2256 * gdb.cp/stub-array-size2.cc: New test.
2257
d5cf82c0
HD
22582020-04-30 Hannes Domani <ssbssa@yahoo.de>
2259
2260 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
2261 output to the new format.
2262
42e165c3
SM
22632020-04-29 Simon Marchi <simon.marchi@efficios.com>
2264
2265 * gdb.base/break.exp: Use with_test_prefix.
2266
6e4e3fe1
TV
22672020-04-29 Tom de Vries <tdevries@suse.de>
2268
2269 * lib/gdb.exp (debug_types): New proc.
2270 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
2271 * gdb.python/py-symtab.exp: Same.
2272
d642b692
HD
22732020-04-29 Hannes Domani <ssbssa@yahoo.de>
2274
2275 PR gdb/17320
2276 * gdb.base/pretty-array.c: New test.
2277 * gdb.base/pretty-array.exp: New file.
2278
ea90f227
TV
22792020-04-29 Tom de Vries <tdevries@suse.de>
2280
2281 PR symtab/25889
2282 * gdb.cp/cpexprs.exp: Adapt for inclusion.
2283 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
2284 and include cpexprs.exp.
2285
a65189c9
TV
22862020-04-28 Mark Williams <mark@myosotissp.com>
2287
2288 PR gdb/24480
2289 * dw4-toplevel-types.exp: Test for top level types.
2290 * dw4-toplevel-types.cc: Test for top level types.
2291
32d1f47a
TBA
22922020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2293
2294 * gdb.threads/stop-with-handle.exp: Fix typo in comment
2295 (theads -> threads).
2296
56a4f5a1
TV
22972020-04-28 Tom de Vries <tdevries@suse.de>
2298
2299 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
2300
0b2f8a3b
TV
23012020-04-28 Tom de Vries <tdevries@suse.de>
2302
2303 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
2304
5390c717
TV
23052020-04-28 Tom de Vries <tdevries@suse.de>
2306
2307 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
2308
15cd93d0
TV
23092020-04-28 Tom de Vries <tdevries@suse.de>
2310
2311 * gdb.dwarf2/main-foo.c: New test.
2312 * gdb.dwarf2/struct-with-sig.exp: New file.
2313
d472f0fb
TV
23142020-04-25 Tom de Vries <tdevries@suse.de>
2315
2316 * boards/debug-types.exp: New file.
2317
8d840e05
AB
23182020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
2319
2320 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
2321
bcfe6157
TT
23222020-04-24 Tom Tromey <tom@tromey.com>
2323
2324 PR symtab/12707:
2325 * gdb.python/py-symbol.exp: Update expected results for
2326 linkage_name test.
2327 * gdb.cp/print-demangle.exp: New file.
2328 * gdb.base/c-linkage-name.exp: Fix test.
2329 * gdb.guile/scm-symbol.exp: Update expected results for
2330 linkage_name test.
2331
f049a313
TT
23322020-04-24 Tom Tromey <tom@tromey.com>
2333
2334 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
2335 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
2336 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
2337 assembler.
2338
7cf28874
TV
23392020-04-24 Tom de Vries <tdevries@suse.de>
2340
2341 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
2342 C++.
2343
dac2fef7
TT
23442020-04-24 Tom Tromey <tromey@adacore.com>
2345
2346 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
2347 values.
2348 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
2349 values. Update test for minimal encodings.
2350 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
2351 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
2352 values. Update test for minimal encodings.
2353
1acda803
TT
23542020-04-24 Tom Tromey <tromey@adacore.com>
2355
2356 PR python/23662:
2357 * gdb.ada/variant.exp: Add Python checks.
2358 * gdb.rust/simple.exp: Add dynamic type checks.
2359
adfb9815
TT
23602020-04-24 Tom Tromey <tromey@adacore.com>
2361
2362 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
2363 Make array type matching more lax.
2364 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
2365 * gdb.ada/mi_variant.exp: New file.
2366 * gdb.ada/mi_variant/pck.ads: New file.
2367 * gdb.ada/mi_variant/pkg.adb: New file.
2368 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
2369 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
2370
7d79de9a
TT
23712020-04-24 Tom Tromey <tromey@adacore.com>
2372
2373 * gdb.ada/variant.exp: Add dynamic field offset tests.
2374 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
2375 * gdb.ada/variant/pkg.adb: Add new variables.
2376
f8e89861
TT
23772020-04-24 Tom Tromey <tromey@adacore.com>
2378
2379 * gdb.ada/variant.exp: New file
2380 * gdb.ada/variant/pkg.adb: New file
2381 * gdb.ada/variant/pck.adb: New file
2382
86e887ae
TV
23832020-04-24 Tom de Vries <tdevries@suse.de>
2384
2385 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
2386
88428775
TV
23872020-04-24 Tom de Vries <tdevries@suse.de>
2388
2389 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
2390 flags.
2391
4e86f6e7
TV
23922020-04-24 Tom de Vries <tdevries@suse.de>
2393
2394 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
2395
2016d3e6
TV
23962020-04-24 Tom de Vries <tdevries@suse.de>
2397
2398 * lib/gdb.exp (default_gdb_start): Handle eof.
2399 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
2400 failure.
2401 * gdb.base/readnever.exp: Handle clean_restart failure.
2402
70bc38f5
TV
24032020-04-23 Tom de Vries <tdevries@suse.de>
2404
2405 * gdb.base/decl-before-def.exp: Run to main and print a again.
2406
de82891c
TV
24072020-04-23 Tom de Vries <tdevries@suse.de>
2408
2409 * gdb.base/decl-before-def-decl.c: New test.
2410 * gdb.base/decl-before-def-def.c: New test.
2411 * gdb.base/decl-before-def.exp: New file.
2412
96038148
TV
24132020-04-23 Tom de Vries <tdevries@suse.de>
2414
2415 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
2416
54ac3df1
TV
24172020-04-22 Tom de Vries <tdevries@suse.de>
2418
2419 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
2420 debug_info_offset.
2421 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
2422 before $objsfile in the line line.
2423
714534e1
TV
24242020-04-22 Tom de Vries <tdevries@suse.de>
2425
2426 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
2427
16a7dbf4
MS
24282020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2429
2430 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
2431 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
2432 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
2433 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
2434 * gdb.base/jit-protocol.h: Update definitions to match all usage
2435 contexts.
2436
24372020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2438
2439 * gdb.base: Rename all jit related test and source files.
2440
24412020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2442
2443 * gdb.base/jit-reader.exp: Relax register output check.
2444
317d2668
TV
24452020-04-22 Tom de Vries <tdevries@suse.de>
2446
2447 PR symtab/25764
2448 * gdb.base/psym-external-decl-2.c: New test.
2449 * gdb.base/psym-external-decl.c: New test.
2450 * gdb.base/psym-external-decl.exp: New file.
2451 * gdb.threads/tls.exp: Add PR25807 kfail.
2452
eea9e357
TV
24532020-04-22 Tom de Vries <tdevries@suse.de>
2454
2455 PR symtab/25801
2456 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
2457 in "info source" output.
2458
3d5afab3
TV
24592020-04-22 Tom de Vries <tdevries@suse.de>
2460
2461 PR symtab/25700
2462 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
2463 symtab for imported_unit.c.
2464
b32102f6
GB
24652020-04-21 Gary Benson <gbenson@redhat.com>
2466
2467 * gdb.base/advance.c (func): New argument, to match call site.
2468 (func2, func3): Add return statements.
2469
d43b7a2d
TBA
24702020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2471
2472 * gdb.multi/run-only-second-inf.c: New file.
2473 * gdb.multi/run-only-second-inf.exp: New file.
2474
d89edf9b
MM
24752020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2476
2477 * gdb.btrace/multi-inferior.c: New test.
2478 * gdb.btrace/multi-inferior.exp: New file.
2479
1a476b6d
MM
24802020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2481
2482 * gdb.btrace/enable-new-thread.c: New test.
2483 * gdb.btrace/enable-new-thread.exp: New file.
2484
4778a5f8
TV
24852020-04-21 Tom de Vries <tdevries@suse.de>
2486
2487 PR gdb/25471
2488 * gdb.threads/killed-outside.c: New test.
2489 * gdb.threads/killed-outside.exp: New file.
2490
9b2c992c
GB
24912020-04-20 Gary Benson <gbenson@redhat.com>
2492
2493 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
2494 * gdb.base/nested-subp2.exp: Likewise.
2495 * gdb.base/nested-subp3.exp: Likewise.
2496
b5d1d6f7
GB
24972020-04-20 Gary Benson <gbenson@redhat.com>
2498
2499 * gdb.base/nested-subp1.exp: Disable test when using clang.
2500 * gdb.base/nested-subp2.exp: Likewise.
2501 * gdb.base/nested-subp3.exp: Likewise.
2502
25230285
GB
25032020-04-20 Gary Benson <gbenson@redhat.com>
2504
2505 * gdb.cp/exception.cc: Fix compilation error with clang.
2506
fa93cc8f
GB
25072020-04-20 Gary Benson <gbenson@redhat.com>
2508
809730f3 2509 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 2510
e0c45f30
GB
25112020-04-20 Gary Benson <gbenson@redhat.com>
2512
2513 * gdb.base/jit-main.c: Fix compilation error with clang.
2514
4ddfec93
KR
25152020-04-17 Kamil Rytarowski <n54@gmx.com>
2516
2517 * gdb.base/attach-twice.c: Include "sys/types.h".
2518 (PTRACE_ATTACH): Add fallback definition.
2519 (main): Pass `0' to the 4th argument of `ptrace'.
2520
2bed205e
KR
25212020-04-17 Kamil Rytarowski <n54@gmx.com>
2522
2523 * gdb.base/fork-running-state.c: Include "signal.h".
2524
0743fc83
TT
25252020-04-17 Tom Tromey <tromey@adacore.com>
2526
2527 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
2528 Update tests.
2529 * gdb.btrace/cpu.exp: Update tests.
2530 * gdb.base/maint.exp: Update tests.
2531 * gdb.base/default.exp: Update tests.
2532 * gdb.base/completion.exp: Update tests.
2533
efba5c23
TV
25342020-04-16 Tom de Vries <tdevries@suse.de>
2535
2536 PR symtab/25791
2537 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
2538 (ensure_gdb_index): and factor out and move ...
2539 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
2540 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
2541
d191d716
TV
25422020-04-16 Tom de Vries <tdevries@suse.de>
2543
2544 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
2545 loading exec.
2546
99f1bc6a
AB
25472020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
2548
2549 * gdb.base/many-completions.exp: New file.
2550
194d088f
TV
25512020-04-14 Tom de Vries <tdevries@suse.de>
2552
2553 PR symtab/25718
2554 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
2555
c1a66c06
TV
25562020-04-14 Tom de Vries <tdevries@suse.de>
2557
2558 PR symtab/25720
2559 * gdb.base/maint-expand-symbols-header-file.c: New test.
2560 * gdb.base/maint-expand-symbols-header-file.exp: New file.
2561 * gdb.base/maint-expand-symbols-header-file.h: New test.
2562
21b0982c
AB
25632020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2564
2565 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
2566 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
2567 get_func_info.
2568 (get_func_info): Delete.
2569 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
2570 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
2571 * lib/dwarf.exp (get_func_info): New function.
2572
dd1cab06
TV
25732020-04-13 Tom de Vries <tdevries@suse.de>
2574
2575 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
2576 to what find_gnatmake does.
2577
71ea2b6b
TV
25782020-04-10 Tom de Vries <tdevries@suse.de>
2579
2580 * gdb.base/style.exp: Expect "Expanding full symbols" message for
2581 -readnow.
2582
bdfc1e8a
TV
25832020-04-10 Tom de Vries <tdevries@suse.de>
2584
2585 PR cli/25808
2586 * gdb.base/style.c: Add leading newlines.
2587 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
2588 Check listing of main's one-line body.
2589
14ca8ecf
TV
25902020-04-08 Tom de Vries <tdevries@suse.de>
2591
2592 * lib/gdb.exp (psymtabs_p): New proc.
2593 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
2594 importing unit" unsupported if there are no partial symbols.
2595
e21d048f
TV
25962020-04-08 Tom de Vries <tdevries@suse.de>
2597
2598 PR testsuite/25760
2599 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
2600
25c11aca
TV
26012020-04-07 Tom de Vries <tdevries@suse.de>
2602
2603 PR symtab/25796
2604 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
2605
5707e24b
TV
26062020-04-07 Tom de Vries <tdevries@suse.de>
2607
2608 * gdb.base/check-psymtab.c: New test.
2609 * gdb.base/check-psymtab.exp: New file.
2610
6ee448cc
TT
26112020-04-06 Tom Tromey <tromey@adacore.com>
2612
2613 * gdb.ada/variant-record/proc.adb: New file.
2614 * gdb.ada/variant-record/value.adb: New file.
2615 * gdb.ada/variant-record/value.s: New file.
2616 * gdb.ada/variant-record.exp: New file.
2617
9e7c9a03
HD
26182020-04-03 Hannes Domani <ssbssa@yahoo.de>
2619
2620 PR gdb/25325
2621 * gdb.cp/typed-enum.cc: New test.
2622 * gdb.cp/typed-enum.exp: New file.
2623
c90d28ac
AB
26242020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2625
2626 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
2627 * gdb.dwarf2/dw2-inline-small-func.c: New file.
2628 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
2629 * gdb.dwarf2/dw2-inline-small-func.h: New file.
2630 * gdb.opt/inline-small-func.c: New file.
2631 * gdb.opt/inline-small-func.exp: New file.
2632 * gdb.opt/inline-small-func.h: New file.
2633
34e9a9fa
AB
26342020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2635
2636 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
2637 function.
2638
6a354911
AB
26392020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2640
2641 * lib/dwarf.exp (function_range): Allow compiler options to be
2642 specified.
2643
880d9777
TV
26442020-04-02 Tom de Vries <tdevries@suse.de>
2645
2646 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
2647 __attribute__((always_inline)).
2648 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
2649
f32682ea
TV
26502020-04-02 Tom de Vries <tdevries@suse.de>
2651
2652 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
2653 (gdbserver_gdb_exit): ... here. Add timeout warning.
2654 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
2655 (connect_target_extended_remote): Append new server_spawn_id to
2656 server_spawn_ids.
2657 (cleanup): New proc.
2658 (setup, <toplevel>): Call cleanup.
2659
d3214198
TV
26602020-04-02 Tom de Vries <tdevries@suse.de>
2661
2662 * gdb.base/main-psymtab.exp: New file.
2663
cc77ed24
TV
26642020-04-02 Tom de Vries <tdevries@suse.de>
2665
2666 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
2667
3638a098
TT
26682020-04-01 Tom Tromey <tom@tromey.com>
2669
2670 * gdb.base/complex-parts.exp: Add type tests.
2671
c34e8714
TT
26722020-04-01 Tom Tromey <tom@tromey.com>
2673
2674 * gdb.base/complex-parts.exp: Add arithmetic tests.
2675
981c08ce
TT
26762020-04-01 Tom Tromey <tom@tromey.com>
2677
2678 * gdb.compile/compile.exp: Update.
2679 * gdb.compile/compile-cplus.exp: Update.
2680 * gdb.base/varargs.exp: Update.
2681 * gdb.base/floatn.exp: Update.
2682 * gdb.base/endianity.exp: Update.
2683 * gdb.base/callfuncs.exp (do_function_calls): Update.
2684 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
2685 (complex_float_integral_args): Update.
2686 * gdb.base/complex.exp: Update.
2687 * gdb.base/complex-parts.exp: Update.
2688
3d1cfd43
TT
26892020-04-01 Tom Tromey <tromey@adacore.com>
2690
2691 * gdb.rust/union.rs: New file.
2692 * gdb.rust/union.exp: New file.
2693 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
2694 (main): Update.
2695 * gdb.rust/simple.exp: Move union tests to union.exp.
2696
e033dfa9
TT
26972020-04-01 Tom Tromey <tromey@adacore.com>
2698
2699 * gdb.rust/simple.rs (main): Remove "y0".
2700
53cccef1
TBA
27012020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2702
2703 * gdb.multi/stop-all-on-exit.c: New test.
2704 * gdb.multi/stop-all-on-exit.exp: New file.
2705
60e22c1e
HD
27062020-04-01 Hannes Domani <ssbssa@yahoo.de>
2707
2708 PR gdb/24789
2709 * gdb.cp/misc.cc: Add integer reference variable.
2710 * gdb.cp/misc.exp: Add test.
2711
e139a727
TBA
27122020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2713
2714 * gdb.server/stop-reply-no-thread.exp: Enhance the test
2715 scenario to cover execution until the end and also the case
2716
16b0db75
TV
27172020-03-31 Tom de Vries <tdevries@suse.de>
2718
2719 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
2720 c. Use "maint info symtabs" to check symtab expansion.
2721
c0502da6
TV
27222020-03-30 Tom de Vries <tdevries@suse.de>
2723
2724 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
2725 unsupported.
2726 (verify_psymtab_expanded): Move ...
2727 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
2728 test.
2729 (readnow): New proc.
2730
5935fd15
AB
27312020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2732
2733 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
2734 with $hex.
2735
1773be9e
TT
27362020-03-20 Tom Tromey <tromey@adacore.com>
2737
2738 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
2739
70304be9
TT
27402020-03-20 Tom Tromey <tromey@adacore.com>
2741
2742 * gdb.ada/sub_variant/subv.adb: New file.
2743 * gdb.ada/sub_variant.exp: New file.
2744
0dd7b8f7
TV
27452020-03-20 Tom de Vries <tdevries@suse.de>
2746
2747 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
2748 first break fails.
2749 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
2750
cada5fc9
AB
27512020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2752
2753 * gdb.server/exit-multiple-threads.c: New file.
2754 * gdb.server/exit-multiple-threads.exp: New file.
2755
6b8c53f2
AB
27562020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2757
2758 * gdb.fortran/mixed-lang-stack.c: New file.
2759 * gdb.fortran/mixed-lang-stack.cpp: New file.
2760 * gdb.fortran/mixed-lang-stack.exp: New file.
2761 * gdb.fortran/mixed-lang-stack.f90: New file.
2762
19a2740f
AB
27632020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2764
2765 * gdb.linespec/cp-completion-aliases.cc: New file.
2766 * gdb.linespec/cp-completion-aliases.exp: New file.
2767
d8c8b848
TV
27682020-03-19 Tom de Vries <tdevries@suse.de>
2769
2770 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
2771 more precise.
2772
a9933ccf
TV
27732020-03-18 Tom de Vries <tdevries@suse.de>
2774
2775 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
2776 * gdb.dwarf2/break-inline-psymtab.c: New test.
2777 * gdb.dwarf2/break-inline-psymtab.exp: New file.
2778
2f89101f
TV
27792020-03-16 Tom de Vries <tdevries@suse.de>
2780
2781 * lib/cache.exp (gdb_do_cache): Add and handle local variables
2782 cache_verify and cache_verify_proc.
2783
6b9374f1
TV
27842020-03-15 Tom de Vries <tdevries@suse.de>
2785
2786 * gdb.server/solib-list.exp: Handle
2787 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
2788
eaeaf44c
TV
27892020-03-15 Tom de Vries <tdevries@suse.de>
2790
2791 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
2792 objfiles".
2793
3293bbaf
TT
27942020-03-14 Tom Tromey <tom@tromey.com>
2795
2796 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
2797
ab44624c
TV
27982020-03-14 Tom de Vries <tdevries@suse.de>
2799
2800 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
2801
54c43825
TV
28022020-03-14 Tom de Vries <tdevries@suse.de>
2803
2804 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
2805 result in line-by-line fashion.
2806
2ac70237
TV
28072020-03-14 Tom de Vries <tdevries@suse.de>
2808
2809 * lib/gdb.exp (supports_statement_frontiers): New proc.
2810 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
2811
09546b56
TV
28122020-03-14 Tom de Vries <tdevries@suse.de>
2813
2814 * gdb.base/printcmds.exp: Add missing quoting for "print
2815 teststring2".
2816
a1f6a07c
TT
28172020-03-13 Tom Tromey <tom@tromey.com>
2818
2819 * gdb.base/printcmds.exp (test_print_strings): Add regression
2820 test.
2821 * gdb.base/printcmds.c (charptr): New typedef.
2822 (teststring2): New global.
2823
1b83d09c
AB
28242020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
2825
2826 * gdb.base/break-interp.exp: Use the tail of the filename, not the
2827 full path in the test name.
2828 (test_ld): Add some with_test_prefix blocks to make test names
2829 unique.
2830
2d61316c
TV
28312020-03-13 Tom de Vries <tdevries@suse.de>
2832
2833 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
2834
2e9145ac
TV
28352020-03-13 Tom de Vries <tdevries@suse.de>
2836
2837 * gdb.mi/mi-sym-info.exp: Make matching more precise.
2838
96c7f873
TV
28392020-03-13 Tom de Vries <tdevries@suse.de>
2840
2841 PR symtab/25646
2842 * gdb.dwarf2/imported-unit.exp: Add test.
2843
49ba92c0
TV
28442020-03-13 Tom de Vries <tdevries@suse.de>
2845
2846 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
2847 (var1, var2): New variable.
2848 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
2849 matching symbols.
2850
301b21e0
TV
28512020-03-13 Tom de Vries <tdevries@suse.de>
2852
2853 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
2854 (Term::command): Use prompt prefix.
2855 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
2856 * gdb.tui/tui-layout-asm-short-prog.exp: Use
2857 command_no_prompt_prefix instead of prefix.
2858 * gdb.tui/tui-layout-asm.exp: Same.
2859
3f512721
SM
28602020-03-12 Simon Marchi <simon.marchi@efficios.com>
2861
2862 * gdb.base/break-interp.exp: Use foreach_with_prefix.
2863
40310f30
SM
28642020-03-12 Simon Marchi <simon.marchi@efficios.com>
2865
2866 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
2867 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
2868 on" while stepping over the test instruction, match printed
2869 message.
2870
09252140
TV
28712020-03-12 Tom de Vries <tdevries@suse.de>
2872
2873 * gdb.base/info-types.exp: Use exp_continue during matching of output
2874 of "info types".
2875
14e9c72c
TV
28762020-03-12 Tom de Vries <tdevries@suse.de>
2877
2878 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
2879
e515d67e
TV
28802020-03-12 Tom de Vries <tdevries@suse.de>
2881
2882 * gdb.fortran/module.exp: Use exp_continue during matching of output
2883 of "info variable -n".
2884
307eafd8
TV
28852020-03-12 Tom de Vries <tdevries@suse.de>
2886
2887 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
2888 gdb.dwarf2/dw2-ranges-base.c.
2889
9a2de3fc
TV
28902020-03-12 Tom de Vries <tdevries@suse.de>
2891
2892 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
2893 in presence of GLIBC debuginfo.
2894
3217502e
TV
28952020-03-12 Tom de Vries <tdevries@suse.de>
2896
2897 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
2898 $core.
2899
1281424c
TV
29002020-03-12 Tom de Vries <tdevries@suse.de>
2901
2902 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
2903 more precise.
2904
038b97fc
SM
29052020-03-11 Simon Marchi <simon.marchi@efficios.com>
2906
2907 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
2908 from Unix to Windows path.
2909
5308d1e7
TV
29102020-03-11 Tom de Vries <tdevries@suse.de>
2911
2912 * gdb.ada/minsyms.exp: Set language to ada.
2913
f870f78f
TV
29142020-03-11 Tom de Vries <tdevries@suse.de>
2915
2916 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
2917
5a13315d
TV
29182020-03-11 Tom de Vries <tdevries@suse.de>
2919
2920 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
2921
976862ed
TT
29222020-03-11 Tom Tromey <tromey@adacore.com>
2923
2924 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
2925
7462c383
TV
29262020-03-11 Tom de Vries <tdevries@suse.de>
2927
2928 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
2929
1c6c46a0
TV
29302020-03-11 Tom de Vries <tdevries@suse.de>
2931
2932 * gdb.base/break-interp.exp: Limit verbose scope.
2933
44f41bb7
TV
29342020-03-11 Tom de Vries <tdevries@suse.de>
2935
2936 * gdb.fortran/logical.f90: Define variable with character type.
2937 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
2938
b76f3a42
TV
29392020-03-11 Tom de Vries <tdevries@suse.de>
2940
2941 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
2942
1c33af77
TV
29432020-03-11 Tom de Vries <tdevries@suse.de>
2944
2945 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
2946 symtabs.
2947
8c95582d
AB
29482020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2949 Bernd Edlinger <bernd.edlinger@hotmail.de>
2950
2951 * gdb.cp/step-and-next-inline.cc: New file.
2952 * gdb.cp/step-and-next-inline.exp: New file.
2953 * gdb.cp/step-and-next-inline.h: New file.
2954 * gdb.dwarf2/dw2-is-stmt.c: New file.
2955 * gdb.dwarf2/dw2-is-stmt.exp: New file.
2956 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
2957 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
2958 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
2959
cecf8547
AB
29602020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2961
2962 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
2963 is-stmt flag in the line table.
2964
0ba678c9
TV
29652020-03-09 Tom de Vries <tdevries@suse.de>
2966
2967 * lib/gdb.exp (cached_file): Create cache dir.
2968
72fbdf83
TV
29692020-03-07 Tom de Vries <tdevries@suse.de>
2970
2971 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
2972 * gdb.cp/rvalue-ref-params.exp: Same.
2973
436b5e99
TV
29742020-03-06 Tom de Vries <tdevries@suse.de>
2975
2976 * lib/gdb.exp (tentative_rename, cached_file): New proc.
2977 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
2978
09f2921c
TV
29792020-03-06 Tom de Vries <tdevries@suse.de>
2980
2981 * README: Fix "the the".
2982 * gdb.base/dprintf.exp: Same.
2983
50a3cc5d
TV
29842020-03-05 Tom de Vries <tdevries@suse.de>
2985
2986 * gdb.base/maint.exp: Update "main print statistics" expected output.
2987
0a709cba
AKS
29882020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2989
2990 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
2991 (fortran_int8): Likewise.
2992 (fortran_real4): Likewise.
2993 (fortran_real8): Likewise.
2994 (fortran_complex4): Likewise.
2995 (fortran_logical4): Likewise.
2996 (fortran_character1): Likewise.
2997
5e5d66b6
AB
29982020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
2999
3000 * gdb.fortran/logical.exp: Add tests that any non-zero value is
3001 printed as true.
3002
7b973adc
SDJ
30032020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
3004
3005 * gdb.base/printcmds.exp: Add test to verify printf of a
3006 variable holding an address.
3007
478e490a
TV
30082020-03-03 Tom de Vries <tdevries@suse.de>
3009
3010 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
3011
1ef44e86
TV
30122020-03-03 Tom de Vries <tdevries@suse.de>
3013
3014 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
3015 gdb_test_multiple call.
3016
b98cc2cf
TV
30172020-03-03 Tom de Vries <tdevries@suse.de>
3018
3019 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
3020 gdb_test_multiple calls.
3021
63e163f2
AB
30222020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3023
3024 * gdb.base/default.exp: Remove test of 'set history filename'.
3025 * gdb.base/gdbinit-history.exp: Add tests for setting the history
3026 filename to the empty string.
3027 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
3028 and GDBHISTSIZE.
3029
24ed6739
AB
30302020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3031
3032 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
3033 disabled.
3034
590003dc 30352020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 3036 Tom de Vries <tdevries@suse.de>
590003dc
TV
3037
3038 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
3039 -prompt prefix, before user_code argument. Add -lbl option likewise.
3040 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
3041 (gdb_is_target_1): Add -prompt prefix and move to before user_code
3042 argument.
3043 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
3044 have "\r\n" at start-of-line, instead of at end-of-line.
3045
f5e46084
SM
30462020-02-28 Simon Marchi <simon.marchi@efficios.com>
3047
3048 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
3049 libinproctrace.so.
3050
f7a7000d
LM
30512020-02-28 Luis Machado <luis.machado@linaro.org>
3052
3053 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
3054 to "p/x".
3055
718e0816
LM
30562020-02-28 Luis Machado <luis.machado@linaro.org>
3057
3058 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
3059 asm/ptrace.h and error.h.
3060
13c3a74a
TV
30612020-02-28 Tom de Vries <tdevries@suse.de>
3062
3063 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
3064 (struct wrapper, do_something, mundane/symada__cS): Move ...
3065 * gdb.base/c-linkage-name-2.c: ... here. New source file.
3066 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
3067 Update "print symada__cS before partial symtab expansion" regexp.
3068 Update breakpoint location. Flush symbol cache after expansion.
3069
85d2d5bb
LM
30702020-02-28 Luis Machado <luis.machado@linaro.org>
3071
3072 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
3073
3608f86c
TV
30742020-02-27 Tom de Vries <tdevries@suse.de>
3075
3076 * config/sid.exp: Remove unused globals.
3077 * gdb.base/attach.exp: Same.
3078 * gdb.base/catch-load.exp: Same.
3079 * gdb.base/dbx.exp: Same.
3080 * lib/gdb.exp: Same.
3081 * lib/mi-support.exp: Same.
3082 * lib/prompt.exp: Same.
3083
c8d4f6df
TV
30842020-02-27 Tom de Vries <tdevries@suse.de>
3085
3086 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
3087 not set.
3088
0d79cdc4
AM
30892020-02-26 Aaron Merey <amerey@redhat.com>
3090
3091 * gdb.debuginfod: New directory for debuginfod tests.
3092 * gdb.debuginfod/main.c: New test file.
3093 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
3094
0dce4280
TV
30952020-02-26 Tom de Vries <tdevries@suse.de>
3096
3097 PR gdb/25603
3098 * gdb.base/persistent-lang.cc: New test.
3099 * gdb.base/persistent-lang.exp: New file.
3100
9e80cfa1
AB
31012020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3102
3103 * gdb.fortran/derived-type-striding.exp: Add a new test.
3104 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
3105 new test.
3106
2078dbb2
AB
31072020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3108
3109 * gdb.base/cached-source-file.exp: Avoid source file paths in test
3110 names.
3111
70d49700
TV
31122020-02-25 Tom de Vries <tdevries@suse.de>
3113
3114 PR go/18926
3115 * gdb.go/methods.exp: Remove gcc/93866 xfail.
3116
a88ef40d
TV
31172020-02-24 Tom de Vries <tdevries@suse.de>
3118
3119 PR gdb/25592
3120 * gdb.base/info-locals-unused-static-var.c: New test.
3121 * gdb.base/info-locals-unused-static-var.exp: New file.
3122
01b1af32
TT
31232020-02-22 Tom Tromey <tom@tromey.com>
3124
3125 * gdb.python/tui-window.exp: New file.
3126 * gdb.python/tui-window.py: New file.
3127
7c043ba6
TT
31282020-02-22 Tom Tromey <tom@tromey.com>
3129
3130 PR tui/17850:
3131 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
3132 tests.
3133
c22fef7e
TT
31342020-02-22 Tom Tromey <tom@tromey.com>
3135
3136 * gdb.tui/new-layout.exp: Add sub-layout tests.
3137
ee325b61
TT
31382020-02-22 Tom Tromey <tom@tromey.com>
3139
3140 * gdb.tui/new-layout.exp: New file.
3141
3f0cbb04
TT
31422020-02-22 Tom Tromey <tom@tromey.com>
3143
3144 * gdb.rust/rust-style.rs: New file.
3145 * gdb.rust/rust-style.exp: New file.
3146 * gdb.base/style.exp: Test structure printing.
3147 * gdb.base/style.c (struct some_struct): New type.
3148 (enum etype): New type.
3149 (struct_value): New global.
3150
75525152
TV
31512020-02-21 Tom de Vries <tdevries@suse.de>
3152
3153 PR go/18926
3154 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
3155 Remove blanket xfails. Use message argument for gdb_breakpoint.
3156 Make continuing to breakpoint test conditional on setting breakpoint.
3157 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
3158 DW_AT_name attribute. Add xfail for GCC PR93866.
3159
bd360d30
AB
31602020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
3161
3162 * gdb.dwarf2/cpp-linkage-name.c: New file.
3163 * gdb.dwarf2/cpp-linkage-name.exp: New file.
3164
c7adb09f 31652020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
3166
3167 * lib/gdb.exp (gdb_wrapper_init): Reset
3168 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
3169 not exist.
3170
a9c79803
TV
31712020-02-20 Tom de Vries <tdevries@suse.de>
3172
3173 PR go/17018
3174 * gdb.go/hello.exp: Copy ...
3175 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
3176 print of st to print value of global definition. Add xfail for GCC
3177 PR93844.
3178 * gdb.go/hello.exp: Remove printing of st before definition.
3179 * gdb.go/hello.go: Copy ...
3180 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
3181 to st.
3182 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
3183
d7445728
TV
31842020-02-20 Tom de Vries <tdevries@suse.de>
3185
3186 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
3187 (gdb_simple_compile): Handle compile_flags go by using .go extension
3188 for source file.
3189 * gdb.go/chan.exp: Use support_go_compile.
3190 * gdb.go/handcall.exp: Same.
3191 * gdb.go/hello.exp: Same.
3192 * gdb.go/integers.exp: Same.
3193 * gdb.go/max-depth.exp: Same.
3194 * gdb.go/methods.exp: Same.
3195 * gdb.go/package.exp: Same.
3196 * gdb.go/strings.exp: Same.
3197 * gdb.go/types.exp: Same.
3198 * gdb.go/unsafe.exp: Same.
3199
c9c41e6d
TV
32002020-02-19 Tom de Vries <tdevries@suse.de>
3201
3202 * gdb.python/lib-types.exp: Make xfail more strict.
3203
f20ff837
TV
32042020-02-19 Tom de Vries <tdevries@suse.de>
3205
3206 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
3207
08410482
DE
32082020-02-19 Doug Evans <dje@google.com>
3209
3210 PR rust/25535
3211 * gdb.rust/simple.exp: Add test.
3212 * gdb.rust/simple.rs: Add test.
3213
623563f7
TV
32142020-02-19 Tom de Vries <tdevries@suse.de>
3215
3216 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
3217 output line-by-line.
3218
d3308cfd
TV
32192020-02-19 Tom de Vries <tdevries@suse.de>
3220
3221 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
3222
86cbc5dc
TV
32232020-02-19 Tom de Vries <tdevries@suse.de>
3224
3225 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
3226 prelink.
3227
9db2b96b
TV
32282020-02-19 Tom de Vries <tdevries@suse.de>
3229
3230 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
3231 (gdb_do_cache): Use gdb_do_cache_wrap.
3232 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
3233
89e2fdc5
TV
32342020-02-19 Tom de Vries <tdevries@suse.de>
3235
3236 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
3237 gdb_compile option.
3238
373d7ac0
SM
32392020-02-18 Simon Marchi <simon.marchi@efficios.com>
3240
3241 * gdb.base/printcmds.exp (test_print_enums): Update expected
3242 output.
3243
b29a2df0
SM
32442020-02-18 Simon Marchi <simon.marchi@efficios.com>
3245
3246 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
3247 for "unknown".
3248
6740f0cc
SM
32492020-02-18 Simon Marchi <simon.marchi@efficios.com>
3250
3251 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
3252 enumerator.
3253
edd45eb0
SM
32542020-02-18 Simon Marchi <simon.marchi@efficios.com>
3255
3256 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
3257 FE_, add FE_NONE.
3258 (three): Update.
3259 (enum flag_enum_without_zero): New enum.
3260 (flag_enum_without_zero): New variable.
3261 (enum not_flag_enum): New enum.
3262 (three_not_flag): New variable.
3263 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
3264 (test_print_enums): Add more tests for printing flag enums.
3265
d4295de4
TV
32662020-02-18 Tom de Vries <tdevries@suse.de>
3267
3268 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
3269 (gdb_compile_ada): ... here.
3270 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
3271 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
3272
f251f505
TT
32732020-02-14 Tom Tromey <tom@tromey.com>
3274
3275 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
3276 build directory.
3277 * boards/gdbserver-base.exp: Update path to gdbserver.
3278
8f432634
TV
32792020-02-13 Tom de Vries <tdevries@suse.de>
3280
3281 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
3282
92b6eaf7
TV
32832020-02-13 Tom de Vries <tdevries@suse.de>
3284
3285 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
3286 are missing.
3287
f3b0f7fe
TV
32882020-02-13 Tom de Vries <tdevries@suse.de>
3289
3290 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
3291 call.
3292
f6be8713
SDJ
32932020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3294
3295 PR tui/25126
3296 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
3297 * gdb.base/cached-source-file.c: New file.
3298 * gdb.base/cached-source-file.exp: New file.
3299
b2770d5e
TV
33002020-02-11 Tom de Vries <tdevries@suse.de>
3301
3302 PR testsuite/25488
3303 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
3304
44f6938e
TV
33052020-02-10 Tom de Vries <tdevries@suse.de>
3306
3307 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
3308
5f0e2eb7
MR
33092020-02-10 Maciej W. Rozycki <macro@wdc.com>
3310
3311 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
3312 and $after_addr are both integers before making a comparison.
3313
46ce2b6f
TV
33142020-02-09 Tom de Vries <tdevries@suse.de>
3315
3316 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
3317 command output and paste it into gdb.log. If any, paste catch message
3318 to gdb.log.
3319
5abbbe1d
TT
33202020-02-07 Tom Tromey <tromey@adacore.com>
3321
3322 PR breakpoints/24915:
3323 * gdb.base/annotate-symlink.exp: Use setup_xfail.
3324
1d5d29e7
SV
33252020-02-06 Shahab Vahedi <shahab@synopsys.com>
3326
3327 * gdb.tui/tui-missing-src.exp: Add the "missing source
3328 file" test for the TUI.
3329
b0999b9b
AB
33302020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
3331
3332 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
3333 including a port number in the output.
3334
c3b149eb
AKS
33352020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3336
3337 * lib/fortran.exp (fortran_int4): Handle clang.
3338 (fortran_int8): Likewise.
3339 (fortran_real4): Likewise.
3340 (fortran_real8): Likewise.
3341 (fortran_complex4): Likewise.
3342 (fortran_logical4): Likewise.
3343 (fortran_character1): Likewise.
3344
f8dcc90b
TV
33452020-02-04 Tom de Vries <tdevries@suse.de>
3346
3347 * README (Race detection): Add note.
3348
f90ac7c2
TV
33492020-02-04 Tom de Vries <tdevries@suse.de>
3350
3351 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
3352
780636ae
TV
33532020-02-04 Tom de Vries <tdevries@suse.de>
3354
3355 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
3356
5d2e1193
RA
33572020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3358
3359 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
3360 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
3361 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
3362 blttar, bnetarl.
3363 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
3364 binary for blttar, bnetarl.
3365 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
3366 wait instruction. Delete ldmx test.
3367 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
3368
e409c542
AKS
33692020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3370
3371 * gdb.fortran/array-bounds-high.exp: New file.
3372 * gdb.fortran/array-bounds-high.f90: New file.
3373
b0029748
LD
33742020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
3375
3376 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
3377 Replace #include of <sys/fcntl.h> by <fcntl.h>.
3378
195a8287
TV
33792020-02-01 Tom de Vries <tdevries@suse.de>
3380
3381 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
3382
42330a68
AB
33832020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
3384
3385 PR tui/9765
3386 * gdb.tui/tui-layout-asm-short-prog.S: New file.
3387 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
3388
b62a8028
LM
33892020-01-29 Luis Machado <luis.machado@linaro.org>
3390
3391 * gdb.arch/aarch64-brk-patterns.c: New source file.
3392 * gdb.arch/aarch64-brk-patterns.exp: New test.
3393
5f440116
TBA
33942020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3395
3396 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
3397 GCC/Clang version.
3398 * gdb.cp/pass-by-ref.exp: Ditto.
3399
ee2a6fc6
TV
34002020-01-29 Tom de Vries <tdevries@suse.de>
3401
3402 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
3403 * gdb.threads/watchpoint-fork-mt.c: Same.
3404 * gdb.threads/watchpoint-fork-parent.c: Same.
3405 * gdb.threads/watchpoint-fork-st.c: Same.
3406 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
3407
16b10d6e
LM
34082020-01-27 Luis Machado <luis.machado@linaro.org>
3409
3410 * gdb.base/step-over-syscall.exp (setup): Check if we're already
3411 sitting at a syscall instruction when we hit the syscall function's
3412 breakpoint.
3413 Check PC against one obtained with the x command.
3414 Validate syscall number.
3415 (step_over_syscall): Don't continue to the syscall instruction if
3416 we're already there.
3417
b1468492
PW
34182020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3419
3420 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
3421
7ffa82e1
AB
34222020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3423
3424 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
3425 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
3426
3d92a3e3
AB
34272020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3428
3429 * gdb.dwarf2/dw2-inline-stepping.c: New file.
3430 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
3431
94a72be7
AB
34322020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3433
3434 * gdb.base/maint.exp: Update line table parsing test.
3435 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
3436
53af73bf
PA
34372020-01-24 Pedro Alves <palves@redhat.com>
3438
3439 PR gdb/25410
3440 * gdb.multi/multi-re-run-1.c: New.
3441 * gdb.multi/multi-re-run-2.c: New.
3442 * gdb.multi/multi-re-run.exp: New.
3443
1ba1ac88
AB
34442020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3445
3446 PR gdb/23718
3447 * gdb.server/server-kill-python.exp: New file.
3448
f3364a6d
AB
34492020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3450
3451 * gdb.server/multi-ui-errors.c: New file.
3452 * gdb.server/multi-ui-errors.exp: New file.
3453
733d0a67
AB
34542020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3455
3456 PR tui/9765
3457 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
3458
4f13c1c0
TT
34592020-01-19 Tom Tromey <tom@tromey.com>
3460
3461 * gdb.tui/main.exp: Add check for plain "file".
3462
40c94099
CB
34632020-01-16 Christian Biesinger <cbiesinger@google.com>
3464
3465 * lib/gdb.exp: Fix spelling error (seperatelly).
3466
ff47f4f0
TT
34672020-01-14 Tom Tromey <tom@tromey.com>
3468
3469 PR symtab/12535:
3470 * gdb.python/python.exp: Test decode_line with empty string
3471 argument.
3472
717c684d
BE
34732020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
3474
3475 * gdb.base/skip-inline.exp: Extend test.
3476
44e4c775
AB
34772020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3478
3479 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
3480 * gdb.dwarf2/dw2-bad-elf.c: New file.
3481 * gdb.dwarf2/dw2-bad-elf.exp: New file.
3482
d93c6db7
AB
34832020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3484
3485 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
3486 _line_saw_file.
3487
9a6d629c
AB
34882020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3489
3490 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
3491 border.
3492
d9ebdab7
TBA
34932020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3494
3495 * gdb.multi/multi-target.exp (setup): Factor out "info
3496 connections" and "info inferiors" tests to ...
3497 (test_info_inferiors): ... this new procedure.
3498 (top level): Run new "info-inferiors" tests.
3499
f3c469b9
PA
35002020-01-10 Pedro Alves <palves@redhat.com>
3501
3502 * gdb.server/bkpt-other-inferior.exp: New file.
3503
121b3efd
PA
35042020-01-10 Pedro Alves <palves@redhat.com>
3505
3506 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
3507 of "add-inferior".
3508 * gdb.base/quit-live.exp: Likewise.
3509 * gdb.base/remote-exec-file.exp: Likewise.
3510 * gdb.guile/scm-progspace.exp: Likewise.
3511 * gdb.linespec/linespec.exp: Likewise.
3512 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3513 * gdb.mi/user-selected-context-sync.exp: Likewise.
3514 * gdb.multi/multi-target.exp (setup): Add "info connection" and
3515 "info inferiors" tests.
3516 * gdb.multi/remove-inferiors.exp: Adjust expected output of
3517 "add-inferior".
3518 * gdb.multi/watchpoint-multi.exp: Likewise.
3519 * gdb.python/py-inferior.exp: Likewise.
3520 * gdb.server/extended-remote-restart.exp: Likewise.
3521 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
3522 "info inferiors".
3523 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
3524 * gdb.trace/report.exp: Likewise.
3525
1dadb1dd
PA
35262020-01-10 Pedro Alves <palves@redhat.com>
3527
3528 * gdb.multi/multi-target.c: New file.
3529 * gdb.multi/multi-target.exp: New file.
3530 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
3531 mode requested, but remote does not support non-stop".
3532
78f2c40a
PA
35332020-01-10 Pedro Alves <palves@redhat.com>
3534
3535 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
3536 disconnect before reconnecting.
3537
e7af6c70
TBA
35382020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3539 Pedro Alves <palves@redhat.com>
3540
3541 * gdb.server/connect-without-multi-process.exp: Also test
3542 continuing to end.
3543
acdf84a6
PA
35442020-01-10 Pedro Alves <palves@redhat.com>
3545
3546 * gdb.base/remote-exec-file.exp: New file.
3547
873657b9
PA
35482020-01-10 Pedro Alves <palves@redhat.com>
3549
3550 * gdb.base/fork-running-state.exp (do_test): Adjust expected
3551 output.
3552 * gdb.threads/async.c: New.
3553 * gdb.threads/async.exp: New.
3554 * gdb.multi/tids-gid-reset.c: New.
3555 * gdb.multi/tids-gid-reset.exp: New.
3556
7f0ae84c
GB
35572020-01-10 George Barrett <bob@bob131.so>
3558
3559 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
3560 to help in finding the image relocation offset.
3561 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
3562 options in arguments.
3563 (stap_test_no_debuginfo): Likewise.
3564 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
3565 test variants.
3566 (stap_test): Add null semaphore relocation test.
3567
47e9d49d
GB
35682020-01-10 George Barrett <bob@bob131.so>
3569
3570 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
3571 * gdb.base/stap-probe.exp: Likewise.
3572 (stap_test): Pass argument as an additional flag.
3573 (stap_test_no_debuginfo): Likewise.
3574 (stap_test): Check `info probes stap' output for semaphore
3575 addresses if the test binary is supposed to have them.
3576
f5a7c406
AB
35772020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3578
3579 * gdb.tui/basic.exp: Add more scrolling tests.
3580
9ae6bf64
TT
35812020-01-09 Tom Tromey <tom@tromey.com>
3582
3583 PR tui/18932:
3584 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
3585 meangingful value.
3586 (Term::command, Term::resize): Update.
3587 * gdb.tui/basic.exp: Add scrolling test.
3588
b2efe70c
AB
35892020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3590
3591 * gdb.tui/tui-layout-asm.exp: New file.
3592
3804da7e
AB
35932020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3594
3595 * lib/tuiterm.exp (Term::check_box_contents): New proc.
3596
b40aa28f
AB
35972020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3598
3599 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
3600 (Term::enter_tui): Use Term::prepare_for_tui.
3601
63ffd7c9
AB
36022020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3603
3604 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
3605 called.
3606
3be966f6
AB
36072020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3608
3609 * gdb.base/skip.exp: Fix race condition in test.
3610
153d79c4
AB
36112020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3612
3613 * gdb.base/backtrace.c: New file.
3614 * gdb.base/backtrace.exp: New file.
3615
f2302a34
AB
36162020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
3617
3618 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
3619
6ec1d75e
PW
36202020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3621
3622 * gdb.base/style.exp: Test that warnings are styled.
3623
c296cbe6
BE
36242019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
3625
3626 * gdb.base/line65535.exp: New file.
3627 * gdb.base/line65535.c: New file.
3628
b28a729d
SM
36292019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
3630
3631 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
3632 * lib/gnat_debug_info_test.adb: New file.
3633 * gdb.ada/ptype_tagged_param.exp: Use
3634 gnat_runtime_has_debug_info, expect a different output if
3635 runtime does not have debug info.
3636
7f2d7a0d
SM
36372019-12-20 Simon Marchi <simon.marchi@efficios.com>
3638
3639 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
3640 (another) quote in test name.
3641
f3bce483
SM
36422019-12-20 Simon Marchi <simon.marchi@efficios.com>
3643
3644 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
3645 Add quote in test name.
3646
c855a912
TBA
36472019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3648
3649 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
3650 directory instead.
3651 * gdb.cp/pass-by-ref.exp: Extend with more cases.
3652 * gdb.cp/pass-by-ref-2.cc: New file.
3653 * gdb.cp/pass-by-ref-2.exp: New file.
3654
fc9d2d72
TT
36552019-12-20 Tom Tromey <tom@tromey.com>
3656
3657 * gdb.tui/list-before.exp: New file.
3658
77b97e00
TT
36592019-12-20 Tom Tromey <tom@tromey.com>
3660
3661 * gdb.tui/list.exp: Check for source on initial listing.
3662
f69656d0
TT
36632019-12-11 Tom Tromey <tromey@adacore.com>
3664
3665 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
3666 Add crlf test.
3667
99a55965
SM
36682019-12-18 Simon Marchi <simon.marchi@efficios.com>
3669
3670 * gdb.base/default.exp: Update value of $_gdb_major.
3671
5024637f
BE
36722019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3673
3674 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
3675
b63634be
BE
36762019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3677
3678 * gdb.base/skip.exp: Whitespace fix.
3679
45d73523
BE
36802019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3681
3682 * gdb.base/skip-inline.c: New file.
3683 * gdb.base/skip-inline.exp: New file.
3684
d043f8c8
SM
36852019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
3686
3687 * gdb.base/jit-reader.exp (jit_reader_test): Rename
3688 jit_function_00 to jit_function_stack_mangle.
3689 * gdb.base/jithost.c (jit_function_t): Rename to...
3690 (jit_function_stack_mangle_t): ... this.
3691 (jit_function_add_t): New typedef.
3692 (jit_function_00_code): Rename to...
3693 (jit_function_stack_mangle_code): ... this, make static.
3694 (jit_function_add_code): New.
3695 (main): Generate "add" function and call it. Adjust to changes
3696 in jithost_abi.
3697 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
3698 (struct jithost_abi) <begin, end>: Remove fields.
3699 <object, function_stack_mangle, function_add>: New fields.
3700 * gdb.base/jitreader.c (struct reader_state) <code_begin,
3701 code_end>: Remove fields.
3702 <func_stack_mangle>: New field.
3703 (read_debug_info): Adjust to renaming, create block for "add"
3704 function.
3705 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
3706
873de05c
TT
37072019-12-11 Tom Tromey <tom@tromey.com>
3708
3709 * gdb.tui/resize.exp: Fix regexp.
3710 * gdb.tui/regs.exp: Fix regexps.
3711 * gdb.tui/main.exp: Fix regexp.
3712
3d979945
TT
37132019-12-11 Tom Tromey <tom@tromey.com>
3714
3715 * gdb.tui/resize.exp: Update.
3716 * gdb.tui/empty.exp (layouts): Update.
3717
2192a9d3
TT
37182019-12-11 Tom Tromey <tom@tromey.com>
3719
3720 * gdb.tui/regs.exp: Update.
3721 * gdb.tui/empty.exp (layouts): Update.
3722 * gdb.tui/basic.exp: Update.
3723 * lib/tuiterm.exp (_check_box): Don't check bottom border.
3724
d8edc8b7
PW
37252019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3726
3727 * gdb.base/options.exp: Add -raw-values in the print completion list.
3728 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
3729
4c12d936
KB
37302019-12-10 Kevin Buettner <kevinb@redhat.com>
3731
3732 * gdb.threads/omp-par-scope.c: New file.
3733 * gdb/threads/omp-par-scope.exp: New file.
3734
26b911fb
KB
37352019-12-10 Kevin Buettner <kevinb@redhat.com>
3736
bb47f919
KB
3737 * lib/gdb.exp (support_nested_function_tests): New proc.
3738
37392019-12-10 Kevin Buettner <kevinb@redhat.com>
3740
3741 * lib/gdb.exp (gdb_compile_openmp): New proc.
3742 (build_executable_from_specs): Add an "openmp" option.
3743 (gdb_compile_pthreads): Add non-executable case.
26b911fb 3744
6c71eb7d
TT
37452019-12-10 Tom Tromey <tromey@adacore.com>
3746
3747 * gdb.ada/unchecked_union.exp: New file.
3748 * gdb.ada/unchecked_union/pck.adb: New file.
3749 * gdb.ada/unchecked_union/pck.ads: New file.
3750 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
3751 * gdb-utils.exp (string_to_regexp): Also quote "?".
3752
bac7c5cf
GB
37532019-12-10 George Barrett <bob@bob131.so>
3754
3755 Test scripted probe breakpoints.
3756 * gdb.guile/scm-breakpoint.c (main): Add probe point.
3757 * gdb.python/py-breakpoint.c (main): Likewise.
3758 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
3759 specifier test.
3760 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
3761
330f1d38
TBA
37622019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3763
3764 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
3765 an rvalue parameter.
3766 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
3767 parameter.
3768
b43315e2
AB
37692019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3770
3771 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
3772 modules.
3773
54f73dad
AB
37742019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3775
3776 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
3777 broken version of GCC.
3778
d57cbee9
AB
37792019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3780
3781 * gdb.fortran/info-modules.exp: Rewrite to make use of new
3782 sym-info-cmds library.
3783 * gdb.fortran/info-types.exp: Likewise.
3784 * lib/sym-info-cmds.exp: New file.
3785
c14aab8c
TV
37862019-12-08 Tom de Vries <tdevries@suse.de>
3787
3788 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
3789
aa2d5a42
KS
37902019-12-07 Keith Seitz <keiths@redhat.com>
3791
3792 * gdb.base/corefile-buildid-shlib-shr.c: New file.
3793 * gdb.base/corefile-buildid-shlib.c: New file.
3794 * gdb.base/corefile-buildid.c: New file.
3795 * gdb.base/corefile-buildid.exp: New file.
3796
93e55f0a
TV
37972019-12-06 Tom de Vries <tdevries@suse.de>
3798
3799 * gdb.dwarf2/varval.exp: Add decl before def test.
3800
c7d12402
TBA
38012019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3802
3803 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
3804
06acc08f
TBA
38052019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3806
3807 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
3808 CV and reference conversion for overload resolution.
3809 * gdb.cp/rvalue-ref-overload.exp: Test it.
3810
e0fad1ea
PW
38112019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3812
3813 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
3814 * gdb.base/frameapply.exp: Test faas without command.
3815
8d70a9f0
AB
38162019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3817
3818 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
3819 Fortran tests.
3820 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
3821 order.
3822
36c8fb93
AB
38232019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3824
3825 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
3826 casting to type with no kind specified.
3827 (test_basic_parsing_of_type_kinds): Additional tests for types
3828 with no kind specified, and add tests for single/double
3829 precision/complex types.
3830
4139ff00
TT
38312019-12-04 Tom Tromey <tromey@adacore.com>
3832
3833 * gdb.base/endianity.c (struct other) <x>: New field.
3834 (main): Initialize it.
3835 * gdb.base/endianity.exp: Update.
3836
a05cf17a
TT
38372019-12-04 Tom Tromey <tromey@adacore.com>
3838
3839 * gdb.ada/scalar_storage/storage.adb: New file.
3840 * gdb.ada/scalar_storage/pck.adb: New file.
3841 * gdb.ada/scalar_storage/pck.ads: New file.
3842 * gdb.ada/scalar_storage.exp: New file.
3843
103a685e
TT
38442019-12-04 Tom Tromey <tromey@adacore.com>
3845
3846 * gdb.base/endianity.c (struct otherendian) <f>: New field.
3847 (main): Initialize it.
3848 * gdb.base/endianity.exp: Update.
3849
c2512106
AB
38502019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3851
3852 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
3853
293b38d6
AB
38542019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3855
3856 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
3857 -symbol-info-module-functions and -symbol-info-module-variables.
3858
216a7e6b
AB
38592019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
3860
3861 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
3862
5bbd8269
AB
38632019-12-01 Richard Bunt <richard.bunt@arm.com>
3864 Andrew Burgess <andrew.burgess@embecosm.com>
3865
3866 * gdb.fortran/derived-type-striding.exp: New file.
3867 * gdb.fortran/derived-type-striding.f90: New file.
3868 * gdb.fortran/array-slices.exp: New file.
3869 * gdb.fortran/array-slices.f90: New file.
3870
be09caf1
PW
38712019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3872
3873 * gdb.base/define.exp: Test . in command names.
3874 * gdb.base/setshow.exp: Update test, as . is now part of
3875 command name.
3876
643c0cbe
PW
38772019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3878
3879 * gdb.base/define-prefix.exp: New file.
3880
dcdec678
AB
38812019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
3882
3883 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
3884 compile.
3885 (skip_btrace_pt_tests): Likewise.
3886
640ab947
AB
38872019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3888
3889 * gdb.fortran/info-modules.exp: Compile source files in correct
3890 order.
3891
d22670f0
KB
38922019-11-27 Kevin Buettner <kevinb@redhat.com>
3893
3894 * gdb.dwarf2/imported-unit.exp: New file.
3895 * gdb.dwarf2/imported-unit.c: New file.
3896
db5960b4
AB
38972019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3898
3899 * gdb.mi/mi-fortran-modules-2.f90: New file.
3900 * gdb.mi/mi-fortran-modules.exp: New file.
3901 * gdb.mi/mi-fortran-modules.f90: New file.
3902
7dc42066
AB
39032019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3904
3905 * gdb.mi/mi-sym-info-1.c: New file.
3906 * gdb.mi/mi-sym-info-2.c: New file.
3907 * gdb.mi/mi-sym-info.exp: New file.
3908
0dfeecca
TT
39092019-11-22 Tom Tromey <tromey@adacore.com>
3910
3911 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
3912 * gdb.ada/tasks/foo.adb: Add another stopping location.
3913
34877895
PJ
39142019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
3915
3916 * gdb.base/endianity.c: New test.
3917 * gdb.base/endianity.exp: New file.
3918
2e84f897
LD
39192019-11-21 Lukas Durfina <ldurfina@tachyum.com>
3920
3921 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
3922
65d1cd5f
TV
39232019-11-21 Tom de Vries <tdevries@suse.de>
3924
3925 PR gdb/24956
3926 * gdb.base/ui-redirect.exp: Test output of user-defined command.
3927
4f22c3f4
SDJ
39282019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3929
3930 * gdb.python/py-progspace.exp: Add missing parentheses on some
3931 'print' commands.
3932
9f6ad286
TT
39332019-11-19 Tom Tromey <tom@tromey.com>
3934
3935 * gdb.tui/winheight.exp: New file.
3936
0b8dbf3f
AB
39372019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3938
3939 * gdb.base/ctf-whatis.c: Delete.
3940 * gdb.base/ctf-whatis.exp: Delete.
3941 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
3942
f833b7a7
AB
39432019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3944
3945 * gdb.base/ctf-cvexpr.exp: Delete.
3946 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
3947
30d0a636
AB
39482019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3949
3950 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
3951 the compiler. Clean up header comment a little.
3952 * gdb.base/ctf-ptype.exp: Likewise.
3953 * gdb.base/ctf-whatis.exp: Likewise.
3954 * lib/gdb.exp (skip_ctf_tests): New proc.
3955
494409bb
SDJ
39562019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
3957
3958 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
3959 * gdb.tui/corefile-run.exp: New file.
3960
55708e99
TT
39612019-11-14 Tom Tromey <tromey@adacore.com>
3962
3963 * gdb.base/gdbvars.exp (test_convenience_variables): Add
3964 regression tests.
3965
45e42163
TT
39662019-11-12 Tom Tromey <tom@tromey.com>
3967
3968 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
3969 after any command. Expect prompt after WAIT_FOR is seen.
3970 (enter_tui): Enable resize messages.
3971 (command): Expect command in output.
3972 (get_line): Avoid error when cursor appears to be off-screen.
3973 (dump_screen): Include screen size in title.
3974 (_do_resize): New proc, from "resize".
3975 (resize): Rewrite. Do resize in two steps.
3976 * gdb.tui/empty.exp (layouts): Fix entries.
3977 (check_boxes): Remove xfail.
3978 (check_text): Dump screen on failure.
3979
086baaf1
AB
39802019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3981
3982 * gdb.python/py-symbol.exp: Add test for
3983 gdb.lookup_static_symbols.
3984
09ff83af
AB
39852019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3986
3987 * gdb.python/py-symbol.c: Declare and call function from new
3988 py-symbol-2.c file.
3989 * gdb.python/py-symbol.exp: Compile both source files, and add new
3990 tests for gdb.lookup_static_symbol.
3991 * gdb.python/py-symbol-2.c: New file.
3992
11af934b
TV
39932019-11-02 Tom de Vries <tdevries@suse.de>
3994
3995 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
3996 * gdb.base/anon.exp: Same.
3997 * gdb.base/auto-connect-native-target.exp: Same.
3998 * gdb.base/call-ar-st.exp: Same.
3999 * gdb.base/catch-syscall.exp: Same.
4000 * gdb.base/commands.exp: Same.
4001 * gdb.base/default.exp: Same.
4002 * gdb.base/display.exp: Same.
4003 * gdb.base/float.exp: Same.
4004 * gdb.base/foll-fork.exp: Same.
4005 * gdb.base/help.exp: Same.
4006 * gdb.base/info-macros.exp: Same.
4007 * gdb.base/info-proc.exp: Same.
4008 * gdb.base/info-target.exp: Same.
4009 * gdb.base/long_long.exp: Same.
4010 * gdb.base/macscp.exp: Same.
4011 * gdb.base/memattr.exp: Same.
4012 * gdb.base/nofield.exp: Same.
4013 * gdb.base/pointers.exp: Same.
4014 * gdb.base/printcmds.exp: Same.
4015 * gdb.base/ptype.exp: Same.
4016 * gdb.base/restore.exp: Same.
4017 * gdb.base/return.exp: Same.
4018 * gdb.base/scope.exp: Same.
4019 * gdb.base/set-noassign.exp: Same.
4020 * gdb.base/setshow.exp: Same.
4021 * gdb.base/shlib-call.exp: Same.
4022 * gdb.base/signals.exp: Same.
4023 * gdb.base/sigstep.exp: Same.
4024 * gdb.base/skip.exp: Same.
4025 * gdb.base/solib-symbol.exp: Same.
4026 * gdb.base/stap-probe.exp: Same.
4027 * gdb.base/step-line.exp: Same.
4028 * gdb.base/step-test.exp: Same.
4029 * gdb.base/style.exp: Same.
4030 * gdb.base/varargs.exp: Same.
4031 * gdb.base/vla-datatypes.exp: Same.
4032 * gdb.base/vla-ptr.exp: Same.
4033 * gdb.base/vla-sideeffect.exp: Same.
4034 * gdb.base/volatile.exp: Same.
4035 * gdb.base/watch-cond-infcall.exp: Same.
4036 * gdb.base/watchpoint.exp: Same.
4037
e96ec2ba
TV
40382019-11-02 Tom de Vries <tdevries@suse.de>
4039
4040 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
4041 * gdb.cp/cpexprs.exp: Same.
4042 * gdb.cp/except-multi-location.exp: Same.
4043 * gdb.cp/exceptprint.exp: Same.
4044 * gdb.cp/gdb2384.exp: Same.
4045 * gdb.cp/inherit.exp: Same.
4046 * gdb.cp/m-static.exp: Same.
4047 * gdb.cp/meth-typedefs.exp: Same.
4048 * gdb.cp/misc.exp: Same.
4049 * gdb.cp/namespace.exp: Same.
4050 * gdb.cp/non-trivial-retval.exp: Same.
4051 * gdb.cp/overload.exp: Same.
4052 * gdb.cp/pr17132.exp: Same.
4053 * gdb.cp/re-set-overloaded.exp: Same.
4054 * gdb.cp/rvalue-ref-types.exp: Same.
4055 * gdb.cp/templates.exp: Same.
4056
bd5766ec
LM
40572019-11-01 Luis Machado <luis.machado@linaro.org>
4058
4059 PR gdb/25124
4060
4061 * gdb.arch/pr25124.S: New file.
4062 * gdb.arch/pr25124.exp: New file.
4063
165f8965
AB
40642019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4065
4066 * gdb.fortran/info-modules.exp: Update expected results, and add
4067 additional tests for 'info module functinos', and 'info module
4068 variables'.
4069 * gdb.fortran/info-types.exp: Update expected results.
4070 * gdb.fortran/info-types.f90: Extend testcase with additional
4071 module variables and functions.
4072
59c35742
AB
40732019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4074
4075 * gdb.fortran/info-modules.exp: New file.
4076 * gdb.fortran/info-types.exp: Build with new file.
4077 * gdb.fortran/info-types.f90: Include and use new module.
4078 * gdb.fortran/info-types-2.f90: New file.
4079
f3fb2519
PW
40802019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4081
4082 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
4083 * gdb.base/settings.exp: Test all settings types using
4084 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
4085 that now verifies that the value of "maint show" is the same as
4086 returned by the settings functions. Test the type of the
4087 maintenance settings.
4088 * gdb.base/default.exp: Update show_conv_list.
4089
d1e36019
TV
40902019-10-31 Tom de Vries <tdevries@suse.de>
4091
4092 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
4093 gdb_test.
4094 * gdb.arch/amd64-disp-step.exp: Same.
4095 * gdb.asm/asm-source.exp: Same.
4096 * gdb.btrace/buffer-size.exp: Same.
4097 * gdb.btrace/cpu.exp: Same.
4098 * gdb.btrace/enable.exp: Same.
4099 * gdb.dwarf2/count.exp: Same.
4100 * gdb.dwarf2/dw2-ranges-func.exp: Same.
4101 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
4102 * gdb.fortran/vla-datatypes.exp: Same.
4103 * gdb.fortran/vla-history.exp: Same.
4104 * gdb.fortran/vla-ptype.exp: Same.
4105 * gdb.fortran/vla-value.exp: Same.
4106 * gdb.fortran/whatis_type.exp: Same.
4107 * gdb.guile/guile.exp: Same.
4108 * gdb.multi/tids.exp: Same.
4109 * gdb.python/py-finish-breakpoint.exp: Same.
4110 * gdb.python/py-framefilter.exp: Same.
4111 * gdb.python/py-pp-registration.exp: Same.
4112 * gdb.python/py-xmethods.exp: Same.
4113 * gdb.python/python.exp: Same.
4114 * gdb.server/connect-with-no-symbol-file.exp: Same.
4115 * gdb.server/no-thread-db.exp: Same.
4116 * gdb.server/run-without-local-binary.exp: Same.
4117 * gdb.stabs/weird.exp: Same.
4118 * gdb.threads/attach-many-short-lived-threads.exp: Same.
4119 * gdb.threads/thread-find.exp: Same.
4120 * gdb.threads/tls-shared.exp: Same.
4121 * gdb.threads/tls.exp: Same.
4122 * gdb.threads/wp-replication.exp: Same.
4123 * gdb.trace/ax.exp: Same.
4124 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
4125
3d11e68e
TV
41262019-10-31 Tom de Vries <tdevries@suse.de>
4127
4128 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
4129 * gdb.ada/array_subscript_addr.exp: Same.
4130 * gdb.ada/arrayidx.exp: Same.
4131 * gdb.ada/arrayparam.exp: Same.
4132 * gdb.ada/arrayptr.exp: Same.
4133 * gdb.ada/boolean_expr.exp: Same.
4134 * gdb.ada/call_pn.exp: Same.
4135 * gdb.ada/complete.exp: Same.
4136 * gdb.ada/fixed_cmp.exp: Same.
4137 * gdb.ada/fun_addr.exp: Same.
4138 * gdb.ada/funcall_param.exp: Same.
4139 * gdb.ada/interface.exp: Same.
4140 * gdb.ada/mod_from_name.exp: Same.
4141 * gdb.ada/null_array.exp: Same.
4142 * gdb.ada/packed_array.exp: Same.
4143 * gdb.ada/packed_tagged.exp: Same.
4144 * gdb.ada/print_chars.exp: Same.
4145 * gdb.ada/print_pc.exp: Same.
4146 * gdb.ada/ptype_arith_binop.exp: Same.
4147 * gdb.ada/ptype_field.exp: Same.
4148 * gdb.ada/ptype_tagged_param.exp: Same.
4149 * gdb.ada/rec_return.exp: Same.
4150 * gdb.ada/ref_tick_size.exp: Same.
4151 * gdb.ada/str_ref_cmp.exp: Same.
4152 * gdb.ada/taft_type.exp: Same.
4153 * gdb.ada/tagged.exp: Same.
4154 * gdb.ada/type_coercion.exp: Same.
4155 * gdb.ada/uninitialized_vars.exp: Same.
4156
60b6ede8
TV
41572019-10-30 Tom de Vries <tdevries@suse.de>
4158
4159 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
4160
30baf67b
TV
41612019-10-26 Tom de Vries <tdevries@suse.de>
4162
4163 * gdb.base/bigcore.c: Fix typos in comments.
4164 * gdb.base/ctf-ptype.c: Same.
4165 * gdb.base/long_long.c: Same.
4166 * gdb.dwarf2/dw2-op-out-param.S: Same.
4167 * gdb.python/py-evthreads.c: Same.
4168 * gdb.reverse/i387-stack-reverse.c: Same.
4169 * gdb.trace/tfile.c: Same.
4170 * lib/compiler.c: Same.
4171 * lib/compiler.cc: Same.
4172
158da0d1
TV
41732019-10-25 Tom de Vries <tdevries@suse.de>
4174
4175 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
4176 gdb_test_multiple calls.
4177 * gdb.reverse/sigall-reverse.exp: Same.
4178 * gdb.reverse/solib-precsave.exp: Same.
4179 * gdb.reverse/solib-reverse.exp: Same.
4180 * gdb.reverse/until-precsave.exp: Same.
4181 * gdb.reverse/until-reverse.exp: Same.
4182
4ccdfbec
TV
41832019-10-24 Tom de Vries <tdevries@suse.de>
4184
4185 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
4186 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
4187 kfail using -wrap pattern flag and convenience variable
4188 gdb_test_name.
4189
33d569b7
AB
41902019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
4191
4192 * gdb.python/py-progspace.exp: Add tests for the
4193 Progspace.block_for_pc method.
4194
4d0b984b
TT
41952019-10-23 Tom Tromey <tom@tromey.com>
4196
4197 * configure: Rebuild.
4198 * aclocal.m4: Use m4_include, not sinclude.
4199
94cb3754
TV
42002019-10-21 Tom de Vries <tdevries@suse.de>
4201
4202 * gdb.base/infcall-nested-structs.c: Add
4203 __attribute__((noinline,noclone)) to all functions.
4204 (call_all): Add missing variable initialization. Simplify return value.
4205 (breakpt): Increment volatile variable, to prevent call from being
4206 optimized out.
4207 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
4208
062f1fc1
TV
42092019-10-17 Tom de Vries <tdevries@suse.de>
4210
4211 * gdb.fortran/module.exp: Allow info variables to print info for files
4212 other than module.f90.
4213
0b54364d
AB
42142019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4215
4216 * gdb.fortran/module.exp: Extend with 'info variables' test.
4217
7ff5fae7
AB
42182019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4219
4220 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
4221 F77_FOR_TARGET.
4222
d10eccaa
TV
42232019-10-16 Tom de Vries <tdevries@suse.de>
4224
4225 PR tdep/25096
4226 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
4227
745ff14e
TV
42282019-10-16 Tom de Vries <tdevries@suse.de>
4229
4230 PR tdep/24104
4231 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
4232 Add KFAIL for PR tdep/25096.
4233
03e1ab94
TV
42342019-10-16 Tom de Vries <tdevries@suse.de>
4235
4236 PR testsuite/25059
4237 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
4238
b17fcc10
TV
42392019-10-16 Tom de Vries <tdevries@suse.de>
4240
4241 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
4242 as signed.
4243
9223170f
SM
42442019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
4245
4246 * gdb.mi/list-thread-groups-available.exp: Read entries one by
4247 one instead of increasing timeout.
4248
d6e76313
TV
42492019-10-13 Tom de Vries <tdevries@suse.de>
4250
4251 PR record/25038
4252 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
4253 * gdb.reverse/sigall-reverse.exp: Same.
4254 * gdb.reverse/solib-precsave.exp: Same.
4255 * gdb.reverse/solib-reverse.exp: Same.
4256 * gdb.reverse/step-precsave.exp: Same.
4257 * gdb.reverse/until-precsave.exp: Same.
4258 * gdb.reverse/until-reverse.exp: Same.
4259 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
4260
6dfc0041
AA
42612019-10-10 Andreas Arnez <arnez@linux.ibm.com>
4262
4263 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
4264 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
4265 (cmp_struct_05_01, cmp_struct_static_02_01)
4266 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
4267 comparisons.
4268
abcf2cc8
TV
42692019-10-10 Tom de Vries <tdevries@suse.de>
4270
4271 PR testsuite/24888
4272 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
4273 gnatlink.
4274
a50faaf6
TV
42752019-10-09 Tom de Vries <tdevries@suse.de>
4276
4277 PR testsuite/25048
4278 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
4279
60ff3cd7
AB
42802019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4281
4282 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
4283 exceptions due to missing debug information.
4284
dfee8566
TV
42852019-10-07 Tom de Vries <tdevries@suse.de>
4286
4287 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
4288
3d63690a
AB
42892019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4290
4291 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
4292 * gdb.base/annota1.exp: Update to use gdb_test_name.
4293
30d1f018
WP
42942019-10-07 Weimin Pan <weimin.pan@oracle.com>
4295
4296 * gdb.base/ctf-whatis.exp: New file.
4297 * gdb.base/ctf-whatis.c: New file.
4298 * gdb.base/ctf-ptype.exp: New file.
4299 * gdb.base/ctf-ptype.c: New file.
4300 * gdb.base/ctf-constvars.exp: New file.
4301 * gdb.base/ctf-constvars.c: New file.
4302 * gdb.base/ctf-cvexpr.exp: New file.
4303
4dbbb47c
TV
43042019-10-04 Tom de Vries <tdevries@suse.de>
4305
4306 * gdb.cp/local-static.c (main): Move declaration of int i out of the
4307 for loop.
4308
77c2dba3
TT
43092019-10-03 Tom Tromey <tom@tromey.com>
4310
4311 PR rust/24976:
4312 * gdb.rust/simple.rs (Union2): New type.
4313 (main): Use Union2.
4314 * gdb.rust/simple.exp: Add test.
4315
179aed7f
AB
43162019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4317
4318 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
4319 nested function prefix.
4320
0a4b0913
AB
43212019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
4322 Richard Bunt <richard.bunt@arm.com>
4323 Andrew Burgess <andrew.burgess@embecosm.com>
4324
4325 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
4326 nested functions.
4327 * gdb.fortran/nested-funcs.f90: Update expected results.
4328 * gdb.fortran/nested-funcs-2.exp: New file.
4329 * gdb.fortran/nested-funcs-2.f90: New file.
4330
082cce05
AB
43312019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4332
4333 * gdb.python/py-parameter.exp: Make test names unique.
4334 * gdb.python/py-template.exp: Likewise.
4335 * gdb.python/py-value.exp: Likewise.
4336
2b74ba5a
AB
43372019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4338
4339 * gdb.base/break-interp.exp: Reduce test name duplication.
4340 * gdb.base/call-sc.exp: Likewise.
4341 * gdb.base/callfuncs.exp: Likewise.
4342 * gdb.base/charset.exp: Likewise.
4343 * gdb.base/dump.exp: Likewise.
4344 * gdb.base/ena-dis-br.exp: Likewise.
4345 * gdb.base/relational.exp: Likewise.
4346 * gdb.base/step-over-syscall.exp: Likewise.
4347 * gdb.base/structs.exp: Likewise.
4348
58eb20d5
AB
43492019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4350
4351 * gdb.linespec/explicit.exp: Make test names unique.
4352 * gdb.linespec/ls-errs.exp: Likewise.
4353
4d421147
AB
43542019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4355
4356 * gdb.reverse/break-precsave.exp: Make test names unique.
4357 * gdb.reverse/break-reverse.exp: Likewise.
4358 * gdb.reverse/finish-precsave.exp: Likewise.
4359 * gdb.reverse/finish-reverse.exp: Likewise.
4360 * gdb.reverse/machinestate-precsave.exp: Likewise.
4361 * gdb.reverse/machinestate.exp: Likewise.
4362 * gdb.reverse/readv-reverse.exp: Likewise.
4363 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4364 * gdb.reverse/sigall-precsave.exp: Likewise.
4365 * gdb.reverse/sigall-reverse.exp: Likewise.
4366 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
4367 * gdb.reverse/watch-precsave.exp: Likewise.
4368 * gdb.reverse/watch-reverse.exp: Likewise.
4369
d8c06f22
AB
43702019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4371
4372 * gdb.threads/stop-with-handle.c: New file.
4373 * gdb.threads/stop-with-handle.exp: New file.
4374
3a56ed86
TV
43752019-10-03 Tom de Vries <tdevries@suse.de>
4376
4377 PR testsuite/25059
4378 * gdb.base/list-missing-source.exp: Allowing the "Compilation
4379 directory" line to be missing.
4380
42275044
TV
43812019-10-03 Tom de Vries <tdevries@suse.de>
4382
4383 PR testsuite/25059
4384 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
4385 type optional.
4386
9ef62df0
AA
43872019-10-02 Andreas Arnez <arnez@linux.ibm.com>
4388
4389 * gdb.python/py-format-string.c (string.h): New include.
4390 (main): Fill a_struct_with_union.the_union.an_int with bytes of
4391 the same value, for endianness-independence.
4392 * gdb.python/py-format-string.exp (default_regexp_dict)
4393 (test_pretty_structs, test_format): Adjust expected output to the
4394 changed initialization.
4395
37f6a7f4
TT
43962019-10-02 Tom Tromey <tromey@adacore.com>
4397
4398 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
4399
1d58d6a2
PA
44002019-10-02 Pedro Alves <palves@redhat.com>
4401 Andrew Burgess <andrew.burgess@embecosm.com>
4402
4403 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
4404 "print-file-var.h".
4405 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4406 (get_version_1): Print this_version_id and its address.
4407 Add extern "C" wrappers around interface functions.
4408 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
4409 "print-file-var.h".
4410 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4411 (get_version_2): Print this_version_id and its address.
4412 Add extern "C" wrappers around interface functions.
4413 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
4414 <stddef.h> and "print-file-var.h".
4415 Add extern "C" wrappers around interface functions.
4416 [VERSION_ID_MAIN] (this_version_id): Define.
4417 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
4418 * gdb.base/print-file-var.h: Add some #defines to simplify setting
4419 up extern "C" blocks.
4420 * gdb.base/print-file-var.exp (test): New, factored out from top
4421 level.
4422 (top level): Test all combinations of attribute hidden or not,
4423 dlopen or not, and this_version_id symbol in main file or not.
4424 Compile tests as both C++ and C, make test names unique.
4425
d770d56f
TT
44262019-10-01 Tom Tromey <tom@tromey.com>
4427
4428 * gdb.base/style.exp: Test "show logging filename".
4429
7f6aba03
TT
44302019-10-01 Tom Tromey <tom@tromey.com>
4431
4432 * lib/gdb-utils.exp (style): Handle "metadata" argument.
4433 * gdb.base/style.exp: Add metadata style test.
4434
14309bb6
TT
44352019-10-01 Tom Tromey <tom@tromey.com>
4436
4437 * gdb.base/style.exp: Test "pwd".
4438
2a3c1174
PA
44392019-10-01 Tom Tromey <tom@tromey.com>
4440
4441 * gdb.base/style.exp: Update tests.
4442
53d666ec
AA
44432019-10-01 Andreas Arnez <arnez@linux.ibm.com>
4444
4445 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
4446 'six' to unsigned.
4447 (s1): Initialize fields 'four' and 'six' instead of 'three' and
4448 'five'. Use an all-ones bit pattern for each.
4449 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
4450 to its changed values.
4451
4a56a520
TT
44522019-09-30 Tom Tromey <tromey@adacore.com>
4453
4454 * gdb.rust/traits.rs: Disable all warnings.
4455
0df0352a
TV
44562019-09-29 Tom de Vries <tdevries@suse.de>
4457
aac66a4c 4458 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 4459
73d9a918
TV
44602019-09-29 Tom de Vries <tdevries@suse.de>
4461
4462 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
4463
060b3ab4
TV
44642019-09-27 Tom de Vries <tdevries@suse.de>
4465
4466 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
4467
68f7d34d
TV
44682019-09-27 Tom de Vries <tdevries@suse.de>
4469
4470 PR record/23188
4471 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
4472
5d63b30a
TT
44732019-09-26 Tom Tromey <tromey@adacore.com>
4474
4475 * gdb.ada/py_taft.exp: New file.
4476 * gdb.ada/py_taft/main.adb: New file.
4477 * gdb.ada/py_taft/pkg.adb: New file.
4478 * gdb.ada/py_taft/pkg.ads: New file.
4479
3d435220
TV
44802019-09-24 Tom de Vries <tdevries@suse.de>
4481
4482 PR gdb/24598
4483 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
4484
77d03678
TV
44852019-09-22 Tom de Vries <tdevries@suse.de>
4486
4487 * gdb.base/restore.exp: Allow register variables to be optimized out at
4488 -O0.
4489
abf516c6
UW
44902019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
4491
4492 * gdb.arch/spu-info.exp: Remove file.
4493 * gdb.arch/spu-info.c: Remove file.
4494 * gdb.arch/spu-ls.exp: Remove file.
4495 * gdb.arch/spu-ls.c: Remove file.
4496
4497 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
4498 * gdb.asm/spu.inc: Remove file.
4499
4500 * gdb.base/dump.exp: Remove support for spu*-*-*.
4501 * gdb.base/stack-checking.exp: Likewise.
4502 * gdb.base/overlays.exp: Likewise.
4503 * gdb.base/ovlymgr.c: Likewise.
4504 * gdb.base/spu.ld: Remove file.
4505
4506 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
4507 * gdb.cp/cpexprs.exp: Likewise.
4508 * gdb.cp/exception.exp: Likewise.
4509 * gdb.cp/gdb2495.exp: Likewise.
4510 * gdb.cp/mb-templates.exp: Likewise.
4511 * gdb.cp/pr9167.exp: Likewise.
4512 * gdb.cp/userdef.exp: Likewise.
4513
4514 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
4515
4516 * gdb.cell: Remove directory.
4517 * lib/cell.exp: Remove file.
4518
e452e88f
TV
45192019-09-19 Tom de Vries <tdevries@suse.de>
4520
4521 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
4522
8a625130
TV
45232019-09-19 Tom de Vries <tdevries@suse.de>
4524
4525 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
4526
81dc3ab5
TV
45272019-09-19 Tom de Vries <tdevries@suse.de>
4528
4529 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
4530 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
4531 (gdb_target_cmd): ... here.
4532 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
4533 value 2.
4534
b078f3ac
AB
45352019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
4536
4537 * gdb.base/source-dir.exp: Avoid having directory names in test
4538 names.
4539
f1b620e9
MG
45402019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4541
4542 * gdb.base/source-dir.exp: Add extra test for mapped compilation
4543 directory.
4544
67f3ed6a
AB
45452019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4546
4547 * gdb.base/list-missing-source.exp: New file.
4548
d1b70248
TV
45492019-09-14 Tom de Vries <tdevries@suse.de>
4550
4551 PR teststuite/24599
4552 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
4553 * lib/ada.exp (gnatmake_version_at_least): New proc.
4554
5fabdcd6
AB
45552019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4556
4557 * gdb.base/maint.exp: Use exec_has_index_section.
4558
aa17805f
AB
45592019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4560
4561 * gdb.base/maint.exp: Add test for 'maint info sections'.
4562
25e5c209
TV
45632019-09-12 Tom de Vries <tdevries@suse.de>
4564
4565 * gdb.base/store.exp: Allow register variables to be optimized out at
4566 -O0.
4567
4993045d
PW
45682019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4569
4570 * gdb.ada/rdv_wait.exp: Update to new task names.
4571 * gdb.base/task_switch_in_core.exp: Likewise.
4572 * gdb.base/info_sources_base.c: Likewise.
4573
8a516164
TT
45742019-09-10 Tom Tromey <tromey@adacore.com>
4575
4576 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
4577
aa391654
TT
45782019-09-10 Tom Tromey <tromey@adacore.com>
4579
4580 * gdb.ada/dgopt.exp: New file.
4581 * gdb.ada/dgopt/x.adb: New file.
4582
8634b462
TT
45832019-09-08 Tom Tromey <tom@tromey.com>
4584
4585 * gdb.tui/resize.exp: Remove setup_xfail.
4586 * gdb.tui/regs.exp: Remove setup_xfail.
4587 * gdb.tui/basic.exp: Remove setup_xfail.
4588
736b0f76
DB
45892019-09-06 David Blaikie <dblaikie@gmail.com>
4590
4591 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
4592 * gdb.cp/cplabel.exp: Ditto.
4593 * gdb.linespec/ls-errs.exp: Ditto.
4594
30331a6c
TV
45952019-09-05 Tom de Vries <tdevries@suse.de>
4596
4597 * lib/gdb.exp (cmp_file_string): New proc.
4598 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
4599 runto_main. Verify save breakpoints output.
4600
98b0ebab
PW
46012019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4602
4603 * gdb.base/info-var.exp: Test info variables without running
4604 to main, to avoid expect's buffer overflow.
4605
4e962e74
TT
46062019-09-03 Tom Tromey <tromey@adacore.com>
4607
4608 * gdb.ada/bias.exp: New file.
4609 * gdb.ada/bias/bias.adb: New file.
4610 * gdb.ada/print_chars.exp: Add regression test.
4611 * gdb.ada/print_chars/foo.adb (My_Character): New type.
4612 (MC): New variable.
4613
2ea1a07a
SL
46142019-08-29 Sandra Loosemore <sandra@codesourcery.com>
4615
4616 * gdb.base/argv0-symlink.exp: Run only on native target
4617 and local host.
4618
8077c50d
TV
46192019-08-29 Tom de Vries <tdevries@suse.de>
4620
4621 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
4622 diverse debug info.
4623 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
4624
48352473
TV
46252019-08-28 Tom de Vries <tdevries@suse.de>
4626
4627 * gdb.base/info-var.exp: Allow info variables to print info for files
4628 other than info-var-f1.c and info-var-f2.c.
4629
d8f27c60
AB
46302019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4631
4632 * gdb.fortran/info-types.exp: Add module.
4633 * gdb.fortran/info-types.f90: Update expected results.
4634
1f20c35e
AB
46352019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4636
4637 * gdb.fortran/info-types.exp: New file.
4638 * gdb.fortran/info-types.f90: New file.
4639 * lib/fortran.exp (fortran_character1): New proc.
4640
4acfdd20
AB
46412019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
4642
4643 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
4644 functions'. Reindent as needed.
4645 * gdb.base/info-var-f1.c: New file.
4646 * gdb.base/info-var-f2.c: New file.
4647 * gdb.base/info-var.exp: New file.
4648 * gdb.base/info-var.h: New file.
4649
5c31b358
TV
46502019-08-26 Tom de Vries <tdevries@suse.de>
4651
4652 PR c++/24852
4653 * gdb.cp/no-libstdcxx-probe.exp: New test.
4654
b694989f
TV
46552019-08-26 Tom de Vries <tdevries@suse.de>
4656
4657 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
4658 * tests need to be skipped.
4659 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
4660 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
4661 mi_skip_libstdcxx_probe_tests.
4662
d9c4ba53
SDJ
46632019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
4664
4665 * gdb.python/py-xmethods.exp: Use raw strings when passing
4666 arguments to SimpleXMethodMatcher.
4667
395fad09
TV
46682019-08-22 Tom de Vries <tdevries@suse.de>
4669
4670 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
4671 more informative.
4672
26c957f1
PA
46732019-08-21 Pedro Alves <palves@redhat.com>
4674
4675 * gdb.base/with.exp: Test "with" with no arguments.
4676
61f80d5d
TV
46772019-08-21 Tom de Vries <tdevries@suse.de>
4678
4679 * gdb.base/gdb-caching-proc.exp: Sort files.
4680
d7a11d13
TV
46812019-08-20 Tom de Vries <tdevries@suse.de>
4682
4683 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
4684 compilation.
4685
34dafe9f
TV
46862019-08-16 Tom de Vries <tdevries@suse.de>
4687
4688 * gdb.base/compare-sections.exp ("after run to main"): Allow
4689 mismatched read-only sections for PIE executables.
4690
398fdd60
TT
46912019-08-16 Tom Tromey <tom@tromey.com>
4692
4693 * lib/tuiterm.exp (_csi_Z): New proc.
4694 * gdb.tui/basic.exp: Update window positions.
4695 * gdb.tui/empty.exp: Update window positions.
4696
d8f9e51c
SL
46972019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4698
4699 * gdb.base/examine-backward.exp: Correct regexp for
4700 "examine 3 bytes backward from ${address_zero}".
4701
3df505f6
TT
47022019-08-15 Tom Tromey <tom@tromey.com>
4703
4704 * gdb.tui/empty.exp: Enable resizing tests.
4705
272560b5
TT
47062019-08-15 Tom Tromey <tromey@adacore.com>
4707
4708 * gdb.ada/char_enum.exp: Add regression tests.
4709 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
4710 and '0'.
4711 (Char, Gchar): Update.
4712 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
4713
08235187
CB
47142019-08-15 Christian Biesinger <cbiesinger@google.com>
4715
4716 * gdb.python/python.exp: Expect a leading underscore on
4717 GdbOutput{,Error}File.
4718
22a2ab04
SL
47192019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4720
4721 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
4722 Windows host.
4723
835b995b
SL
47242019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4725
4726 * gdb.base/batch-preserve-term-settings.exp
4727 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
4728
97dd8e07
CB
47292019-08-15 Christian Biesinger <cbiesinger@google.com>
4730
4731 * lib/gdb.exp: When running on a mingw target, replace
4732 /x/ with x:/.
4733
75faf5c4
AH
47342019-08-14 Alan Hayward <alan.hayward@arm.com>
4735
4736 * gdb.arch/aarch64-prologue.c: New test.
4737 * gdb.arch/aarch64-prologue.exp: New file.
4738
abc6c00f
TV
47392019-08-13 Tom de Vries <tdevries@suse.de>
4740
4741 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
4742 Thread.
4743
74c2c1f4
SL
47442019-08-13 Sandra Loosemore <sandra@codesourcery.com>
4745
4746 * gdb.python/py-completion.exp: Download the .py file to the host
4747 and use its host pathname. Conditionalize tests that use
4748 tab completion and manipulate files on the build machine.
4749 * gdb.python/py-events.exp: Download the .py file to the host
4750 and use its host pathname.
4751 * gdb.python/py-evsignal.exp: Likewise.
4752 * gdb.python/py-evthreads.exp: Likewise.
4753 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
4754 pathname syntax.
4755 * gdb.python/py-framefilter.exp: Download the .py file to the right
4756 place on the host. Match Windows pathname syntax.
4757 * gdb.python/py-mi-var-info-path-expression.exp: Download the
4758 .py file to the host and use its host pathname.
4759 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
4760 * gdb.python/py-objfile.exp: Expect a host pathname, not a
4761 build pathname. Skip symlink test on Windows host. Add missing
4762 newline at end of file.
4763 * gdb.python/py-pp-maint.exp: Download the .py file to the host
4764 and use its host pathname.
4765 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
4766 * gdb.python/py-section-script.exp: Use host location of binfile
4767 on safe-path. Use correct path separator on Windows host.
4768 Reorder alternatives in gdb_test_multiple to prevent matching
4769 the wrong alternative on success.
4770 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
4771
ca2589f3
PP
47722019-08-12 Patrick Palka <patrick@parcs.ath.cx>
4773
4774 * gdb.gdb/selftest.exp (test_with_self): Update test to now
4775 expect the GDB inferior to no longer immediately stop after
4776 being resumed with "signal SIGINT".
4777
020a839d
SL
47782019-08-09 Sandra Loosemore <sandra@codesourcery.com>
4779
4780 * gdb.linespec/break-ask.exp: Generalize regexps to match
4781 Windows pathnames too.
4782
128d6509
TV
47832019-08-08 Tom de Vries <tdevries@suse.de>
4784
4785 PR testsuite/24862
4786 * lib/tuiterm.exp (_accept): Fix CSI regexp.
4787
590042fc
PW
47882019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4789
4790 * gdb.base/style.exp: Update tests for help doc new invariants.
4791 * gdb.base/help.exp: Likewise.
4792
046bebe1
TT
47932019-08-06 Tom Tromey <tom@tromey.com>
4794
4795 * gdb.base/style.exp: Add disassemble test.
4796 * gdb.base/style.c (some_called_function): New function.
4797 (main): Use it.
4798
0b27c27d
CB
47992019-08-05 Christian Biesinger <cbiesinger@google.com>
4800
4801 * gdb.python/py-block.exp: Test dictionary access on blocks.
4802
580f1034
SM
48032019-08-05 Simon Marchi <simon.marchi@efficios.com>
4804
4805 PR gdb/24863
4806 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
4807 -list-thread-groups --available test when running under
4808 check-read1.
4809
d86bd7cb
TV
48102019-08-05 Tom de Vries <tdevries@suse.de>
4811
4812 PR testsuite/24863
4813 * lib/gdb.exp (with_read1_timeout_factor): New proc.
4814 * gdb.base/help.exp: Use with_read1_timeout_factor.
4815 * gdb.base/info-macros.exp: Same.
4816 * gdb.cp/nested-types.exp: Same.
4817
a80cf5d8
TV
48182019-08-05 Tom de Vries <tdevries@suse.de>
4819
4820 * lib/gdb.exp (version_at_least): Factor out of ...
4821 (tcl_version_at_least): ... here.
4822 (gdb_compile): Fail if pie results in non-PIE executable.
4823 (readelf_version, readelf_prints_pie): New proc.
4824 (exec_is_pie): Return -1 if unknown.
4825
d0962838
TV
48262019-08-05 Tom de Vries <tdevries@suse.de>
4827
4828 * lib/gdb.exp (tcl_version_at_least): Fix typo.
4829
2252ff3d
SL
48302019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4831
4832 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
4833
26655f53
SL
48342019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4835
4836 * lib/completion-support.exp (test_gdb_complete_none): Skip
4837 tab completion tests if no readline support.
4838 (test_gdb_complete_unique_re): Likewise.
4839 (test_gdb_complete_multiple): Likewise.
4840
db4dc13e
PW
48412019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4842
4843 * gdb.base/info_sources.exp: New file.
4844 * gdb.base/info_sources.c: New file.
4845 * gdb.base/info_sources_base.c: New file.
4846
0eba165a
PFC
48472019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4848
4849 * gdb.base/batch-exit-status.exp: Call test_exit_status with
4850 prefix argument.
4851 (test_exit_status): Add prefix argument.
4852
59bd512b
TV
48532019-08-01 Tom de Vries <tdevries@suse.de>
4854
4855 PR testsuite/24863
4856 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
4857 calling exp_continue for new thread and thread exited messages.
4858
2a3ad588
TV
48592019-08-01 Tom de Vries <tdevries@suse.de>
4860
4861 PR testsuite/24863
4862 * gdb.base/structs.exp: Fix check-read1 timeout using
4863 gdb_test_sequence.
4864 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
4865
117eb594
TV
48662019-08-01 Tom de Vries <tdevries@suse.de>
4867
4868 PR testsuite/24863
4869 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
4870 line.
4871
ed591340
TV
48722019-08-01 Tom de Vries <tdevries@suse.de>
4873
4874 PR testsuite/24863
4875 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
4876
aa3b6533
TT
48772019-07-30 Tom Tromey <tromey@adacore.com>
4878
4879 * gdb.ada/display_nested.exp: New file.
4880 * gdb.ada/display_nested/foo.adb: New file.
4881 * gdb.ada/display_nested/pack.adb: New file.
4882 * gdb.ada/display_nested/pack.ads: New file.
4883
2906593f
CB
48842019-07-30 Christian Biesinger <cbiesinger@google.com>
4885
4886 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
4887 namespace.
4888 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
4889
0f575925
TV
48902019-07-30 Tom de Vries <tdevries@suse.de>
4891
4892 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
4893 instead.
4894
b13057d9
TV
48952019-07-30 Tom de Vries <tdevries@suse.de>
4896
4897 PR testsuite/24834
4898 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
4899 (exec_is_pie): New proc.
4900
5c4dde85
CB
49012019-07-29 Christian Biesinger <cbiesinger@google.com>
4902
4903 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
4904
c620ed88
CB
49052019-07-29 Christian Biesinger <cbiesinger@google.com>
4906
4907 * gdb.python/py-objfile.c: Add global and static vars.
4908 * gdb.python/py-objfile.exp: Test new functions Objfile.
4909 lookup_global_symbol and lookup_static_symbol.
4910
3d235706
TT
49112019-07-29 Tom Tromey <tom@tromey.com>
4912
4913 * lib/tuiterm.exp (Term::_csi_@): New proc.
4914 (Term::_csi_X): Don't move cursor.
4915
c7e4c0a6
PW
49162019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4917
4918 * gdb.base/options.exp: Update backtrace - completion to
4919 new option -frame-info.
4920 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
4921 Test new 'set print frame-info'. Test backtrace -frame-info
4922 overriding 'set print frame-info'.
4923 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
4924 Test new 'set print frame-info'.
4925 Verify consistency of backtrace with and without filters, with and
4926 without -no-filters.
4927 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
4928 default.
4929
de28a3b7
TV
49302019-07-29 Tom de Vries <tdevries@suse.de>
4931
4932 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
4933 no arguments".
4934
507dd60e
TV
49352019-07-29 Tom de Vries <tdevries@suse.de>
4936
4937 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
4938 is a substring of the first for "complete non-unique file name".
4939
5beafce9
TV
49402019-07-29 Tom de Vries <tdevries@suse.de>
4941
4942 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
4943 with ".*".
4944
2d274232
TV
49452019-07-29 Tom de Vries <tdevries@suse.de>
4946
4947 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
4948 Pass prompt_regexp parameter to gdb_test_multiple calls.
4949
9197cd8b
TV
49502019-07-29 Tom de Vries <tdevries@suse.de>
4951
4952 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 4953 print registers" regexps.
9197cd8b 4954
b528dae0
TV
49552019-07-29 Tom de Vries <tdevries@suse.de>
4956
4957 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
4958
d17725d7
TV
49592019-07-29 Tom de Vries <tdevries@suse.de>
4960
4961 PR gdb/24855
4962 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
4963 (skip_python_tests_prompt): Add prompt_regexp argument to
4964 gdb_test_multiple calls.
4965
52b75bf1
TT
49662019-07-27 Tom Tromey <tom@tromey.com>
4967
4968 * gdb.tui/main.exp: New file.
4969
2b1d00c2
TT
49702019-07-27 Tom Tromey <tom@tromey.com>
4971
4972 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
4973 optional.
4974 * gdb.tui/empty.exp: New file.
4975
ded631d5
TT
49762019-07-27 Tom Tromey <tom@tromey.com>
4977
4978 * lib/tuiterm.exp (spawn): New proc.
4979 (Term::resize): New proc.
4980 * gdb.tui/resize.exp: New file.
4981
58ac439d
TT
49822019-07-27 Tom Tromey <tom@tromey.com>
4983
4984 * gdb.tui/list.exp: New file.
4985
fe1f56ee
TT
49862019-07-27 Tom Tromey <tom@tromey.com>
4987
4988 * gdb.tui/regs.exp: New file.
4989
f790b310
TT
49902019-07-27 Tom Tromey <tom@tromey.com>
4991
4992 * gdb.tui/basic.exp: Add "layout split" test.
4993
d95fc6ee
TT
49942019-07-27 Tom Tromey <tom@tromey.com>
4995
4996 * gdb.tui/basic.exp: Add "layout asm" test.
4997
c3786b3a
TT
49982019-07-27 Tom Tromey <tom@tromey.com>
4999
5000 * lib/tuiterm.exp: New file.
5001 * gdb.tui/basic.exp: New file.
5002
98a617f8
KB
50032019-07-27 Kevin Buettner <kevinb@redhat.com>
5004
5005 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
5006 Enable tests associated with this flag. Adjust regex
5007 referencing "foo_low" to now refer to "foo_cold" instead.
5008
5c076da4
KB
50092019-07-27 Kevin Buettner <kevinb@redhat.com>
5010
5011 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
5012 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
5013 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
5014 foo_cold. Revise comments to match.
5015 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
5016 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
5017 were wrapped into this proc; Call do_test in loop from outermost
5018 level.
5019 (foo_low): Rename all occurrences to "foo_cold".
5020 (backtrace from baz): New test.
5021 (x2/i foo_cold): New test.
5022 (info line *foo_cold): New test.
5023
1512d3b7
TV
50242019-07-26 Tom de Vries <tdevries@suse.de>
5025
5026 * gdb.arch/i386-pkru.exp: Fix unterminated string.
5027
297989a1
TV
50282019-07-25 Tom de Vries <tdevries@suse.de>
5029
5030 PR testsuite/24830
5031 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
5032 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
5033 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
5034 (skip_libstdcxx_probe_tests): ... here.
5035 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
5036
b3b965fb
TV
50372019-07-24 Tom de Vries <tdevries@suse.de>
5038
5039 PR testsuite/24807
5040 * gdb.objc/basicclass.m: Include stdio.h.
5041 * gdb.objc/nondebug.m: Same.
5042 * gdb.objc/objcdecode.m: Same.
5043
4625b4d0
TV
50442019-07-24 Tom de Vries <tdevries@suse.de>
5045
5046 PR testsuite/24612
5047 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
5048 additional_flags.
5049
024a5840
TV
50502019-07-24 Tom de Vries <tdevries@suse.de>
5051
5052 PR testsuite/24831
5053 * gdb.multi/tids.exp: Update error messages for info threads.
5054
c76ddaa3
TV
50552019-07-24 Tom de Vries <tdevries@suse.de>
5056
5057 * gdb.base/info-types.exp: Allow info types to print info for more than
5058 one file.
5059
9a618ef6
TV
50602019-07-23 Tom de Vries <tdevries@suse.de>
5061
5062 PR testsuite/24842
5063 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
5064 gdb_spawn_with_cmdline_opts.
5065
40eadf04
SP
50662019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
5067
5068 * gdb.arch/arm-cmse-sgstubs.c: New test.
5069 * gdb.arch/arm-cmse-sgstubs.exp: New file.
5070
5ba29434
TV
50712019-07-23 Tom de Vries <tdevries@suse.de>
5072
5073 PR testsuite/24711
5074 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
5075 issuing next command.
5076
a8e9d247
AB
50772019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5078
5079 * gdb.ada/info_auto_lang.exp: Update expected results.
5080 * gdb.base/info-types.c: Add additional types to check.
5081 * gdb.base/info-types.exp: Update expected results.
5082
eb86c5e2
AB
50832019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5084
5085 * gdb.base/info-types.c: New file.
5086 * gdb.base/info-types.exp: New file.
5087
01e175fe
AB
50882019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
5089
5090 * gdb.arch/riscv-bp-infcall.c: New file.
5091 * gdb.arch/riscv-bp-infcall.exp: New file.
5092
6b78c3f8
AB
50932019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
5094
5095 PR breakpoints/24541
5096 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
5097
da738167
TV
50982019-07-14 Tom de Vries <tdevries@suse.de>
5099
5100 PR testsuite/24760
5101 * gdb.objc/basicclass.exp: Fix unterminated string.
5102
0d4e84ed
AB
51032019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
5104 Andrew Burgess <andrew.burgess@embecosm.com>
5105
5106 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
5107 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
5108 negative bounds.
5109 * gdb.fortran/vla-value.exp: Print elements of an array with
5110 negative bounds.
5111 * gdb.fortran/vla.f90: Setup an array with negative bounds for
5112 testing.
5113
021d8588
AB
51142019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
5115
5116 * gdb.base/options.exp (expect_string): Dequote strings in
5117 results.
5118 (test-string): Test strings with different quoting and reindent.
5119
f06f1252
TT
51202019-07-10 Tom Tromey <tromey@adacore.com>
5121
5122 * gdb.ada/mi_ex_cond.exp: Update expected results.
5123 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
5124 * gdb.ada/mi_catch_ex.exp: Update expected results.
5125 * gdb.ada/mi_catch_assert.exp: Update expected results.
5126 * gdb.ada/catch_ex.exp (catch_exception_info)
5127 (catch_exception_entry, catch_assert_entry)
5128 (catch_unhandled_entry): Update.
5129 * gdb.ada/catch_assert_if.exp: Update expected results.
5130
b863685d
RB
51312019-07-10 Richard Bunt <richard.bunt@arm.com>
5132 Stephen Roberts <stephen.roberts@arm.com>
5133
5134 * gdb.base/define.exp: Restore original prompt.
5135
cb1e4e32
PA
51362019-07-09 Pedro Alves <palves@redhat.com>
5137
5138 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
5139 breakpoints" output.
5140 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
5141 * gdb.python/py-breakpoint.exp: No longer expect that "catch
5142 throw" creates breakpoint.
5143 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
5144 'type="catchpoint"'.
5145
b58a68fe
PA
51462019-07-09 Pedro Alves <palves@redhat.com>
5147
5148 PR c++/15468
5149 * gdb.cp/except-multi-location-lib.cc: New.
5150 * gdb.cp/except-multi-location-main.cc: New.
5151 * gdb.cp/except-multi-location.exp: New.
5152
0826779b
PW
51532019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
5154
5155 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
5156 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
5157 argument and update callers.
5158
5b0e2db4
AB
51592019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5160
5161 * gdb.arch/amd64-break-on-asm-line.S: New file.
5162 * gdb.arch/amd64-break-on-asm-line.exp: New file.
5163
1f6f6e21
PW
51642019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5165
5166 * gdb.base/printcmds.exp: Test printing C string and
5167 C wide string convenience vars without transiting via the inferior.
5168 Also make test names unique.
5169
ea142fbf
AH
51702019-07-08 Alan Hayward <alan.hayward@arm.com>
5171
5862c886 5172 PR breakpoints/25011
ea142fbf
AH
5173 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
5174
213fd9fa
PA
51752019-07-04 Pedro Alves <palves@redhat.com>
5176
5177 * lib/gdb.exp (foreach_with_prefix): Don't return early if
5178 body returned ok(0), break(3) or continue(4).
5179 * gdb.testsuite/foreach_with_prefix.exp: New file.
5180
2b40fda7
AH
51812019-07-04 Alan Hayward <alan.hayward@arm.com>
5182
5183 * gdb.server/unittest.exp: Allow 0 unit tests to run.
5184
a26c8de0
PA
51852019-07-03 Pedro Alves <palves@redhat.com>
5186
5187 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
5188 "return -code".
5189
5f4ba3e7
PA
51902019-07-03 Pedro Alves <palves@redhat.com>
5191
5192 PR cli/24732
5193 * gdb.base/shell.exp: Load completion-support.exp.
5194 Adjust expected error output. Add completion tests.
5195
a994424f
PA
51962019-07-03 Pedro Alves <palves@redhat.com>
5197
5198 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
5199 string_to_regexp.
5200
3d9be6f5
PA
52012019-07-03 Pedro Alves <palves@redhat.com>
5202
5203 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
5204 (expect_integer): Adjust to expect "-string".
5205 (expect_string): New.
5206 (all_options): Expect "-string".
5207 (test-flag, test-boolean): Adjust to expect "-string".
5208 (test-string): New proc.
5209 (top level): Call it.
5210
41fc454c
PA
52112019-07-03 Pedro Alves <palves@redhat.com>
5212
5213 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
5214 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
5215 the expected output in the success.
5216
b2b2a215
PA
52172019-07-03 Pedro Alves <palves@redhat.com>
5218
5219 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5220 Split one gdb_test_multiple call in two to avoid a race.
5221
fdbc9870
PA
52222019-07-03 Pedro Alves <palves@redhat.com>
5223
5224 * gdb.base/with.c: New file.
5225 * gdb.base/with.exp: New file.
5226
c6ac8931
PA
52272019-07-03 Pedro Alves <palves@redhat.com>
5228
5229 * gdb.base/settings.exp: Replace all references to "maint
5230 test-settings set" with references to "maint set test-settings",
5231 and all references to "maint test-settings show" with references
5232 to "maint show test-settings".
5233
970f9d09
PA
52342019-07-03 Pedro Alves <palves@redhat.com>
5235
5236 * gdb.base/settings.exp (test-string): Adjust expected out when
5237 testing "maint test-settings show filename"
5238
54d66006
PA
52392019-07-02 Pedro Alves <palves@redhat.com>
5240
5241 * gdb.base/options.exp (test-info-threads): New procedure.
5242 (top level): Call it.
5243
10d06d82
TT
52442019-06-28 Tom Tromey <tromey@adacore.com>
5245
5246 * gdb.dwarf2/ada-linkage-name.c: New file.
5247 * gdb.dwarf2/ada-linkage-name.exp: New file.
5248
3d507ff2
TT
52492019-06-27 Tom Tromey <tromey@adacore.com>
5250
d039f014 5251 PR c++/20020:
3d507ff2
TT
5252 * gdb.cp/constexpr-field.exp: Use setup_xfail.
5253
8af58ffe
TV
52542019-06-26 Tom de Vries <tdevries@suse.de>
5255
5256 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
5257
22e21752
TV
52582019-06-26 Tom de Vries <tdevries@suse.de>
5259
5260 * gdb.base/index-cache.exp: Add back missing debug option.
5261
b65b566c
PW
52622019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5263
5264 * gdb.base/alias.exp: Test non matching/non existing prefixes.
5265
5c2c8c69
TV
52662019-06-25 Tom de Vries <tdevries@suse.de>
5267
5268 PR testsuite/24727
5269 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
5270
164e3873
TV
52712019-06-24 Tom de Vries <tdevries@suse.de>
5272
5273 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
5274
824eacee
TV
52752019-06-24 Tom de Vries <tdevries@suse.de>
5276
5277 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
5278 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
5279 * gdb.trace/unavailable-dwarf-piece.exp: Same.
5280
385b97d3
TV
52812019-06-24 Tom de Vries <tdevries@suse.de>
5282
5283 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
5284
c596f180
TV
52852019-06-21 Tom de Vries <tdevries@suse.de>
5286
5287 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
5288
b13a7d03
TV
52892019-06-21 Tom de Vries <tdevries@suse.de>
5290
5291 PR testsuite/24518
5292 PR ada/24713
5293 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
5294 index.
5295
899277ae
TT
52962019-06-19 Tom Tromey <tromey@adacore.com>
5297
5298 * gdb.ada/length_cond.exp: Add intro comment.
5299
680e1bee
TT
53002019-06-19 Tom Tromey <tromey@adacore.com>
5301
5302 * gdb.ada/length_cond.exp: New file.
5303 * gdb.ada/length_cond/length_cond.adb: New file.
5304 * gdb.ada/length_cond/pck.adb: New file.
5305 * gdb.ada/length_cond/pck.ads: New file.
5306
0ed4690a
TV
53072019-06-18 Tom de Vries <tdevries@suse.de>
5308
5309 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
5310
d20ed5fd
TT
53112019-06-18 Tom Tromey <tromey@adacore.com>
5312
5313 * gdb.base/list0.h: Add comment explaining control character.
5314
86e04673
TV
53152019-06-18 Tom de Vries <tdevries@suse.de>
5316
5317 * boards/fission.exp: Break up long debug_flags line.
5318
c4973306
SM
53192019-06-16 Tom de Vries <tdevries@suse.de>
5320
5321 PR gdb/24445
5322 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
5323 generated index.
5324
93cb9841
AB
53252019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5326
5327 PR gdb/24686
5328 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
5329 improve detection of bug gdb/24541.
5330
399aaebd
SM
53312019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
5332
5333 PR gdb/24669
5334 * gdb.base/index-cache.exp (uses_readnow,
5335 expecting_index_cache_use): Define global variable.
5336 (test_cache_enabled_miss, test_cache_enabled_hit): Use
5337 expecting_index_cache_use.
5338
584a927c
AB
53392019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
5340 Andrew Burgess <andrew.burgess@embecosm.com>
5341
5342 * gdb.fortran/pointers.f90: New file.
5343 * gdb.fortran/print_type.exp: New file.
5344 * gdb.fortran/vla-ptype.exp: Adapt expected results.
5345 * gdb.fortran/vla-type.exp: Likewise.
5346 * gdb.fortran/vla-value.exp: Likewise.
5347 * gdb.mi/mi-vla-fortran.exp: Likewise.
5348
30056ea0
AB
53492019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5350
5351 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
5352 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
5353 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
5354 as a stop reason.
5355
ec8e2b6d
AB
53562019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5357
5358 * gdb.base/annota1.exp: Update expected results.
5359 * gdb.cp/annota2.exp: Likewise.
5360 * gdb.cp/annota3.exp: Likewise.
5361
09e4c4e1
AB
53622019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5363
5364 * gdb.base/style-logging.exp: Remove path from test name.
5365
0735b091
TT
53662019-06-14 Tom Tromey <tromey@adacore.com>
5367
5368 PR gdb/24502:
5369 * gdb.base/style-logging.exp: New file.
5370
f5686554
TT
53712019-06-14 Tom Tromey <tromey@adacore.com>
5372
5373 * gdb.base/symfile-warn.exp: New file.
5374 * gdb.base/symfile-warn.c: New file.
5375
a0c1ffed
TT
53762019-06-14 Tom Tromey <tromey@adacore.com>
5377
5378 * gdb.base/annotate-symlink.exp: New file.
5379
f411722c
TT
53802019-06-14 Tom Tromey <tromey@adacore.com>
5381
5382 * gdb.ada/set_wstr.exp: Add reassignment test.
5383
4268ec18
TT
53842019-06-14 Tom Tromey <tromey@adacore.com>
5385
5386 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
5387 'unchecked_access and 'unrestricted_access as well.
5388
9a9e394b
TT
53892019-06-14 Tom Tromey <tromey@adacore.com>
5390
5391 PR ada/24539:
5392 * gdb.ada/vla.exp: Update tests.
5393 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
5394 pragma.
5395
4c048731
PA
53962019-06-13 Pedro Alves <palves@redhat.com>
5397
5398 * gdb.base/settings.exp (test-integer): Test junk after
5399 "unlimited".
5400
6665660a
PA
54012019-06-13 Pedro Alves <palves@redhat.com>
5402
5403 * gdb.base/options.exp (test-thread-apply): New.
5404 (top level): Call it.
5405
5d707134
PA
54062019-06-13 Pedro Alves <palves@redhat.com>
5407
5408 * gdb.base/options.exp (test-frame-apply): New.
5409 (top level): Test print commands with different "frame apply"
5410 prefixes.
5411
e2a689da
PA
54122019-06-13 Pedro Alves <palves@redhat.com>
5413
e79be6e5 5414 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
5415 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
5416 'max_completions' parameter and handle it.
5417 (test_gdb_completion_offers_commands): New.
5418
90a1ef87
PA
54192019-06-13 Pedro Alves <palves@redhat.com>
5420
5421 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
5422
d4c16835
PA
54232019-06-13 Pedro Alves <palves@redhat.com>
5424
5425 * gdb.base/options.exp (test-backtrace): New.
5426 (top level): Call it.
5427
2daf894e
PA
54282019-06-13 Pedro Alves <palves@redhat.com>
5429
5430 * gdb.guile/scm-frame-args.exp: Use "set print
5431 raw-frame-arguments" instead of "set print raw frame-arguments".
5432 * gdb.python/py-frame-args.exp: Likewise.
5433
e6ed716c
PA
54342019-06-13 Pedro Alves <palves@redhat.com>
5435
5436 * gdb.compile/compile.exp: Adjust expected output to option
5437 processing changes.
5438
7d8062de
PA
54392019-06-13 Pedro Alves <palves@redhat.com>
5440
5441 * gdb.base/options.exp: Build executable.
5442 (test-print): New procedure.
5443 (top level): Call it, once for "print" and another for "compile
5444 print".
5445
9d0faba9
PA
54462019-06-13 Pedro Alves <palves@redhat.com>
5447
5448 * gdb.base/options.c: New file.
5449 * gdb.base/options.exp: New file.
5450
dee7b4c8
PA
54512019-06-13 Pedro Alves <palves@redhat.com>
5452
5453 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
5454 that "o" is ambiguous.
5455
dca0f6c0
PA
54562019-06-13 Pedro Alves <palves@redhat.com>
5457
5458 * gdb.base/settings.c: New file.
5459 * gdb.base/settings.exp: New file.
5460
ccf46844
PA
54612019-06-13 Pedro Alves <palves@redhat.com>
5462
5463 * gdb.base/completion.exp: Fix comment typo.
5464
b9a3f842
PA
54652019-06-13 Pedro Alves <palves@redhat.com>
5466
5467 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
5468 foo --1" test.
5469
d106773e
PA
54702019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
5471
5472 * gdb.fortran/block-data.f: New.
5473 * gdb.fortran/block-data.exp: New.
5474
fea82da0
TV
54752019-06-11 Tom de Vries <tdevries@suse.de>
5476
5477 PR testsuite/24521
5478 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
5479 message.
5480
8c2e74f1
TV
54812019-06-11 Tom de Vries <tdevries@suse.de>
5482
5483 PR testsuite/24521
5484 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
5485
b49851c8
TV
54862019-06-11 Tom de Vries <tdevries@suse.de>
5487
5488 * boards/readnow.exp: New file.
5489
a7067863
AB
54902019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
5491
5492 * gdb.fortran/vla-sizeof.exp: Update expected results.
5493
1a3da2cd
AB
54942019-06-06 Amos Bird <amosbird@gmail.com>
5495
5496 * gdb.base/annota1.exp (thread_switch): Add test for
5497 thread-exited annotation.
5498
3847a7bf
TT
54992019-06-06 Tom Tromey <tromey@adacore.com>
5500
5501 * gdb.base/maint.exp: Expect command started/finished output.
5502
0088ba59
AB
55032019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5504
5505 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
5506 comment.
5507 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
5508
312617a3
AB
55092019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5510
5511 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
5512 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
5513 * gdb.arch/riscv-unwind-long-insn.c: New file.
5514 * gdb.arch/riscv-unwind-long-insn.exp: New file.
5515
e1f2e1a2
CB
55162019-06-04 Christian Biesinger <cbiesinger@google.com>
5517
d3238f7d 5518 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 5519
206584bd
PW
55202019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5521
5522 * lib/gdb.exp (help_list_trailer): New regexp variable
5523 factorizing the help trailer message.
5524 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
5525 arg to allow to better factorize various tests.
5526 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
5527 (test_prefix_command_help): Use help_list_trailer.
5528 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
5529 * gdb.guile/scm-cmd.exp: Likewise.
5530 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
5531 * gdb.base/help.exp: Use test_user_defined_class_help.
5532 * gdb.base/style.exp: Add tests for styling of help and apropos.
5533 * lib/gdb-utils.exp (style): Add title and highlight styles.
5534
708dc93e
PW
55352019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5536
5537 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
5538 $_shell_exitsignal.
5539 * gdb.base/default.exp: Update for new convenience variables.
5540
f49055a5
TT
55412019-05-29 Tom Tromey <tromey@adacore.com>
5542
5543 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
5544 to "break complete ada" test case's regexp.
5545
4330d61d
TT
55462019-05-29 Tom Tromey <tromey@adacore.com>
5547
5548 PR c++/20020:
5549 * gdb.cp/constexpr-field.exp: New file.
5550 * gdb.cp/constexpr-field.cc: New file.
5551
000439d5
TT
55522019-05-29 Tom Tromey <tromey@adacore.com>
5553
5554 * gdb.base/finish.exp (finish_no_print): New proc.
5555 (finish_tests): Call it.
5556
5a01c34c
TV
55572019-05-24 Tom de Vries <tdevries@suse.de>
5558
5559 * gdb.dwarf2/gdb-add-index.exp: New file.
5560
18125b16
TT
55612019-05-22 Tom Tromey <tromey@adacore.com>
5562
5563 * gdb.base/info-shared.exp (check_info_shared): Use "style".
5564 * gdb.base/style.exp: Use "style".
5565 * lib/gdb-utils.exp (style): New proc.
5566
af1a8d03
TV
55672019-05-22 Tom de Vries <tdevries@suse.de>
5568
5569 * gdb.base/align.exp: Require c++11.
5570
e7fe496b
TV
55712019-05-22 Tom de Vries <tdevries@suse.de>
5572
5573 PR testsuite/24586
5574 * gdb.python/py-mi-var-info-path-expression.exp: Call
5575 mi_skip_python_tests to check if python is supported.
5576
8fca4da0
AH
55772019-05-22 Alan Hayward <alan.hayward@arm.com>
5578
5579 * gdb.arch/aarch64-pauth.c: New test.
5580 * gdb.arch/aarch64-pauth.exp: New file.
5581
b7060614
AH
55822019-05-22 Alan Hayward <alan.hayward@arm.com>
5583
5584 * README (Re-running Tests Outside The Testsuite): New section.
5585
669d0468
TV
55862019-05-21 Tom de Vries <tdevries@suse.de>
5587
5588 * gdb.arch/amd64-eval.exp: Require c++11.
5589 * gdb.base/max-depth.exp: Same.
5590 * gdb.compile/compile-cplus-array-decay.exp: Same.
5591 * gdb.cp/meth-typedefs.exp: Same.
5592 * gdb.cp/subtypes.exp: Same.
5593 * gdb.cp/temargs.exp: Same.
5594
ce3ebcaa
AH
55952019-05-21 Alan Hayward <alan.hayward@arm.com>
5596
5597 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
5598
34d11c68
AB
55992019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
5600
5601 PR gdb/18644
5602 * gdb.fortran/complex.exp: Remove setup_kfail calls.
5603 * gdb.fortran/printing-types.exp: Add new test.
5604 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
5605 testing.
5606 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
5607 setup_kfail call.
5608
87781e84
AH
56092019-05-17 Alan Hayward <alan.hayward@arm.com>
5610
5611 * README (Running the Testsuite): Change example.
5612 (Testsuite Parameters): Remove TRANSCRIPT.
5613 * lib/gdb.exp: Remove TRANSCRIPT check.
5614
b420b89e
AH
56152019-05-17 Alan Hayward <alan.hayward@arm.com>
5616
5617 * README (Testsuite Parameters): Add replay logging to
5618 GDBSERVER_DEBUG.
5619 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
5620 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
5621 as a comma separated list.
5622 (gdb_debug_init): Override procedure.
5623
408e9b8b
AH
56242019-05-17 Alan Hayward <alan.hayward@arm.com>
5625
5626 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
5627 (gdb_write_cmd_file): New procedure.
5628 * lib/gdbserver-support.exp (gdbserver_start): Call
5629 gdbserver_write_cmd_file.
5630 (gdbserver_write_cmd_file): New procedure.
5631
f9e2e39d
AH
56322019-05-17 Alan Hayward <alan.hayward@arm.com>
5633
5634 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
5635 (delete_breakpoints): Likewise.
5636 (gdb_run_cmd): Likewise.
5637 (gdb_start_cmd): Likewise.
5638 (gdb_starti_cmd): Likewise.
5639 (gdb_internal_error_resync): Likewise.
5640 (gdb_test_multiple): Likewise.
5641 (gdb_reinitialize_dir): Likewise.
5642 (default_gdb_exit): Likewise.
5643 (gdb_file_cmd): Mark kill as optional.
5644 (default_gdb_start): Call gdb_stdin_log_init.
5645 (send_gdb): Call gdb_stdin_log_write.
5646 (rerun_to_main): Mark Y as an answer.
5647 (gdb_stdin_log_init): New function.
5648 (gdb_stdin_log_write): Likewise.
5649
81f47ac2
AH
56502019-05-17 Alan Hayward <alan.hayward@arm.com>
5651
5652 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
5653 * gdb.base/debug-expr.exp: Likewise.
5654 * gdb.base/foll-fork.exp: Likewise.
5655 * gdb.base/foll-vfork.exp: Likewise.
5656 * gdb.base/fork-print-inferior-events.exp: Likewise.
5657 * gdb.base/gdb-sigterm.exp: Likewise.
5658 * gdb.base/gdbinit-history.exp: Likewise.
5659 * gdb.base/osabi.exp: Likewise.
5660 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5661 * gdb.base/ui-redirect.exp: Likewise.
5662 * gdb.gdb/unittest.exp: Likewise.
5663 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
5664 * gdb.mi/mi-watch.exp: Likewise.
5665 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5666 * gdb.mi/user-selected-context-sync.exp: Likewise.
5667 * gdb.python/python.exp: Disable debug test when debugging.
5668 * gdb.threads/check-libthread-db.exp: Disable when debugging.
5669 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5670 Likewise.
5671 * gdb.threads/stepi-random-signal.exp: Likewise.
5672
29b52314
AH
56732019-05-17 Alan Hayward <alan.hayward@arm.com>
5674
5675 * Makefile.in: Pass through GDB_DEBUG.
5676 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5677 (gdb,debug): Add board setting.
5678 * lib/gdb.exp (default_gdb_start): Start debugging.
5679 (gdb_debug_enabled): New procedure.
5680 (gdb_debug_init): Likewise.
29b52314
AH
5681
56822019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 5683
29b52314
AH
5684 * Makefile.in: Pass through GDB_DEBUG.
5685 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5686 (gdb,debug): Add board setting.
5687 * lib/gdb.exp (default_gdb_start): Start debugging.
5688 (gdb_debug_enabled): New procedure.
5689 (gdb_debug_init): Likewise.
29b52314 5690
ca1285d1
AH
56912019-05-17 Alan Hayward <alan.hayward@arm.com>
5692
5693 * gdb.base/ui-redirect.exp: Add debug redirect tests.
5694
f3a09c80
AH
56952019-05-17 Alan Hayward <alan.hayward@arm.com>
5696
5697 * gdb.base/ui-redirect.exp: Test redirection.
5698
26648588
JV
56992019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
5700
5701 * gdb.mi/mi-complete.exp: New file.
5702 * gdb.mi/mi-complete.cc: Likewise.
5703
14237686
AB
57042019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
5705
5706 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
5707 indexed and sliced arrays, and pointers to arrays.
5708
e7bd7fba
TT
57092019-05-14 Tom Tromey <tromey@adacore.com>
5710
5711 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
5712 styling test.
5713
2764128d
TV
57142019-05-14 Tom de Vries <tdevries@suse.de>
5715
5716 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
5717 selection entry encoding.
5718
71bed2db
TT
57192019-05-10 Tom Tromey <tromey@adacore.com>
5720
5721 * gdb.ada/info_exc.exp: Add "complete" test.
5722
63b667ad
TV
57232019-05-09 Tom de Vries <tdevries@suse.de>
5724
5725 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
5726 CU-relative.
5727
9cfd2b89
TV
57282019-05-09 Tom de Vries <tdevries@suse.de>
5729
5730 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
5731 CU-relative.
5732
2228ef77
XR
57332019-05-08 Joel Brobecker <brobecker@adacore.com>
5734
5735 * gdb.ada/frame_arg_lang.exp: New testcase.
5736 * gdb.ada/frame_arg_lang/bla.adb: New file.
5737 * gdb.ada/frame_arg_lang/pck.ads: New file.
5738 * gdb.ada/frame_arg_lang/pck.adb: New file.
5739 * gdb.ada/frame_arg_lang/foo.c: New file.
5740
80e55b13
TT
57412019-05-08 Tom Tromey <tromey@adacore.com>
5742
5743 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
5744
9d3421af
TT
57452019-05-08 Tom Tromey <tromey@adacore.com>
5746
5747 * gdb.base/ptype-offsets.exp: Update tests.
5748
844333e2
TT
57492019-05-08 Tom Tromey <tromey@adacore.com>
5750
5751 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
5752 cases.
5753 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
5754 "short".
5755
988915ee
TT
57562019-05-08 Tom Tromey <tromey@adacore.com>
5757
5758 * gdb.ada/vla.exp: New file.
5759 * gdb.ada/vla/vla.adb: New file.
5760
7bd55dac
TV
57612019-05-07 Tom de Vries <tdevries@suse.de>
5762
5763 * gdb.base/index-cache.exp (ls_host): Fix return statement.
5764
75f06e9d
TV
57652019-05-07 Tom de Vries <tdevries@suse.de>
5766
5767 PR testsuite/24522
5768 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
5769 section.
5770
77e7aaa4
TV
57712019-05-07 Tom de Vries <tdevries@suse.de>
5772
5773 PR testsuite/24522
5774 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
5775 .debug_aranges section.
5776
456ba0fa
TV
57772019-05-07 Tom de Vries <tdevries@suse.de>
5778
5779 PR testsuite/24159
5780 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
5781
5a56d6a6
TV
57822019-05-06 Tom de Vries <tdevries@suse.de>
5783
5784 * lib/gdb.exp (exec_has_index_section): New proc.
5785 * gdb.base/index-cache.exp: Handle case that binfile contains an index
5786 section.
5787
9d6d4be8
TV
57882019-05-04 Tom de Vries <tdevries@suse.de>
5789
5790 * boards/cc-with-debug-names.exp: New file.
5791
222a8d25
TT
57922019-05-03 Tom Tromey <tromey@adacore.com>
5793
5794 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
5795 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
5796 * gdb.ada/char_enum.exp: Add test.
5797
0fdfd794
TV
57982019-05-03 Tom de Vries <tdevries@suse.de>
5799
5800 * boards/cc-with-gdb-index.exp: New file.
5801
80062eb9
AB
58022019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
5803
5804 * gdb.rust/simple.exp: Add new test case.
5805 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
5806 (main): Initialise an instance of the new struct.
5807
4504bbde
TT
58082019-05-01 Tom Tromey <tromey@adacore.com>
5809
5810 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
5811 record.
5812 (NPR): New variable.
5813 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
5814 test.
5815
d48e62f4
TT
58162019-05-01 Tom Tromey <tromey@adacore.com>
5817
5818 * gdb.ada/packed_array_assign.exp: Add packed assignment
5819 regression test.
5820
f59f30f5
TV
58212019-05-01 Tom de Vries <tdevries@suse.de>
5822
5823 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
5824
b70bfc54
TV
58252019-05-01 Tom de Vries <tdevries@suse.de>
5826
5827 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
5828
15f18d14
AT
58292019-04-30 Ali Tamur <tamur@google.com>
5830
5831 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
5832
2ff0a947
TT
58332019-04-30 Tom Tromey <tromey@adacore.com>
5834
5835 * lib/ada.exp (find_ada_tool): New proc.
5836 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
5837 * gdb.ada/catch_ex_std.exp: New file.
5838 * gdb.ada/catch_ex_std/foo.adb: New file.
5839 * gdb.ada/catch_ex_std/some_package.adb: New file.
5840 * gdb.ada/catch_ex_std/some_package.ads: New file.
5841
a776957c
TT
58422019-04-30 Tom Tromey <tromey@adacore.com>
5843
5844 PR c++/24470:
5845 * gdb.cp/temargs.cc: Add test code from PR.
5846
bc68014d
AB
58472019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5848
5849 * gdb.fortran/vla-datatypes.exp: Update expected results.
5850 * gdb.fortran/vla-ptype.exp: Likewise.
5851 * gdb.fortran/vla-type.exp: Likewise.
5852 * gdb.fortran/vla-value.exp: Likewise.
5853
f1fdc960
AB
58542019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5855
5856 * gdb.fortran/ptr-indentation.exp: Update expected results.
5857 * gdb.fortran/ptype-on-functions.exp: Likewise.
5858 * gdb.fortran/vla-ptr-info.exp: Likewise.
5859 * gdb.fortran/vla-value.exp: Likewise.
5860
bf7a4de1
AB
58612019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5862
5863 * gdb.fortran/ptype-on-functions.exp: New file.
5864 * gdb.fortran/ptype-on-functions.f90: New file.
5865
bbe75b9d
AB
58662019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5867
5868 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
5869 case void string.
5870
1db455a7
AB
58712019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5872
5873 * gdb.fortran/complex.exp: Expand.
5874 * gdb.fortran/complex.f: Renamed to...
5875 * gdb.fortran/complex.f90: ...this, and extended to add more
5876 complex values.
5877
b6d03bb2
AB
58782019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5879
5880 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
5881 MODULO, CMPLX.
5882
2e62ab40
AB
58832019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
5884 Richard Bunt <richard.bunt@arm.com>
5885
5886 * gdb.base/max-depth.c: New file.
5887 * gdb.base/max-depth.exp: New file.
5888 * gdb.python/py-nested-maps.c: New file.
5889 * gdb.python/py-nested-maps.exp: New file.
5890 * gdb.python/py-nested-maps.py: New file.
5891 * gdb.python/py-format-string.exp (test_max_depth): New proc.
5892 (test_all_common): Call test_max_depth.
5893 * gdb.fortran/max-depth.exp: New file.
5894 * gdb.fortran/max-depth.f90: New file.
5895 * gdb.go/max-depth.exp: New file.
5896 * gdb.go/max-depth.go: New file.
5897 * gdb.modula2/max-depth.exp: New file.
5898 * gdb.modula2/max-depth.c: New file.
5899 * lib/gdb.exp (get_print_expr_at_depths): New proc.
5900
d2b584a5
TV
59012019-04-29 Tom de Vries <tdevries@suse.de>
5902
5903 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
5904
136afab8
PW
59052019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5906
5907 * gdb.base/callexit.exp: Test may-call-functions off.
5908
725cbb63
KS
59092019-04-25 Keith Seitz <keiths@redhat.com>
5910
5911 PR c++/24367
5912 * gdb.cp/meth-typedefs.cc (incomplete_struct)
5913 (another_incomplete_struct, test_incomplete): New definitions.
5914 (main): Use new definitions.
5915 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
5916 functions.
5917
701adfb0
PA
59182019-04-25 Ali Tamur <tamur@google.com>
5919
5920 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
5921
82433e3e
SDJ
59222019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
5923
5924 PR corefiles/11608
5925 PR corefiles/18187
5926 * gdb.base/coredump-filter-build-id.exp: New file.
5927
dd06d4d6
AH
59282019-04-25 Alan Hayward <alan.hayward@arm.com>
5929
e79be6e5
SM
5930 * Makefile.in: Pass through GDBSERVER_DEBUG.
5931 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
5932 (gdbserver,debug): Add board setting.
5933 * gdb.trace/tspeed.exp: Skip when debugging.
5934 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
5935 * lib/gdbserver-support.exp: Likewise
dd06d4d6 5936
1670072e
TT
59372019-04-24 Tom Tromey <tromey@adacore.com>
5938
5939 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
5940 Rust.
5941
a59240a4
TT
59422019-04-24 Tom Tromey <tromey@adacore.com>
5943
5944 * gdb.arch/amd64-eval.exp: Test bitfield return.
5945 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
5946 (class Foo) <return_bitfields>: New method.
5947 (main): Call it.
5948
b907456c
AB
59492019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
5950
5951 * gdb.cp/many-args.cc: New file.
5952 * gdb.cp/many-args.exp: New file.
5953
5c565afd
TV
59542019-04-23 Tom de Vries <tdevries@suse.de>
5955
5956 PR gdb/24433
5957 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
5958
ba22ff86
AH
59592019-04-23 Alan Hayward <alan.hayward@arm.com>
5960
5961 * gdb.trace/backtrace.exp: Use nopie flag.
5962 * gdb.trace/circ.exp: Likewise.
5963 * gdb.trace/collection.exp: Likewise.
5964 * gdb.trace/ftrace.exp: Likewise.
5965 * gdb.trace/mi-trace-unavailable.exp: Likewise.
5966 * gdb.trace/mi-traceframe-changed.exp: Likewise.
5967 * gdb.trace/qtro.exp: Likewise.
5968 * gdb.trace/read-memory.exp: Likewise.
5969 * gdb.trace/report.exp: Likewise.
5970 * gdb.trace/tfile.exp: Likewise.
5971 * gdb.trace/tfind.exp: Likewise.
5972 * gdb.trace/unavailable.exp: Likewise.
5973
7905fc35
PA
59742019-04-22 Pedro Alves <palves@redhat.com>
5975
5976 * gdb.base/solib-probes-nosharedlibrary.c,
5977 gdb.base/solib-probes-nosharedlibrary.exp: New files.
5978
8ecb59f8
TT
59792019-04-19 Tom Tromey <tromey@adacore.com>
5980
5981 * gdb.ada/ptype_union.c: New file.
5982 * gdb.ada/ptype_union.exp: New file.
5983
62160ec9
TT
59842019-04-19 Tom Tromey <tromey@adacore.com>
5985
5986 PR symtab/24423:
5987 * gdb.base/list0.h (foo): Add a control-l character.
5988
36cd4ba5
TV
59892019-04-18 Tom de Vries <tdevries@suse.de>
5990
5991 PR gdb/24433
5992 * boards/local-board.exp: Set sysroot to "".
5993
b73715df
TV
59942019-04-18 Tom de Vries <tdevries@suse.de>
5995 Pedro Alves <palves@redhat.com>
5996
5997 PR gdb/24454
5998 * gdb.threads/vfork-follow-child-exec.c: New file.
5999 * gdb.threads/vfork-follow-child-exec.exp: New file.
6000 * gdb.threads/vfork-follow-child-exit.c: New file.
6001 * gdb.threads/vfork-follow-child-exit.exp: New file.
6002
4aa866af
LS
60032019-04-15 Leszek Swirski <leszeks@google.com>
6004
6005 * gdb.arch/amd64-eval.cc: New file.
6006 * gdb.arch/amd64-eval.exp: New file.
6007
e5a1a79a
AH
60082019-04-11 Alan Hayward <alan.hayward@arm.com>
6009
6010 * gdb.server/sysroot.c: New test.
6011 * gdb.server/sysroot.exp: New file.
6012 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
6013 matching param.
6014
41077b66
AB
60152019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
6016
6017 * gdb.base/align.exp: Extend test to cover structures containing
6018 only static fields.
6019
c30391f8
TV
60202019-04-11 Tom de Vries <tdevries@suse.de>
6021
6022 * boards/cc-with-dwz-m.exp: New file.
6023 * boards/cc-with-dwz.exp: New file.
6024 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
6025
e242fd12
SM
60262019-04-09 Simon Marchi <simon.marchi@efficios.com>
6027
6028 * gdb.base/start-cpp.exp: New file.
6029 * gdb.base/start-cpp.cc: New file.
6030
2b0c8b01
KB
60312019-04-08 Kevin Buettner <kevinb@redhat.com>
6032
6033 * gdb.python/py-thrhandle.exp: Adjust tests to call
6034 thread_from_handle instead of thread_from_thread_handle.
6035
947210e5
KB
60362019-04-08 Kevin Buettner <kevinb@redhat.com>
6037
6038 * gdb.python/py-thrhandle.exp: Add tests for
6039 gdb.InferiorThread.handle.
6040
d7df6549
AB
60412019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6042
6043 * gdb.python/py-function.exp: Check calling helper function from
6044 all languages.
6045 * lib/gdb.exp (gdb_supported_languages): New proc.
6046
8bdc1658
AB
60472019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6048
6049 * gdb.base/complex-parts.c: New file.
6050 * gdb.base/complex-parts.exp: New file.
6051
05caa1d2
TT
60522019-04-01 Tom Tromey <tromey@adacore.com>
6053
6054 PR symtab/23331:
6055 * gdb.dwarf2/dw2-ranges-main.c: New file.
6056 * gdb.dwarf2/dw2-ranges-psym.c: New file.
6057 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
6058
7734102d
EZ
60592019-03-30 Simon Marchi <simark@simark.ca>
6060
6061 * gdb.base/default.exp: Add values for $_gdb_major and
6062 $_gdb_minor.
6063
188e1fa9
TT
60642019-03-29 Tom Tromey <tromey@adacore.com>
6065
6066 * gdb.base/help.exp: Tighten apropos regexp.
6067
2880242d
KS
60682019-03-29 Keith Seitz <keiths@redhat.com>
6069
6070 * gdb.fortran/array-bounds.exp: New file.
6071 * gdb.fortran/array-bounds.f90: New file.
6072
077cad8e
PW
60732019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6074
6075 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
6076
80047cfc
PW
60772019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6078
6079 * gdb.multi/hello.c (main): Increase alarm timer.
6080
f489207e
SL
60812019-03-28 Sandra Loosemore <sandra@codesourcery.com>
6082
6083 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
6084 factor when no hardware watchpoint support.
6085
c92df149
AH
60862019-03-28 Alan Hayward <alan.hayward@arm.com>
6087 Pedro Alves <palves@redhat.com>
6088
6089 * boards/local-board.exp: set sysroot to /.
6090
933aebfa
AH
60912019-03-27 Alan Hayward <alan.hayward@arm.com>
6092
6093 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
6094 in child.
6095
9f9aa852
AB
60962019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6097
6098 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
6099 field.
6100 (make_container): Initialise new field.
6101 * gdb.python/py-prettyprint.exp: Add new tests.
6102 * gdb.python/py-prettyprint.py (class ContainerPrinter)
6103 <display_hint>: New method.
6104
3714a195
AB
61052019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6106
6107 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
6108 gdb_continue_to_breakpoint more throughout this test.
6109 (run_lang_tests) Supply unique test names, and use
6110 gdb_test_no_output.
6111
18c77628
AB
61122019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6113
6114 * gdb.base/finish-pretty.exp: Update expected results.
6115 * gdb.base/pretty-print.c: New file.
6116 * gdb.base/pretty-print.exp: New file.
6117
9a93502f
PA
61182019-03-25 Pedro Alves <palves@redhat.com>
6119
6120 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
6121 move comments outside list. Append '-i "" eof' section.
6122
968aa7ae
AH
61232019-03-22 Alan Hayward <alan.hayward@arm.com>
6124
34a7f2a4 6125 PR testsuite/25016
968aa7ae
AH
6126 * README: Add pie options.
6127 * gdb.base/break-interp.exp: Ensure pie is disabled.
6128 * gdb.base/dump.exp: Likewise.
6129 * lib/gdb.exp (gdb_compile): Add pie option.
6130
4c7d57e7
TT
61312019-03-19 Tom Tromey <tromey@adacore.com>
6132
6133 * gdb.mi/mi2-cli-display.c: New file.
6134 * gdb.mi/mi2-cli-display.exp: New file.
6135
bff8c71f
TT
61362019-03-18 Joel Brobecker <brobecker@adacore.com>
6137 Tom Tromey <tromey@adacore.com>
6138
6139 * gdb.ada/ptype_array/pck.adb: New file.
6140 * gdb.ada/ptype_array/pck.ads: New file.
6141 * gdb.ada/ptype_array/foo.adb: New file.
6142 * gdb.ada/ptype_array.exp: New file.
6143
d085f989
TT
61442019-03-14 Tom Tromey <tromey@adacore.com>
6145
6146 * gdb.base/style.exp: Add "set style sources" test.
6147
b4be1b06
SM
61482019-03-13 Simon Marchi <simon.marchi@ericsson.com>
6149
6150 * mi-breakpoint-location-ena-dis.exp: Rename to ...
6151 * mi-breakpoint-multiple-locations.exp: ... this.
6152 (make_breakpoints_pattern): New proc.
6153 (do_test): Add mi_version parameter, test -break-insert,
6154 -break-info and =breakpoint-created.
6155
7cde5fc2
AB
61562019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
6157
6158 * config/default.exp: Remove 'load_lib gdb.exp'.
6159 * config/monitor.exp: Likewise.
6160 * config/sid.exp: Likewise.
6161 * config/sim.exp: Likewise.
6162 * config/slite.exp: Likewise.
6163 * config/unix.exp: Likewise.
6164 * gdb.base/default.exp: Remove unhelpful comment.
6165
efbecbc1
AB
61662019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6167
6168 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
6169
0841c79a
AB
61702019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6171
6172 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
6173
4a270568
AB
61742019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6175
6176 * gdb.fortran/type-kinds.exp: Update expected results.
6177
067630bd
AB
61782019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6179
6180 * gdb.fortran/type-kinds.exp: Test new integer type kind.
6181
3be47f7a
AB
61822019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6183
6184 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
6185 function.
6186 (test_basic_parsing_of_type_kinds): Expand types tested.
6187 (test_parsing_invalid_type_kinds): New function.
6188
4d00f5d8
AB
61892019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6190
6191 * gdb.fortran/intrinsics.exp: New file.
6192 * gdb.fortran/intrinsics.f90: New file.
6193 * gdb.fortran/type-kinds.exp: New file.
6194
c8f91604
AB
61952019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6196
6197 * gdb.fortran/dot-ops.exp: New file.
6198
dd9f2c76
AB
61992019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6200
6201 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
6202 Check upper and lower case logical literals.
6203
84ec9724
AB
62042019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6205
6206 * gdb.fortran/types.exp (test_float_literal_types_accepted):
6207 Remove duplicate tests.
6208
c3734e09
AH
62092019-03-06 Alan Hayward <alan.hayward@arm.com>
6210
6211 * lib/gdb.exp (builtin_cd): rename of cd.
6212 (cd): Override builtin.
6213
aa3cfbda
RB
62142019-03-06 Richard Bunt <richard.bunt@arm.com>
6215
6216 * gdb.fortran/function-calls.exp: New file.
6217 * gdb.fortran/function-calls.f90: New test.
6218
7b63ad86
RB
62192019-03-04 Richard Bunt <richard.bunt@arm.com>
6220
6221 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
6222 on user program standard output.
6223 * gdb.fortran/short-circuit-argument-list.f90: Record function
6224 calls.
6225
01abb042
AH
62262019-02-28 Alan Hayward <alan.hayward@arm.com>
6227
c3734e09
AH
6228 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
6229 failure.
01abb042 6230
92137da0
RO
62312019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6232
6233 PR gdb/8527
6234 * gdb.base/interrupt-daemon-attach.c,
6235 gdb.base/interrupt-daemon-attach.exp: New test.
6236
5862844d
PA
62372019-02-27 Pedro Alves <palves@redhat.com>
6238
6239 * gdb.base/page.exp: Add tests for "set width/height -1".
6240
8ed25214
PA
62412019-02-27 Pedro Alves <palves@redhat.com>
6242
6243 * gdb.base/page.exp: Add tests for "set/show width/height" with
6244 "infinite" values.
6245
6c28e44a
TT
62462019-02-27 Tom Tromey <tromey@adacore.com>
6247
6248 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
6249 2.4.
6250 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
6251 workaround.
6252
bf9a735e
AB
62532019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
6254
6255 * gdb.base/align.exp: Extend to compile in both C and C++, and add
6256 tests for structs with static members.
6257
8791793c
TT
62582019-02-26 Tom Tromey <tromey@adacore.com>
6259
6260 * gdb.python/py-value.exp (test_value_from_buffer): Check for
6261 ValueError, not TypeError.
6262
bc2a507e
KB
62632019-02-26 Kevin Buettner <kevinb@redhat.com>
6264
6265 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
6266 call from main program.
6267
e0e7d3bd
JB
62682019-02-23 Joel Brobecker <brobecker@adacore.com>
6269
6270 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
6271 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
6272 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
6273 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
6274 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
6275
9600246d
KS
62762019-02-22 Keith Seitz <keiths@redhat.com>
6277
6278 PR symtab/23853
6279 * gdb.base/symlink-sourcefile.c: New file.
6280 * gdb.base/symlink-sourcefile.exp: New file.
6281
0c95f9ed
TT
62822019-02-20 Tom Tromey <tom@tromey.com>
6283
6284 * gdb.base/info_qt.exp: Update.
6285
6caa91b6
SM
62862019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
6287
6288 * gdb.base/source.exp: Move "error in sourced script" code to
6289 the end.
6290 * gdb.base/source-error.gdb: Move contents to
6291 source-error-1.gdb. Add new code to source source-error-1.gdb.
6292 * gdb.base/source-error-1.gdb: New file, from previous
6293 source-error.gdb.
6294
6506371f
TT
62952019-02-17 Tom Tromey <tom@tromey.com>
6296
6297 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
6298 for macro styling.
6299 * gdb.base/style.c (SOME_MACRO): New macro.
6300
a0087920
TT
63012019-02-17 Tom Tromey <tom@tromey.com>
6302
6303 * gdb.base/style.exp: Add line-wrapping tests.
6304 * gdb.base/page.exp: Add test for quitting during pagination.
6305
a2cd4f14
JB
63062019-02-17 Joel Brobecker <brobecker@adacore.com>
6307
6308 * gdb.ada/big_packed_array: New testcase.
6309 * gdb.ada/homonym.exp: Fix incorrect expected output for
6310 "break <homonym__get_value>" test.
6311
9d70ffbc
WP
63122019-02-13 Weimin Pan <weimin.pan@oracle.com>
6313
6314 PR breakpoints/21870
6315 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
6316 and prepare_for_testing. Add comment.
6317 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
6318 redundant cleanup call. Clean up comment.
6319
01c7ae81
WP
63202019-02-12 Weimin Pan <weimin.pan@oracle.com>
6321
6322 PR breakpoints/21870
6323 * gdb.arch/aarch64-dbreg-contents.exp: New file.
6324 * gdb.arch/aarch64-dbreg-contents.c: New file.
6325
aff29d1c
JB
63262019-02-10 Joel Brobecker <brobecker@adacore.com>
6327
6328 * gdb.ada/mi_ref_changeable: New testcase.
6329
df0da8a2
AH
63302019-02-07 Alan Hayward <alan.hayward@arm.com>
6331
6332 * gdb.base/attach.exp: Add double attach test.
6333
bd447abb
SM
63342019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
6335
6336 * lib/gdb.exp (default_gdb_start): Don't match pagination
6337 prompt.
6338 (gdb_init): Set stty_init.
6339
1dbc40b9
TT
63402019-01-27 Tom Tromey <tom@tromey.com>
6341
6342 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
6343 skip_python_tests.
6344
353229bf
AH
63452019-01-24 Alan Hayward <alan.hayward@arm.com>
6346
6347 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
6348 New structure.
6349 (struct struct_static_02_02): Likewise.
6350 (struct struct_static_02_03): Likewise.
6351 (struct struct_static_02_04): Likewise.
6352 (struct struct_static_04_01): Likewise.
6353 (struct struct_static_04_02): Likewise.
6354 (struct struct_static_04_03): Likewise.
6355 (struct struct_static_04_04): Likewise.
6356 (struct struct_static_06_01): Likewise.
6357 (struct struct_static_06_02): Likewise.
6358 (struct struct_static_06_03): Likewise.
6359 (struct struct_static_06_04): Likewise.
6360 (cmp_struct_static_02_01): Likewise.
6361 (cmp_struct_static_02_02): Likewise.
6362 (cmp_struct_static_02_03): Likewise.
6363 (cmp_struct_static_02_04): Likewise.
6364 (cmp_struct_static_04_01): Likewise.
6365 (cmp_struct_static_04_02): Likewise.
6366 (cmp_struct_static_04_03): Likewise.
6367 (cmp_struct_static_04_04): Likewise.
6368 (cmp_struct_static_06_01): Likewise.
6369 (cmp_struct_static_06_02): Likewise.
6370 (cmp_struct_static_06_03): Likewise.
6371 (cmp_struct_static_06_04): Likewise.
6372 (call_all): Test new structs.
6373 * gdb.base/infcall-nested-structs.exp: Likewise.
6374
73021deb
AH
63752019-01-21 Alan Hayward <alan.hayward@arm.com>
6376 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
6377
fc65c7db
AH
63782019-01-21 Alan Hayward <alan.hayward@arm.com>
6379 * gdb.base/stack-protector.c: New test.
6380 * gdb.base/stack-protector.exp: New file.
6381 * gdb.cp/ovldbreak.exp: Only allow a single break line.
6382 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
6383 option.
6384 (gdb_compile): Remove stack protector for GCC and prevent
6385 recursion.
6386
c24bdb02
KS
63872019-01-16 Keith Seitz <keiths@redhat.com>
6388
6389 PR gdb/23773
6390 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
6391
6f072a10
PFC
63922019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6393
6394 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
6395 aliases.
6396 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
6397 tests.
6398 * gdb.arch/powerpc-vector-regs.c: New file.
6399 * gdb.arch/powerpc-vector-regs.exp: New file.
6400
a7b8d682
PFC
64012019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6402
6403 * gdb.arch/altivec-regs.exp: Fix the list passed to
6404 gdb_expect_list when testing "info vector".
6405
6eb6fb67
AB
64062019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6407
6408 * gdb.base/style.exp: Don't include path in testname.
6409
b56f80d8
KS
64102019-01-10 Keith Seitz <keiths@redhat.com>
6411
6412 PR gdb/23712
6413 PR symtab/23010
6414 * gdb.dwarf2/multidictionary.exp: New file.
6415
041be526
SM
64162019-01-09 Simon Marchi <simon.marchi@ericsson.com>
6417
6418 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
6419 (test_gnuv3_style_demangling): ... this.
6420 (test_lucid_style_demangling): Remove.
6421 (test_arm_style_demangling): Remove.
6422 (test_hp_style_demangling): Remove.
6423 (do_tests): Remove calls to the above.
6424
d820d0c3
AB
64252019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6426
6427 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
6428 case.
6429
f097f5ad
TT
64302019-01-06 Tom Tromey <tom@tromey.com>
6431
6432 PR gdb/28155:
6433 * gdb.dwarf2/typedef-void-finish.exp: New file.
6434
2cd8cc0b
TT
64352018-12-28 Tom Tromey <tom@tromey.com>
6436 Simon Marchi <simark@simark.ca>
6437
6438 * gdb.base/jit-exec.exp: New file.
6439 * gdb.base/jit-exec.c: New file.
6440 * gdb.base/jit-execd.c: New file.
6441
35fb8261
TT
64422018-12-28 Tom Tromey <tom@tromey.com>
6443
6444 * gdb.base/style.exp: Update test to check for address styling.
6445
47fd17cd
TT
64462018-12-28 Tom Tromey <tom@tromey.com>
6447
6448 * gdb.base/style.exp: Add test for styling of "Reading symbols"
6449 message.
6450
d47032b7
TT
64512018-12-28 Tom Tromey <tom@tromey.com>
6452
6453 * gdb.base/style.exp: Add test for version number styling.
6454
af79b68d
TT
64552018-12-28 Tom Tromey <tom@tromey.com>
6456
6457 * gdb.base/style.exp: Add test for print_address_symbolic.
6458
0bb296cb
TT
64592018-12-28 Tom Tromey <tom@tromey.com>
6460
6461 * gdb.base/style.exp: Add test for breakpoint setting.
6462
80ae2043
TT
64632018-12-28 Tom Tromey <tom@tromey.com>
6464
6465 * gdb.base/style.exp: Add test for variable names.
6466
cbe56571
TT
64672018-12-28 Tom Tromey <tom@tromey.com>
6468
6469 * gdb.base/style.exp: New file.
6470 * gdb.base/style.c: New file.
6471
9162a27c
TT
64722018-12-28 Tom Tromey <tom@tromey.com>
6473
6474 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
6475 "dumb".
6476 * gdb.base/readline.exp (operate_and_get_next): Save and restore
6477 the TERM environment variable.
6478
bc543c90
TT
64792018-12-27 Tom Tromey <tom@tromey.com>
6480
6481 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
6482 pagination test.
6483
6f0ffe50
AB
64842018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
6485
6486 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
6487 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
6488
b5a1e557
PW
64892018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6490
6491 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
6492 Filename a.adb changed to bp_fun_addr.adb.
6493 gdb.ada/bp_fun_addr.exp: Update test accordingly.
6494
6e8b1ab2
JV
64952018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
6496
6497 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
6498 non-PIE executables.
6499 * README: Mention the gdb,nopie_flag board setting.
6500 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
6501 non-PIE executable.
6502 * gdb.arch/amd64-entry-value.exp: Likewise.
6503 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
6504 * gdb.arch/i386-float.exp: Likewise.
6505 * gdb.arch/i386-signal.exp: Likewise.
6506 * gdb.mi/mi-reg-undefined.exp: Likewise.
6507
d00a27c5
PM
65082018-12-21 Paul Marechal <paul.marechal@ericsson.com>
6509
6510 PR gdb/23974
6511 * gdb.base/info-os.exp: Check return for unknown "info os" type.
6512
161d081c
PW
65132018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6514
6515 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
6516 Update order of results accordingly.
6517
b001de23
AB
65182018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
6519
6520 * gdb.base/annota1.exp: Update a test regexp.
6521
99e1a184
AB
65222018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6523
6524 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
6525
7a81c1e2
PW
65262018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6527
6528 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
6529 (reuse_time): Initialize to REUSE_TIME_CAP.
6530 (check_rc): New function.
6531 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
6532 Check pthread_create rc.
6533 (spawner_thread_func): Check pthread_create and pthread_join rc.
6534
73e8dc90
PA
65352018-12-08 Pedro Alves <palves@redhat.com>
6536
6537 * gdb.base/list.exp (test_forward_search): Rename to ...
6538 (test_forward_reverse_search): ... this. Also test reverse-search
6539 and the forward-search alias.
6540
13f2ed32
AB
65412018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
6542
6543 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
6544 local timeout variable before return, and remove all local timeout
6545 variable entirely.
6546 (gdb_load): Likewise.
6547
64d27cfc
TV
65482018-12-01 Tom de Vries <tdevries@suse.de>
6549
6550 * gdb.base/gdb-caching-proc.exp: New file.
6551
f63c03b4
SDJ
65522018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
6553
6554 * Makefile.in (TIMESTAMP): New variable.
6555 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
6556 command.
6557 (check-single-racy): Likewise.
6558 (check/%.exp): Likewise.
6559 (check-racy/%.exp): Likewise.
6560 (workers/%.worker): Likewise.
6561 (build-perf): Likewise.
6562 (check-perf): Likewise.
6563 * README: Describe new "TS" and "TS_FORMAT" variables.
6564 * print-ts.py: New file.
6565
1c97054b
BF
65662018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
6567
6568 PR python/23714
6569 * gdb.python/python.exp: Test command repetition after
6570 gdb.execute.
6571
1871a62d
AB
65722018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
6573
6574 * gdb.opt/inline-break.exp: Add test that info breakpoint output
6575 is correctly aligned.
6576
fb5e1ed9
PW
65772018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6578
6579 * gdb.ada/info_auto_lang.exp: New testcase.
6580 * gdb.ada/info_auto_lang/global_pack.ads: New file.
6581 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
6582 * gdb.ada/info_auto_lang/some_c.c: New file.
6583
43d397ca
PW
65842018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6585
6586 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
6587 FUNC_lang language syntax.
6588
beddd671
PW
65892018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6590
6591 * gdb.base/info_minsym.c: New file.
6592 * gdb.base/info_minsym.exp: New file.
6593
73fc52c4
TT
65942018-11-19 Tom Tromey <tom@tromey.com>
6595
6596 PR rust/23625:
6597 * gdb.rust/simple.exp: Add ptype test. Update expected output.
6598 * gdb.rust/expr.exp: Update expected output. Change one test.
6599
994b876a
TT
66002018-11-19 Tom Tromey <tom@tromey.com>
6601
6602 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
6603
6769f276
PA
66042018-11-19 Pedro Alves <palves@redhat.com>
6605
6606 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
6607 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
6608 see the expected warning.
6609
38a72da0
AH
66102018-11-16 Alan Hayward <alan.hayward@arm.com>
6611
6612 PR gdb/22736:
6613 * gdb.cp/infcall-nodebug-lib.c: New test.
6614 * gdb.cp/infcall-nodebug-main.c: New test.
6615 * gdb.cp/infcall-nodebug.exp: New file.
6616
53a89d6e
SM
66172018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
6618
6619 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
6620 completer tests.
6621
9325300d
TV
66222018-11-09 Tom de Vries <tdevries@suse.de>
6623
6624 * gdb.base/msym-lang.c: New test.
6625 * gdb.base/msym-lang.exp: New file.
6626 * gdb.base/msym-lang-main.c: New test.
6627
20f0d60d
TT
66282018-11-08 Tom Tromey <tom@tromey.com>
6629
6630 PR gdb/23555:
6631 PR gdb/23838:
6632 * gdb.base/warning.exp: New file.
6633
b5420128
JB
66342018-11-08 Jan Beulich <jbeulich@suse.com>
6635
6636 * testsuite/gdb.arch/i386-avx512.c,
6637 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
6638
cd115d61
AB
66392018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
6640
6641 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
6642 point hardware.
6643
35ee2dc2
AB
66442018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
6645
6646 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
6647 * gdb.dwarf2/missing-type-name.exp: New file.
6648
31aceee8
TV
66492018-11-06 Tom de Vries <tdevries@suse.de>
6650
6651 * gdb.base/many-headers.c: New test.
6652 * gdb.base/many-headers.exp: New file.
6653
109be305
JW
66542018-11-06 Jim Wilson <jimw@sifive.com>
6655
6656 * gdb.base/code_elim.exp: For riscv, set additional_flags
6657 to include -msmall-data-limit=0.
6658
e2b7af72
JB
66592018-11-01 Joel Brobecker <brobecker@adacore.com>
6660
6661 * gdb.ada/watch_minus_l: New testcase.
6662
cdcda965
SM
66632018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
6664
6665 * gdb.arch/aix-sighandle.c: New file.
6666 * gdb.arch/aix-sighandle.exp: New file.
6667
92dcebf3
AB
66682018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6669
6670 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
6671 registers being unions.
6672
68b9ac18
TV
66732018-10-31 Tom de Vries <tdevries@suse.de>
6674
6675 * lib/valgrind.exp: New file.
6676 (vgdb_start, vgdb_stop): New procs, factored out of ...
6677 * gdb.base/valgrind-bt.exp: ... here, ...
6678 * gdb.base/valgrind-disp-step.exp: ... here and ...
6679 * gdb.base/valgrind-infcall.exp: ... here.
6680
1443936e
TV
66812018-10-31 Tom de Vries <tdevries@suse.de>
6682
6683 * lib/gdb.exp (get_valueof): Don't output read value in test name.
6684
eb77c9df
AB
66852018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6686
6687 * gdb.dwarf2/void-type.c: New file.
6688 * gdb.dwarf2/void-type.exp: New file.
6689
82b5e646
PW
66902018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6691
6692 * gdb.base/info_qt.c: New file.
6693 * gdb.base/info_qt.exp: New file.
6694
8d619c01
EBM
66952018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6696
6697 * gdb.arch/powerpc-htm-regs.c: New file.
6698 * gdb.arch/powerpc-htm-regs.exp: New file.
6699
f2cf6173
EBM
67002018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6701
6702 * gdb.arch/powerpc-tar.c: New file.
6703 * gdb.arch/powerpc-tar.exp: New file.
6704
7ca18ed6
EBM
67052018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6706
6707 * gdb.arch/powerpc-ppr-dscr.c: New file.
6708 * gdb.arch/powerpc-ppr-dscr.exp: New file.
6709
bfcc0eba
TV
67102018-10-25 Tom de Vries <tdevries@suse.de>
6711
6712 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
6713
fe1a5cad
TV
67142018-10-24 Tom de Vries <tdevries@suse.de>
6715
6716 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
6717 longer exists error.
6718
a76dc3b7
TV
67192018-10-24 Tom de Vries <tdevries@suse.de>
6720
6721 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
6722
4df46df7
TV
67232018-10-24 Tom de Vries <tdevries@suse.de>
6724
6725 * gdb.base/valgrind-db-attach.exp: Handle removed support for
6726 --db-attach in valgrind.
6727
0dbfcfff
AB
67282018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
6729
6730 * gdb.arch/riscv-reg-aliases.c: New file.
6731 * gdb.arch/riscv-reg-aliases.exp: New file.
6732
b04480b1
AH
67332018-10-19 Alan Hayward <alan.hayward@arm.com>
6734
6735 * gdb.python/py-cmd.exp: Check for gdb_prompt.
6736
2c6ac8d7
AH
67372018-10-19 Alan Hayward <alan.hayward@arm.com>
6738
6739 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
6740
2bc69f25
AH
67412018-10-19 Alan Hayward <alan.hayward@arm.com>
6742
6743 * gdb.cp/ovldbreak.exp: Fix regexps.
6744
1f1ae3a3
AH
67452018-10-19 Alan Hayward <alan.hayward@arm.com>
6746
6747 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
6748
94c18618
SDJ
67492018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
6750
6751 PR cli/23785
6752 * gdb.base/restore.exp: New test to check if "restore" with an
6753 invalid file doesn't segfault.
6754
812cd6eb
TV
67552018-10-18 Tom de Vries <tdevries@suse.de>
6756
6757 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
6758 * gdb.ada/excep_handle.exp: Same.
6759 * gdb.ada/mi_string_access.exp: Same.
6760 * gdb.ada/mi_var_union.exp: Same.
6761 * gdb.arch/arc-analyze-prologue.exp: Same.
6762 * gdb.arch/arc-decode-insn.exp: Same.
6763 * gdb.base/readnever.exp: Same.
6764 * gdb.fortran/printing-types.exp: Same.
6765 * gdb.guile/scm-lazy-string.exp: Same.
6766
c4b90788
TV
67672018-10-16 Tom de Vries <tdevries@suse.de>
6768
6769 PR gdb/23730
6770 * gdb.base/catch-follow-exec.c: Add copyright notice.
6771 * gdb.base/catch-follow-exec.exp: Rewrite to use
6772 gdb_spawn_with_cmdline_opts. Require gdb-native.
6773
8bca2978
SL
67742018-10-12 Sandra Loosemore <sandra@codesourcery.com>
6775
6776 * gdb.trace/actions-changed.exp: Check for arch support.
6777 * gdb.trace/actions.exp: Likewise.
6778 * gdb.trace/ax.exp: Likewise.
6779 * gdb.trace/backtrace.exp: Likewise.
6780 * gdb.trace/change-loc.exp: Likewise.
6781 * gdb.trace/deltrace.exp: Likewise.
6782 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
6783 * gdb.trace/ftrace.exp: Likewise.
6784 * gdb.trace/infotrace.exp: Check for arch support.
6785 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
6786 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
6787 * gdb.trace/mi-tsv-changed.exp: Likewise.
6788 * gdb.trace/packetlen.exp: Likewise.
6789 * gdb.trace/passc-dyn.exp: Likewise.
6790 * gdb.trace/passcount.exp: Likewise.
6791 * gdb.trace/pending.exp: Likewise.
6792 * gdb.trace/range-stepping.exp: Check for shlib support.
6793 * gdb.trace/report.exp: Check for arch support.
6794 * gdb.trace/save-trace.exp: Likewise.
6795 * gdb.trace/signal.exp: Check for signal support.
6796 * gdb.trace/tfind.exp: Check for arch support.
6797 * gdb.trace/trace-break.exp: Check for arch and shlib support.
6798 * gdb.trace/trace-common.h: Add comment.
6799 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
6800 * gdb.trace/trace-enable-disable.exp: Likewise.
6801 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
6802 * gdb.trace/tracecmd.exp: Check for arch support.
6803 * gdb.trace/tspeed.exp: Check for shlib and target support.
6804 * gdb.trace/tstatus.exp: Check for arch support.
6805 * gdb.trace/tsv.exp: Likewise.
6806 * gdb.trace/while-dyn.exp: Likewise.
6807 * gdb.trace/while-stepping.exp: Likewise.
6808 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
6809
f9c49bff
SM
68102018-10-12 Simon Marchi <simon.marchi@ericsson.com>
6811
6812 * gdb.trace/tspeed.exp: Remove nowarnings.
6813 (prepare_for_trace_test): Declare "global ipalib".
6814 * gdb.trace/tspeed.c: Include unistd.h.
6815 (main): Remove superfluous printf argument.
6816
d4330bde
SL
68172018-10-11 Sandra Loosemore <sandra@codesourcery.com>
6818
6819 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
6820 directory prefix on the filename.
6821
8ecfd7bd
SDJ
68222018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
6823
6824 * gdb.gdb/unittest.exp: Update expected message informing that
6825 selftests have been disabled.
6826 * gdb.server/unittest.exp: Likewise.
6827
58bbcd02
TV
68282018-10-09 Tom de Vries <tdevries@suse.de>
6829
6830 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
6831 with runto_main.
6832
9f6b697b
WP
68332018-10-08 Weimin Pan <weimin.pan@oracle.com>
6834
6835 PR c++/16841
6836 * gdb.cp/virtbase2.cc: New file.
6837 * gdb.cp/virtbase2.exp: New file.
6838
add5ded5
TT
68392018-10-06 Tom Tromey <tom@tromey.com>
6840
6841 PR python/19399:
6842 * gdb.python/py-inferior.exp: Add architecture test.
6843
f9e48344
TT
68442018-10-06 Tom Tromey <tom@tromey.com>
6845
6846 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
6847 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
6848
2a8be203
TT
68492018-10-06 Tom Tromey <tom@tromey.com>
6850
6851 * gdb.python/py-breakpoint.exp (check_last_event): Check location
6852 of a "throw" catchpoint.
6853
e04caa70
SDJ
68542018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
6855
6856 * gdb.base/info-proc.exp: Update string expected from "help info
6857 proc".
6858
5ca8c39f
TT
68592018-10-04 Tom Tromey <tom@tromey.com>
6860
6861 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
6862 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
6863 (test_initial_complaints, test_empty_complaints): Update.
6864 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6865
3453e7e4
TT
68662018-10-04 Tom Tromey <tom@tromey.com>
6867
6868 PR cli/19551:
6869 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
6870 * lib/gdb.exp (gdb_file_cmd): Update.
6871 * gdb.stabs/weird.exp (print_weird_var): Update.
6872 * gdb.server/solib-list.exp: Update.
6873 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
6874 * gdb.mi/mi-cli.exp: Update.
6875 * gdb.linespec/linespec.exp: Update.
6876 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6877 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
6878 * gdb.cp/cp-relocate.exp: Update.
6879 * gdb.base/sym-file.exp: Update.
6880 * gdb.base/relocate.exp: Update.
6881 * gdb.base/readnever.exp: Update.
6882 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6883 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
6884 * gdb.base/dbx.exp (gdb_file_cmd): Update.
6885 * gdb.base/code_elim.exp: Update.
6886 * gdb.base/break-unload-file.exp (test_break): Update.
6887 * gdb.base/break-interp.exp (test_attach_gdb): Update.
6888 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
6889 Update.
6890 * gdb.base/attach.exp (do_attach_tests): Update.
6891 * gdb.base/sepdebug.exp: Update.
6892 * gdb.python/py-section-script.exp: Update.
6893
6afcf761
TT
68942018-10-04 Tom Tromey <tom@tromey.com>
6895
6896 PR cli/22234:
6897 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
6898 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
6899 output.
6900
fef1b293
TT
69012018-10-04 Tom Tromey <tom@tromey.com>
6902
6903 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
6904 set width and height to 0.
6905 (test_command_line_attach_run): Use -quiet.
6906
ca98345e
SL
69072018-10-03 Sandra Loosemore <sandra@codesourcery.com>
6908
6909 * lib/gdb.exp (skip_ifunc_tests): New.
6910 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
6911 other compile failures.
6912 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
6913
ff34e6ae
SM
69142018-10-01 Simon Marchi <simon.marchi@ericsson.com>
6915
6916 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
6917 is_amd64_regs_target.
6918
6bb8890e
AH
69192018-10-01 Alan Hayward <alan.hayward@arm.com>
6920
6921 * gdb.arch/aarch64-sighandler-regs.c: New test.
6922 * gdb.arch/aarch64-sighandler-regs.exp: New file.
6923 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
6924
224d30d3
MM
69252018-10-01 Markus Metzger <markus.t.metzger@intel.com>
6926
6927 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
6928 assembly.
6929
f67ffa6a
AB
69302018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
6931
6932 * gdb.base/frame-selection.exp: New file.
6933 * gdb.base/frame-selection.c: New file.
6934
9fc3183f
AH
69352018-09-27 Alan Hayward <alan.hayward@arm.com>
6936
6937 * gdb.threads/check-libthread-db.c (thread_routine): Use a
6938 pthread barrier.
6939 (main): Likewise.
6940
d354055e
AB
69412018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
6942
6943 * gdb.base/large-frame-1.c: New file.
6944 * gdb.base/large-frame-2.c: New file.
6945 * gdb.base/large-frame.exp: New file.
6946 * gdb.base/large-frame.h: New file.
6947
db727370
JL
69482018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
6949
6950 PR gdb/20948
6951 * gdb.base/write_mem.exp: New test.
6952 * gdb.base/write_mem.c: Likewise.
6953
ae778caf
TT
69542018-09-23 Tom Tromey <tom@tromey.com>
6955
6956 PR python/18852:
6957 * gdb.python/py-parameter.exp: Add test for parameter that throws
6958 on "set".
6959
fd3ba736
TT
69602018-09-23 Tom Tromey <tom@tromey.com>
6961
6962 PR python/17284:
6963 * gdb.python/py-template.exp (test_template_arg): Add test for
6964 negative template argument number.
6965
39a24317
TT
69662018-09-23 Tom Tromey <tom@tromey.com>
6967
6968 PR python/14062:
6969 * gdb.python/python.exp: Add test for post_event error.
6970
f5769a2c
TT
69712018-09-23 Tom Tromey <tom@tromey.com>
6972
6973 PR python/18170:
6974 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
6975 convert pointers to int and long.
6976
1c1e54f6
TT
69772018-09-23 Tom Tromey <tom@tromey.com>
6978
6979 PR python/20126:
6980 * gdb.python/py-value.exp (test_value_numeric_ops): Add
6981 signed-ness conversion tests.
6982
fb4fa946
TT
69832018-09-23 Tom Tromey <tom@tromey.com>
6984
6985 PR python/18352;
6986 * gdb.python/py-value.exp (test_float_conversion): New proc.
6987 Use it.
6988
a466edac
HAQ
69892018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
6990
6991 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
6992
4ee9b0c5
SL
69932018-09-18 Sandra Loosemore <sandra@codesourcery.com>
6994
6995 * gdb.base/complete-empty.exp: Skip tab-completion tests if
6996 no readline.
6997 * gdb.base/utf8-identifiers.exp: Likewise.
6998 * gdb.cp/cpcompletion.exp: Likewise.
6999 * gdb.linespec/cpcompletion.exp: Likewise.
7000 * gdb.linespec/cpls-abi-tag.exp: Likewise.
7001 * gdb.linespec/cpls-ops.exp: Likewise.
7002
23be8da7
RB
70032018-09-19 Richard Bunt <richard.bunt@arm.com>
7004 Chris January <chris.january@arm.com>
7005
7006 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
7007 * gdb.fortran/short-circuit-argument-list.exp: New file.
7008 * gdb.fortran/short-circuit-argument-list.f90: New test.
7009
5031d0ae
SDJ
70102018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7011
7012 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
7013 "arch=" keyword when executing "-stack-list-frames".
7014
b4c0d1a4
SDJ
70152018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7016
7017 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
7018 "arch=" keyword when executing "-stack-list-frames".
7019
7a6d2b45
SDJ
70202018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7021
7022 * gdb.ada/complete.exp: Expect for "@" when doing "complete
7023 break ada".
7024
8588b356
SM
70252018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
7026
7027 PR python/23669
7028 * gdb.python/python.exp: Test gdb.execute("show commands").
7029
65e65158
TT
70302018-09-16 Tom Tromey <tom@tromey.com>
7031
7032 * gdb.base/new-ui.exp (do_execution_tests): Update.
7033 * gdb.base/dbx.exp (test_breakpoints): Update.
7034
bf326452
AH
70352018-09-14 Alan Hayward <alan.hayward@arm.com>
7036
7037 * lib/gdb.exp (gdb_simple_compile): Add proc.
7038 (is_elf_target): Use gdb_simple_compile.
7039 (skip_altivec_tests): Likewise.
7040 (skip_vsx_tests): Likewise.
7041 (skip_tsx_tests): Likewise.
7042 (skip_btrace_tests): Likewise.
7043 (skip_btrace_pt_tests): Likewise.
7044 (gdb_can_simple_compile): Likewise.
7045 (gdb_has_argv0): Likewise.
7046 (gdb_target_symbol_prefix): Likewise.
7047 (target_supports_scheduler_locking): Likewise.
7048
2361b0fb
TT
70492018-09-13 Tom Tromey <tom@tromey.com>
7050
7051 * Makefile.in (TAGS): Recognize proc_with_prefix and
7052 gdb_caching_proc.
7053
0ae1a321
SM
70542018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7055
7056 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
7057 method.
7058
a40bf0c2
SM
70592018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7060
7061 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
7062 and a few other Inferior properties when the Inferior is no
7063 longer valid.
7064
4a3fe98f
TT
70652018-09-13 Tom Tromey <tom@tromey.com>
7066
7067 PR rust/23650:
7068 * gdb.rust/simple.exp: Add test for enum field access error.
7069
098b2108
TT
70702018-09-13 Tom Tromey <tom@tromey.com>
7071
7072 PR rust/23626:
7073 * gdb.rust/simple.rs (EmptyEnum): New type.
7074 (main): Use it.
7075 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
7076
1256af7d
SM
70772018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7078
7079 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
7080 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
7081 * gdb.python/py-symtab.exp: Update test printing an objfile.
7082
4aa8e6c2
SM
70832018-09-12 Simon Marchi <simon.marchi@ericsson.com>
7084
7085 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
7086 object.
7087
c221b2f7
AH
70882018-09-12 Alan Hayward <alan.hayward@arm.com>
7089
7090 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
7091 (support_complex_tests): Use gdb_can_simple_compile.
7092 (is_ilp32_target): Likewise.
7093 (is_lp64_target): Likewise.
7094 (is_64_target): Likewise.
7095 (is_amd64_regs_target): Likewise.
7096 (is_aarch32_target): Likewise.
7097 (gdb_int128_helper): Likewise.
7098
6f1107b5
JK
70992018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7100
7101 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
7102
1f5d1570
JG
71032018-09-10 Jerome Guitton <guitton@adacore.com>
7104
7105 * gdb.ada/same_component_name: Add test for case of tagged record
7106 with variable-length fields.
7107
cc330e39
XR
71082018-09-10 Xavier Roirand <roirand@adacore.com>
7109
7110 * gdb.ada/access_to_unbounded_array.exp: New testcase.
7111 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
7112 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
7113 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
7114
b9c50e9a
XR
71152018-09-10 Xavier Roirand <roirand@adacore.com>
7116
7117 * gdb.ada/mi_string_access.exp: New testcase.
7118 * gdb.ada/mi_string_access/bar.adb: New file.
7119 * gdb.ada/mi_string_access/pck.adb: New file.
7120 * gdb.ada/mi_string_access/pck.asd: New file.
7121
2963898f
XR
71222018-09-10 Xavier Roirand <roirand@adacore.com>
7123
7124 * gdb.ada/mi_var_union.exp: New testcase.
7125 * gdb.ada/mi_var_union/bar.adb: New file.
7126 * gdb.ada/mi_var_union/pck.adb: New file.
7127 * gdb.ada/mi_var_union/pck.asd: New file.
7128
1aac008f
TT
71292018-09-08 Tom Tromey <tom@tromey.com>
7130
7131 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
7132
332cf4c9
TT
71332018-09-08 Tom Tromey <tom@tromey.com>
7134
7135 PR python/16047:
7136 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
7137 (register_pretty_printers): Register new printer.
7138 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
7139 test.
7140 * gdb.python/py-prettyprint.c (int_type3): New typedef.
7141 (an_int_type3): New global.
7142
424da6cf
JB
71432018-09-08 Joel Brobecker <brobecker@adacore.com>
7144
7145 * gdb.ada/expr_with_funcall: New testcase.
7146
2a62dfa9
JB
71472018-09-08 Joel Brobecker <brobecker@adacore.com>
7148
7149 * gdb.ada/packed_array_assign: New testcase.
7150
96b6697f
AB
71512018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
7152
7153 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
7154 names, and add test prefixes to make test names unique.
7155
e4a62c65
TV
71562018-09-05 Tom de Vries <tdevries@suse.de>
7157
7158 * gdb.dwarf2/varval.exp: Add test.
7159
dd083ee2
GB
71602018-09-04 Gary Benson <gbenson@redhat.com>
7161
7162 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
7163 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
7164
aef9346c
TT
71652018-08-31 Tom Tromey <tom@tromey.com>
7166
7167 * gdb.rust/simple.rs: Rename second variable "v".
7168
c67f2e15
AB
71692018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
7170
7171 * gdb.base/funcargs.c (use_a): New function.
7172 (recurse): Call use_a.
7173
078a0207
KS
71742018-08-29 Keith Seitz <keiths@redhat.com>
7175
7176 * gdb.compile/compile-cplus-anonymous.cc: New file.
7177 * gdb.compile/compile-cplus-anonymous.exp: New file.
7178 * gdb.compile/compile-cplus-array-decay.cc: New file.
7179 * gdb.compile/compile-cplus-array-decay.exp: New file.
7180 * gdb.compile/compile-cplus-inherit.cc: New file.
7181 * gdb.compile/compile-cplus-inherit.exp: New file.
7182 * gdb.compile/compile-cplus-member.cc: New file.
7183 * gdb.compile/compile-cplus-member.exp: New file.
7184 * gdb.compile/compile-cplus-method.cc: New file.
7185 * gdb.compile/compile-cplus-method.exp: New file.
7186 * gdb.compile/compile-cplus-mod.c: "New" file.
7187 * gdb.compile/compile-cplus-namespace.cc: New file.
7188 * gdb.compile/compile-cplus-namespace.exp: New file.
7189 * gdb.compile/compile-cplus-nested.cc: New file.
7190 * gdb.compile/compile-cplus-nested.exp: New file.
7191 * gdb.compile/compile-cplus-print.c: "New" file.
7192 * gdb.compile/compile-cplus-print.exp: "New" file.
7193 * gdb.compile/compile-cplus-virtual.cc: New file.
7194 * gdb.compile/compile-cplus-virtual.exp: New file.
7195 * gdb.compile/compile-cplus.c: "New" file.
7196 * gdb.compile/compile-cplus.exp: "New" file.
7197 * lib/compile-support.exp: New file.
7198
b0f492b9
GB
71992018-08-16 Gary Benson <gbenson@redhat.com>
7200
7201 PR gdb/13000:
7202 * gdb.base/batch-exit-status.exp: New file.
7203 * gdb.base/batch-exit-status.good-commands: Likewise.
7204 * gdb.base/batch-exit-status.bad-commands: Likewise.
7205
36eb4c5f
AH
72062018-08-29 Alan Hayward <alan.hayward@arm.com>
7207
7208 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
7209 (struct struct02): Likewise.
7210 (struct struct03): Likewise.
7211 (struct struct04): Likewise.
7212 (struct struct_01_01): New struct.
7213 (struct struct_01_02): Likewise.
7214 (struct struct_01_03): Likewise.
7215 (struct struct_01_04): Likewise.
7216 (struct struct_02_01): Likewise.
7217 (struct struct_02_02): Likewise.
7218 (struct struct_02_03): Likewise.
7219 (struct struct_02_04): Likewise.
7220 (struct struct_04_01): Likewise.
7221 (struct struct_04_02): Likewise.
7222 (struct struct_04_03): Likewise.
7223 (struct struct_04_04): Likewise.
7224 (struct struct_05_01): Likewise.
7225 (struct struct_05_02): Likewise.
7226 (struct struct_05_03): Likewise.
7227 (struct struct_05_04): Likewise.
7228 (cmp_struct01): Remove function.
7229 (cmp_struct02): Likewise.
7230 (cmp_struct03): Likewise.
7231 (cmp_struct04): Likewise.
7232 (cmp_struct_01_01): Add Function.
7233 (cmp_struct_01_02): Likewise.
7234 (cmp_struct_01_03): Likewise.
7235 (cmp_struct_01_04): Likewise.
7236 (cmp_struct_02_01): Likewise.
7237 (cmp_struct_02_02): Likewise.
7238 (cmp_struct_02_03): Likewise.
7239 (cmp_struct_02_04): Likewise.
7240 (cmp_struct_04_01): Likewise.
7241 (cmp_struct_04_02): Likewise.
7242 (cmp_struct_04_03): Likewise.
7243 (cmp_struct_04_04): Likewise.
7244 (cmp_struct_05_01): Likewise.
7245 (cmp_struct_05_02): Likewise.
7246 (cmp_struct_05_03): Likewise.
7247 (cmp_struct_05_04): Likewise.
7248 (call_all): Add new structs.
7249 * gdb.base/infcall-nested-structs.exp: Likewise.
7250
3bf9c013
JV
72512018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
7252
7253 * gdb.python/py-framefilter-mi.exp: Update regexp to
7254 check for "arch" field in frame output.
7255
450d1e88
KB
72562018-08-23 Kevin Buettner <kevinb@redhat.com>
7257
7258 * gdb.dwarf2/dw2-ranges-func.c: New file.
7259 * gdb.dwarf2/dw2-ranges-func.exp: New file.
7260
ae739fe7
SM
72612018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
7262
7263 * gdb.base/term.exp: Compare terminal settings with values from
7264 the inferior.
7265 * gdb.base/term.c: Get and set terminal settings.
7266
6d52907e
JV
72672018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
7268
7269 * lib/mi-support.exp (mi_expect_stop): Update regexp to
7270 accommodate new "arch" field in frame output.
7271 * gdb.mi/mi-return.exp: Likewise.
7272 * gdb.mi/mi-stack.exp: Likewise.
7273 * gdb.mi/mi-syn-frame.exp: Likewise.
7274 * gdb.mi/user-selected-context-sync.exp: Likewise.
7275
be2d111a
MS
72762018-08-19 Michael Spang <spang@google.com>
7277
7278 PR gdb/11786
7279 * gdb.base/gcore-tls-pie.c: New file.
7280 * gdb.base/gcore-tls-pie.exp: New file.
7281
ae3a7c47
KB
72822018-08-18 Kevin Buettner <kevinb@redhat.com>
7283
7284 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
7285 * gdb.dwarf2/varval.c: New file.
7286 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 7287
2ecae92e
AH
72882018-08-17 Alan Hayward <alan.hayward@arm.com>
7289
7290 PR gdb/18931
7291 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
7292
c1854f1d
KS
72932018-08-16 Keith Seitz <keiths@redhat.com>
7294
7295 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
7296 tests expected to pass.
7297
26fb3983
JV
72982018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
7299
7300 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
7301 -data-disassemble -a.
7302 (test_disassembly_bogus_args): Likewise.
7303
67943c00
AB
73042018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
7305
7306 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
7307
5ff2bbae
AB
73082018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7309
7310 * gdb.base/vla-optimized-out.exp: Add new test.
7311
e5bbcd0f
AB
73122018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7313
7314 * gdb.base/vla-optimized-out-o3.exp: Delete.
7315 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
7316 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
7317 deleted tests.
7318
9d4a934c
AB
73192018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
7320
7321 PR gdb/18050:
7322 * gdb.server/extended-remote-restart.c: New file.
7323 * gdb.server/extended-remote-restart.exp: New file.
7324
045cf012
SM
73252018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
7326
7327 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
7328 "set variable index = 42".
7329
87d6a7aa
SM
73302018-08-07 Simon Marchi <simon.marchi@ericsson.com>
7331
7332 * boards/index-cache-gdb.exp: New file.
7333 * gdb.dwarf2/index-cache.exp: New file.
7334 * gdb.dwarf2/index-cache.c: New file.
7335 * gdb.base/maint.exp: Check if we are using the index cache.
7336
96d68bd4
RO
73372018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7338
7339 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
7340 MAKEFLAGS.
7341
5a699617
RO
73422018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7343
7344 * dg-extract-results.sh: Move to toplevel contrib.
7345 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
7346 * Makefile.in (check-parallel-racy): Likewise.
7347
5bd18990
AB
73482018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
7349
7350 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
7351 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
7352 tests if the target supports scheduler locking.
7353
3fbbcf47
TV
73542018-08-04 Tom de Vries <tdevries@suse.de>
7355
7356 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
7357
3e1d3d8c
TT
73582018-08-02 Tom Tromey <tom@tromey.com>
7359
7360 PR symtab/16842.
7361 * gdb.cp/temargs.exp: Test "info address" of a template
7362 parameter.
7363
5abe0f0c
JV
73642018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
7365
7366 * gdb.python/py-mi-var-info-path-expression.c: New file.
7367 * gdb.python/py-mi-var-info-path-expression.py: New file.
7368 * gdb.python/py-mi-var-info-path-expression.exp: New file.
7369
fb66cde8
SDJ
73702018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
7371
7372 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
7373 error after "cannot resolve name" string.
7374
c708f4d2
AB
73752018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
7376
7377 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
7378 started.
7379 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
7380
37cc0cae
TV
73812018-07-28 Tom de Vries <tdevries@suse.de>
7382
7383 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
7384
63b4ecf7
TV
73852018-07-26 Tom de Vries <tdevries@suse.de>
7386
7387 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
7388
3c3bb058
AB
73892018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
7390
7391 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
7392 is visible.
7393
9e7f3bbb
TV
73942018-07-26 Tom de Vries <tdevries@suse.de>
7395
7396 PR breakpoints/23366
7397 * gdb.base/catch-follow-exec.c: New test.
7398 * gdb.base/catch-follow-exec.exp: New file.
7399
16f808ec
TV
74002018-07-25 Tom de Vries <tdevries@suse.de>
7401
7402 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
7403 vla-optimized-out.c.
7404
d7154a8d
JV
74052018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
7406
7407 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
7408 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
7409
232a0032
TV
74102018-07-20 Tom de Vries <tdevries@suse.de>
7411
7412 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
7413 NOCLONE macro.
7414 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
7415
fbb1d502
TV
74162018-07-19 Tom de Vries <tdevries@suse.de>
7417
7418 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
7419 regular expression.
7420
42dc7699
TV
74212018-07-18 Tom de Vries <tdevries@suse.de>
7422
7423 * gdb.base/vla-optimized-out.c: New test.
7424 * gdb.base/vla-optimized-out.exp: New file.
7425
7f1f7e23
SDJ
74262018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
7427
7428 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
7429 message "No address associated with hostname" when gdbserver
7430 cannot resolve the hostname.
7431
5759ebb3
PW
74322018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7433
7434 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
7435 Add some test prefixes to make tests unique.
7436
3606ccab
PW
74372018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7438
7439 * gdb.base/frameapply.c: New file.
7440 * gdb.base/frameapply.exp: New file.
7441
529c08b2
PW
74422018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7443
7444 * gdb.base/skip.exp: Update expected error message.
7445
c7ab0aef
SDJ
74462018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7447 Jan Kratochvil <jan.kratochvil@redhat.com>
7448 Paul Fertser <fercerpav@gmail.com>
7449 Tsutomu Seki <sekiriki@gmail.com>
7450
7451 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
7452 parameter.
7453 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
7454 by default.
7455 * boards/native-gdbserver.exp: Likewise.
7456 * gdb.server/run-without-local-binary.exp: Improve regexp used
7457 for detecting when a remote debugging connection succeeds.
7458 * gdb.server/server-connect.exp: New file.
7459 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
7460 Do not prefix the port number with ":".
7461 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
7462 support for detecting and using it. Add '$debughost_gdbserver'
7463 to the list of arguments used to start gdbserver. Handle case
7464 when gdbserver cannot resolve a network name.
7465
16ff70dd
SDJ
74662018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7467
7468 PR c++/23373
7469 * gdb.base/ptype-offsets.cc (struct static_member): New
7470 struct.
7471 (main) <stmember>: New variable.
7472 * gdb.base/ptype-offsets.exp: Add test for printing a struct
7473 with a static member in it.
7474
3541979f
AB
74752018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
7476
7477 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
7478 watchpoints enabled and disabled.
7479
c8ad9b9a
AB
74802018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7481
7482 * gdb.base/examine-backward.exp: Still run tests around address
7483 0x0, even if address 0x0 is not readable. Update the pattern for
7484 matching address 0x0 in expected output.
7485
e0e5e971
AB
74862018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
7487
7488 * gdb.base/share-env-with-gdbserver.c (main): Add call to
7489 malloc/free.
7490
1ea5da02
TV
74912018-07-04 Tom de Vries <tdevries@suse.de>
7492
7493 * gdb.dwarf2/dw2-error.exp: Update expected error message.
7494
471b9d15
MR
74952018-07-02 Maciej W. Rozycki <macro@mips.com>
7496
7497 PR tdep/8282
7498 * gdb.arch/mips-disassembler-options.exp: New test.
7499 * gdb.arch/mips-disassembler-options.s: New test source.
7500
75acb486
PA
75012018-06-29 Pedro Alves <palves@redhat.com>
7502
7503 * gdb.threads/names.exp: Adjust expected "info threads" output.
7504
cd2bb709
PA
75052018-06-29 Pedro Alves <palves@redhat.com>
7506
7507 * gdb.opt/inline-break.exp (line number, address): Add "info
7508 break" tests.
7509
991ff292
PA
75102018-06-29 Pedro Alves <palves@redhat.com>
7511
7512 * gdb.opt/inline-break.c (func1): Add "break here" marker.
7513 * gdb.opt/inline-break.exp: Test setting breakpoints by line
7514 number and address and running to them.
7515
356819b6 75162018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
7517
7518 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
7519
2512d7ef
JK
75202018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7521
7522 * lib/compiler.c: Remove executable permission flag.
7523
be1b6474
RB
75242018-06-28 Richard Bunt <richard.bunt@arm.com>
7525
7526 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
7527 code.
7528 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
7529
291f9a96
PT
75302018-06-28 Petr Tesarik <ptesarik@suse.cz>
7531
7532 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
7533
ed6dfe51
PT
75342018-06-28 Petr Tesarik <ptesarik@suse.cz>
7535
7536 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
7537 address argument is omitted.
7538
d4d429d5
PT
75392018-06-28 Petr Tesarik <ptesarik@suse.cz>
7540
7541 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
7542
7ab6656f
OJ
75432018-06-27 Omair Javaid <omair.javaid@linaro.org>
7544
7545 PR gdb/21695
7546 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
7547 * gdb.base/infoline-reloc-main-from-zero.c: New file.
7548
a33ccfc7
TT
75492018-06-26 Tom Tromey <tom@tromey.com>
7550
7551 PR rust/22574:
7552 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
7553 * gdb.rust/simple.rs (struct SimpleLayout): New.
7554
6d72d289
SM
75552018-06-22 Simon Marchi <simon.marchi@ericsson.com>
7556
7557 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
7558 "info registers" output.
7559
8363f9d5
RB
75602018-06-21 Richard Bunt <richard.bunt@arm.com>
7561
7562 * gdb.base/watchpoint-hw-attach.c: New test.
7563 * gdb.base/watchpoint-hw-attach.exp: New file.
7564
f00674fe
SM
75652018-06-20 Simon Marchi <simon.marchi@ericsson.com>
7566
7567 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
7568 through /bin/sh.
7569 * boards/dwarf4-gdb-index.exp: Likewise.
7570 * boards/fission-dwp.exp: Likewise.
7571
1d554008
UW
75722018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
7573
7574 * gdb.base/float128.exp: Add comment and improved fail message
7575 to the failure case of "print large128" test.
7576
d0ac1c44
SM
75772018-06-19 Simon Marchi <simon.marchi@ericsson.com>
7578
7579 * configure.ac: Remove AC_PREREQ.
7580 * configure: Re-generate.
7581
61b04dd0
PA
75822018-06-19 Pedro Alves <palves@redhat.com>
7583
7584 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
7585 (func_extern_caller): New.
7586 (main): Call func_extern_caller.
7587 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
7588 logic change.
7589
f63b508a
SM
75902018-06-18 Weimin Pan <weimin.pan@oracle.com>
7591
7592 PR gdb/16841
7593 * gdb.cp/typedef-base.cc: New file.
7594 * gdb.cp/typedef-base.exp: New file.
7595
0fe3a558
TV
75962018-06-18 Tom de Vries <tdevries@suse.de>
7597
7598 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
7599
7010835a
AB
76002018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7601 Richard Bunt <Richard.Bunt@arm.com>
7602
7603 * gdb.threads/attach-slow-waitpid.c: New file.
7604 * gdb.threads/attach-slow-waitpid.exp: New file.
7605 * gdb.threads/slow-waitpid.c: New file.
7606
14897d65
PA
76072018-06-14 Pedro Alves <palves@redhat.com>
7608
7609 * gdb.base/fork-running-state.c: Include <errno.h>.
7610 (exit_if_relative_exits): New.
7611 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
7612 exits.
7613 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
7614 child exits.
7615
5d9a0608
TV
76162018-06-14 Tom de Vries <tdevries@suse.de>
7617
7618 PR cli/22573
7619 * gdb.base/finish-pretty.c: New test.
7620 * gdb.base/finish-pretty.exp: New file.
7621
11ae5818
PA
76222018-06-14 Pedro Alves <palves@redhat.com>
7623
7624 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
7625 gdb's expected startup output.
7626
1d39de44
PA
76272018-06-14 Pedro Alves <palves@redhat.com>
7628
7629 * lib/selftest-support.exp (selftest_setup): Remove inlined
7630 function handling.
7631
70ee0000
TV
76322018-06-14 Tom de Vries <tdevries@suse.de>
7633
7634 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
7635 matching of breakpoint printing.
7636
11f4b608
TV
76372018-06-13 Tom de Vries <tdevries@suse.de>
7638
7639 PR testsuite/23269
7640 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
7641 (fork_child): ... here, and ...
7642 (fork_parent): ... here.
7643
76442018-06-12 Tom de Vries <tdevries@suse.de>
7645
7646 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
7647
9516f85a
AB
76482018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
7649 Stephen Roberts <stephen.roberts@arm.com>
7650
7651 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
7652 rewrite test to describe action performed, rather than possible
7653 failure.
7654
5045b3d7
GB
76552018-06-08 Gary Benson <gbenson@redhat.com>
7656
7657 * gdb.threads/check-libthread-db.exp: New file.
7658 * gdb.threads/check-libthread-db.c: Likewise.
7659
c61b06a1
TT
76602018-06-05 Tom Tromey <tom@tromey.com>
7661
7662 * gdb.base/default.exp: Update expected "show version" output.
7663
eb6af809
TT
76642018-06-05 Tom Tromey <tom@tromey.com>
7665
7666 PR cli/12326:
7667 * gdb.cp/static-print-quit.exp: Update.
7668 * lib/gdb.exp (pagination_prompt): Update.
7669 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
7670 * gdb.python/python.exp: Update.
7671
178d6a63
JB
76722018-06-04 Joel Brobecker <brobecker@adacore.com>
7673
7674 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
7675
8e817061
JB
76762018-06-01 Joel Brobecker <brobecker@adacore.com>
7677
7678 * gdb.ada/bp_fun_addr: New testcase.
7679
e86ca25f
TT
76802018-06-01 Tom Tromey <tom@tromey.com>
7681
7682 * gdb.xml/tdesc-regs.exp (load_description): Update expected
7683 results.
7684 * gdb.dwarf2/method-ptr.exp: Set language to C++.
7685 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
7686 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
7687 * gdb.base/maint.exp (maint_pass_if): Update.
7688
4b2dfa9d
MR
76892018-05-31 Maciej W. Rozycki <macro@mips.com>
7690
7691 * gdb.base/endian.exp: New test.
7692 * gdb.base/endian.c: New test source.
7693
45f25d6c
AB
76942018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
7695
7696 PR gdb/23203
7697 * gdb.base/bt-selected-frame.c: New file.
7698 * gdb.base/bt-selected-frame.exp: New file.
7699 * lib/gdb.exp (get_current_frame_number): New function.
7700
d9f6d7f8
MR
77012018-05-24 Maciej W. Rozycki <macro@mips.com>
7702 Pedro Alves <palves@redhat.com>
7703
7704 * gdb.threads/tls-core.c: Include <stdlib.h>
7705 (thread_proc): Call `abort'.
7706 * gdb.threads/tls-core.exp: Generate a core with core_find too.
7707 (tls_core_test): New procedure, bits factored out from ...
7708 (top level): ... here. Test both native cores and gcore cores.
7709
ff1cf532
TT
77102018-05-23 Tom Tromey <tom@tromey.com>
7711
7712 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
7713
b98664d3
TT
77142018-05-23 Tom Tromey <tom@tromey.com>
7715
7716 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
7717 symfile_complaints.
7718 (test_short_complaints): Likewise.
7719 (test_empty_complaints): Likewise.
7720 (test_initial_complaints): Update.
7721
4e9668d0
TT
77222018-05-23 Tom Tromey <tom@tromey.com>
7723
7724 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
7725
43ba33c7
TT
77262018-05-23 Tom Tromey <tom@tromey.com>
7727
7728 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
7729 (test_short_complaints): Update.
7730
035522c0
PA
77312018-05-22 Pedro Alves <palves@redhat.com>
7732
7733 * gdb.base/remote.exp: Only gdb_start after compiling the
7734 testcase. Issue "disconnect" before testing "set remote" command
7735 defaults. Issue clean_restart before running to main.
7736
cc0be08f
PA
77372018-05-22 Pedro Alves <palves@redhat.com>
7738
7739 * gdb.base/remote.exp: Adjust expected output of "show remote
7740 memory-write-packet-size". Add tests for "set remote
7741 memory-write-packet-size 0" and "set remote
7742 memory-write-packet-size fixed/limit".
7743
b1b60145
PA
77442018-05-22 Pedro Alves <palves@redhat.com>
7745
7746 PR gdb/22973
7747 * gdb.base/utf8-identifiers.c: New file.
7748 * gdb.base/utf8-identifiers.exp: New file.
7749
0ec848ad
PFC
77502018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7751
7752 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
7753
2c3305f6
PFC
77542018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7755
7756 * gdb.arch/powerpc-vsx-gcore.exp: New file.
7757
ce1e8424
TT
77582018-05-18 Tom Tromey <tom@tromey.com>
7759
7760 * gdb.base/ptype-offsets.exp: Update.
7761
ddfe970e
KS
77622018-05-17 Keith Seitz <keiths@redhat.com>
7763
7764 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
7765 in expected breakpoint stop locations.
7766 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
7767 move to proper scope to test variable values.
7768 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
7769 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
7770 New functions.
7771 (main): Call not_inline_func3.
7772 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
7773 inline_func1, inline_func2, and inline_func3. Test that when each
7774 breakpoint is hit, GDB properly reports both the stop location
7775 and the backtrace. Repeat tests for temporary breakpoints.
7776
0726fcc6
MR
77772018-05-15 Maciej W. Rozycki <macro@mips.com>
7778
7779 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
7780 rather then trying to access it in determining whether the PID
7781 of `gdbserver' could have been retrieved.
7782
8ee22052
AB
77832018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
7784
7785 * gdb.arch/amd64-init-x87-values.S: New file.
7786 * gdb.arch/amd64-init-x87-values.exp: New file.
7787
7785df48
JK
77882018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7789
7790 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
7791
56bcdbea
TT
77922018-05-04 Tom Tromey <tom@tromey.com>
7793
7794 PR python/22730:
7795 * gdb.python/python.exp: Test multi-line execute.
7796
a913fffb
TT
77972018-05-04 Tom Tromey <tom@tromey.com>
7798
7799 PR python/22731:
7800 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
7801
7a2c85f2
TT
78022018-05-04 Tom Tromey <tom@tromey.com>
7803
7804 PR gdb/11750:
7805 * gdb.base/define.exp: Test defining a user command inside a user
7806 command.
7807 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
7808
a3b60e45
JK
78092018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7810 Pedro Alves <palves@redhat.com>
7811
7812 PR breakpoints/19806 and support for PR external/20207.
7813 * gdb.base/watchpoint-unaligned.c: New file.
7814 * gdb.base/watchpoint-unaligned.exp: New file.
7815
45fe4a03
AB
78162018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7817
7818 * gdb.base/maint.exp: Make test names unique, use
7819 test_prefix_command_help to test 'help maint info', and remove
7820 repeated test of 'help maint'.
7821
9be2ae8f
TT
78222018-05-04 Tom Tromey <tom@tromey.com>
7823
7824 PR gdb/22619:
7825 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
7826 behavior.
7827
11859c31
AB
78282018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7829
7830 * gdb.base/maint.exp: Process output from 'maint print registers'
7831 line at a time.
7832
089a9490
AB
78332018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7834
7835 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
7836 timeout.
7837
9b0797e2
AB
78382018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
7839
7840 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
7841 filter pattern.
7842
f6ac5f3d
PA
78432018-05-02 Pedro Alves <palves@redhat.com>
7844
7845 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
7846 to_log_command renames.
7847 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7848
77d3c63b
TT
78492018-05-02 Tom Tromey <tom@tromey.com>
7850
7851 * gdb.python/py-parameter.exp: Set test message.
7852
0489430a
TT
78532018-05-02 Tom Tromey <tom@tromey.com>
7854
7855 PR python/20084:
7856 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
7857 PARAM_ZUINTEGER_UNLIMITED tests.
7858
1632f8ba
DR
78592018-04-28 Dan Robertson <danlrobertson89@gmail.com>
7860
7861 PR rust/23124
7862 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
7863 when casting.
7864
6d7bb824
TT
78652018-04-30 Tom Tromey <tom@tromey.com>
7866
7867 * gdb.python/py-type.exp: Check align attribute.
7868 * gdb.python/py-type.c: New "aligncheck" global.
7869
007e1530
TT
78702018-04-30 Tom Tromey <tom@tromey.com>
7871
7872 PR exp/17095:
7873 * gdb.dwarf2/dw2-align.exp: New file.
7874 * gdb.cp/align.exp: New file.
7875 * gdb.base/align.exp: New file.
7876 * lib/gdb.exp (gdb_int128_helper): New proc.
7877 (has_int128_c, has_int128_cxx): New caching procs.
7878
6873858b
TT
78792018-04-27 Tom Tromey <tom@tromey.com>
7880
7881 PR rust/22545:
7882 * gdb.rust/simple.exp: Add inclusive range tests.
7883
79188d8d
PA
78842018-04-26 Pedro Alves <palves@redhat.com>
7885
7886 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
7887 ifunc breakpoint locations correctly of ifunc breakpoints set
7888 while the program resolves the ifunc.
7889
c7075ad5
PA
78902018-04-26 Pedro Alves <palves@redhat.com>
7891
7892 * gdb.base/gnu-ifunc-final.c: New file.
7893 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
7894 * gdb.base/gnu-ifunc.exp (executable): Delete.
7895 (staticexecutable): Adjust.
7896 (lib_opts, exec_opts): Delete.
7897 (make_binsuffix, build, set-break): New procedures.
7898 (misc_tests): New, with tests factored out from the top level.
7899 (top level): Test different combinations of ifunc resolver name,
7900 resolver with and with debug info, and ifunc target with and
7901 without debug info. Wrap static tests with with_target_prefix.
7902
8388016d
PA
79032018-04-26 Pedro Alves <palves@redhat.com>
7904
7905 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
7906 return type" warnings.
7907
249b5733
PA
79082018-04-25 Pedro Alves <palves@redhat.com>
7909
7910 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
7911 killed".
7912 * gdb.base/kill-after-signal.exp: Likewise.
7913 * gdb.threads/kill.exp: Likewise.
7914
f67c0c91
SDJ
79152018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7916 Sergio Durigan Junior <sergiodj@redhat.com>
7917 Pedro Alves <palves@redhat.com>
7918
7919 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
7920 regexps to expect for '[Inferior ... detached]' as well.
7921 * gdb.base/attach.exp: Likewise.
7922 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
7923 "gdb_continue_to_end".
7924 (test_catch_syscall_with_wrong_args): Likewise.
7925 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
7926 ']'. Don't set 'verbose' on.
7927 * gdb.base/foll-vfork.exp: Likewise.
7928 * gdb.base/fork-print-inferior-events.c: New file.
7929 * gdb.base/fork-print-inferior-events.exp: New file.
7930 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
7931 '[Inferior ... has been killed]' message.
7932 * gdb.base/kill-after-signal.exp: Likewise.
7933 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
7934 detach message.
7935 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
7936 message.
7937 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
7938 regexps to expect for '[Inferior ... detached]' as well.
7939 * gdb.threads/process-dies-while-detaching.exp: Likewise.
7940
0a8ddac4
SM
79412018-04-24 Simon Marchi <simon.marchi@ericsson.com>
7942
7943 PR gdb/23104
7944 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
7945
701adfb0
PA
79462018-04-22 Rajendra SY <rajendra.sy@gmail.com>
7947
7948 PR gdb/23095
7949 * gdb.base/break-probes.exp: Pass shlib_load to
7950 prepare_for_testing. Set normal_bp to r_debug_state if target is
7951 bsd.
7952
d27d16bf
RB
79532018-04-19 Richard Bunt <richard.bunt@arm.com>
7954
7955 * gdb.threads/multiple-successive-infcall.c: New test.
7956 * gdb.threads/multiple-successive-infcall.exp: New file.
7957
a037790e
TT
79582018-04-17 Tom Tromey <tom@tromey.com>
7959
7960 * gdb.rust/simple.rs (Union): New type.
7961 (main): New local "u".
7962 * gdb.rust/simple.exp (test_one_slice): Add new test case.
7963
e3a91079
AA
79642018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7965
7966 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
7967 number information in output of "whereis" command.
7968 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
7969
b744723f
AA
79702018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7971
7972 * gdb.ada/info_types.exp: Adjust expected output to the line
7973 numbers now printed by "info var/func/type".
7974 * gdb.base/completion.exp: Likewise.
7975 * gdb.base/included.exp: Likewise.
7976 * gdb.cp/cp-relocate.exp: Likewise.
7977 * gdb.cp/cplusfuncs.exp: Likewise.
7978 * gdb.cp/namespace.exp: Likewise.
7979 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
7980
4a4495d6
MM
79812018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7982
7983 * gdb.btrace/cpu.exp: New.
7984
1d509aa6
MM
79852018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7986
7987 * gdb.base/step-indirect-call-thunk.exp: New.
7988 * gdb.base/step-indirect-call-thunk.c: New.
7989 * gdb.reverse/step-indirect-call-thunk.exp: New.
7990 * gdb.reverse/step-indirect-call-thunk.c: New.
7991
6295b6da
SM
79922018-04-11 Simon Marchi <simon.marchi@ericsson.com>
7993
7994 * gdb.base/pie-fork.c: New file.
7995 * gdb.base/pie-fork.exp: New file.
7996
50146e70
TT
79972018-04-11 Tom Tromey <tom@tromey.com>
7998
7999 * gdb.rust/simple.exp: Add test for ".." struct initializer.
8000
f50d8a2e
PA
80012018-04-10 Pedro Alves <palves@redhat.com>
8002
8003 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
8004 exits. Instead loop running forever.
8005 (fork_parent): Run forever too.
8006
a0be7a36
SM
80072018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8008
8009 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
8010 mi_continue_to_line.
8011 * gdb.mi/mi-stack.c (callee4): Add comment.
8012
9b73db36
SM
80132018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8014
8015 * gdb.mi/mi-stack.exp: Fix indentation.
8016
c912f608
SM
80172018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8018
8019 PR gdb/22979
8020 * gdb.arch/amd64-osabi.exp: New file.
8021
26540402
SM
80222018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8023
8024 PR gdb/22980
8025 * gdb.base/osabi.exp: New file.
8026
121ad66c 80272018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
8028
8029 * gdb.cp/static-typedef-print.exp: New file.
8030 * gdb.cp/static-typedef-print.cc: New file.
8031
3fcded8f
JB
80322018-03-27 Joel Brobecker <brobecker@adacore.com>
8033
8034 * gdb.ada/varsize_limit: New testcase.
8035
59cc4834
JB
80362018-03-27 Joel Brobecker <brobecker@adacore.com>
8037
8038 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
8039
8040 * gdb.ada/notcplusplus: New testcase.
8041
8042 * gdb.base/c-linkage-name.c: New file.
8043 * gdb.base/c-linkage-name.exp: New testcase.
8044
4ca59a9f
TT
80452018-03-26 Tom Tromey <tom@tromey.com>
8046
8047 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
8048 * gdb.python/py-framefilter.py (name_error): New global.
8049 (ErrorInName.function): Use name_error.
8050
978d6c75
TT
80512018-03-26 Tom Tromey <tom@tromey.com>
8052
8053 PR backtrace/15582:
8054 * gdb.python/py-framefilter.exp: Add "bt hide" test.
8055
b7fee5a3
KS
80562018-03-23 Keith Seitz <keiths@redhat.com>
8057
8058 PR c++/22968
8059 * gdb.cp/subtypes.exp: New file.
8060 * gdb.cp/subtypes.h: New file.
8061 * gdb.cp/subtypes.cc: New file.
8062 * gdb.cp/subtypes-2.cc: New file.
8063
376be529
AB
80642018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8065
8066 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
8067 (done): Call '_exit' not 'exit' to avoid atexit handlers.
8068 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
8069 -nostartfiles when compiling the test. Confirm that all registers
8070 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
8071
066cfa98
AB
80722018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8073
8074 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
8075 option, syntax was wrong anyway.
8076 * gdb.arch/arm-disp-step.exp: Likewise.
8077 * gdb.arch/sparc64-regs.exp: Likewise.
8078 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
8079 option, syntax was wrong anyway, switch to use
8080 prepare_for_testing.
8081 * gdb.arch/i386-disp-step.exp: Likewise.
8082
079670b9
AA
80832018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
8084
8085 * gdb.ada/exec_changed.exp: Replace "target_info exists
8086 use_gdb_stub" by "use_gdb_stub".
8087 * gdb.ada/start.exp: Likewise.
8088 * gdb.base/async-shell.exp: Likewise.
8089 * gdb.base/attach-pie-misread.exp: Likewise.
8090 * gdb.base/attach-wait-input.exp: Likewise.
8091 * gdb.base/break-entry.exp: Likewise.
8092 * gdb.base/break-interp.exp: Likewise.
8093 * gdb.base/dprintf-detach.exp: Likewise.
8094 * gdb.base/nostdlib.exp: Likewise.
8095 * gdb.base/solib-nodir.exp: Likewise.
8096 * gdb.base/statistics.exp: Likewise.
8097 * gdb.base/testenv.exp: Likewise.
8098 * gdb.mi/mi-exec-run.exp: Likewise.
8099 * gdb.mi/mi-start.exp: Likewise.
8100 * gdb.multi/dummy-frame-restore.exp: Likewise.
8101 * gdb.multi/multi-arch-exec.exp: Likewise.
8102 * gdb.multi/multi-arch.exp: Likewise.
8103 * gdb.multi/tids.exp: Likewise.
8104 * gdb.multi/watchpoint-multi.exp: Likewise.
8105 * gdb.python/py-events.exp: Likewise.
8106 * gdb.threads/attach-into-signal.exp: Likewise.
8107 * gdb.threads/attach-stopped.exp: Likewise.
8108 * gdb.threads/threadapply.exp: Likewise.
8109 * lib/selftest-support.exp: Likewise.
8110
26d6cec4
AA
81112018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
8112
8113 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
8114
4ee89e90
SR
81152018-03-20 Stephen Roberts <stephen.roberts@arm.com>
8116
8117 * gdb.perf/template-breakpoints.cc: New file.
8118 * gdb.perf/template-breakpoints.exp: New file.
8119 * gdb.perf/template-breakpoints.py: New file.
8120
92630041
TT
81212018-03-19 Tom Tromey <tom@tromey.com>
8122
8123 * gdb.rust/simple.rs (main): Add local variables field1, field2,
8124 y0.
8125 * gdb.rust/simple.exp: Test bare identifier form of struct
8126 initializer.
8127
76727919
TT
81282018-03-19 Tom Tromey <tom@tromey.com>
8129
8130 * gdb.gdb/observer.exp: Remove.
8131
194ed413
AA
81322018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8133
8134 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
8135 "qualified" option when setting breakpoints.
8136 * gdb.trace/backtrace.exp: Likewise.
8137 * gdb.trace/circ.exp: Likewise.
8138 * gdb.trace/collection.exp: Likewise.
8139 * gdb.trace/disconnected-tracing.exp: Likewise.
8140 * gdb.trace/ftrace-lock.exp: Likewise.
8141 * gdb.trace/ftrace.exp: Likewise.
8142 * gdb.trace/infotrace.exp: Likewise.
8143 * gdb.trace/packetlen.exp: Likewise.
8144 * gdb.trace/passc-dyn.exp: Likewise.
8145 * gdb.trace/qtro.exp: Likewise.
8146 * gdb.trace/read-memory.exp: Likewise.
8147 * gdb.trace/report.exp: Likewise.
8148 * gdb.trace/signal.exp: Likewise.
8149 * gdb.trace/status-stop.exp: Likewise.
8150 * gdb.trace/strace.exp: Likewise.
8151 * gdb.trace/tfind.exp: Likewise.
8152 * gdb.trace/trace-break.exp: Likewise.
8153 * gdb.trace/trace-condition.exp: Likewise.
8154 * gdb.trace/trace-mt.exp: Likewise.
8155 * gdb.trace/tstatus.exp: Likewise.
8156 * gdb.trace/tsv.exp: Likewise.
8157 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8158 * gdb.trace/unavailable.exp: Likewise.
8159 * gdb.trace/while-dyn.exp: Likewise.
8160
8b067d2c
AA
81612018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8162
8163 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
8164 that libinproctrace is copied to the target.
8165
3ae9ce5d
TT
81662018-03-14 Tom Tromey <tom@tromey.com>
8167
8168 PR cli/14977:
8169 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
8170 a null pointer.
8171 * gdb.base/wchar.exp: Likewise.
8172
b8c2339b
TT
81732018-03-14 Tom Tromey <tom@tromey.com>
8174
8175 PR cli/19918:
8176 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
8177 flag.
8178
4872dc46
SM
81792018-03-08 Simon Marchi <simon.marchi@ericsson.com>
8180
8181 PR gdb/22841
8182 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
8183 "target" to remote_exec.
8184
e4fe3756
SM
81852018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
8186
8187 PR gdb/22841
8188 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
8189 ${board}_upload): Remove.
8190
e95a97d4
AA
81912018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
8192
8193 * gdb.cp/watch-cp.cc: New test.
8194 * gdb.cp/watch-cp.exp: New file.
8195
dbbb1059
AB
81962018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8197
8198 * gdb.base/infcall-nested-structs.exp: New file.
8199 * gdb.base/infcall-nested-structs.c: New file.
8200 * gdb.base/float.exp: Add riscv support.
8201
ecc054c0
TP
82022018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
8203
8204 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
8205 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
8206
25e3c82c
SDJ
82072018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
8208
8209 * gdb.server/abspath.exp: New file.
8210 * lib/gdb.exp (with_cwd): New procedure.
8211
3083294d
SM
82122018-02-28 Simon Marchi <simon.marchi@ericsson.com>
8213
8214 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
8215 use it.
8216 (gdb_is_target_remote_prompt): New proc.
8217 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
8218 (gdb_is_target_native): Pass prompt parameter to
8219 gdb_is_target_1.
8220
3275ef47
SM
82212018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
8222
8223 * gdb.base/load-command.c: New file.
8224 * gdb.base/load-command.exp: New file.
8225 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
8226 (gdb_is_target_1): ...this, and generalize for other targets
8227 than just remote.
8228 (gdb_is_target_remote): Use gdb_is_target_1.
8229 (gdb_is_target_native): use gdb_is_target_1.
8230
6893c19a
TT
82312018-02-26 Tom Tromey <tom@tromey.com>
8232
8233 PR python/16497:
8234 * gdb.python/py-framefilter.exp: Update test.
8235
2ddeaf8a
TT
82362018-02-26 Tom Tromey <tom@tromey.com>
8237
8238 * gdb.dwarf2/variant.c: New file.
8239 * gdb.dwarf2/variant.exp: New file.
8240
c9317f21
TT
82412018-02-26 Tom Tromey <tom@tromey.com>
8242
8243 * gdb.rust/simple.exp: Accept more possible results in enum test.
8244
6f6d0c26
SM
82452018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
8246
8247 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
8248 parentheses.
8249
11b03145
MR
82502018-02-23 Maciej W. Rozycki <macro@mips.com>
8251
8252 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
8253 name of a variable: $actual_linejj -> $actual_line.
8254
54a27fe5
JB
82552018-02-21 John Baldwin <jhb@FreeBSD.org>
8256
8257 * gdb.arch/amd64-i386-address.exp: Fix a typo.
8258
de65820c
MM
82592018-02-20 Markus Metzger <markus.t.metzger@intel.com>
8260
8261 * gdb.btrace/buffer-size.exp: Do not force BTS.
8262
980548fd
PA
82632018-02-14 Pedro Alves <palves@redhat.com>
8264
8265 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
8266 getting a "Quit".
8267
c4e12631
MM
82682018-02-09 Markus Metzger <markus.t.metzger@intel.com>
8269
8270 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
8271 Fix test name.
8272
c2e0e465
SM
82732018-02-07 Simon Marchi <simon.marchi@ericsson.com>
8274
8275 * gdb.cp/m-static.exp: Check type of optimized out static
8276 member.
8277
f7216783
AB
82782018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
8279
8280 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
8281 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
8282
0625771b
LS
82832018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
8284 Leszek Swirski <leszeks@google.com>
8285
8286 * gdb.python/py-prettyprint.c
8287 (struct to_string_returns_value_inner,
8288 struct to_string_returns_value_wrapper): New.
8289 (main): Add tsrvw variable.
8290 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
8291 ToStringReturnsValueWrapper): New classes.
8292 (register_pretty_printers): Register new pretty-printers.
8293 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
8294 recursive pretty printer.
8295 * gdb.python/py-mi.exp: Likewise.
8296
59498c30
LS
82972018-02-01 Leszek Swirski <leszeks@google.com>
8298
8299 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
8300 functions with the same name as an include file are parsed
8301 correctly.
8302
d4d38844
YQ
83032018-02-01 Yao Qi <yao.qi@linaro.org>
8304
8305 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
8306 "\[^\r\n\]*".
8307
07e5f5cf
NP
83082018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
8309
8310 * gdb.arch/powerpc-prologue-frame.s: New file.
8311 * gdb.arch/powerpc-prologue-frame.c: Likewise.
8312 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
8313
929b5ad4
JB
83142018-01-31 Joel Brobecker <brobecker@adacore.com>
8315
8316 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
8317
e671cd59
PA
83182018-01-30 Pedro Alves <palves@redhat.com>
8319
8320 PR gdb/13211
8321 * gdb.base/interrupt-daemon.c: New.
8322 * gdb.base/interrupt-daemon.exp: New.
8323 * gdb.multi/multi-term-settings.c: New.
8324 * gdb.multi/multi-term-settings.exp: New.
8325
fc413dc4
JB
83262018-01-30 Joel Brobecker <brobecker@adacore.com>
8327
8328 * gdb.base/break.exp: Save the location where the breakpoint
8329 on break.c:47 was actually inserted when debugging the version
8330 compiled at -O2 and use it in the expected output of the "info
8331 break" test performed soon after.
8332
5c319bb2
PA
83332018-01-22 Pedro Alves <palves@redhat.com>
8334 Sergio Durigan Junior <sergiodj@redhat.com>
8335
8336 * gdb.base/whatis.exp: Add tests for 'set print object on' +
8337 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
8338
a9e40818
JB
83392018-01-22 Joel Brobecker <brobecker@adacore.com>
8340
8341 * gdb.base/break-include.c, gdb.base/break-include.inc,
8342 gdb.base/break-include.exp: New files.
8343 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
8344 line number now being the actual line number where the breakpoint
8345 was inserted.
8346 * gdb.mi/mi-break.exp: Likewise.
8347 * gdb.mi/mi-reverse.exp: Likewise.
8348 * gdb.mi/mi-simplerun.exp: Ditto.
8349
e707fc44
AB
83502018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8351
8352 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
8353 varobj.
8354 * gdb.mi/mi-var-create-rtti.exp: Likewise.
8355
ae451627
AB
83562018-01-21 Don Breazeal <donb@codesourcery.com>
8357 Andrew Burgess <andrew.burgess@embecosm.com>
8358
8359 * gdb.mi/basics.c: Add new global.
8360 * gdb.mi/mi-frame-regs.exp: New file.
8361 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
8362 case.
8363
b1b189e0
AB
83642018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8365
8366 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
8367 non-parameter, and on an unknown symbol.
8368
fcfcc376
TT
83692018-01-19 Tom Tromey <tom@tromey.com>
8370
8371 * gdb.rust/modules.rs (TWENTY_THREE): New global.
8372 * gdb.rust/modules.exp: Add ::-qualified lookup test.
8373
634c1c31
AA
83742018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8375
8376 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
8377 setrlimit and chdir to int.
8378
d6ad07fd
AA
83792018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8380
8381 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
8382 function.
8383 (my_tend): Likewise.
8384 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
8385 rationale of avoiding FP- and vector instructions.
8386
adf8243b
RK
83872018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
8388
8389 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
8390 "info reg" with "\[ \t\]*".
8391 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
8392 "\[ \t\]+".
8393 * gdb.arch/s390-multiarch.exp: Ditto.
8394 * gdb.base/pc-fp.exp: Ditto.
8395 * gdb.reverse/i386-precsave.exp: Ditto.
8396 * gdb.reverse/i386-reverse.exp: Ditto.
8397 * gdb.reverse/i387-env-reverse.exp: Ditto.
8398 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8399
dcc06925
AA
84002018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8401
8402 * lib/gdb.exp (gdb_compile): Re-enable use of
8403 universal_compile_options for languages other than Rust.
8404
25d4fd80
AA
84052018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8406
8407 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
8408
ee7f689e 84092018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
8410
8411 PR gdb/16577
8412 * gdb.base/solib-vanish.exp: New.
8413 * gdb.base/solib-vanish-main.c: New.
8414 * gdb.base/solib-vanish-lib1.c: New.
8415 * gdb.base/solib-vanish-lib2.c: New.
8416
d8447b6b
YQ
84172018-01-17 Yao Qi <yao.qi@linaro.org>
8418
8419 * gdb.compile/compile.exp: Match the address printed for
8420 frame in the output of command "bt".
8421
86d6a90c
TT
84222018-01-15 Tom Tromey <tom@tromey.com>
8423
8424 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
8425 compute sp_reg.
8426
cbcdb1aa
AB
84272018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8428
8429 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
8430 to prepare.
8431 (prepare): Return 0 on error, 1 on success.
8432
eea61984
PA
84332018-01-12 Pedro Alves <palves@redhat.com>
8434
8435 * gdb.base/continue-after-aborted-step-over.c: New.
8436 * gdb.base/continue-after-aborted-step-over.exp: New.
8437
6181e9c2
SM
84382018-01-11 Simon Marchi <simon.marchi@ericsson.com>
8439
8440 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
8441 options when not creating an executable.
8442
3cada740
PA
84432018-01-11 Pedro Alves <palves@redhat.com>
8444
8445 PR remote/22597
8446 * gdb.server/stop-reply-no-thread.c: New file.
8447 * gdb.server/stop-reply-no-thread.exp: New file.
8448
c63d3e8d
PA
84492018-01-10 Pedro Alves <palves@redhat.com>
8450
8451 PR gdb/22670
8452 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
8453 functions too. Test setting breakpoints and printing C functions
8454 with no debug info too.
8455 * gdb.ada/bp_c_mixed_case/qux.c: New file.
8456
d4c2a405
PA
84572018-01-10 Pedro Alves <palves@redhat.com>
8458
8459 PR gdb/22670
8460 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
8461 a fail.
8462
8825213e
PA
84632018-01-10 Pedro Alves <palves@redhat.com>
8464
8465 PR gdb/22670
8466 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
8467
605fd3c6
YQ
84682018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8469
8470 * gdb.server/unittest.exp: Match the output in non-development
8471 mode.
8472
1e5ded6c
YQ
84732018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8474
8475 * gdb.gdb/unittest.exp: Match output in non-development mode.
8476
30066b0b
JB
84772018-01-08 Joel Brobecker <brobecker@adacore.com>
8478
8479 * gdb.ada/access_tagged_param.exp: Relax expected output
8480 for value of "ObjL" in "continue" to pck.inspect breakpoint
8481 test.
8482
04bafb1e
XR
84832018-01-08 Joel Brobecker <brobecker@adacore.com>
8484
9f86398b
JB
8485 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
8486 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 8487
e379cee6
PA
84882018-01-05 Pedro Alves <palves@redhat.com>
8489
8490 PR gdb/18653
8491 * gdb.base/libsegfault.exp: New.
8492
de63c46b
PA
84932018-01-05 Joel Brobecker <brobecker@adacore.com>
8494
8495 PR gdb/22670
8496 * gdb.ada/access_tagged_param.exp: New file.
8497 * gdb.ada/access_tagged_param/foo.adb: New file.
8498
f98fc17b
PA
84992018-01-05 Pedro Alves <palves@redhat.com>
8500
8501 PR gdb/22670
8502 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
8503 exercise lower case too, and to exercise both full matching and
8504 wild matching.
8505
342f8240
JB
85062018-01-05 Joel Brobecker <brobecker@adacore.com>
8507
8508 * gdb.ada/rename_subscript_param: New testcase.
8509
7150d33c
JG
85102018-01-05 Jerome Guitton <guitton@adacore.com>
8511
8512 * gdb.ada/arr_acc_idx_w_gap: New testcase.
8513
cc0e770c
JB
85142018-01-05 Joel Brobecker <brobecker@adacore.com>
8515
8516 * gdb.ada/convvar_comp: New testcase.
8517
672a41aa 85182018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
8519
8520 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
8521 (My_Table): New global variable.
8522 * testsuite/gdb.ada/array_char_idx.exp: Add test.
8523
7365ec2f
JB
85242018-01-04 Joel Brobecker <brobecker@adacore.com>
8525
8526 PR gdb/22670
8527 * gdb.ada/maint_with_ada: New testcase.
8528
289483b6
JB
85292018-01-04 Joel Brobecker <brobecker@adacore.com>
8530
8531 PR gdb/22670
8532 * gdb.ada/bp_c_mixed_case: New testcase.
8533
344420da
JB
85342018-01-04 Joel Brobecker <brobecker@adacore.com>
8535
8536 PR gdb/22670
8537 * gdb.ada/complete.exp: Add "complete break ada" test.
8538
66fc87a0
JB
85392018-01-04 Joel Brobecker <brobecker@adacore.com>
8540
8541 PR gdb/22670
8542 * gdb.ada/info_addr_mixed_case: New testcase.
8543
9f757bf7
XR
85442018-01-03 Xavier Roirand <roirand@adacore.com>
8545
8546 * gdb.ada/excep_handle.exp: New testcase.
8547 * gdb.ada/excep_handle/foo.adb: New file.
8548 * gdb.ada/excep_handle/pck.ads: New file.
8549
bd570f80
JB
85502018-01-03 Joel Brobecker <brobecker@adacore.com>
8551
8552 * gdb.base/step-line.c: Add extra empty line in copyright header.
8553 * gdb.base/step-line.inp: Likewise.
8554
9fe561ab
JB
85552018-01-02 Joel Brobecker <brobecker@adacore.com>
8556
8557 * gdb.ada/dyn_stride.exp: Add slice test.
8558
a405673c
JB
85592018-01-02 Joel Brobecker <brobecker@adacore.com>
8560
8561 * gdb.ada/dyn_stride: New testcase.
8562
cef0f868
SH
85632017-12-27 Stafford Horne <shorne@gmail.com>
8564
8565 * gdb.xml/extra-regs.xml: Add example foo reggroup.
8566 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
8567
b67d92b0
SH
85682017-12-27 Stafford Horne <shorne@gmail.com>
8569
8570 * gdb.base/reggroups.c: New file.
8571 * gdb.base/reggroups.exp: New file.
8572
eccab96d
JB
85732017-12-18 Joel Brobecker <brobecker@adacore.com>
8574
8575 * gdb.dwarf2/ada-valprint-error.c: New file.
8576 * gdb.dwarf2/ada-valprint-error.exp: New file.
8577
0e2da9f0
JB
85782017-12-18 Joel Brobecker <brobecker@adacore.com>
8579
8580 * gdb.ada/assign_arr: New testcase.
8581
cb923fcc
XR
85822017-12-18 Xavier Roirand <roirand@adacore.com>
8583
8584 * gdb.ada/funcall_ptr: New testcase.
8585
7c161838
SDJ
85862017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8587
8588 PR cli/16224
8589 * gdb.base/ptype-offsets.cc: New file.
8590 * gdb.base/ptype-offsets.exp: New file.
8591
1af17fd9
YQ
85922017-12-15 Yao Qi <yao.qi@linaro.org>
8593
8594 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
8595 if XML is disabled.
8596
828d5846
XR
85972017-12-15 Xavier Roirand <roirand@adacore.com>
8598
8599 * gdb.ada/same_component_name: New testcase.
8600
79e8fcaa
JB
86012017-12-14 Joel Brobecker <brobecker@adacore.com>
8602
8603 * gdb.ada/str_binop_equal: New testcase.
8604
e05fa6f9
JB
86052017-12-14 Joel Brobecker <brobecker@adacore.com>
8606
8607 * gdb.ada/task_switch_in_core: New testcase.
8608
b89641ba
SM
86092017-12-13 Simon Marchi <simon.marchi@ericsson.com>
8610
8611 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
8612 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
8613 call test_bkpt_qualified.
8614 (test_bkpt_qualified): New proc.
8615
6892d2e4
PA
86162017-12-13 Pedro Alves <palves@redhat.com>
8617
8618 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
8619 Tighten regexp by matching with an anchor.
8620
a22ecf70
PA
86212017-12-13 Pedro Alves <palves@redhat.com>
8622
8623 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
8624 ("expression with namespace"): New set of tests.
8625 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
8626 (Nested::Test_NS::qux): New.
8627 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
8628 defaults to 'start_quote_char' and 'end_quote_char' parameters.
8629
9937536c
JB
86302017-12-13 Joel Brobecker <brobecker@adacore.com>
8631
8632 * gdb.base/server-del-break.c: New file.
8633 * gdb.base/server-del-break.exp: New file.
8634
fe49c6f5
SH
86352017-12-12 Stafford Horne <shorne@gmail.com>
8636
8637 * gdb.xml/tdesc-regs.exp: Add or1k support.
8638
c3d18620
SH
86392017-12-12 Stafford Horne <shorne@gmail.com>
8640
8641 * gdb.base/bp-permanent.c: Define nop of or1k.
8642
c5f9cfc8
JB
86432017-12-11 Joel Brobecker <brobecker@adacore.com>
8644
8645 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
8646 output with components being reordered.
8647
a9c135fc
JB
86482017-12-11 Joel Brobecker <brobecker@adacore.com>
8649
8650 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
8651 output with components being reordered.
8652
927aa2e7
JK
86532017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8654 Pedro Alves <palves@redhat.com>
8655
8656 * gdb.base/maint.exp (check for .gdb_index): Check also for
8657 .debug_names.
8658 * gdb.dlang/watch-loc.c (.debug_aranges): New.
8659 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
8660 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
8661 (.gdb_index used after symbol reloading): Support also .debug_names.
8662 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
8663
f17d9474
YQ
86642017-12-08 Yao Qi <yao.qi@linaro.org>
8665
8666 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8667 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
8668
a0de8c21
YQ
86692017-12-08 Yao Qi <yao.qi@linaro.org>
8670
8671 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8672 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
8673
a738ea1d
YQ
86742017-12-08 Yao Qi <yao.qi@linaro.org>
8675
8676 * gdb.arch/aarch64-tagged-pointer.c: New file.
8677 * gdb.arch/aarch64-tagged-pointer.exp: New file.
8678
1cd9a73b
SDJ
86792017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
8680
8681 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
8682 "int".
8683
fa6eb693
KS
86842017-12-07 Keith Seitz <keiths@redhat.com>
8685
8686 PR breakpoints/22569
8687 * gdb.linespec/ls-errs.exp: Change expected result of "break
8688 -source this file has spaces.c -line 3".
8689 Check that an explicit source file followed by whitespace is
8690 identified as an invalid explicit location.
8691
883fd55a
KS
86922017-12-07 Keith Seitz <keiths@redhat.com>
8693
8694 * gdb.cp/nested-types.cc: New file.
8695 * gdb.cp/nested-types.exp: New file.
8696 * lib/cp-support.exp: Load data-structures.exp library.
8697 (debug_cp_test_ptype_class): New global.
8698 (cp_ptype_class_verbose, next_line): New procedures.
8699 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
8700 Add and document new return value.
8701 Switch the list of lines to a queue.
8702 Add support for new `type' key for nested type definitions.
8703 Add debugging/troubleshooting messages.
8704 * lib/data-structures.exp: New file.
8705
ec72db3e
SM
87062017-12-07 Simon Marchi <simon.marchi@ericsson.com>
8707
8708 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
8709 with proc_with_prefix, don't use with_test_prefix.
8710
99598d71
TT
87112017-12-07 Tom Tromey <tom@tromey.com>
8712
8713 * gdb.base/break.exp: Add test for empty "commands".
8714
a8806230
YQ
87152017-12-07 Yao Qi <yao.qi@linaro.org>
8716
8717 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
8718 malloc and catch syscall.
8719
824cc835
PM
87202017-12-07 Phil Muldoon <pmuldoon@redhat.com>
8721
e79be6e5 8722 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
8723 tests for explicit locations.
8724
7cc244de
PA
87252017-12-06 Pedro Alves <palves@redhat.com>
8726
8727 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
8728 force-disabling XML descriptions.
8729
50a1fdd5
PA
87302017-12-04 Pedro Alves <palves@redhat.com>
8731
8732 PR gdb/22499
8733 * gdb.arch/amd64-disp-step-avx.S: New file.
8734 * gdb.arch/amd64-disp-step-avx.exp: New file.
8735
f0fb2488
PA
87362017-12-03 Pedro Alves <palves@redhat.com>
8737
8738 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
8739 and <string.h>.
8740 (parent_function): Print distinct messages when waitpid fails, or
8741 the child exits with a signal, or the child exits for an unhandled
8742 reason.
8743 * gdb.threads/process-dies-while-detaching.exp
8744 (detach_and_expect_exit): New 'inf_output_re' parameter and use
8745 it. Wait for both inferior output and GDB's prompt. Use an
8746 indirect spawn id list.
8747 (do_detach): New parameter 'child_exit'. Use it to compute
8748 expected inferior output.
8749 (test_detach, test_detach_watch, test_detach_killed_outside):
8750 Adjust to pass down the expected child exit kind.
8751
97cbe998
SDJ
87522017-12-01 Joel Brobecker <brobecker@adacore.com>
8753 Sergio Durigan Junior <sergiodj@redhat.com>
8754 Pedro Alves <palves@redhat.com>
8755
8756 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
8757
40fc416f
SDJ
87582017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
8759
8760 * gdb.base/relocate.exp: Add tests to guarantee that arguments
8761 to 'symbol-file' and 'add-symbol-file' can be
8762 position-independent.
8763
1cc75e92
YQ
87642017-12-01 Yao Qi <yao.qi@linaro.org>
8765
8766 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
8767 the URL in copyright header.
8768 * gdb.arch/aarch64-fp.exp: Likewise.
8769 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
8770 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
8771 * gdb.base/expand-psymtabs.exp: Likewise.
8772 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
8773 * gdb.fortran/common-block.exp: Likewise.
8774 * gdb.fortran/common-block.f90: Likewise.
8775 * gdb.fortran/logical.exp: Likewise.
8776 * gdb.fortran/vla-datatypes.f90: Likewise.
8777 * gdb.fortran/vla-sub.f90: Likewise.
8778
875fb7a7
JB
87792017-11-30 Joel Brobecker <brobecker@adacore.com>
8780
8781 * gdb.ada/repeat_dyn: New testcase.
8782
6f14765f
UW
87832017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8784
8785 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
8786 Update for changed thread numbering.
8787 * gdb.cell/bt.exp: Update for changed GDB output.
8788
f1af7b94
SM
87892017-11-30 Simon Marchi <simon.marchi@ericsson.com>
8790
8791 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
8792 setting isremote by hand.
8793 * boards/dwarf4-gdb-index.exp: Likewise.
8794 * boards/fission.exp: Likewise.
8795 * boards/stabs.exp: Likewise.
8796
e3919f3e
PA
87972017-11-30 Pedro Alves <palves@redhat.com>
8798
8799 * gdb.linespec/cpls-ops.exp
8800 (check_explicit_skips_function_argument): Extract the underlying
8801 type of size_t instead of hardcoding it.
8802
bd69330d
PA
88032017-11-29 Pedro Alves <palves@redhat.com>
8804
8805 PR c++/19436
8806 * gdb.linespec/cpls-abi-tag.cc: New file.
8807 * gdb.linespec/cpls-abi-tag.exp: New file.
8808
a20714ff
PA
88092017-11-29 Pedro Alves <palves@redhat.com>
8810
8811 * gdb.base/langs.exp: Use -qualified.
8812 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
8813 it.
8814 * gdb.cp/namespace.exp: Use -qualified.
8815 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
8816 (overload-3, template-overload, template-ret-type, const-overload)
8817 (const-overload-quoted, anon-ns, ambiguous-prefix): New
8818 procedures.
8819 (test_driver): Call them.
8820 * gdb.cp/save-bp-qualified.cc: New.
8821 * gdb.cp/save-bp-qualified.exp: New.
8822 * gdb.linespec/explicit.exp: Test -qualified.
8823 * lib/completion-support.exp (completion::explicit_opts_list): Add
8824 "-qualified".
8825 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
8826
f6f1d339
PM
88272017-11-29 Phil Muldoon <pmuldoon@redhat.com>
8828
8829 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
8830
02ca603a
TT
88312017-11-29 Tom Tromey <tom@tromey.com>
8832
8833 * gdb.base/relocate.exp: Update invalid argument test.
8834 Add new tests for invalid arguments.
8835
ed6c0bfb
TP
88362017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8837
8838 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
8839 Return 0 as a long.
8840 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
8841
f106e10e
TP
88422017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8843
8844 * gdb.cp/breakpoint.cc (bar): Set return type to void.
8845 * gdb.cp/psymtab-parameter.cc (func): Likewise.
8846 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
8847 func ().
8848 * gdb.cp/shadow.cc (B.func): Return 0.
8849
10329bb2
JB
88502017-11-27 Joel Brobecker <brobecker@adacore.com>
8851
8852 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
8853 expected output in gdb_expect call to allow the exception
8854 message to be present as well. Fix syntax confusion to avoid
8855 TCL thinking that exception_name is an array.
8856
617cd4bc
UW
88572017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
8858
8859 * gdb.arch/spu-info.c: Include <unistd.h>.
8860 (do_signal_test): Fix broken calls to write.
8861 * gdb.arch/spu-info.exp: Use prepare_for_testing.
8862 Fix checks for empty mailboxes. Update signal tests for corrected
8863 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
8864 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
8865 * gdb.cell/arch.exp: Use standard_output_file.
8866 * gdb.cell/break.exp: Likewise.
8867 * gdb.cell/bt.exp: Likewise.
8868 * gdb.cell/core.exp: Likewise.
8869 * gdb.cell/dwarfaddr.exp: Likewise.
8870 * gdb.cell/ea-cache.exp: Likewise.
8871 * gdb.cell/ea-standalone.exp: Likewise.
8872 * gdb.cell/f-regs.exp: Likewise.
8873 * gdb.cell/fork.exp: Likewise.
8874 * gdb.cell/gcore.exp: Likewise.
8875 * gdb.cell/mem-access.exp: Likewise.
8876 * gdb.cell/ptype.exp: Likewise.
8877 * gdb.cell/registers.exp: Likewise.
8878 * gdb.cell/sizeof.exp: Likewise.
8879 * gdb.cell/solib-symbol.exp: Likewise.
8880 * gdb.cell/solib.exp: Likewise.
617cd4bc 8881
a81aaca0
PA
88822017-11-25 Pedro Alves <palves@redhat.com>
8883
8884 * gdb.base/complete-empty.exp: New file.
8885 * gdb.base/completion.exp: Adjust.
8886
6a3c6ee4
PA
88872017-11-25 Pedro Alves <palves@redhat.com>
8888
8889 * gdb.linespec/cpls-ops.cc: New file.
8890 * gdb.linespec/cpls-ops.exp: New file.
8891 * lib/completion-support.exp (test_complete_prefix_range_re): New,
8892 factored out from ...
8893 (test_complete_prefix_range): ... this.
8894
8955eb2d
PA
88952017-11-24 Pedro Alves <palves@redhat.com>
8896
8897 * gdb.linespec/cpcompletion.exp: New file.
8898 * gdb.linespec/cpls-hyphen.cc: New file.
8899 * gdb.linespec/cpls.cc: New file.
8900 * gdb.linespec/cpls2.cc: New file.
8901 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
8902 test to use test_gdb_complete_unique. Add label completion,
8903 keyword completion and explicit location completion tests.
8904 * lib/completion-support.exp: New file.
8905
e547c119
JB
89062017-11-24 Joel Brobecker <brobecker@adacore.com>
8907
8908 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
8909 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
8910 when hitting an exception catchpoint.
8911
7c3c1aa8
YQ
89122017-11-22 Yao Qi <yao.qi@linaro.org>
8913
8914 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
8915
41bd68f5
SM
89162017-11-22 Simon Marchi <simon.marchi@ericsson.com>
8917
8918 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
8919 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
8920 * gdb.dwarf2/info-locals-optimized-out.c: New file.
8921
1daad298
YQ
89222017-11-22 Yao Qi <yao.qi@linaro.org>
8923
8924 * gdb.base/info-os.exp: Pass pthreads.
8925 * gdb.multi/multi-attach.exp: Likewise.
8926
88465e87
YQ
89272017-11-22 Yao Qi <yao.qi@linaro.org>
8928
8929 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
8930 compiler.
8931
dc196b23
YQ
89322017-11-22 Yao Qi <yao.qi@linaro.org>
8933
8934 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
8935 * gdb.base/break-interp.exp: Likewise.
8936 * gdb.base/jit-attach-pie.exp: Likewise.
8937
2400729e
UW
89382017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8939
8940 * gdb.base/float128.c (large128): New variable.
8941 * gdb.base/float128.exp: Add test to print largest __float128 value.
8942
7a26362d
UW
89432017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8944
8945 * gdb.arch/vsx-regs.exp: Update register content checks.
8946
ed0f4273
UW
89472017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
8948
8949 * gdb.arch/ppc-longdouble.exp: New file.
8950 * gdb.arch/ppc-longdouble.c: Likewise.
8951
a25d69c6
PA
89522017-11-21 Pedro Alves <palves@redhat.com>
8953
8954 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
8955
73fcf641
PA
89562017-11-20 Pedro Alves <palves@redhat.com>
8957
8958 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
8959 (long_double_typedef): New typedefs.
8960 Use DEF on double and long double.
8961 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
8962 cases.
8963 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
8964 and 'long_double_ptr_same_size' locals. Use them to decide
8965 whether cast from array/function to float is valid/invalid.
8966
71a3c369
TT
89672017-11-17 Tom Tromey <tom@tromey.com>
8968
8969 * gdb.rust/traits.rs: New file.
8970 * gdb.rust/traits.exp: New file.
8971
ced9779b
JB
89722017-11-17 Joel Brobecker <brobecker@adacore.com>
8973
8974 * gdb.ada/minsyms: New testcase.
8975
a0922d80
PA
89762017-11-16 Pedro Alves <palves@redhat.com>
8977
8978 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
8979 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
8980
ea04e54c
PA
89812017-11-16 Pedro Alves <palves@redhat.com>
8982
8983 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
8984 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
8985
e849ea89
PA
89862017-11-16 Pedro Alves <palves@redhat.com>
8987
8988 * gdb.server/reconnect-ctrl-c.c: New file.
8989 * gdb.server/reconnect-ctrl-c.exp: New file.
8990
d8ae99a7
PM
89912017-11-16 Phil Muldoon <pmuldoon@redhat.com>
8992
8993 * gdb.python/py-rbreak.exp: New file.
8994 * gdb.python/py-rbreak.c: New file.
8995 * gdb.python/py-rbreak-func2.c: New file.
8996
968a13f8
PA
89972017-11-16 Pedro Alves <palves@redhat.com>
8998
8999 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
9000 pattern.
9001 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
9002 GDB.
9003
71774bc9
SM
90042017-11-15 Simon Marchi <simon.marchi@ericsson.com>
9005
9006 * gdb.tui/completionn.exp (test_tab_completion): Add space in
9007 regex.
9008
ddbb44cf
SM
90092017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
9010
9011 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
9012 test names.
9013
584a564f
PA
90142017-11-09 Pedro Alves <palves@redhat.com>
9015
9016 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
9017 factored out from ...
9018 (top level): ... here, and adjusted to avoid expecting beyond the
9019 prompt in a single gdb_test_multiple.
9020
5ed7a928
PA
90212017-11-09 Pedro Alves <palves@redhat.com>
9022
9023 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
9024 output.
9025 * gdb.server/ext-attach.exp ("kill" test): Likewise.
9026 * gdb.server/ext-restart.exp ("kill" test): Likewise.
9027 * gdb.server/ext-run.exp ("kill" test): Likewise.
9028 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
9029
a60e0738
PA
90302017-11-09 Pedro Alves <palves@redhat.com>
9031
9032 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
9033 match till end of line.
9034
2c88253f
PA
90352017-11-09 Pedro Alves <palves@redhat.com>
9036
9037 * gdb.base/memattr.exp: Tighten regexes to match the end line.
9038
c7a38517
PA
90392017-11-09 Pedro Alves <palves@redhat.com>
9040
9041 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
9042 New procedures, factored out from ...
9043 (top level): ... here, and adjusted to avoid expecting beyond the
9044 prompt in one go.
9045
f29f4b6b
PA
90462017-11-09 Pedro Alves <palves@redhat.com>
9047
9048 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
9049 output. Fix '?' match.
9050
286acbb5
JB
90512017-11-08 Joel Brobecker <brobecker@adacore.com>
9052
9053 * gdb.ada/scoped_watch: New testcase.
9054 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
9055 which is actually correct.
9056 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
9057 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
9058
62d7ae92
PA
90592017-11-08 Pedro Alves <palves@redhat.com>
9060
9061 * gdb.gdb/complaints.exp (test_initial_complaints)
9062 (test_serial_complaints, test_short_complaints): Call
9063 complaint_internal instead of complaint.
9064
280ca31f
DT
90652017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
9066
9067 * gdb.threads/tls-core.c: New file.
9068 * gdb.threads/tls-core.exp: Likewise.
9069
b5ec771e
PA
90702017-11-08 Pedro Alves <palves@redhat.com>
9071
9072 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
9073 (p Exported_Capitalized): New test.
9074 (p exported_capitalized): New test.
9075
a02b41a7
PA
90762017-11-07 Pedro Alves <palves@redhat.com>
9077
9078 * gdb.cp/ena-dis-br-range.exp: Add more tests.
9079
95e95a6d
PA
90802017-11-07 Pedro Alves <palves@redhat.com>
9081
9082 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
9083 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
9084 (disable_invalid, disable_inverted, disable_negative): New
9085 procedures.
9086 ("bad numbers"): New set of tests.
9087
cee62dbd
PA
90882017-11-07 Pedro Alves <palves@redhat.com>
9089
9090 * gdb.cp/ena-dis-br-range.exp: Add tests.
9091
cc638e86
PA
90922017-11-07 Pedro Alves <palves@redhat.com>
9093
9094 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
9095
d0fe4701
XR
90962017-11-07 Xavier Roirand <roirand@adacore.com>
9097 Pedro Alves <palves@redhat.com>
9098
9099 * gdb.base/ena-dis-br.exp: Add reference to
9100 gdb.cp/ena-dis-br-range.exp.
9101 * gdb.cp/ena-dis-br-range.exp: New file.
9102 * gdb.cp/ena-dis-br-range.cc: New file.
9103
46f67f80
PA
91042017-11-06 Pedro Alves <palves@redhat.com>
9105
9106 * gdb.base/attach-non-pgrp-leader.c: New.
9107 * gdb.base/attach-non-pgrp-leader.exp: New.
9108
726e1356
PA
91092017-11-06 Pedro Alves <palves@redhat.com>
9110
9111 * configure.ac: No longer check for termio.h and sgtty.h.
9112 * configure: Regenerate.
9113 * remote-utils.c: Include termios.h instead of gdb_termios.h.
9114 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
9115 Remove termio and sgtty code.
9116
50ab6ace
YQ
91172017-11-03 Yao Qi <yao.qi@linaro.org>
9118
9119 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
9120 in GDB is disabled.
9121
8e68731c
YQ
91222017-11-03 Yao Qi <yao.qi@linaro.org>
9123
9124 * gdb.python/py-thrhandle.exp: Skip it if python is not
9125 enabled.
9126
3a87ae65
SM
91272017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
9128
9129 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
9130 as a breakpoint command.
9131
484d8d36
MD
91322017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
9133
9134 PR python/21213
9135 * gdb.python/py-infthread.exp: Test calling
9136 InferiorThread.inferior () multiple times in a row.
9137
4a27f119
KS
91382017-10-27 Keith Seitz <keiths@redhat.com>
9139
9140 * gdb.opt/inline-break.exp (break_info_1): New procedure.
9141 Test "info break" for every inlined function breakpoint.
9142
bb11dd58
YQ
91432017-10-27 Yao Qi <yao.qi@linaro.org>
9144
9145 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
9146
a43f3893
PF
91472017-10-26 Patrick Frants <osscontribute@gmail.com>
9148
9149 * gdb.cp/classes.exp (test_static_members): Test printing
9150 Outer::instance.
9151 * gdb.cp/classes.c (struct Inner, struct Outer): New.
9152 (Inner::instance, Outer::instance): New.
9153
792ccf00
PA
91542017-10-24 Pedro Alves <palves@redhat.com>
9155
9156 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
9157 extra console" test in two stages.
9158
eb2bfbad
PA
91592017-10-24 Pedro Alves <palves@redhat.com>
9160
9161 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
9162
1f75a651
PA
91632017-10-24 Pedro Alves <palves@redhat.com>
9164
9165 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
9166 loop.
9167
779990d9
PA
91682017-10-24 Pedro Alves <palves@redhat.com>
9169
9170 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
9171 $attempt" and "stoppedtry $stoppedtry" test prefixes.
9172
ad9b8f5d
PA
91732017-10-24 Pedro Alves <palves@redhat.com>
9174
9175 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
9176 parameter and handle it. Don't output read value in test name.
9177
fee6da6e
PA
91782017-10-24 Pedro Alves <palves@redhat.com>
9179
9180 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
9181 custom test name.
9182
10389c2c
PA
91832017-10-24 Pedro Alves <palves@redhat.com>
9184
9185 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
9186 include the unstable output directory name in the test's name.
9187 (initial_setup_simple) <'set args'>: Use custom test name.
9188
a80e65a9
PA
91892017-10-24 Pedro Alves <palves@redhat.com>
9190
9191 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
9192 with explicit test name.
9193
15763a09
PA
91942017-10-20 Pedro Alves <palves@redhat.com>
9195
9196 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
9197 'wait -i'. Use gdb_assert and remote_close.
9198
49a4ce2e
AB
91992017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
9200
9201 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
9202 number from variable rather than hard-coded.
9203
a75868f5
PA
92042017-10-19 Pedro Alves <palves@redhat.com>
9205
9206 * gdb.base/long-inferior-output.c: New file.
9207 * gdb.base/long-inferior-output.exp: New file.
9208
c8ba13ad
KS
92092017-11-18 Keith Seitz <keiths@redhat.com>
9210
9211 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
9212 method.
9213 (main): Call it.
9214 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
9215 Add additional user-defined conversion operator tests.
9216
b27de576
PA
92172017-10-17 Pedro Alves <palves@redhat.com>
9218
9219 * boards/native-stdio-gdbserver.exp: Load "local-board".
9220
8484c955
PA
92212017-10-17 Pedro Alves <palves@redhat.com>
9222
9223 * gdb.base/quit-live.c: New file.
9224 * gdb.base/quit-live.exp: New file.
9225
83d5a34d
KS
92262017-10-16 Keith Seitz <keiths@redhat.com>
9227
9228 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
9229 (class_with_protected_typedef, class_with_private_typedef)
9230 (struct_with_public_typedef, struct_with_protected_typedef)
9231 (struct_with_private_typedef): New classes/structs.
9232 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
9233 typedefs and access specifiers.
9234
739b3f1d
PA
92352017-10-16 Pedro Alves <palves@redhat.com>
9236 Simon Marchi <simon.marchi@polymtl.ca>
9237
9238 * README (Local vs Remote vs Native): New section.
9239 * boards/local-board.exp: New file, with bits factored out from
9240 ...
9241 * boards/native-extended-gdbserver.exp: ... here. Load
9242 "local-board".
9243 * boards/native-gdbserver.exp: Load "local-board".
9244 (${board}_spawn, ${board}_exec): Delete.
9245 * boards/native-stdio-gdbserver.exp: Most contents factored out to
9246 ...
9247 * boards/stdio-gdbserver-base.exp: ... this new file.
9248 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
9249 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
9250 procedure.
9251 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
9252 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
9253 stdio_gdbserver_command.
9254 (${board}_get_remote_address, ${board}_get_comm_port)
9255 (${board}_download, ${board}_upload): Delete.
9256 (get_target_remote_pipe_cmd): New.
9257
fe68b953
SM
92582017-10-16 Simon Marchi <simon.marchi@ericsson.com>
9259
9260 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
9261 test_bkpt_deletion, test_bkpt_cond_and_cmds,
9262 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
9263 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
9264 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
9265 remove with_test_prefix.
9266
300b6685
PA
92672017-10-13 Pedro Alves <palves@redhat.com>
9268
9269 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
9270 * gdb.base/annota1.exp: Use it instead of is_remote.
9271 * gdb.base/annota3.exp: Use it instead of is_remote.
9272 * gdb.cp/annota2.exp: Use it instead of is_remote.
9273 * gdb.cp/annota3.exp: Use it instead of is_remote.
9274 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
9275
50500caf
PA
92762017-10-13 Pedro Alves <palves@redhat.com>
9277
9278 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
9279 (test_num_test_vars, run_and_count_vars, find_env)
9280 (test_set_unset_env, test_inherit_env_var): New procedures.
9281 (top level): Use them.
9282
dad0c6d2
PA
92832017-10-13 Pedro Alves <palves@redhat.com>
9284
9285 * lib/selftest-support.exp (selftest_setup): Extend comments, and
9286 also skip on stub-like targets.
9287
8b0553c1
PA
92882017-10-13 Pedro Alves <palves@redhat.com>
9289
9290 PR gdb/22293
9291 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
9292 (top level): Move some tests to ...
9293 (test_not_found): ... this new procedure.
9294 (top level): Call it.
9295
7594f623
PA
92962017-10-13 Pedro Alves <palves@redhat.com>
9297
9298 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
9299 expect different "info terminal" output if testing with a
9300 non-native target.
9301
ebe3b402
PA
93022017-10-13 Pedro Alves <palves@redhat.com>
9303 Simon Marchi <simon.marchi@polymtl.ca>
9304
9305 PR python/12966
9306 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
9307
42f1b161
PA
93082017-10-13 Pedro Alves <palves@redhat.com>
9309
9310 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
9311 already.
9312
8d6ef72b
PA
93132017-10-13 Pedro Alves <palves@redhat.com>
9314
9315 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
9316 is_remote.
9317
d7bcd5b8
PA
93182017-10-13 Pedro Alves <palves@redhat.com>
9319
9320 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
9321 is_remote.
9322
df479dc6
PA
93232017-10-13 Pedro Alves <palves@redhat.com>
9324
9325 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
9326 is set.
9327 (corefile_test_attach): Likewise. Check can_spawn_for_attach
9328 instead of is_remote.
9329
23fb630a
PA
93302017-10-13 Pedro Alves <palves@redhat.com>
9331
9332 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
9333 (top level): Add comment.
9334
cc77b1dc
PA
93352017-10-13 Pedro Alves <palves@redhat.com>
9336
9337 * gdb.base/remote.exp (top level): Fix comment typo and add
9338 missing return.
9339
27c9e813
PA
93402017-10-13 Pedro Alves <palves@redhat.com>
9341 Simon Marchi <simon.marchi@polymtl.ca>
9342
9343 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
9344 calls and add comments. Skip test if use_gdb_stub is set.
9345 (top level): Use "set cwd" command instead of "cd" command.
9346
5e830d98
PA
93472017-10-13 Pedro Alves <palves@redhat.com>
9348
9349 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
9350 is_remote target check.
9351
f5ca0032
PA
93522017-10-13 Pedro Alves <palves@redhat.com>
9353
9354 * gdb.base/scope.exp: Use build_executable + clean_restart +
9355 gdb_file_cmd instead of prepare_for_testing and no longer skip
9356 "before run" tests on is_remote target boards. Update comments.
9357 * boards/native-extended-gdbserver.exp
9358 (extended_gdbserver_load_last_file): New, factored out from ...
9359 (gdb_load): ... this. Move further below and add comment.
9360 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
9361
8aed1c0d
PA
93622017-10-12 Pedro Alves <palves@redhat.com>
9363
9364 * gdb.base/attach.exp: Remove references to gdb64.
9365 * gdb.base/dbx.exp: Remove references to gdb64.
9366
cfa34c87
SM
93672017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9368 Pedro Alves <palves@redhat.com>
9369
9370 * gdb.base/label.exp: Remove is_remote target check.
9371
9192b7de
PA
93722017-10-12 Pedro Alves <palves@redhat.com>
9373
9374 * gdb.base/auvx.exp (coredir): Update comment.
9375 (top level) <core_works>: Use "set cwd" command instead of "cd"
9376 command.
9377
6bf0052d
PA
93782017-10-12 Pedro Alves <palves@redhat.com>
9379 Simon Marchi <simon.marchi@polymtl.ca>
9380
9381 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
9382 target boards.
9383
e48ef82d
PA
93842017-10-12 Pedro Alves <palves@redhat.com>
9385 Simon Marchi <simon.marchi@polymtl.ca>
9386
9387 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
9388 Instead skip if there's any gdb_protocol set.
9389
8d7aea57
SM
93902017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9391 Pedro Alves <palves@redhat.com>
9392
9393 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
9394
30440677
PA
93952017-10-12 Pedro Alves <palves@redhat.com>
9396 Simon Marchi <simon.marchi@polymtl.ca>
9397
9398 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
9399 instead of on dejagnu remote boards.
9400
4e04f045 94012017-10-12 Pedro Alves <palves@redhat.com>
175654b9 9402 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
9403
9404 * gdb.base/inferior-died.exp: Remove is_remote and isnative
9405 checks. Use build_executable + clean_restart instead of
9406 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
9407 of enabling non-stop after starting gdb.
9408
871a186e
PA
94092017-10-12 Pedro Alves <palves@redhat.com>
9410
9411 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
9412 * gdb.threads/non-ldr-exc-2.exp: Ditto.
9413 * gdb.threads/non-ldr-exc-3.exp: Ditto.
9414 * gdb.threads/non-ldr-exc-4.exp: Ditto.
9415
56d704da
AK
94162017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
9417
9418 * gdb.arch/arc-tdesc-cpu.exp: New file.
9419 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
9420
2f20e312
SM
94212017-10-10 Simon Marchi <simon.marchi@ericsson.com>
9422
9423 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
9424
65630365
PA
94252017-10-10 Pedro Alves <palves@redhat.com>
9426
9427 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
9428 expect CLI output.
9429
bf469271
PA
94302017-10-10 Pedro Alves <palves@redhat.com>
9431
9432 * lib/selftest-support.exp (selftest_setup): Update for
9433 captured_command_loop's prototype change.
9434
777a42f1
PA
94352017-10-09 Pedro Alves <palves@redhat.com>
9436
9437 Test both arch1=>arch2 and arch2=>arch1.
9438
9439 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
9440 (srcfile2, binfile2, march1, march2): Remove globals. Largely
9441 factored out to...
9442 (append_arch1_options, append_arch2_options, append_arch_options)
9443 (build_executables): New procedures.
9444 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
9445 local.
9446 (top level): Add new 'first_arch' testing axis.
9447
cbd2b4e3
PA
94482017-10-09 Pedro Alves <palves@redhat.com>
9449
9450 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
9451 (barrier): New.
9452 (thread_start, all_started): New functions.
9453 (main): Spawn new thread and wait until it is scheduled.
9454 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
9455 option.
9456 (do_test): Add 'selected_thread' parameter. Run to all_started
9457 instead of main. Explicitly set the breakpoint at main. Switch
9458 to the SELECTED_THREAD thread.
9459 (top level): Test handling the exec event with either the main
9460 thread or the second thread selected.
9461
5c9e4427
PA
94622017-10-09 Pedro Alves <palves@redhat.com>
9463
9464 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
9465 logic. Move STOP marker after the value checks.
9466 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
9467 regexp.
9468
b3b7c423
SL
94692017-10-06 Sandra Loosemore <sandra@codesourcery.com>
9470
9471 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
9472
3b4b2f16
UW
94732017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
9474
9475 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
9476 integer-to-dfp conversion.
9477 * gdb.base/dfp-test.exp: Likewise.
9478
5cd63fda
PA
94792017-10-04 Pedro Alves <palves@redhat.com>
9480
9481 * gdb.multi/hangout.c: Include <unistd.h>.
9482 (hangout_loop): New function.
9483 (main): Call alarm. Call hangout_loop in a loop.
9484 * gdb.multi/hello.c: Include <unistd.h>.
9485 (hello_loop): New function.
9486 (main): Call alarm. Call hangout_loop in a loop.
9487 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
9488 inferior with the other selected.
9489
4c71c105
SM
94902017-10-04 Simon Marchi <simon.marchi@ericsson.com>
9491
9492 * gdb.mi/list-thread-groups-available.exp: New file.
9493 * gdb.mi/list-thread-groups-available.c: New file.
9494
bc3b087d
SDJ
94952017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9496
9497 * gdb.base/set-cwd.exp: Make it available on
9498 native-extended-gdbserver.
9499
d092c5a2
SDJ
95002017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9501
9502 * gdb.base/set-cwd.c: New file.
9503 * gdb.base/set-cwd.exp: Likewise.
9504
45320ffa
TT
95052017-10-02 Tom Tromey <tom@tromey.com>
9506
9507 PR rust/22236:
9508 * gdb.rust/simple.rs (main): New variable "fslice".
9509 * gdb.rust/simple.exp: Add slice tests. Update string tests.
9510
b3e3859b
TT
95112017-10-02 Tom Tromey <tom@tromey.com>
9512
9513 * gdb.rust/simple.exp: Test ptype of a slice.
9514
01af5e0d
TT
95152017-10-02 Tom Tromey <tom@tromey.com>
9516
9517 * gdb.rust/simple.exp: Test index of slice.
9518
a9bbfbd8
TT
95192017-09-27 Tom Tromey <tom@tromey.com>
9520
9521 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
9522
df8899e5
TP
95232017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
9524 Pedro Alves <palves@redhat.com>
9525
9526 * gdb.base/compare-sections.exp (get value of read-only section): Read
9527 as unsigned value.
9528 (corrupt read-only section): Likewise and don't set written if patching
9529 failed.
9530
757bf54b
KB
95312017-09-21 Kevin Buettner <kevinb@redhat.com>
9532
9533 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
9534 files.
9535
06871ae8
PA
95362017-09-20 Pedro Alves <palves@redhat.com>
9537
9538 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
9539 symbol names in gdb's output.
9540 * gdb.cp/overload.exp ("list all overloads"): Likewise.
9541
e5f25bc5
PA
95422017-09-20 Pedro Alves <palves@redhat.com>
9543
9544 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
9545 Rename to ...
9546 (test_list_ambiguous_symbol): ... this and add a symbol name
9547 parameter. Adjust.
9548 (test_list_ambiguous_function): Reimplement on top of
9549 test_list_ambiguous_symbol and also test listing ambiguous
9550 variables.
9551 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
9552 (ambiguous_fun): ... this.
9553 (ambiguous_var): New.
9554 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
9555 (ambiguous_fun): ... this.
9556 (ambiguous_var): New.
9557
4e5a4f58
JB
95582017-09-19 John Baldwin <jhb@FreeBSD.org>
9559
9560 * gdb.base/starti.c: New file.
9561 * gdb.base/starti.exp: New file.
9562 * lib/gdb.exp (gdb_starti_cmd): New procedure.
9563
26e53f3e
PA
95642017-09-14 Pedro Alves <palves@redhat.com>
9565
9566 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
9567 (top level): Use it instead of runto.
9568
cb791d59
TT
95692017-09-11 Tom Tromey <tom@tromey.com>
9570
9571 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
9572
7c96f8c1
TT
95732017-09-11 Tom Tromey <tom@tromey.com>
9574
9575 * gdb.python/py-infthread.exp: Add tests for new_thread event.
9576 * gdb.python/py-inferior.exp: Add tests for new inferior events.
9577
469412dd
CW
95782017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
9579
9580 * gdb.fortran/printing-types.exp: New file.
9581 * gdb.fortran/printing-types.exp: New file.
9582
e0f86435
BH
95832017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9584
9585 * gdb.fortran/vla-ptype.exp: Fix typos.
9586 * gdb.fortran/vla-value.exp: Same.
9587
9e9af4be
BH
95882017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9589
9590 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
9591 * gdb.mi/mi-var-child-f.exp: Likewise.
9592 * gdb.mi/mi-vla-fortran.exp: Likewise.
9593
a5ad232b 95942017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
9595 Christoph Weinmann <christoph.t.weinmann@intel.com>
9596 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
9597
9598 * gdb.fortran/ptr-indentation.f90: New file.
9599 * gdb.fortran/ptr-indentation.exp: New file.
9600
5aec60eb
TT
96012017-09-05 Tom Tromey <tom@tromey.com>
9602
9603 PR gdb/22010:
9604 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
9605
8f8f8152
TP
96062017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
9607
9608 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
9609
fbd1b771
JK
96102017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9611
9612 * gdb.threads/tls-nodebug-pie.c: New file.
9613 * gdb.threads/tls-nodebug-pie.exp: New file.
9614
5eb5f850
TT
96152017-09-05 Tom Tromey <tom@tromey.com>
9616
9617 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
9618 for rust.
9619
ae780a21
SM
96202017-09-05 Simon Marchi <simon.marchi@ericsson.com>
9621
9622 * gdb.multi/multi-arch-exec.exp: Test with different
9623 "follow-exec-mode" settings.
9624 (do_test): New procedure.
9625
3693fdb3
PA
96262017-09-04 Pedro Alves <palves@redhat.com>
9627
9628 * gdb.base/func-static.c (S::method const, S::method volatile)
9629 (S::method volatile const): New methods.
9630 (c_s, v_s, cv_s): New instances.
9631 (main): Call method() on them.
9632 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
9633 (cannot_resolve): New procedure.
9634 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
9635 print-quote-unquoted columns.
9636 (do_test): Test printing each scope too.
9637
e68cb8e0
PA
96382017-09-04 Pedro Alves <palves@redhat.com>
9639
9640 * gdb.base/local-static.exp: Also test with
9641 class::method::variable wholly quoted.
9642 * gdb.cp/m-static.exp (class::method::variable): Remove test.
9643
858be34c
PA
96442017-09-04 Pedro Alves <palves@redhat.com>
9645
9646 * gdb.base/local-static.c: New.
9647 * gdb.base/local-static.cc: New.
9648 * gdb.base/local-static.exp: New.
9649
46a4882b
PA
96502017-09-04 Pedro Alves <palves@redhat.com>
9651
9652 * gdb.asm/asm-source.exp: Add casts to int.
9653 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
9654 (dataglobal64_1, dataglobal64_2): New globals.
9655 * gdb.base/nodebug.exp: Test different expressions involving the
9656 new globals, with print, whatis and ptype. Add casts to int.
9657 * gdb.base/solib-display.exp: Add casts to int.
9658 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
9659 * gdb.cp/m-static.exp: Add cast to int.
9660 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
9661 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
9662 tls variable with no debug info without a cast. Test with a cast
9663 to int too.
9664 * gdb.trace/entry-values.exp: Add casts.
9665
2c5a2be1
PA
96662017-09-04 Pedro Alves <palves@redhat.com>
9667
9668 * gdb.base/nodebug.exp: Test that ptype's error about functions
9669 with unknown return type includes the function name too.
9670
7022349d
PA
96712017-09-04 Pedro Alves <palves@redhat.com>
9672
9673 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
9674 return type of munmap in infcall.
9675 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
9676 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
9677 type of ftell in infcall.
9678 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
9679 type of getpid in infcall.
9680 * gdb.base/infcall-exec.exp: Cast return type of execlp in
9681 infcall.
9682 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
9683 Bail on failure to extract the pid.
9684 * gdb.base/nodebug.c: #include <stdint.h>.
9685 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
9686 New functions.
9687 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
9688 Change expected output of print/whatis/ptype with functions with
9689 no debug info. Test all supported languages. Call
9690 test_call_promotion.
9691 * gdb.compile/compile.exp: Adjust expected output to expect
9692 warning.
9693 * gdb.threads/siginfo-threads.exp: Likewise.
9694
54990598
PA
96952017-09-04 Pedro Alves <palves@redhat.com>
9696
9697 * gdb.base/callfuncs.exp (do_function_calls): New parameter
9698 "prototypes". Test calling float functions via prototyped and
9699 unprototyped function pointers.
9700 (perform_all_tests): New parameter "prototypes". Pass it down.
9701 (top level): Pass down "prototypes" parameter to
9702 perform_all_tests.
9703
34d16ea2
SM
97042017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9705
9706 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
9707 Test with nested loops.
9708
9521ecda
SM
97092017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9710
9711 * gdb.base/commands.exp: Call the new procedures.
9712 (loop_break_test, loop_continue_test): New procedures.
9713
80a65e9b
SM
97142017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9715
9716 * gdb.base/commands.exp: Call new procedure.
9717 (define_if_without_arg_test): New procedure.
9718
e439fa14
PA
97192017-09-04 Pedro Alves <palves@redhat.com>
9720
9721 * gdb.base/list-ambiguous.exp: New file.
9722 * gdb.base/list-ambiguous0.c: New file.
9723 * gdb.base/list-ambiguous1.c: New file.
9724 * gdb.base/list.exp (test_list_range): Adjust expected output.
9725
0a2dde4a
SDJ
97262017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
9727
9728 * gdb.base/share-env-with-gdbserver.c: New file.
9729 * gdb.base/share-env-with-gdbserver.exp: Likewise.
9730
5e89eb3a
SM
97312017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9732
9733 * gdb.base/commands.exp (gdbvar_simple_if_test,
9734 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
9735 progvar_simple_if_test, progvar_simple_while_test,
9736 progvar_complex_if_while_test, user_defined_command_test,
9737 user_defined_command_args_eval,
9738 user_defined_command_args_stack_test,
9739 user_defined_command_manyargs_test, bp_deleted_in_command_test,
9740 temporary_breakpoint_commands,
9741 gdb_test_no_prompt, redefine_hook_test,
9742 redefine_backtrace_test): Remove "global gdb_prompt".
9743
fd437cbc
SM
97442017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9745
9746 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
9747 New proc, call it from toplevel.
9748
87215ad1
SDJ
97492017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
9750
9751 PR remote/21852
9752 * gdb.server/normal.c: New file, copied from gdb.base.
9753 * gdb.server/run-without-local-binary.exp: New file.
9754
58afddc6
WP
97552017-08-07 Weimin Pan <weimin.pan@oracle.com>
9756
9757 * gdb.arch/sparc64-adi.exp: New file.
9758 * gdb.arch/sparc64-adi.c: New file.
9759
5277199a
PA
97602017-08-22 Pedro Alves <palves@redhat.com>
9761
9762 * gdb.cp/overload.exp (line_range_pattern): New procedure.
9763 (top level): Add "list all overloads" tests.
9764
14278e1f
TT
97652017-08-22 Tom Tromey <tom@tromey.com>
9766
9767 * gdb.gdb/xfullpath.exp: Remove.
9768
bf223d3e
PA
97692017-08-21 Pedro Alves <palves@redhat.com>
9770
9771 PR gdb/19487
9772 * gdb.base/symbol-alias.c: New.
9773 * gdb.base/symbol-alias2.c: New.
9774 * gdb.base/symbol-alias.exp: New.
9775
c973d0aa
PA
97762017-08-21 Pedro Alves <palves@redhat.com>
9777
9778 * gdb.base/dfp-test.c
9779 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
9780 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
9781 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
9782 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
9783 * gdb.base/whatis-ptype-typedefs.c: New.
9784 * gdb.base/whatis-ptype-typedefs.exp: New.
9785 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
9786 (an_int, an_int_type, an_int_type2): New globals.
9787 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
9788 involving typedefs and cast expressions.
9789 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
9790 (lookup_typedefs_function): New.
9791 (typedefs_pretty_printers_dict): New.
9792 (top level): Register lookup_typedefs_function in
9793 gdb.pretty_printers.
9794
6d580b63
YQ
97952017-08-18 Yao Qi <yao.qi@linaro.org>
9796
9797 * gdb.server/unittest.exp: New.
9798
206726fb
SDJ
97992017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
9800
9801 PR gdb/21954
9802 * gdb.base/environ.exp: Add test to check if 'unset environment'
9803 works.
9804
bf0ec4c2
AA
98052017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9806
9807 * lib/gdb.exp (universal_compile_options): New caching proc.
9808 (gdb_compile): Suppress GCC's coloring of messages.
9809
d6382fff
TT
98102017-08-14 Tom Tromey <tom@tromey.com>
9811
9812 PR gdb/21675:
9813 * gdb.base/printcmds.exp (test_radices): New function.
9814 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
9815 * gdb.base/sizeof.exp (check_valueof): Use p/d.
9816 * lib/gdb.exp (get_integer_valueof): Use p/d.
9817
c2c2dd9f
SM
98182017-08-12 Simon Marchi <simon.marchi@ericsson.com>
9819
9820 * lib/gdb.exp (get_valueof): Don't capture end-of-line
9821 characters.
9822
fdffd6f4
TT
98232017-08-05 Tom Tromey <tom@tromey.com>
9824
9825 * gdb.rust/simple.exp: Allow String to appear in a different
9826 namespace.
9827
27d41eac
YQ
98282017-07-26 Yao Qi <yao.qi@linaro.org>
9829
9830 * gdb.gdb/unittest.exp: Invoke command
9831 "maintenance check xml-descriptions".
9832
031ed05d
AA
98332017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9834
9835 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
9836 calling context.
9837 (hex128): Drop erroneous calculation of parameters.
9838
dcd27ddf
SM
98392017-07-22 Simon Marchi <simon.marchi@ericsson.com>
9840
9841 * gdb.python/py-unwind.exp: Disable stack protection when
9842 building test file.
9843
47e77640
PA
98442017-07-20 Pedro Alves <palves@redhat.com>
9845
9846 * gdb.base/default.exp (set language): Adjust expected output.
9847
62d2a18a
PA
98482017-07-20 Pedro Alves <palves@redhat.com>
9849
9850 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
9851 (test_minsym): ... this, and make static.
9852 (get_pck__foo__bar__minsym): Rename to ...
9853 (get_test_minsym): ... this.
9854 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
9855 symbol names and comments.
9856 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
9857 (get_test_minsym): ... this.
9858 (pck__foo__bar__minsym__2): Rename to ...
9859 (test_minsym): ... this.
9860 (main): Adjust.
9861
c45ec17c
PA
98622017-07-17 Pedro Alves <palves@redhat.com>
9863
9864 * gdb.base/completion.exp: Adjust expected output.
9865 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
9866 the completer works.
9867
c6756f62
PA
98682017-07-17 Pedro Alves <palves@redhat.com>
9869
9870 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
9871
5bd68487
AB
98722017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
9873
9874 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
9875
8880f2a9
TT
98762017-07-14 Tom Tromey <tom@tromey.com>
9877
9878 PR rust/21764:
9879 * gdb.rust/simple.exp: Add tests.
9880
65547233
TT
98812017-07-14 Tom Tromey <tom@tromey.com>
9882
9883 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
9884
8f14146e
PA
98852017-07-14 Pedro Alves <palves@redhat.com>
9886
9887 * gdb.linespec/base/one/thefile.cc (z1): New function.
9888 * gdb.linespec/base/two/thefile.cc (z2): New function.
9889 * gdb.linespec/linespec.exp: Add tests.
9890
b4365d02
AB
98912017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9892
9893 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
9894 to mi_create_breakpoint.
9895
5d2cbaa5
AB
98962017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9897
9898 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
9899 mi_create_breakpoint.
9900
11cb5716
IB
99012017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
9902
9903 * gdb.dlang/demangle.exp: Update for demangling changes.
9904
03278692
TT
99052017-07-09 Tom Tromey <tom@tromey.com>
9906
9907 * gdb.dwarf2/shortpiece.exp: New file.
9908
33c5cd75
DB
99092017-07-06 David Blaikie <dblaikie@gmail.com>
9910
9911 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
9912 built from fissiont-multi-cu{1,2}.c.
9913 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
9914 except putting 'main' and 'func' in separate CUs in the same DWO file.
9915 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
9916 test.
9917 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
9918 test.
9919
8455d262
PA
99202017-07-06 Pedro Alves <palves@redhat.com>
9921
9922 * gdb.python/py-unwind.exp: Test flushregs.
9923
dc4bde35
SDJ
99242017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9925
9926 PR cli/21688
9927 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
9928 tests for alias commands and trailing whitespace.
9929
51ed89aa
SDJ
99302017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9931
9932 PR cli/21688
9933 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
9934 procedure. Call it.
9935
eb17d413
PA
99362017-06-29 Pedro Alves <palves@redhat.com>
9937
9938 * gdb.base/printcmds.exp: Add tests.
9939
41664b45
DG
99402017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
9941
9942 PR gdb/21337
9943 * gdb.base/reread-readsym.exp: New file.
9944 * gdb.base/reread-readsym.c: New file.
9945
75312ae3
KB
99462017-06-21 Kevin Buettner <kevinb@redhat.com>
9947
9948 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
9949 subpattern.
9950
66953522
PB
99512017-06-19 Peter Bergner <bergner@vnet.ibm.com>
9952
9953 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
9954 extended mnemonic.
9955 * gdb.arch/powerpc-power9.s: Likewise.
9956
5524b525
AA
99572017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9958
9959 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
9960 on 32-bit x86 targets. Exploit is_*_target macros where
9961 appropriate.
9962
03c8af18
AA
99632017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9964
9965 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
9966 register pieces.
9967
3bf31011
AA
99682017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9969
9970 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
9971 located in one or more DWARF pieces.
9972
805acca0
AA
99732017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9974
9975 * lib/gdb.exp (get_endianness): New proc.
9976 * gdb.arch/aarch64-fp.exp: Use it.
9977 * gdb.arch/altivec-regs.exp: Likewise.
9978 * gdb.arch/e500-regs.exp: Likewise.
9979 * gdb.arch/vsx-regs.exp: Likewise.
9980 * gdb.base/dump.exp: Likewise.
9981 * gdb.base/funcargs.exp: Likewise.
9982 * gdb.base/gnu_vector.exp: Likewise.
9983 * gdb.dwarf2/formdata16.exp: Likewise.
9984 * gdb.dwarf2/implptrpiece.exp: Likewise.
9985 * gdb.dwarf2/nonvar-access.exp: Likewise.
9986 * gdb.python/py-inferior.exp: Likewise.
9987 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9988
e9352324
AA
99892017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9990
9991 PR gdb/21226
9992 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
9993 stack value pieces are taken from the LSB end.
9994
d5d1163e
AA
99952017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9996
9997 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
9998 variable at nonzero offset.
9999
0567c986
AA
100002017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10001
10002 * gdb.dwarf2/var-access.c: New file.
10003 * gdb.dwarf2/var-access.exp: New test.
10004 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
10005
973e9aab
TT
100062017-06-12 Tom Tromey <tom@tromey.com>
10007
10008 * gdb.dwarf2/formdata16.exp: Add tests.
10009
d9109c80
TT
100102017-06-12 Tom Tromey <tom@tromey.com>
10011
10012 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
10013
30a25466
TT
100142017-06-12 Tom Tromey <tom@tromey.com>
10015
10016 PR exp/16225:
10017 * gdb.reverse/i386-sse-reverse.exp: Update tests.
10018 * gdb.arch/vsx-regs.exp: Update tests.
10019 * gdb.arch/s390-vregs.exp (hex128): New proc.
10020 Update test.
10021 * gdb.arch/altivec-regs.exp: Update tests.
10022
aefd8b33
SDJ
100232017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10024
10025 * gdb.base/startup-with-shell.c: New file.
10026 * gdb.base/startup-with-shell.exp: Likewise.
10027
2090129c
SDJ
100282017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10029
10030 * gdb.server/non-existing-program.exp: Update regex in order to
10031 reflect the fact that gdbserver is now using fork_inferior (with a
10032 shell) to startup the inferior.
10033
8e86a419
SM
100342017-05-30 Simon Marchi <simon.marchi@ericsson.com>
10035
10036 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
10037 support function calls from GDB.
10038
e6cf65f2
TT
100392017-05-21 Tom Tromey <tom@tromey.com>
10040
10041 PR rust/21466:
10042 * gdb.rust/unsized.exp: New file.
10043 * gdb.rust/unsized.rs: New file.
10044
43cc5389
TT
100452017-05-19 Tom Tromey <tom@tromey.com>
10046
10047 PR rust/21484:
10048 * gdb.rust/watch.exp: New file.
10049 * gdb.rust/watch.rs: New file.
10050
ec8df234
TT
100512017-05-18 Tom Tromey <tom@tromey.com>
10052
10053 * gdb.rust/simple.exp: Allow Box to be qualified.
10054
3e3e7fae
TP
100552017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
10056
10057 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
10058
59cc050d
PA
100592017-05-18 Pedro Alves <palves@redhat.com>
10060
10061 * gdb.base/fileio.c (test_write, test_read, test_close)
10062 (test_fstat): Don't print 'ret' in the fail path.
10063
c8f6abd1
PA
100642017-05-18 Pedro Alves <palves@redhat.com>
10065
10066 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
10067 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
10068 (test_system, test_rename, test_unlink, test_time): Change
10069 prototypes.
10070 * gdb.base/fileio.exp (stop_msg): Adjust.
10071
d2a03b77
PA
100722017-05-18 Pedro Alves <palves@redhat.com>
10073
10074 * gdb.base/fileio.c (null_str): New global.
10075 (test_stat): Use it.
10076 * gdb.base/fileio.exp: Remove nowarnings.
10077
0d5c6999
YQ
100782017-05-17 Yao Qi <yao.qi@linaro.org>
10079
10080 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
10081
21873064
YQ
100822017-05-17 Simon Marchi <simon.marchi@ericsson.com>
10083
10084 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
10085 argument command.
10086 (top-level): Invoke test_set_inferior_tty.
10087
d512d31c
PA
100882017-05-04 Pedro Alves <palves@redhat.com>
10089
10090 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
10091 Add parens to print call for Python 3.
10092
90cef2ed
KS
100932017-05-03 Keith Seitz <keiths@redhat.com>
10094
10095 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
10096 (main): Call it.
10097
14f819c8
TW
100982017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10099
10100 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
10101 to prev and next.
10102
913aeadd
TW
101032017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10104
10105 * gdb.python/py-record-btrace.exp: Remove test for
10106 gdb.BtraceInstruction.error.
10107
a3be24ad
TW
101082017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10109
10110 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
10111
ae20e79a
TW
101122017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10113
10114 * gdb.python/py-record-btrace-threads.c: New file.
10115 * gdb.python/py-record-btrace-threads.exp: New file.
10116
45ce1b47
SDJ
101172017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
10118
10119 PR testsuite/8595
10120 * gdb.base/environ.exp: Make test available in all architectures.
10121 Move bits related to "info program" testing to
10122 gdb.base/info-program.exp. Rewrite tests to use the two new
10123 procedures mentione below.
10124 (test_set_show_env_var) New procedure.
10125 (test_set_show_env_var_equal): Likewise.
10126 * gdb.base/info-program.exp: New file.
10127
e15c3eb4
KS
101282017-04-27 Keith Seitz <keiths@redhat.com>
10129
10130 * gdb.cp/oranking.cc (test15): New function.
10131 (main): Call test15 and declare additional variables for testing.
10132 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
10133 "p foo101('abc')" tests.
10134 Add tests for cv qualifier overloads.
10135 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
10136 "lvalue reference overload" test.
10137 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
10138 "print value of f1 on Child&& in f2" test.
10139
3a3fd0fd
PA
101402017-04-19 Pedro Alves <palves@redhat.com>
10141
10142 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
10143 procedure.
10144 (top level): Call it.
10145 * lib/gdb.exp (gdb_define_cmd): New procedure.
10146
53375380
PA
101472017-04-12 Pedro Alves <palves@redhat.com>
10148
10149 PR gdb/21323
10150 * gdb.cp/wide_char_types.c: Include <wchar.h>.
10151 (wchar): New global.
10152 * gdb.cp/wide_char_types.exp (wide_char_types_program)
10153 (do_test_wide_char, wide_char_types_no_program, top level): Add
10154 wchar_t testing.
10155
53e710ac
PA
101562017-04-12 Pedro Alves <palves@redhat.com>
10157
10158 PR c++/21323
10159 * gdb.cp/wide_char_types.c: New file.
10160 * gdb.cp/wide_char_types.exp: New file.
10161
0ad9d8c7
SDJ
101622017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
10163
10164 PR gdb/21352
10165 * gdb.trace/tsv.exp: Add test for "tsave -r".
10166
b1b45502
IB
101672017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
10168
10169 * gdb.dlang/watch-loc.c: New file.
10170 * gdb.dlang/watch-loc.exp: New file.
10171
ec13808e
JK
101722017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10173
10174 * gdb.python/py-section-script.exp (sepdebug): New testcases.
10175
fe5f7374
AK
101762017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10177
10178 * gdb.arch/arc-analyze-prologue.S: New file.
10179 * gdb.arch/arc-analyze-prologue.exp: Likewise.
10180
eea78757
AK
101812017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10182
10183 * gdb.arch/arc-decode-insn.S: New file.
10184 * gdb.arch/arc-decode-insn.exp: Likewise.
10185
5badf10a
IR
101862017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
10187
10188 PR tdep/20928
10189 * gdb.arch/sparc64-regs.exp: New file.
10190 * gdb.arch/sparc64-regs.S: Likewise.
10191
cee59b3f
TW
101922017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
10193
10194 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
10195 and memory view on Python 3.
10196
c0f55cc6
AV
101972017-03-20 Artemiy Volkov <artemiyv@acm.org>
10198 Keith Seitz <keiths@redhat.com>
10199
10200 PR gdb/14441
10201 * gdb.cp/demangle.exp: Add rvalue reference tests.
10202 * gdb.cp/rvalue-ref-casts.cc: New file.
10203 * gdb.cp/rvalue-ref-casts.exp: New file.
10204 * gdb.cp/rvalue-ref-overload.cc: New file.
10205 * gdb.cp/rvalue-ref-overload.exp: New file.
10206 * gdb.cp/rvalue-ref-params.cc: New file.
10207 * gdb.cp/rvalue-ref-params.exp: New file.
10208 * gdb.cp/rvalue-ref-sizeof.cc: New file.
10209 * gdb.cp/rvalue-ref-sizeof.exp: New file.
10210 * gdb.cp/rvalue-ref-types.cc: New file.
10211 * gdb.cp/rvalue-ref-types.exp: New file.
10212 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
10213 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
10214
51457a05
MAL
102152017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10216
10217 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
10218 New procedure.
10219
5b291c04
MAL
102202017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10221
10222 * lib/mi-support.exp (mi_gdb_test): Add additional message
10223 for unexpected output.
10224
59a56148
AA
102252017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10226
10227 * gdb.base/examine-backward.c (Barrier): New character array
10228 constant, to ensure that TestStrings is preceded by a string
10229 terminator.
10230
7942e96e
AA
102312017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10232
10233 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
10234 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
10235 and implicit pointer into such a location.
10236
6ebac3fb
DE
102372017-03-16 Doug Evans <dje@google.com>
10238
10239 * gdb.python/py-lazy-string (pointer): Really add new typedef.
10240
ec3b243d
TP
102412017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
10242
10243 * gdb.cp/m-static.exp: Fix expectation for prototype of
10244 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
10245
102462017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
10247
10248 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
10249 * gdb.guile/scm-lazy-string.c: New file.
10250 * gdb.guile/scm-value.exp: Move lazy string tests to ...
10251 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
10252 for pointer, array, typedef lazy strings.
10253
2cc36e25 102542017-03-16 Doug Evans <dje@google.com>
34b43320
DE
10255
10256 PR python/17728, python/18439, python/18779
10257 * gdb.python/py-value.c (main) Delete locals sptr, sn.
10258 * gdb.python/py-lazy-string.c (pointer): New typedef.
10259 (main): New locals ptr, array, typedef_ptr.
10260 * gdb.python/py-value.exp: Move lazy string tests to ...
10261 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
10262 array, typedef lazy strings.
ec3b243d 10263
0efcde63
AK
102642017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
10265
10266 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
10267 Add optional 'test' parameter.
10268
7978d7c3
SM
102692017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10270
10271 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10272 Skip for versions of DejaGnu < 1.5.
10273
896c0c1e
SM
102742017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10275
10276 * lib/gdb.exp (dejagnu_version): New proc.
10277 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10278 Use dejagnu_version.
10279
5f4d1085
KS
102802017-03-10 Keith Seitz <keiths@redhat.com>
10281
10282 PR c++/8128
10283 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
10284 type from destructor regexps.
10285 Add a branch which actually passes the test.
10286 Adjust "ptype t5i" test names.
10287
1de05205
PA
102882017-03-08 Pedro Alves <palves@redhat.com>
10289
10290 * gdb.base/step-over-exit.exp: Add explicit test message.
10291
c65d6b55
PA
102922017-03-08 Pedro Alves <palves@redhat.com>
10293
10294 PR gdb/18360
10295 * gdb.threads/interrupt-while-step-over.c: New file.
10296 * gdb.threads/interrupt-while-step-over.exp: New file.
10297
2e86a283
PA
102982017-03-08 Pedro Alves <palves@redhat.com>
10299
10300 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
10301 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
10302
25dcbff6
PA
103032017-03-08 Pedro Alves <palves@redhat.com>
10304
10305 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
10306 PKRU as not supported as a PASS.
10307
dc9366eb
PA
103082017-03-08 Pedro Alves <palves@redhat.com>
10309
10310 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
10311 prefix instead of $binfile1/$binfile2.
10312 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
10313 in test message.
10314 * gdb.python/py-completion.exp: Use "load python file" as test
10315 messages instead of unstable path names.
10316
6e5d74e7
PA
103172017-03-08 Pedro Alves <palves@redhat.com>
10318 Jan Kratochvil <jan.kratochvil@redhat.com>
10319
10320 PR cli/21218
10321 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10322 New proc.
10323 (top level): Call it.
10324
9753a2f6
PA
103252017-03-08 Pedro Alves <palves@redhat.com>
10326
10327 PR tui/21216
10328 * gdb.tui/tui-nl-filtered-output.exp: New file.
10329
1a4dd9dd
PA
103302017-03-08 Pedro Alves <palves@redhat.com>
10331
10332 * gdb.base/completion.exp: Move TUI completion tests to ...
10333 * gdb.tui/completion.exp: ... this new file.
10334
7cbbff33
PA
103352017-03-08 Pedro Alves <palves@redhat.com>
10336
10337 * gdb.base/tui-disasm-long-lines.c,
10338 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
10339 gdb.base/tui-layout.exp: Move to ...
10340 * gdb.tui/: ... this new directory.
10341
5f6fd321
PA
103422017-03-07 Pedro Alves <palves@redhat.com>
10343
10344 * gdb.base/tui-layout.c: New file.
10345 * gdb.base/tui-layout.exp: New file.
10346
44959fa8
PA
103472017-03-07 Pedro Alves <palves@redhat.com>
10348
10349 * gdb.base/tui-layout.c: Rename to ...
10350 * gdb.base/tui-disasm-long-lines.c: ... this.
10351 * gdb.base/tui-layout.exp: Rename to ...
10352 * gdb.base/tui-disasm-long-lines.exp: ... this.
10353
f8c4e718
PA
103542017-03-07 Pedro Alves <palves@redhat.com>
10355
10356 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
10357
6dbb839a 103582017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
10359
10360 * i386-mpx-call.c: New file.
10361 * i386-mpx-call.exp: New file.
10362
65b48a81
PB
103632017-02-28 Peter Bergner <bergner@vnet.ibm.com>
10364
10365 * gdb.arch/powerpc-power.exp: Delete test.
10366 * gdb.arch/powerpc-power.s: Likewise.
10367 * gdb.disasm/disassembler-options.exp: New test.
10368 * gdb.arch/powerpc-altivec.exp: Likewise.
10369 * gdb.arch/powerpc-altivec.s: Likewise.
10370 * gdb.arch/powerpc-altivec2.exp: Likewise.
10371 * gdb.arch/powerpc-altivec2.s: Likewise.
10372 * gdb.arch/powerpc-altivec3.exp: Likewise.
10373 * gdb.arch/powerpc-altivec3.s: Likewise.
10374 * gdb.arch/powerpc-power7.exp: Likewise.
10375 * gdb.arch/powerpc-power7.s: Likewise.
10376 * gdb.arch/powerpc-power8.exp: Likewise.
10377 * gdb.arch/powerpc-power8.s: Likewise.
10378 * gdb.arch/powerpc-power9.exp: Likewise.
10379 * gdb.arch/powerpc-power9.s: Likewise.
10380 * gdb.arch/powerpc-vsx.exp: Likewise.
10381 * gdb.arch/powerpc-vsx.s: Likewise.
10382 * gdb.arch/powerpc-vsx2.exp: Likewise.
10383 * gdb.arch/powerpc-vsx2.s: Likewise.
10384 * gdb.arch/powerpc-vsx3.exp: Likewise.
10385 * gdb.arch/powerpc-vsx3.s: Likewise.
10386 * gdb.arch/arm-disassembler-options.exp: Likewise.
10387 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
10388 * gdb.arch/s390-disassembler-options.exp: Likewise.
10389
17cd4947
LM
103902017-02-23 Luis Machado <lgustavo@codesourcery.com>
10391
10392 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
10393 (check_supported_features): ... this. Changed return type to void.
10394 (supports_rdseed): New static global.
10395 (rdseed): Check supports_rdseed.
10396 (initialize): Call check_supported_features.
10397
2039d74e
EBM
103982017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10399
10400 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
10401 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
10402 and lqarx/stqcx.
10403 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
10404 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
10405
a51d7ecf
EBM
104062017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10407
10408 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
10409 uppercase.
10410
0224619f
JK
104112017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10412
10413 * gdb.dwarf2/formdata16.c: New file.
10414 * gdb.dwarf2/formdata16.exp: New file.
10415 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
10416
216f72a1
JK
104172017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10418
10419 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
10420 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
10421 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
10422 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
10423 DW_AT_GNU_*.
10424
43988095
JK
104252017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10426
10427 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
10428
99e8a4f9
SDJ
104292017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
10430
10431 PR gdb/21164
10432 * gdb.base/maint.exp: Add testcases for when the commands do
10433 not have arguments.
10434
b58a8c0c
TP
104352017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
10436
10437 * gdb.cp/chained-calls.exp: Use p instead of P.
10438
4e746bb6
TW
104392017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
10440
10441 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
10442 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
10443
3f77c769
TT
104442017-02-14 Tom Tromey <tom@tromey.com>
10445
10446 PR python/13598:
10447 * gdb.python/py-events.exp: Add before_prompt event tests.
10448
075beec0
AA
104492017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10450
10451 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
10452
bf5f525c
LM
104532017-02-13 Luis Machado <lgustavo@codesourcery.com>
10454
10455 * gdb.linespec/explicit.c (my_unique_function_name): New function.
10456 (main): Call my_unique_function_name.
10457 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
10458 completion of patterns with a single match.
10459 Add missing -re switches to gdb_test_multiple calls.
10460
13a66184
LM
104612017-02-13 Luis Machado <lgustavo@codesourcery.com>
10462
10463 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
10464 return if core file is not recognized.
10465
26a06916
SM
104662017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10467
10468 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
10469 and extra UIs.
10470
b761ca9e
SM
104712017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10472
10473 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
10474 proc_with_prefix.
10475
b964bee0
TT
104762017-02-10 Tom Tromey <tom@tromey.com>
10477
10478 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
10479
18da0c51
MG
104802017-02-10 Martin Galvan <martingalvan@sourceware.org>
10481
10482 PR gdb/21122
10483 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
10484
604c4576
JG
104852017-02-08 Jerome Guitton <guitton@adacore.com>
10486
10487 * gdb.base/define.exp: Add test for command abbreviations
10488 in define.
10489
20b477a7
LM
104902017-02-06 Luis Machado <lgustavo@codesourcery.com>
10491
10492 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
10493 * gdb.reverse/insn-reverse-x86.c: New file.
10494
3f7b46f2
IR
104952017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10496
10497 PR tdep/20936
10498 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
10499
f0fd41c1
TT
105002017-02-03 Tom Tromey <tom@tromey.com>
10501
10502 PR rust/21097:
10503 * gdb.rust/simple.exp: Add new tests.
10504
5be5dbf0
PA
105052017-02-02 Pedro Alves <palves@redhat.com>
10506
10507 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
10508 tests.
10509
7346ef59
AA
105102017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10511
10512 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
10513 taking a 2-byte value out of a 4-byte DWARF implicit value on
10514 big-endian targets.
10515 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
10516 logic. Add test cases for DW_OP_implicit.
10517
787f0025
MM
105182017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10519
10520 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
10521
68777c29
MM
105222017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10523
10524 * gdb.btrace/enable.exp: Call gdb_exit before
10525 skip_gdbserver_tests.
10526
0a1c7e28
MM
105272017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10528
10529 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
10530 GDBFLAGS.
10531
b5ac99b0
MM
105322017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10533
10534 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
10535 the test is skipped.
10536 * gdb.btrace/data.exp: Likewise.
10537 * gdb.btrace/delta.exp: Likewise.
10538 * gdb.btrace/dlopen.exp: Likewise.
10539 * gdb.btrace/enable-running.exp: Likewise.
10540 * gdb.btrace/enable.exp: Likewise.
10541 * gdb.btrace/exception.exp: Likewise.
10542 * gdb.btrace/function_call_history.exp: Likewise.
10543 * gdb.btrace/gcore.exp: Likewise.
10544 * gdb.btrace/instruction_history.exp: Likewise.
10545 * gdb.btrace/multi-thread-step.exp: Likewise.
10546 * gdb.btrace/nohist.exp: Likewise.
10547 * gdb.btrace/non-stop.exp: Likewise.
10548 * gdb.btrace/reconnect.exp: Likewise.
10549 * gdb.btrace/record_goto-step.exp: Likewise.
10550 * gdb.btrace/record_goto.exp: Likewise.
10551 * gdb.btrace/rn-dl-bind.exp: Likewise.
10552 * gdb.btrace/segv.exp: Likewise.
10553 * gdb.btrace/step.exp: Likewise.
10554 * gdb.btrace/stepi.exp: Likewise.
10555 * gdb.btrace/tailcall-only.exp: Likewise.
10556 * gdb.btrace/tailcall.exp: Likewise.
10557 * gdb.btrace/tsx.exp: Likewise.
10558 * gdb.btrace/unknown_functions.exp: Likewise.
10559 * gdb.btrace/vdso.exp: Likewise.
10560
cd4007e4
MM
105612017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10562
10563 * gdb.btrace/enable-running.c: New.
10564 * gdb.btrace/enable-running.exp: New.
10565
2735833d
WT
105662017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
10567
10568 * gdb.arch/amd64-gs_base.c: New file.
10569 * gdb.arch/amd64-gs_base.exp: New file.
10570
b51e1e94
LM
105712017-01-26 Luis Machado <lgustavo@codesourcery.com>
10572
10573 * lib/memory.exp: Remove spurious empty newlines.
10574
72ca0410
SM
105752017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
10576
10577 * gdb.python/py-bad-printers.exp: Load python file using "source".
10578 * gdb.python/py-events.exp: Likewise.
10579 * gdb.python/py-evsignal.exp: Likewise.
10580 * gdb.python/py-evthreads.exp: Likewise.
10581 * gdb.python/py-frame-args.exp: Likewise.
10582 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
10583 * gdb.python/py-framefilter-mi.exp: Likewise.
10584 * gdb.python/py-framefilter.exp: Likewise.
10585 * gdb.python/py-mi.exp: Likewise.
10586 * gdb.python/py-pp-maint.exp: Likewise.
10587 * gdb.python/py-pp-registration.exp: Likewise.
10588 * gdb.python/py-prettyprint.exp: Likewise.
10589 (run_lang_tests): Likewise.
10590 * gdb.python/py-typeprint.exp: Likewise.
10591
e309aa65
LM
105922017-01-26 Luis Machado <lgustavo@codesourcery.com>
10593
10594 * lib/memory.exp: New file.
10595 * lib/gdb.exp: Load memory.exp.
10596 * gdb.base/memattr.exp (delete_memory): Move proc to
10597 lib/memory.exp and rename to delete_memory_regions.
10598 Replace delete_memory with delete_memory_regions.
10599 Cleanup memory regions before tests.
10600 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
10601 before tests.
10602
515aff23
LM
106032017-01-26 Luis Machado <lgustavo@codesourcery.com>
10604
10605 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
10606 files.
10607 (initialize): New function conditionally defined.
10608 (testcases): Move within conditional block.
10609 (main): Call initialize.
10610 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
10611 of gdb.reverse/insn-reverse.c.
10612 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
10613 gdb.reverse/insn-reverse.c.
10614
d8b49cf0
YQ
106152017-01-26 Yao Qi <yao.qi@linaro.org>
10616
10617 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
10618 disassemble on address 0.
10619
f13a9a0c
YQ
106202017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
10621 Yao Qi <yao.qi@linaro.org>
10622
10623 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
10624 * gdb.dwarf2/implptr-64bit.S: Remove.
10625 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
10626 variables in caller's context. Add DW_OP_implicit_value.
10627
5ac95241
YQ
106282017-01-25 Yao Qi <yao.qi@linaro.org>
10629
10630 * lib/dwarf.exp (Dwarf::_location): Handle
10631 DW_OP_GNU_implicit_pointer with proper size.
10632
23e82930
LM
106332017-01-20 Luis Machado <lgustavo@codesourcery.com>
10634
10635 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
10636 and add untested calls.
10637
d334ae25
LM
106382017-01-20 Luis Machado <lgustavo@codesourcery.com>
10639
10640 * gdb.python/python.exp: Check line number against what GDB thinks
10641 the line number is for func1.
10642
f5e6296e
IB
106432017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
10644
10645 * gdb.dlang/debug-expr.exp: New file.
10646
5b362f04
LM
106472016-12-23 Luis Machado <lgustavo@codesourcery.com>
10648
10649 Fix test names for the following files:
10650
10651 * gdb.ada/exec_changed.exp
10652 * gdb.ada/info_types.exp
10653 * gdb.arch/aarch64-atomic-inst.exp
10654 * gdb.arch/aarch64-fp.exp
10655 * gdb.arch/altivec-abi.exp
10656 * gdb.arch/altivec-regs.exp
10657 * gdb.arch/amd64-byte.exp
10658 * gdb.arch/amd64-disp-step.exp
10659 * gdb.arch/amd64-dword.exp
10660 * gdb.arch/amd64-entry-value-inline.exp
10661 * gdb.arch/amd64-entry-value-param.exp
10662 * gdb.arch/amd64-entry-value-paramref.exp
10663 * gdb.arch/amd64-entry-value.exp
10664 * gdb.arch/amd64-i386-address.exp
10665 * gdb.arch/amd64-invalid-stack-middle.exp
10666 * gdb.arch/amd64-invalid-stack-top.exp
10667 * gdb.arch/amd64-optimout-repeat.exp
10668 * gdb.arch/amd64-prologue-skip.exp
10669 * gdb.arch/amd64-prologue-xmm.exp
10670 * gdb.arch/amd64-stap-special-operands.exp
10671 * gdb.arch/amd64-stap-wrong-subexp.exp
10672 * gdb.arch/amd64-tailcall-cxx.exp
10673 * gdb.arch/amd64-tailcall-noret.exp
10674 * gdb.arch/amd64-tailcall-ret.exp
10675 * gdb.arch/amd64-tailcall-self.exp
10676 * gdb.arch/amd64-word.exp
10677 * gdb.arch/arm-bl-branch-dest.exp
10678 * gdb.arch/arm-disp-step.exp
10679 * gdb.arch/arm-neon.exp
10680 * gdb.arch/arm-single-step-kernel-helper.exp
10681 * gdb.arch/avr-flash-qualifier.exp
10682 * gdb.arch/disp-step-insn-reloc.exp
10683 * gdb.arch/e500-abi.exp
10684 * gdb.arch/e500-regs.exp
10685 * gdb.arch/ftrace-insn-reloc.exp
10686 * gdb.arch/i386-avx512.exp
10687 * gdb.arch/i386-bp_permanent.exp
10688 * gdb.arch/i386-byte.exp
10689 * gdb.arch/i386-cfi-notcurrent.exp
10690 * gdb.arch/i386-disp-step.exp
10691 * gdb.arch/i386-dr3-watch.exp
10692 * gdb.arch/i386-float.exp
10693 * gdb.arch/i386-gnu-cfi.exp
10694 * gdb.arch/i386-mpx-map.exp
10695 * gdb.arch/i386-mpx-sigsegv.exp
10696 * gdb.arch/i386-mpx-simple_segv.exp
10697 * gdb.arch/i386-mpx.exp
10698 * gdb.arch/i386-permbkpt.exp
10699 * gdb.arch/i386-prologue.exp
10700 * gdb.arch/i386-signal.exp
10701 * gdb.arch/i386-size-overlap.exp
10702 * gdb.arch/i386-unwind.exp
10703 * gdb.arch/i386-word.exp
10704 * gdb.arch/mips-fcr.exp
10705 * gdb.arch/powerpc-d128-regs.exp
10706 * gdb.arch/powerpc-stackless.exp
10707 * gdb.arch/ppc64-atomic-inst.exp
10708 * gdb.arch/s390-stackless.exp
10709 * gdb.arch/s390-tdbregs.exp
10710 * gdb.arch/s390-vregs.exp
10711 * gdb.arch/sparc-sysstep.exp
10712 * gdb.arch/thumb-bx-pc.exp
10713 * gdb.arch/thumb-singlestep.exp
10714 * gdb.arch/thumb2-it.exp
10715 * gdb.arch/vsx-regs.exp
10716 * gdb.asm/asm-source.exp
10717 * gdb.base/a2-run.exp
10718 * gdb.base/advance.exp
10719 * gdb.base/all-bin.exp
10720 * gdb.base/anon.exp
10721 * gdb.base/args.exp
10722 * gdb.base/arithmet.exp
10723 * gdb.base/async-shell.exp
10724 * gdb.base/async.exp
10725 * gdb.base/attach-pie-noexec.exp
10726 * gdb.base/attach-twice.exp
10727 * gdb.base/auto-load.exp
10728 * gdb.base/bang.exp
10729 * gdb.base/bitfields.exp
10730 * gdb.base/break-always.exp
10731 * gdb.base/break-caller-line.exp
10732 * gdb.base/break-entry.exp
10733 * gdb.base/break-inline.exp
10734 * gdb.base/break-on-linker-gcd-function.exp
10735 * gdb.base/break-probes.exp
10736 * gdb.base/break.exp
10737 * gdb.base/breakpoint-shadow.exp
10738 * gdb.base/call-ar-st.exp
10739 * gdb.base/call-sc.exp
10740 * gdb.base/call-signal-resume.exp
10741 * gdb.base/call-strs.exp
10742 * gdb.base/callfuncs.exp
10743 * gdb.base/catch-fork-static.exp
10744 * gdb.base/catch-gdb-caused-signals.exp
10745 * gdb.base/catch-load.exp
10746 * gdb.base/catch-signal-fork.exp
10747 * gdb.base/catch-signal.exp
10748 * gdb.base/catch-syscall.exp
10749 * gdb.base/charset.exp
10750 * gdb.base/checkpoint.exp
10751 * gdb.base/chng-syms.exp
10752 * gdb.base/code-expr.exp
10753 * gdb.base/code_elim.exp
10754 * gdb.base/commands.exp
10755 * gdb.base/completion.exp
10756 * gdb.base/complex.exp
10757 * gdb.base/cond-expr.exp
10758 * gdb.base/condbreak.exp
10759 * gdb.base/consecutive.exp
10760 * gdb.base/continue-all-already-running.exp
10761 * gdb.base/coredump-filter.exp
10762 * gdb.base/corefile.exp
10763 * gdb.base/dbx.exp
10764 * gdb.base/debug-expr.exp
10765 * gdb.base/define.exp
10766 * gdb.base/del.exp
10767 * gdb.base/disabled-location.exp
10768 * gdb.base/disasm-end-cu.exp
10769 * gdb.base/disasm-optim.exp
10770 * gdb.base/display.exp
10771 * gdb.base/duplicate-bp.exp
10772 * gdb.base/ena-dis-br.exp
10773 * gdb.base/ending-run.exp
10774 * gdb.base/enumval.exp
10775 * gdb.base/environ.exp
10776 * gdb.base/eu-strip-infcall.exp
10777 * gdb.base/eval-avoid-side-effects.exp
10778 * gdb.base/eval-skip.exp
10779 * gdb.base/exitsignal.exp
10780 * gdb.base/expand-psymtabs.exp
10781 * gdb.base/filesym.exp
10782 * gdb.base/find-unmapped.exp
10783 * gdb.base/finish.exp
10784 * gdb.base/float.exp
10785 * gdb.base/foll-exec-mode.exp
10786 * gdb.base/foll-exec.exp
10787 * gdb.base/foll-fork.exp
10788 * gdb.base/fortran-sym-case.exp
10789 * gdb.base/freebpcmd.exp
10790 * gdb.base/func-ptr.exp
10791 * gdb.base/func-ptrs.exp
10792 * gdb.base/funcargs.exp
10793 * gdb.base/gcore-buffer-overflow.exp
10794 * gdb.base/gcore-relro-pie.exp
10795 * gdb.base/gcore-relro.exp
10796 * gdb.base/gcore.exp
10797 * gdb.base/gdb1090.exp
10798 * gdb.base/gdb11530.exp
10799 * gdb.base/gdb11531.exp
10800 * gdb.base/gdb1821.exp
10801 * gdb.base/gdbindex-stabs.exp
10802 * gdb.base/gdbvars.exp
10803 * gdb.base/hbreak.exp
10804 * gdb.base/hbreak2.exp
10805 * gdb.base/included.exp
10806 * gdb.base/infcall-input.exp
10807 * gdb.base/inferior-died.exp
10808 * gdb.base/infnan.exp
10809 * gdb.base/info-macros.exp
10810 * gdb.base/info-os.exp
10811 * gdb.base/info-proc.exp
10812 * gdb.base/info-shared.exp
10813 * gdb.base/info-target.exp
10814 * gdb.base/infoline.exp
10815 * gdb.base/interp.exp
10816 * gdb.base/interrupt.exp
10817 * gdb.base/jit-reader.exp
10818 * gdb.base/jit-simple.exp
10819 * gdb.base/kill-after-signal.exp
10820 * gdb.base/kill-detach-inferiors-cmd.exp
10821 * gdb.base/label.exp
10822 * gdb.base/langs.exp
10823 * gdb.base/ldbl_e308.exp
10824 * gdb.base/line-symtabs.exp
10825 * gdb.base/linespecs.exp
10826 * gdb.base/list.exp
10827 * gdb.base/long_long.exp
10828 * gdb.base/longest-types.exp
10829 * gdb.base/maint.exp
10830 * gdb.base/max-value-size.exp
10831 * gdb.base/memattr.exp
10832 * gdb.base/mips_pro.exp
10833 * gdb.base/morestack.exp
10834 * gdb.base/moribund-step.exp
10835 * gdb.base/multi-forks.exp
10836 * gdb.base/nested-addr.exp
10837 * gdb.base/nextoverexit.exp
10838 * gdb.base/noreturn-finish.exp
10839 * gdb.base/noreturn-return.exp
10840 * gdb.base/nostdlib.exp
10841 * gdb.base/offsets.exp
10842 * gdb.base/opaque.exp
10843 * gdb.base/pc-fp.exp
10844 * gdb.base/permissions.exp
10845 * gdb.base/print-symbol-loading.exp
10846 * gdb.base/prologue-include.exp
10847 * gdb.base/psymtab.exp
10848 * gdb.base/ptype.exp
10849 * gdb.base/random-signal.exp
10850 * gdb.base/randomize.exp
10851 * gdb.base/range-stepping.exp
10852 * gdb.base/readline-ask.exp
10853 * gdb.base/recpar.exp
10854 * gdb.base/recurse.exp
10855 * gdb.base/relational.exp
10856 * gdb.base/restore.exp
10857 * gdb.base/return-nodebug.exp
10858 * gdb.base/return.exp
10859 * gdb.base/run-after-attach.exp
10860 * gdb.base/save-bp.exp
10861 * gdb.base/scope.exp
10862 * gdb.base/sect-cmd.exp
10863 * gdb.base/set-lang-auto.exp
10864 * gdb.base/set-noassign.exp
10865 * gdb.base/setvar.exp
10866 * gdb.base/sigall.exp
10867 * gdb.base/sigbpt.exp
10868 * gdb.base/siginfo-addr.exp
10869 * gdb.base/siginfo-infcall.exp
10870 * gdb.base/siginfo-obj.exp
10871 * gdb.base/siginfo.exp
10872 * gdb.base/signals-state-child.exp
10873 * gdb.base/signest.exp
10874 * gdb.base/sigstep.exp
10875 * gdb.base/sizeof.exp
10876 * gdb.base/skip.exp
10877 * gdb.base/solib-corrupted.exp
10878 * gdb.base/solib-nodir.exp
10879 * gdb.base/solib-search.exp
10880 * gdb.base/stack-checking.exp
10881 * gdb.base/stale-infcall.exp
10882 * gdb.base/stap-probe.exp
10883 * gdb.base/start.exp
10884 * gdb.base/step-break.exp
10885 * gdb.base/step-bt.exp
10886 * gdb.base/step-line.exp
10887 * gdb.base/step-over-exit.exp
10888 * gdb.base/step-over-syscall.exp
10889 * gdb.base/step-resume-infcall.exp
10890 * gdb.base/step-test.exp
10891 * gdb.base/store.exp
10892 * gdb.base/structs3.exp
10893 * gdb.base/sym-file.exp
10894 * gdb.base/symbol-without-target_section.exp
10895 * gdb.base/term.exp
10896 * gdb.base/testenv.exp
10897 * gdb.base/ui-redirect.exp
10898 * gdb.base/until.exp
10899 * gdb.base/unwindonsignal.exp
10900 * gdb.base/value-double-free.exp
10901 * gdb.base/vla-datatypes.exp
10902 * gdb.base/vla-ptr.exp
10903 * gdb.base/vla-sideeffect.exp
10904 * gdb.base/volatile.exp
10905 * gdb.base/watch-cond-infcall.exp
10906 * gdb.base/watch-cond.exp
10907 * gdb.base/watch-non-mem.exp
10908 * gdb.base/watch-read.exp
10909 * gdb.base/watch-vfork.exp
10910 * gdb.base/watchpoint-cond-gone.exp
10911 * gdb.base/watchpoint-delete.exp
10912 * gdb.base/watchpoint-hw-hit-once.exp
10913 * gdb.base/watchpoint-hw.exp
10914 * gdb.base/watchpoint-stops-at-right-insn.exp
10915 * gdb.base/watchpoints.exp
10916 * gdb.base/wchar.exp
10917 * gdb.base/whatis-exp.exp
10918 * gdb.btrace/buffer-size.exp
10919 * gdb.btrace/data.exp
10920 * gdb.btrace/delta.exp
10921 * gdb.btrace/dlopen.exp
10922 * gdb.btrace/enable.exp
10923 * gdb.btrace/exception.exp
10924 * gdb.btrace/function_call_history.exp
10925 * gdb.btrace/gcore.exp
10926 * gdb.btrace/instruction_history.exp
10927 * gdb.btrace/nohist.exp
10928 * gdb.btrace/reconnect.exp
10929 * gdb.btrace/record_goto-step.exp
10930 * gdb.btrace/record_goto.exp
10931 * gdb.btrace/rn-dl-bind.exp
10932 * gdb.btrace/segv.exp
10933 * gdb.btrace/step.exp
10934 * gdb.btrace/stepi.exp
10935 * gdb.btrace/tailcall-only.exp
10936 * gdb.btrace/tailcall.exp
10937 * gdb.btrace/tsx.exp
10938 * gdb.btrace/unknown_functions.exp
10939 * gdb.btrace/vdso.exp
10940 * gdb.compile/compile-ifunc.exp
10941 * gdb.compile/compile-ops.exp
10942 * gdb.compile/compile-print.exp
10943 * gdb.compile/compile-setjmp.exp
10944 * gdb.cp/abstract-origin.exp
10945 * gdb.cp/ambiguous.exp
10946 * gdb.cp/annota2.exp
10947 * gdb.cp/annota3.exp
10948 * gdb.cp/anon-ns.exp
10949 * gdb.cp/anon-struct.exp
10950 * gdb.cp/anon-union.exp
10951 * gdb.cp/arg-reference.exp
10952 * gdb.cp/baseenum.exp
10953 * gdb.cp/bool.exp
10954 * gdb.cp/breakpoint.exp
10955 * gdb.cp/bs15503.exp
10956 * gdb.cp/call-c.exp
10957 * gdb.cp/casts.exp
10958 * gdb.cp/chained-calls.exp
10959 * gdb.cp/class2.exp
10960 * gdb.cp/classes.exp
10961 * gdb.cp/cmpd-minsyms.exp
10962 * gdb.cp/converts.exp
10963 * gdb.cp/cp-relocate.exp
10964 * gdb.cp/cpcompletion.exp
10965 * gdb.cp/cpexprs.exp
10966 * gdb.cp/cplabel.exp
10967 * gdb.cp/cplusfuncs.exp
10968 * gdb.cp/cpsizeof.exp
10969 * gdb.cp/ctti.exp
10970 * gdb.cp/derivation.exp
10971 * gdb.cp/destrprint.exp
10972 * gdb.cp/dispcxx.exp
10973 * gdb.cp/enum-class.exp
10974 * gdb.cp/exception.exp
10975 * gdb.cp/exceptprint.exp
10976 * gdb.cp/expand-psymtabs-cxx.exp
10977 * gdb.cp/expand-sals.exp
10978 * gdb.cp/extern-c.exp
10979 * gdb.cp/filename.exp
10980 * gdb.cp/formatted-ref.exp
10981 * gdb.cp/fpointer.exp
10982 * gdb.cp/gdb1355.exp
10983 * gdb.cp/gdb2495.exp
10984 * gdb.cp/hang.exp
10985 * gdb.cp/impl-this.exp
10986 * gdb.cp/infcall-dlopen.exp
10987 * gdb.cp/inherit.exp
10988 * gdb.cp/iostream.exp
10989 * gdb.cp/koenig.exp
10990 * gdb.cp/local.exp
10991 * gdb.cp/m-data.exp
10992 * gdb.cp/m-static.exp
10993 * gdb.cp/mb-ctor.exp
10994 * gdb.cp/mb-inline.exp
10995 * gdb.cp/mb-templates.exp
10996 * gdb.cp/member-name.exp
10997 * gdb.cp/member-ptr.exp
10998 * gdb.cp/meth-typedefs.exp
10999 * gdb.cp/method.exp
11000 * gdb.cp/method2.exp
11001 * gdb.cp/minsym-fallback.exp
11002 * gdb.cp/misc.exp
11003 * gdb.cp/namelessclass.exp
11004 * gdb.cp/namespace-enum.exp
11005 * gdb.cp/namespace-nested-import.exp
11006 * gdb.cp/namespace.exp
11007 * gdb.cp/nextoverthrow.exp
11008 * gdb.cp/no-dmgl-verbose.exp
11009 * gdb.cp/non-trivial-retval.exp
11010 * gdb.cp/noparam.exp
11011 * gdb.cp/nsdecl.exp
11012 * gdb.cp/nsimport.exp
11013 * gdb.cp/nsnested.exp
11014 * gdb.cp/nsnoimports.exp
11015 * gdb.cp/nsrecurs.exp
11016 * gdb.cp/nsstress.exp
11017 * gdb.cp/nsusing.exp
11018 * gdb.cp/operator.exp
11019 * gdb.cp/oranking.exp
11020 * gdb.cp/overload-const.exp
11021 * gdb.cp/overload.exp
11022 * gdb.cp/ovldbreak.exp
11023 * gdb.cp/ovsrch.exp
11024 * gdb.cp/paren-type.exp
11025 * gdb.cp/parse-lang.exp
11026 * gdb.cp/pass-by-ref.exp
11027 * gdb.cp/pr-1023.exp
11028 * gdb.cp/pr-1210.exp
11029 * gdb.cp/pr-574.exp
11030 * gdb.cp/pr10687.exp
11031 * gdb.cp/pr12028.exp
11032 * gdb.cp/pr17132.exp
11033 * gdb.cp/pr17494.exp
11034 * gdb.cp/pr9067.exp
11035 * gdb.cp/pr9167.exp
11036 * gdb.cp/pr9631.exp
11037 * gdb.cp/printmethod.exp
11038 * gdb.cp/psmang.exp
11039 * gdb.cp/psymtab-parameter.exp
11040 * gdb.cp/ptype-cv-cp.exp
11041 * gdb.cp/ptype-flags.exp
11042 * gdb.cp/re-set-overloaded.exp
11043 * gdb.cp/ref-types.exp
11044 * gdb.cp/rtti.exp
11045 * gdb.cp/scope-err.exp
11046 * gdb.cp/shadow.exp
11047 * gdb.cp/smartp.exp
11048 * gdb.cp/static-method.exp
11049 * gdb.cp/static-print-quit.exp
11050 * gdb.cp/temargs.exp
11051 * gdb.cp/templates.exp
11052 * gdb.cp/try_catch.exp
11053 * gdb.cp/typedef-operator.exp
11054 * gdb.cp/typeid.exp
11055 * gdb.cp/userdef.exp
11056 * gdb.cp/using-crash.exp
11057 * gdb.cp/var-tag.exp
11058 * gdb.cp/virtbase.exp
11059 * gdb.cp/virtfunc.exp
11060 * gdb.cp/virtfunc2.exp
11061 * gdb.cp/vla-cxx.exp
11062 * gdb.disasm/t01_mov.exp
11063 * gdb.disasm/t02_mova.exp
11064 * gdb.disasm/t03_add.exp
11065 * gdb.disasm/t04_sub.exp
11066 * gdb.disasm/t05_cmp.exp
11067 * gdb.disasm/t06_ari2.exp
11068 * gdb.disasm/t07_ari3.exp
11069 * gdb.disasm/t08_or.exp
11070 * gdb.disasm/t09_xor.exp
11071 * gdb.disasm/t10_and.exp
11072 * gdb.disasm/t11_logs.exp
11073 * gdb.disasm/t12_bit.exp
11074 * gdb.disasm/t13_otr.exp
11075 * gdb.dlang/circular.exp
11076 * gdb.dwarf2/arr-stride.exp
11077 * gdb.dwarf2/arr-subrange.exp
11078 * gdb.dwarf2/atomic-type.exp
11079 * gdb.dwarf2/bad-regnum.exp
11080 * gdb.dwarf2/bitfield-parent-optimized-out.exp
11081 * gdb.dwarf2/callframecfa.exp
11082 * gdb.dwarf2/clztest.exp
11083 * gdb.dwarf2/corrupt.exp
11084 * gdb.dwarf2/data-loc.exp
11085 * gdb.dwarf2/dup-psym.exp
11086 * gdb.dwarf2/dw2-anon-mptr.exp
11087 * gdb.dwarf2/dw2-anonymous-func.exp
11088 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
11089 * gdb.dwarf2/dw2-bad-unresolved.exp
11090 * gdb.dwarf2/dw2-basic.exp
11091 * gdb.dwarf2/dw2-canonicalize-type.exp
11092 * gdb.dwarf2/dw2-case-insensitive.exp
11093 * gdb.dwarf2/dw2-common-block.exp
11094 * gdb.dwarf2/dw2-compdir-oldgcc.exp
11095 * gdb.dwarf2/dw2-compressed.exp
11096 * gdb.dwarf2/dw2-const.exp
11097 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
11098 * gdb.dwarf2/dw2-cu-size.exp
11099 * gdb.dwarf2/dw2-dup-frame.exp
11100 * gdb.dwarf2/dw2-entry-value.exp
11101 * gdb.dwarf2/dw2-icycle.exp
11102 * gdb.dwarf2/dw2-ifort-parameter.exp
11103 * gdb.dwarf2/dw2-inline-break.exp
11104 * gdb.dwarf2/dw2-inline-param.exp
11105 * gdb.dwarf2/dw2-intercu.exp
11106 * gdb.dwarf2/dw2-intermix.exp
11107 * gdb.dwarf2/dw2-lexical-block-bare.exp
11108 * gdb.dwarf2/dw2-linkage-name-trust.exp
11109 * gdb.dwarf2/dw2-minsym-in-cu.exp
11110 * gdb.dwarf2/dw2-noloc.exp
11111 * gdb.dwarf2/dw2-op-call.exp
11112 * gdb.dwarf2/dw2-op-out-param.exp
11113 * gdb.dwarf2/dw2-opt-structptr.exp
11114 * gdb.dwarf2/dw2-param-error.exp
11115 * gdb.dwarf2/dw2-producer.exp
11116 * gdb.dwarf2/dw2-ranges-base.exp
11117 * gdb.dwarf2/dw2-ref-missing-frame.exp
11118 * gdb.dwarf2/dw2-reg-undefined.exp
11119 * gdb.dwarf2/dw2-regno-invalid.exp
11120 * gdb.dwarf2/dw2-restore.exp
11121 * gdb.dwarf2/dw2-restrict.exp
11122 * gdb.dwarf2/dw2-single-line-discriminators.exp
11123 * gdb.dwarf2/dw2-strp.exp
11124 * gdb.dwarf2/dw2-undefined-ret-addr.exp
11125 * gdb.dwarf2/dw2-unresolved.exp
11126 * gdb.dwarf2/dw2-var-zero-addr.exp
11127 * gdb.dwarf2/dw4-sig-types.exp
11128 * gdb.dwarf2/dwz.exp
11129 * gdb.dwarf2/dynarr-ptr.exp
11130 * gdb.dwarf2/enum-type.exp
11131 * gdb.dwarf2/gdb-index.exp
11132 * gdb.dwarf2/implptr-64bit.exp
11133 * gdb.dwarf2/implptr-optimized-out.exp
11134 * gdb.dwarf2/implptr.exp
11135 * gdb.dwarf2/implref-array.exp
11136 * gdb.dwarf2/implref-const.exp
11137 * gdb.dwarf2/implref-global.exp
11138 * gdb.dwarf2/implref-struct.exp
11139 * gdb.dwarf2/mac-fileno.exp
11140 * gdb.dwarf2/main-subprogram.exp
11141 * gdb.dwarf2/member-ptr-forwardref.exp
11142 * gdb.dwarf2/method-ptr.exp
11143 * gdb.dwarf2/missing-sig-type.exp
11144 * gdb.dwarf2/nonvar-access.exp
11145 * gdb.dwarf2/opaque-type-lookup.exp
11146 * gdb.dwarf2/pieces-optimized-out.exp
11147 * gdb.dwarf2/pieces.exp
11148 * gdb.dwarf2/pr10770.exp
11149 * gdb.dwarf2/pr13961.exp
11150 * gdb.dwarf2/staticvirtual.exp
11151 * gdb.dwarf2/subrange.exp
11152 * gdb.dwarf2/symtab-producer.exp
11153 * gdb.dwarf2/trace-crash.exp
11154 * gdb.dwarf2/typeddwarf.exp
11155 * gdb.dwarf2/valop.exp
11156 * gdb.dwarf2/watch-notconst.exp
11157 * gdb.fortran/array-element.exp
11158 * gdb.fortran/charset.exp
11159 * gdb.fortran/common-block.exp
11160 * gdb.fortran/complex.exp
11161 * gdb.fortran/derived-type-function.exp
11162 * gdb.fortran/derived-type.exp
11163 * gdb.fortran/logical.exp
11164 * gdb.fortran/module.exp
11165 * gdb.fortran/multi-dim.exp
11166 * gdb.fortran/nested-funcs.exp
11167 * gdb.fortran/print-formatted.exp
11168 * gdb.fortran/subarray.exp
11169 * gdb.fortran/vla-alloc-assoc.exp
11170 * gdb.fortran/vla-datatypes.exp
11171 * gdb.fortran/vla-history.exp
11172 * gdb.fortran/vla-ptr-info.exp
11173 * gdb.fortran/vla-ptype-sub.exp
11174 * gdb.fortran/vla-ptype.exp
11175 * gdb.fortran/vla-sizeof.exp
11176 * gdb.fortran/vla-type.exp
11177 * gdb.fortran/vla-value-sub-arbitrary.exp
11178 * gdb.fortran/vla-value-sub-finish.exp
11179 * gdb.fortran/vla-value-sub.exp
11180 * gdb.fortran/vla-value.exp
11181 * gdb.fortran/whatis_type.exp
11182 * gdb.go/chan.exp
11183 * gdb.go/handcall.exp
11184 * gdb.go/hello.exp
11185 * gdb.go/integers.exp
11186 * gdb.go/methods.exp
11187 * gdb.go/package.exp
11188 * gdb.go/strings.exp
11189 * gdb.go/types.exp
11190 * gdb.go/unsafe.exp
11191 * gdb.guile/scm-arch.exp
11192 * gdb.guile/scm-block.exp
11193 * gdb.guile/scm-breakpoint.exp
11194 * gdb.guile/scm-cmd.exp
11195 * gdb.guile/scm-disasm.exp
11196 * gdb.guile/scm-equal.exp
11197 * gdb.guile/scm-frame-args.exp
11198 * gdb.guile/scm-frame-inline.exp
11199 * gdb.guile/scm-frame.exp
11200 * gdb.guile/scm-iterator.exp
11201 * gdb.guile/scm-math.exp
11202 * gdb.guile/scm-objfile.exp
11203 * gdb.guile/scm-ports.exp
11204 * gdb.guile/scm-symbol.exp
11205 * gdb.guile/scm-symtab.exp
11206 * gdb.guile/scm-value-cc.exp
11207 * gdb.guile/types-module.exp
11208 * gdb.linespec/break-ask.exp
11209 * gdb.linespec/cpexplicit.exp
11210 * gdb.linespec/explicit.exp
11211 * gdb.linespec/keywords.exp
11212 * gdb.linespec/linespec.exp
11213 * gdb.linespec/ls-dollar.exp
11214 * gdb.linespec/ls-errs.exp
11215 * gdb.linespec/skip-two.exp
11216 * gdb.linespec/thread.exp
11217 * gdb.mi/mi-async.exp
11218 * gdb.mi/mi-basics.exp
11219 * gdb.mi/mi-break.exp
11220 * gdb.mi/mi-catch-load.exp
11221 * gdb.mi/mi-cli.exp
11222 * gdb.mi/mi-cmd-param-changed.exp
11223 * gdb.mi/mi-console.exp
11224 * gdb.mi/mi-detach.exp
11225 * gdb.mi/mi-disassemble.exp
11226 * gdb.mi/mi-eval.exp
11227 * gdb.mi/mi-file-transfer.exp
11228 * gdb.mi/mi-file.exp
11229 * gdb.mi/mi-fill-memory.exp
11230 * gdb.mi/mi-inheritance-syntax-error.exp
11231 * gdb.mi/mi-linespec-err-cp.exp
11232 * gdb.mi/mi-logging.exp
11233 * gdb.mi/mi-memory-changed.exp
11234 * gdb.mi/mi-read-memory.exp
11235 * gdb.mi/mi-record-changed.exp
11236 * gdb.mi/mi-reg-undefined.exp
11237 * gdb.mi/mi-regs.exp
11238 * gdb.mi/mi-return.exp
11239 * gdb.mi/mi-reverse.exp
11240 * gdb.mi/mi-simplerun.exp
11241 * gdb.mi/mi-solib.exp
11242 * gdb.mi/mi-stack.exp
11243 * gdb.mi/mi-stepi.exp
11244 * gdb.mi/mi-syn-frame.exp
11245 * gdb.mi/mi-until.exp
11246 * gdb.mi/mi-var-block.exp
11247 * gdb.mi/mi-var-child.exp
11248 * gdb.mi/mi-var-cmd.exp
11249 * gdb.mi/mi-var-cp.exp
11250 * gdb.mi/mi-var-display.exp
11251 * gdb.mi/mi-var-invalidate.exp
11252 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
11253 * gdb.mi/mi-vla-fortran.exp
11254 * gdb.mi/mi-watch.exp
11255 * gdb.mi/mi2-var-child.exp
11256 * gdb.mi/user-selected-context-sync.exp
11257 * gdb.modula2/unbounded-array.exp
11258 * gdb.multi/dummy-frame-restore.exp
11259 * gdb.multi/multi-arch-exec.exp
11260 * gdb.multi/multi-arch.exp
11261 * gdb.multi/tids.exp
11262 * gdb.multi/watchpoint-multi.exp
11263 * gdb.opencl/callfuncs.exp
11264 * gdb.opencl/convs_casts.exp
11265 * gdb.opencl/datatypes.exp
11266 * gdb.opencl/operators.exp
11267 * gdb.opencl/vec_comps.exp
11268 * gdb.opt/clobbered-registers-O2.exp
11269 * gdb.opt/inline-break.exp
11270 * gdb.opt/inline-bt.exp
11271 * gdb.opt/inline-cmds.exp
11272 * gdb.opt/inline-locals.exp
11273 * gdb.pascal/case-insensitive-symbols.exp
11274 * gdb.pascal/floats.exp
11275 * gdb.pascal/gdb11492.exp
11276 * gdb.python/lib-types.exp
11277 * gdb.python/py-arch.exp
11278 * gdb.python/py-as-string.exp
11279 * gdb.python/py-bad-printers.exp
11280 * gdb.python/py-block.exp
11281 * gdb.python/py-breakpoint-create-fail.exp
11282 * gdb.python/py-breakpoint.exp
11283 * gdb.python/py-caller-is.exp
11284 * gdb.python/py-cmd.exp
11285 * gdb.python/py-explore-cc.exp
11286 * gdb.python/py-explore.exp
11287 * gdb.python/py-finish-breakpoint.exp
11288 * gdb.python/py-finish-breakpoint2.exp
11289 * gdb.python/py-frame-args.exp
11290 * gdb.python/py-frame-inline.exp
11291 * gdb.python/py-frame.exp
11292 * gdb.python/py-framefilter-mi.exp
11293 * gdb.python/py-infthread.exp
11294 * gdb.python/py-lazy-string.exp
11295 * gdb.python/py-linetable.exp
11296 * gdb.python/py-mi-events.exp
11297 * gdb.python/py-mi-objfile.exp
11298 * gdb.python/py-mi.exp
11299 * gdb.python/py-objfile.exp
11300 * gdb.python/py-pp-integral.exp
11301 * gdb.python/py-pp-maint.exp
11302 * gdb.python/py-pp-re-notag.exp
11303 * gdb.python/py-pp-registration.exp
11304 * gdb.python/py-recurse-unwind.exp
11305 * gdb.python/py-strfns.exp
11306 * gdb.python/py-symbol.exp
11307 * gdb.python/py-symtab.exp
11308 * gdb.python/py-sync-interp.exp
11309 * gdb.python/py-typeprint.exp
11310 * gdb.python/py-unwind-maint.exp
11311 * gdb.python/py-unwind.exp
11312 * gdb.python/py-value-cc.exp
11313 * gdb.python/py-xmethods.exp
11314 * gdb.reverse/amd64-tailcall-reverse.exp
11315 * gdb.reverse/break-precsave.exp
11316 * gdb.reverse/break-reverse.exp
11317 * gdb.reverse/consecutive-precsave.exp
11318 * gdb.reverse/consecutive-reverse.exp
11319 * gdb.reverse/finish-precsave.exp
11320 * gdb.reverse/finish-reverse-bkpt.exp
11321 * gdb.reverse/finish-reverse.exp
11322 * gdb.reverse/fstatat-reverse.exp
11323 * gdb.reverse/getresuid-reverse.exp
11324 * gdb.reverse/i386-precsave.exp
11325 * gdb.reverse/i386-reverse.exp
11326 * gdb.reverse/i386-sse-reverse.exp
11327 * gdb.reverse/i387-env-reverse.exp
11328 * gdb.reverse/i387-stack-reverse.exp
11329 * gdb.reverse/insn-reverse.exp
11330 * gdb.reverse/machinestate-precsave.exp
11331 * gdb.reverse/machinestate.exp
11332 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11333 * gdb.reverse/pipe-reverse.exp
11334 * gdb.reverse/readv-reverse.exp
11335 * gdb.reverse/recvmsg-reverse.exp
11336 * gdb.reverse/rerun-prec.exp
11337 * gdb.reverse/s390-mvcle.exp
11338 * gdb.reverse/step-precsave.exp
11339 * gdb.reverse/step-reverse.exp
11340 * gdb.reverse/time-reverse.exp
11341 * gdb.reverse/until-precsave.exp
11342 * gdb.reverse/until-reverse.exp
11343 * gdb.reverse/waitpid-reverse.exp
11344 * gdb.reverse/watch-precsave.exp
11345 * gdb.reverse/watch-reverse.exp
11346 * gdb.rust/generics.exp
11347 * gdb.rust/methods.exp
11348 * gdb.rust/modules.exp
11349 * gdb.rust/simple.exp
11350 * gdb.server/connect-with-no-symbol-file.exp
11351 * gdb.server/ext-attach.exp
11352 * gdb.server/ext-restart.exp
11353 * gdb.server/ext-wrapper.exp
11354 * gdb.server/file-transfer.exp
11355 * gdb.server/server-exec-info.exp
11356 * gdb.server/server-kill.exp
11357 * gdb.server/server-mon.exp
11358 * gdb.server/wrapper.exp
11359 * gdb.stabs/exclfwd.exp
11360 * gdb.stabs/gdb11479.exp
11361 * gdb.threads/clone-new-thread-event.exp
11362 * gdb.threads/corethreads.exp
11363 * gdb.threads/current-lwp-dead.exp
11364 * gdb.threads/dlopen-libpthread.exp
11365 * gdb.threads/gcore-thread.exp
11366 * gdb.threads/sigstep-threads.exp
11367 * gdb.threads/watchpoint-fork.exp
11368 * gdb.trace/actions-changed.exp
11369 * gdb.trace/backtrace.exp
11370 * gdb.trace/change-loc.exp
11371 * gdb.trace/circ.exp
11372 * gdb.trace/collection.exp
11373 * gdb.trace/disconnected-tracing.exp
11374 * gdb.trace/ftrace.exp
11375 * gdb.trace/mi-trace-frame-collected.exp
11376 * gdb.trace/mi-trace-unavailable.exp
11377 * gdb.trace/mi-traceframe-changed.exp
11378 * gdb.trace/mi-tsv-changed.exp
11379 * gdb.trace/no-attach-trace.exp
11380 * gdb.trace/passc-dyn.exp
11381 * gdb.trace/qtro.exp
11382 * gdb.trace/range-stepping.exp
11383 * gdb.trace/read-memory.exp
11384 * gdb.trace/save-trace.exp
11385 * gdb.trace/signal.exp
11386 * gdb.trace/status-stop.exp
11387 * gdb.trace/tfile.exp
11388 * gdb.trace/trace-break.exp
11389 * gdb.trace/trace-buffer-size.exp
11390 * gdb.trace/trace-condition.exp
11391 * gdb.trace/tracefile-pseudo-reg.exp
11392 * gdb.trace/tstatus.exp
11393 * gdb.trace/unavailable.exp
11394 * gdb.trace/while-dyn.exp
11395 * gdb.trace/while-stepping.exp
11396
34c41c68
DE
113972016-12-22 Doug Evans <xdje42@gmail.com>
11398
11399 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
11400 and msymbols.
11401
16e69324
YQ
114022016-12-19 Yao Qi <yao.qi@linaro.org>
11403
11404 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
11405 (test_with_self): Don't call do_steps_and_nexts, and remove
11406 code about stepping into xmalloc.
11407
f94f411b
YQ
114082016-12-09 Yao Qi <yao.qi@linaro.org>
11409
11410 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
11411
114122016-12-09 Yao Qi <yao.qi@linaro.org>
11413
11414 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
11415
f1b5deee
PA
114162016-12-09 Pedro Alves <palves@redhat.com>
11417
11418 * gdb.base/all-architectures-0.exp: New file.
11419 * gdb.base/all-architectures-1.exp: New file.
11420 * gdb.base/all-architectures-2.exp: New file.
11421 * gdb.base/all-architectures-3.exp: New file.
11422 * gdb.base/all-architectures-4.exp: New file.
11423 * gdb.base/all-architectures-5.exp: New file.
11424 * gdb.base/all-architectures-6.exp: New file.
11425 * gdb.base/all-architectures-7.exp: New file.
11426 * gdb.base/all-architectures.exp.in: New file.
11427
364ca42e
YQ
114282016-12-09 Yao Qi <yao.qi@linaro.org>
11429
11430 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
11431
107c2d62
LM
114322016-12-02 Luis Machado <lgustavo@codesourcery.com>
11433
11434 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
11435 possible.
11436 Remove useless pattern-matching code.
11437
df3ee9ca
PA
114382016-12-02 Pedro Alves <palves@redhat.com>
11439
11440 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
11441 procedure.
11442 (top level): Call it.
11443
ec835369
PA
114442016-12-02 Pedro Alves <palves@redhat.com>
11445
11446 * gdb.base/commands.exp (user_defined_command_args_stack_test):
11447 New procedure.
11448 (top level): Call it.
11449
01770bbd
PA
114502016-12-02 Pedro Alves <palves@redhat.com>
11451
11452 PR cli/20559
11453 * gdb.base/commands.exp (user_defined_command_args_eval): New
11454 procedure.
11455 (top level): Call it.
11456
008459ea
LM
114572016-12-02 Luis Machado <lgustavo@codesourcery.com>
11458
11459 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
11460 timeout handling.
11461
0c1b455e
TT
114622016-12-02 Tom Tromey <tom@tromey.com>
11463
11464 * gdb.dwarf2/main-subprogram.c: New file.
11465 * gdb.dwarf2/main-subprogram.exp: New file.
11466
018572b8
LM
114672016-12-01 Luis Machado <lgustavo@codesourcery.com>
11468
11469 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
11470 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
11471 gdb_test_no_output for a couple of cases.
11472 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
11473
84c93cd5
LM
114742016-12-01 Luis Machado <lgustavo@codesourcery.com>
11475
11476 Fix test names and standardize compilation error messages throughout
11477 the following files:
11478
11479 * gdb.ada/start.exp
11480 * gdb.arch/alpha-step.exp
11481 * gdb.arch/e500-prologue.exp
11482 * gdb.arch/ftrace-insn-reloc.exp
11483 * gdb.arch/gdb1291.exp
11484 * gdb.arch/gdb1431.exp
11485 * gdb.arch/gdb1558.exp
11486 * gdb.arch/i386-dr3-watch.exp
11487 * gdb.arch/i386-sse-stack-align.exp
11488 * gdb.arch/ia64-breakpoint-shadow.exp
11489 * gdb.arch/pa-nullify.exp
11490 * gdb.arch/powerpc-aix-prologue.exp
11491 * gdb.arch/thumb-bx-pc.exp
11492 * gdb.base/annota1.exp
11493 * gdb.base/annota3.exp
11494 * gdb.base/arrayidx.exp
11495 * gdb.base/assign.exp
11496 * gdb.base/attach.exp
11497 * gdb.base/auxv.exp
11498 * gdb.base/bang.exp
11499 * gdb.base/bfp-test.exp
11500 * gdb.base/bigcore.exp
11501 * gdb.base/bitfields2.exp
11502 * gdb.base/break-fun-addr.exp
11503 * gdb.base/break-probes.exp
11504 * gdb.base/call-rt-st.exp
11505 * gdb.base/callexit.exp
11506 * gdb.base/catch-fork-kill.exp
11507 * gdb.base/charset.exp
11508 * gdb.base/checkpoint.exp
11509 * gdb.base/comprdebug.exp
11510 * gdb.base/constvars.exp
11511 * gdb.base/coredump-filter.exp
11512 * gdb.base/cursal.exp
11513 * gdb.base/cvexpr.exp
11514 * gdb.base/detach.exp
11515 * gdb.base/display.exp
11516 * gdb.base/dmsym.exp
11517 * gdb.base/dprintf-pending.exp
11518 * gdb.base/dso2dso.exp
11519 * gdb.base/dtrace-probe.exp
11520 * gdb.base/dump.exp
11521 * gdb.base/enum_cond.exp
11522 * gdb.base/exe-lock.exp
11523 * gdb.base/exec-invalid-sysroot.exp
11524 * gdb.base/execl-update-breakpoints.exp
11525 * gdb.base/exprs.exp
11526 * gdb.base/fileio.exp
11527 * gdb.base/find.exp
11528 * gdb.base/finish.exp
11529 * gdb.base/fixsection.exp
11530 * gdb.base/foll-vfork.exp
11531 * gdb.base/frame-args.exp
11532 * gdb.base/gcore.exp
11533 * gdb.base/gdb1250.exp
11534 * gdb.base/global-var-nested-by-dso.exp
11535 * gdb.base/gnu-ifunc.exp
11536 * gdb.base/hashline1.exp
11537 * gdb.base/hashline2.exp
11538 * gdb.base/hashline3.exp
11539 * gdb.base/hbreak-in-shr-unsupported.exp
11540 * gdb.base/huge.exp
11541 * gdb.base/infcall-input.exp
11542 * gdb.base/info-fun.exp
11543 * gdb.base/info-shared.exp
11544 * gdb.base/jit-simple.exp
11545 * gdb.base/jit-so.exp
11546 * gdb.base/jit.exp
11547 * gdb.base/jump.exp
11548 * gdb.base/label.exp
11549 * gdb.base/lineinc.exp
11550 * gdb.base/logical.exp
11551 * gdb.base/longjmp.exp
11552 * gdb.base/macscp.exp
11553 * gdb.base/miscexprs.exp
11554 * gdb.base/new-ui-echo.exp
11555 * gdb.base/new-ui-pending-input.exp
11556 * gdb.base/new-ui.exp
11557 * gdb.base/nodebug.exp
11558 * gdb.base/nofield.exp
11559 * gdb.base/offsets.exp
11560 * gdb.base/overlays.exp
11561 * gdb.base/pending.exp
11562 * gdb.base/pointers.exp
11563 * gdb.base/pr11022.exp
11564 * gdb.base/printcmds.exp
11565 * gdb.base/prologue.exp
11566 * gdb.base/ptr-typedef.exp
11567 * gdb.base/realname-expand.exp
11568 * gdb.base/relativedebug.exp
11569 * gdb.base/relocate.exp
11570 * gdb.base/remote.exp
11571 * gdb.base/reread.exp
11572 * gdb.base/return2.exp
11573 * gdb.base/savedregs.exp
11574 * gdb.base/sep.exp
11575 * gdb.base/sepdebug.exp
11576 * gdb.base/sepsymtab.exp
11577 * gdb.base/set-inferior-tty.exp
11578 * gdb.base/setshow.exp
11579 * gdb.base/shlib-call.exp
11580 * gdb.base/sigaltstack.exp
11581 * gdb.base/siginfo-addr.exp
11582 * gdb.base/signals.exp
11583 * gdb.base/signull.exp
11584 * gdb.base/sigrepeat.exp
11585 * gdb.base/so-impl-ld.exp
11586 * gdb.base/solib-display.exp
11587 * gdb.base/solib-overlap.exp
11588 * gdb.base/solib-search.exp
11589 * gdb.base/solib-symbol.exp
11590 * gdb.base/structs.exp
11591 * gdb.base/structs2.exp
11592 * gdb.base/symtab-search-order.exp
11593 * gdb.base/twice.exp
11594 * gdb.base/unload.exp
11595 * gdb.base/varargs.exp
11596 * gdb.base/watchpoint-solib.exp
11597 * gdb.base/watchpoint.exp
11598 * gdb.base/whatis.exp
11599 * gdb.base/wrong_frame_bt_full.exp
11600 * gdb.btrace/dlopen.exp
11601 * gdb.cell/ea-standalone.exp
11602 * gdb.cell/ea-test.exp
11603 * gdb.cp/dispcxx.exp
11604 * gdb.cp/gdb2384.exp
11605 * gdb.cp/method2.exp
11606 * gdb.cp/nextoverthrow.exp
11607 * gdb.cp/pr10728.exp
11608 * gdb.disasm/am33.exp
11609 * gdb.disasm/h8300s.exp
11610 * gdb.disasm/mn10300.exp
11611 * gdb.disasm/sh3.exp
11612 * gdb.dwarf2/dw2-dir-file-name.exp
11613 * gdb.fortran/complex.exp
11614 * gdb.fortran/library-module.exp
11615 * gdb.guile/scm-pretty-print.exp
11616 * gdb.guile/scm-symbol.exp
11617 * gdb.guile/scm-type.exp
11618 * gdb.guile/scm-value.exp
11619 * gdb.linespec/linespec.exp
11620 * gdb.mi/gdb701.exp
11621 * gdb.mi/gdb792.exp
11622 * gdb.mi/mi-breakpoint-changed.exp
11623 * gdb.mi/mi-dprintf-pending.exp
11624 * gdb.mi/mi-dprintf.exp
11625 * gdb.mi/mi-exit-code.exp
11626 * gdb.mi/mi-pending.exp
11627 * gdb.mi/mi-solib.exp
11628 * gdb.mi/new-ui-mi-sync.exp
11629 * gdb.mi/pr11022.exp
11630 * gdb.mi/user-selected-context-sync.exp
11631 * gdb.opt/solib-intra-step.exp
11632 * gdb.python/py-events.exp
11633 * gdb.python/py-finish-breakpoint.exp
11634 * gdb.python/py-mi.exp
11635 * gdb.python/py-prettyprint.exp
11636 * gdb.python/py-shared.exp
11637 * gdb.python/py-symbol.exp
11638 * gdb.python/py-template.exp
11639 * gdb.python/py-type.exp
11640 * gdb.python/py-value.exp
11641 * gdb.reverse/solib-precsave.exp
11642 * gdb.reverse/solib-reverse.exp
11643 * gdb.server/solib-list.exp
11644 * gdb.stabs/weird.exp
11645 * gdb.threads/reconnect-signal.exp
11646 * gdb.threads/stepi-random-signal.exp
11647 * gdb.trace/actions.exp
11648 * gdb.trace/ax.exp
11649 * gdb.trace/backtrace.exp
11650 * gdb.trace/change-loc.exp
11651 * gdb.trace/deltrace.exp
11652 * gdb.trace/ftrace-lock.exp
11653 * gdb.trace/ftrace.exp
11654 * gdb.trace/infotrace.exp
11655 * gdb.trace/mi-tracepoint-changed.exp
11656 * gdb.trace/packetlen.exp
11657 * gdb.trace/passcount.exp
11658 * gdb.trace/pending.exp
11659 * gdb.trace/range-stepping.exp
11660 * gdb.trace/report.exp
11661 * gdb.trace/stap-trace.exp
11662 * gdb.trace/tfind.exp
11663 * gdb.trace/trace-break.exp
11664 * gdb.trace/trace-condition.exp
11665 * gdb.trace/trace-enable-disable.exp
11666 * gdb.trace/trace-mt.exp
11667 * gdb.trace/tracecmd.exp
11668 * gdb.trace/tspeed.exp
11669 * gdb.trace/tsv.exp
11670 * lib/perftest.exp
11671
fb9feb35
LM
116722016-12-01 Luis Machado <lgustavo@codesourcery.com>
11673
11674 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
11675 with gdb_test_no_output.
11676 Use command as test name.
11677
cd2ddb6c
LM
116782016-12-01 Luis Machado <lgustavo@codesourcery.com>
11679
11680 Fix test names starting with uppercase throughout the files.
11681
11682 * gdb.ada/assign_1.exp
11683 * gdb.ada/boolean_expr.exp
11684 * gdb.base/arrayidx.exp
11685 * gdb.base/del.exp
11686 * gdb.base/gcore-buffer-overflow.exp
11687 * gdb.base/testenv.exp
11688 * gdb.compile/compile.exp
11689 * gdb.python/py-framefilter-invalidarg.exp
11690 * gdb.python/py-framefilter.exp
11691
bb95117e
LM
116922016-12-01 Luis Machado <lgustavo@codesourcery.com>
11693
11694 Fix test names starting with uppercase throughout the files.
11695
11696 * gdb.ada/array_return.exp
11697 * gdb.ada/expr_delims.exp
11698 * gdb.ada/mi_dyn_arr.exp
11699 * gdb.ada/mi_interface.exp
11700 * gdb.ada/mi_var_array.exp
11701 * gdb.ada/watch_arg.exp
11702 * gdb.arch/alpha-step.exp
11703 * gdb.arch/altivec-regs.exp
11704 * gdb.arch/e500-regs.exp
11705 * gdb.arch/powerpc-d128-regs.exp
11706 * gdb.base/arrayidx.exp
11707 * gdb.base/break.exp
11708 * gdb.base/checkpoint.exp
11709 * gdb.base/debug-expr.exp
11710 * gdb.base/dmsym.exp
11711 * gdb.base/radix.exp
11712 * gdb.base/sepdebug.exp
11713 * gdb.base/testenv.exp
11714 * gdb.base/watch_thread_num.exp
11715 * gdb.base/watchpoint-cond-gone.exp
11716 * gdb.cell/break.exp
11717 * gdb.cell/ea-cache.exp
11718 * gdb.compile/compile.exp
11719 * gdb.cp/gdb2495.exp
11720 * gdb.gdb/selftest.exp
11721 * gdb.gdb/xfullpath.exp
11722 * gdb.go/hello.exp
11723 * gdb.go/integers.exp
11724 * gdb.objc/basicclass.exp
11725 * gdb.pascal/hello.exp
11726 * gdb.pascal/integers.exp
11727 * gdb.python/py-breakpoint.exp
11728 * gdb.python/py-cmd.exp
11729 * gdb.python/py-linetable.exp
11730 * gdb.python/py-xmethods.exp
11731 * gdb.python/python.exp
11732 * gdb.reverse/consecutive-precsave.exp
11733 * gdb.reverse/finish-precsave.exp
11734 * gdb.reverse/i386-precsave.exp
11735 * gdb.reverse/machinestate-precsave.exp
11736 * gdb.reverse/sigall-precsave.exp
11737 * gdb.reverse/solib-precsave.exp
11738 * gdb.reverse/step-precsave.exp
11739 * gdb.reverse/until-precsave.exp
11740 * gdb.reverse/watch-precsave.exp
11741 * gdb.threads/leader-exit.exp
11742 * gdb.threads/pthreads.exp
11743 * gdb.threads/wp-replication.exp
11744 * gdb.trace/actions.exp
11745 * gdb.trace/mi-tsv-changed.exp
11746 * gdb.trace/tsv.exp
11747
de97fdd4
LM
117482016-12-01 Luis Machado <lgustavo@codesourcery.com>
11749
11750 Fix test names starting with uppercase throughout the files.
11751
11752 * gdb.arch/i386-bp_permanent.exp
11753 * gdb.arch/i386-gnu-cfi.exp
11754 * gdb.base/disasm-end-cu.exp
11755 * gdb.base/macscp.exp
11756 * gdb.base/pending.exp
11757 * gdb.base/watch_thread_num.exp
11758 * gdb.cp/exception.exp
11759 * gdb.cp/gdb2495.exp
11760 * gdb.cp/local.exp
11761 * gdb.python/py-evsignal.exp
11762 * gdb.python/python.exp
11763 * gdb.trace/tracecmd.exp
11764
9f058c10
LM
117652016-12-01 Luis Machado <lgustavo@codesourcery.com>
11766
11767 Fix test names starting with uppercase throughout the files.
11768
11769 * gdb.base/charset.exp
11770 * gdb.base/eval.exp
11771 * gdb.base/multi-forks.exp
11772 * gdb.guile/scm-progspace.exp
11773 * gdb.opencl/datatypes.exp
11774 * gdb.python/py-block.exp
11775 * gdb.python/py-function.exp
11776 * gdb.python/py-symbol.exp
11777 * gdb.python/py-symtab.exp
11778 * gdb.python/py-xmethods.exp
11779 * gdb.reverse/break-precsave.exp
11780 * gdb.reverse/break-reverse.exp
11781 * gdb.reverse/consecutive-precsave.exp
11782 * gdb.reverse/consecutive-reverse.exp
11783 * gdb.reverse/finish-precsave.exp
11784 * gdb.reverse/finish-reverse-bkpt.exp
11785 * gdb.reverse/finish-reverse.exp
11786 * gdb.reverse/fstatat-reverse.exp
11787 * gdb.reverse/getresuid-reverse.exp
11788 * gdb.reverse/i386-precsave.exp
11789 * gdb.reverse/i386-reverse.exp
11790 * gdb.reverse/i386-sse-reverse.exp
11791 * gdb.reverse/i387-stack-reverse.exp
11792 * gdb.reverse/insn-reverse.exp
11793 * gdb.reverse/machinestate-precsave.exp
11794 * gdb.reverse/machinestate.exp
11795 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11796 * gdb.reverse/pipe-reverse.exp
11797 * gdb.reverse/readv-reverse.exp
11798 * gdb.reverse/recvmsg-reverse.exp
11799 * gdb.reverse/rerun-prec.exp
11800 * gdb.reverse/s390-mvcle.exp
11801 * gdb.reverse/sigall-precsave.exp
11802 * gdb.reverse/sigall-reverse.exp
11803 * gdb.reverse/solib-precsave.exp
11804 * gdb.reverse/solib-reverse.exp
11805 * gdb.reverse/step-precsave.exp
11806 * gdb.reverse/step-reverse.exp
11807 * gdb.reverse/time-reverse.exp
11808 * gdb.reverse/until-precsave.exp
11809 * gdb.reverse/until-reverse.exp
11810 * gdb.reverse/waitpid-reverse.exp
11811 * gdb.reverse/watch-precsave.exp
11812 * gdb.reverse/watch-reverse.exp
11813
cdc7edd7
LM
118142016-12-01 Luis Machado <lgustavo@codesourcery.com>
11815
11816 Fix test names starting with uppercase throughout the files.
11817
11818 * gdb.arch/i386-mpx-simple_segv.exp
11819 * gdb.arch/i386-mpx.exp
11820 * gdb.arch/i386-permbkpt.exp
11821 * gdb.arch/pa-nullify.exp
11822 * gdb.arch/powerpc-d128-regs.exp
11823 * gdb.arch/vsx-regs.exp
11824 * gdb.base/bfp-test.exp
11825 * gdb.base/break.exp
11826 * gdb.base/breakpoint-shadow.exp
11827 * gdb.base/callfuncs.exp
11828 * gdb.base/charset.exp
11829 * gdb.base/commands.exp
11830 * gdb.base/completion.exp
11831 * gdb.base/dfp-test.exp
11832 * gdb.base/echo.exp
11833 * gdb.base/ending-run.exp
11834 * gdb.base/eval.exp
11835 * gdb.base/expand-psymtabs.exp
11836 * gdb.base/float128.exp
11837 * gdb.base/floatn.exp
11838 * gdb.base/foll-exec-mode.exp
11839 * gdb.base/gdb1056.exp
11840 * gdb.base/gdb11531.exp
11841 * gdb.base/kill-after-signal.exp
11842 * gdb.base/multi-forks.exp
11843 * gdb.base/overlays.exp
11844 * gdb.base/pending.exp
11845 * gdb.base/sepdebug.exp
11846 * gdb.base/testenv.exp
11847 * gdb.base/valgrind-db-attach.exp
11848 * gdb.base/watch_thread_num.exp
11849 * gdb.base/watchpoint-cond-gone.exp
11850 * gdb.base/watchpoint.exp
11851 * gdb.base/watchpoints.exp
11852 * gdb.cp/arg-reference.exp
11853 * gdb.cp/baseenum.exp
11854 * gdb.cp/operator.exp
11855 * gdb.cp/shadow.exp
11856 * gdb.dwarf2/dw2-op-out-param.exp
11857 * gdb.dwarf2/dw2-reg-undefined.exp
11858 * gdb.go/chan.exp
11859 * gdb.go/hello.exp
11860 * gdb.go/integers.exp
11861 * gdb.go/methods.exp
11862 * gdb.go/package.exp
11863 * gdb.guile/scm-parameter.exp
11864 * gdb.guile/scm-progspace.exp
11865 * gdb.guile/scm-value.exp
11866 * gdb.mi/mi-pending.exp
11867 * gdb.mi/user-selected-context-sync.exp
11868 * gdb.multi/multi-attach.exp
11869 * gdb.multi/tids.exp
11870 * gdb.opt/clobbered-registers-O2.exp
11871 * gdb.pascal/floats.exp
11872 * gdb.pascal/integers.exp
11873 * gdb.python/py-block.exp
11874 * gdb.python/py-events.exp
11875 * gdb.python/py-parameter.exp
11876 * gdb.python/py-symbol.exp
11877 * gdb.python/py-symtab.exp
11878 * gdb.python/py-type.exp
11879 * gdb.python/py-value.exp
11880 * gdb.python/py-xmethods.exp
11881 * gdb.python/python.exp
11882 * gdb.reverse/break-precsave.exp
11883 * gdb.reverse/consecutive-precsave.exp
11884 * gdb.reverse/finish-precsave.exp
11885 * gdb.reverse/i386-precsave.exp
11886 * gdb.reverse/machinestate-precsave.exp
11887 * gdb.reverse/sigall-precsave.exp
11888 * gdb.reverse/solib-precsave.exp
11889 * gdb.reverse/step-precsave.exp
11890 * gdb.reverse/until-precsave.exp
11891 * gdb.reverse/watch-precsave.exp
11892 * gdb.server/ext-attach.exp
11893 * gdb.server/ext-restart.exp
11894 * gdb.server/ext-run.exp
11895 * gdb.server/ext-wrapper.exp
11896 * gdb.stabs/gdb11479.exp
11897 * gdb.stabs/weird.exp
11898 * gdb.threads/attach-many-short-lived-threads.exp
11899 * gdb.threads/kill.exp
11900 * gdb.threads/watchpoint-fork.exp
11901
bc6c7af4
LM
119022016-12-01 Luis Machado <lgustavo@codesourcery.com>
11903
11904 Fix test names starting with uppercase throughout all the files below.
11905
11906 * gdb.ada/array_return.exp
11907 * gdb.ada/catch_ex.exp
11908 * gdb.ada/info_exc.exp
11909 * gdb.ada/mi_catch_ex.exp
11910 * gdb.ada/mi_dyn_arr.exp
11911 * gdb.ada/mi_ex_cond.exp
11912 * gdb.ada/mi_exc_info.exp
11913 * gdb.ada/mi_interface.exp
11914 * gdb.ada/mi_task_arg.exp
11915 * gdb.ada/mi_task_info.exp
11916 * gdb.ada/mi_var_array.exp
11917 * gdb.arch/alpha-step.exp
11918 * gdb.arch/amd64-disp-step.exp
11919 * gdb.arch/arm-disp-step.exp
11920 * gdb.arch/disp-step-insn-reloc.exp
11921 * gdb.arch/e500-prologue.exp
11922 * gdb.arch/ftrace-insn-reloc.exp
11923 * gdb.arch/gdb1558.exp
11924 * gdb.arch/i386-bp_permanent.exp
11925 * gdb.arch/i386-disp-step.exp
11926 * gdb.arch/i386-float.exp
11927 * gdb.arch/i386-gnu-cfi.exp
11928 * gdb.arch/ia64-breakpoint-shadow.exp
11929 * gdb.arch/mips16-thunks.exp
11930 * gdb.arch/pa-nullify.exp
11931 * gdb.arch/powerpc-aix-prologue.exp
11932 * gdb.arch/powerpc-power.exp
11933 * gdb.arch/ppc-dfp.exp
11934 * gdb.arch/s390-tdbregs.exp
11935 * gdb.arch/spu-info.exp
11936 * gdb.arch/spu-ls.exp
11937 * gdb.arch/thumb-bx-pc.exp
11938 * gdb.base/advance.exp
11939 * gdb.base/annota-input-while-running.exp
11940 * gdb.base/arrayidx.exp
11941 * gdb.base/asmlabel.exp
11942 * gdb.base/async.exp
11943 * gdb.base/attach-wait-input.exp
11944 * gdb.base/auto-connect-native-target.exp
11945 * gdb.base/batch-preserve-term-settings.exp
11946 * gdb.base/bfp-test.exp
11947 * gdb.base/bigcore.exp
11948 * gdb.base/bp-permanent.exp
11949 * gdb.base/break-always.exp
11950 * gdb.base/break-fun-addr.exp
11951 * gdb.base/break-idempotent.exp
11952 * gdb.base/break-main-file-remove-fail.exp
11953 * gdb.base/break-probes.exp
11954 * gdb.base/break-unload-file.exp
11955 * gdb.base/break.exp
11956 * gdb.base/call-ar-st.exp
11957 * gdb.base/call-rt-st.exp
11958 * gdb.base/call-sc.exp
11959 * gdb.base/call-signal-resume.exp
11960 * gdb.base/call-strs.exp
11961 * gdb.base/callexit.exp
11962 * gdb.base/callfuncs.exp
11963 * gdb.base/catch-gdb-caused-signals.exp
11964 * gdb.base/catch-signal-siginfo-cond.exp
11965 * gdb.base/catch-syscall.exp
11966 * gdb.base/compare-sections.exp
11967 * gdb.base/cond-eval-mode.exp
11968 * gdb.base/condbreak-call-false.exp
11969 * gdb.base/consecutive-step-over.exp
11970 * gdb.base/cursal.exp
11971 * gdb.base/disabled-location.exp
11972 * gdb.base/disasm-end-cu.exp
11973 * gdb.base/display.exp
11974 * gdb.base/double-prompt-target-event-error.exp
11975 * gdb.base/dprintf-bp-same-addr.exp
11976 * gdb.base/dprintf-detach.exp
11977 * gdb.base/dprintf-next.exp
11978 * gdb.base/dprintf-non-stop.exp
11979 * gdb.base/dprintf-pending.exp
11980 * gdb.base/dso2dso.exp
11981 * gdb.base/ending-run.exp
11982 * gdb.base/enum_cond.exp
11983 * gdb.base/examine-backward.exp
11984 * gdb.base/exe-lock.exp
11985 * gdb.base/exec-invalid-sysroot.exp
11986 * gdb.base/execl-update-breakpoints.exp
11987 * gdb.base/execution-termios.exp
11988 * gdb.base/fileio.exp
11989 * gdb.base/fixsection.exp
11990 * gdb.base/foll-exec-mode.exp
11991 * gdb.base/foll-exec.exp
11992 * gdb.base/fork-running-state.exp
11993 * gdb.base/frame-args.exp
11994 * gdb.base/fullpath-expand.exp
11995 * gdb.base/func-ptr.exp
11996 * gdb.base/gcore-relro-pie.exp
11997 * gdb.base/gdb1090.exp
11998 * gdb.base/gdb1555.exp
11999 * gdb.base/global-var-nested-by-dso.exp
12000 * gdb.base/gnu-ifunc.exp
12001 * gdb.base/hbreak-in-shr-unsupported.exp
12002 * gdb.base/hbreak-unmapped.exp
12003 * gdb.base/hook-stop.exp
12004 * gdb.base/infcall-input.exp
12005 * gdb.base/info-fun.exp
12006 * gdb.base/info-shared.exp
12007 * gdb.base/interrupt-noterm.exp
12008 * gdb.base/jit-so.exp
12009 * gdb.base/jit.exp
12010 * gdb.base/line-symtabs.exp
12011 * gdb.base/list.exp
12012 * gdb.base/longjmp.exp
12013 * gdb.base/macscp.exp
12014 * gdb.base/max-value-size.exp
12015 * gdb.base/nodebug.exp
12016 * gdb.base/nofield.exp
12017 * gdb.base/overlays.exp
12018 * gdb.base/paginate-after-ctrl-c-running.exp
12019 * gdb.base/paginate-bg-execution.exp
12020 * gdb.base/paginate-inferior-exit.exp
12021 * gdb.base/pending.exp
12022 * gdb.base/pr11022.exp
12023 * gdb.base/printcmds.exp
12024 * gdb.base/ptr-typedef.exp
12025 * gdb.base/ptype.exp
12026 * gdb.base/randomize.exp
12027 * gdb.base/range-stepping.exp
12028 * gdb.base/realname-expand.exp
12029 * gdb.base/relativedebug.exp
12030 * gdb.base/remote.exp
12031 * gdb.base/savedregs.exp
12032 * gdb.base/sepdebug.exp
12033 * gdb.base/set-noassign.exp
12034 * gdb.base/shlib-call.exp
12035 * gdb.base/shreloc.exp
12036 * gdb.base/sigaltstack.exp
12037 * gdb.base/sigbpt.exp
12038 * gdb.base/siginfo-addr.exp
12039 * gdb.base/siginfo-obj.exp
12040 * gdb.base/siginfo-thread.exp
12041 * gdb.base/signest.exp
12042 * gdb.base/signull.exp
12043 * gdb.base/sigrepeat.exp
12044 * gdb.base/skip.exp
12045 * gdb.base/so-impl-ld.exp
12046 * gdb.base/solib-corrupted.exp
12047 * gdb.base/solib-disc.exp
12048 * gdb.base/solib-display.exp
12049 * gdb.base/solib-overlap.exp
12050 * gdb.base/solib-search.exp
12051 * gdb.base/solib-symbol.exp
12052 * gdb.base/source-execution.exp
12053 * gdb.base/sss-bp-on-user-bp-2.exp
12054 * gdb.base/sss-bp-on-user-bp.exp
12055 * gdb.base/stack-checking.exp
12056 * gdb.base/stale-infcall.exp
12057 * gdb.base/step-break.exp
12058 * gdb.base/step-line.exp
12059 * gdb.base/step-over-exit.exp
12060 * gdb.base/step-test.exp
12061 * gdb.base/structs.exp
12062 * gdb.base/sym-file.exp
12063 * gdb.base/symtab-search-order.exp
12064 * gdb.base/term.exp
12065 * gdb.base/type-opaque.exp
12066 * gdb.base/unload.exp
12067 * gdb.base/until-nodebug.exp
12068 * gdb.base/until.exp
12069 * gdb.base/unwindonsignal.exp
12070 * gdb.base/watch-cond.exp
12071 * gdb.base/watch-non-mem.exp
12072 * gdb.base/watch_thread_num.exp
12073 * gdb.base/watchpoint-reuse-slot.exp
12074 * gdb.base/watchpoint-solib.exp
12075 * gdb.base/watchpoint.exp
12076 * gdb.btrace/dlopen.exp
12077 * gdb.cell/arch.exp
12078 * gdb.cell/break.exp
12079 * gdb.cell/bt.exp
12080 * gdb.cell/core.exp
12081 * gdb.cell/data.exp
12082 * gdb.cell/dwarfaddr.exp
12083 * gdb.cell/ea-cache.exp
12084 * gdb.cell/ea-standalone.exp
12085 * gdb.cell/ea-test.exp
12086 * gdb.cell/f-regs.exp
12087 * gdb.cell/fork.exp
12088 * gdb.cell/gcore.exp
12089 * gdb.cell/mem-access.exp
12090 * gdb.cell/ptype.exp
12091 * gdb.cell/registers.exp
12092 * gdb.cell/sizeof.exp
12093 * gdb.cell/solib-symbol.exp
12094 * gdb.cell/solib.exp
12095 * gdb.compile/compile-tls.exp
12096 * gdb.cp/exception.exp
12097 * gdb.cp/gdb2495.exp
12098 * gdb.cp/local.exp
12099 * gdb.cp/mb-inline.exp
12100 * gdb.cp/mb-templates.exp
12101 * gdb.cp/pr10687.exp
12102 * gdb.cp/pr9167.exp
12103 * gdb.cp/scope-err.exp
12104 * gdb.cp/templates.exp
12105 * gdb.cp/virtfunc.exp
12106 * gdb.dwarf2/dw2-dir-file-name.exp
12107 * gdb.dwarf2/dw2-single-line-discriminators.exp
12108 * gdb.fortran/complex.exp
12109 * gdb.fortran/library-module.exp
12110 * gdb.guile/guile.exp
12111 * gdb.guile/scm-cmd.exp
12112 * gdb.guile/scm-frame-inline.exp
12113 * gdb.guile/scm-objfile.exp
12114 * gdb.guile/scm-pretty-print.exp
12115 * gdb.guile/scm-symbol.exp
12116 * gdb.guile/scm-type.exp
12117 * gdb.guile/scm-value.exp
12118 * gdb.linespec/keywords.exp
12119 * gdb.linespec/ls-errs.exp
12120 * gdb.linespec/macro-relative.exp
12121 * gdb.linespec/thread.exp
12122 * gdb.mi/mi-breakpoint-changed.exp
12123 * gdb.mi/mi-dprintf-pending.exp
12124 * gdb.mi/mi-fullname-deleted.exp
12125 * gdb.mi/mi-logging.exp
12126 * gdb.mi/mi-pending.exp
12127 * gdb.mi/mi-solib.exp
12128 * gdb.mi/new-ui-mi-sync.exp
12129 * gdb.mi/user-selected-context-sync.exp
12130 * gdb.multi/dummy-frame-restore.exp
12131 * gdb.multi/multi-arch-exec.exp
12132 * gdb.multi/remove-inferiors.exp
12133 * gdb.multi/watchpoint-multi-exit.exp
12134 * gdb.opt/solib-intra-step.exp
12135 * gdb.perf/backtrace.exp
12136 * gdb.perf/single-step.exp
12137 * gdb.perf/skip-command.exp
12138 * gdb.perf/skip-prologue.exp
12139 * gdb.perf/solib.exp
12140 * gdb.python/lib-types.exp
12141 * gdb.python/py-as-string.exp
12142 * gdb.python/py-bad-printers.exp
12143 * gdb.python/py-block.exp
12144 * gdb.python/py-breakpoint.exp
12145 * gdb.python/py-cmd.exp
12146 * gdb.python/py-events.exp
12147 * gdb.python/py-evthreads.exp
12148 * gdb.python/py-finish-breakpoint.exp
12149 * gdb.python/py-finish-breakpoint2.exp
12150 * gdb.python/py-frame-inline.exp
12151 * gdb.python/py-frame.exp
12152 * gdb.python/py-inferior.exp
12153 * gdb.python/py-infthread.exp
12154 * gdb.python/py-mi.exp
12155 * gdb.python/py-objfile.exp
12156 * gdb.python/py-pp-maint.exp
12157 * gdb.python/py-pp-registration.exp
12158 * gdb.python/py-prettyprint.exp
12159 * gdb.python/py-recurse-unwind.exp
12160 * gdb.python/py-shared.exp
12161 * gdb.python/py-symbol.exp
12162 * gdb.python/py-symtab.exp
12163 * gdb.python/py-template.exp
12164 * gdb.python/py-type.exp
12165 * gdb.python/py-unwind-maint.exp
12166 * gdb.python/py-unwind.exp
12167 * gdb.python/py-value.exp
12168 * gdb.python/python.exp
12169 * gdb.reverse/finish-reverse-bkpt.exp
12170 * gdb.reverse/insn-reverse.exp
12171 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12172 * gdb.reverse/solib-precsave.exp
12173 * gdb.reverse/solib-reverse.exp
12174 * gdb.stabs/gdb11479.exp
12175 * gdb.stabs/weird.exp
12176 * gdb.threads/fork-child-threads.exp
12177 * gdb.threads/fork-plus-threads.exp
12178 * gdb.threads/fork-thread-pending.exp
12179 * gdb.threads/forking-threads-plus-breakpoint.exp
12180 * gdb.threads/hand-call-in-threads.exp
12181 * gdb.threads/interrupted-hand-call.exp
12182 * gdb.threads/linux-dp.exp
12183 * gdb.threads/local-watch-wrong-thread.exp
12184 * gdb.threads/next-while-other-thread-longjmps.exp
12185 * gdb.threads/non-ldr-exit.exp
12186 * gdb.threads/pending-step.exp
12187 * gdb.threads/print-threads.exp
12188 * gdb.threads/process-dies-while-detaching.exp
12189 * gdb.threads/process-dies-while-handling-bp.exp
12190 * gdb.threads/pthreads.exp
12191 * gdb.threads/queue-signal.exp
12192 * gdb.threads/reconnect-signal.exp
12193 * gdb.threads/signal-command-handle-nopass.exp
12194 * gdb.threads/signal-command-multiple-signals-pending.exp
12195 * gdb.threads/signal-delivered-right-thread.exp
12196 * gdb.threads/signal-sigtrap.exp
12197 * gdb.threads/sigthread.exp
12198 * gdb.threads/staticthreads.exp
12199 * gdb.threads/stepi-random-signal.exp
12200 * gdb.threads/thread-unwindonsignal.exp
12201 * gdb.threads/thread_check.exp
12202 * gdb.threads/thread_events.exp
12203 * gdb.threads/tid-reuse.exp
12204 * gdb.threads/tls-nodebug.exp
12205 * gdb.threads/tls-shared.exp
12206 * gdb.threads/tls-so_extern.exp
12207 * gdb.threads/tls.exp
12208 * gdb.threads/wp-replication.exp
12209 * gdb.trace/actions-changed.exp
12210 * gdb.trace/actions.exp
12211 * gdb.trace/backtrace.exp
12212 * gdb.trace/change-loc.exp
12213 * gdb.trace/collection.exp
12214 * gdb.trace/deltrace.exp
12215 * gdb.trace/disconnected-tracing.exp
12216 * gdb.trace/entry-values.exp
12217 * gdb.trace/ftrace-lock.exp
12218 * gdb.trace/ftrace.exp
12219 * gdb.trace/infotrace.exp
12220 * gdb.trace/mi-trace-frame-collected.exp
12221 * gdb.trace/mi-trace-unavailable.exp
12222 * gdb.trace/mi-traceframe-changed.exp
12223 * gdb.trace/mi-tracepoint-changed.exp
12224 * gdb.trace/mi-tsv-changed.exp
12225 * gdb.trace/no-attach-trace.exp
12226 * gdb.trace/packetlen.exp
12227 * gdb.trace/passc-dyn.exp
12228 * gdb.trace/passcount.exp
12229 * gdb.trace/pending.exp
12230 * gdb.trace/pr16508.exp
12231 * gdb.trace/qtro.exp
12232 * gdb.trace/range-stepping.exp
12233 * gdb.trace/read-memory.exp
12234 * gdb.trace/report.exp
12235 * gdb.trace/save-trace.exp
12236 * gdb.trace/signal.exp
12237 * gdb.trace/stap-trace.exp
12238 * gdb.trace/status-stop.exp
12239 * gdb.trace/strace.exp
12240 * gdb.trace/tfile.exp
12241 * gdb.trace/tfind.exp
12242 * gdb.trace/trace-break.exp
12243 * gdb.trace/trace-condition.exp
12244 * gdb.trace/trace-enable-disable.exp
12245 * gdb.trace/trace-mt.exp
12246 * gdb.trace/tracecmd.exp
12247 * gdb.trace/tracefile-pseudo-reg.exp
12248 * gdb.trace/tspeed.exp
12249 * gdb.trace/tstatus.exp
12250 * gdb.trace/tsv.exp
12251 * gdb.trace/unavailable.exp
12252 * gdb.trace/while-dyn.exp
12253 * gdb.trace/while-stepping.exp
12254 * lib/gdb-guile.exp
12255 * lib/gdb.exp
12256 * lib/mi-support.exp
12257 * lib/pascal.exp
12258 * lib/perftest.exp
12259 * lib/prelink-support.exp
12260 * lib/selftest-support.exp
12261
ad02e4fe
SM
122622016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
12263
12264 * Makefile.in: Include disable-implicit-rules.mk.
12265
22347e55
AA
122662016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12267
12268 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
12269 non-byte-aligned bit fields.
12270
da5b30da
AA
122712016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12272
12273 PR gdb/12616
12274 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
12275 respects the DW_AT_data_bit_offset attribute.
12276
b593ecca
SM
122772016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
12278
12279 * gdb.base/default.exp: Fix output of "set language".
12280
3b165252
SM
122812016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
12282
12283 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
12284 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
12285 make.
12286 * configure.ac: Remove checks for the make program.
12287 * configure: Re-generate.
12288
1a2f3d7f
KB
122892016-11-16 Kevin Buettner <kevinb@redhat.com>
12290
12291 * gdb.python/py-recurse-unwind.c (main): Add loop.
12292 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
12293 to read_register() and gdb.parse_and_eval(). Make each code
12294 call a separate case that can be individually tested.
12295 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
12296 proc. Call cont_and_backtrace for each of the code paths that
12297 we want to test in the unwinder.
12298
b7f38fda
AA
122992016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
12300
12301 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
12302 the definition of struct S.
12303
1f8db343
CM
123042016-11-11 Catherine Moore <clm@codesourcery.com>
12305
12306 * gdb.base/dump.exp: Identify verilog format dump tests as such.
12307
fad0c9fb
PA
123082016-11-09 Pedro Alves <palves@redhat.com>
12309
12310 * gdb.base/commands.exp (runto_or_return): New procedure.
12311 (gdbvar_simple_if_test, gdbvar_simple_while_test)
12312 (gdbvar_complex_if_while_test, progvar_simple_if_test)
12313 (progvar_simple_while_test, progvar_complex_if_while_test)
12314 (if_while_breakpoint_command_test)
12315 (infrun_breakpoint_command_test, breakpoint_command_test)
12316 (user_defined_command_test, watchpoint_command_test)
12317 (test_command_prompt_position, redefine_hook_test)
12318 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
12319 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
12320 multi_line_input and multi_line. Remove gdb_expect and
12321 gdb_stop_suppressing_tests uses.
12322 * lib/gdb.exp (valnum_re): New global.
12323 (multi_line_input): New procedure.
12324
8354c62c
SM
123252016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
12326
12327 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
12328 Remove.
12329 (test_setup): Define with proc_with_prefix.
12330 (test_cli_inferior): Likewise.
12331 (test_cli_thread): Likewise.
12332 (test_cli_frame): Likewise.
12333 (test_cli_select_frame): Likewise.
12334 (test_cli_up_down): Likewise.
12335 (test_mi_thread_select): Likewise.
12336 (test_mi_stack_select_frame): Likewise.
12337 (test_cli_in_mi_inferior): Likewise.
12338 (test_cli_in_mi_thread): Likewise.
12339 (test_cli_in_mi_frame): Likewise.
12340 (top level): Do not use with_test_prefix_procname.
12341
64f367a2
PA
123422016-11-09 Pedro Alves <palves@redhat.com>
12343
12344 * gdb.base/commands.exp (gdbvar_simple_if_test)
12345 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
12346 (progvar_simple_if_test, progvar_simple_while_test)
12347 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
12348 (infrun_breakpoint_command_test, breakpoint_command_test)
12349 (user_defined_command_test, watchpoint_command_test)
12350 (test_command_prompt_position, deprecated_command_test)
12351 (bp_deleted_in_command, temporary_breakpoint_commands)
12352 (stray_arg0_test, source_file_with_indented_comment)
12353 (recursive_source_test, if_commands_test)
12354 (error_clears_commands_left, redefine_hook_test)
12355 (redefine_backtrace_test): Use proc_with_prefix.
12356 * lib/gdb.exp (proc_with_prefix): New proc.
12357
0bb65f1e
AA
123582016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12359
12360 * gdb.base/tui-layout.c: New file.
12361 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
12362 disassembly window contains very long lines.
12363
7353f247
TT
123642016-11-08 Tom Tromey <tom@tromey.com>
12365
12366 * gdb.python/py-value.exp (test_value_creation): Make "long" test
12367 depend on Python 2.
12368
30a7bb83
TT
123692016-11-08 Tom Tromey <tom@tromey.com>
12370
12371 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
12372 New method.
12373
cdf5a07c
MG
123742016-10-29 Manish Goregaokar <manish@mozilla.com>
12375
2806dc7e 12376 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 12377
51a789c3
MG
123782016-10-27 Manish Goregaokar <manish@mozilla.com>
12379
2806dc7e
PA
12380 * gdb.rust/simple.rs: Add test for univariant enums without
12381 discriminants and for encoded struct-like enums.
51a789c3 12382
f610ab6d
PA
123832016-10-28 Pedro Alves <palves@redhat.com>
12384
12385 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
12386 gdb_test_multiple, tighten regexps and match symtabs and line
12387 tables incrementally.
12388
b129b0ca
LM
123892016-10-28 Luis Machado <lgustavo@codesourcery.com>
12390
12391 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
12392 general.
12393
ecf45d2c
SL
123942016-10-25 Luis Machado <lgustavo@codesourcery.com>
12395
12396 * gdb.base/exec-invalid-sysroot.exp: New file.
12397
b8d38ee4
JK
123982016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12399
12400 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
12401
f90fd8c2
JK
124022016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12403
12404 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
12405
2d2476aa
MR
124062016-10-19 Maciej W. Rozycki <macro@imgtec.com>
12407
2806dc7e
PA
12408 * gdb.base/killed-outside.exp: Remove $options from a call to
12409 `prepare_for_testing'.
2d2476aa 12410
e42b25a0
SM
124112016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12412
12413 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12414 Change test message.
12415
3ccdb432
SM
124162016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12417
12418 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12419 Update comment.
12420
5bad3170
SM
124212016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12422
12423 * gdb.trace/mi-trace-save.exp: New file.
12424
5ad9dba7
YQ
124252016-10-13 Yao Qi <yao.qi@linaro.org>
12426
12427 * gdb.base/code_elim.exp (get_var_address): Remove.
12428 * gdb.base/relocate.exp: Likewise.
12429 * gdb.base/shreloc.exp: Likewise.
12430 * lib/gdb.exp (get_var_address): New.
12431
62df7e21
YQ
124322016-10-13 Yao Qi <yao.qi@linaro.org>
12433
12434 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
12435 floating point tests if $skip_float_test is false.
12436
4dac951e
LM
124372016-10-12 Luis Machado <lgustavo@codesourcery.com>
12438
12439 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
12440 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
12441 argc values.
12442 Add 1 to argc so we guarantee distinct initial/modified argc values.
12443
8f1a8fc4
JK
124442016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12445
12446 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
12447
16c85b5d
JK
124482016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12449
12450 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
12451 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
12452 * gdb.arch/vsx-regs.exp: Likewise.
12453
1d0e042a
YQ
124542016-10-07 Yao Qi <yao.qi@linaro.org>
12455
12456 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
12457
68dadef5
MM
124582016-10-07 Markus Metzger <markus.t.metzger@intel.com>
12459
12460 * gdb.python/python.exp: Test decode_line("*0").
12461
33fa2c6e
DE
124622016-10-06 Doug Evans <dje@google.com>
12463
12464 * gdb.python/py-value.exp (test_value_creation): Add test for large
12465 unsigned 64-bit value.
12466
9c37b5ae
TT
124672016-10-06 Tom Tromey <tom@tromey.com>
12468
12469 * gdb.compile/compile.exp: Change java tests to rust.
12470 * gdb.base/setshow.exp: Change java tests to rust.
12471 * gdb.base/default.exp: Remove java from language list.
12472 * README (Examples): Update language example.
12473 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
12474 test.
12475 * lib/gdb.exp (skip_java_tests): Remove.
12476 * lib/java.exp: Remove.
12477 * gdb.java: Remove.
12478
78b86327
MR
124792016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12480
12481 * gdb.arch/mips-fcr.exp: New test.
12482 * gdb.arch/mips-fcr.c: Source for the new test.
12483
7470adbb
MR
124842016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12485
12486 * gdb.base/solib-disc.exp: Use `standard_output_file'
12487 throughout.
12488
4a556533
PA
124892016-10-06 Pedro Alves <palves@redhat.com>
12490
12491 * gdb.base/jit-simple-dl.c: New file.
12492 * gdb.base/jit-simple-jit.c: New file, factored out from ...
12493 * gdb.base/jit-simple.c: ... this.
12494 * gdb.base/jit-simple.exp (jit_run): Delete.
12495 (build_jit): New proc.
12496 (jit_test_reread): Recompile either the main program or the shared
12497 library, depending on what is being tested. Skip changing address
12498 if caller wants to. Compare before/after addresses. If testing
12499 standalone, explicitly load the binary. Test "maint info
12500 breakpoints".
12501 (top level): Add "standalone vs shared lib" and "change address"
12502 vs "same address" axes.
12503
5a122fbc
PA
125042016-10-06 Pedro Alves <palves@redhat.com>
12505
12506 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
12507 call.
12508 (jit_run): Delete.
12509 (jit_test_reread): Use with_test_prefix. Reload the main binary
12510 explicitly. Compare the before/after addresses of the JIT
12511 descriptor.
12512
ee8da4b8
DE
125132016-08-15 Doug Evans <dje@google.com>
12514
12515 * gdb.xml/extra-regs.xml: Update, end field now required, default type
12516 for single bitfields is bool.
12517 * gdb.xml/tdesc-regs.exp: Ditto.
12518
f389f6fe
JK
125192016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12520
12521 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
12522
fdebf1a4
YQ
125232016-10-05 Yao Qi <yao.qi@linaro.org>
12524
12525 * lib/gdb.exp (support_complex_tests): Return zero if
12526 gdb_skip_float_test return true.
12527
9c36d954 125282016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12529 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
12530
12531 PR gdb/20487
12532 * gdb.mi/user-selected-context-sync.exp: New file.
12533 * gdb.mi/user-selected-context-sync.c: New file.
12534
4034d0ff 125352016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12536 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
12537
12538 PR gdb/20487
12539 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
12540 =thread-select-event check.
12541
a4297203
PB
125422016-09-29 Peter Bergner <bergner@vnet.ibm.com>
12543
12544 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
12545 the compulsory L operand changes.
12546 * gdb.arch/powerpc-power.s: Likewise.
12547
bb805577
JK
125482016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12549
12550 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
12551 * gdb.base/jit-attach-pie.c: New file.
12552 * gdb.base/jit-attach-pie.exp: New file.
12553
6d61dee5
PA
125542016-09-28 Pedro Alves <palves@redhat.com>
12555
12556 * gdb.base/infcall-input.c: New file.
12557 * gdb.base/infcall-input.exp: New file.
12558
f73842fc
YQ
125592016-09-22 Yao Qi <yao.qi@linaro.org>
12560
12561 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
12562 (gdb_exit): Rename it to ...
12563 (gdbserver_gdb_exit): ... Close GDBserver.
12564 (gdb_exit): New proc, call gdbserver_gdb_exit.
12565 (mi_gdb_exit): Likewise.
12566
90681dab
YQ
125672016-09-22 Yao Qi <yao.qi@linaro.org>
12568
12569 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
12570 path.
12571 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
12572 Remove duplication.
12573
9c211fd8
YQ
125742016-09-22 Yao Qi <yao.qi@linaro.org>
12575
12576 * lib/gdbserver-support.exp: Check the existence of
12577 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
12578
ad0a504f
AK
125792016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
12580
12581 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
12582
36cf1806
TT
125832016-09-21 Tom Tromey <tom@tromey.com>
12584
12585 PR gdb/20604:
12586 * gdb.base/quit.exp: New file.
12587
74172ecf
SM
125882016-09-21 Simon Marchi <simon.marchi@ericsson.com>
12589
12590 * .gitignore: New file.
12591
3d0ec882
MR
125922016-09-21 Maciej W. Rozycki <macro@imgtec.com>
12593
12594 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
12595 throughout.
12596
8193adea
AA
125972016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12598
12599 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
12600
d41a5c09
JK
126012016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12602
12603 * gdb.cp/casts.cc (decltype): Move it ...
12604 (main): ... with its call to ...
12605 * gdb.cp/casts03.cc: ... a new file.
12606 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
12607
d2dfe700
JK
126082016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12609
12610 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
12611
e2a92b16
PB
126122016-09-15 Peter Bergner <bergner@vnet.ibm.com>
12613
12614 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
12615 and sync up the test with tests in gas/testsuite/gas/ppc.
12616 * gdb.arch/powerpc-power.exp: Likewise.
12617
49b4de64
JK
126182016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12619
12620 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
12621
2c29df25
SDJ
126222016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
12623 Jan Kratochvil <jan.kratochvil@redhat.com>
12624
12625 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
12626 make m1's definition to be different from m2's. Use 'dummy' as an
12627 argument for probe 'two'.
12628
cc3c2846
JB
126292016-09-10 Jon Beniston <jon@beniston.com>
12630
12631 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
12632 for sim target.
12633
e1b2624a
AA
126342016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12635
12636 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
12637 variable declaration.
12638 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
12639 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
12640 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
12641 received HWCAP as its argument.
12642
4295e285
PA
126432016-09-06 Pedro Alves <palves@redhat.com>
12644
12645 * gdb.base/new-ui-pending-input.c: New file.
12646 * gdb.base/new-ui-pending-input.exp: New file.
12647 * gdb.exp (clear_gdb_spawn_id): New procedure.
12648 (with_spawn_id): Check whether gdb_spawn_id exists before
12649 referencing it. If gdb_spawn_id didn't exist on entry, clear it
12650 on exit.
12651
00d5215e
UW
126522016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12653
12654 * gdb.base/float128.c: New file.
12655 * gdb.base/float128.exp: Likewise.
12656 * gdb.base/floatn.c: Likewise.
12657 * gdb.base/floatn.exp: Likewise.
12658
a9ff5f12
UW
126592016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12660
12661 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
12662
f245535c
PA
126632016-09-05 Pedro Alves <palves@redhat.com>
12664
12665 PR backtrace/19927
12666 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
12667 unwinders are immediately called as side effect of "source" or
12668 "disable unwinder" commands.
12669 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
12670
ae9cf263
YQ
126712016-09-02 Yao Qi <yao.qi@linaro.org>
12672
12673 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
12674 is true and $type is "float" or "double".
12675
27aba047
YQ
126762016-09-02 Yao Qi <yao.qi@linaro.org>
12677
12678 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
12679 true.
12680 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
12681 * gdb.base/call-rt-st.exp: Likewise.
12682 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
12683 return value instead of gdb,skip_float_test.
12684 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
12685 (do_function_calls): Use its return value instead of
12686 gdb,skip_float_test.
12687 * gdb.base/finish.exp: Likewise.
12688 * gdb.base/funcargs.exp: Likewise.
12689 * gdb.base/return.exp: Likewise.
12690 * gdb.base/return2.exp: Likewise.
12691 * gdb.base/varargs.exp: Likewise.
12692 * lib/gdb.exp (gdb_skip_float_test): Change it to
12693 gdb_caching_proc. Detect the broken ptrace on arm-linux.
12694
5af962df
AA
126952016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12696
12697 * gdb.multi/tids.exp: Test "thread apply all".
12698
7fac6910
JK
126992016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12700
12701 * gdb.base/default.exp (tty): Remove.
12702
bb1fe4ac
KB
127032016-08-24 Kevin Buettner <kevinb@redhat.com>
12704
2806dc7e
PA
12705 * gdb.python/py-recurse-unwind.c: New file.
12706 * gdb.python/py-recurse-unwind.py: New file.
12707 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 12708
0a1ddfa6
SM
127092016-08-24 Simon Marchi <simon.marchi@ericsson.com>
12710
12711 * gdb.base/set-inferior-tty.exp: New file.
12712 * gdb.base/set-inferior-tty.c: New file.
12713
d9de1fe3
PA
127142016-08-23 Pedro Alves <palves@redhat.com>
12715
12716 PR gdb/20494
12717 * gdb.base/new-ui-echo.c: New file.
12718 * gdb.base/new-ui-echo.exp: New file.
12719
e9d9abd7
YQ
127202016-08-23 Yao Qi <yao.qi@linaro.org>
12721
12722 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
12723 gdbserver_spawn.
12724 * gdb.server/connect-without-multi-process.exp (do_test):
12725 Likewise.
12726
3589529e
YQ
127272016-08-23 Yao Qi <yao.qi@linaro.org>
12728
12729 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
12730 standalone_txt. Delete gdb_txt and standalone_txt on host
12731 and target. Spawn the binary on target. Copy files from
12732 target to host.
12733
6bb90213
PA
127342016-08-22 Pedro Alves <palves@redhat.com>
12735
12736 PR gdb/20505
12737 * gdb.base/vdso-warning.exp: Test core dumps too. Use
12738 with_test_prefix. Factor out bits to ...
12739 (test_no_vdso): ... this new procedure.
12740
20c2c024
CL
127412016-08-19 Carl Love <cel@us.ibm.com>
12742
12743 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
12744 maintaining separate logic for constructing the output path.
12745 * gdb.arch/powerpc-d128-regs.exp: Likewise.
12746 * gdb.arch/ppc-dfp.exp: Likewise.
12747 * gdb.arch/ppc-fp.exp: Likewise.
12748 * gdb.arch/vsx-regs.exp: Likewise.
12749 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
12750 binprefix for generating the additional binary files.
12751
0646e07d
PA
127522016-08-19 Pedro Alves <palves@redhat.com>
12753
12754 * gdb.trace/mi-trace-frame-collected.exp
12755 (test_trace_frame_collected): On x32, expect two registers.
12756
46da9242
CL
127572016-08-18 Carl Love <cel@us.ibm.com>
12758
12759 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
12760 and sync up the test with tests in gas/testsuite/gas/ppc.
12761 * gdb.arch/powerpc-power.exp: Likewise.
12762
eb2332d7
SM
127632016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12764
12765 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
12766 expected error message.
12767
63c61e04
SM
127682016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12769
12770 * gdb.multi/remove-inferiors.exp: New file.
12771 * gdb.multi/remove-inferiors.c: New file.
12772
7b17065f
YQ
127732016-08-12 Yao Qi <yao.qi@linaro.org>
12774
12775 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
12776 argument list.
12777
01d3dedf
PA
127782016-08-10 Pedro Alves <palves@redhat.com>
12779
12780 PR gdb/19187
12781 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
12782 setup_kfails.
12783
3eb7562a
PA
127842016-08-09 Pedro Alves <palves@redhat.com>
12785 Simon Marchi <simon.marchi@ericsson.com>
12786
12787 PR gdb/20418
12788 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
12789 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
12790
80614914
PA
127912016-08-09 Pedro Alves <palves@redhat.com>
12792
12793 PR mi/20431
12794 * gdb.mi/mi-cmd-error.exp: New file.
12795
f348d89a
PA
127962016-08-09 Pedro Alves <palves@redhat.com>
12797
12798 PR gdb/18653
12799 * gdb.base/signals-state-child.c: New file.
12800 * gdb.base/signals-state-child.exp: New file.
12801 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
12802
e5ca03b4
PA
128032016-08-09 Pedro Alves <palves@redhat.com>
12804
12805 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
12806
282a0691
TT
128072016-08-03 Tom Tromey <tom@tromey.com>
12808
12809 PR python/18565:
12810 * gdb.python/py-frame-inline.exp: Add Frame.function test.
12811
41bfcd63
YQ
128122016-08-01 Yao Qi <yao.qi@linaro.org>
12813
12814 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
12815 variable mode to "multi-process" if $multi_process is 1, otherwise
12816 set it to "single-process".
12817
e3465b24
YQ
128182016-08-01 Yao Qi <yao.qi@linaro.org>
12819
12820 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
12821 * gdb.cp/cpexprs.exp: Likewise.
12822 * gdb.cp/m-static.exp: Likewise.
12823
0b31a4bc
TT
128242016-07-26 Tom Tromey <tom@tromey.com>
12825
12826 PR python/20190:
12827 * gdb.threads/tls.exp (check_thread_local): Add python symbol
12828 test.
12829
e0461dbb
MM
128302016-07-26 Markus Metzger <markus.t.metzger@intel.com>
12831
12832 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
12833 selecting assembly source files.
12834 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
12835 assembly source files.
12836 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
12837 assembly source files.
12838 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
12839 selecting assembly source files.
12840
8194e927
SM
128412016-07-25 Simon Marchi <simon.marchi@ericsson.com>
12842
12843 * gdb.base/new-ui.exp (do_test_invalid_args): New
12844 procedure.
12845
c0272db5
TW
128462016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
12847
12848 * gdb.btrace/reconnect.c: New file.
12849 * gdb.btrace/reconnect.exp: New file.
12850
e3487908
GKB
128512016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
12852
12853 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
12854 to test_catch_syscall_group.
12855 (test_catch_syscall_group): New.
12856
12df5c00
TT
128572016-07-21 Tom Tromey <tom@tromey.com>
12858
12859 * gdb.rust/simple.rs (main): Use empty struct expression.
12860 * gdb.rust/simple.exp: Add tests for empty struct expression.
12861
bae62ee2
YQ
128622016-07-21 Yao Qi <yao.qi@linaro.org>
12863
12864 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
12865 if gdb_skip_xml_test is true on some targets.
12866
b1b53fb3
YQ
128672016-07-21 Yao Qi <yao.qi@linaro.org>
12868
12869 * gdb.server/solib-list.exp: Unset last_loaded_file.
12870
027d97f8
JK
128712016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12872
12873 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
12874 "step into captured_main (args)".
12875
7674d381
JK
128762016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12877
12878 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
12879
72b5d099
JK
128802016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12881
12882 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
12883
1f960ced
PA
128842016-07-19 Pedro Alves <palves@redhat.com>
12885
12886 * gdb.opt/inline-break.exp: Remove optimize=-O2.
12887 * gdb.opt/inline-bt.exp: Likewise.
12888 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
12889 additional_flags=-Winline.
12890 * gdb.opt/inline-locals.exp: Likewise.
12891 * gdb.opt/inline-markers.c (ATTR): Define.
12892 (inlined_fn): Use it.
12893
f25827c1
YQ
128942016-07-19 Yao Qi <yao.qi@linaro.org>
12895
12896 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
12897 (test_with_self): Remove some code. Remove argument executable.
12898 (top-level): Use do_self_tests.
12899
37539ebe
DB
129002016-07-15 Zachary Welch <zwelch@codesourcery.com>
12901 Don Breazeal <donb@codesourcery.com>
12902
12903 * gdb.base/maint.exp: Escape paths used in regular expressions.
12904 * gdb.stabs/weird.exp: Likewise.
12905
dac790e1
TT
129062016-07-13 Tom Tromey <tom@tromey.com>
12907
12908 PR python/15620, PR python/18620:
12909 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
12910 (test_bkpt_events): New procs.
12911
93daf339
TT
129122016-07-13 Tom Tromey <tom@tromey.com>
12913
12914 PR python/17698:
12915 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
12916 test.
12917 (test_watchpoints): Likewise.
12918 (test_bkpt_pending): New proc.
12919
6571a381
TT
129202016-07-13 Tom Tromey <tom@tromey.com>
12921
12922 PR cli/18053:
12923 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
12924 completion test.
12925
e8732474
JK
129262016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12927
12928 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
12929 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
12930 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
12931 f_label.
12932 (g): Rename g_end_lbl to g_label.
12933 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
12934 low_pc and high_pc.
12935 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
12936
e0f3fd7c
TT
129372016-07-12 Tom Tromey <tom@tromey.com>
12938
12939 PR python/19293:
12940 * gdb.python/py-unwind-maint.exp: Update tests.
12941
3cfe46b6
YQ
129422016-07-12 Yao Qi <yao.qi@linaro.org>
12943
12944 * lib/selftest-support.exp (selftest_setup): Match the output
12945 when captured_main is inlined.
12946
4f19a0e6
WT
129472016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
12948
12949 * gdb.fortran/derived-types.exp (result_line, result_line_2):
12950 New variables.
12951 (print this%a, print this%b, print this): New tests.
12952 * gdb.fortran/derived-types.f90 (this): New object and
12953 initialization.
12954
986cf455
SM
129552016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12956
12957 * gdb.ada/arraydim.exp: Remove extra directory level in build
12958 directory.
12959
f0464b23
SM
129602016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12961
12962 * lib/ada.exp: Remove extra directory level in build directory.
12963 * gdb.ada/cond_lang.exp: Likewise.
12964 * gdb.ada/exec_changed.exp: Likewise.
12965 * gdb.ada/lang_switch.exp: Likewise.
12966
42d94011
MG
129672016-07-06 Manish Goregaokar <manish@mozilla.com>
12968
2806dc7e
PA
12969 * simple.rs: Add test for raw pointer subscripting.
12970 * simple.exp: Add test expectations.
42d94011 12971
647c264c
YQ
129722016-07-05 Yao Qi <yao.qi@linaro.org>
12973
12974 * gdb.mi/mi-reverse.exp: Match =record-started output.
12975
20aa2c60
PA
129762016-07-01 Pedro Alves <palves@redhat.com>
12977
12978 * gdb.base/jit-reader.exp (info_registers_current_frame): New
12979 procedure.
12980 (jit_reader_test): Test the jit reader's unwinder.
12981 * gdb.base/jithost.c (jit_function_00_code): New global.
12982 (main): Use memcpy to fill in the mmapped code, instead of poking
12983 bytes manually here.
12984 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
12985 value.
12986 (read_debug_info): Save the function's range.
12987 (read_sp): New function.
12988 (unwind_frame): Use it. Also unwind RBP.
12989 (get_frame_id): Use read_sp.
12990 (gdb_init_reader): Use calloc instead of malloc.
12991 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
12992 parameter. Use gdb_test_multiple.
12993
ced2dffb
PA
129942016-07-01 Pedro Alves <palves@redhat.com>
12995 Antoine Tremblay <antoine.tremblay@ericsson.com>
12996
12997 * gdb.threads/process-dies-while-detaching.c: New file.
12998 * gdb.threads/process-dies-while-detaching.exp: New file.
12999
63000888
PA
130002016-07-01 Pedro Alves <palves@redhat.com>
13001
13002 * gdb.multi/watchpoint-multi-exit.c: New file.
13003 * gdb.multi/watchpoint-multi-exit.exp: New file.
13004
038d4868
PA
130052016-06-30 Pedro Alves <palves@redhat.com>
13006
13007 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
13008 unset inferior_spawn_id.
13009
994e9c83
PA
130102016-06-30 Pedro Alves <palves@redhat.com>
13011
13012 * lib/mi-support.exp (default_mi_gdb_start): Declare global
13013 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
13014
e5653468
YQ
130152016-06-29 Yao Qi <yao.qi@linaro.org>
13016
13017 * gdb.base/return.c: Add copyright header.
13018
803b47e5
TT
130192016-06-29 Tom Tromey <tom@tromey.com>
13020
13021 PR python/20129:
13022 * gdb.python/py-framefilter.exp: Add tests for setting priority
13023 and disabling of non-existent frame filter.
13024
28244707
YQ
130252016-06-29 Yao Qi <yao.qi@linaro.org>
13026
13027 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
13028 0x0f07ff.
13029
a31d2f06
YQ
130302016-06-28 Yao Qi <yao.qi@linaro.org>
13031
13032 * gdb.base/catch-syscall.exp: Remove check on isnative and target
13033 triplets. Start gdb, execute catch syscall, and continue. Check
13034 gdb's output to determine catch syscall is supported.
13035
921d8f54
MG
130362016-06-27 Manish Goregaokar <manish@mozilla.com>
13037
25d49b86
PA
13038 * gdb.rust/simple.rs: Add test for returning unit in a function.
13039 * gdb.rust/simple.exp: Add expectation for functions returning
13040 unit.
921d8f54 13041
f4952523
PMR
130422016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
13043
13044 * gdb.python/py-breakpoint-create-fail.c,
13045 gdb.python/py-breakpoint-create-fail.exp,
13046 gdb.python/py-breakpoint-create-fail.py: New testcase.
13047
fccb08f8
MG
130482016-06-25 Manish Goregaokar <manish@mozilla.com>
13049
13050 PR gdb/20239
13051 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
13052 * gdb.rust/simple.exp: Add test expectations for new NonZero
13053 tests.
fccb08f8 13054
6b850546
DT
130552016-06-24 David Taylor <dtaylor@emc.com>
13056
13057 * gdb.base/offsets.exp: New file.
13058 * gdb.base/offsets.c: New file.
13059
17621150
TT
130602016-06-23 Tom Tromey <tom@tromey.com>
13061
13062 PR gdb/16483:
13063 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
13064 before any filters are loaded.
13065
04d59df6
WT
130662016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
13067
13068 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
13069 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
13070 structs.
13071 * gdb.fortran/derived-type-function.exp: New file.
13072 * gdb.fortran/derived-type-function.f90: New file.
13073
13074
ac69f786
PA
130752016-06-21 Pedro Alves <palves@redhat.com>
13076
13077 * gdb.base/new-ui.exp: New file.
13078 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
13079 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
13080 (with_spawn_id): New procedure.
13081
49940788
PA
130822016-06-21 Pedro Alves <palves@redhat.com>
13083
13084 * gdb.mi/mi-exec-run.exp: New file.
13085
ef274d26
PA
130862016-06-21 Pedro Alves <palves@redhat.com>
13087
13088 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
13089 breakpoint command's output on the main UI.
13090 (test_break): New procedure, factored out from calls in the top
13091 level.
13092 (top level): Use foreach_with_prefix to test MI as main UI and as
13093 separate UI.
13094
468afe6c
PA
130952016-06-21 Pedro Alves <palves@redhat.com>
13096
13097 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
13098 (test_awatch_creation_and_listing)
13099 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
13100 Remove 'type' parameter.
13101 (test_watchpoint_all): New parameter mi_mode. Remove
13102 with_test_prefix.
13103 (top level): Use foreach_with_prefix, and add main/separate UI MI
13104 testing axis.
13105
51f77c37
PA
131062016-06-21 Pedro Alves <palves@redhat.com>
13107
13108 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
13109 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
13110 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
13111 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
13112 (gdb_main_spawn_id, mi_spawn_id): Declare and
13113 comment.
13114 (mi_create_inferior_pty): New procedure,
13115 factored out from default_mi_gdb_start.
13116 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
13117 procedures.
13118 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
13119 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
13120 Use mi_create_inferior_pty.
13121 (mi_gdb_start): Use eval to pass down args list.
13122
8980e177
PA
131232016-06-21 Pedro Alves <palves@redhat.com>
13124
13125 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
13126 * gdb.opt/inline-cmds.exp: Add MI tests.
13127
f38d3ad1
PA
131282016-06-21 Pedro Alves <palves@redhat.com>
13129
13130 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
13131
45db7c09
PA
131322016-06-21 Pedro Alves <palves@redhat.com>
13133
13134 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
13135 (top level): Use it instead of mi_execute_to.
13136
5a069ab3
PA
131372016-06-21 Pedro Alves <palves@redhat.com>
13138
13139 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
13140 (cont_handler_str): New.
13141 (signal_stop_handler): Set stop_handler_str instead of printing to
13142 stdout.
13143 (continue_handler): Set cont_handler_str instead of printing to
13144 stdout.
13145 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
13146 mi_send_resuming_command. Print stop_handler_str and
13147 cont_handler_str instead of expecting the python events print
13148 directly.
13149
2838cc1d
SD
131502016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
13151
13152 * gdb.base/jit-reader.exp: New file.
13153 * gdb.base/jithost.c: New file.
13154 * gdb.base/jithost.h: New file.
13155 * gdb.base/jitreader.c : New file.
13156 * gdb.base/jit-protocol.h: New file.
13157
21a77091
YQ
131582016-06-17 Yao Qi <yao.qi@linaro.org>
13159
13160 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
13161 parameters follow_fork and detach_on_fork. Set follow-fork-mode
13162 and detach-on-fork. Adjust tests.
13163 (top level): Invoke break_cond_on_syscall with combinations of
13164 syscall, follow-fork-mode and detach-on-fork.
13165
f50bf8e5
YQ
131662016-06-17 Yao Qi <yao.qi@linaro.org>
13167
13168 * gdb.base/step-over-exit.c: New.
13169 * gdb.base/step-over-exit.exp: New.
13170
a28d8e50
YTL
131712016-06-17 Yan-Ting Lin <currygt52@gmail.com>
13172
13173 * gdb.base/float.exp: Add target check for nds32*-*-*.
13174 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
13175
cad8e26d
AB
131762016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
13177
13178 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
13179 for unsupported target features.
13180 * gdb.base/call-rt-st.exp: Likewise.
13181 * gdb.base/call-sc.exp: Likewise.
13182 * gdb.base/call-signal-resume.exp: Likewise.
13183 * gdb.base/call-strs.exp: Likewise.
13184 * gdb.base/callexit.exp: Likewise.
13185 * gdb.base/callfuncs.exp: Likewise.
13186 * gdb.base/nodebug.exp: Likewise.
13187 * gdb.base/printcmds.exp: Likewise.
13188 * gdb.base/ptype.exp: Likewise.
13189 * gdb.base/structs.exp: Likewise.
13190 * gdb.base/unwindonsignal.exp: Likewise.
13191 * gdb.cp/gdb2495.exp: Likewise.
13192 * gdb.cp/templates.exp: Likewise.
13193 * gdb.cp/virtfunc.exp: Likewise.
13194 * gdb.threads/hand-call-in-threads.exp: Likewise.
13195 * gdb.threads/interrupted-hand-call.exp: Likewise.
13196 * gdb.threads/thread-unwindonsignal.exp: Likewise.
13197
347dc102
TT
131982016-06-10 Tom Tromey <tom@tromey.com>
13199
13200 PR rust/20110:
13201 * gdb.rust/expr.exp: Add test for integer constant larger than
13202 i32.
13203
5e13cf25
BH
132042016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
13205
13206 * gdb.fortran/nested-funcs.exp: New.
13207 * gdb.fortran/nested-funcs.f90: New.
13208
bb556f1f
TK
132092016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
13210
13211 * gdb.base/examine-backward.c: New file.
13212 * gdb.base/examine-backward.exp: New file.
13213
38b022b4
SM
132142016-06-06 Simon Marchi <simon.marchi@ericsson.com>
13215
13216 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
13217 matching.
13218
1b40ec05
TT
132192016-06-02 Tom Tromey <tom@tromey.com>
13220
13221 PR python/18984:
13222 * gdb.python/py-shared.exp: Add solib_name test.
13223
193bd378
SM
132242016-06-02 Simon Marchi <simon.marchi@ericsson.com>
13225
13226 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
13227
3326303b
MG
132282016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
13229
13230 PR c++/19893
13231 * gdb.dwarf2/implref.exp: Rename to...
13232 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
13233 * gdb.dwarf2/implref-array.c: New file.
13234 * gdb.dwarf2/implref-array.exp: Likewise.
13235 * gdb.dwarf2/implref-global.c: Likewise.
13236 * gdb.dwarf2/implref-global.exp: Likewise.
13237 * gdb.dwarf2/implref-struct.c: Likewise.
13238 * gdb.dwarf2/implref-struct.exp: Likewise.
13239
825c8ef2
AT
132402016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13241
13242 * gdb.trace/trace-condition.exp: Add 64bit tests.
13243
2320162a
AT
132442016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13245
13246 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
13247 bits types.
13248 (main): Adapt to 8 to 64 bits types.
13249 * gdb.trace/trace-condition.exp: Add new tests.
13250
a7818233
AT
132512016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13252
13253 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
13254
0d336466
AT
132552016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13256
13257 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
13258 Move condition tests...
13259 * gdb.trace/trace-condition.exp: Here.
13260
7faeb45a
AT
132612016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13262
13263 * gdb.trace/trace-condition.exp: Add counter-case tests.
13264
e385593e
JK
132652016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13266
13267 PR c++/15231
13268 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
13269 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
13270
744608cc
PA
132712016-05-27 Pedro Alves <palves@redhat.com>
13272
13273 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13274 New procedure.
13275 (top level): Call it, and bail out of DejaGnu is known to be bad.
13276
ac775bf4
AB
132772016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
13278
13279 * gdb.base/whatis.c: Extend the test case.
13280 * gdb.base/whatis.exp: Add additional tests.
13281
2bbad2ea
BH
132822016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13283
13284* gdb.fortran/type.f90: Add pointer variable.
13285* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
13286
8b70175d
BH
132872016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13288
13289 * gdb.fortran/vla-type.exp: Fix testcase name.
13290
86d8a848
BH
132912016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13292
13293 * gdb.fortran/vla-type.exp: Access elements in nested structs.
13294
e188eb36
BH
132952016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13296
13297 * gdb.fortran/type.f90: Add nested structures.
13298 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
13299 * gdb.fortran/derived-type.exp: Adapt expected output.
13300 * gdb.fortran/vla-type.exp: Adapt expected output.
13301
9b2db1fd
BH
133022016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13303
13304 * gdb.fortran/whatis_type.exp: Adapt expected output.
13305
72b17055
BH
133062016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13307
13308 * gdb.fortran/print_type.exp: Fix expected output.
13309 * gdb.fortran/whatis_type.exp: Fix expected output.
13310
3cd81d8d
BH
133112016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13312
13313 * gdb.fortran/whatis_type.exp: Use multi_line.
13314
ddae9462
TT
133152016-05-24 Tom Tromey <tom@tromey.com>
13316
13317 PR python/17386:
13318 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
13319 use value as an index.
13320
1957f6b8
TT
133212016-05-23 Tom Tromey <tom@tromey.com>
13322
13323 PR python/17981:
13324 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
13325 no-breakpoint case.
13326
026a9174
PA
133272016-05-24 Pedro Alves <palves@redhat.com>
13328
13329 PR gdb/19828
13330 * gdb.threads/clone-attach-detach.c: New file.
13331 * gdb.threads/clone-attach-detach.exp: New file.
13332
e70a7231
FR
133332016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
13334
13335 * gdb.base/annota-input-while-running.exp: Fix syntax error.
13336
0f6ed0e0
TT
133372016-05-23 Tom Tromey <tom@tromey.com>
13338
13339 PR python/19438, PR python/18393:
13340 * gdb.python/py-progspace.exp: Add "dir" test.
13341 * gdb.python/py-objfile.exp: Add "dir" test.
13342
ffd19d61
YQ
133432016-05-23 Yao Qi <yao.qi@linaro.org>
13344
13345 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
13346 * gdb.arch/thumb2-it.exp: Likewise.
13347
9e8f9b05
SM
133482016-05-18 Simon Marchi <simon.marchi@ericsson.com>
13349
13350 * gdb.mi/mi-threads-interrupt.c: New file.
13351 * gdb.mi/mi-threads-interrupt.exp: New file.
13352
61c6156d
SM
133532016-05-17 Simon Marchi <simon.marchi@ericsson.com>
13354
13355 PR gdb/18077
13356 * gdb.mi/mi-async-run.exp: New file.
13357 * gdb.mi/mi-async-run.c: New file.
13358
67218854
TT
133592016-05-17 Tom Tromey <tom@tromey.com>
13360 Manish Goregaokar <manishsmail@gmail.com>
13361
13362 * lib/rust-support.exp: New file.
13363 * lib/gdb.exp (skip_rust_tests): New proc.
13364 (build_executable_from_specs): Handle rust.
13365 * lib/future.exp (gdb_find_rustc): New proc.
13366 (gdb_default_target_compile): Handle rust.
13367 * gdb.rust/expr.exp: New file.
13368 * gdb.rust/generics.exp: New file.
13369 * gdb.rust/generics.rs: New file.
13370 * gdb.rust/methods.exp: New file.
13371 * gdb.rust/methods.rs: New file.
13372 * gdb.rust/modules.exp: New file.
13373 * gdb.rust/modules.rs: New file.
13374 * gdb.rust/simple.exp: New file.
13375 * gdb.rust/simple.rs: New file.
13376
c44af4eb
TT
133772016-05-17 Tom Tromey <tom@tromey.com>
13378
13379 * gdb.base/default.exp (set language): Add rust.
13380
dcd1f979
TT
133812016-05-17 Tom Tromey <tom@tromey.com>
13382
13383 * gdb.gdb/unittest.exp: New file.
13384
155b7f57
YQ
133852016-05-16 Yao Qi <yao.qi@linaro.org>
13386
13387 * gdb.base/batch-preserve-term-settings.exp: Remove variable
13388 shell_prompt. Update shell_prompt_re.
13389
8ddd5a6c
DE
133902016-05-12 Doug Evans <dje@google.com>
13391
13392 PR symtab/19999
13393 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
13394 $options when building executable.
13395 * gdb.dwarf2/fission-loclists-pie.S: New file.
13396 * gdb.dwarf2/fission-loclists-pie.exp: New file.
13397
02e370d9
SM
133982016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13399
13400 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
13401 of [is_remote target],
13402
8929ad8b
SM
134032016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13404
13405 * lib/gdb.exp (use_gdb_stub): New procedure.
13406
6c447423
DE
134072016-05-03 Yunlian Jiang <yunlian@google.com>
13408 Doug Evans <dje@google.com>
13409
13410 PR symtab/19914
13411 * gdb.dwarf2/dwp-sepdebug.c: New file.
13412 * gdb.dwarf2/dwp-sepdebug.exp: New file.
13413
444e826c
SM
134142016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13415
13416 * gdb.base/detach.exp: Remove is_remote check.
13417
740feeaa
SM
134182016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13419
13420 * gdb.base/annota-input-while-running.exp: Don't check for
13421 [is_remote target]. Enable annotations after running to main.
13422 Remove unused "set test..." line.
13423
9080ac9d
SM
134242016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13425
13426 * gdb.trace/trace-enable-disable.exp: New file.
13427 * gdb.trace/trace-enable-disable.c: New file.
13428
952ebca5
SM
134292016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13430
13431 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
13432 use it in info sharedlibrary test.
13433 * gdb.trace/ftrace-lock.exp: Likewise.
13434 * gdb.trace/ftrace.exp: Likewise.
13435 * gdb.trace/range-stepping.exp: Likewise.
13436 * gdb.trace/trace-break.exp: Likewise.
13437 * gdb.trace/trace-condition.exp: Likewise.
13438 * gdb.trace/trace-mt.exp: Likewise.
13439
d9019901
SM
134402016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13441
13442 * lib/gdb.exp (gdb_load_shlibs): Rename to...
13443 (gdb_load_shlib): ... this.
13444 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
13445 gdb_load_shlib.
13446 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
13447 * gdb.base/ctxobj.exp: Likewise.
13448 * gdb.base/dprintf-pending.exp: Likewise.
13449 * gdb.base/dso2dso.exp: Likewise.
13450 * gdb.base/fixsection.exp: Likewise.
13451 * gdb.base/gcore-relro.exp: Likewise.
13452 * gdb.base/gdb1555.exp: Likewise.
13453 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13454 * gdb.base/gnu-ifunc.exp: Likewise.
13455 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
13456 * gdb.base/jit-so.exp (one_jit_test): Likewise.
13457 * gdb.base/pending.exp: Likewise.
13458 * gdb.base/print-file-var.exp: Likewise.
13459 * gdb.base/print-symbol-loading.exp: Likewise.
13460 * gdb.base/shlib-call.exp: Likewise.
13461 * gdb.base/shreloc.exp: Likewise.
13462 * gdb.base/so-impl-ld.exp: Likewise.
13463 * gdb.base/solib-disc.exp: Likewise.
13464 * gdb.base/solib-nodir.exp: Likewise.
13465 * gdb.base/solib-overlap.exp: Likewise.
13466 * gdb.base/solib-symbol.exp: Likewise.
13467 * gdb.base/solib-weak.exp (do_test): Likewise.
13468 * gdb.base/sym-file.exp: Likewise.
13469 * gdb.base/symtab-search-order.exp: Likewise.
13470 * gdb.base/type-opaque.exp: Likewise.
13471 * gdb.base/unload.exp: Likewise.
13472 * gdb.base/watchpoint-solib.exp: Likewise.
13473 * gdb.compile/compile.exp: Likewise.
13474 * gdb.cp/gdb2384.exp: Likewise.
13475 * gdb.cp/infcall-dlopen.exp: Likewise.
13476 * gdb.cp/re-set-overloaded.exp: Likewise.
13477 * gdb.fortran/library-module.exp: Likewise.
13478 * gdb.opt/solib-intra-step.exp: Likewise.
13479 * gdb.python/py-finish-breakpoint.exp: Likewise.
13480 * gdb.python/py-shared.exp: Likewise.
13481 * gdb.reverse/solib-precsave.exp: Likewise.
13482 * gdb.reverse/solib-reverse.exp: Likewise.
13483 * gdb.server/solib-list.exp: Likewise.
13484 * gdb.threads/dlopen-libpthread.exp: Likewise.
13485 * gdb.threads/tls-shared.exp: Likewise.
13486 * gdb.threads/tls-so_extern.exp: Likewise.
13487 * gdb.trace/change-loc.exp: Likewise.
13488 * gdb.trace/ftrace-lock.exp: Likewise.
13489 * gdb.trace/ftrace.exp: Likewise.
13490 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
13491 * gdb.trace/pending.exp: Likewise.
13492 * gdb.trace/range-stepping.exp: Likewise.
13493 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
13494 (strace_info_marker): Likewise.
13495 (strace_probe_marker): Likewise.
13496 (strace_trace_on_same_addr): Likewise.
13497 (strace_trace_on_diff_addr): Likewise.
13498 * gdb.trace/trace-break.exp: Likewise.
13499 * gdb.trace/trace-condition.exp: Likewise.
13500 * gdb.trace/trace-mt.exp: Likewise.
13501
fca4cfd9
SM
135022016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13503
13504 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
13505 result of gdb_remote_download.
13506 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
13507 * gdb.base/dso2dso.exp: Likewise.
13508 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13509 * gdb.base/print-file-var.exp: Likewise.
13510 * gdb.base/shlib-call.exp: Likewise.
13511 * gdb.base/shreloc.exp: Likewise.
13512 * gdb.base/solib-overlap.exp: Likewise.
13513 * gdb.base/solib-weak.exp (do_test): Likewise.
13514 * gdb.base/unload.exp: Likewise.
13515
11cf4ffb
YQ
135162016-04-27 Yao Qi <yao.qi@linaro.org>
13517
13518 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
13519 exists.
13520
3e2e34f8
KB
135212016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13522
13523 * vla-type.exp: Print structure from toplevel.
13524
8f07e298
BH
135252016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13526
13527 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
13528 of dynamic types.
13529 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
13530 of dynamic types.
13531
9920b434
BH
135322016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13533
13534 * gdb.fortran/vla-type.f90: New file.
13535 * gdb.fortran/vla-type.exp: New file.
13536
f3abeff5
YQ
135372016-04-25 Yao Qi <yao.qi@linaro.org>
13538
13539 * gdb.base/branch-to-self.c: New file.
13540 * gdb.base/branch-to-self.exp: New file.
13541
0a5d52f0
YQ
135422016-04-22 Yao Qi <yao.qi@linaro.org>
13543
13544 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
13545 more after $hex.
13546
495346f6
YQ
135472016-04-22 Yao Qi <yao.qi@linaro.org>
13548
13549 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
13550 * gdb.base/annota3.exp: Likewise.
13551
4a7e075c
YQ
135522016-04-22 Yao Qi <yao.qi@linaro.org>
13553
13554 * gdb.reverse/step-precsave.exp: Do one step and test program
13555 stops in "callee" and do multiple steps until program goes out
13556 of "callee".
13557 * gdb.reverse/step-reverse.exp: Likewise.
13558
5b061e98
YQ
135592016-04-22 Yao Qi <yao.qi@linaro.org>
13560
13561 * gdb.trace/signal.exp: Also pass if
13562 $tracepoint_hits($i) > $iterations.
13563
5c5dc57f
YQ
135642016-04-22 Yao Qi <yao.qi@linaro.org>
13565
13566 * gdb.trace/signal.c: New file.
13567 * gdb.trace/signal.exp: New file.
13568
a55411b9
DE
135692016-04-19 Doug Evans <xdje42@gmail.com>
13570
13571 * gdb.base/bad-file.exp: New file.
13572
a22df60a
MG
135732016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
13574
13575 * gdb.dwarf2/implref.exp: New file.
13576
0c13f7e5
BH
135772016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13578
13579 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
13580 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
13581 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
13582 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
13583 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
13584 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
13585 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
13586 * lib/fortran.exp (fortran_int4): New procedure.
13587 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
13588 (fortran_logical4): Likewise.
13589
9b9b09e9
BH
135902016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
13591
13592 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
13593
a14d1f4d
BH
135942016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13595
13596 * lib/compiler.c: Add Intel specific preprocessor macros.
13597 * lib/compiler.cc: Likewise.
25d49b86 13598
7d49b1d0
LM
135992016-04-13 Luis Machado <lgustavo@codesourcery.com>
13600
13601 * gdb.server/connect-with-no-symbol-file.c: New file.
13602 * gdb.server/connect-with-no-symbol-file.exp: New file.
13603
8392fa22
SM
136042016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13605
13606 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
13607
8c4c4aeb
SM
136082016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13609
13610 * boards/gdbserver-base.exp (${board}_download): Copy source file to
13611 standard output directory.
13612
45e3745e
AT
136132016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
13614
13615 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
13616
e26b7e41
MM
136172016-04-13 Markus Metzger <markus.t.metzger@intel.com>
13618
13619 * gdb.btrace/instruction_history.c (loop): Add declaration.
13620
8ce09462
AT
136212016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13622
13623 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
13624
2e88a1ea
SM
136252016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
13626
13627 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
13628 parentheses to print.
13629 (continue_handler): Likewise.
13630
f48e22e3
SM
136312016-04-08 Simon Marchi <simon.marchi@ericsson.com>
13632
13633 * gdb.server/solib-list.exp: Remove is_remote check.
13634 Pass shlib= to gdb_compile. Don't link shared library with
13635 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
13636 Run binary filename through "readlink -f" on the target.
13637
096be756
PA
136382016-04-08 Pedro Alves <palves@redhat.com>
13639
13640 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
13641 interpreter filename as argument to gdbserver_spawn.
13642 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13643 Return empty if $last_loaded_file does not exist.
13644
06500533
JK
136452016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13646
13647 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
13648 * gdb.base/jit-main.c: Use exit after usage.
13649
2d35e871
JK
136502016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13651
13652 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
13653 GDBHISTSIZE prior to the tests.
13654 * gdb.base/gdbinit-history.exp: Likewise.
13655
136562016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
13657
13658 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
13659 instead of build_executable. Use gdb_load_shlibs.
13660
c8064e7e
YQ
136612016-04-07 Yao Qi <yao.qi@linaro.org>
13662
13663 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
13664 Execute "si" command.
13665
bde47561
YQ
136662016-04-07 Yao Qi <yao.qi@linaro.org>
13667
13668 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
13669 number instead of the comments on some line.
13670
b16f8a3b
DB
136712016-04-06 Don Breazeal <donb@codesourcery.com>
13672
13673 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
13674 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
13675
c2f901df
SM
136762016-04-06 Simon Marchi <simon.marchi@ericsson.com>
13677
13678 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
13679 standard_output_file. Remove unused binfile variable.
13680
ac17fda0
CU
136812016-04-05 Catalin Udma <catalin.udma@freescale.com>
13682
13683 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
13684 * gdb.python/py-mi-objfile.exp: Match "list main" output
13685 in console format.
13686
03a8c4df
SM
136872016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
13688
13689 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
13690 absolute.
13691
6e774b13
SM
136922016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13693
13694 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
13695 absolute.
13696 * gdb.trace/ftrace.exp: Likewise.
13697 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
13698 targets as well.
13699 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
13700 (gdb_load_shlibs): Copy libraries to test directory when testing
13701 natively. Only set solib-search-path if testing remotely.
13702 * lib/mi-support.exp (mi_load_shlibs): Likewise.
13703
7817ea46
SM
137042016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13705
13706 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
13707 gdb_download. Use it even if the target is not remote.
13708 * gdb.base/jit.exp (compile_jit_test): Likewise.
13709 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
13710 output directory if the destination board is local, otherwise use
13711 the standard remote_download from DejaGnu.
13712 (gdb_download): Remove.
13713 (gdb_load_shlibs): Use gdb_remote_download instead of
13714 gdb_download.
13715 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13716 Use gdb_remote_download instead of gdb_download. Use it even if
13717 the target is not remote.
13718 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
13719 instead of gdb_download.
13720
7beb7f68
SM
137212016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
13722
13723 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
13724 (test_insert_delete_modify): Call mi_load_shlibs before trying to
13725 run.
13726
cc63428a
AV
137272016-04-01 Artemiy Volkov <artemiyv@acm.org>
13728
13729 PR gdb/19820
13730 * gdb.base/printcmds.exp: Add artificial arrays tests.
13731
64cdf930
PA
137322016-03-31 Pedro Alves <palves@redhat.com>
13733
13734 PR gdb/19858
13735 * gdb.base/jit-main.c: Include unistd.h.
13736 (ATTACH): Define to 0 if not already defined.
13737 (wait_for_gdb, mypid): New globals.
13738 (WAIT_FOR_GDB): New macro.
13739 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
13740 some breakpoint locations.
13741 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
13742 New procedures.
13743 (one_jit_test): Add REATTACH parameter, and handle it. Use
13744 continue_to_test_location.
13745 (top level): Test attach, and adjusts calls to one_jit_test.
13746
40dea8cb
PA
137472016-03-31 Pedro Alves <palves@redhat.com>
13748
13749 PR gdb/19858
13750 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
13751 BINSUFFIX parameter, and handle it.
13752 (top level): Adjust calls compile_jit_test.
13753
e7ea3ec7
CU
137542016-03-31 Catalin Udma <catalin.udma@freescale.com>
13755
13756 PR python/19743
13757 * gdb.python/py-mi-events-gdb.py: New file.
13758 * gdb.python/py-mi-events.c: New file.
13759 * gdb.python/py-mi-events.exp: New file.
13760
e6359af3
YQ
137612016-03-30 Yao Qi <yao.qi@linaro.org>
13762
13763 * gdb.reverse/until-precsave.exp: Match function name only.
13764 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
13765 Move malloc to a condition block.
13766 * gdb.reverse/until-reverse.exp: Match function name only.
13767
a4105d04
MK
137682016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
13769
13770 * gdb.trace/ftrace.exp: Set arg0exp for s390.
13771 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
13772 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
13773 variable for GPR 0 instead of assuming it is register 0.
13774 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
13775 * lib/trace-support.exp: Add s390 registers.
13776
bfa6adb9
YQ
137772016-03-29 Yao Qi <yao.qi@linaro.org>
13778
13779 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
13780
1e6697ea
YQ
137812016-03-24 Yao Qi <yao.qi@linaro.org>
13782
13783 * gdb.reverse/break-reverse.exp: Add quotation mark in the
13784 test message.
13785
64bcd522
AA
137862016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13787
13788 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
13789 maintaining separate logic for constructing the output path.
13790
7868401b
DB
137912016-03-16 Don Breazeal <donb@codesourcery.com>
13792
13793 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
13794 Retry fork and waitpid on interrupted system call errors.
13795 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13796 Use with_timeout_factor to increase timeout by factor of 10.
13797
1cafadb4
DB
137982016-03-15 Don Breazeal <donb@codesourcery.com>
13799
13800 * gdb.cp/scope-err.cc: New test program.
13801 * gdb.cp/scope-err.exp: New test script.
13802 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
13803 lines and "set breakpoint here" comment.
13804 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
13805 Fixed some whitespace and format issues.
13806 * gdb.mi/mi-linespec-err-cp.cc: New test program.
13807 * gdb.mi/mi-linespec-err-cp.exp: New test script.
13808
81516450
DE
138092016-03-15 Doug Evans <dje@google.com>
13810
13811 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
13812 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
13813 All callers updated. Add tests for enums, mixed flags register.
13814
aa52b601
DE
138152016-03-15 Doug Evans <dje@google.com>
13816
13817 * gdb.base/skip.c (main): Call test_skip_file_and_function.
13818 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
13819
fa4ff313
SM
138202016-03-14 Simon Marchi <simon.marchi@ericsson.com>
13821
13822 * gdb.base/default.exp: Add $_as_string to the list of expected
13823 convenience functions.
13824
f2403c39
AB
138252016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
13826
13827 * gdb.base/maint.exp: New tests for 'maint info line-table'.
13828
f2f3ccb9
SM
138292016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
13830
13831 * gdb.python/py-as-string.exp: New file.
13832 * gdb.python/py-as-string.c: New file.
13833
00dbd492
PA
138342016-03-09 Pedro Alves <palves@redhat.com>
13835
13836 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
13837 signal" -> "Thread NN received signal" output change.
13838 * gdb.threads/ia64-sigill.exp: Likewise.
13839 * gdb.threads/linux-dp.exp: Likewise.
13840 * gdb.threads/manythreads.exp: Likewise.
13841 * gdb.threads/pending-step.exp: Likewise.
13842 * gdb.threads/print-threads.exp: Likewise.
13843 * gdb.threads/sigstep-threads.exp: Likewise.
13844 * gdb.threads/staticthreads.exp: Likewise.
13845 * gdb.threads/tls.exp: Likewise.
13846
1e6697ea
YQ
138472016-03-09 Pedro Alves <palves@redhat.com>
13848
13849 * gdb.base/command-line-input.exp: New file.
13850
b04fd3be
MK
138512016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13852
13853 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
13854 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
13855 * gdb.trace/pending.exp: Accept leading dot before function name.
13856 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
13857 * lib/trace-support.exp: Set registers for ppc.
13858
98fa59e9
MK
138592016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13860
13861 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
13862 use it for disassembly; accept .main in addition to main in backtrace.
13863
f77198c8
MK
138642016-03-09 Wei-cheng Wang <cole945@gmail.com>
13865 Marcin Kościelnicki <koriakin@0x04.net>
13866
13867 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
13868 (gdb_recursion_test_ptr): New global variable.
13869 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
13870 gdb_recursion_test.
13871 (gdb_c_test): Ditto.
13872
ba84e0da
MK
138732016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13874
13875 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
13876 ordering.
13877
4366d36e
MK
138782016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13879
13880 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
13881 (bar): Add bar_start_lbl label.
13882 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
13883 of foo/bar for emitting DWARF and tracing.
13884
5eb264df
SDJ
138852016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
13886
13887 * analyze-racy-logs.py: Set executable bit.
13888
fb6a751f
SDJ
138892016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
13890
13891 * Makefile.in (DEFAULT_RACY_ITER): New variable.
13892 (CHECK_TARGET_TMP): Likewise.
13893 (check-single-racy): New rule.
13894 (check-parallel-racy): Likewise.
13895 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
13896 (do-check-parallel-racy): New rule.
13897 (check-racy/%.exp): Likewise.
13898 * README (Racy testcases): New section.
13899 * analyze-racy-logs.py: New file.
13900
bdf7e230
DE
139012016-03-03 Doug Evans <dje@google.com>
13902
13903 * gdb.base/skip.exp: Use with_test_prefix.
13904
4719d415
YQ
139052016-03-03 Yao Qi <yao.qi@linaro.org>
13906
13907 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
13908 Invoke step_over_syscall "clone" and break_cond_on_syscall
13909 "clone".
13910 * gdb.base/step-over-clone.c: New file.
13911
ea507862
YQ
139122016-03-03 Yao Qi <yao.qi@linaro.org>
13913
13914 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
13915 code format.
13916
8fc8cbda
YQ
139172016-03-03 Yao Qi <yao.qi@linaro.org>
13918
13919 * gdb.base/disp-step-fork.c: Rename to ...
13920 * gdb.base/step-over-fork.c: ... it. New file.
13921 * gdb.base/disp-step-vfork.c: Rename to ...
13922 * gdb.base/step-over-vfork.c: ... it. New file.
13923 * gdb.base/disp-step-syscall.exp: Rename to ...
13924 * gdb.base/step-over-syscall.exp: ... it. New file.
13925 (disp_step_cross_syscall): Rename to ...
13926 (step_over_syscall): ... it.
13927
92fa70b0
YQ
139282016-03-03 Yao Qi <yao.qi@linaro.org>
13929
13930 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
13931 If target supports condition evaluation on target, invoke
13932 break_cond_on_syscall for fork and vfork.
13933
e197ad3c
YQ
139342016-03-03 Yao Qi <yao.qi@linaro.org>
13935
13936 * gdb.base/disp-step-syscall.exp: Don't invoke
13937 support_displaced_stepping.
13938 (disp_step_cross_syscall): Test with displaced stepping off and
13939 on if supported.
13940
0b47da9f
YQ
139412016-03-03 Yao Qi <yao.qi@linaro.org>
13942
13943 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
13944 proc.
13945 (setup): New proc.
13946 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
13947 and setup.
13948
065ab6dc
BH
139492016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13950
13951 * gdb.fortran/vla-history.exp: Remove breakpoint.
13952
07e448ad 139532016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13954
25d49b86
PA
13955 * gdb.fortran/vla-history.exp: Lookup array elements and printing
13956 exceeds timeout.
07e448ad 13957
9ac2d526 139582016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13959
25d49b86
PA
13960 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
13961 breakpoint.
9ac2d526 13962
17807369
BH
139632016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13964
13965 * gdb.mi/vla.f90: Nullify pointer after declaration.
13966
86e501af
PA
139672016-03-01 Pedro Alves <palves@redhat.com>
13968
13969 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
13970
1e903e32
PA
139712016-03-01 Pedro Alves <palves@redhat.com>
13972
13973 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
13974 before anything else.
13975 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
13976 _GNU_SOURCE here.
13977 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
13978 before anything else.
13979 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
13980
6ccb54e2
PA
139812016-03-01 Pedro Alves <palves@redhat.com>
13982
13983 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
13984
30ca9da1
YQ
139852016-03-01 Yao Qi <yao.qi@linaro.org>
13986
13987 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
13988 prepare_for_testing.
13989
dc856b38
YQ
139902016-03-01 Yao Qi <yao.qi@linaro.org>
13991
13992 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
13993
4a932159
AA
139942016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13995
13996 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
13997 manually constructing the output path.
13998
f2489477
AA
139992016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14000
14001 * gdb.arch/s390-stackless.S: New.
14002 * gdb.arch/s390-stackless.exp: New.
14003
38899f16
IB
140042016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
14005
14006 * gdb.dlang/circular.c: New file.
14007 * gdb.dlang/circular.exp: New file.
14008
9fde51ed
YQ
140092016-02-26 Yao Qi <yao.qi@linaro.org>
14010
14011 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
14012 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
14013 (testcases): Update.
14014
ce90fefe
YQ
140152016-02-26 Yao Qi <yao.qi@linaro.org>
14016
14017 * gdb.reverse/aarch64.c: Rename to ...
14018 * gdb.reverse/insn-reverse.c: ... it.
14019 * gdb.reverse/aarch64.exp: Rename to ...
14020 * gdb.reverse/insn-reverse.exp: ... it.
14021
3263bceb
YQ
140222016-02-26 Yao Qi <yao.qi@linaro.org>
14023
14024 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
14025 (testcase_ftype): New.
14026 (testcases): New array.
14027 (n_testcases): New.
14028 (main): Call each element in testcases.
14029 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
14030 (read_testcase): New.
14031 Do the tests in a loop.
14032
6cb59ff1
YQ
140332016-02-25 Yao Qi <yao.qi@linaro.org>
14034
14035 * gdb.base/branches.c: Remove.
14036
ae91f625
MK
140372016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14038
14039 PR gdb/13808
14040 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
14041
678b48b7
MK
140422016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14043
14044 * gdb.trace/ftrace.exp: Remove unnecessary target check.
14045
7337a6f2
MK
140462016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14047
14048 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
14049 change x86_64 call_insn to 'callq'.
14050
861ca91f
AT
140512016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14052
14053 * gdb.trace/tfile-avx.c: Move to...
14054 * gdb.trace/tracefile-pseudo-reg.c: Here.
14055 * gdb.trace/tfile-avx.exp: Move to...
14056 * gdb.trace/tracefile-pseudo-reg.exp: Here.
14057
bf74e428
GB
140582016-02-24 Gary Benson <gbenson@redhat.com>
14059
14060 * gdb.base/attach-pie-noexec.exp: Do not expect an error
14061 message on attach.
14062
cce0e923
DE
140632016-02-23 Doug Evans <dje@google.com>
14064
14065 * gdb.base/skip.c (test_skip): New function.
14066 (end_test_skip_file_and_function): New function.
14067 (test_skip_file_and_function): New function.
14068 * gdb.base/skip1.c (test_skip): New function.
14069 (skip1_test_skip_file_and_function): New function.
14070 * gdb.base/skip.exp: Add tests for new skip options.
14071 * gdb.base/skip-solib.exp: Update expected output.
14072 * gdb.perf/skip-command.cc: New file.
14073 * gdb.perf/skip-command.exp: New file.
14074 * gdb.perf/skip-command.py: New file.
14075
4000e47e
MK
140762016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
14077
14078 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
14079 info registers pattern.
14080
24f75ead
IB
140812016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
14082
14083 * lib/future.exp: Add D support.
14084 (gdb_find_gdc): New proc.
14085 (gdb_default_target_compile): Add D support.
14086
fbb7bcbe
WW
140872016-02-18 Wei-cheng Wang <cole945@gmail.com>
14088
14089 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
14090 user+system time.
14091 (trace_speed_test): Determine the iteration count for a time
14092 between 15..30 seconds.
14093
012b3a21
WT
140942016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
14095
14096 * gdb.arch/i386-mpx-sigsegv.c: New file.
14097 * gdb.arch/i386-mpx-sigsegv.exp: New file.
14098 * gdb.arch/i386-mpx-simple_segv.c: New file.
14099 * gdb.arch/i386-mpx-simple_segv.exp: New file.
14100
2d5189bd
YQ
141012016-02-18 Yao Qi <yao.qi@linaro.org>
14102
14103 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14104 Don't call setup_kfail.
14105
40fb20d0
YQ
141062016-02-18 Yao Qi <yao.qi@linaro.org>
14107
14108 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14109 Set "set breakpoint condition-evaluation" per $cond_bp_target.
14110
21b1f8d2
DE
141112016-02-16 Doug Evans <dje@google.com>
14112
14113 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
14114 * gdb.base/skip1.c: Ditto.
14115 * gdb.base/skip.exp: Whitespace cleanup.
14116
4041ed77
DB
141172016-02-16 Don Breazeal <donb@codesourcery.com>
14118
14119 PR remote/19496
14120 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14121 Remove kfail for PR remote/19496.
14122
c4ef31bf
SM
141232016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14124
14125 * lib/gdb.exp (standard_temp_file): Return a path specific to
14126 the runtest invocation.
14127
266b65b3
SM
141282016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14129
14130 * gdb.trace/save-trace.exp: Change relative path to be in the
14131 standard output directory.
14132
a7a0a6a9
JK
141332016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14134
14135 * gdb.arch/i386-prologue.c: Add missing prototypes.
14136
c99dbb42
JK
141372016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14138
14139 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
14140 * gdb.arch/i386-prologue.exp: Likewise.
14141 * gdb.arch/i386-size.exp: Likewise.
14142
aa480355
SM
141432016-02-15 Simon Marchi <simon.marchi@ericsson.com>
14144
14145 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
14146 define object file path.
14147 * gdb.btrace/gcore.exp: Use standard_output_file to define core
14148 file path.
14149 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
14150 standard_output_file to define binfile.
14151
ba881f50
JK
141522016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14153
14154 Fix compatibility with recent gfortran-5.3.1.
14155 * gdb.fortran/vla-history.exp (print vla1 allocated)
14156 (print vla2 allocated, print $2, print $3): Remove
14157 (print $4): Rename to ...
14158 (print $2): ... here.
14159 (print $9): Rename to ...
14160 (print $5): ... here.
14161 (print $10): Rename to ...
14162 (print $6): ... here.
14163 * gdb.fortran/vla.f90: Add pvla initialization.
14164
e9fb005c
JK
141652016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14166
14167 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
14168 New test.
14169 * gdb.fortran/vla-value-sub.exp: Likewise.
14170
e44e00ff
MK
141712016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
14172
14173 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
14174
97e94151
SM
141752016-02-12 Simon Marchi <simon.marchi@ericsson.com>
14176
14177 * i386-biarch-core.exp: Define corefile using
14178 standard_output_file.
14179
01113bc1
YQ
141802016-02-12 Yao Qi <yao.qi@linaro.org>
14181
14182 * gdb.arch/arm-single-step-kernel-helper.c: New.
14183 * gdb.arch/arm-single-step-kernel-helper.exp: New.
14184
33b4777c
MM
141852016-02-12 Markus Metzger <markus.t.metzger@intel.com>
14186
14187 * gdb.btrace/tailcall-only.exp: New.
14188 * gdb.btrace/tailcall-only.c: New.
14189 * gdb.btrace/x86_64-tailcall-only.S: New.
14190 * gdb.btrace/i686-tailcall-only.S: New.
14191
acc23c11
PA
141922016-02-11 Pedro Alves <palves@redhat.com>
14193
14194 * README (Parallel testing): Add missing double quotes.
14195
e352bf0a
PA
141962016-02-11 Pedro Alves <palves@redhat.com>
14197
14198 * README (Parallel testing): New section.
14199 (GDB_PARALLEL): Rewrite.
14200 (FORCE_PARALLEL): Document.
14201
9f5fed78
MK
142022016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
14203
14204 * gdb.trace/tfile-avx.c: New test.
14205 * gdb.trace/tfile-avx.exp: New test.
14206
9ef9e6a6
KS
142072016-02-09 Keith Seitz <keiths@redhat.com>
14208
14209 PR breakpoints/19546
14210 * gdb.base/infcall-exec.c: New file.
14211 * gdb.base/infcall-exec2.c: New file.
14212 * gdb.base/infcall-exec.exp: New file.
14213
a96e36da
KS
142142016-02-09 Keith Seitz <keiths@redhat.com>
14215
14216 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
14217 (toplevel): Call test_bkpt_address.
14218
9f61929f
KS
142192016-02-09 Keith Seitz <keiths@redhat.com>
14220
14221 PR python/19506
14222 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
14223 (toplevel): Call test_bkpt_address.
14224
1e94266c
SM
142252016-02-09 Simon Marchi <simon.marchi@ericsson.com>
14226
14227 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
14228 to AC_OUTPUT.
14229 * configure: Regenerate.
14230
2a7f3dff
PA
142312016-02-09 Pedro Alves <palves@redhat.com>
14232
14233 PR breakpoints/19548
14234 * gdb.base/execl-update-breakpoints.c (some_function): New
14235 function.
14236 (main): Call it.
14237 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
14238 Tighten expected GDB output.
14239
2151ccc5
SM
142402016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14241
14242 * Makefile.in (ALL_SUBDIRS): Remove.
14243 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
14244 (distclean maintainer-clean realclean): Likewise.
14245 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
14246 * configure: Regenerate.
14247 * gdb.ada/Makefile.in: Delete.
14248 * gdb.arch/Makefile.in: Likewise.
14249 * gdb.asm/Makefile.in: Likewise.
14250 * gdb.base/Makefile.in: Likewise.
14251 * gdb.btrace/Makefile.in: Likewise.
14252 * gdb.cell/Makefile.in: Likewise.
14253 * gdb.compile/Makefile.in: Likewise.
14254 * gdb.cp/Makefile.in: Likewise.
14255 * gdb.disasm/Makefile.in: Likewise.
14256 * gdb.dlang/Makefile.in: Likewise.
14257 * gdb.dwarf2/Makefile.in: Likewise.
14258 * gdb.fortran/Makefile.in: Likewise.
14259 * gdb.gdb/Makefile.in: Likewise.
14260 * gdb.go/Makefile.in: Likewise.
14261 * gdb.guile/Makefile.in: Likewise.
14262 * gdb.java/Makefile.in: Likewise.
14263 * gdb.linespec/Makefile.in: Likewise.
14264 * gdb.mi/Makefile.in: Likewise.
14265 * gdb.modula2/Makefile.in: Likewise.
14266 * gdb.multi/Makefile.in: Likewise.
14267 * gdb.objc/Makefile.in: Likewise.
14268 * gdb.opencl/Makefile.in: Likewise.
14269 * gdb.opt/Makefile.in: Likewise.
14270 * gdb.pascal/Makefile.in: Likewise.
14271 * gdb.perf/Makefile.in: Likewise.
14272 * gdb.python/Makefile.in: Likewise.
14273 * gdb.reverse/Makefile.in: Likewise.
14274 * gdb.server/Makefile.in: Likewise.
14275 * gdb.stabs/Makefile.in: Likewise.
14276 * gdb.threads/Makefile.in: Likewise.
14277 * gdb.trace/Makefile.in: Likewise.
14278 * gdb.xml/Makefile.in: Likewise.
14279 * lib/gdb.exp (make_gdb_parallel_path): Add check for
14280 GDB_PARALLEL.
14281 (standard_output_file): Remove check for GDB_PARALLEL, always
14282 return path in outputs/$subdir/$testname.
14283
437277d4
SM
142842016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14285
14286 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
14287 (site.exp): Assign abs_srcdir to tcl's srcdir.
14288
31d913c7
YQ
142892016-02-04 Yao Qi <yao.qi@linaro.org>
14290
14291 * gdb.base/foll-exec-mode.c: Include limits.h.
14292 (main): Add parameters argc and argv. Get directory from
14293 argv[0].
14294 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
14295 compilation.
14296 * gdb.base/foll-exec.c: Include limits.h.
14297 (main): Add parameters argc and argv.
14298 Get directory from argv[0].
14299 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
14300 Adjust tests on the number of lines as source code changed.
14301 * gdb.base/foll-vfork-exit.c: Include limits.h.
14302 (main): Add one line of statement before vfork.
14303 * gdb.base/foll-vfork.c: Include limits.h and string.h.
14304 (main): Add parameters argc and argv. Get directory from
14305 argv[0].
14306 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
14307 (setup_gdb): Set tbreak to skip some source lines.
14308 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
14309 (main): Add parameters argc and argv. Get directory from
14310 argv[0].
14311 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
14312 compilation.
14313 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
14314 (main): Add parameters argc and argv. Get directory from
14315 argv[0].
14316 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
14317 compilation.
14318
9482b9fb
DE
143192016-02-01 Doug Evans <dje@google.com>
14320
14321 * gdb.base/skip.exp: Clean up multiple references to same test name.
14322
6b2e4f10
PA
143232016-02-01 Pedro Alves <palves@redhat.com>
14324
ccb6afd6 14325 PR remote/19496
6b2e4f10
PA
14326 * gdb.threads/forking-threads-plus-breakpoint.exp
14327 (displaced_stepping_supported): New global.
14328 (probe_displaced_stepping_support): New procedure.
14329 (do_test): Add 'displaced' parameter, and use it.
14330 (top level): Check for displaced stepping support. Add displaced
14331 stepping on/off testing axis.
14332
37a8db1a
AB
143332016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14334
14335 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
14336 pointer. Don't perform further tests on the unassociated pointer
14337 if the first test fails.
14338
5fdf6324
AB
143392016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14340
14341 * gdb.base/max-value-size.c: New file.
14342 * gdb.base/max-value-size.exp: New file.
14343 * gdb.base/huge.exp: Disable max-value-size for this test.
14344
935c6144
IB
143452016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
14346
14347 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14348
7fe8399d
YQ
143492016-01-28 Yao Qi <yao.qi@linaro.org>
14350
14351 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
14352
a2077e25
PA
143532016-01-25 Pedro Alves <palves@redhat.com>
14354
14355 PR threads/19461
14356 * gdb.base/fork-running-state.c: New file.
14357 * gdb.base/fork-running-state.exp: New file.
14358
1d2736d4
PA
143592016-01-25 Pedro Alves <palves@redhat.com>
14360
14361 PR gdb/19494
14362 * gdb.base/catch-fork-kill.c: New file.
14363 * gdb.base/catch-fork-kill.exp: New file.
14364
f1da4b11
PA
143652016-01-25 Pedro Alves <palves@redhat.com>
14366
14367 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
14368 Delete, moved to lib/gdb.exp.
14369 * gdb.threads/forking-threads-plus-breakpoint.exp
14370 (foreach_with_prefix): Likewise.
14371 * gdb.threads/process-dies-while-handling-bp.exp
14372 (foreach_with_prefix): Likewise.
14373 * lib/gdb.exp (foreach_with_prefix): New procedure.
14374
45f38546
MK
143752016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
14376
14377 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
14378 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
14379
dc29a1ce
MK
143802016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
14381
14382 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
14383 endian targets.
14384
092127d7
JK
143852016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14386 Pedro Alves <palves@redhat.com>
14387
14388 Fix testsuite compatibility with Guile.
14389 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
14390 number.
14391
31d765d3
JK
143922016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14393
14394 Fix testsuite compatibility with Guile.
14395 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
14396 (thread 1): New test for backtrace through signal handler.
14397
1ac78c04
YQ
143982016-01-22 Yao Qi <yao.qi@linaro.org>
14399
14400 PR testsuite/19491
14401 * gdb.base/multi-forks.c: Include
14402 ../lib/unbuffer_output.c
14403 (main): Call gdb_unbuffer_output.
14404
4f5946a8
DE
144052016-01-21 Doug Evans <dje@google.com>
14406
14407 * lib/ada.exp (gdb_compile_ada): Fix typo.
14408
305e13e6
JB
144092016-01-21 Joel Brobecker <brobecker@adacore.com>
14410
14411 * gdb.base/break-fun-addr.exp: New file.
14412 * gdb.base/break-fun-addr1.c: New file.
14413 * gdb.base/break-fun-addr2.c: New file.
14414
5f5dfff6
SM
144152016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
14416
14417 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
14418 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
14419 enum flag values.
14420
fd356fa2
AA
144212016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14422
14423 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
14424 when GDB can not set the vector return value. Add more comments
14425 for clarification.
14426
9df22175
AT
144272016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
14428
14429 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
14430 command.
14431
41d1845e
SM
144322016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14433
14434 * Makefile.in (DO_RUNTEST): Add --status and update usages.
14435
01ac6840
SM
144362016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14437
14438 * Makefile.in (check-single): Pass --status to runtest.
14439 (check/%.exp): Likewise.
14440
144412016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14442
14443 * Makefile.in (check-parallel): Propagate return code from make
14444 do-check-parallel.
14445
bd0a71fa
MK
144462016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
14447
14448 * gdb.trace/ftrace.exp: Fix expected message on continue.
14449 * gdb.trace/pending.exp: Fix expected message on continue.
14450 * gdb.trace/trace-break.exp: Fix expected message on continue.
14451
8bcbad33
SM
144522016-01-18 Simon Marchi <simon.marchi@ericsson.com>
14453
14454 * lib/gdb.exp (gdb_test): Remove unused global references.
14455
f303dbd6
PA
144562016-01-18 Pedro Alves <palves@redhat.com>
14457
14458 * gdb.base/async-shell.exp: Adjust expected output.
14459 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
14460 * gdb.base/siginfo-thread.exp: Adjust expected output.
14461 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
14462 * gdb.java/jnpe.exp: Adjust expected output.
14463 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
14464 * gdb.threads/continue-pending-status.exp: Adjust expected output.
14465 * gdb.threads/leader-exit.exp: Adjust expected output.
14466 * gdb.threads/manythreads.exp: Adjust expected output.
14467 * gdb.threads/pthreads.exp: Adjust expected output.
14468 * gdb.threads/schedlock.exp: Adjust expected output.
14469 * gdb.threads/siginfo-threads.exp: Adjust expected output.
14470 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
14471 expected output.
14472 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
14473 output.
14474 * gdb.threads/sigthread.exp: Adjust expected output.
14475 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
14476
b2789696
YQ
144772016-01-18 Yao Qi <yao.qi@linaro.org>
14478
14479 * gdb.guile/scm-section-script.c: Replace @progbits with
14480 %progbits.
14481 * gdb.python/py-section-script.c: Likewise.
14482
71ef29a8
PA
144832016-01-15 Pedro Alves <palves@redhat.com>
14484
14485 * gdb.multi/tids.exp: Test star wildcard ranges.
14486
3f5b7598
PA
144872016-01-15 Pedro Alves <palves@redhat.com>
14488
14489 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
14490 command from "thread apply" invocation.
14491 (thr_apply_info_thr_invalid): Default the expected output to the
14492 input tid list.
14493 (top level): Add tests that use convenience variables. Add tests
14494 for "thread apply" with a valid TID list, but missing the command.
14495
663f6d42
PA
144962016-01-13 Pedro Alves <palves@redhat.com>
14497
14498 * gdb.base/default.exp: Expect $_gthread as well.
14499 * gdb.multi/tids.exp: Test $_gthread.
14500 * gdb.threads/thread-specific.exp: Test $_gthread.
14501
c84f6bbf
PA
145022016-01-13 Pedro Alves <palves@redhat.com>
14503
14504 * gdb.multi/tids.exp: Test "info threads -gid".
14505
22a02324
PA
145062016-01-13 Pedro Alves <palves@redhat.com>
14507
14508 * gdb.multi/tids.exp: Test InferiorThread.global_num and
14509 Breakpoint.thread.
14510 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
14511
5d5658a1
PA
145122016-01-07 Pedro Alves <palves@redhat.com>
14513
14514 * gdb.base/break.exp: Adjust to output changes.
14515 * gdb.base/hbreak2.exp: Likewise.
14516 * gdb.base/sepdebug.exp: Likewise.
14517 * gdb.base/watch_thread_num.exp: Likewise.
14518 * gdb.linespec/keywords.exp: Likewise.
14519 * gdb.multi/info-threads.exp: Likewise.
14520 * gdb.threads/thread-find.exp: Likewise.
14521 * gdb.multi/tids.c: New file.
14522 * gdb.multi/tids.exp: New file.
14523
84654457
PA
145242016-01-13 Pedro Alves <palves@redhat.com>
14525
14526 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
14527
e3940304
PA
145282016-01-13 Pedro Alves <palves@redhat.com>
14529
14530 * gdb.base/default.exp: Expect $_inferior as well.
14531 * gdb.multi/base.exp: Test $_inferior.
14532
a911d87a
PA
145332016-01-13 Pedro Alves <palves@redhat.com>
14534
14535 PR breakpoints/19388
14536 * gdb.base/catch-signal-siginfo-cond.c: New file.
14537 * gdb.base/catch-signal-siginfo-cond.exp: New file.
14538
82075af2
JS
145392016-01-12 Josh Stone <jistone@redhat.com>
14540 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14541
14542 * gdb.base/catch-syscall.c (do_execve): New variable.
14543 (main): Conditionally trigger an execve.
14544 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
14545 (test_catch_syscall_execve): New, check entry/return across execve.
14546 (do_syscall_tests): Call test_catch_syscall_execve.
14547
e46eeedd
PA
145482016-01-12 Pedro Alves <palves@redhat.com>
14549
14550 * gdb.base/random-signal.exp (do_test): New procedure, with body
14551 of testcase moved in.
14552
01d8c27e
JK
145532016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14554 Pedro Alves <palves@redhat.com>
14555
14556 * gdb.base/funcargs.exp (finish from indirectly called function):
14557 Reintroduce the case for 'First'.
14558
9a706302
JK
145592016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14560 Pedro Alves <palves@redhat.com>
14561
14562 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14563 (tcatch_vfork_then_child_follow_exec)
14564 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
14565 identification.
14566
c0ecb95f
JK
145672016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14568
14569 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
14570 and repeats to unlimited.
14571 * gdb.python/py-value.exp: Likewise.
14572 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
14573 and repeats to unlimited.
14574
6cfc1fcb
JK
145752016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14576
14577 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
14578 and reordering the functions.
14579 * gdb.multi/hangout.c: Likewise.
14580 * gdb.multi/hello.c: Likewise.
14581
582a1b00
SM
145822016-01-08 Simon Marchi <simon.marchi@ericsson.com>
14583
14584 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
14585 absolute.
14586 (SingleStatisticTestResult.report): Use dict.keys instead of
14587 dict.iterkeys.
14588
79bc59cb
PA
145892016-01-06 Pedro Alves <palves@redhat.com>
14590
14591 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
14592
43368e1d
MM
145932016-01-04 Markus Metzger <markus.t.metzger@intel.com>
14594
14595 * gdb.btrace/dlopen.exp: New.
14596 * gdb.btrace/dlopen.c: New.
14597 * gdb.btrace/dlopen-dso.c: New.
14598
79fad5b8
SL
145992015-12-25 Sandra Loosemore <sandra@codesourcery.com>
14600
14601 * lib/gdb.exp (gdb_test): Update comments to clarify that the
14602 PATTERN argument is optional.
14603
ab8314b3
JB
146042015-12-24 Joel Brobecker <brobecker@adacore.com>
14605
14606 * lib/ada.exp (target_compile_ada_from_dir): New function.
14607 (gdb_compile_ada): Reimplement avoiding the use of project files.
14608 * gdb.ada/gnat_ada.gpr: Delete.
14609 * gdb.ada/cond_lang.exp: Adjust test to make path before
14610 filename optional.
14611 * gdb.ada/small_reg_param.exp: Likewise.
14612
fe33faff
SM
146132015-12-22 Simon Marchi <simon.marchi@ericsson.com>
14614
14615 * gdb.base/foll-vork.exp: Remove HP-UX special case.
14616
6d265cb4
TP
146172015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
14618
14619 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
14620 case.
14621
10125099
SM
146222015-12-21 Simon Marchi <simon.marchi@ericsson.com>
14623
14624 * gdb.base/break.exp: Remove dead code.
14625 * gdb.base/sepdebug.exp: Likewise.
14626
3ca22649
SM
146272015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14628
14629 * gdb.asm/asm-source.exp: Remove HP-UX references.
14630 * gdb.base/annota1.exp: Likewise.
14631 * gdb.base/annota3.exp: Likewise.
14632 * gdb.base/attach.exp: Likewise.
14633 * gdb.base/bigcore.exp: Likewise.
14634 * gdb.base/break.exp: Likewise.
14635 * gdb.base/call-ar-st.exp: Likewise.
14636 * gdb.base/callfuncs.exp: Likewise.
14637 * gdb.base/catch-fork-static.exp: Likewise.
14638 * gdb.base/display.exp: Likewise.
14639 * gdb.base/foll-exec-mode.exp: Likewise.
14640 * gdb.base/foll-exec.exp: Likewise.
14641 * gdb.base/foll-fork.exp: Likewise.
14642 * gdb.base/foll-vfork.exp: Likewise.
14643 * gdb.base/funcargs.exp: Likewise.
14644 * gdb.base/hbreak2.exp: Likewise.
14645 * gdb.base/inferior-died.exp: Likewise.
14646 * gdb.base/interrupt.exp: Likewise.
14647 * gdb.base/multi-forks.exp: Likewise.
14648 * gdb.base/nodebug.exp: Likewise.
14649 * gdb.base/sepdebug.exp: Likewise.
14650 * gdb.base/solib1.c: Likewise.
14651 * gdb.base/step-test.exp: Likewise.
14652 * gdb.mi/non-stop.c: Likewise.
14653 * gdb.mi/pthreads.c: Likewise.
14654 * gdb.multi/bkpt-multi-exec.ex: Likewise.
14655 * gdb.threads/pthreads.c: Likewise.
14656 * gdb.threads/staticthreads.exp: Likewise.
14657 * lib/future.exp: Likewise.
14658 * lib/gdb.exp: Likewise.
14659 * gdb.base/so-indr-cl.c: Remove.
14660 * gdb.base/so-indr-cl.exp: Likewise.
14661 * gdb.base/solib.c: Likewise.
14662 * gdb.base/solib.exp: Likewise.
14663 * gdb.base/solib2.c: Likewise.
14664
b6304613
SM
146652015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14666
14667 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
14668 * gdb.base/call-ar-st.exp: Likewise.
14669 * gdb.base/callfuncs.exp: Likewise.
14670 * gdb.base/condbreak.exp: Likewise.
14671 * gdb.base/constvars.exp: Likewise.
14672 * gdb.base/hbreak2.exp: Likewise.
14673 * gdb.base/langs.exp: Likewise.
14674 * gdb.base/list.exp: Likewise.
14675 * gdb.base/long_long.exp: Likewise.
14676 * gdb.base/ptype.exp: Likewise.
14677 * gdb.base/scope.exp: Likewise.
14678 * gdb.base/signals.exp: Likewise.
14679 * gdb.base/so-impl-ld.exp: Likewise.
14680 * gdb.base/varargs.exp: Likewise.
14681 * gdb.base/volatile.exp: Likewise.
14682 * gdb.base/whatis.exp: Likewise.
14683 * gdb.cp/cplusfuncs.exp: Likewise.
14684 * gdb.cp/inherit.exp: Likewise.
14685 * gdb.cp/local.exp: Likewise.
14686 * gdb.cp/member-ptr.exp: Likewise.
14687 * gdb.cp/method.exp: Likewise.
14688 * gdb.cp/overload.exp: Likewise.
14689 * gdb.cp/templates.exp: Likewise.
14690 * gdb.stabs/weird.exp: Likewise.
14691 * lib/compiler.c: Likewise.
14692 * lib/compiler.cc: Likewise.
14693 * lib/cp-support.exp: Likewise.
14694 * lib/gdb.exp: Likewise.
14695
bf401b07
SM
146962015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
14697
14698 * configure.ac: Remove HP-UX case.
14699 * configure: Regenerate.
14700
aff9c0f8
SM
147012015-12-18 Simon Marchi <simon.marchi@ericsson.com>
14702
14703 * lib/gdb.exp (gdb_compile): Add function doc.
14704
a6904d5a
PA
147052015-12-17 Pedro Alves <palves@redhat.com>
14706
14707 PR threads/19354
14708 * gdb.multi/info-threads.exp: New file.
14709
a22279dd
YQ
147102015-12-15 Yao Qi <yao.qi@linaro.org>
14711
14712 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
14713 is aarch64*-*-*.
14714
0588c796
SL
147152015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14716
14717 * gdb.base/history-duplicates.exp: Skip if no readline support.
14718
5d978e17
SL
147192015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14720
14721 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
14722
7e763b86
SL
147232015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14724
14725 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
14726
87a3a92c
SL
147272015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14728
14729 * gdb.base/completion.exp: Skip tests that interrupt GDB with
14730 ctrl-C if nointerrupts target property is set.
14731 * gdb.base/double-prompt-target-event-error.exp: Likewise.
14732 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
14733 * gdb.base/paginate-bg-execution.exp: Likewise.
14734 * gdb.base/paginate-execution-startup.exp: Likewise.
14735 * gdb.base/random-signal.exp: Likewise.
14736 * gdb.base/range-stepping.exp: Likewise.
14737 * gdb.cp/annota2.exp: Likewise.
14738 * gdb.cp/annota3.exp: Likewise.
14739 * gdb.gdb/selftest.exp: Likewise.
14740 * gdb.threads/continue-pending-status.exp: Likewise.
14741 * gdb.threads/leader-exit.exp: Likewise.
14742 * gdb.threads/manythreads.exp: Likewise.
14743 * gdb.threads/pthreads.exp: Likewise.
14744 * gdb.threads/schedlock.exp: Likewise.
14745 * gdb.threads/sigthread.exp: Likewise.
14746
a8f077dc
DB
147472015-12-11 Don Breazeal <donb@codesourcery.com>
14748
14749 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
14750 remote.
14751 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
14752 * gdb.base/foll-exec.exp (main): Enable for target remote.
14753 * gdb.base/foll-fork.exp (main): Likewise.
14754 * gdb.base/foll-vfork.exp (main): Likewise.
14755 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
14756 (proc continue_to_exit_bp_loc): Use clean_restart.
14757 * gdb.base/pie-execl.exp (main): Disable for target remote.
14758 * gdb.base/watch-vfork.exp (main): Enable for target remote.
14759 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
14760 * gdb.threads/execl.exp (main): Likewise.
14761 * gdb.threads/fork-child-threads.exp (main): Likewise.
14762 * gdb.threads/fork-plus-threads.exp (main): Disable for target
14763 remote.
14764 * gdb.threads/fork-thread-pending.exp (main): Enable for target
14765 remote.
14766 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
14767 pid.tid style ptids, instead of just tid.
14768 * gdb.threads/thread-execl.exp (main): Enable for target remote.
14769 * gdb.threads/watchpoint-fork.exp (main): Likewise.
14770 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
14771 ptids, instead of just tid.
14772
3b2464a8
AB
147732015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14774
14775 * gdb.base/list.exp (test_list_forward): Add end of file error
14776 test.
14777 (test_repeat_list_command): Add end of file error test.
14778 (test_list_backwards): Add beginning of file error test.
14779
a0def019
AB
147802015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14781
14782 * gdb.base/list.exp (test_list_invalid_args): New function,
14783 defined, and called.
14784
5c000dff
AB
147852015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14786
14787 * gdb.base/list.exp (test_list): Make test names unique.
14788
f1637ebe
YQ
147892015-12-11 Yao Qi <yao.qi@linaro.org>
14790
14791 * gdb.base/coremaker2.c: Remove.
14792
36d6fc0a
PA
147932015-12-10 Pedro Alves <palves@redhat.com>
14794
14795 * gdb.multi/base.exp: Remove stale "spaces" references.
14796
762f7747
PA
147972015-12-10 Pedro Alves <palves@redhat.com>
14798
14799 * gdb.multi/base.exp: Don't use nowarnings.
14800 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
14801 * gdb.multi/hangout.c: Include stdio.h.
14802 * gdb.multi/hello.c: Include stdlib.h.
14803 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
14804 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
14805 * gdb.multi/multi-arch.exp: Don't use nowarnings.
14806
28d2bfb9
AB
148072015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
14808
14809 * gdb.dwarf2/dw2-ranges-base.c: New file.
14810 * gdb.dwarf2/dw2-ranges-base.exp: New file.
14811 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
14812 support additional line table, and debug ranges generation.
14813 (Dwarf::ranges): New function, generate .debug_ranges.
14814 (Dwarf::lines): Support generating simple line table programs.
14815 (Dwarf::assemble): Initialise new namespace variables.
14816
5fc2beac
KB
148172015-12-09 Kevin Buettner <kevinb@redhat.com>
14818
14819 * gdb.base/async.exp (proc test_background): Add case for
14820 asynchronous execution not supported.
14821
1c35a88f
LM
148222015-12-09 Luis Machado <lgustavo@codesourcery.com>
14823
14824 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
14825 format and change test names to make them unique.
14826
b593e3d9
RK
148272015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
14828 Pedro Alves <pedro@redhat.com>
14829
14830 PR gdb/18702
14831 Add checking of floatformats setup on x86_64 hosts.
14832 * gdb.arch/i386-float.S (main): Load bigval and smallval.
14833 (smallval, bigval): New labels/constants.
14834 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
14835 float" after loading bigval and smallval.
14836
d72413e6
PMR
148372015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
14838
14839 * gdb.ada/fun_overload_menu.exp: New testcase.
14840 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
14841
ece66d65
JS
148422015-12-04 Josh Stone <jistone@redhat.com>
14843
14844 * gdb.base/catch-fork-static.exp: New.
14845
41d0efca
YQ
148462015-12-03 Yao Qi <yao.qi@linaro.org>
14847
14848 * gdb.base/sizeof.c: Don't include stdio.h and
14849 ../lib/unbuffer_output.c.
14850 (main): New variable 'size' and 'value'. Remove printf and
14851 gdb_unbuffer_output. Assign return value to size and value.
14852 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
14853 at the beginning.
14854 (check_sizeof): Check the result by printing variable 'size'.
14855 (check_valueof): Check the result by printing variable 'value'.
14856
99fd02d9
YQ
148572015-12-01 Yao Qi <yao.qi@linaro.org>
14858
14859 * gdb.base/disp-step-syscall.exp: Define syscall instruction
14860 for aarch64*-*-linux* target.
14861
f2faf941
PA
148622015-11-30 Pedro Alves <palves@redhat.com>
14863
14864 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
14865
04bf20c5
PA
148662015-11-30 Pedro Alves <palves@redhat.com>
14867
14868 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
14869 Handle non-stop mode vCont replies.
14870
09df4675
PA
148712015-11-30 Pedro Alves <palves@redhat.com>
14872
14873 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
14874 prepare_for_testing. Start gdb with "set non-stop on" appended to
14875 GDBFLAGS. Lax expected stop output.
14876
58b584af
YQ
148772015-11-27 Yao Qi <yao.qi@linaro.org>
14878
14879 * gdb.arch/arm-neon.exp: New.
14880 * gdb.arch/arm-neon.c: New.
14881
dfcb77a8
YQ
148822015-11-27 Yao Qi <yao.qi@linaro.org>
14883
14884 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
14885
88e8ec1b
YQ
148862015-11-27 Yao Qi <yao.qi@linaro.org>
14887
14888 * gdb.cp/annota2.exp: Allow multiple occurrences of the
14889 frames-invalid annotation.
14890
bfde72c2
YQ
148912015-11-27 Yao Qi <yao.qi@linaro.org>
14892
14893 * gdb.cp/annota2.exp: Use ${frames_invalid}.
14894
f6512a69
SM
148952015-11-26 Simon Marchi <simon.marchi@ericsson.com>
14896
14897 * gdb.threads/names.exp: New file.
14898 * gdb.threads/names.c: New file.
14899 * README: Mention gdb,no_thread_names.
14900
46a3515b
MM
149012015-11-26 Markus Metzger <markus.t.metzger@intel.com>
14902
14903 PR 19297
14904 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
14905 support" error.
14906
62147a22
PA
149072015-11-24 Pedro Alves <palves@redhat.com>
14908
14909 PR 17539
14910 * gdb.base/display.exp: Expect displays to be sorted in ascending
14911 order. Use multi_line.
14912 * gdb.base/solib-display.exp: Likewise.
14913
2f341b6e
PA
149142015-11-24 Pedro Alves <palves@redhat.com>
14915
14916 PR 17539
25d49b86
PA
14917 * gdb.base/display.exp: Expect displays to be sorted in ascending
14918 order. Use multi_line.
14919 * gdb.base/solib-display.exp: Likewise.
2f341b6e 14920
7e0aa6aa
PA
149212015-11-24 Pedro Alves <palves@redhat.com>
14922
14923 PR 17539
14924 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
14925 threads in ascending order.
14926 * gdb.base/foll-fork.exp: Likewise.
14927 * gdb.base/foll-vfork.exp: Likewise.
14928 * gdb.base/multi-forks.exp: Likewise.
14929 * gdb.mi/mi-nonstop.exp: Likewise.
14930 * gdb.mi/mi-nsintrall.exp: Likewise.
14931 * gdb.multi/base.exp: Likewise.
14932 * gdb.multi/multi-arch.exp: Likewise.
14933 * gdb.python/py-inferior.exp: Likewise.
14934 * gdb.threads/break-while-running.exp: Likewise.
14935 * gdb.threads/execl.exp: Likewise.
14936 * gdb.threads/gcore-thread.exp: Likewise.
14937 * gdb.threads/info-threads-cur-sal.exp: Likewise.
14938 * gdb.threads/kill.exp: Likewise.
14939 * gdb.threads/linux-dp.exp: Likewise.
14940 * gdb.threads/multiple-step-overs.exp: Likewise.
14941 * gdb.threads/next-bp-other-thread.exp: Likewise.
14942 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
14943 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
14944 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
14945 * gdb.threads/thread-find.exp: Likewise.
14946 * gdb.threads/tls.exp: Likewise.
14947 * lib/mi-support.exp (mi_reverse_list): Delete.
14948 (mi_check_thread_states): No longer reverse list.
14949
2cc57ad8
PA
149502015-11-24 Pedro Alves <palves@redhat.com>
14951
14952 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
14953 use lowercase.
14954
c93e8391
SM
149552015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14956
14957 * gdb.trace/actions.c: Include trace-common.h.
14958 (main): Add a location for a fast tracepoint.
14959 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
14960 the normal tracepoints.
14961 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
14962
045ccf91
SM
149632015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14964
14965 * save-trace.exp: Factor out code to these...
14966 (gdb_save_tracepoints): New.
14967 (gdb_load_tracepoints): New.
14968 (do_save_load_test): New.
14969
5506f9f6
KB
149702015-11-23 Kevin Buettner <kevinb@redhat.com>
14971
14972 * gdb.base/asmlabel.exp: New test.
14973 * gdb.base/asmlabel.c: New test case.
14974
16c3b12f
JB
149752015-11-23 Joel Brobecker <brobecker@adacore.com>
14976
14977 * gdb.base/wrong_frame_bt_full-main.c: New file.
14978 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
14979 * gdb.base/wrong_frame_bt_full.exp: New file.
14980
155bfbd3
JB
149812015-11-23 Joel Brobecker <brobecker@adacore.com>
14982
14983 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
14984
bb097445
JM
149852015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14986
206853a0 14987 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
14988 pstate register when comparing registers values in
14989 sparc64-*-linux-gnu targets to avoid spurious differences.
14990
9c88ed8f
JM
149912015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14992
206853a0 14993 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 14994
96161e25
SL
149952015-11-19 Sandra Loosemore <sandra@codesourcery.com>
14996
14997 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
14998 as type argument to gdb_compile.
14999 * gdb.base/nested-subp2.exp: Likewise.
15000 * gdb.base/nested-subp3.exp: Likewise.
15001
340c2830
DV
150022015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
15003
15004 * lib/dwarf.exp (_note): Fix left shift of negative value.
15005 * gdb.trace/trace-condition.exp: Likewise.
15006
c1862d0f
YQ
150072015-11-13 Yao Qi <yao.qi@linaro.org>
15008
15009 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
15010 comments about d10v.
15011 (test_scalar_returns): Likewise.
15012 * gdb.base/d10v.ld: Remove.
15013 * gdb.base/overlays.exp: Remove the target triplet checking for
15014 d10v-*-*.
15015 * gdb.base/structs.exp (test_struct_returns): Remove the
15016 comments about d10v.
15017 (test_struct_calls): Likewise.
15018
77ae9c19
YQ
150192015-11-13 Yao Qi <yao.qi@linaro.org>
15020
15021 * gdb.base/gnu_vector.exp: Check the return value by "p res".
15022 * gdb.base/gnu_vector.c: Don't include stdio.h.
15023 (main): Don't print res and call add_some_intvecs.
15024
430e004e
MK
150252015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
15026
15027 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
15028 macro.
15029 (func5): Removed.
15030 (func4): Use FAST_TRACEPOINT_LABEL.
15031 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
15032 macro.
15033 (func): Removed.
15034 (thread_function): Use FAST_TRACEPOINT_LABEL.
15035 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
15036 (func): Remove.
15037 (marker): Use FAST_TRACEPOINT_LABEL.
15038 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
15039 (pendfunc1): Remove.
15040 (pendfunc): Use FAST_TRACEPOINT_LABEL.
15041 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
15042 (foo): Remove.
15043 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
15044 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
15045 macro.
15046 (func): Remove.
15047 (marker): Use FAST_TRACEPOINT_LABEL.
15048 * gdb.trace/trace-common.h: New header.
15049 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
15050 macro.
15051 (func): Remove.
15052 (marker): Use FAST_TRACEPOINT_LABEL.
15053 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
15054 (func): Remove.
15055 (thread_function): Use FAST_TRACEPOINT_LABEL.
15056
6e7675a7
MK
150572015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
15058
15059 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
15060 in front.
15061 * gdb.trace/change-loc.exp: Use global pcreg definition.
15062 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
15063 * gdb.trace/entry-values.exp: Use global spreg definition, add $
15064 in front.
15065 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
15066 * gdb.trace/pending.exp: Likewise.
15067 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
15068 * gdb.trace/trace-break.exp: Likewise.
15069 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
15070 in front.
15071 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
15072 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
15073 in front.
15074 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
15075
dddc0e16
JB
150762015-11-09 Joel Brobecker <brobecker@adacore.com>
15077
15078 * gdb.ada/fin_fun_out: New testcase.
15079
c6f0b406
KB
150802015-11-07 Kevin Buettner <kevinb@redhat.com>
15081
15082 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
15083 value associated with DW_AT_byte_size.
15084 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
15085 constants for DW_AT_byte_size, DW_AT_lower_bound, and
15086 DW_AT_upper_bound.
15087
f01dcfd9
KB
150882015-11-07 Kevin Buettner <kevinb@redhat.com>
15089
15090 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
15091 (gdb_target_symbol_prefix_flags): Define in terms of _asm
15092 version.
15093 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
15094 gdb.dwarf2/dw2-canonicalize-type.exp,
15095 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
15096 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
15097 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
15098 provided by gdb_target_symbol_prefix_flags_asm.
15099 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
15100 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
15101 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
15102 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
15103 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
15104 macros where needed). Use this macro for symbols which require
15105 the prefix provided by SYMBOL_PREFIX.
15106
2223449a
KB
151072015-11-05 Kevin Buettner <kevinb@redhat.com>
15108
15109 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
15110 New procs.
15111 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
15112 representing expressions, of more than one list element.
15113 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
15114 to prepend linker symbol prefix to f.
15115 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
15116 table_1 and table_2.
15117 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
15118 Likewise, for f and g.
15119 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
15120 for ptr.
15121 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
15122 for main.
15123 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
15124 table_1_ptr and table_2_ptr.
15125
6f2f1a3a
JK
151262015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15127 Joel Brobecker <brobecker@adacore.com>
15128
15129 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
15130
566c56c9
MK
151312015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
15132
15133 * gdb.reverse/s390-mvcle.c: New test.
15134 * gdb.reverse/s390-mvcle.exp: New file.
15135 * lib/gdb.exp: Enable reverse tests on s390*-linux.
15136
d5f0636b
MK
151372015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15138
15139 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
15140
7ad8b86c
MK
151412015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15142
15143 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
15144 reaching marker2.
15145 * gdb.reverse/getresuid-reverse.exp: Likewise.
15146 * gdb.reverse/pipe-reverse.exp: Likewise.
15147 * gdb.reverse/readv-reverse.exp: Likewise.
15148 * gdb.reverse/recvmsg-reverse.exp: Likewise.
15149 * gdb.reverse/time-reverse.exp: Likewise.
15150 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
15151
4081c0f1
YQ
151522015-10-30 Yao Qi <yao.qi@linaro.org>
15153
15154 * gdb.threads/wp-replication.c (watch_count_done): Remove.
15155 (empty_cycle): Remove.
15156 (main): Don't call empty_cycle. Don't use watch_count_done.
15157 * gdb.threads/wp-replication.exp: Don't set breakpoint on
15158 empty_cycle. Rewrite the code counting HW watchpoints.
15159
452b4ba5
MK
151602015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
15161
15162 * gdb.reverse/fstatat-reverse.c: New test.
15163 * gdb.reverse/fstatat-reverse.exp: New file.
15164 * gdb.reverse/getresuid-reverse.c: New test.
15165 * gdb.reverse/getresuid-reverse.exp: New file.
15166 * gdb.reverse/pipe-reverse.c: New test.
15167 * gdb.reverse/pipe-reverse.exp: New file.
15168 * gdb.reverse/readv-reverse.c: New test.
15169 * gdb.reverse/readv-reverse.exp: New file.
15170 * gdb.reverse/recvmsg-reverse.c: New test.
15171 * gdb.reverse/recvmsg-reverse.exp: New file.
15172 * gdb.reverse/time-reverse.c: New test.
15173 * gdb.reverse/time-reverse.exp: New file.
15174 * gdb.reverse/waitpid-reverse.c: New test.
15175 * gdb.reverse/waitpid-reverse.exp: New file.
15176
5e2e7507
JK
151772015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15178
15179 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
15180
0fde2c53
DE
151812015-10-26 Doug Evans <dje@google.com>
15182
15183 PR symtab/17391
15184 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
15185 * gdb.dwarf2/bad-regnum.c: New file.
15186 * gdb.dwarf2/bad-regnum.exp: New file.
15187
1a70ae97
DE
151882015-10-26 Doug Evans <dje@google.com>
15189
15190 PR python/18938
15191 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
15192 file.
15193
27dc26ab
JK
151942015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15195
15196 * gdb.compile/compile.exp (compile code globalvar): Update expectation
15197 for a change by "Mention language in compile error message".
15198
bed91f4d
SM
151992015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
15200
15201 PR python/18073
15202 * gdb.python/py-type.c (C::a_method): New.
15203 (C::a_const_method): New.
15204 (C::a_static_method): New.
15205 (a_function): New.
15206 * gdb.python/py-type.exp (test_fields): Test getting fields
15207 from function and method.
15208
3f2f83dd
KB
152092015-10-21 Keven Boell <keven.boell@intel.com>
15210
15211 * gdb.fortran/vla-alloc-assoc.exp: New file.
15212 * gdb.fortran/vla-datatypes.exp: New file.
15213 * gdb.fortran/vla-datatypes.f90: New file.
15214 * gdb.fortran/vla-history.exp: New file.
15215 * gdb.fortran/vla-ptype-sub.exp: New file.
15216 * gdb.fortran/vla-ptype.exp: New file.
15217 * gdb.fortran/vla-sizeof.exp: New file.
15218 * gdb.fortran/vla-sub.f90: New file.
15219 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
15220 * gdb.fortran/vla-value-sub-finish.exp: New file.
15221 * gdb.fortran/vla-value-sub.exp: New file.
15222 * gdb.fortran/vla-value.exp: New file.
15223 * gdb.fortran/vla-ptr-info.exp: New file.
15224 * gdb.mi/mi-vla-fortran.exp: New file.
15225 * gdb.mi/vla.f90: New file.
15226
27145d50
SL
152272015-10-21 Sandra Loosemore <sandra@codesourcery.com>
15228
15229 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
15230 of hardwired timeout value.
15231
5f3ff4f8
JK
152322015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15233 Pedro Alves <palves@redhat.com>
15234
15235 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
15236 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
15237
bfd09d20
JS
152382015-10-19 Josh Stone <jistone@redhat.com>
15239
15240 * gdb.base/catch-syscall.c: Include <sched.h>.
15241 (unknown_syscall): New variable.
15242 (main): Trigger a vfork and an unknown syscall.
15243 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
15244 (unknown_syscall_number): Likewise.
15245 (check_call_to_syscall): Accept an optional syscall pattern.
15246 (check_return_from_syscall): Likewise.
15247 (check_continue): Likewise.
15248 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
15249 (test_catch_syscall_skipping_return): New test toggling off 'catch
15250 syscall' to step over the syscall return, then toggling back on.
15251 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
15252 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
15253 (do_syscall_tests): Call test_catch_syscall_without_args and
15254 test_catch_syscall_mid_vfork.
15255 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
15256 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
15257
b32b93c6
AS
152582015-10-19 Andrew Stubbs <ams@codesourcery.com>
15259
15260 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
15261 print g_vE): Add new pass patterns.
15262 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
15263 print various symbol names for vptr fields.
15264
9d622bda
AB
152652015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
15266
15267 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
15268 results.
15269
0fd8ac1c
YQ
152702015-10-12 Yao Qi <yao.qi@linaro.org>
15271
15272 * gdb.arch/disp-step-insn-reloc.exp: New test case.
15273
34240514
YQ
152742015-10-12 Yao Qi <yao.qi@linaro.org>
15275
15276 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
15277 is aarch64*-*-linux*.
15278
8240f442
YQ
152792015-10-12 Yao Qi <yao.qi@linaro.org>
15280
15281 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
15282 (can_relocate_bcond_true): ... it.
15283 (can_relocate_bcond_false): New function.
15284 (foo): Likewise.
15285 (can_relocate_bl): Likewise.
15286 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
15287 can_relocate_bl.
15288
2520f728
PMR
152892015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
15290
15291 * gdb.base/nested-addr.c: New file.
15292 * gdb.base/nested-addr.exp: New testcase.
15293
abcef95a
MM
152942015-10-09 Markus Metzger <markus.t.metzger@intel.com>
15295
15296 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
15297 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
15298 its output. Ignore the output of "record goto begin" and instead
15299 check that GDB is replaying.
15300
145e3ddb
PA
153012015-10-09 Pedro Alves <palves@redhat.com>
15302
15303 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
15304 (top level): Use it in the run with no args test.
15305
d5d8c4e1
IB
153062015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
15307
15308 * gdb.dlang/properties.exp: New file.
15309
06e635ef
SL
153102015-10-02 Sandra Loosemore <sandra@codesourcery.com>
15311
15312 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
15313 whether or not address 0x1000 is mapped on the target.
15314
e019fd1d
SM
153152015-09-30 Simon Marchi <simon.marchi@ericsson.com>
15316
15317 * gdb.python/py-type.exp: Do not run tests if binaries fail to
15318 build.
15319
77ba2a67
MM
153202015-09-30 Markus Metzger <markus.t.metzger@intel.com>
15321
15322 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
15323 instruction-history test.
15324
c60eb31f
DE
153252015-09-28 Doug Evans <dje@google.com>
15326
15327 * gdb.base/gcore.c (array_func): Add reference to static_array.
15328
9a3c8263
SM
153292015-09-25 Simon Marchi <simon.marchi@ericsson.com>
15330
15331 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
15332 source line.
15333
9720e656
SL
153342015-09-24 Sandra Loosemore <sandra@codesourcery.com>
15335
15336 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
15337 short or char as base type.
15338
938d3bf2
SL
153392015-09-23 Sandra Loosemore <sandra@codesourcery.com>
15340
15341 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
15342 to allow any size enum.
15343
e6c2c623
PMR
153442015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
15345
15346 * gdb.ada/array_ptr_renaming.exp: New testcase.
15347 * gdb.ada/array_ptr_renaming/foo.adb: New file.
15348 * gdb.ada/array_ptr_renaming/pack.ads: New file.
15349
06da0f77
PL
153502015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15351
15352 * gdb.trace/ftrace-lock.c: New file.
15353 * gdb.trace/ftrace-lock.exp: New file.
15354
4f51c22a
PL
153552015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15356
15357 * gdb.arch/insn-reloc.c: New file.
15358 * gdb.arch/ftrace-insn-reloc.exp: New file.
15359
7041adf4
PL
153602015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15361
15362 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
15363 instruction.
15364 * gdb.trace/pendshr1.c (pendfunc): Likewise.
15365 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
15366 * gdb.trace/range-stepping.c: Likewise.
15367 * gdb.trace/trace-break.c: Likewise.
15368 * gdb.trace/trace-mt.c (thread_function): Likewise.
15369 * gdb.trace/ftrace.c (marker): Likewise.
15370 * gdb.trace/trace-condition.c (marker): Likewise.
15371 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
15372 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
15373 is_aarch64_target.
15374
015d2e7e
DE
153752015-09-18 Doug Evans <xdje42@gmail.com>
15376
15377 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
15378 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
15379
26b188a2
SL
153802015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15381
15382 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
15383 the breakpoint.
15384
79dc332b
SL
153852015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15386
15387 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
15388 the pending breakpoint. Remove timeout override for "Run till
15389 MI pending breakpoint on pendfunc3 on thread 2" test.
15390
f57929f2
SL
153912015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15392
15393 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
15394 filename pattern.
15395
3f469b17
SL
153962015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15397
15398 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
15399 in breakpoint filename pattern.
15400
515b89b3
SL
154012015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15402
7800dbe4
SL
15403 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
15404
154052015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15406
515b89b3
SL
15407 * gdb.linespec/explicit.exp: Check for readline support for
15408 tab-completion tests. Fix obvious typo.
15409
d2939ba2
MM
154102015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15411
15412 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
15413 and replay.
15414
cbb55fa7
MM
154152015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15416
15417 * gdb.btrace/non-stop.c: New.
15418 * gdb.btrace/non-stop.exp: New.
15419
43691ca1
PL
154202015-09-17 Pierre Langlois <pierre.langlois@arm.com>
15421 Yao Qi <yao.qi@linaro.org>
15422
15423 * gdb.trace/trace-condition.c: New file.
15424 * gdb.trace/trace-condition.exp: New file.
15425
d78908cf
WW
154262015-09-16 Wei-cheng Wang <cole945@gmail.com>
15427
15428 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
15429 for testing bytecode compilation.
15430
1ed415e2
PA
154312015-09-16 Pedro Alves <palves@redhat.com>
15432 Sandra Loosemore <sandra@codesourcery.com>
15433
15434 * gdb.threads/non-stop-fair-events.c (timeout): New global.
15435 (SECONDS): Redefine.
15436 (main): Call pthread_kill and alarm early.
15437 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
15438 support.
15439 (test): If the target can't hardware step and doesn't support
15440 displaced stepping, increase the timeout.
15441
d136eff5
PA
154422015-09-16 Pedro Alves <palves@redhat.com>
15443
15444 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
15445 (enable_debug): New procedures.
15446 (test): Use them. Bail out if waiting for threads fails.
15447 (top level): Bail out if a test fails.
15448
991f019c
YQ
154492015-09-16 Yao Qi <yao.qi@linaro.org>
15450
15451 * gdb.asm/asm-source.exp: Set asm-arch for
15452 aarch64*-*-* target.
15453 * gdb.asm/aarch64.inc: New file.
15454
bfca584f
PMR
154552015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
15456
15457 * gdb.ada/array_of_variable_length.exp: New testcase.
15458 * gdb.ada/array_of_variable_length/foo.adb: New file.
15459 * gdb.ada/array_of_variable_length/pck.adb: New file.
15460 * gdb.ada/array_of_variable_length/pck.ads: New file.
15461
b326e587
DE
154622015-09-15 Doug Evans <dje@google.com>
15463
15464 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
15465 of function static local variable.
15466
5382cfab
PW
154672015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15468
15469 * gdb.threads/tls-so_extern.exp: New test file.
15470 * gdb.threads/tls-so_extern.c: New test file.
15471 * gdb.threads/tls-so_extern_main.c: New test file.
15472
141c5cc4
JK
154732015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15474
15475 * gdb.opt/solib-intra-step-lib.c: New file.
15476 * gdb.opt/solib-intra-step-main.c: New file.
15477 * gdb.opt/solib-intra-step.exp: New file.
15478
d15dcecd
PA
154792015-09-15 Pedro Alves <palves@redhat.com>
15480
15481 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
15482 gdb_continue_to_breakpoint instead of gdb_test_multiple.
15483
4c2f2a79
PA
154842015-09-14 Pedro Alves <palves@redhat.com>
15485
15486 * gdb.base/hook-stop-continue.c: Delete.
15487 * gdb.base/hook-stop-continue.exp: Delete.
15488 * gdb.base/hook-stop-frame.c: Delete.
15489 * gdb.base/hook-stop-frame.exp: Delete.
15490 * gdb.base/hook-stop.c: New file.
15491 * gdb.base/hook-stop.exp: New file.
15492
919e6dbe
PMR
154932015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
15494
15495 * gdb.ada/access_to_packed_array.exp: New testcase.
15496 * gdb.ada/access_to_packed_array/foo.adb: New file.
15497 * gdb.ada/access_to_packed_array/pack.adb: New file.
15498 * gdb.ada/access_to_packed_array/pack.ads: New file.
15499
157280a4
MM
155002015-09-14 Markus Metzger <markus.t.metzger@intel.com>
15501
15502 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
15503 buffer size test.
15504
2fd33e94
DB
155052015-09-11 Don Breazeal <donb@codesourcery.com>
15506
15507 * gdb.base/foll-exec.c: Add copyright header. Fix
15508 formatting issues.
15509 * gdb.base/foll-exec.exp (zap_session): Delete proc.
15510 (do_exec_tests): Use clean_restart in place of zap_session,
15511 and for test initialization. Fix formatting issues. Use
15512 fail in place of perror.
15513 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
15514 an expect statement to match an expression with output from
15515 the program under debug.
15516 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
15517 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
15518 * gdb.threads/non-ldr-exc-2.exp: Likewise.
15519 * gdb.threads/non-ldr-exc-3.exp: Likewise.
15520 * gdb.threads/non-ldr-exc-4.exp: Likewise.
15521
e70b6e8e
DE
155222015-09-09 Doug Evans <dje@google.com>
15523
15524 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
15525
7a551a51
DE
155262015-09-09 Doug Evans <dje@google.com>
15527
15528 * gdb.base/pie-execl.exp: Fix result test of build_executable.
15529
4c666f84
DE
155302015-09-09 Doug Evans <dje@google.com>
15531
15532 * gdb.base/savedregs.exp: Fix typo.
15533
243a9253
PA
155342015-09-09 Pedro Alves <palves@redhat.com>
15535
15536 * gdb.mi/mi-cli.exp: Add CLI finish tests.
15537
c0fa8fbd
SL
155382015-09-08 Sandra Loosemore <sandra@codesourcery.com>
15539
15540 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
15541 command actually switches threads. Give up on remaining
15542 tests if target fails to stop at breakpoint.
15543
cd7c1778
PMR
155442015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
15545
15546 * gdb.ada/funcall_char.exp: New testcase.
15547 * gdb.ada/funcall_char/foo.adb: New file.
15548
dc5c8746
PMR
155492015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
15550
15551 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
15552 expected outputs. Add two testcases for completing ambiguous
15553 functions.
15554 * gdb.ada/complete/aux_pck.adb: New file.
15555 * gdb.ada/complete/aux_pck.ads: New file.
15556 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
15557 Ambiguous_Func functions.
15558 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
15559 * gdb.ada/complete/pck.adb: Likewise.
15560
4e83a1e7
UW
155612015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
15562
15563 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
15564 failures to run the test program under GDB.
15565
8ce74153
LM
155662015-08-26 Luis Machado <lgustavo@codesourcery.com>
15567
15568 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
15569 to C.
15570
e9756d52
PP
155712015-08-26 Patrick Palka <patrick@parcs.ath.cx>
15572
15573 * gdb.base/run-after-attach.exp: New test file.
15574 * gdb.base/run-after-attach.c: New test file.
15575
8d37573b
DB
155762015-08-26 Don Breazeal <donb@codesourcery.com>
15577
15578 * gdb.base/foll-exec-2.c: New test program.
15579 * gdb.base/foll-exec-2.exp: New test.
15580
63e43d3a
PMR
155812015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
15582
15583 * gdb.base/nested-subp1.exp: New file.
15584 * gdb.base/nested-subp1.c: New file.
15585 * gdb.base/nested-subp2.exp: New file.
15586 * gdb.base/nested-subp2.c: New file.
15587 * gdb.base/nested-subp3.exp: New file.
15588 * gdb.base/nested-subp3.c: New file.
15589
3d40fbb5
PA
155902015-08-24 Pedro Alves <palves@redhat.com>
15591
15592 * gdb.server/connect-without-multi-process.c: New file.
15593 * gdb.server/connect-without-multi-process.exp: New file.
15594
4422ac93
LM
155952015-08-24 Luis Machado <lgustavo@codesourcery.com>
15596
15597 * gdb.opt/inline-markers.c: Make z int.
15598
91dddb86
LM
155992015-08-24 Luis Machado <lgustavo@codesourcery.com>
15600
15601 * gdb.opt/inline-markers.c: Make z volatile.
15602
a48847ee
LM
156032015-08-24 Luis Machado <lgustavo@codesourcery.com>
15604
15605 * gdb.opt/inline-bt.c: New volatile global z.
15606 * gdb.opt/inline-cmds.c: Likewise.
15607 * gdb.opt/inline-locals.c: Likewise.
15608 * gdb.opt/inline-markers.c: New extern global z.
15609 (marker): Use z.
15610 (inline_fn): Likewise.
15611
0ebbc52b
PA
156122015-08-24 Pedro Alves <palves@redhat.com>
15613
15614 * config/m32r-stub.exp: Remove file.
15615 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
15616 * gdb.base/call-rt-st.exp: Likewise.
15617 * gdb.base/call-strs.exp: Likewise.
15618 * gdb.base/default.exp: Remove references to h8300-*-hms and
15619 *-*-udi*.
15620 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
15621
77c365df
AA
156222015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15623
15624 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
15625 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
15626 and "return" use KFAIL when GDB can not read/write the vector
15627 return value.
15628
4313b8c0
GB
156292015-08-21 Gary Benson <gbenson@redhat.com>
15630
15631 * gdb.trace/pending.exp: Cope with remote transfer warnings.
15632
0e433b32
PA
156332015-08-20 Pedro Alves <palves@redhat.com>
15634
15635 * gdb.server/solib-list.exp: No longer expect an interior stop in
15636 non-stop mode.
15637
221e1a37
PA
156382015-08-20 Pedro Alves <palves@redhat.com>
15639
15640 * gdb.server/connect-stopped-target.c: New file.
15641 * gdb.server/connect-stopped-target.exp: New file.
15642
40e3ad0e
PA
156432015-08-20 Pedro Alves <palves@redhat.com>
15644
15645 * gdb.dwarf2/comp-unit-lang.exp: New file.
15646 * gdb.dwarf2/comp-unit-lang.c: New file.
15647
af39b327
PMR
156482015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
15649
15650 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
15651 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
15652
7d45c7c3 156532015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 15654
7d45c7c3
KB
15655 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
15656 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
15657
4d6cceb4
DE
156582015-08-18 Doug Evans <dje@google.com>
15659 Adrian Sendroiu <adrian.sendroiu@freescale.com>
15660
15661 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
15662 skip_python_tests. New arg prompt_regexp.
15663 (skip_python_tests): New function.
15664 * lib/mi-support.exp (mi_skip_python_tests): New function.
15665 * gdb.python/py-mi-objfile-gdb.py: New file.
15666 * gdb.python/py-mi-objfile.c: New file.
15667 * gdb.python/py-mi-objfile.exp: New file.
15668
ad89c2aa
KS
156692015-08-17 Keith Seitz <keiths@redhat.com>
15670
15671 * gdb.linespec/explicit.exp: Move strace test from here ...
15672 * gdb.trace/strace.exp: ... to here.
15673
e3ae3c43
PP
156742015-08-15 Patrick Palka <patrick@parcs.ath.cx>
15675
15676 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
15677 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
15678
604b2636
DE
156792015-08-14 Doug Evans <xdje42@gmail.com>
15680
15681 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
15682 inferior before selecting a new file.
15683
6ff0ba5f
DE
156842015-08-14 Doug Evans <xdje42@gmail.com>
15685
15686 * gdb.mi/mi-disassemble.exp: Update.
15687 * gdb.base/disasm-optim.S: New file.
15688 * gdb.base/disasm-optim.c: New file.
15689 * gdb.base/disasm-optim.h: New file.
15690 * gdb.base/disasm-optim.exp: New file.
15691
9ca98f92
KS
156922015-08-14 Keith Seitz <keiths@redhat.com>
15693
15694 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
15695 "evaluated-by".
15696
52bbc560
JB
156972015-08-13 Joel Brobecker <brobecker@adacore.com>
15698
15699 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
15700
5d8c3ed3
PMR
157012015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
15702
15703 * gdb.ada/fun_renaming.exp: New testcase.
15704 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
15705 * gdb.ada/fun_renaming/pack.adb: New file.
15706 * gdb.ada/fun_renaming/pack.ads: New file.
15707
ea8812bc
KS
157082015-08-12 Keith Seitz <keiths@redhat.com>
15709
15710 * gdb.base/dso2dso.exp: Pass basename of source file in call to
15711 gdb_get_line_number.
15712
4dafcdeb
JB
157132015-08-12 Joel Brobecker <brobecker@adacore.com>
15714
15715 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
15716 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
15717 gdb.base/dso2dso.exp: New files.
15718
5ba32597
SDJ
157192015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
15720 Pedro Alves <palves@redhat.com>
15721 Keith Seitz <keiths@redhat.com>
15722
15723 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
15724 GDBFLAGS.
15725
b6dafabf
PP
157262015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15727
15728 * gdb.base/gdbhistsize-history.exp
15729 (test_histsize_history_setting): Use save_vars.
15730 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15731 Use save_vars.
15732 (test_no_truncation_of_unlimited_history_file): Use save_vars.
15733 * gdb.base/readline.exp: Use save_vars.
15734
abe8e607
PP
157352015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15736
15737 * lib/gdb.exp (save_vars): New proc.
15738
629500fa
KS
157392015-08-11 Keith Seitz <keiths@redhat.com>
15740
15741 * gdb.base/help.exp: Update help_breakpoint_text.
15742
eb8c4e2e
KS
157432015-08-11 Keith Seitz <keiths@redhat.com>
15744
15745 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
15746 (at toplevel): Call test_explicit_breakpoints.
15747 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
15748 breakpoints.
15749 * lib/mi-support.exp (mi_make_breakpoint): Add support for
15750 breakpoint conditions, "-cond".
15751
87f0e720
KS
157522015-08-11 Keith Seitz <keiths@redhat.com>
15753
15754 * gdb.linespec/3explicit.c: New file.
15755 * gdb.linespec/cpexplicit.cc: New file.
15756 * gdb.linespec/cpexplicit.exp: New file.
15757 * gdb.linespec/explicit.c: New file.
15758 * gdb.linespec/explicit.exp: New file.
15759 * gdb.linespec/explicit2.c: New file.
15760 * gdb.linespec/ls-errs.exp: Add explicit location tests.
15761 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
15762 before using in the matching pattern.
15763 Clarify that `prefix' is a regular expression.
15764
f00aae0f
KS
157652015-08-11 Keith Seitz <keiths@redhat.com>
15766
15767 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
15768 test.
15769 Add tests for missing ",FMT" and ",".
15770
e27852be
DE
157712015-08-10 Doug Evans <dje@google.com>
15772 Keith Seitz <keiths@redhat.com>
15773
15774 PR gdb/17960
15775 * gdb.base/completion.exp: Add location completer tests.
15776
7f03bd92
PA
157772015-08-07 Pedro Alves <palves@redhat.com>
15778
15779 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
15780 tests here.
15781 (top level): Run do_test with and without displaced stepping.
15782
3fc8eb30
PA
157832015-08-07 Pedro Alves <palves@redhat.com>
15784
15785 * gdb.base/valgrind-disp-step.c: New file.
15786 * gdb.base/valgrind-disp-step.exp: New file.
15787
d4569d7b
PA
157882015-08-07 Pedro Alves <palves@redhat.com>
15789
15790 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
15791 Delete function.
15792 (main): Add alarm. Run an infinite loop instead of calling
15793 wait_threads.
15794 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
15795 comment.
15796 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
15797 Delete function.
15798 (main): Add alarm. Run an infinite loop instead of calling
15799 wait_threads.
15800 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
15801 comment.
15802
e1316e60
PA
158032015-08-07 Pedro Alves <palves@redhat.com>
15804
15805 * gdb.base/checkpoint-ns.exp: New file.
15806 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
15807 standard_testfile.
15808
da8c46d2
MM
158092015-08-07 Markus Metzger <markus.t.metzger@intel.com>
15810
15811 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
15812 * gdb.btrace/instruction_history.exp: Update.
15813 * gdb.btrace/tsx.exp: New.
15814 * gdb.btrace/tsx.c: New.
15815
de1c2c52
PA
158162015-08-06 Pedro Alves <palves@redhat.com>
15817
15818 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
15819 increase timeout.
15820 * gdb.reverse/until-precsave.exp: Bump timeouts.
15821
782e0bf4
PA
158222015-08-06 Pedro Alves <palves@redhat.com>
15823
15824 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
15825
83e97ed0
PA
158262015-08-06 Pedro Alves <palves@redhat.com>
15827
15828 PR gdb/18749
15829 * gdb.threads/process-dies-while-handling-bp.c: New file.
15830 * gdb.threads/process-dies-while-handling-bp.exp: New file.
15831
863d01bd
PA
158322015-08-06 Pedro Alves <palves@redhat.com>
15833
15834 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
15835 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
15836
0a39bb32
PA
158372015-08-05 Pedro Alves <palves@redhat.com>
15838
15839 * gdb.threads/next-while-other-thread-longjmps.c: New file.
15840 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
15841
ee2d2b10
SL
158422015-08-03 Sandra Loosemore <sandra@codesourcery.com>
15843
15844 * gdb.base/bp-permanent.exp: Report test as unsupported if
15845 the target cannot stop at the permanent breakpoint.
15846
4e1bdb00
DE
158472015-08-03 Doug Evans <dje@google.com>
15848
15849 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
15850 10000.
15851
3d338901
DE
158522015-08-03 Doug Evans <dje@google.com>
15853
15854 * Makefile.in (workers/%.worker, build-perf): New rule.
15855 (GDB_PERFTEST_MODE): New variable.
15856 (check-perf): Use it.
15857 (clean): Clean up gdb.perf parallel build subdirs.
15858 * lib/build-piece.exp: New file.
15859 * lib/gdb.exp (make_gdb_parallel_path): New function
15860 (standard_output_file, standard_temp_file): Call it.
15861 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15862 of $GDB_PARALLEL.
15863 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
15864
af061d3e
DE
158652015-08-03 Doug Evans <dje@google.com>
15866
8e1afc81 15867 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
15868 (LOG_FILE_NAME): New global.
15869 (TextReporter.__init__): Initialize self.txt_sum.
15870 (TextReporter.report): Add support for multiple data-points.
15871 Move report to perftest.sum, put raw data in perftest.log.
15872 (TextReporter.start): Open sum and log files.
15873 (TextReporter.end): Close sum and log files.
8e1afc81
DE
15874 * gdb.perf/lib/perftest/testresult.py
15875 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 15876
2c8c5d37
PA
158772015-07-31 Pedro Alves <palves@redhat.com>
15878
15879 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
15880 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15881 kill_wait_spawned_process instead of explicit "kill -9".
15882 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
15883 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15884 kill_wait_spawned_process.
15885 * gdb.base/attach-twice.exp: Likewise.
15886 * gdb.base/attach.exp: Likewise.
15887 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
15888 gdb_test_multiple.
15889 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
15890 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15891 kill_wait_spawned_process.
15892 * gdb.base/valgrind-infcall.exp: Likewise.
15893 * gdb.multi/multi-attach.exp: Likewise.
15894 * gdb.python/py-prompt.exp: Likewise.
15895 * gdb.python/py-sync-interp.exp: Likewise.
15896 * gdb.server/ext-attach.exp: Likewise.
15897 * gdb.threads/attach-into-signal.exp (corefunc): Use
15898 spawn_wait_for_attach, spawn_id_get_pid and
15899 kill_wait_spawned_process.
15900 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
15901 spawn_wait_for_attach returning a spawn id instead of a pid. Use
15902 spawn_id_get_pid and kill_wait_spawned_process.
15903 * gdb.threads/attach-stopped.exp (corefunc): Use
15904 spawn_wait_for_attach, spawn_id_get_pid and
15905 kill_wait_spawned_process.
15906 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
15907 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15908 kill_wait_spawned_process instead of explicit "kill -9".
15909 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
15910 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
15911 (spawn_wait_for_attach): Use spawn instead of exec to spawn
15912 processes. Don't map cygwin/windows pids here. Now returns a
15913 spawn id list.
15914
032a0fca
SL
159152015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15916
15917 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
15918 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
15919 correct patch.
15920
61a934ca
SL
159212015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15922
15923 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
15924
4bc4d428
SL
159252015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15926
15927 Reapply:
15928 2014-05-21 Mark Wielaard <mjw@redhat.com>
15929
15930 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15931
998d452a
PA
159322015-07-30 Pedro Alves <palves@redhat.com>
15933
15934 * linux-low.c (handle_extended_wait): Set the child's last
15935 reported status to TARGET_WAITKIND_STOPPED.
15936
69dde7dc
PA
159372015-07-30 Pedro Alves <palves@redhat.com>
15938
15939 PR threads/18600
15940 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
15941 only shows inferior 1.
15942
4dd63d48
PA
159432015-07-30 Simon Marchi <simon.marchi@ericsson.com>
15944 Pedro Alves <palves@redhat.com>
15945
15946 PR threads/18600
15947 * gdb.threads/fork-plus-threads.c: New file.
15948 * gdb.threads/fork-plus-threads.exp: New file.
15949
d618e4c5
PP
159502015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15951
15952 * gdb.base/batch-preserve-term-settings.exp
15953 (test_terminal_settings_preserved_after_cli_exit): Use
15954 send_quit_command.
15955
1eef6428
PA
159562015-07-29 Pedro Alves <palves@redhat.com>
15957 Don Breazeal <donb@codesourcery.com>
15958
15959 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
15960 output from both inferior_spawn_id and gdb_spawn_id.
15961
7da5b897
SDJ
159622015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15963
15964 * gdb.threads/attach-into-signal.exp (corefunc): Use
15965 with_test_prefix on nested loops, uniquefying the test messages.
15966
dac804df
SDJ
159672015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15968
15969 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
15970 commit.
15971
06265e53
PP
159722015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15973
15974 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
15975 New proc.
15976 (test_terminal_settings_preserved_after_sigterm): New test.
15977
18206ca3
PP
159782015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15979
15980 * gdb.base/batch-preserve-term-settings.exp
15981 (test_terminal_settings_preserved_after_cli_exit): New test.
15982
90074d11
PP
159832015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15984
15985 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
15986 manipulation of saved_gdbflags.
15987 (test_terminal_settings_preserved): Remove global declaration of
15988 the unused variable pagination_prompt. Remove manipulation of
15989 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
15990 GDBFLAGS.
15991
eb1a7902
PA
159922015-07-29 Pedro Alves <palves@redhat.com>
15993
15994 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
15995
8b75dd3b
PA
159962015-07-29 Pedro Alves <palves@redhat.com>
15997
15998 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
15999 at the top.
16000
dedad4e3
PA
160012015-07-29 Pedro Alves <palves@redhat.com>
16002
16003 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
16004 (main): Call gdb_unbuffer_output.
16005 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
16006 (main): Call gdb_unbuffer_output.
16007 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
16008 (main): Call gdb_unbuffer_output.
16009 * gdb.base/call-strs.exp: Adjust to step over the
16010 gdb_unbuffer_output call.
16011 * gdb.base/catch-gdb-caused-signals.c: Include
16012 "../lib/unbuffer_output.c".
16013 (main): Call gdb_unbuffer_output.
16014 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
16015 (main): Call gdb_unbuffer_output.
16016 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
16017 (main): Call gdb_unbuffer_output.
16018 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
16019 (main): Call gdb_unbuffer_output.
16020 * gdb.base/shlib-call.exp: Adjust to step over the
16021 gdb_unbuffer_output call.
16022 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
16023 (main): Call gdb_unbuffer_output.
16024 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
16025 (main): Call gdb_unbuffer_output.
16026 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
16027 (main): Rename to ...
16028 (test): ... this.
16029 (main): Reimplement.
16030 * gdb.base/varargs.exp: Run to test instead of to main.
16031 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16032 (main): Call gdb_unbuffer_output.
16033
58789a91
PA
160342015-07-29 Pedro Alves <palves@redhat.com>
16035
16036 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
16037 factore out from mi_continue_dprintf. For call-style dprintfs,
16038 expect dprintf output out of $inferior_spawn_id.
16039 (mi_continue_dprintf): Use mi_expect_dprintf.
16040 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16041 (main): Call gdb_unbuffer_output.
16042
e8376742
PA
160432015-07-29 Pedro Alves <palves@redhat.com>
16044
16045 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
16046 (default_mi_gdb_start): Set inferior_spawn_id instead of
16047 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
16048 gdb_spawn_id.
16049 (mi_gdb_test): Always expect inferior output from both
16050 $inferior_spawn_id and $gdb_spawn_id.
16051
08280010
PA
160522015-07-29 Pedro Alves <palves@redhat.com>
16053
16054 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
16055 send_inferior and $inferior_spawn_id.
16056
4d30e432
PA
160572015-07-29 Pedro Alves <palves@redhat.com>
16058
16059 * gdb.gdb/complaints.exp (test_initial_complaints)
16060 (test_serial_complaints, test_short_complaints): Use
16061 gdb_test_stdio.
16062 (test_empty_complaint): Handle $inferior_spawn_id !=
16063 $gdb_spawn_id.
16064
0d30a335
PA
160652015-07-29 Pedro Alves <palves@redhat.com>
16066
16067 * gdb.base/varargs.exp: Use gdb_test_stdio.
16068
39413b29
PA
160692015-07-29 Pedro Alves <palves@redhat.com>
16070
16071 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
16072
7cb000a9
PA
160732015-07-29 Pedro Alves <palves@redhat.com>
16074
16075 * gdb.base/ending-run.exp: Use gdb_test_stdio.
16076
d7b8ac82
PA
160772015-07-29 Pedro Alves <palves@redhat.com>
16078
16079 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
16080 parameter into two new parameters, "inf_result" and "gdb_result".
16081 Expect inferior output and gdb output from $inferior_spawn_id and
16082 $gdb_spawn_id, respectively. Adjust all callers.
16083
789c3a0c
PA
160842015-07-29 Pedro Alves <palves@redhat.com>
16085
16086 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
16087 of gdb_test_sequence.
16088
77e760c3
PA
160892015-07-29 Pedro Alves <palves@redhat.com>
16090
16091 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
16092 (saw_spurious_output): Expect inferior output from
16093 $inferior_spawn_id. Use gdb_test_stdio.
16094
8396d2cd
PA
160952015-07-29 Pedro Alves <palves@redhat.com>
16096
16097 * gdb.base/dprintf.exp: Use standard_testfile. Change
16098 prepare_for_testing call.
16099 (srcfile): Don't set.
16100 (restart): New procedure.
16101 (test_dprintf): New procecure, use to continue over dprintfs.
16102 (test_call, test_agent): New procedures, tests moved here.
16103 Restart gdb and recreate dprintfs. Adjust expected output.
16104
2051d61f
PA
161052015-07-29 Pedro Alves <palves@redhat.com>
16106
16107 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
16108
452397af
PA
161092015-07-29 Pedro Alves <palves@redhat.com>
16110
16111 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
16112
8aed9555
PA
161132015-07-29 Pedro Alves <palves@redhat.com>
16114
16115 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
16116 gdb_test_stdio.
16117
188a61b4
PA
161182015-07-29 Pedro Alves <palves@redhat.com>
16119
16120 * lib/gdb.exp (gdb_test_stdio): New procedure.
16121
12264a45
PA
161222015-07-29 Pedro Alves <palves@redhat.com>
16123
16124 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
16125
23ffc893
PA
161262015-07-29 Pedro Alves <palves@redhat.com>
16127
16128 * gdb.base/call-signal-resume.exp: Remove check for
16129 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
16130 * gdb.base/unwindonsignal.exp: Likewise.
16131 * gdb.base/call-signals.c (gen_signal): Remove printf call.
16132 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
16133
65566918
PA
161342015-07-29 Pedro Alves <palves@redhat.com>
16135
16136 * gdb.base/siginfo-addr.c (pass): New function.
16137 (handler): Call it iff si_addr is correct.
16138 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
16139 Set a breakpoint at "pass" and continue to it.
16140
d60a9221
SDJ
161412015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
16142
16143 * gdb.python/py-objfile.exp: Make some tests have unique names.
16144 * gdb.python/py-pp-registration.exp: Likewise.
16145
bde40b8f
PA
161462015-07-28 Pedro Alves <palves@redhat.com>
16147
16148 * gdb.server/server-exec-info.exp: Issue a "disconnect".
16149
13e1dec8
SM
161502015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16151
16152 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
16153
da33c9a7
SM
161542015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16155
16156 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
16157
077836f7
PP
161582015-07-27 Patrick Palka <patrick@parcs.ath.cx>
16159
16160 * gdb.base/gdb-sigterm-2.exp: New test.
16161
b8cc7b2e
DE
161622015-07-25 Doug Evans <xdje42@gmail.com>
16163
16164 Revert:
16165 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16166 (workers/%.worker, build-perf): New rule.
16167 (GDB_PERFTEST_MODE): New variable.
16168 (check-perf): Use it.
16169 (clean): Clean up gdb.perf parallel build subdirs.
16170 * lib/build-piece.exp: New file.
16171 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16172 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16173 name.
16174 (standard_temp_file): Ditto.
16175 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16176 of $GDB_PARALLEL.
16177
c8bd4544
DE
161782015-07-24 Doug Evans <dje@google.com>
16179
16180 * gdb.perf/lib/perftest/utils.py: New file.
16181 * gdb.perf/gm-hello.cc: New file.
16182 * gdb.perf/gm-pervasive-typedef.cc: New file.
16183 * gdb.perf/gm-pervasive-typedef.h: New file.
16184 * gdb.perf/gm-std.cc: New file.
16185 * gdb.perf/gm-std.h: New file.
16186 * gdb.perf/gm-use-cerr.cc: New file.
16187 * gdb.perf/gm-utils.h: New file.
16188 * gdb.perf/gmonster-null-lookup.py: New file.
16189 * gdb.perf/gmonster-pervasive-typedef.py: New file.
16190 * gdb.perf/gmonster-print-cerr.py: New file.
16191 * gdb.perf/gmonster-ptype-string.py: New file.
16192 * gdb.perf/gmonster-runto-main.py: New file.
16193 * gdb.perf/gmonster-select-file.py: New file.
16194 * gdb.perf/gmonster1-null-lookup.exp: New file.
16195 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
16196 * gdb.perf/gmonster1-print-cerr.exp: New file.
16197 * gdb.perf/gmonster1-ptype-string.exp: New file.
16198 * gdb.perf/gmonster1-runto-main.exp: New file.
16199 * gdb.perf/gmonster1-select-file.exp: New file.
16200 * gdb.perf/gmonster1.cc: New file.
16201 * gdb.perf/gmonster1.exp: New file.
16202 * gdb.perf/gmonster2-null-lookup.exp: New file.
16203 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
16204 * gdb.perf/gmonster2-print-cerr.exp: New file.
16205 * gdb.perf/gmonster2-ptype-string.exp: New file.
16206 * gdb.perf/gmonster2-runto-main.exp: New file.
16207 * gdb.perf/gmonster2-select-file.exp: New file.
16208 * gdb.perf/gmonster2.cc: New file.
16209 * gdb.perf/gmonster2.exp: New file.
16210
6eab34f3
DE
162112015-07-24 Doug Evans <dje@google.com>
16212
16213 * gdb.perf/README: New file.
16214 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
16215 * lib/gen-perf-test.exp: New file.
16216
63738bfd
DE
162172015-07-24 Doug Evans <dje@google.com>
16218
16219 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
16220 (PerfTest::startup): New function.
16221 (PerfTest::run): Return result of calling body.
16222 (PerfTest::assemble): Rewrite.
16223 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
16224 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
16225 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
16226 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
16227 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
16228
7b606f95
DE
162292015-07-24 Doug Evans <dje@google.com>
16230
16231 * lib/gdb.exp (clean_restart): Make executable optional.
16232
a97b16b8
DE
162332015-07-24 Doug Evans <dje@google.com>
16234
16235 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
16236 compiler_info references.
16237 * gdb.cp/temargs.exp: Ditto.
16238 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
16239 (get_compiler_info): Early exit if already computed. Set compiler_info
16240 to "unknown" if there was a problem.
16241 (test_compiler_info): Add function comment. Call get_compiler_info.
16242
35baa57f
DE
162432015-07-24 Doug Evans <dje@google.com>
16244
16245 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16246 (workers/%.worker, build-perf): New rule.
16247 (GDB_PERFTEST_MODE): New variable.
16248 (check-perf): Use it.
16249 (clean): Clean up gdb.perf parallel build subdirs.
16250 * lib/build-piece.exp: New file.
16251 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16252 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16253 name.
16254 (standard_temp_file): Ditto.
16255 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16256 of $GDB_PARALLEL.
16257
6ebea266
DE
162582015-07-24 Doug Evans <dje@google.com>
16259
16260 * lib/future.exp (gdb_default_target_compile): New option
16261 "early_flags".
16262 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
16263 --as-needed.
16264
1e76a7e9
SDJ
162652015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
16266
16267 * gdb.base/catch-syscall.exp: Call gdb_exit before
16268 gdb_skip_xml_test.
16269
5068630a
PA
162702015-07-24 Pedro Alves <palves@redhat.com>
16271
16272 * gdb.python/py-events.exp: Accept output between the stop event
16273 and the prompt.
16274 * gdb.python/py-evsignal.exp: Likewise.
16275 * gdb.python/py-evthreads.exp: Likewise.
16276
77598427
PA
162772015-07-24 Pedro Alves <palves@redhat.com>
16278
16279 PR gdb/18717
16280 * gdb.threads/non-ldr-exit.c: New file.
16281 * gdb.threads/non-ldr-exit.exp: New file.
16282
11e6c98f
YQ
162832015-07-24 Yao Qi <yao.qi@linaro.org>
16284
16285 * gdb.server/ext-wrapper.exp: Test --wrapper option when
16286 restarting process.
16287
51aee833
YQ
162882015-07-24 Yao Qi <yao.qi@linaro.org>
16289
16290 * gdb.server/ext-restart.exp: New file.
16291
8cfe207c
YQ
162922015-07-24 Yao Qi <yao.qi@linaro.org>
16293
16294 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
16295 argument options.
16296 * gdb.server/ext-wrapper.exp: New file.
16297
cc12ce38
DE
162982015-07-23 Doug Evans <dje@google.com>
16299
16300 * gdb.dwarf2/dw2-dummy-cu.S: New file.
16301 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
16302
d0d84780
PMR
163032015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
16304
16305 * gdb.ada/var_arr_typedef.exp: New testcase.
16306 * gdb.ada/var_arr_typedef/pack.adb: New file.
16307 * gdb.ada/var_arr_typedef/pack.ads: New file.
16308 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
16309
8b558f79
JB
163102015-07-20 Joel Brobecker <brobecker@adacore.com>
16311
16312 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
16313
775a3298
JK
163142015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16315
16316 * gdb.arch/i386-biarch-core.exp: Replace istarget
16317 by "complete set gnutarget". Remove expectation for the "core-file"
16318 command.
16319
db1ff28b
JK
163202015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16321
16322 Revert the previous commit:
16323 Tests for validate symbol file using build-id.
16324
0a94970d
JK
163252015-07-15 Aleksandar Ristovski <aristovski@qnx.com
16326
16327 Tests for validate symbol file using build-id.
16328 * gdb.base/solib-mismatch-lib.c: New file.
16329 * gdb.base/solib-mismatch-libmod.c: New file.
16330 * gdb.base/solib-mismatch.c: New file.
16331 * gdb.base/solib-mismatch.exp: New file.
16332
03346981
SL
163332015-07-15 Sandra Loosemore <sandra@codesourcery.com>
16334
16335 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
16336 nios2-*-linux*.
16337 * gdb.base/sigbpt.exp (stepi_out): Likewise.
16338 * gdb.base/siginfo.exp: Likewise.
16339 * gdb.base/sigstep.exp (advance, advancei): Likewise.
16340
42422cc7
PL
163412015-07-15 Pierre Langlois <pierre.langlois@arm.com>
16342
16343 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
16344 Move it to ...
16345 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
16346 ... here.
16347 * gdb.trace/range-stepping.exp: Check that the target supports
16348 range stepping.
16349
cfa68bae
JK
163502015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16351
16352 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
16353
8ffdba26
PA
163542015-07-14 Pedro Alves <palves@redhat.com>
16355
16356 * gdb.base/killed-outside.exp: New file.
16357 * gdb.base/killed-outside.c: New file.
16358
218a5a11
JK
163592015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16360
16361 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
16362 (n at main): New.
16363 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
16364
e03ed3c6
AA
163652015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16366
16367 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
16368 infcall tests instead of setting up for KFAIL.
16369
485668e5
MM
163702015-07-10 Markus Metzger <markus.t.metzger@intel.com>
16371
16372 * gdb.btrace/record_goto-step.exp: New.
16373
08464196
JK
163742015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16375
16376 PR compile/18484
16377 * gdb.compile/compile.c (struct struct_type): Add volatile to
16378 selffield's type.
16379 * gdb.compile/compile.exp
16380 (compile code struct_object.selffield = &struct_object): Skip further
16381 struct_object tests if this one xfails.
16382
bcf5c1d9
RC
163832015-07-08 Robert O'Callahan <robert@ocallahan.org>
16384
16385 PR exp/18617
16386 * gdb.trace/ax.exp: Add test.
16387
4931af25
YQ
163882015-07-07 Yao Qi <yao.qi@linaro.org>
16389
16390 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
16391 instead of istarget "aarch64*-*-*".
16392 * gdb.arch/aarch64-fp.exp: Likewise.
16393 * gdb.base/float.exp: Likewise.
16394 * gdb.reverse/aarch64.exp: Likewise.
16395 * lib/gdb.exp (is_aarch64_target): New proc.
16396
9fcf688e
YQ
163972015-07-07 Yao Qi <yao.qi@linaro.org>
16398
16399 * lib/gdb.exp (is_aarch32_target): New proc.
16400 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
16401 instead of "istarget "arm*-*-*"".
16402 * gdb.arch/arm-disp-step.exp: Likewise.
16403 * gdb.arch/thumb-bx-pc.exp: Likewise.
16404 * gdb.arch/thumb-prologue.exp: Likewise.
16405 * gdb.arch/thumb-singlestep.exp: Likewise.
16406 * gdb.base/disp-step-syscall.exp: Likewise.
16407 * gdb.base/float.exp: Likewise.
16408
fbd8d50d
YQ
164092015-07-07 Yao Qi <yao.qi@linaro.org>
16410
16411 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
16412 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
16413
71be1fdc
YQ
164142015-07-07 Yao Qi <yao.qi@linaro.org>
16415
16416 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
16417 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
16418 if it exists.
16419 * gdb.multi/multi-arch.exp: Likewise.
16420
3e221d36
SM
164212015-07-07 Simon Marchi <simon.marchi@ericsson.com>
16422
16423 * gdb.python/py-lazy-string.exp: Add missing parentheses to
16424 print.
16425
d441430b
YQ
164262015-07-07 Yao Qi <yao.qi@linaro.org>
16427
16428 * gdb.arch/thumb-singlestep.exp: Do one more single step.
16429
06f810bd
MG
164302015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
16431
16432 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
16433 '[' and ']' characters.
16434
5e61e7c0
IB
164352015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
16436
16437 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16438
28bf096c
PA
164392015-06-29 Pedro Alves <palves@redhat.com>
16440
16441 PR threads/18127
16442 * gdb.threads/hand-call-new-thread.c: New file.
16443 * gdb.threads/hand-call-new-thread.c: New file.
16444
ee93cd5e
KS
164452015-06-26 Keith Seitz <keiths@redhat.com>
16446 Doug Evans <dje@google.com>
16447
16448 PR 16253
16449 * gdb.cp/var-tag-2.cc: New file.
16450 * gdb.cp/var-tag-3.cc: New file.
16451 * gdb.cp/var-tag-4.cc: New file.
16452 * gdb.cp/var-tag.cc: New file.
16453 * gdb.cp/var-tag.exp: New file.
16454
fc637f04
PP
164552015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16456
16457 * gdb.base/history-duplicates.exp: New test.
16458
2e52ae68
PP
164592015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16460
16461 * gdb.base/completion.exp: Test the completion of the "focus"
16462 command.
16463
6e22494e
JK
164642015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16465
16466 * gdb.arch/amd64-prologue-skip.S: New file.
16467 * gdb.arch/amd64-prologue-skip.exp: New file.
16468
bf7b9cd9
SM
164692015-06-25 Simon Marchi <simon.marchi@ericsson.com>
16470
16471 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
16472 is_address_zero_readable check.
16473
201e8dfd
PB
164742015-06-24 Peter Bergner <bergner@vnet.ibm.com>
16475
16476 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
16477 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
16478
5cd867b4
YQ
164792015-06-24 Yao Qi <yao.qi@linaro.org>
16480
16481 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
16482 linux targets.
16483
4d7be007
YQ
164842015-06-24 Yao Qi <yao.qi@linaro.org>
16485
16486 * lib/gdb.exp (supports_get_siginfo_type): New proc.
16487 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
16488 * gdb.base/siginfo-thread.exp: Likewise.
16489
07fcd301
YQ
164902015-06-22 Yao Qi <yao.qi@linaro.org>
16491
16492 * boards/remote-gdbserver-on-localhost.exp: Add comments.
16493
52042a00
YQ
164942015-06-22 Yao Qi <yao.qi@linaro.org>
16495
16496 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
16497 aarch64*-*-*.
16498 (skip_hw_watchpoint_tests): Likewise.
16499
74bd41ce
PP
165002015-06-18 Patrick Palka <patrick@parcs.ath.cx>
16501
16502 * gdb.base/gdbinit-history.exp: Test the interaction between
16503 setting GDBHISTSIZE and setting the history size via .gdbinit.
16504
bc460514
PP
165052015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16506
16507 PR gdb/16999
16508 * gdb.base/gdbhistsize-history.exp: New test.
16509
b58c513b
PP
165102015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16511
16512 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
16513 with GDBHISTSIZE.
16514 * gdb.base/readline.exp: Likewise.
16515
92046791
YQ
165162015-06-17 Yao Qi <yao.qi@linaro.org>
16517
16518 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
16519 line.
16520
2093d2d3
PP
165212015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16522
16523 * gdb.base/gdbinit-history.exp: Add test case to check that
16524 an unlimited history file does not get truncated on exit.
16525
e6c693af
AA
165262015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16527
16528 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
16529 (VECTOR): New macro. Use it...
16530 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
16531 ...for these typedefs.
16532 (int8, char1, int1, double1): New typedefs.
16533 (struct just_int2, struct two_int2): New structures.
16534 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
16535 (add_structvecs, add_singlevecs): New functions.
16536 (main): Call add_some_intvecs twice.
16537 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
16538 the compile and exit upon failure. Try compiling for the "native"
16539 architecture. Test inferior function calls with vector arguments
16540 and vector return value handling with "finish" and "return".
16541
c74f7d1c
JT
165422015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
16543
16544 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
16545 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
16546 PE file.
16547 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
16548
98aa42ee
AT
165492015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16550
16551 PR breakpoints/16465
16552 * gdb.mi/mi-dprintf-pending.c: New file.
16553 * gdb.mi/mi-dprintf-pending.exp: New test.
16554 * gdb.mi/mi-dprintf-pendshr.c: New file.
16555
7d73c23c 165562015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 16557 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
16558
16559 * gdb.arch/i386-mpx-map.c: New file.
16560 * gdb.arch/i386-mpx-map.exp: New File.
16561
165622015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16563
16564 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
16565 * gdb.arch/i386-mpx.exp: Indentation fixed.
16566
165672015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16568
16569 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
16570 function and improved indentation.
16571 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
16572 gdb_test_multiple. Added additional tests to skip the test.
16573
165742015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16575
16576 * gdb.arch/i386-avx512.c: Change path in include file.
16577 * gdb.arch/i386-avx512.exp: Change include dir path
16578 compilation flag.
16579 * gdb.arch/i386-mpx.c: Change path in include file.
16580 * gdb.arch/i386-mpx.exp: Change include dir path compilation
16581 flag.
16582
d5eba19a
JK
165832015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16584
16585 * gdb.compile/compile-print.exp (compile print *vararray@3)
16586 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
16587
7f361056
JK
165882015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16589
16590 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
16591 (do not keep jit in memory): ... this.
16592 (expect 5): Change it to ...
16593 (expect no 5): ... this.
16594
3b462ec2
SM
165952015-06-02 Simon Marchi <simon.marchi@ericsson.com>
16596
16597 PR gdb/15564
16598 * gdb.mi/mi-detach.exp: New file.
16599
e0619de6
JK
166002015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16601
16602 PR symtab/18392
16603 * gdb.arch/amd64-tailcall-self.S: New file.
16604 * gdb.arch/amd64-tailcall-self.c: New file.
16605 * gdb.arch/amd64-tailcall-self.exp: New file.
16606
e970cb34
DB
166072015-05-28 Don Breazeal <donb@codesourcery.com>
16608
16609 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
16610 tests for remote targets by checking is_target_gdbserver.
16611
b2e2f908
DE
166122015-05-27 Doug Evans <dje@google.com>
16613
16614 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
16615 * gdb.dwarf2/opaque-type-lookup.c: New file.
16616 * gdb.dwarf2/opaque-type-lookup.exp: New file.
16617
82c7be31
DE
166182015-05-26 Doug Evans <dje@google.com>
16619
16620 * gdb.cp/iostream.cc: New file.
16621 * gdb.cp/iostream.exp: New file.
16622
b4f54984
DE
166232015-05-26 Doug Evans <dje@google.com>
16624
16625 * gdb.dwarf2/dw2-op-call.exp: Update.
16626 * gdb.dwarf2/dw4-sig-types.exp: Update.
16627 * gdb.dwarf2/implptr.exp: Update.
16628 * gdb.mi/mi-cmd-param-changed.exp: Update.
16629
4ea6efe9
DE
166302015-05-26 Doug Evans <dje@google.com>
16631
16632 * gdb.python/py-lazy-string.c: New file.
16633 * gdb.python/py-lazy-string.exp: New file.
16634 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
16635 (main): Update. Add estring3.
16636 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
16637 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
16638
f6bb7db3
YQ
166392015-05-26 Omair Javaid <omair.javaid@linaro.org>
16640 Yao Qi <yao.qi@linaro.org>
16641
16642 * gdb.reverse/aarch64.c: New.
16643 * gdb.reverse/aarch64.exp: New.
16644
a81bfbd0
OJ
166452015-05-26 Omair Javaid <omair.javaid@linaro.org>
16646
25d49b86
PA
16647 * lib/gdb.exp (supports_process_record): Return true for
16648 aarch64*-linux*.
a81bfbd0
OJ
16649 (supports_reverse): Likewise.
16650
158bf1b4
PP
166512015-05-22 Patrick Palka <patrick@parcs.ath.cx>
16652
16653 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16654 Use with_test_prefix.
16655
a0145030
AB
166562015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
16657
16658 * gdb.base/completion.exp: Add test for completion of layout
16659 names.
16660
ebe3b578
AB
166612015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
16662
16663 * lib/gdb.exp (skip_tui_tests): New proc.
16664 * gdb.base/tui-layout.exp: Check skip_tui_tests.
16665
84204ed7
PA
166662015-05-19 Pedro Alves <palves@redhat.com>
16667
16668 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16669 Save the whole env array instead of just HOME. Unset HISTSIZE in
16670 the environment while testing. Restore whole environment
16671 afterwards.
16672
37442ce1
DE
166732015-05-16 Doug Evans <xdje42@gmail.com>
16674
16675 * gdb.guile/scm-ports.c: New file.
16676 * gdb.guile/scm-ports.exp: Add memory port tests.
16677
36de76f9
JK
166782015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16679
16680 * gdb.compile/compile-print.c: New file.
16681 * gdb.compile/compile-print.exp: New file.
16682
3a9558c4
JK
166832015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16684
16685 * gdb.compile/compile-ops.exp: Cast param to void.
16686 * gdb.compile/compile.exp: Complete type for _gdb_expr.
16687 (compile code struct_object.selffield = &struct_object): Add xfail.
16688
aa715135
JG
166892015-05-15 Joel Brobecker <brobecker@adacore.com>
16690
16691 * gdb.ada/arr_enum_with_gap: New testcase.
16692
931e5bc3
JG
166932015-05-15 Joel Brobecker <brobecker@adacore.com>
16694
16695 * gdb.ada/byte_packed_arr: New testcase.
16696
9cd4d857
JB
166972015-05-15 Joel Brobecker <brobecker@adacore.com>
16698
16699 * gdb.ada/pckd_neg: New testcase.
16700
ebfd00d2
PP
167012015-05-13 Patrick Palka <patrick@parcs.ath.cx>
16702
16703 PR gdb/17820
16704 * gdb.base/gdbinit-history.exp: New test.
16705 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
16706 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
16707
4c082a81
SC
167082015-05-09 Siva Chandra Reddy <sivachandra@google.com>
16709
16710 * gdb.python/py-xmethods.cc: Enhance test case.
16711 * gdb.python/py-xmethods.exp: New tests.
16712 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
16713 function.
16714 (B_indexoper): Likewise.
16715 (global_dm_list) : Add new xmethod worker functions.
16716
f7797074
SDJ
167172015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
16718
16719 * gdb.base/coredump-filter.exp: Correctly unset
16720 "coredump_var_addr" array.
16721
a4674e4e
PA
167222015-05-08 Pedro Alves <palves@redhat.com>
16723
16724 * gdb.server/non-existing-program.exp: Unset spawn_id.
16725
df2eb078
SC
167262015-05-08 Siva Chandra Reddy <sivachandra@google.com>
16727
16728 PR python/18291
16729 * gdb.python/py-xmethods.exp: Add tests.
16730
422349a3
YQ
167312015-05-08 Yao Qi <yao.qi@linaro.org>
16732
16733 PR gdb/18208
16734 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
16735 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
16736 function set_coredump_filter, and remove remote_exec call.
16737 Remove argument ipid. Callers update.
16738 (top level): Don't get inferior's PID.
16739
63fc80ce
AA
167402015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
16741
16742 * gdb.base/watch_thread_num.exp: Skip test on targets without
16743 access watchpoints.
16744
80ad801e
PA
167452015-05-06 Pedro Alves <palves@redhat.com>
16746
16747 PR server/18081
16748 * gdb.server/non-existing-program.exp: New file.
16749
0fa7fe50
JB
167502015-05-05 Joel Brobecker <brobecker@adacore.com>
16751
16752 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
16753
3ea89b92
PMR
167542015-05-05 Joel Brobecker <brobecker@adacore.com>
16755
16756 * gdb.ada/out_of_line_in_inlined: New testcase.
16757
87b8eff0
JB
167582015-05-05 Joel Brobecker <brobecker@adacore.com>
16759
16760 * gdb.ada/var_rec_arr: New testcase.
16761
5fccc635
YQ
167622015-04-30 Yao Qi <yao.qi@linaro.org>
16763
16764 * gdb.base/break-idempotent.exp: If
16765 skip_hw_watchpoint_multi_tests returns true, skip the tests
16766 on "rwatch" and "awatch".
16767
42d38f42
YQ
167682015-04-30 Yao Qi <yao.qi@linaro.org>
16769
16770 * gdb.base/relativedebug.exp: Invoke gdb command
16771 "info sharedlibrary", and if libc.so doesn't have debug info,
16772 skip the test.
16773
2ce1cdbf
DE
167742015-04-29 Doug Evans <dje@google.com>
16775
16776 * gdb.python/py-xmethods.exp: Add ptype tests.
16777 * gdb.python/py-xmethods.py (E_method_char_worker): Add
16778 get_result_type method.
16779
f24a38c5
LM
167802015-04-29 Luis Machado <lgustavo@codesourcery.com>
16781
16782 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
16783 the target does not support hardware watchpoints.
16784
ecbf2b3c
LM
167852015-04-29 Luis Machado <lgustavo@codesourcery.com>
16786
16787 * gdb.base/break-always.exp: Abort testing if writing to memory
16788 causes an error.
16789
34f5f757
DE
167902015-04-28 Doug Evans <dje@google.com>
16791
16792 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
16793 * gdb.python/py-pp-registration.exp: ... here. New file.
16794 * gdb.python/py-pp-registration.c: New file.
16795 * gdb.python/py-pp-registration.py: New file.
16796
69b4374a
DE
167972015-04-28 Doug Evans <dje@google.com>
16798
16799 * gdb.python/py-bad-printers.c: New file.
16800 * gdb.python/py-bad-printers.py: New file.
16801 * gdb.python/py-bad-printers.exp: New file.
16802
59fb7612
SS
168032015-04-28 Sasha Smundak <asmundak@google.com>
16804
16805 * gdb.python/py-type.exp: New test.
16806
2631b16a
AW
168072015-04-28 Andy Wingo <wingo@igalia.com>
16808
16809 * gdb.python/py-parameter.exp:
16810 * gdb.guile/scm-parameter.exp: Escape the path that we are
16811 matching against, as it might contain characters that are special
16812 to regular expressions.
16813
460efde1
JB
168142015-04-27 Joel Brobecker <brobecker@adacore.com>
16815
16816 * gdb.ada/rec_comp: New testcase.
16817
2d369d8e
SDJ
168182015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
16819
16820 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
16821 before using it.
16822
cf75d6c3
AB
168232015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
16824
16825 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
16826 new tests for verilog output.
16827
8dbe7ca5
YQ
168282015-04-24 Yao Qi <yao.qi@linaro.org>
16829
16830 * boards/remote-gdbserver-on-localhost.exp: New file.
16831
4ef9fb2f
PA
168322015-04-23 Pedro Alves <palves@redhat.com>
16833
16834 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
16835 $inferior_spawn_id instead of $inferior_spawn_id directly. On
16836 "end of file", remove $inferior_spawn_id from the indirect list.
16837
0a803169
PA
168382015-04-23 Pedro Alves <palves@redhat.com>
16839
16840 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
16841
749ef8f8
PA
168422015-04-23 Pedro Alves <palves@redhat.com>
16843
16844 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
16845 on $any_spawn_id instead of only on $gdb_spawn_id.
16846
8aae4344
PM
168472015-04-21 Pierre Muller <muller@sourceware.org>
16848
16849 PR pascal/17815
16850 * lib/pascal.exp (gpc_compile): Add new option "class".
16851 (fpc_compile): Likewise.
16852 * gdb.pascal/case-insensitive-symbols.pas: New file.
16853 * gdb.pascal/case-insensitive-symbols.exp: New file.
16854
1586c8fb
GB
168552015-04-20 Gary Benson <gbenson@redhat.com>
16856
16857 * gdb.base/attach.exp: Fix three extended remote failures.
16858
1b6e6f5c
GB
168592015-04-17 Gary Benson <gbenson@redhat.com>
16860
16861 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
16862 the main executable over the remote protocol.
16863
e797481d
PA
168642015-04-16 Pedro Alves <palves@redhat.com>
16865
16866 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
16867 a new gdbserver if gdbserver_reconnect_p is set.
16868
1ca99c42
PA
168692015-04-16 Pedro Alves <palves@redhat.com>
16870
16871 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
16872 is set, don't exit gdbserver.
16873
af9fd6f8
AA
168742015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16875
16876 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
16877 appropriate .insn, such that an older assembler can be used.
16878 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
16879 the z/Architecture instruction set on 31-bit targets as well.
16880
04ff1e61
AA
168812015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16882
16883 * gdb.go/handcall.exp: Remove all logic related to the first
16884 breakpoint and rely on go_runto_main instead.
16885 * gdb.go/strings.exp: Likewise.
16886 * gdb.go/unsafe.exp: Likewise.
16887 * gdb.go/hello.exp: Likewise. Also rename the remaining
16888 breakpoint marker to "breakpoint 1".
16889 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
16890 * gdb.go/strings.go: Likewise.
16891 * gdb.go/unsafe.go: Likewise.
16892 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
16893 "set breakpoint 2 here" and rename the remaining breakpoint marker
16894 to "breakpoint 1".
16895
40d2f8d6
SM
168962015-04-15 Simon Marchi <simon.marchi@ericsson.com>
16897
16898 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
16899 if itertools.imap is not present.
16900 * gdb.python/py-objfile.exp: Add parentheses.
16901 * gdb.python/py-type.exp: Same.
16902 * gdb.python/py-unwind-maint.py: Same.
16903
8cbc97c6
YQ
169042015-04-15 Yao Qi <yao.qi@linaro.org>
16905
16906 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
16907 of ":$ptr_size" and set its form explicitly.
16908
45fd756c
YQ
169092015-04-15 Pedro Alves <palves@redhat.com>
16910 Yao Qi <yao.qi@linaro.org>
16911
16912 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
16913 timeout by factor of 4.
16914 (test_regular_watch): Likewise.
16915 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
16916 * gdb.reverse/sigall-reverse.exp: Likewise.
16917 * gdb.reverse/until-precsave.exp: Likewise.
16918 * lib/gdb.exp (with_timeout_factor): New proc.
16919 (gdb_expect): Move some code to ...
16920 (get_largest_timeout): ... here. New procedure.
16921
9e811bc3
LM
169222015-04-14 Luis Machado <lgustavo@codesourcery.com>
16923
16924 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
16925
0ff6fcb2
LM
169262015-04-13 Luis Machado <lgustavo@codesourcery.com>
16927
16928 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
16929 to write to the .text section.
16930
7578d5f7
LM
169312015-04-13 Luis Machado <lgustavo@codesourcery.com>
16932
16933 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
16934 Handle the case of targets that do not provide PID information.
16935
2efe15c4
YQ
169362015-04-13 Yao Qi <yao.qi@linaro.org>
16937
16938 * lib/gdbserver-support.exp (gdb_exit): Catch exception
16939 and use expect instead of gdb_expect.
16940
8cd8f2f8
SDJ
169412015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
16942
16943 * gdb.base/coredump-filter.exp: Rename variable "addr" to
16944 "coredump_var_addr" to avoid naming conflict with other testcases.
16945
9ee41772
PA
169462015-04-10 Pedro Alves <palves@redhat.com>
16947
16948 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
16949 gdb_test_sequence and gdb_assert.
16950
07473109
PA
169512015-04-10 Pedro Alves <palves@redhat.com>
16952
16953 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
16954 test messages that don't include the breakpoint address.
16955
de3db44c
YQ
169562015-04-10 Yao Qi <yao.qi@linaro.org>
16957
16958 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
16959 false for some offset and width combinations which aren't
16960 supported by linux kernel.
16961
c79d856c
PA
169622015-04-10 Pedro Alves <palves@redhat.com>
16963
16964 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
16965 procedure, factored out from ...
16966 (top level): ... here. Add "set displaced-stepping" testing axis.
16967 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
16968 parameter "displaced". Use it.
16969 (top level): Use foreach and add "set displaced-stepping" testing
16970 axis.
16971
ebc90b50
PA
169722015-04-10 Pedro Alves <palves@redhat.com>
16973
16974 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
16975 Remove comment.
16976 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
16977 both the address of the instruction that triggers the watchpoint
16978 and the address of the instruction immediately after, and use
16979 those addresses for the test. Fix comment.
16980
8f572e5c
PA
169812015-04-10 Pedro Alves <palves@redhat.com>
16982
16983 * gdb.base/sigstep.exp (breakpoint_to_handler)
16984 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
16985 Test "backtrace" in handler.
16986 (breakpoint_over_handler): New parameter 'displaced'. Use it.
16987 (top level): Add new "displaced" test axis to
16988 breakpoint_to_handler, breakpoint_to_handler_entry and
16989 breakpoint_over_handler.
16990
8d707a12
PA
169912015-04-10 Pedro Alves <palves@redhat.com>
16992
16993 PR gdb/18216
16994 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
16995
ef713951
YQ
169962015-04-10 Yao Qi <yao.qi@linaro.org>
16997
16998 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
16999 (test_add_rn_pc): New function.
17000 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
17001 (top level): Invoke test_add_rn_pc.
17002
906d60cf
PA
170032015-04-10 Pedro Alves <palves@redhat.com>
17004
17005 PR gdb/13858
17006 * gdb.base/step-over-no-symbols.exp: New file.
17007
f2983cc3
AW
170082015-04-09 Andy Wingo <wingo@igalia.com>
17009
17010 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
17011 after the Python tests.
17012
6d62641c
SDJ
170132015-04-08 Keith Seitz <keiths@redhat.com>
17014
17015 PR python/16699
17016 * gdb.python/py-completion.exp: New tests for completion.
17017 * gdb.python/py-completion.py (CompleteLimit1): New class.
17018 (CompleteLimit2): Likewise.
17019 (CompleteLimit3): Likewise.
17020 (CompleteLimit4): Likewise.
17021 (CompleteLimit5): Likewise.
17022 (CompleteLimit6): Likewise.
17023 (CompleteLimit7): Likewise.
17024
f3770638
PA
170252015-04-08 Pedro Alves <palves@redhat.com>
17026
17027 PR gdb/18214
17028 PR gdb/18216
17029 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
17030 function.
17031 (main): Install it as SIGUSR1 handler.
17032 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
17033 parameter. Always use "setup" as prefix. Toggle "set
17034 displaced-stepping" off/on depending on global. Don't switch to
17035 thread 1 here.
17036 (top level): Add displaced stepping "off/on" test axis. Update
17037 "setup" calls. Wrap each subtest with with_test_prefix. Test
17038 continuing with a queued signal in each thread.
17039
4496bed7
PA
170402015-04-08 Pedro Alves <palves@redhat.com>
17041
17042 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
17043 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
17044 gdb_breakpoint instead of gdb_test that doesn't expect anything.
17045 Return early if running to main fails.
17046 * gdb.trace/while-stepping.exp: Likewise.
17047
b97fde92
PA
170482015-04-07 Pedro Alves <palves@redhat.com>
17049
17050 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
17051 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
17052 interact with inferior program.
17053
f71c18e7
PA
170542015-04-07 Pedro Alves <palves@redhat.com>
17055
17056 * lib/gdb.exp (inferior_spawn_id): New global.
17057 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
17058 spawn id after processing the user code.
17059 (default_gdb_start): Set inferior_spawn_id.
17060 (send_inferior): New procedure.
17061 * lib/gdbserver-support.exp (gdbserver_start): Set
17062 inferior_spawn_id.
17063 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
17064
6423214f
PA
170652015-04-07 Pedro Alves <palves@redhat.com>
17066
17067 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
17068 * lib/gdbserver-support.exp (gdbserver_start): Make
17069 $server_spawn_id global.
17070 (gdbserver_start): Don't wait for gdbserver's spawn id with
17071 expect_background.
17072 (close_gdbserver): New procedure.
17073 (gdb_exit): Rename the default version and reimplement.
17074
71c0ee8c
PA
170752015-04-07 Pedro Alves <palves@redhat.com>
17076
72f4393d 17077 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
17078 append the substituted item, not the original item.
17079
203bc29b
PA
170802015-04-07 Pedro Alves <palves@redhat.com>
17081
17082 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
17083 gdb_expect.
17084
508a3ddf
PA
170852015-04-07 Pedro Alves <palves@redhat.com>
17086
17087 * gdb.base/interrupt.exp: Don't handle the case of the inferior
17088 output appearing once only.
17089
9f6dbe2b
PA
170902015-04-07 Pedro Alves <palves@redhat.com>
17091
17092 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
17093 that doesn't expect anything. Return early if running to main
17094 fails.
17095
337532fa
YQ
170962015-04-07 Yao Qi <yao.qi@linaro.org>
17097
17098 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
17099 (child_function): Call alarm.
17100 (main): Move call to alarm into the loop.
17101 * gdb.threads/non-stop-fair-events.exp: Build program with
17102 -DTIMEOUT=$timeout.
17103
01b622d4
DE
171042015-04-06 Doug Evans <xdje42@gmail.com>
17105
17106 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
17107 Fix dest parameter to board_info.
17108 (fpc_compile): Ditto.
17109 (gdb_compile_pascal): Rename dest arg to destfile.
17110
961f4160
PMR
171112015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
17112
17113 * gdb.ada/funcall_ref.exp: New file.
17114 * gdb.ada/funcall_ref/foo.adb: New file.
17115
cafda597
YQ
171162015-04-02 Yao Qi <yao.qi@linaro.org>
17117
17118 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
17119 is remote.
17120
fed040c6
GB
171212015-04-02 Gary Benson <gbenson@redhat.com>
17122
17123 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
17124
d11916aa
SS
171252015-04-01 Sasha Smundak <asmundak@google.com>
17126
17127 * gdb.python/py-unwind-maint.c: New file.
17128 * gdb.python/py-unwind-maint.exp: New test.
17129 * gdb.python/py-unwind-maint.py: New file.
17130 * gdb.python/py-unwind.c: New file.
17131 * gdb.python/py-unwind.exp: New test.
17132 * gdb.python/py-unwind.py: New test.
17133
a1471180
PA
171342015-04-01 Pedro Alves <palves@redhat.com>
17135
17136 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
17137 to fail instead of non-existent $test.
17138
0bbeccb1
PA
171392015-04-01 Pedro Alves <palves@redhat.com>
17140
17141 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
17142 GDBFLAGS if not empty.
17143
3c724c8c
PMR
171442015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
17145
17146 * gdb.ada/complete.exp: Remove "multi_line".
17147 * gdb.ada/info_exc.exp: Remove "multi_line".
17148 * gdb.ada/packed_tagged.exp: Remove "multi_line".
17149 * gdb.ada/ptype_field.exp: Remove "multi_line".
17150 * gdb.ada/sym_print_name.exp: Remove "multi_line".
17151 * gdb.ada/tagged.exp: Remove "multi_line".
17152 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
17153 [multi_line ...]
17154 * gdb.btrace/delta.exp: Likewise.
17155 * gdb.btrace/exception.exp: Likewise.
17156 * gdb.btrace/function_call_history.exp: Likewise.
17157 * gdb.btrace/instruction_history.exp: Likewise.
17158 * gdb.btrace/nohist.exp: Likewise.
17159 * gdb.btrace/record_goto.exp: Likewise.
17160 * gdb.btrace/segv.exp: Likewise.
17161 * gdb.btrace/stepi.exp: Likewise.
17162 * gdb.btrace/tailcall.exp: Likewise.
17163 * gdb.btrace/unknown_functions.exp: Likewise.
17164 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
17165 * lib/gdb.exp: Add the "multi_line" helper.
17166
4eec2deb
PA
171672015-04-01 Pedro Alves <palves@redhat.com>
17168
17169 * gdb.threads/tid-reuse.c: New file.
17170 * gdb.threads/tid-reuse.exp: New file.
17171
df8411da
SDJ
171722015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
17173
17174 PR corefiles/16092
17175 * gdb.base/coredump-filter.c: New file.
17176 * gdb.base/coredump-filter.exp: Likewise.
17177
6ef37366
PM
171782015-03-27 Petr Machata <pmachata@redhat.com>
17179
17180 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
17181 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
17182 (Dwarf::assemble): Initialize them.
17183 (Dwarf::lines): New function.
17184
7ec911b0
JT
171852015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
17186
17187 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
17188 SYMBOL_PREFIX for x86_64-*-cygwin.
17189
ff908ebf
AW
171902015-03-26 Andy Wingo <wingo@igalia.com>
17191
17192 PR symtab/18148
17193 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
17194 const_value but not a location.
17195 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
17196 location defined in non-main CUs are visible.
17197
6d5f0679
YQ
171982015-03-26 Yao Qi <yao.qi@linaro.org>
17199
17200 PR testsuite/18139
17201 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
17202 Add a line number entry for the same line.
17203 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
17204 Add a line number entry for the same line.
17205
2898689b
YQ
172062015-03-26 Yao Qi <yao.qi@linaro.org>
17207
17208 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
17209 .int 0.
17210 (func): Likewise. Add .Lfunc_1 label.
17211 Use .Lfunc_1 label.
17212 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
17213 .int 0.
17214 (func): Likewise.
17215 Use .Lfunc_1 label.
17216
85180498
YQ
172172015-03-26 Yao Qi <yao.qi@linaro.org>
17218
17219 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
17220 Call gdb_compile instead to compile each .s files without debug
17221 information.
17222
8aa08a8d
YQ
172232015-03-26 Yao Qi <yao.qi@linaro.org>
17224
17225 * gdb.base/savedregs.exp (process_saved_regs): Make
17226 "Saved registers:" optional in the pattern.
17227
66849923
MM
172282015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17229
17230 * gdb.btrace/next.exp: Merged into step.exp.
17231 * gdb.btrace/finish.exp: Merged into step.exp.
17232 * gdb.btrace/nexti.exp: Merged into stepi.exp.
17233 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
17234 "record goto" and checking the exact replay position.
17235 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
17236 check for "Recording format" in "info record" output.
17237 * gdb.btrace/record_goto.exp: Choose test file based on target.
17238 * gdb.btrace/x86-record_goto.S: Renamed into ...
17239 * gdb.btrace/x86_64-record_goto.S: ... this.
17240 * gdb.btrace/i686-record_goto.S: New.
17241 * gdb.btrace/x86-tailcall.S: Renamed into ...
17242 * gdb.btrace/x86_64-tailcall.S: ... this.
17243 * gdb.btrace/i686-tailcall.S: New.
17244 * gdb.btrace/x86-tailcall.c: Renamed into ...
17245 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
17246 separate statements. Update test.
17247 * gdb.btrace/delta.exp: Use record_goto.c as test file.
17248 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
17249 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
17250 * gdb.btrace/tailcall.exp: Choose test file based on target.
17251 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
17252
11cc1b74
MM
172532015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17254
17255 * gdb.btrace/exception.exp: Increase BTS buffer size.
17256
a25d8bf9
PA
172572015-03-24 Pedro Alves <palves@redhat.com>
17258
17259 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
17260
856e7dd6
PA
172612015-03-24 Pedro Alves <palves@redhat.com>
17262
17263 * gdb.threads/schedlock.exp (test_step): No longer expect that
17264 "set scheduler-locking step" with "next" over a function call runs
17265 threads unlocked.
17266
ad235a41
AT
172672015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17268
17269 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
17270
15630549
AT
172712015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17272
17273 PR breakpoints/16466
17274 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
17275 * gdb.mi/mi-pending.c (thread_func): New function.
17276 (int main): Add threading support required.
17277 * gdb.mi/mi-pending.exp: Add tests for this issue.
17278 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
17279 (pendfunc2): Remove stdio dependency.
17280 * gdb.mi/mi-pendshr2.c: New file.
17281
693dca06
KS
172822015-03-23 Keith Seitz <keiths@redhat.com>
17283
17284 * gdb.linespec/keywords.c: New file.
17285 * gdb.linespec/keywords.exp: New file.
17286
7e993ebf
KS
172872015-03-23 Keith Seitz <keiths@redhat.com>
17288
17289 PR gdb/18021
17290 * gdb.dwarf2/staticvirtual.exp: New test.
17291
bc23328c
JK
172922015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17293
17294 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
17295 * README: Remove HP-UX and gdb.hp.
17296 (configuration):
17297 * configure: Regenerate.
17298 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
17299 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
17300 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
17301 gdb.hp/gdb.defects/Makefile.
17302 * gdb.hp/Makefile.in: File deleted.
17303 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
17304 * gdb.hp/gdb.aCC/optimize.c: File deleted.
17305 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
17306 * gdb.hp/gdb.aCC/run.c: File deleted.
17307 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
17308 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
17309 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
17310 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
17311 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
17312 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
17313 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
17314 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
17315 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
17316 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
17317 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
17318 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
17319 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
17320 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
17321 * gdb.hp/gdb.base-hp/reg.s: File deleted.
17322 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
17323 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
17324 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
17325 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
17326 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
17327 * gdb.hp/gdb.compat/Makefile.in: File deleted.
17328 * gdb.hp/gdb.compat/average.c: File deleted.
17329 * gdb.hp/gdb.compat/sum.c: File deleted.
17330 * gdb.hp/gdb.compat/xdb.c: File deleted.
17331 * gdb.hp/gdb.compat/xdb0.c: File deleted.
17332 * gdb.hp/gdb.compat/xdb0.h: File deleted.
17333 * gdb.hp/gdb.compat/xdb1.c: File deleted.
17334 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
17335 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
17336 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
17337 * gdb.hp/gdb.defects/Makefile.in: File deleted.
17338 * gdb.hp/gdb.defects/bs14602.c: File deleted.
17339 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
17340 * gdb.hp/gdb.defects/solib-d.c: File deleted.
17341 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
17342 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
17343 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
17344 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
17345 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
17346 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
17347 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
17348 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
17349 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
17350 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
17351 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
17352 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
17353 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
17354 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
17355 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
17356 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
17357 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
17358 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
17359 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
17360 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
17361 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
17362 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
17363 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
17364 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
17365 * gdb.hp/tools/odump: File deleted.
17366
8bf3b159
PA
173672015-03-19 Pedro Alves <palves@redhat.com>
17368
17369 * gdb.threads/continue-pending-status.exp (saw_thread_2)
17370 (saw_thread_3): New globals.
17371 (top level): Increment them when an event for the corresponding
17372 thread is seen.
17373 (no thread starvation): New test.
17374
eb54c8bf
PA
173752015-03-19 Pedro Alves <palves@redhat.com>
17376
17377 * gdb.threads/continue-pending-status.c: New file.
17378 * gdb.threads/continue-pending-status.exp: New file.
17379
32d2e5d6
PA
173802015-03-18 Pedro Alves <palves@redhat.com>
17381
17382 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
17383 Use gdb_is_target_remote instead of is_remote. Use
17384 gdb_test_multiple instead of gdb_expect. Exit early if
17385 gdb_test_multiple hits its internal matches. Tighten stepi tests
17386 expected output. Fail on exit with any signal, instead of just
17387 SIGILL.
17388
f68f11b7
YQ
173892015-03-18 Yao Qi <yao.qi@linaro.org>
17390
17391 PR tdep/18107
17392 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
17393 variable.
17394 * gdb.base/catch-syscall.exp: Don't skip it on
17395 aarch64*-*-linux* target. Remove elements in all_syscalls.
17396 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
17397 target.
17398 (setup_all_syscalls): New proc.
17399
ca5fd19b
YQ
174002015-03-16 Yao Qi <yao.qi@linaro.org>
17401
17402 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
17403 (top level): Skip tests if valid_addr_p returns false for
17404 $cmd1 or $cmd2.
17405
85642ba0
AW
174062015-03-11 Andy Wingo <wingo@igalia.com>
17407
17408 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
17409
e03f9645
YQ
174102015-03-11 Yao Qi <yao.qi@linaro.org>
17411
17412 * gdb.base/catch-syscall.exp: Fix typo in comments.
17413
5d0962b2
YQ
174142015-03-11 Yao Qi <yao.qi@linaro.org>
17415
17416 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
17417
b2df3cef
PA
174182015-03-09 Pedro Alves <palves@redhat.com>
17419
17420 * dg-extract-results.py: Delete.
17421
ef878e53
PA
174222015-03-09 Pedro Alves <palves@redhat.com>
17423
17424 Merge dg-extract-results.sh from GCC upstream (r218843).
17425
17426 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
17427 * dg-extract-results.sh: Use --text with grep to avoid issues with
17428 binary files. Fall back to cat -v, if that doesn't work.
17429
9494d219
PA
174302015-03-05 Pedro Alves <palves@redhat.com>
17431
17432 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
17433
a8d9763a
SM
174342015-03-04 Simon Marchi <simon.marchi@ericsson.com>
17435
17436 * lib/mi-support.exp (mi_expect_interrupt): Accept
17437 alternative event for when in all-stop mode.
17438
be9957b8
PA
174392015-03-04 Pedro Alves <palves@redhat.com>
17440
17441 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
17442
d57be0f4 174432015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
17444
17445 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
17446
c214c7cf
AA
174472015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17448
17449 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
17450 regexps for GDB's current line display, accept a hex address
17451 preceding the line number.
17452
6d74a497
AA
174532015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17454
17455 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
17456 the 'arch1' variable for "s390*-linux*" targets.
17457
511aee7c
PA
174582015-03-04 Pedro Alves <palves@redhat.com>
17459
17460 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
17461 (main): Pass missing retval argument to pthread_join call.
17462
95e50b27
PA
174632015-03-02 Pedro Alves <palves@redhat.com>
17464
17465 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
17466 (top level): Call do_test with non-stop as well.
17467
28054d69
PA
174682015-03-02 Pedro Alves <palves@redhat.com>
17469
17470 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
17471 -1.
17472
4fa5d7b4
AA
174732015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17474
17475 * gdb.arch/s390-vregs.exp: New test.
17476 * gdb.arch/s390-vregs.S: New file.
17477
97c18565
PA
174782015-02-27 Pedro Alves <palves@redhat.com>
17479
17480 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
17481 call to catch_command_errors.
17482 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
17483 catch_command_errors.
17484
a37bfa30
PA
174852015-02-27 Pedro Alves <palves@redhat.com>
17486
17487 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
17488 "true" for boolean result.
17489 * gdb.gdb/selftest.exp (test_with_self): Also accept full
17490 prototype of main.
17491
6f98576f
PA
174922015-02-27 Pedro Alves <palves@redhat.com>
17493
17494 * lib/unbuffer_output.c: New file.
17495 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
17496 (main): Call gdb_unbuffer_output.
17497
eba5ab56
YQ
174982015-02-27 Yao Qi <yao.qi@linaro.org>
17499
17500 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
17501 target.
17502
0def5aaa
DE
175032015-02-26 Doug Evans <dje@google.com>
17504
17505 * gdb.cp/class2.cc (Dbase, D): New classes.
17506 (main): New local delta.
17507 * gdb.cp/class2.exp: Test printing delta.
17508 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
17509 (dynbar): New global.
17510 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
17511
081a1c2c
JK
175122015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17513
17514 * gdb.compile/compile-ifunc.c: New file.
17515 * gdb.compile/compile-ifunc.exp: New file.
17516
2f41223f
AT
175172015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
17518
17519 * gdb.base/structs.exp: Check for correct struct on finish.
17520
03eddd80
YQ
175212015-02-26 Yao Qi <yao.qi@linaro.org>
17522
17523 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
17524 is zero.
17525
80c57053
JK
175262015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17527
17528 * gdb.arch/cordic.ko.bz2: New file.
17529 * gdb.arch/cordic.ko.debug.bz2: New file.
17530 * gdb.arch/ppc64-symtab-cordic.exp: New file.
17531
21613c12
YQ
175322015-02-25 Yao Qi <yao.qi@linaro.org>
17533
17534 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
17535 aarch64*-*-* target.
17536
d8b901ed
PA
175372015-02-23 Pedro Alves <palves@redhat.com>
17538
17539 * lib/gdb.exp (delete_breakpoints): Rewrite using
17540 gdb_test_multiple.
17541
e5b85ead
PA
175422015-02-23 Pedro Alves <palves@redhat.com>
17543
17544 * gdb.base/info-os.c: Include stdlib.h.
17545
85c3a371
DE
175462015-02-22 Doug Evans <xdje42@gmail.com>
17547
17548 PR symtab/17855
17549 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
17550 is read after symbols have been re-read.
17551 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
17552 * gdb.ada/exec_changed/second.adb (Second): Ditto.
17553
96553a0c
DE
175542015-02-21 Doug Evans <dje@google.com>
17555
17556 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
17557
97a0c697
JK
175582015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17559
17560 PR corefiles/17808
17561 * gdb.arch/i386-biarch-core.core.bz2: New file.
17562 * gdb.arch/i386-biarch-core.exp: New file.
17563
a47cd6e9
PA
175642015-02-21 Pedro Alves <palves@redhat.com>
17565
17566 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
17567 runto_main fails.
17568
c5facdc4
PA
175692015-02-20 Pedro Alves <palves@redhat.com>
17570
17571 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
17572 info probes.
17573
2db9a427
PA
175742015-02-20 Pedro Alves <palves@redhat.com>
17575
17576 * gdb.threads/multi-create-ns-info-thr.exp: New file.
17577
60fb7e9e
PA
175782015-02-20 Pedro Alves <palves@redhat.com>
17579
17580 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
17581 clean_restart before gdb_target_supports_trace.
17582
5c5019c2
PA
175832015-02-20 Pedro Alves <palves@redhat.com>
17584
17585 PR threads/18006
17586 * gdb.threads/clone-thread_db.c: New file.
17587 * gdb.threads/clone-thread_db.exp: New file.
17588
c9587f88
AT
175892015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
17590
17591 PR breakpoints/16812
17592 * gdb.base/catch-gdb-caused-signals.c: New file.
17593 * gdb.base/catch-gdb-caused-signals.exp: New file.
17594
f6a88844
JM
175952015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
17596
17597 * configure: Regenerated.
17598 * configure.ac: Use GDB_AC_TRANSFORM.
17599 * aclocal.m4: sinclude ../transform.m4.
17600
497c491b
JM
176012015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17602
17603 * lib/dtrace.exp: New file.
17604 * gdb.base/dtrace-probe.exp: Likewise.
17605 * gdb.base/dtrace-probe.d: Likewise.
17606 * gdb.base/dtrace-probe.c: Likewise.
17607 * lib/pdtrace.in: Likewise.
17608 * configure.ac: Output variables with the transformed names of
17609 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
17610 * configure: Regenerated.
17611
03e98035
JM
176122015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17613
17614 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
17615 expected message when trying to access $_probe_* convenience
17616 variables while not on a probe.
17617
63cc30e9
JK
176182015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17619
17620 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
17621
0703599a
PA
176222015-02-11 Pedro Alves <pedro@codesourcery.com>
17623
17624 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
17625 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
17626
7e60a48e
DE
176272015-02-10 Doug Evans <xdje42@gmail.com>
17628
17629 * lib/gdb.exp (gdb_load): Always return a result.
17630
01b088bc
PA
176312015-02-10 Pedro Alves <palves@redhat.com>
17632
17633 * gdb.threads/signal-sigtrap.c: New file.
17634 * gdb.threads/signal-sigtrap.exp: New file.
17635
b05ec7a5
AT
176362015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
17637
17638 * gdb.trace/no-attach-trace.c: New file.
17639 * gdb.trace/no-attach-trace.exp: New file.
17640
a2c2acaf
MW
176412015-02-09 Mark Wielaard <mjw@redhat.com>
17642
17643 * gdb.dwarf2/atomic.c: New file.
17644 * gdb.dwarf2/atomic-type.exp: Likewise.
17645
31fd9caa
MM
176462015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17647
17648 * gdb.btrace/buffer-size.exp: Update "info record" output.
17649 * gdb.btrace/delta.exp: Update "info record" output.
17650 * gdb.btrace/enable.exp: Update "info record" output.
17651 * gdb.btrace/finish.exp: Update "info record" output.
17652 * gdb.btrace/instruction_history.exp: Update "info record" output.
17653 * gdb.btrace/next.exp: Update "info record" output.
17654 * gdb.btrace/nexti.exp: Update "info record" output.
17655 * gdb.btrace/step.exp: Update "info record" output.
17656 * gdb.btrace/stepi.exp: Update "info record" output.
17657 * gdb.btrace/nohist.exp: Update "info record" output.
17658
d33501a5
MM
176592015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17660
17661 * gdb.btrace/buffer-size: New.
17662
f4abbc16
MM
176632015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17664
17665 * gdb.btrace/delta.exp: Update "info record" output.
17666 * gdb.btrace/enable.exp: Update "info record" output.
17667 * gdb.btrace/finish.exp: Update "info record" output.
17668 * gdb.btrace/instruction_history.exp: Update "info record" output.
17669 * gdb.btrace/next.exp: Update "info record" output.
17670 * gdb.btrace/nexti.exp: Update "info record" output.
17671 * gdb.btrace/step.exp: Update "info record" output.
17672 * gdb.btrace/stepi.exp: Update "info record" output.
17673 * gdb.btrace/nohist.exp: Update "info record" output.
17674
b9d61307
SM
176752015-02-06 Simon Marchi <simon.marchi@ericsson.com>
17676
17677 PR gdb/15678
17678 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
17679
e584fdbc
PA
176802015-02-06 Pedro Alves <palves@redhat.com>
17681
17682 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
17683 macro.
17684 (seconds_left, again): New globals.
17685 (main): Wait seconds_left in a 1-second sleep loop instead of
17686 sleeping 180 seconds. If 'again' is set, reset the seconds
17687 counter.
17688 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
17689 'again' in the inferior before detaching. Print the seconds left.
17690 (options): New global.
17691 (top level): Build program with -DTIMEOUT=$timeout.
17692
77f41761
PA
176932015-02-06 Pedro Alves <palves@redhat.com>
17694
17695 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
17696 determine how many seconds to pass to 'alarm'.
17697 * gdb.base/gdb-sigterm.exp (top level): Build program with
17698 -DTIMEOUT=$timeout.
17699 (do_test): Return success/failure indication. Add more verbose
17700 logging. Don't fail if 200 single steps are seen. Instead, fail
17701 when the test times out.
17702 (passes): New global.
17703 (top level): Break the testing loop if testing fails on any
17704 iteration. Use gdb_assert.
17705
b9394193
DB
177062015-02-04 Don Breazeal <donb@codesourcery.com>
17707
17708 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
17709 and initialize them.
17710 (ipc_cleanup): New function.
17711 (main): Don't declare shmid, semid, and msqid. Add a call to
17712 atexit so that we call ipc_cleanup on exit.
17713
42d9e528
PA
177142015-02-04 Pedro Alves <palves@redhat.com>
17715
17716 * boards/native-extended-gdbserver.exp: Remove any target variant
17717 specifications from the board name before clearing the isremote
17718 flag from board_info.
17719
ae6ae975
DE
177202015-01-31 Doug Evans <xdje42@gmail.com>
17721
17722 * gdb.base/maint.exp <maint print type argc>: Update expected output.
17723
cfb069a8
GB
177242015-01-31 Gary Benson <gbenson@redhat.com>
17725
17726 * gdb.base/completion.exp: Disable completion limiting for
17727 existing tests. Add new tests to check completion limiting.
17728 * gdb.linespec/ls-errs.exp: Disable completion limiting.
17729
5dd31d79
DE
177302015-01-31 Doug Evans <xdje42@gmail.com>
17731
17732 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
17733
9f050062
DE
177342015-01-31 Doug Evans <xdje42@gmail.com>
17735
17736 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
17737 entries. Duplicate file section script entries.
17738 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
17739 inlined entries. Add test for safe-path rejection.
17740 * gdb.python/py-section-script.c: Add duplicate inlined section script
17741 entries. Duplicate file section script entries.
17742 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
17743 inlined entries. Add test for safe-path rejection.
17744
df25ebbd
JB
177452015-01-29 Joel Brobecker <brobecker@adacore.com>
17746
17747 * gdb.ada/disc_arr_bound: New testcase.
17748
4a0ca9ec
JB
177492015-01-29 Joel Brobecker <brobecker@adacore.com>
17750
17751 * gdb.ada/mi_var_array: New testcase.
17752
3a8b707a
DE
177532015-01-27 Doug Evans <dje@google.com>
17754
17755 * gdb.python/py-objfile.exp: Add tests for objfile.username.
17756 Add test for objfile.filename, objfile.username after objfile
17757 has been unloaded.
17758
f8313f6e
JB
177592015-01-26 Joel Brobecker <brobecker@adacore.com>
17760
17761 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
17762 the second test to print the name attribute of value
17763 returned by the call to gdb.lookup_type, and adjust
17764 the expected output accordingly.
17765
37bc665e
MW
177662015-01-25 Mark Wielaard <mjw@redhat.com>
17767
17768 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
17769 * gdb.base/disp-step-fork.c: Include unistd.h.
17770 * gdb.base/siginfo-obj.c: Include stdio.h.
17771 * gdb.base/siginfo-thread.c: Likewise.
17772 * gdb.mi/non-stop.c: Include unistd.h.
17773 * gdb.mi/nsthrexec.c: Include stdio.h.
17774 * gdb.mi/pthreads.c: Include unistd.h.
17775 * gdb.modula2/unbounded1.c (main): Declare returns int.
17776 * gdb.reverse/consecutive-reverse.c: Likewise.
17777 * gdb.threads/create-fail.c: Include unistd.h.
17778 * gdb.threads/killed.c: Likewise.
17779 * gdb.threads/linux-dp.c: Likewise.
17780 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
17781 * gdb.threads/non-ldr-exc-2.c: Likewise.
17782 * gdb.threads/non-ldr-exc-3.c: Likewise.
17783 * gdb.threads/non-ldr-exc-4.c: Likewise.
17784 * gdb.threads/pthreads.c: Include unistd.h.
17785 (main): Declare returns int.
17786 * gdb.threads/tls-main.c (foo): New declaration.
17787 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
17788
f7e5394d
SM
177892015-01-23 Simon Marchi <simon.marchi@ericsson.com>
17790
17791 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
17792 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
17793
743649fd
MW
177942015-01-15 Mark Wielaard <mjw@redhat.com>
17795
17796 * gdb.base/noreturn-return.c: New file.
17797 * gdb.base/noreturn-return.exp: New file.
17798 * gdb.base/noreturn-finish.c: New file.
17799 * gdb.base/noreturn-finish.exp: New file.
17800
198297aa
PA
178012015-01-23 Pedro Alves <palves@redhat.com>
17802
17803 * gdb.threads/continue-pending-after-query.c: New file.
17804 * gdb.threads/continue-pending-after-query.exp: New file.
17805
717cf30c
AG
178062015-01-22 Anders Granlund <anders.granlund@ericsson.com>
17807 Simon Marchi <simon.marchi@ericsson.com>
17808
17809 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
17810 * gdb.base/valgrind-db-attach.exp: Same.
17811 * gdb.base/valgrind-infcall.exp: Same.
17812 * lib/mi-support.exp (default_mi_gdb_start): Same.
17813 * lib/prompt.exp (default_prompt_gdb_start): Same.
17814 * lib/gdb.exp (default_gdb_spawn): Same.
17815 (gdb_interact): New.
17816
17817
4b62a76e
JK
178182015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17819
17820 * gdb.compile/compile.exp (pointer to jit function): New test.
17821
b4cdae6f
WW
178222015-01-17 Wei-cheng Wang <cole945@gmail.com>
17823
17824 * lib/gdb.exp (supports_process_record): Return true for
17825 powerpc*-*-linux*.
17826 (supports_reverse): Likewise.
17827
d221e7ef
DB
178282015-01-15 Don Breazeal <donb@codesourcery.com>
17829
17830 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
17831 instead of checking whether the target board is remote and
17832 use spawn_wait_for_attach instead of exec/sleep.
17833 * gdb.base/attach-twice.exp: Likewise.
17834
bafffb51
JB
178352015-01-15 Joel Brobecker <brobecker@adacore.com>
17836
17837 * gdb.ada/var_arr_attrs: New testcase.
17838
5589af0e
PA
178392015-01-14 Pedro Alves <palves@redhat.com>
17840 Joel Brobecker <brobecker@adacore.com>
17841
17842 PR gdb/17525
17843 * gdb.base/bp-cmds-execution-x-script.c: New file.
17844 * gdb.base/bp-cmds-execution-x-script.exp: New file.
17845 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
17846
6c400b59
PA
178472015-01-14 Pedro Alves <palves@redhat.com>
17848
17849 PR cli/17828
17850 * gdb.base/batch-preserve-term-settings.c: New file.
17851 * gdb.base/batch-preserve-term-settings.exp: New file.
17852
e02c96a7
DE
178532015-01-13 Doug Evans <dje@google.com>
17854
17855 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
17856 binary.
17857
576fd14c
JB
178582015-01-13 Joel Brobecker <brobecker@adacore.com>
17859
17860 * Makefile.in (clean mostlyclean): Do not delete *.py.
17861
04dccad0
JB
178622015-01-13 Joel Brobecker <brobecker@adacore.com>
17863
17864 * gdb.python/py-lookup-type.exp: New file.
17865
3d230f71
PA
178662015-01-12 Pedro Alves <palves@redhat.com>
17867
17868 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
17869 restore GDBFLAGS before returning.
17870
7e67715d
JK
178712015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17872
17873 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
17874 is_amd64_regs_target and is_x86_like_target.
17875
f2e0d4b4
DE
178762015-01-11 Doug Evans <xdje42@gmail.com>
17877
17878 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
17879 is given without an explicit form.
17880 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
17881 attributes.
17882 * gdb.dwarf/corrupt.exp: Ditto.
17883 * gdb.dwarf2/enum-type.exp: Ditto.
17884 * gdb.trace/entry-values.exp: Ditto.
17885 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
17886
439250fb
DE
178872015-01-11 Doug Evans <xdje42@gmail.com>
17888
17889 PR gdb/15830
17890 * gdb.base/maint.exp: Remove references to "maint demangle".
17891 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
17892 Add tests for explicitly specifying language to demangle.
17893 * gdb.dlang/demangle.exp: Ditto.
17894
ede9f622
PA
178952015-01-09 Pedro Alves <palves@redhat.com>
17896
17897 * gdb.threads/non-stop-fair-events.c: New file.
17898 * gdb.threads/non-stop-fair-events.exp: New file.
17899
a7b796db
PA
179002015-01-09 Pedro Alves <palves@redhat.com>
17901
17902 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
17903 the global scope. Set a breakpoint after all threads are started
17904 rather than stepping over two source lines. Expect the prompt.
17905 * gdb.base/watch_thread_num.c (threads_started_barrier): New
17906 global.
17907 (NUM): Now 15.
17908 (main): Use threads_started_barrier to wait for all threads to
17909 start. Main thread no longer calls thread_function. Exit after
17910 180 seconds.
17911 (loop): New function.
17912 (thread_function): Wait on threads_started_barrier barrier. Call
17913 'loop' at each iteration.
17914 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
17915 threads have started, instead of hardcoding number of "next"
17916 steps. Use an access watchpoint instead of a write watchpoint.
17917
9665ffdd
PA
179182015-01-09 Pedro Alves <palves@redhat.com>
17919
17920 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
17921 (thread_func): Wait on barrier.
17922 (main): Wait for all threads to start before stopping GDB.
17923 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
17924 global.
17925 (thread1_func, thread2_func): Wait on barrier.
17926 (main): Wait for all threads to start before stopping GDB.
17927 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
17928 New global.
17929 (thread1_func, thread2_func): Wait on barrier.
17930 (main): Wait for all threads to start before stopping GDB.
17931
c945a99f
PA
179322015-01-09 Pedro Alves <palves@redhat.com>
17933
17934 * gdb.threads/attach-many-short-lived-threads.c: New file.
17935 * gdb.threads/attach-many-short-lived-threads.exp: New file.
17936
c1a747c1
PA
179372014-01-09 Pedro Alves <palves@redhat.com>
17938
17939 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
17940 instead of to thread 2.
17941 * gdb.threads/signal-command-multiple-signals-pending.c (main):
17942 Add barrier around each pthread_create call instead of around all
17943 calls.
17944 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
17945 Set a break on thread_function and have the child threads hit it
17946 one at at a time.
17947
60b3033e
PA
179482015-01-09 Pedro Alves <palves@redhat.com>
17949
17950 * lib/gdb.exp (can_spawn_for_attach): New procedure.
17951 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
17952 false.
17953 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
17954 checking whether the target board is remote.
17955 * gdb.multi/multi-attach.exp: Likewise.
17956 * gdb.python/py-sync-interp.exp: Likewise.
17957 * gdb.server/ext-attach.exp: Likewise.
17958 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
17959 tests that need to attach, instead of checking whether the target
17960 board is remote at the top of the file.
17961
acc018ac
YQ
179622015-01-08 Yao Qi <yao@codesourcery.com>
17963
17964 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
17965
50a18af8
JK
179662015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17967
17968 Fix testcase compilation.
17969 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
17970
8503d6e1
JB
179712015-01-06 Joel Brobecker <brobecker@adacore.com>
17972
17973 * gdb.python/py-type.exp: Add a couple test about empty
17974 array creation, and negative-length array creation.
17975
cc73dbcc
DE
179762015-01-02 Doug Evans <xdje42@gmail.com>
17977
17978 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
17979
0300bbc7
DE
179802015-01-02 Doug Evans <dje@google.com>
17981
17982 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
17983
9d85a0ec
YQ
179842014-12-29 Yao Qi <yao@codesourcery.com>
17985
17986 * gdb.trace/entry-values.exp: Update comments. Rename variable
17987 bar_call_foo to returned_from_foo.
17988
87186c6a
MMN
179892014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
17990
17991 PR gdb/17394
17992 * gdb.linespec/break-asm-file.c: New file.
17993 * gdb.linespec/break-asm-file.exp: New file.
17994 * gdb.linespec/break-asm-file0.s: New file.
17995 * gdb.linespec/break-asm-file1.s: New file.
17996
1bab7383
YQ
179972014-12-18 Nigel Stephens <nigel@mips.com>
17998 Maciej W. Rozycki <macro@codesourcery.com>
17999
18000 * gdb.base/float.exp: Handle the new output from "info float" on
18001 MIPS targets.
18002
1bc1068a
JK
180032014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18004
18005 Fix MinGW compilation.
18006 * gdb.compile/compile-ops.exp: Update untested message if
18007 !skip_compile_feature_tests.
18008 * gdb.compile/compile-setjmp.exp: Likewise.
18009 * gdb.compile/compile-tls.exp: Likewise.
18010 * gdb.compile/compile.exp: Likewise.
18011 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
18012 supported on this host".
18013
b6615d10
DE
180142014-12-16 Doug Evans <xdje42@gmail.com>
18015
18016 * boards/stabs.exp: New file.
18017
25dda427
AA
180182014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
18019
18020 * gdb.base/completion.exp: Adjust to format changes of "maint
18021 print user-registers".
18022
bf330350
CU
180232014-12-16 Catalin Udma <catalin.udma@freescale.com>
18024
18025 PR server/17457
18026 * gdb.arch/aarch64-fp.c: New file.
18027 * gdb.arch/aarch64-fp.exp: New file.
18028
395cf596
SDJ
180292014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
18030
18031 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
18032 r210637, r210913, r211666, r215400, r215817).
18033
18034 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
18035 * dg-extract-results.py: New file.
18036 * dg-extract-results.sh: Use it if the environment seems
18037 suitable.
18038
18039 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
18040
18041 * dg-extract-results.py (parse_run): Handle warnings that
18042 are printed before a test harness is run.
18043
18044 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
18045
18046 * dg-extract-results.py (Named): Remove __cmp__ method.
18047 (output_variation): Use a key to sort variation.harnesses.
18048
18049 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
18050
18051 * dg-extract-results.py: For Python 3, force sys.stdout to
18052 handle surrogate escape sequences.
18053 (safe_open): New function.
18054 (output_segment, main): Use it.
18055
18056 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
18057
18058 * dg-extract-results.py (Prog.result_re): Include options
18059 in test name.
18060
18061 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
18062
18063 * dg-extract-results.py (output_variation): Always sort if
18064 do_sum.
18065
e882ef3c
SM
180662014-12-15 Simon Marchi <simon.marchi@ericsson.com>
18067
18068 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
18069 as long as we get pagination notifications.
18070
4992aa20
JM
180712014-12-15 Jason Merrill <jason@redhat.com>
18072
18073 * Makefile.in (check-gdb.%): Restore.
18074 * README: Mention it.
18075
c1b5a1a6
JB
180762014-12-13 Joel Brobecker <brobecker@adacore.com>
18077
18078 * gdb.ada/str_uninit: New testcase.
18079
5537b577
JK
180802014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18081
18082 PR symtab/17642
18083 * gdb.base/vla-stub-define.c: New file.
18084 * gdb.base/vla-stub.c: New file.
18085 * gdb.base/vla-stub.exp: New file.
18086
bb2ec1b3
TT
180872014-12-12 Phil Muldoon <pmuldoon@redhat.com>
18088 Jan Kratochvil <jan.kratochvil@redhat.com>
18089 Tom Tromey <tromey@redhat.com>
18090
18091 * configure.ac: Add gdb.compile/.
18092 * configure: Regenerate.
18093 * gdb.compile/Makefile.in: New file.
18094 * gdb.compile/compile-ops.exp: New file.
18095 * gdb.compile/compile-ops.c: New file.
18096 * gdb.compile/compile-tls.c: New file.
18097 * gdb.compile/compile-tls.exp: New file.
18098 * gdb.compile/compile-constvar.S: New file.
18099 * gdb.compile/compile-constvar.c: New file.
18100 * gdb.compile/compile-mod.c: New file.
18101 * gdb.compile/compile-nodebug.c: New file.
18102 * gdb.compile/compile-setjmp-mod.c: New file.
18103 * gdb.compile/compile-setjmp.c: New file.
18104 * gdb.compile/compile-setjmp.exp: New file.
18105 * gdb.compile/compile-shlib.c: New file.
18106 * gdb.compile/compile.c: New file.
18107 * gdb.compile/compile.exp: New file.
18108 * lib/gdb.exp (skip_compile_feature_tests): New proc.
18109
4ff709eb
TT
181102014-12-12 Tom Tromey <tromey@redhat.com>
18111
18112 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
18113 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
18114
6dddd6a5
DE
181152014-12-12 Doug Evans <dje@google.com>
18116
18117 * lib/gdb-python.exp (get_python_valueof): New function.
18118 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
18119
71c24708
AA
181202014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18121
18122 * gdb.base/completion.exp: Add test for completion of "info
18123 registers ".
18124
3e29f34a
MR
181252014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
18126
18127 * gdb.base/func-ptrs.c: New file.
18128 * gdb.base/func-ptrs.exp: New file.
18129
fc126975
SM
181302014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18131
18132 PR breakpoints/17012
18133 * gdb.base/dprintf-detach.c: New file.
18134 * gdb.base/dprintf-detach.exp: New file.
18135
0a46d518
SM
181362014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18137
18138 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
18139 * lib/gdb.exp (target_is_gdbserver): New procedure.
18140
a0be3e44
DE
181412014-12-08 Doug Evans <dje@google.com>
18142
18143 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
18144
df1b803a
YQ
181452014-12-05 Yao Qi <yao@codesourcery.com>
18146
18147 * gdb.guile/scm-error.exp: Remove the third argument to
18148 gdb_remote_download.
18149 * gdb.guile/scm-frame-args.exp: Likewise.
18150 * gdb.guile/scm-section-script.exp: Likewise.
18151
ddb9f679
YQ
181522014-12-05 Yao Qi <yao@codesourcery.com>
18153
18154 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
18155
86e4ed39
DE
181562014-12-04 Doug Evans <dje@google.com>
18157
18158 * gdb.python/py-objfile.exp: Add tests for
18159 objfile.add_separate_debug_file.
18160
7c50a931
DE
181612014-12-04 Doug Evans <dje@google.com>
18162
18163 * lib/gdb.exp (get_build_id): New function.
18164 (build_id_debug_filename_get): Rewrite to use it.
18165 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
18166
621661e3
MR
181672014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
18168
18169 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
18170 `method(long)', not just 0x0.
18171 * gdb.cp/nsalias.exp: Align code labels to 4.
18172 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
18173 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
18174 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
18175 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
18176 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
18177 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
18178
29f0c3b7
DE
181792014-12-02 Doug Evans <dje@google.com>
18180
e1e061e7 18181 PR symtab/17602
29f0c3b7 18182 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 18183 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
18184 * gdb.cp/anon-ns.exp: Update.
18185
162078c8
NB
181862014-12-02 Nick Bull <nicholaspbull@gmail.com>
18187
18188 * gdb.python/py-events.py (inferior_call_handler): New.
18189 (register_changed_handler, memory_changed_handler): New.
18190 (test_events.invoke): Register new handlers.
18191 * gdb.python/py-events.exp: Add tests for inferior call,
18192 memory_changed and register_changed events.
18193
fdb09caf
AA
181942014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18195
18196 * gdb.base/execl-update-breakpoints.exp: Specify the link address
18197 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
18198 if the linker doesn't understand this.
18199
55cfb2c4
SM
182002014-12-01 Simon Marchi <simon.marchi@ericsson.com>
18201
18202 * gdb.python/python.exp: Change expected reply to help().
18203
9e8cd6df
YQ
182042014-12-01 Yao Qi <yao@codesourcery.com>
18205
18206 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
18207 AC_CONFIG_SUBDIRS(gdb.gdbtk).
18208 * configure: Re-generated.
18209
6c659fc2
SC
182102014-11-28 Siva Chandra Reddy <sivachandra@google.com>
18211
18212 * gdb.cp/chained-calls.cc: New file.
18213 * gdb.cp/chained-calls.exp: New file.
18214 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
18215
d7fc3181
SM
182162014-11-28 Simon Marchi <simon.marchi@ericsson.com>
18217
18218 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
18219 * gdb.dwarf2/symtab-producer.exp: Same.
18220 * gdb.gdb/python-interrupts.exp: Same.
18221 * gdb.gdb/python-selftest.exp: Same.
18222 * gdb.python/py-linetable.exp: Same.
18223 * gdb.python/py-type.exp: Same.
18224 * gdb.python/py-value-cc.exp: Same.
18225 * gdb.python/py-value.exp: Same.
18226
10e79639
YQ
182272014-11-28 Yao Qi <yao@codesourcery.com>
18228
18229 * gdb.base/break-probes.exp: Match library name prefixed with
18230 sysroot.
18231
f28a0564
SM
182322014-11-27 Simon Marchi <simon.marchi@ericsson.com>
18233
18234 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
18235 test expected output. Add parentheses for the call to print.
18236 Remove L suffix from integers.
18237
3fe1ce1d
DE
182382014-11-26 Doug Evans <dje@google.com>
18239
18240 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
18241
84429e27
YQ
182422014-11-22 Yao Qi <yao@codesourcery.com>
18243
18244 * gdb.trace/entry-values.c: Remove asms.
18245 (foo): Add foo_label.
18246 (bar): Add bar_label.
18247 * gdb.trace/entry-values.exp: Remove code computing foo's
18248 length and bar's length.
18249 (Dwarf::assemble): Invoke function_range for bar and use
18250 MACRO_AT_func for foo.
18251
26741859
YQ
182522014-11-22 Yao Qi <yao@codesourcery.com>
18253
18254 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
18255 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
18256 Use .Lgcc43_procstart instead of gcc43.
18257
45e44d27
JB
182582014-11-21 Joel Brobecker <brobecker@adacore.com>
18259
18260 * gdb.ada/n_arr_bound: New testcase.
18261
458c8db8
SDJ
182622014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
18263
18264 PR breakpoints/10737
18265 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
18266 test_catch_syscall_multi_arch.
18267 (test_catch_syscall_multi_arch): New function.
18268
43f3e411
DE
182692014-11-20 Doug Evans <xdje42@gmail.com>
18270
18271 * gdb.base/maint.exp: Update expected output.
18272
0d7b2549
AA
182732014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
18274
18275 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
18276 4-byte instruction on S390.
18277
8908fca5
JB
182782014-11-19 Joel Brobecker <brobecker@adacore.com>
18279
18280 * gdb.ada/arr_arr: New testcase.
18281
4a46959e
JB
182822014-11-19 Joel Brobecker <brobecker@adacore.com>
18283
18284 * gdb.ada/pkd_arr_elem: New Testcase.
18285
470e2f4e
LM
182862014-11-18 Luis Machado <lgustavo@codesourcery.com>
18287
18288 * gdb.reverse/break-precsave: Expect completion message for
18289 core file reads.
18290 * gdb.reverse/consecutive-precsave.exp: Likewise.
18291 * gdb.reverse/finish-precsave.exp: Likewise.
18292 * gdb.reverse/i386-precsave.exp: Likewise.
18293 * gdb.reverse/machinestate-precsave.exp: Likewise.
18294 * gdb.reverse/sigall-precsave.exp: Likewise.
18295 * gdb.reverse/solib-precsave.exp: Likewise.
18296 * gdb.reverse/step-precsave.exp: Likewise.
18297 * gdb.reverse/until-precsave.exp: Likewise.
18298 * gdb.reverse/watch-precsave.exp: Likewise.
18299
a267f3ad
AA
183002014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18301
18302 * gdb.base/bp-permanent.c: Include unistd.h.
18303 * gdb.python/py-framefilter-mi.c (main): Add return type.
18304 * gdb.python/py-framefilter.c (main): Likewise.
18305 * gdb.trace/actions-changed.c (main): Likewise.
18306
12084a9a
AA
183072014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18308
18309 * gdb.mi/until.c: Add eye-catchers.
18310 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
18311 line numbers.
18312
dc7e1a77
AA
183132014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18314
18315 * gdb.base/condbreak.exp: Drop references to removed non-prototype
18316 function header variants in break1.c.
18317 * gdb.base/ena-dis-br.exp: Likewise.
18318 * gdb.base/hbreak2.exp: Likewise.
18319 * gdb.reverse/until-precsave.exp: Drop references to removed
18320 non-prototype function header variants in ur1.c.
18321 * gdb.reverse/until-reverse.exp: Likewise.
18322
41c77605
PM
183232014-11-17 Petr Machata <pmachata@redhat.com>
18324
18325 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
18326 ${_cu_offset_size} bytes abbrev offset.
18327
34248c3a
DE
183282014-11-15 Doug Evans <xdje42@gmail.com>
18329
18330 PR symtab/17559
18331 * gdb.base/line-symtabs.exp: New file.
18332 * gdb.base/line-symtabs.c: New file.
18333 * gdb.base/line-symtabs.h: New file.
18334
646da059
YQ
183352014-11-14 Yao Qi <yao@codesourcery.com>
18336
18337 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
18338 (func): Add label func_label.
18339 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
18340 Replace low_pc and high_pc with MACRO_AT_range.
18341 Replace name, low_pc and high_pc with MACRO_AT_func.
18342
9301ebe6
YQ
183432014-11-14 Yao Qi <yao@codesourcery.com>
18344
18345 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
18346 Replace name, low_pc and high_pc with MACRO_AT_func.
18347
f166b542
YQ
183482014-11-14 Yao Qi <yao@codesourcery.com>
18349
18350 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
18351 produce debug information.
18352 * gdb.dwarf2/implptr-optimized-out.S: Removed.
18353
0f6e71e3
YQ
183542014-11-14 Yao Qi <yao@codesourcery.com>
18355
18356 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
18357 object and get function length.
18358 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
18359 with MACRO_AT_func.
18360 (top-level): Replace gdb_compile and clean_restart with
18361 prepare_for_testing.
18362 * gdb.dwarf2/main.c (main): Add label main_label.
18363
876c4df9
YQ
183642014-11-14 Yao Qi <yao@codesourcery.com>
18365
18366 * lib/dwarf.exp (function_range): New procedure.
18367 (Dwarf::_handle_macro_at_func): New procedure.
18368 (Dwarf::_handle_macro_at_range): New procedure.
18369 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
18370
02ad9cf1
YQ
183712014-11-14 Yao Qi <yao@codesourcery.com>
18372
18373 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
18374 (_handle_attribute): New procedure.
18375
a59add0c
AA
183762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18377
18378 * gdb.ada/cond_lang/foo.c (callme): Add return type.
18379 * gdb.base/call-sc.c (zed): Likewise.
18380 * gdb.base/checkpoint.c (main): Likewise.
18381 * gdb.base/dump.c (main): Likewise.
18382 * gdb.base/gcore.c (main): Likewise.
18383 * gdb.base/huge.c (main): Likewise.
18384 * gdb.base/multi-forks.c (main): Likewise.
18385 * gdb.base/pr10179-a.c (main): Likewise.
18386 * gdb.base/savedregs.c (main): Likewise.
18387 * gdb.base/sigaltstack.c (main): Likewise.
18388 * gdb.base/siginfo.c (main): Likewise.
18389 * gdb.base/structs.c (zed): Likewise.
18390 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
18391 * gdb.mi/mi-syn-frame.c (main): Likewise.
18392 * gdb.mi/until.c (foo, main): Likewise.
18393 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
18394 * gdb.base/solib-weak.c (foo): Declare.
18395 * gdb.base/attach-twice.c: Include stdio.h.
18396 * gdb.base/weaklib1.c: Likewise.
18397 * gdb.base/weaklib2.c: Likewise.
18398 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
18399 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
18400 unistd.h.
18401 * gdb.base/attach-pie-misread.c: Include stdlib.h.
18402 * gdb.mi/mi-exit-code.c: Likewise.
18403 * gdb.base/break-interp-lib.c: Include string.h.
18404 * gdb.base/coremaker.c: Likewise.
18405 * gdb.base/testenv.c: Likewise.
18406 * gdb.python/py-finish-breakpoint.c: Likewise.
18407 * gdb.base/inferior-died.c: Include sys/wait.h.
18408 * gdb.base/fileio.c: Include time.h.
18409 * gdb.base/async-shell.c: Include unistd.h.
18410 * gdb.base/dprintf-non-stop.c: Likewise.
18411 * gdb.base/info-os.c: Likewise.
18412 * gdb.mi/mi-console.c: Likewise.
18413 * gdb.mi/watch-nonstop.c: Likewise.
18414 * gdb.python/py-events.c: Likewise.
18415 * gdb.base/async.c (baz): Move up before its invocation.
18416 * gdb.base/code_elim2.c (my_global_func): Likewise.
18417 * gdb.base/skip-solib-lib.c (multiply): Likewise.
18418 * gdb.base/advance.c (func2): Likewise.
18419
3b5d5997
AA
184202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18421
18422 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
18423 variant.
18424 * gdb.base/annota3.c: Likewise.
18425 * gdb.base/async.c: Likewise.
18426 * gdb.base/average.c: Likewise.
18427 * gdb.base/call-ar-st.c: Likewise.
18428 * gdb.base/call-rt-st.c: Likewise.
18429 * gdb.base/call-sc.c: Likewise.
18430 * gdb.base/call-strs.c: Likewise.
18431 * gdb.base/ending-run.c: Likewise.
18432 * gdb.base/execd-prog.c: Likewise.
18433 * gdb.base/exprs.c: Likewise.
18434 * gdb.base/foll-exec.c: Likewise.
18435 * gdb.base/foll-fork.c: Likewise.
18436 * gdb.base/foll-vfork.c: Likewise.
18437 * gdb.base/funcargs.c: Likewise.
18438 * gdb.base/gcore.c: Likewise.
18439 * gdb.base/jump.c: Likewise.
18440 * gdb.base/langs0.c: Likewise.
18441 * gdb.base/langs1.c: Likewise.
18442 * gdb.base/langs2.c: Likewise.
18443 * gdb.base/mips_pro.c: Likewise.
18444 * gdb.base/nodebug.c: Likewise.
18445 * gdb.base/opaque0.c: Likewise.
18446 * gdb.base/opaque1.c: Likewise.
18447 * gdb.base/recurse.c: Likewise.
18448 * gdb.base/run.c: Likewise.
18449 * gdb.base/scope0.c: Likewise.
18450 * gdb.base/scope1.c: Likewise.
18451 * gdb.base/setshow.c: Likewise.
18452 * gdb.base/setvar.c: Likewise.
18453 * gdb.base/shmain.c: Likewise.
18454 * gdb.base/shr1.c: Likewise.
18455 * gdb.base/shr2.c: Likewise.
18456 * gdb.base/sigall.c: Likewise.
18457 * gdb.base/signals.c: Likewise.
18458 * gdb.base/so-indr-cl.c: Likewise.
18459 * gdb.base/solib2.c: Likewise.
18460 * gdb.base/structs.c: Likewise.
18461 * gdb.base/sum.c: Likewise.
18462 * gdb.base/vforked-prog.c: Likewise.
18463 * gdb.base/watchpoint.c: Likewise.
18464 * gdb.reverse/shr2.c: Likewise.
18465 * gdb.reverse/until-reverse.c: Likewise.
18466 * gdb.reverse/ur1.c: Likewise.
18467 * gdb.reverse/watch-reverse.c: Likewise.
18468
066a77c5
AA
184692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18470
18471 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
18472 variant.
18473 * gdb.base/sepdebug.exp: Drop references to removed code.
18474
4f204ea5
AA
184752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18476
18477 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
18478 variant. Preserve original line numbering.
18479 * gdb.base/list1.c: Likewise.
18480
3b377a3a
AA
184812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18482
18483 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
18484 variant.
18485 * gdb.base/break1.c: Likewise.
18486 * gdb.base/break.exp: Drop references to removed code.
18487
e444df73
AA
184882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18489
18490 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
18491 variant.
18492
8008f2a7
AA
184932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18494
18495 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
18496
a5a06887
AA
184972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18498
18499 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
18500 logic into perform_all_tests() and invoke it with and without
18501 function header prototypes.
18502 (do_function_calls): Remove conditional XFAIL for PR 5318.
18503 (rerun_and_prepare): Remove duplicate code.
18504 (perform_all_tests): New. Main logic moved here.
18505
44dba9b9
AA
185062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18507
18508 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
18509 code guarded by #ifdef NO_PROTOTYPES.
18510 (t_double_many_args): Likewise.
18511 (DEF_FUNC_MANY_ARGS_1): Likewise.
18512 (DEF_FUNC_VALUES_1): Likewise.
18513 (t_structs_ldc): Renamed from t_structs_fc in conditional code
18514 guarded by #ifdef PROTOTYPES.
18515
d1fbcd56
AA
185162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18517
18518 * gdb.mi/mi-console.c: Add eye-catcher.
18519 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
18520 instead of literal line number.
18521
b0e59b8f
AA
185222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18523
18524 * gdb.base/shr2.c: Add eye-catcher.
18525 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
18526 line number.
18527
78f98cca
AA
185282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18529
18530 * gdb.base/jump.c: Add eye-catchers.
18531 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
18532 numbers.
18533
58fa2af0
AA
185342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18535
18536 * gdb.base/execd-prog.c: Add eye-catchers.
18537 * gdb.base/foll-exec.c: Likewise.
18538 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
18539 line numbers.
18540
04e5059b
AA
185412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18542
18543 * gdb.base/ending-run.c: Add eye-catchers.
18544 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
18545 literal line numbers.
18546
dbfdb174
AA
185472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18548
18549 * gdb.base/call-rt-st.c: Add eye-catchers.
18550 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
18551 literal line numbers.
18552
888a2ade
AA
185532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18554
18555 * gdb.base/call-ar-st.c: Add eye-catchers.
18556 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
18557 literal line numbers.
18558
6acc2dde
AA
185592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18560
18561 * gdb.base/average.c: Add eye-catchers.
18562 * gdb.base/sum.c: Likewise.
18563 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
18564 regexps dynamically.
18565
9ecfcd1d
AA
185662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18567
18568 * gdb.base/solib1.c: Add eye-catchers.
18569 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
18570 literal line numbers.
18571
78708b7c
PA
185722014-11-12 Pedro Alves <palves@redhat.com>
18573
18574 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
18575 leader has exited.
18576
af48d08f
PA
185772014-11-12 Pedro Alves <palves@redhat.com>
18578
18579 * gdb.arch/i386-bp_permanent.c: New file.
18580 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
18581 (srcfile): Set to i386-bp_permanent.c.
18582 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
18583 that stepi does not execute the 'leave' instruction, instead of
18584 testing it does execute.
18585 * gdb.base/bp-permanent.c: New file.
18586 * gdb.base/bp-permanent.exp: New file.
18587
af3768e9
DE
185882014-11-10 Doug Evans <xdje42@gmail.com>
18589
18590 PR symtab/17564
18591 * gdb.base/symtab-search-order.exp: New file.
18592 * gdb.base/symtab-search-order.c: New file.
18593 * gdb.base/symtab-search-order-1.c: New file.
18594 * gdb.base/symtab-search-order-shlib-1.c: New file.
18595
9de00a4a
PA
185962014-11-07 Pedro Alves <palves@redhat.com>
18597
18598 PR gdb/17511
18599 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
18600 i?86-*-linux*.
18601
e0f52461
SC
186022014-11-03 Siva Chandra Reddy <sivachandra@google.com>
18603
18604 PR c++/17494
18605 * gdb.cp/pr17494.cc: New file.
18606 * gdb.cp/pr17494.exp: New file.
18607
6ce8c980
YQ
186082014-11-02 Yao Qi <yao@codesourcery.com>
18609
18610 * gdb.python/python.exp: Get working directory and match the
18611 output of "set extended-prompt \\w " with it.
18612
02be9a71
DE
186132014-10-30 Doug Evans <dje@google.com>
18614
18615 * gdb.python/py-objfile.exp: Add tests for setting random attributes
18616 in objfiles.
18617 * gdb.python/py-progspace.exp: Add tests for setting random attributes
18618 in progspaces.
18619
3bdff46b
LM
186202014-10-30 Janis Johnson <janisjo@codesourcery.com>
18621
18622 * gdb.base/fullpath-expand.exp: Skip for a remote host.
18623 * gdb.base/realname-expand.exp: Likewise.
18624 * gdb.linespec/macro-relative.exp: Likewise.
18625
ab917dfb
PA
186262014-10-29 Pedro Alves <palves@redhat.com>
18627
18628 PR gdb/17408
18629 * gdb.threads/schedlock.c (some_function): New function.
18630 (call_function): New global.
18631 (MAYBE_CALL_SOME_FUNCTION): New macro.
18632 (thread_function): Call it.
18633 * gdb.threads/schedlock.exp (get_args): Add description parameter,
18634 and use it instead of a global counter. Adjust all callers.
18635 (get_current_thread): Use "find current thread" for test message
18636 here rather than having all callers pass down the same string.
18637 (goto_loop): New procedure, factored out from ...
18638 (my_continue): ... this.
18639 (step_ten_loops): Change parameter from test message to command to
18640 use. Adjust.
18641 (list_count): Delete global.
18642 (check_result): New procedure, factored out from duplicate top
18643 level code.
18644 (continue tests): Wrap in with_test_prefix.
18645 (test_step): New procedure, factored out from duplicate top level
18646 code.
18647 (top level): Test "step" in combination with all scheduler-locking
18648 modes. Test "next" in combination with all scheduler-locking
18649 modes, and in combination with stepping over a function call or
18650 not.
18651 * gdb.threads/next-bp-other-thread.c: New file.
18652 * gdb.threads/next-bp-other-thread.exp: New file.
18653
d3d4baed
PA
186542014-10-29 Pedro Alves <palves@redhat.com>
18655
18656 PR python/17372
18657 * gdb.python/python.exp: Test a multi-line command that spawns
18658 interactive Python.
18659 * gdb.base/multi-line-starts-subshell.exp: New file.
18660
563e8d85
YQ
186612014-10-29 Yao Qi <yao@codesourcery.com>
18662
18663 * gdb.base/fileio.exp: Make directories on host.
18664
0ea4d52e
YQ
186652014-10-29 Yao Qi <yao@codesourcery.com>
18666
18667 * gdb.base/fileio.c (test_write): Close the file.
18668
7f5ef605
PA
186692014-10-28 Pedro Alves <palves@redhat.com>
18670
18671 PR gdb/12623
18672 * gdb.base/sigstep.c (no_handler): New global.
18673 (main): If 'no_handler is true, set the signal handlers to
18674 SIG_IGN.
18675 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
18676 with_sw_watch and no_handler parameters. Handle them.
18677 (top level) <stepping over handler when stopped at a breakpoint
18678 test>: Add a test axis for testing with a software watchpoint, and
18679 another for testing with the signal handler set to SIG_IGN.
18680 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
18681 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
18682
abbdbd03
PA
186832014-10-28 Pedro Alves <palves@redhat.com>
18684
18685 PR gdb/17511
18686 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
18687 * gdb.base/sigstep.exp (other_handler_location): New global.
18688 (advance): Support stepping into the signal handler, and running
18689 commands while in the handler.
18690 (in_handler_map): New global.
18691 (top level): In the advance test, add combinations for getting
18692 into the handler with stepping commands, and for running commands
18693 in the handler. Add comment descripting the advancei tests.
18694
1df4399f
PA
186952014-10-28 Pedro Alves <palves@redhat.com>
18696
18697 * gdb.base/sigstep.exp: Use build_executable instead of
18698 prepare_for_testing.
18699 (top level): Move code that starts GDB, runs to main and creates a
18700 display to ...
18701 (restart): ... this new procedure.
18702 (top level): Move backtrace from signal handler test to ...
18703 (validate_backtrace): ... this new procedure.
18704 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
18705 with_test_prefix. Always restart GDB.
18706 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
18707 with_test_prefix. Always restart GDB. No need to delete
18708 breakpoints after the test.
18709 (test_skip_handler): Remove prefix parameter.
18710 (skip_over_handler, breakpoint_to_handler)
18711 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
18712 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
18713 restart GDB. No need to delete breakpoints after the test.
18714 (top level): Use foreach to call the test procedures with
18715 different commands.
18716
a5b6e449
PA
187172014-10-28 Pedro Alves <palves@redhat.com>
18718
18719 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
18720 instead of GNATS numbers.
18721 * gdb.base/sigbpt.exp: Likewise.
18722 * gdb.base/siginfo.exp: Likewise.
18723 * gdb.base/sigstep.exp: Likewise.
18724
e5f8a7cc
PA
187252014-10-27 Pedro Alves <palves@redhat.com>
18726
18727 * gdb.base/sigstep.c (dummy): New global.
18728 (main): Issue a couple writes to the new global.
18729 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
18730 procedures.
18731 (skip_over_handler): Use test_skip_handler.
18732 (top level): Call skip_over_handler for stepi and nexti too.
18733 (breakpoint_over_handler): Use test_skip_handler.
18734 (top level): Call breakpoint_over_handler for stepi and nexti too.
18735
763905a3
YQ
187362014-10-27 Yao Qi <yao@codesourcery.com>
18737
18738 * gdb.trace/tfile.c (adjust_function_address)
18739 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
18740 function descriptor.
18741
6f259a23
DB
187422014-10-24 Don Breazeal <donb@codesourcery.com>
18743
18744 * gdb.base/foll-fork.exp (test_follow_fork,
18745 catch_fork_child_follow): Check for updated fork messages emitted
18746 from infrun.c.
18747 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
18748 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
18749 vfork_and_exec_child_follow_through_step): Check for updated vfork
18750 messages emitted from infrun.c.
18751
09dd9a69
PA
187522014-10-24 Pedro Alves <palves@redhat.com>
18753
18754 * gdb.base/corefile.exp: Remove references to ultrix.
18755 * gdb.base/interrupt.exp: Likewise.
18756 * gdb.base/whatis.exp: Likewise.
18757 * gdb.gdb/selftest.exp: Likewise.
18758 * gdb.threads/manythreads.exp: Likewise.
18759 * gdb.threads/print-threads.exp: Likewise.
18760 * gdb.threads/pthreads.exp:: Likewise.
18761 * gdb.threads/schedlock.exp: Likewise.
18762
3433cfa5
SC
187632014-10-24 Siva Chandra Reddy <sivachandra@google.com>
18764
18765 * gdb.cp/non-trivial-retval.cc: Add a test case.
18766 * gdb.cp/non-trivial-retval.exp: Add a test.
18767
092f880b
YQ
187682014-10-20 Yao Qi <yao@codesourcery.com>
18769
18770 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
18771 * gdb.python/py-objfile-script-gdb.py: New file.
18772 * gdb.python/py-objfile-script.exp: Update reference to
18773 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
18774 of remote_download. Remove the dest file.
18775
acbdb7f3
YQ
187762014-10-20 Yao Qi <yao@codesourcery.com>
18777
18778 * gdb.base/checkpoint.exp: Don't remove file copied on host.
18779 * gdb.base/step-line.exp: Likewise.
18780 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18781 * gdb.dwarf2/dw2-basic.exp: Likewise.
18782 * gdb.dwarf2/dw2-compressed.exp: Likewise.
18783 * gdb.dwarf2/dw2-filename.exp: Likewise.
18784 * gdb.dwarf2/dw2-intercu.exp: Likewise.
18785 * gdb.dwarf2/dw2-intermix.exp: Likewise.
18786 * gdb.dwarf2/dw2-producer.exp: Likewise.
18787 * gdb.dwarf2/mac-fileno.exp: Likewise.
18788 * gdb.python/py-frame-args.exp: Likewise.
18789 * gdb.python/py-framefilter.exp: Likewise.
18790 * gdb.python/py-mi.exp: Likewise.
18791 * gdb.python/py-objfile-script.exp: Likewise
18792 * gdb.python/py-pp-integral.exp: Likewise.
18793 * gdb.python/py-pp-re-notag.exp: Likewise.
18794 * gdb.python/py-prettyprint.exp: Likewise.
18795 * gdb.python/py-section-script.exp: Likewise.
18796 * gdb.python/py-typeprint.exp: Likewise.
18797 * gdb.python/py-xmethods.exp: Likewise.
18798 * gdb.stabs/weird.exp: Likewise.
18799 * gdb.xml/tdesc-regs.exp: Likewise.
18800
bd286a29
KCY
188012014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
18802
18803 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
18804 (out_cu): Use addr_len for the size of addresses.
18805 (out_line): Likewise. Size DW_LNE_set_address instruction
18806 according to addr_len.
18807 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
18808 (FUNC): Add START_INSNS to definition.
18809
673dc4a0
YQ
188102014-10-18 Yao Qi <yao@codesourcery.com>
18811
18812 * gdb.base/argv0-symlink.exp: Check argv[0] value if
18813 gdb_has_argv0 return true.
18814 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
18815 check [target_info exists noargs], check [gdb_has_argv0]
18816 instead.
18817 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18818 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
18819 procedures.
18820
4ffbba72
DE
188212014-10-17 Doug Evans <dje@google.com>
18822
18823 * gdb.python/py-events.exp: Update expected output for clear_objfiles
18824 event.
18825 * gdb.python/py-events.py: Add clear_objfiles event.
18826
d096d8c1
DE
188272014-10-17 Doug Evans <dje@google.com>
18828
18829 * gdb.python/py-objfile.exp: Test progspace attribute.
18830
a80db015
LM
188312014-10-17 Luis Machado <lgustavo@codesourcery.com>
18832
18833 * gdb.guile/scm-breakpoint.exp: Do not assume any
18834 directory separators when matching source file paths.
18835 * gdb.python/py-breakpoint.exp: Likewise.
18836 * gdb.reverse/break-precsave.exp: Likewise.
18837 * gdb.reverse/break-reverse.exp: Likewise.
18838 * gdb.reverse/consecutive-precsave.exp: Likewise.
18839 * gdb.reverse/finish-precsave.exp: Likewise.
18840 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
18841 * gdb.reverse/finish-reverse.exp: Likewise.
18842 * gdb.reverse/i386-precsave.exp: Likewise.
18843 * gdb.reverse/i387-env-reverse.exp: Likewise.
18844 * gdb.reverse/i387-stack-reverse.exp: Likewise.
18845 * gdb.reverse/machinestate-precsave.exp: Likewise.
18846 * gdb.reverse/machinestate.exp: Likewise.
18847 * gdb.reverse/sigall-precsave.exp: Likewise.
18848 * gdb.reverse/solib-precsave.exp: Likewise.
18849 * gdb.reverse/step-precsave.exp: Likewise.
18850 * gdb.reverse/until-precsave.exp: Likewise.
18851 * gdb.reverse/watch-precsave.exp: Likewise.
18852 * gdb.reverse/watch-reverse.exp: Likewise.
18853
b22089ab
YQ
188542014-10-17 Yao Qi <yao@codesourcery.com>
18855
18856 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
18857 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
18858
6c4486e6
PA
188592014-10-17 Pedro Alves <palves@redhat.com>
18860
18861 PR gdb/17471
18862 * gdb.base/bg-execution-repeat.c: New file.
18863 * gdb.base/bg-execution-repeat.exp: New file.
18864
0ff33695
PA
188652014-10-17 Pedro Alves <palves@redhat.com>
18866
18867 PR gdb/17300
18868 * gdb.base/continue-all-already-running.c: New file.
18869 * gdb.base/continue-all-already-running.exp: New file.
18870
6fdebc3d
PA
188712014-10-17 Pedro Alves <palves@redhat.com>
18872
18873 PR gdb/17472
18874 * gdb.base/annota-input-while-running.c: New file.
18875 * gdb.base/annota-input-while-running.exp: New file.
18876
32a8097b
PA
188772014-10-17 Pedro Alves <palves@redhat.com>
18878
18879 * gdb.base/callfuncs.exp: emove references to osf.
18880 * gdb.base/sigall.exp: Likewise.
18881 * gdb.gdb/selftest.exp: Likewise.
18882 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18883 * gdb.mi/non-stop.c: Likewise.
18884 * gdb.mi/pthreads.c: Likewise.
18885 * gdb.reverse/sigall-precsave.exp: Likewise.
18886 * gdb.reverse/sigall-reverse.exp: Likewise.
18887 * gdb.threads/pthreads.c: Likewise.
18888 * gdb.threads/pthreads.exp: Likewise.
18889
7a3517ff
YQ
188902014-10-17 Yao Qi <yao@codesourcery.com>
18891
18892 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
18893 check 'target_info exists noargs'.
18894 (test_command_prompt_position): Likewise.
18895 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
18896 Remove "set args".
18897 (progvar_simple_while_test): Likewise.
18898 (progvar_complex_if_while_test): Likewise.
18899 (if_while_breakpoint_command_test): Likewise.
18900 (infrun_breakpoint_command_test): Likewise.
18901 (breakpoint_command_test): Likewise.
18902 (watchpoint_command_test): Likewise.
18903 (bp_deleted_in_command_test): Likewise.
18904 (temporary_breakpoint_commands): Likewise.
18905
bb99c472
YQ
189062014-10-16 Yao Qi <yao@codesourcery.com>
18907
18908 * gdb.base/remotetimeout.exp: Remove noargs checking.
18909
7c16b83e
PA
189102014-10-15 Pedro Alves <palves@redhat.com>
18911
18912 PR breakpoints/9649
18913 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
18914 * gdb.base/breakpoint-in-ro-region.exp
18915 (probe_target_hardware_step): New procedure.
18916 (top level): Probe hardware stepping and hardware breakpoint
18917 support. Test stepping through a read-only region, with both
18918 "breakpoint auto-hw" on and off and both "always-inserted" on and
18919 off.
18920
35a49624
IB
189212014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
18922
18923 * gdb.dlang/demangle.exp: Update for demangling changes.
18924
2d1c107c
SC
189252014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18926
18927 * gdb.cp/non-trivial-retval.cc: Add new test cases.
18928 * gdb.cp/non-trivial-retval.exp: Add new tests.
18929
778811d5
SC
189302014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18931
18932 PR c++/13403
18933 PR c++/15154
18934 * gdb.cp/non-trivial-retval.cc: New file.
18935 * gdb.cp/non-trivial-retval.exp: New file.
18936
10c5f0a8
YQ
189372014-10-15 Yao Qi <yao@codesourcery.com>
18938
18939 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
18940 remote host.
18941
65d7b369
YQ
189422014-10-15 Yao Qi <yao@codesourcery.com>
18943
18944 * gdb.python/py-symbol.exp: Match file base name if host is
18945 remote, otherwise match file name with dir name.
18946 * gdb.python/py-symtab.exp: Likewise.
18947 * gdb.python/python.exp: Likewise.
18948
46dc1394
YQ
189492014-10-15 Yao Qi <yao@codesourcery.com>
18950
18951 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
18952 pattern.
18953 * gdb.python/py-symtab.exp: Likewise.
18954 * gdb.python/python.exp: Remove trailing ".*". Fix typo
18955 locationn.
18956
c40cc657
JB
189572014-10-14 Joel Brobecker <brobecker@adacore.com>
18958
18959 * gdb.ada/addr_arith: New testcase.
18960
2abf49e1
MR
189612014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
18962
18963 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
18964 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
18965 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
18966 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
18967
f7088df3
SDJ
189682014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
18969
18970 * gdb.arch/stap-eval-lang-ada.S: Likewise.
18971 * gdb.arch/stap-eval-lang-ada.c: Likewise.
18972 * gdb.arch/stap-eval-lang-ada.exp: New file.
18973
4dc06805
YQ
189742014-10-14 Yao Qi <yao@codesourcery.com>
18975
18976 * gdb.mi/mi-var-child.c (nothing1): New function.
18977 (nothing2): New function.
18978 (do_children_tests): Set function pointers by nothing1 and
18979 nothing2.
18980 * gdb.mi/mi-var-child.exp: Step over new added statements.
18981 Update test to match the new output.
18982 * gdb.mi/var-cmd.c (nothing1): New function.
18983 (nothing2): New function.
18984 (do_children_tests): Set function pointers by nothing1 and
18985 nothing2.
18986 * gdb.mi/mi-var-display.exp: Update test to match output.
18987 Step to the line specified by $line_dct_nothing.
18988 Increase the number of lines to step.
18989
46a93de2
YQ
189902014-10-14 Yao Qi <yao@codesourcery.com>
18991
18992 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
18993 tests.
18994 * gdb.mi/mi2-var-child.exp: Likewise.
18995
14ea52ee
DE
189962014-10-13 Doug Evans <dje@google.com>
18997
18998 * gdb.python/py-objfile.exp: Change name of file name test.
18999
e5c6e92b
DE
190002014-10-13 Doug Evans <dje@google.com>
19001
19002 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
19003 from the start of the CU.
19004
c780cc2f
JK
190052014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19006 Yao Qi <yao@codesourcery.com>
19007
19008 Fix "save breakpoints" for "catch" command.
19009 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
19010 Remove -nonewline. Match also the added "main" line.
19011
99894e11
JK
190122014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19013
19014 Fix "save breakpoints" for "disable $bpnum" command.
19015 * gdb.base/save-bp.c (main): Add label.
19016 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
19017
6e1ac5a3
JK
190182014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19019
19020 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
19021
754dd2b0
YQ
190222014-10-11 Yao Qi <yao@codesourcery.com>
19023
19024 * gdb.server/server-kill.exp: Execute command
19025 "set remote trace-status-packet on" before "tstatus".
19026
f90183d7
YQ
190272014-10-11 Yao Qi <yao@codesourcery.com>
19028
19029 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
19030 (main): Call getppid.
19031 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
19032 and continue to it. Read variable "server_pid".
19033
bf40a607
YQ
190342014-10-11 Yao Qi <yao@codesourcery.com>
19035
19036 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
19037
052ca370
YQ
190382014-10-11 Yao Qi <yao@codesourcery.com>
19039
19040 * gdb.threads/thread-find.exp: Don't execute command
19041 "info threads".
19042 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
19043 * gdb.threads/linux-dp.exp: Don't check the condition
19044 $threads_created equals to zero.
19045
3831839c
PA
190462014-10-10 Pedro Alves <palves@redhat.com>
19047
19048 * gdb.base/bigcore.exp: Remove references to IRIX.
19049 * gdb.base/funcargs.exp: Likewise.
19050 * gdb.base/interrupt.exp: Likewise.
19051 * gdb.base/mips_pro.exp: Likewise.
19052 * gdb.base/nodebug.exp: Likewise.
19053 * gdb.base/setvar.exp: Likewise.
19054 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
19055
8b9a549d
PA
190562014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19057 Pedro Alves <palves@redhat.com>
19058
19059 PR symtab/14466
19060 * gdb.base/vdso-warning.c: New file.
19061 * gdb.base/vdso-warning.exp: New file.
19062
d48ba5e8
DE
190632014-10-02 Doug Evans <dje@google.com>
19064
19065 * gdb.base/structs.c (main): Don't run forever.
19066
2278c276
PA
190672014-10-02 Pedro Alves <palves@redhat.com>
19068
19069 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
19070 (top level) <stop threads 1, stop threads 2>: Use it.
19071
b57bacec
PA
190722014-10-02 Pedro Alves <palves@redhat.com>
19073
19074 * gdb.threads/break-while-running.exp (test): Add new
19075 'update_thread_list' argument. Skip "info threads" if false.
19076 (top level): Add new 'update_thread_list' axis.
19077
13fd3ff3
PA
190782014-10-02 Pedro Alves <palves@redhat.com>
19079
19080 PR breakpoints/17431
19081 * gdb.base/execl-update-breakpoints.c: New file.
19082 * gdb.base/execl-update-breakpoints.exp: New file.
19083
0fec99e8
PA
190842014-10-01 Pedro Alves <palves@redhat.com>
19085
19086 * gdb.base/breakpoint-in-ro-region.c: New file.
19087 * gdb.base/breakpoint-in-ro-region.exp: New file.
19088
2ddf4301
SM
190892014-10-01 Simon Marchi <simon.marchi@ericsson.com>
19090
19091 * gdb.mi/mi-exit-code.exp: New file.
19092 * gdb.mi/mi-exit-code.c: New file.
19093
6a5f3f43
YQ
190942014-09-30 Yao Qi <yao@codesourcery.com>
19095
19096 * lib/prelink-support.exp (build_executable_own_libs): Error if
19097 the target isn't native.
19098
345bcc73
YQ
190992014-09-30 Yao Qi <yao@codesourcery.com>
19100
19101 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
19102 false.
19103
a25a5a45
PA
191042014-09-22 Pedro Alves <palves@redhat.com>
19105
19106 * gdb.threads/break-while-running.exp: New file.
19107 * gdb.threads/break-while-running.c: New file.
19108
00ba3162
YQ
191092014-09-19 Yao Qi <yao@codesourcery.com>
19110
19111 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
19112 Invoke test. Restart GDB with --readnow and invoke test again.
19113
c3b7b696
YQ
191142014-09-19 Yao Qi <yao@codesourcery.com>
19115
19116 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
19117 proc set_breakpoint_on_gcd_function. Invoke
19118 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
19119 invoke set_breakpoint_on_gcd_function again.
19120
2b4fd423
DE
191212014-09-18 Doug Evans <dje@google.com>
19122
19123 * gdb.dwarf2/symtab-producer.exp: New file.
19124
a5947601
SDJ
191252014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19126
19127 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
19128 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
19129 * gdb.base/global-var-nested-by-dso.c: Likewise.
19130 * gdb.base/global-var-nested-by-dso.exp: Likewise.
19131
91c19059
SDJ
191322014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19133 Pedro Alves <palves@redhat.com>
19134
19135 * gdb.base/watch-bitfields.exp: Pass string other than test file
19136 name to prepare_for_testing.
19137 (watch): New procedure.
19138 (expect_watchpoint): Use with_test_prefix.
19139 (top level): Factor out tests to ...
19140 (test_watch_location, test_regular_watch): ... these new
19141 procedures, and use with_test_prefix and gdb_continue_to_end.
19142
bb9d5f81
PP
191432014-09-16 Patrick Palka <patrick@parcs.ath.cx>
19144
19145 PR breakpoints/12526
19146 * gdb.base/watch-bitfields.exp: New file.
19147 * gdb.base/watch-bitfields.c: New file.
19148
635856f5
PA
191492014-09-16 Pedro Alves <palves@redhat.com>
19150
19151 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
19152 software and hardware addresses, not software address against
19153 itself.
19154
7280ceea
PA
191552014-09-16 Pedro Alves <palves@redhat.com>
19156
19157 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
19158 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
19159
428b16bd
PA
191602014-09-16 Pedro Alves <palves@redhat.com>
19161
19162 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
19163 files.
19164 * gdb.base/a2-run.exp: Remove all code guarded by istarget
19165 "*-*-vxworks*" throughout.
19166 * gdb.base/break.exp: Likewise.
19167 * gdb.base/default.exp: Likewise.
19168 * gdb.base/scope.exp: Likewise.
19169 * gdb.base/sepdebug.exp: Likewise.
19170 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
19171 throughout.
19172 * gdb.base/run.c: Likewise.
19173 * gdb.base/sepdebug.c: Likewise.
19174 * gdb.hp/gdb.aCC/run.c: Likewise.
19175 * gdb.reverse/until-reverse.c: Likewise.
19176 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
19177
666d413c
YQ
191782014-09-16 Yao Qi <yao@codesourcery.com>
19179
19180 * boards/local-remote-host-native.exp: New file.
19181
57cbd724
DE
191822014-09-14 Doug Evans <xdje42@gmail.com>
19183
19184 * gdb.threads/queue-signal.c (thread_count): New variable.
19185 (thread_count_mutex, thread_count_condvar): New variables.
19186 (incr_thread_count, wait_all_threads_running): New functions.
19187 (main): Wait for all threads to be in their thread functions.
19188
81219e53
DE
191892014-09-13 Doug Evans <xdje42@gmail.com>
19190
19191 * gdb.threads/queue-signal.c: New file.
19192 * gdb.threads/queue-signal.exp: New file.
19193
3714cea7
DE
191942014-09-13 Doug Evans <xdje42@gmail.com>
19195
19196 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
19197 be consistent with what default_gdb_init uses.
19198 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
19199 the plain text of the prompt. Add some logging printfs.
19200 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
19201
fa43b1d7
PA
192022014-09-12 Pedro Alves <palves@redhat.com>
19203
19204 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
19205 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
19206 * gdb.arch/i386-size-overlap.exp: Likewise.
19207 * gdb.arch/i386-size.exp: Likewise.
19208 * gdb.arch/i386-unwind.exp: Likewise.
19209 * gdb.base/a2-run.exp: Likewise.
19210 * gdb.base/break.exp: Likewise.
19211 * gdb.base/charset.exp: Likewise.
19212 * gdb.base/chng-syms.exp: Likewise.
19213 * gdb.base/commands.exp: Likewise.
19214 * gdb.base/dbx.exp: Likewise.
19215 * gdb.base/find.exp: Likewise.
19216 * gdb.base/funcargs.exp: Likewise.
19217 * gdb.base/jit-simple.exp: Likewise.
19218 * gdb.base/reread.exp: Likewise.
19219 * gdb.base/sepdebug.exp: Likewise.
19220 * gdb.base/step-bt.exp: Likewise.
19221 * gdb.cp/mb-inline.exp: Likewise.
19222 * gdb.cp/mb-templates.exp: Likewise.
19223 * gdb.objc/basicclass.exp: Likewise.
19224 * gdb.threads/killed.exp: Likewise.
19225
9d9bf2df
EBM
192262014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19227
19228 PR tdep/17379
19229 * gdb.arch/powerpc-stackless.S: New file.
19230 * gdb.arch/powerpc-stackless.exp: New file.
19231
1cf2f1b0
JK
192322014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19233
19234 * gdb.base/attach.c: Include unistd.h.
19235 (main): Call alarm. Add label postloop.
19236 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
19237 gdb_breakpoint, gdb_continue_to_breakpoint.
19238 (test_command_line_attach_run): Kill ${testpid} in one exit path.
19239
98880d46
PA
192402014-09-11 Pedro Alves <palves@redhat.com>
19241
19242 PR gdb/17347
19243 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
19244 * gdb.base/attach.exp (test_command_line_attach_run): New
19245 procedure.
19246 (top level): Call it.
19247
4c92ff2c
PA
192482014-09-11 Pedro Alves <palves@redhat.com>
19249
19250 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
19251 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
19252 (do_command_attach_tests): Use spawn_wait_for_attach.
19253 * gdb.base/solib-overlap.exp: Likewise.
19254 * gdb.multi/multi-attach.exp: Likewise.
19255 * gdb.python/py-prompt.exp: Likewise.
19256 * gdb.python/py-sync-interp.exp: Likewise.
19257 * gdb.server/ext-attach.exp: Likewise.
19258
3adc1a7d
GKB
192592014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
19260
19261 * gdb.fortran/array-element.exp: Remove unexpected "continue"
19262 command in testcase. Simplify testcase.
19263
96334934
JB
192642014-09-10 Joel Brobecker <brobecker@adacore.com>
19265
19266 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
19267
eb479039
JB
192682014-09-10 Joel Brobecker <brobecker@adacore.com>
19269
19270 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
19271
deede10c
JB
192722014-09-10 Joel Brobecker <brobecker@adacore.com>
19273
19274 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
19275
7828a5f5
JB
192762014-09-10 Joel Brobecker <brobecker@adacore.com>
19277
19278 * gdb.dwarf2/dynarr-ptr.c: New file.
19279 * gdb.dwarf2/dynarr-ptr.exp: New file.
19280
33aeebcf
MR
192812014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19282
19283 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
19284 of 30 rather than hardcoding 120 for a slow test case. Take the
19285 `gdb,timeout' target setting into account for this calculation.
19286 Don't extend the timeout for the test cases that don't need it.
19287
7b415901
MR
192882014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19289
19290 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
19291 a factor of 2 for a slow test case. Take the `gdb,timeout'
19292 target setting into account for this calculation.
19293 * gdb.reverse/until-precsave.exp: Increase the timeout by
19294 a factor of 15 and 3 respectively rather than adding 120
19295 for a pair of slow test cases. Take the `gdb,timeout'
19296 target setting into account for this calculation.
19297
4a40f85a
MR
192982014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19299
19300 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
19301 timeout, don't pass one down to gdb_expect.
19302 (gdb_expect): Rework timeout selection.
19303
09635af7
MR
193042014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19305
19306 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
19307 exception on timeout.
19308 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
19309 (gdbserver_start_extended): Catch any `gdbserver_start' error
19310 exceptions.
19311 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
19312 * lib/mi-support.exp (mi_gdb_target_load): Catch any
19313 `gdbserver_gdb_load' error exceptions.
19314
2bdd10b7
MR
193152014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19316
19317 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
19318 120 on waiting for the TCP socket to open.
19319
316935f0
DE
193202014-09-09 Doug Evans <xdje42@gmail.com>
19321
19322 * gdb.base/default.exp (show_conv_list): Add _caller_is,
19323 _caller_matches, _any_caller_is, _any_caller_matches.
19324
83740597
DE
193252014-09-09 Doug Evans <xdje42@gmail.com>
19326
19327 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
19328
4c122fc3
YQ
193292014-09-09 Yao Qi <yao@codesourcery.com>
19330
19331 * gdb.mi/mi-var-display.exp: Set print symbol off.
19332
a9f116cb
GKB
193332014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
19334
19335 PR gdb/17035
19336 * gdb.base/commands.exp: Add tests to verify user-defined
19337 commands with empty bodies.
19338 * gdb.python/py-cmd.exp: Test that we don't show user-defined
19339 python commands in `show user command`.
19340 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
19341 scheme commands in `show user command`.
19342
c75bd3a2
JK
193432014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19344
19345 PR python/17355
19346 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
19347 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
19348 * gdb.python/py-framefilter-invalidarg.exp: New file.
19349 * gdb.python/py-framefilter-invalidarg.py: New file.
19350
faa42425
DE
193512014-09-06 Doug Evans <xdje42@gmail.com>
19352
19353 PR 15276
19354 * gdb.python/py-caller-is.c: New file.
19355 * gdb.python/py-caller-is.exp: New file.
19356
474ca4f6
SDJ
193572014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
19358
19359 PR gdb/17235
19360 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
19361 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
19362
eb0b0463
SDJ
193632014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
19364
19365 PR fortran/17237
19366 * gdb.fortran/print-formatted.exp: New file.
19367 * gdb.fortran/print-formatted.f90: Likewise.
19368
5f3b99cf
SS
193692014-09-03 Sasha Smundak <asmundak@google.com>
19370
19371 * gdb.python/py-frame.exp: Test Frame.read_register.
19372
7d793aa9
SDJ
193732014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
19374
19375 PR python/16699
19376 * gdb.python/py-completion.exp: New file.
19377 * gdb.python/py-completion.py: Likewise.
19378
fb0576e9
DE
193792014-08-28 Doug Evans <dje@google.com>
19380
19381 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
19382 eax,etc. are live with values set by gdb and thus the compiler can't
19383 use them.
19384 * gdb.arch/i386-pseudo.c (main): Ditto.
19385
ee92b0dd
DE
193862014-08-27 Doug Evans <dje@google.com>
19387
19388 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
19389
6649db35
DE
193902014-08-25 Doug Evans <dje@google.com>
19391
19392 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
19393 (main): Ditto.
19394
564b7600
DE
193952014-08-25 Doug Evans <dje@google.com>
19396
19397 * gdb.threads/thread-execl.exp: #include <stdio.h>.
19398
3881fb67
YQ
193992014-08-24 Yao Qi <yao@codesourcery.com>
19400
19401 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
19402 symbol off.
19403 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
19404
a05a36a5
DE
194052014-08-22 Doug Evans <dje@google.com>
19406
19407 PR 17276
19408 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
19409 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
19410 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
19411
7c343b48
YQ
194122014-08-22 Yao Qi <yao@codesourcery.com>
19413
19414 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
19415 * gdb.python/py-finish-breakpoint2.exp: Likewise.
19416 * gdb.python/python.exp: Likewise. Use .py file on the host
19417 instead of the build.
19418
22fd09ae
JK
194192014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19420
19421 * gdb.threads/gcore-stale-thread.c: New file.
19422 * gdb.threads/gcore-stale-thread.exp: New file.
19423
a8454a7c
PA
194242014-08-21 Pedro Alves <palves@redhat.com>
19425
19426 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
19427 * gdb.base/gcore-relro-pie.exp: Likewise.
19428 * gdb.base/gcore-relro.exp: Likewise.
19429 * gdb.base/gcore.exp: Likewise.
19430 * gdb.base/print-symbol-loading.exp: Likewise.
19431 * gdb.threads/gcore-thread.exp: Likewise.
19432 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
19433
2a31c623
PA
194342014-08-20 Pedro Alves <palves@redhat.com>
19435 Jan Kratochvil <jan.kratochvil@redhat.com>
19436
19437 * Makefile.in (EXTRA_RULES, CC): New variables, get from
19438 configure.
19439 (EXPECT): Handle READ1 being set.
19440 (all): Depend on EXTRA_RULES.
19441 (check-read1, expect-read1, read1.so, read1): New rules.
19442 * README (Testsuite Parameters): Document the READ1 make variable.
19443 (Race detection): New section.
19444 * configure: Regenerate.
19445 * configure.ac: If build==host==target, and running under a
19446 GNU/glibc system, add read1 to the extra Makefile rules.
19447 (EXTRA_RULES): AC_SUBST it.
19448 * lib/read1.c: New file.
19449
d36430db
JB
194502014-08-20 Joel Brobecker <brobecker@adacore.com>
19451
19452 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
19453 the handling of variables declared as a typedef to an array
19454 which a DW_AT_data_location attribute.
19455
9a0dc9e3
PA
194562014-08-19 Andrew Burgess <aburgess@broadcom.com>
19457 Pedro Alves <palves@redhat.com>
19458
19459 PR symtab/14604
19460 PR symtab/14605
19461 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
19462 gdb_test.
19463
0718a8da
PA
194642014-08-19 Pedro Alves <palves@redhat.com>
19465
19466 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
19467
13b448cd
YQ
194682014-08-19 Yao Qi <yao@codesourcery.com>
19469
19470 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
19471 right line.
19472
1cbf5077
DB
194732014-08-18 David Blaikie <dblaikie@gmail.com>
19474
19475 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
19476
bf0fae19
JB
194772014-08-18 Joel Brobecker <brobecker@adacore.com>
19478
19479 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
19480 attribute in array range.
19481
3c8c5dcc
JB
194822014-08-18 Joel Brobecker <brobecker@adacore.com>
19483
19484 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
19485
e66d4446
SC
194862014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19487
19488 PR c++/17132
19489 * gdb.cp/pr17132.cc: New file.
19490 * gdb.cp/pr17132.exp: New file.
19491
940df408
SC
194922014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19493
19494 * gdb.python/py-xmethods.py (A_getarrayind)
19495 (E_method_char_worker.__call__, E_method_int_worker.__call__):
19496 Use 'print' with function call syntax.
19497 (E_method_matcher.match): Fix tab vs space indentation mixup.
19498
ebcc6c3a
YQ
194992014-08-15 Yao Qi <yao@codesourcery.com>
19500
19501 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
19502 false.
19503
775e0f04
YQ
195042014-08-15 Yao Qi <yao@codesourcery.com>
19505
19506 * gdb.cp/casts.exp: Set print symbol off.
19507 * gdb.cp/class2.exp: Likewise.
19508 * gdb.cp/overload.exp: Likewise.
19509 * gdb.cp/templates.exp: Likewise.
19510
d769e349
DE
195112014-08-11 Doug Evans <dje@google.com>
19512
19513 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
19514 (test_load_shlib): Update.
19515
20c6f1e1
YQ
195162014-08-09 Yao Qi <yao@codesourcery.com>
19517
19518 * gdb.base/display.exp: Invoke is_address_zero_readable.
19519 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
19520 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19521 * gdb.base/hbreak-unmapped.exp: Return if
19522 is_address_zero_readable returns true.
19523 * gdb.base/signest.exp: Likewise.
19524 * gdb.base/signull.exp: Likewise.
19525 * gdb.base/sigbpt.exp: Likewise.
19526 * gdb.guile/scm-disasm.exp: Do the test if
19527 is_address_zero_readable returns false.
19528 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
19529 * gdb.python/py-arch.exp: Likewise.
19530 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
19531 * lib/gdb.exp (is_address_zero_readable): New proc.
19532
5792e8e3
YQ
195332014-08-09 Yao Qi <yao@codesourcery.com>
19534
19535 PR testsuite/13443
19536 * gdb.mi/mi-var-display.exp: Make test messages unique.
19537
3cecbbbe
TT
195382014-08-04 Tom Tromey <tromey@redhat.com>
19539
19540 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
19541 target 0".
19542
00b51ff5
TT
195432014-08-04 Tom Tromey <tromey@redhat.com>
19544
19545 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
19546 "target_resume".
19547
6908c509
JB
195482014-08-01 Joel Brobecker <brobecker@adacore.com>
19549
19550 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
19551 inner_vla_struct_object_size.
19552 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
19553 as xfail.
19554
cc6563d2
PA
195552014-07-30 Pedro Alves <palves@redhat.com>
19556
19557 * gdb.threads/signal-command-handle-nopass.exp (test): Add
19558 comment.
19559
7e09a223
YQ
195602014-07-29 Yao Qi <yao@codesourcery.com>
19561
19562 PR gdb/17206
19563 * gdb.base/until-nodebug.exp: New.
19564
7ebdbe92
DE
195652014-07-28 Doug Evans <xdje42@gmail.com>
19566
19567 PR guile/17203
19568 * gdb.guile/scm-parameter.exp: Add tests for trying to create
19569 previously existing parameter, and previously ambiguously spelled
19570 parameter.
19571
fdb1adc6
WN
195722014-07-28 Will Newton <will.newton@linaro.org>
19573
19574 * gdb.base/varargs.exp: Remove KFAILs for ARM.
19575
186fcde0
DE
195762014-07-26 Ludovic Courtès <ludo@gnu.org>
19577 Doug Evans <xdje42@gmail.com>
19578
19579 PR guile/17146
19580 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
19581
70509625
PA
195822014-07-25 Pedro Alves <palves@redhat.com>
19583
19584 * gdb.threads/signal-command-handle-nopass.c: New file.
19585 * gdb.threads/signal-command-handle-nopass.exp: New file.
19586 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
19587 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
19588 * gdb.threads/signal-delivered-right-thread.c: New file.
19589 * gdb.threads/signal-delivered-right-thread.exp: New file.
19590
c3f814a1
PA
195912014-07-25 Pedro Alves <palves@redhat.com>
19592
19593 * gdb.base/double-prompt-target-event-error.exp
19594 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
19595 match.
19596 (cancel_pagination_in_target_event): Rework double prompt
19597 detection.
19598 * gdb.base/paginate-after-ctrl-c-running.exp
19599 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
19600 <return>' match.
19601 * gdb.base/paginate-bg-execution.exp
19602 (test_bg_execution_pagination_return)
19603 (test_bg_execution_pagination_cancel): Remove '-notransfer
19604 <return>' matches.
19605 * gdb.base/paginate-execution-startup.exp
19606 (test_fg_execution_pagination_return)
19607 (test_fg_execution_pagination_cancel): Remove '-notransfer
19608 <return>' matches.
19609 * gdb.base/paginate-inferior-exit.exp
19610 (test_paginate_inferior_exited): Remove '-notransfer <return>'
19611 match.
19612 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
19613 * lib/gdb.exp (pagination_prompt): Run text through
19614 string_to_regexp.
19615 (gdb_test_multiple): Match $pagination_prompt instead of
19616 "<return>".
19617 (string_to_regexp): Move to lib/gdb-utils.exp.
19618
e214cf6c
JK
196192014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19620
19621 * gdb.arch/amd64-entry-value-paramref.S: New file.
19622 * gdb.arch/amd64-entry-value-paramref.cc: New file.
19623 * gdb.arch/amd64-entry-value-paramref.exp: New file.
19624 * gdb.arch/amd64-optimout-repeat.S: New file.
19625 * gdb.arch/amd64-optimout-repeat.c: New file.
19626 * gdb.arch/amd64-optimout-repeat.exp: New file.
19627
17d0c5c8
JK
196282014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19629
19630 PR gdb/17170
19631 * gdb.base/statistics.exp: New file.
19632
b8b8facf
DE
196332014-07-17 Doug Evans <dje@google.com>
19634
74b49205 19635 PR gdb/17170
b8b8facf
DE
19636 * gdb.base/maint.exp: Update testing of per-command stats.
19637
1b5d0ab3
PA
196382014-07-16 Pedro Alves <palves@redhat.com>
19639
19640 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
19641 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
19642 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
19643 (tfile_write_buf): New functions.
19644 (add_memory_block): Rewrite using the above.
19645 (adjust_function_address): New function.
19646 (FUNCTION_ADDRESS): New macro.
19647 (write_basic_trace_file): Remove short_x local, and use
19648 tfile_write_16. Change type of func_addr local to unsigned long
19649 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
19650 here. Cast argument of add_memory_block to char pointer.
19651 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
19652 (main): Remove parameters.
19653 * gdb.trace/tfile.exp: Remove nowarnings.
19654
4d974e88
SM
196552014-07-15 Simon Marchi <simon.marchi@ericsson.com>
19656
19657 * gdb.base/debug-expr.exp: Test string evaluation with
19658 "debug expression" on.
19659
41e99568
PA
196602014-07-15 Pedro Alves <palves@redhat.com>
19661
19662 * gdb.base/reread.exp: Use clean_restart.
19663
487d9753
PL
196642014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
19665
19666 * gdb.arch/avr-flash-qualifer.c: New.
19667 * gdb.arch/avr-flash-qualifer.exp: New.
19668
cc1c52ad
PA
196692014-07-14 Pedro Alves <palves@redhat.com>
19670
19671 * gdb.base/paginate-after-ctrl-c-running.c: New file.
19672 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
19673
1e973570
PA
196742014-07-14 Pedro Alves <palves@redhat.com>
19675
19676 * gdb.base/double-prompt-target-event-error.c: New file.
19677 * gdb.base/double-prompt-target-event-error.exp: New file.
19678
93d6eb10
PA
196792014-07-14 Pedro Alves <palves@redhat.com>
19680
19681 PR gdb/17072
19682 * gdb.base/paginate-inferior-exit.c: New file.
19683 * gdb.base/paginate-inferior-exit.exp: New file.
19684
0017922d
PA
196852014-07-14 Pedro Alves <palves@redhat.com>
19686
19687 PR gdb/17072
19688 * gdb.base/paginate-bg-execution.c: New file.
19689 * gdb.base/paginate-bg-execution.exp: New file.
19690
94696ad3
PA
196912014-07-14 Pedro Alves <palves@redhat.com>
19692
19693 PR gdb/17072
19694 * gdb.base/paginate-execution-startup.c: New file.
19695 * gdb.base/paginate-execution-startup.exp: New file.
19696 * lib/gdb.exp (pagination_prompt): New global.
19697 (default_gdb_spawn): New procedure, factored out from
19698 default_gdb_spawn.
19699 (default_gdb_start): Adjust to call default_gdb_spawn.
19700 (gdb_spawn): New procedure.
19701
bd293940
PA
197022014-07-14 Pedro Alves <palves@redhat.com>
19703
19704 * lib/gdb.exp (gdb_assert): New procedure.
19705 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
19706
c933f875
PA
197072014-07-14 Pedro Alves <palves@redhat.com>
19708
19709 * gdb.base/execution-termios.c: New file.
19710 * gdb.base/execution-termios.exp: New file.
19711
d98b7a16
TT
197122014-07-14 Tom Tromey <tromey@redhat.com>
19713
19714 * gdb.cp/vla-cxx.cc: New file.
19715 * gdb.cp/vla-cxx.exp: New file.
19716
548740d6
TT
197172014-07-14 Tom Tromey <tromey@redhat.com>
19718
19719 * gdb.reverse/rerun-prec.c: New file.
19720 * gdb.reverse/rerun-prec.exp: New file.
19721
a25eb028
MR
197222014-07-12 Maciej W. Rozycki <macro@mips.com>
19723 Maciej W. Rozycki <macro@codesourcery.com>
19724
19725 * lib/gdb-utils.exp: New file.
19726 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
19727 inline `gdb_init_command' processing.
19728 (gdb_start_cmd): Likewise.
19729 * lib/mi-support.exp (mi_run_cmd): Likewise.
19730 * README: Document `gdb_init_command' and `gdb_init_commands'.
19731
218c2655
JK
197322014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19733
19734 Fix false FAIL running under a very long directory name.
19735 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
19736 and "set print elements 10000". Twice.
19737
5401fde3
YQ
197382014-07-11 Yao Qi <yao@codesourcery.com>
19739
19740 * gdb.base/exprs.exp: "set print symbol off".
19741
e76126e8
PA
197422014-07-11 Pedro Alves <palves@redhat.com>
19743
19744 * gdb.threads/kill.c: New file.
19745 * gdb.threads/kill.exp: New file.
19746
2d6f0de6
YQ
197472014-07-10 Yao Qi <yao@codesourcery.com>
19748
19749 * gdb.trace/tfile.c (write_basic_trace_file)
19750 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
19751 address written to trace file.
19752
7180e04a
PA
197532014-07-09 Pedro Alves <palves@redhat.com>
19754
19755 * gdb.base/attach-wait-input.exp: New file.
19756 * gdb.base/attach-wait-input.c: New file.
19757
9a9a7608
AB
197582014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
19759
19760 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
19761 setting up test structures.
19762 (main): Call new test function.
19763 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
19764 test function, continue into test function and walk test
19765 structures.
19766
161ac41e
YQ
197672014-07-02 Yao Qi <yao@codesourcery.com>
19768
19769 * gdb.trace/entry-values.c: Define labels 'foo_start' and
19770 'bar_start' at the beginning of functions 'foo' and 'bar'
19771 respectively.
19772 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
19773 instead of 'foo' and 'bar'.
19774
1f267ae3
MM
197752014-07-08 Markus Metzger <markus.t.metzger@intel.com>
19776
19777 * gdb.btrace/segv.exp: New.
19778 * gdb.btrace/segv.c: New.
19779
2b239efb
LM
197802014-07-02 Luis Machado <lgustavo@codesourcery.com>
19781
19782 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
19783 instruction.
19784
cf363f18
MW
197852014-06-30 Mark Wielaard <mjw@redhat.com>
19786
19787 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
19788 vulture, vilify, villar): New volatile array constants.
19789 (vindictive, vegetation): New const volatile array constants.
19790 * gdb.base/volatile.exp: Test volatile and const volatile array
19791 types.
19792
aebf9d24
AA
197932014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
19794
19795 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
19796 target lacks support for awatch, rwatch, or hbreak.
19797
b67a2c6f
YQ
197982014-06-27 Yao Qi <yao@codesourcery.com>
19799
19800 * gdb.multi/dummy-frame-restore.exp: New.
19801 * gdb.multi/dummy-frame-restore.c: New.
19802
aef92902
MM
198032014-06-25 Markus Metzger <markus.t.metzger@intel.com>
19804
19805 * gdb.btrace/gcore.exp: New.
19806
8e9db26e
PA
198072014-06-23 Pedro Alves <palves@redhat.com>
19808
19809 * gdb.base/watchpoint-reuse-slot.c: New file.
19810 * gdb.base/watchpoint-reuse-slot.exp: New file.
19811
70afc5b7
SC
198122014-06-23 Siva Chandra Reddy <sivachandra@google.com>
19813
19814 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
19815 progspace's filename in 'info', 'enable' and 'disable' command
19816 tests.
19817
b972bd9c
JK
198182014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
19819
19820 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
19821 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19822 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
19823
125f8a3d
GB
198242014-06-20 Gary Benson <gbenson@redhat.com>
19825
19826 * gdb.arch/i386-avx.exp: Fix include file location.
19827 * gdb.arch/i386-sse.exp: Likewise.
19828
3ed9baed
IB
198292014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
19830
19831 * gdb.dlang/expression.exp: New file.
19832
034f788c
PA
198332014-06-19 Pedro Alves <palves@redhat.com>
19834
19835 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
19836 out from ...
19837 (top level): ... here. Iterate running tests under different
19838 scheduler-locking settings.
19839
45371d0c
LM
198402014-06-18 Luis Machado <lgustavo@codesourcery.com>
19841
19842 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
19843 to DW_FORM_addr and use non-zero addresses.
19844
5d376983
SC
198452014-06-18 Siva Chandra Reddy <sivachandra@google.com>
19846
19847 PR gdb/17017
19848 * gdb.python/py-xmethods.cc: Add global function call counters and
19849 increment them in their respective functions. Remove "cout"
19850 statements.
19851 * gdb.python/py-xmethods.exp: Make tests check the global function
19852 call counters instead of depending on inferior IO.
19853
a1aa2221
LM
198542014-06-18 Don Breazeal <donb@codesourcery.com>
19855
19856 * gdb.base/foll-fork.exp (default_fork_parent_follow):
19857 Deleted procedure.
19858 (explicit_fork_parent_follow): Deleted procedure.
19859 (explicit_fork_child_follow): Deleted procedure.
19860 (test_follow_fork): New procedure.
19861 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 19862 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
19863 procedure calls.
19864
0fc05997
YQ
198652014-06-17 Yao Qi <yao@codesourcery.com>
19866
19867 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
19868 CP1252.
19869
70795c52
LM
198702014-06-17 Luis Machado <lgustavo@codesourcery.com>
19871
19872 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
19873 Initialize ptr and S explicitly.
19874 (skip_type_update_when_not_use_rtti_test): Likewise.
19875
6be47f0c
KS
198762014-06-16 Keith Seitz <keiths@redhat.com>
19877
19878 PR mi/15863
19879 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
19880 the inferior is started.
19881
d03de421
PA
198822014-06-16 Pedro Alves <palves@redhat.com>
19883
19884 * gdb.base/break-main-file-remove-fail.c: New file.
19885 * gdb.base/break-main-file-remove-fail.exp: New file.
19886 * gdb.base/break-unload-file.exp: Use build_executable instead of
19887 prepare_for_testing.
19888 (test_break): New parameter "initial_load". Handle it.
19889 (top level): Add initial_load cmdline/file axis.
19890
f9579b99
TT
198912014-06-12 Tom Tromey <tromey@redhat.com>
19892
19893 * gdb.base/completion.exp: Don't use directory name in test.
19894
3657956b
GB
198952014-06-09 Gary Benson <gbenson@redhat.com>
19896
19897 * gdb.base/sigall.c [Functions to send signals]: Reorder to
19898 separate the always-available ANSI-standard signals from the
19899 signals that require checking.
19900 (main): Likewise.
19901 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
19902 Likewise.
19903 (main): Likewise.
19904
4186eb54
KS
199052014-06-07 Keith Seitz <keiths@redhat.com>
19906
19907 Revert:
19908 PR c++/16253
19909 * gdb.cp/var-tag.cc: New file.
19910 * gdb.cp/var-tag.exp: New file.
19911 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19912 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19913 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19914 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19915
25326a28 199162014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
19917
19918 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
19919
829155c9
PA
199202014-06-06 Pedro Alves <palves@redhat.com>
19921
19922 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
19923 in target debug output instead of looking at RSP packets,
19924 disabling the test on any target that uses hardware stepping.
19925 Update comments.
19926
61c8d22e
PA
199272014-06-06 Pedro Alves <palves@redhat.com>
19928
19929 * gdb.base/break-unload-file.exp: Fix typo.
19930
d9a47287
YQ
199312014-06-06 Yao Qi <yao@codesourcery.com>
19932
19933 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
19934 from "jit_function" to "^jit_function".
19935
e5e01dbf
YQ
199362014-06-06 Yao Qi <yao@codesourcery.com>
19937
19938 * gdb.base/async.c (foo): Add one statement.
19939 * gdb.base/async.exp: Get the next instruction address and
19940 match the output of "nexti" by instruction address. Match
19941 the hex address in the output of "finish".
19942
73ba372c
GB
199432014-06-06 Gary Benson <gbenson@redhat.com>
19944
19945 * gdb.base/call-signals.c: Remove preprocessor conditionals
19946 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
19947 SIGSEGV and SIGTERM.
19948 * gdb.base/sigall.c: Likewise.
19949 * gdb.base/unwindonsignal.c: Likewise.
19950 * gdb.reverse/sigall-reverse.c: Likewise.
19951
831517df
YQ
199522014-06-06 Yao Qi <yao@codesourcery.com>
19953
19954 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
19955 readable, skip the test.
19956
b8b91e98
YQ
199572014-06-06 Yao Qi <yao@codesourcery.com>
19958
19959 * gdb.threads/staticthreads.c (thread_function): Move the line
19960 setting breakpoint on forward.
19961 * gdb.threads/staticthreads.exp: Update comments.
19962
fb934770
LC
199632014-06-05 Ludovic Courtès <ludo@gnu.org>
19964
19965 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
19966 "history-append! type error".
19967
6ef284bd
SM
199682014-06-05 Simon Marchi <simon.marchi@ericsson.com>
19969
19970 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
19971 erroneous dprintf expected input.
19972
a872e241
DE
199732014-06-04 Doug Evans <xdje42@gmail.com>
19974
19975 * gdb.guile/scm-generics.exp: Delete.
19976
16f691fb
DE
199772014-06-04 Doug Evans <xdje42@gmail.com>
19978
19979 * gdb.guile/scm-breakpoint.exp: Update.
19980 Add tests for breakpoint registration.
19981
012370f6
TT
199822014-06-04 Tom Tromey <tromey@redhat.com>
19983
19984 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
19985 VLA-in-union.
19986 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
19987 inner_vla_struct, vla_union types. Initialize objects of those
19988 types and compute their sizes.
19989
9f5a4cef
HZ
199902014-06-04 Nathan Sidwell <nathan@codesourcery.com>
19991 Hui Zhu <hui@codesourcery.com>
19992
19993 * gdb.base/fileio.exp: Add test for shell not available as well as
19994 available.
19995 * gdb.base/fileio.c (test_system): Check for shell twice.
19996
90a45c4d
YQ
199972014-06-04 Yao Qi <yao@codesourcery.com>
19998
19999 * gdb.base/auto-connect-native-target.exp: Remove redundant
20000 space from the regexp pattern.
20001
70017e41
YQ
200022014-06-04 Yao Qi <yao@codesourcery.com>
20003
20004 * gdb.base/default.exp: Replace "child" with "native" in
20005 regexp pattern.
20006
883964a7
SC
200072014-06-03 Siva Chandra Reddy <sivachandra@google.com>
20008
20009 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
20010 * gdb.python/py-xmethods.exp: New tests to test xmethods.
20011 * gdb.python/py-xmethods.py: Python script supporting the
20012 new testcase and tests.
20013
ef370185
JB
200142014-06-03 Joel Brobecker <brobecker@adacore.com>
20015 Pedro Alves <palves@redhat.com>
20016
20017 PR breakpoints/17000
20018 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
20019 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
20020
1e2ccb61
BM
200212014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
20022
20023 * gdb.base/subst.exp: Add tests to verify partial path matching
20024 output.
20025
c6ec5ab2
PA
200262014-06-03 Pedro Alves <palves@redhat.com>
20027
20028 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
20029 target that doesn't use software single-stepping.
20030
835c559f
PA
200312014-06-03 Pedro Alves <palves@redhat.com>
20032
20033 PR breakpoints/17000
20034 * gdb.base/sss-bp-on-user-bp-2.c: New file.
20035 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
20036
06eb1586
DE
200372014-06-02 Doug Evans <xdje42@gmail.com>
20038
20039 * gdb.guile/scm-parameter.exp: New file.
20040
e698b8c4
DE
200412014-06-02 Doug Evans <xdje42@gmail.com>
20042
20043 * gdb.guile/scm-cmd.c: New file.
20044 * gdb.guile/scm-cmd.exp: New file.
20045
ded03782
DE
200462014-06-02 Doug Evans <xdje42@gmail.com>
20047
20048 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
20049 pretty-printer lookup.
20050 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
20051 (make-pp_s-printer): Call it.
20052 (make-pretty-printer-from-dict): New function.
20053 (lookup-pretty-printer-maker-from-dict): New function.
20054 (*pretty-printer*): Simplify.
20055 (make-objfile-pp_s-printer): New function.
20056 (install-objfile-pretty-printers!): New function.
20057 (make-progspace-pp_s-printer): New function.
20058 (install-progspace-pretty-printers!): New function.
20059 * gdb.guile/scm-progspace.c: New file.
20060 * gdb.guile/scm-progspace.exp: New file.
20061
41fac0cf
PA
200622014-06-02 Pedro Alves <palves@redhat.com>
20063
20064 * gdb.base/dprintf-bp-same-addr.c: New file.
20065 * gdb.base/dprintf-bp-same-addr.exp: New file.
20066
96ae5695
EBM
200672014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20068
20069 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
20070 * gdb.arch/powerpc-power.s: Likewise.
20071
da02b3a8
JB
200722014-06-02 Joel Brobecker <brobecker@adacore.com>
20073
20074 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
20075
c72b2e7b
YQ
200762014-06-01 Yao Qi <yao@codesourcery.com>
20077
20078 * gdb.base/watchpoint.exp (test_watch_location): Check null
20079 pointer can be dereferenced. If not, do the test, otherwise
20080 skip it.
20081
53e8a631
AB
200822014-05-30 Andrew Burgess <aburgess@broadcom.com>
20083
20084 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
20085 results.
20086 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
20087
938f0e2f
AB
200882014-05-30 Andrew Burgess <aburgess@broadcom.com>
20089
20090 * gdb.arch/amd64-invalid-stack-middle.S: New file.
20091 * gdb.arch/amd64-invalid-stack-middle.c: New file.
20092 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
20093 * gdb.arch/amd64-invalid-stack-top.c: New file.
20094 * gdb.arch/amd64-invalid-stack-top.exp: New file.
20095
9ba6657a
PA
200962014-05-30 Pedro Alves <palves@redhat.com>
20097
20098 PR breakpoints/17000
20099 * gdb.base/sss-bp-on-user-bp.c: New file.
20100 * gdb.base/sss-bp-on-user-bp.exp: New file.
20101
522c09bf
DB
201022014-05-30 David Blaikie <dblaikie@gmail.com>
20103
20104 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
20105 gnu_inline semantics via attribute.
20106 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
20107 source explicitly specifies the required semantics.
20108
bf4ef81e
MR
201092014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
20110
20111 * gdb.reverse/sigall-reverse.exp: Fix a typo.
20112
329ea579
PA
201132014-05-29 Pedro Alves <palves@redhat.com>
20114 Tom Tromey <tromey@redhat.com>
20115
20116 * gdb.base/async-shell.exp: Don't enable target-async.
20117 * gdb.base/async.exp
20118 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
20119 parameter. Adjust.
20120 (top level): Don't test with "target-async".
20121 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
20122 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
20123 * gdb.base/inferior-died.exp: Don't enable target-async.
20124 * gdb.base/interrupt-noterm.exp: Likewise.
20125 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
20126 * gdb.mi/mi-nonstop-exit.exp: Likewise.
20127 * gdb.mi/mi-nonstop.exp: Likewise.
20128 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
20129 * gdb.mi/mi-nsintrall.exp: Likewise.
20130 * gdb.mi/mi-nsmoribund.exp: Likewise.
20131 * gdb.mi/mi-nsthrexec.exp: Likewise.
20132 * gdb.mi/mi-watch-nonstop.exp: Likewise.
20133 * gdb.multi/watchpoint-multi.exp: Adjust comment.
20134 * gdb.python/py-evsignal.exp: Don't enable target-async.
20135 * gdb.python/py-evthreads.exp: Likewise.
20136 * gdb.python/py-prompt.exp: Likewise.
20137 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
20138 * gdb.server/solib-list.exp: Don't enable target-async.
20139 * gdb.threads/thread-specific-bp.exp: Likewise.
20140 * lib/mi-support.exp: Adjust to use mi-async.
20141
fd664c91
PA
201422014-05-29 Pedro Alves <palves@redhat.com>
20143
20144 PR gdb/13860
20145 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
20146 reason, even in sync mode.
20147
251bde03
PA
201482014-05-29 Pedro Alves <palves@redhat.com>
20149 Hui Zhu <hui@codesourcery.com>
20150
20151 PR PR15693
20152 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
20153 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
20154 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
20155 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
20156
7f3c0343
JB
201572014-05-28 Joel Brobecker <brobecker@adacore.com>
20158
20159 * config/monitor.exp (gdb_target_monitor): Replace use of
20160 "set remotebaud" by "set serial baud".
20161
b2715b27
AW
201622014-05-26 Andy Wingo <wingo@igalia.com>
20163
20164 * gdb.guile/scm-breakpoint.exp:
20165 * gdb.guile/scm-gsmob.exp: Update to use plain old object
20166 properties instead of gdb-object-properties.
20167
498a4489
YQ
201682014-05-26 Yao Qi <yao@codesourcery.com>
20169
20170 * gdb.server/no-thread-db.exp: Specify source file name
20171 explicitly when setting a breakpoint.
20172
589fdceb
MM
201732014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20174
20175 * gdb.btrace/vdso.c: New.
20176 * gdb.btrace/vdso.exp: New.
20177
e9089e05
MM
201782014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20179
20180 * gdb.base/gcore.exp (capture_command_output): Move ...
20181 * lib/gdb.exp (capture_command_output): ... here.
20182
67b5c0c1
MM
201832014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20184
20185 * gdb.btrace/data.exp: Test memory access during btrace replay.
20186
a2199296
SM
201872014-05-22 Simon Marchi <simon.marchi@ericsson.com>
20188
20189 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
20190
17b2616c
PA
201912014-05-21 Pedro Alves <palves@redhat.com>
20192
20193 PR gdb/13860
20194 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
20195 (top level): Test that output related to execution commands is
20196 sent to the console with CLI commands, but not with MI commands.
20197 Test that breakpoint events are always mirrored to the console.
20198 Also expect the new source line to be output after a "next" in
20199 async mode too. Make it a pass/fail test.
20200 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
20201 output.
20202 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
20203
5166082f
PA
202042014-05-21 Pedro Alves <palves@redhat.com>
20205
20206 * gdb.base/list.exp (build_pattern, test_list): New procedures.
20207 Use them to test variations of "list" after reaching a breakpoint.
20208 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
20209 Test "list" with listsize 10 after reaching a breakpoint.
20210 * gdb.python/python.exp (decode_line current location line
20211 number): Adjust expected line number.
20212
2f25d70f
SM
202132014-05-21 Simon Marchi <simon.marchi@ericsson.com>
20214
20215 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
20216 behavior for $args, pass it directly to "run".
20217
ff604a67
MR
202182014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
20219
20220 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
20221 30000 to 65536.
20222
6a3cb8e8
PA
202232014-05-21 Pedro Alves <palves@redhat.com>
20224
20225 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
20226 auto-connect-native-target off".
20227 * gdb.base/auto-connect-native-target.c: New file.
20228 * gdb.base/auto-connect-native-target.exp: New file.
20229
4ebfc96e
PA
202302014-05-21 Pedro Alves <palves@redhat.com>
20231
20232 * gdb.base/default.exp: Test "target native" instead of "target
20233 child".
20234
36d46afb
MW
202352014-05-21 Mark Wielaard <mjw@redhat.com>
20236
20237 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
20238
5876f503
JK
202392014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20240
20241 Fix TLS access for -static -pthread.
20242 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
20243 <HAVE_TLS> (thread_function, main): Initialize it.
20244 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
20245 Add clean_restart.
20246 <$have_tls != "">: Check TLSVAR.
20247
0256a6ac
PA
202482014-05-21 Pedro Alves <palves@redhat.com>
20249
20250 * gdb.base/dcache-line-read-error.c: New.
20251 * gdb.base/dcache-line-read-error.exp: New.
20252
936d2992
PA
202532014-05-20 Pedro Alves <palves@redhat.com>
20254
20255 * gdb.base/compare-sections.c: New file.
20256 * gdb.base/compare-sections.exp: New file.
20257
802e8e6d
PA
202582014-05-20 Pedro Alves <palves@redhat.com>
20259
20260 * gdb.base/break-idempotent.c: New file.
20261 * gdb.base/break-idempotent.exp: New file.
20262
e59fa00f
MM
202632014-05-20 Markus Metzger <markus.t.metzger@intel.com>
20264
20265 * gdb.btrace/nohist.exp: New.
20266
8b696e31
YQ
202672014-05-20 Yao Qi <yao@codesourcery.com>
20268
20269 * lib/gdb.exp (gdb_init): Set timeout if test file is under
20270 gdb.reverse directory and gdb_reverse_timeout exists in board
20271 setting.
20272 * README: Document gdb_reverse_timeout.
20273
73c9764f
YQ
202742014-05-20 Yao Qi <yao@codesourcery.com>
20275
20276 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
20277 'test_file_name'. Treat args as a string instead of a list.
20278 (gdb_init): Rename argument 'args' by 'test_file_name'.
20279
f1f4348a
JK
202802014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
20281
20282 * gdb.arch/powerpc-power.exp: New file.
20283 * gdb.arch/powerpc-power.s: New file.
20284
0dbe70ce
DE
202852014-05-16 Doug Evans <dje@google.com>
20286
20287 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
20288 * gdb.base/completion.exp: Check that all expected files exist
20289 before doing file completion.
0dbe70ce 20290
8d551b02
DE
202912014-05-16 Doug Evans <dje@google.com>
20292
20293 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
20294 Update.
20295 (do_syscall_tests_without_xml): Update.
20296
73eb7709
PA
202972014-05-16 Pedro Alves <palves@redhat.com>
20298
20299 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
20300 instead of "unknown output after running".
20301
3fae92fc
YQ
203022014-05-16 Yao Qi <yao@codesourcery.com>
20303
20304 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
20305 file1.txt from host at the end.
20306 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20307
c2b2ccc5
DE
203082014-05-15 Doug Evans <dje@google.com>
20309
20310 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
20311 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
20312 loading file. Add test for TU lookup.
20313
8c217a4b
SM
203142014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20315
20316 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
20317 calling "-exec-arguments" or "set args" before running the
20318 inferior.
20319
3deb39c6
SM
203202014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20321
20322 * lib/mi-support.exp (mi_expect_stop): Expect message for
20323 inferiors that exit with non-zero exit code.
20324
71a79f8c
YQ
203252014-05-14 Yao Qi <yao@codesourcery.com>
20326
20327 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
20328 match absolute path on remote host.
20329 (test_file_list_exec_source_files): Remove "/" from the
20330 pattern.
20331
f23fcd46
YQ
203322014-05-14 Yao Qi <yao@codesourcery.com>
20333
20334 * boards/local-remote-host-notty.exp (${board}_file): New
20335 proc.
20336
9404b58f
KM
203372014-05-07 Kyle McMartin <kyle@redhat.com>
20338
20339 Pushed by Joel Brobecker <brobecker@adacore.com>.
20340 * gdb.arch/aarch64-atomic-inst.c: New file.
20341 * gdb.arch/aarch64-atomic-inst.exp: New file.
20342
5e45f04c
YQ
203432014-05-07 Yao Qi <yao@codesourcery.com>
20344
20345 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
20346 in current context" too.
20347
c888a17d
KS
203482014-05-05 Keith Seitz <keiths@redhat.com>
20349
20350 * gdb.linespec/ls-dollar.exp: Add test for linespec
20351 file:convenience_variable.
20352
290a839c
YQ
203532014-05-05 Yao Qi <yao@codesourcery.com>
20354
20355 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
20356 traceframes into tfile and ctf trace files. Read data from
20357 trace file and test collected data.
20358 (gdb_collect_locals_test): Likewise.
20359 (gdb_unavailable_registers_test): Likewise.
20360 (gdb_unavailable_floats): Likewise.
20361 (gdb_collect_globals_test): Likewise.
20362 (top-level): Append "ctf" to trace_file_targets if GDB
20363 supports.
20364
b5262cd0
YQ
203652014-05-05 Yao Qi <yao@codesourcery.com>
20366
20367 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
20368 code to ...
20369 (gdb_collect_args_test_1): ... it. New proc.
20370 (gdb_collect_locals_test): Move some code to ...
20371 (gdb_collect_locals_test_1): ... it. New proc.
20372 (gdb_unavailable_registers_test): Move some code to ...
20373 (gdb_unavailable_registers_test_1): ... it. New proc.
20374 (gdb_unavailable_floats): Move some code to ...
20375 (gdb_unavailable_floats_1): ... it. New proc.
20376
30a1e6cc
SDJ
203772014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20378
20379 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
20380 probes to test for bitness recognition.
20381 * gdb.arch/amd64-stap-optional-prefix.exp
20382 (test_probe_value_without_reg): New procedure.
20383 Add code to test for different kinds of bitness.
20384
f33da99a
SDJ
203852014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20386
20387 PR breakpoints/16889
20388 * gdb.arch/amd64-stap-optional-prefix.S: New file.
20389 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20390
5b80f00d
PA
203912014-05-01 Pedro Alves <palves@redhat.com>
20392
20393 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
20394 gdb_file_cmd if no file is specified.
20395 * boards/native-extended-gdbserver.exp (gdb_load): Use the
20396 last_loaded_file to set the remote exec-file.
20397
f8c2a73c
PA
203982014-05-01 Pedro Alves <palves@redhat.com>
20399
20400 * boards/local-remote-host.exp: New file.
20401
be6e8ac7
PA
204022014-05-01 Pedro Alves <palves@redhat.com>
20403
20404 * boards/local-remote-host.exp: Rename to ...
20405 * boards/local-remote-host-notty.exp: ... this.
20406
cac0dc8f
JB
204072014-04-28 Joel Brobecker <brobecker@adacore.com>
20408
20409 * gdb.ada/dyn_arrayidx: New testcase.
20410
9730e6cc
YQ
204112014-04-26 Yao Qi <yao@codesourcery.com>
20412
20413 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
20414 and compute the length of function main. Save it in
20415 $main_length.
20416 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
20417 (top-level): Use gdb_compile to compile objects into
20418 executable and restart GDB. Remove invocation to
20419 prepare_for_testing.
20420
7ae1a6a6
PA
204212014-04-25 Simon Marchi <simon.marchi@ericsson.com>
20422 Pedro Alves <palves@redhat.com>
20423
20424 PR server/16255
20425 * gdb.multi/multi-attach.c: New file.
20426 * gdb.multi/multi-attach.exp: New file.
20427
4082afcc
PA
204282014-04-25 Pedro Alves <palves@redhat.com>
20429
20430 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
20431 user.
20432 (top level): Test that "set remote conditional-breakpoints-packet
20433 off" works as intended.
20434 * gdb.base/dprintf.exp: Test that "set remote
20435 breakpoint-commands-packet off" works as intended.
20436 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
20437 New function.
20438 (top level): Call it.
20439 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
20440 remote fast-tracepoints-packet off" works as intended.
20441 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
20442 * lib/gdb.exp (gdb_is_target_remote): ... here.
20443
2abc3f8d
DB
204442014-04-24 David Blaikie <dblaikie@gmail.com>
20445
20446 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
20447 ensure clang would not discard them.
20448 * gdb.base/gdbvars.c: Ditto.
20449 * gdb.base/memattr.c: Ditto.
20450 * gdb.base/whatis.c: Ditto.
20451 * gdb.python/py-prettyprint.c: Ditto.
20452 * gdb.trace/actions.c: Ditto.
20453 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
20454 ensure clang would not discard it.
20455
bfd39632
DB
204562014-04-24 David Blaikie <dblaikie@gmail.com>
20457
20458 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
20459 clang to emit the full definition of type required by the test
20460 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
20461
22842ff6
DB
204622014-04-24 David Blaikie <dblaikie@gmail.com>
20463
20464 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
20465 coax Clang into emitting the definition of the type.
20466 * gdb.cp/pr10728-x.h (y): Ditto.
20467 * gdb.cp/pr10728-y.cc (y): Ditto.
20468
c2e827ad
DB
204692014-04-24 David Blaikie <dblaikie@gmail.com>
20470
20471 * gdb.base/label.exp: XFAIL label related tests under Clang.
20472 * gdb.cp/cplabel.exp: Ditto.
20473 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
20474 under Clang those using labels.
20475
4c2d33e7
YQ
204762014-04-25 Yao Qi <yao@codesourcery.com>
20477
20478 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
20479 double_label.
20480 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
20481 partial_label and double_label.
20482
56083b99
DB
204832014-04-24 David Blaikie <dblaikie@gmail.com>
20484
20485 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
20486
25d4e99d
DB
204872014-04-24 David Blaikie <dblaikie@gmail.com>
20488
20489 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
20490 of the function to work across GCC and Clang.
20491 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
20492 pointer types (const void ** const V void **).
20493
01f9f808
MS
204942014-04-24 Michael Sturm <michael.sturm@mintel.com>
20495 Walfred Tedeschi <walfred.tedeschi@intel.com>
20496
20497 * Makefile.in (EXECUTABLES): Added i386-avx512.
20498 * gdb.arch/i386-avx512.c: New file.
20499 * gdb.arch/i386-avx512.exp: Likewise.
20500
4b48d439
KS
205012014-04-23 Keith Seitz <keiths@redhat.com>
20502
20503 * lib/mi-support.exp (mi_list_breakpoints): Delete.
20504 (mi_make_breakpoint_table): New procedure.
20505 (mi_create_breakpoint): Use mi_make_breakpoint
20506 and return the result.
20507 (mi_make_breakpoint): New procedure.
20508 (mi_build_kv_pairs): New procedure.
20509
20510 * gdb.mi/mi-break.exp: Remove unused globals,
20511 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
20512 All callers updated.
20513 * gdb.mi/mi-dprintf.exp: Use variable to track command
20514 number.
20515 Update all callers of mi_create_breakpoint and use
20516 mi_make_breakpoint_table.
20517 Remove any unused global variables.
20518 * gdb.mi/mi-nonstop.exp: Likewise.
20519 * gdb.mi/mi-nsintrall.exp: Likewise.
20520 * gdb.mi/mi-nsmoribund.exp: Likewise.
20521 * gdb.mi/mi-nsthrexec.exp: Likewise.
20522 * gdb.mi/mi-reverse.exp: Likewise.
20523 * gdb.mi/mi-simplerun.exp: Likewise.
20524 * gdb.mi/mi-stepn.exp: Likewise.
20525 * gdb.mi/mi-syn-frame.exp: Likewise.
20526 * gdb.mi/mi-until.exp: Likewise.
20527 * gdb.mi/mi-var-cp.exp: Likewise.
20528 * gdb.mi/mi-var-display.exp: Likewise.
20529 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
20530 * gdb.mi/mi2-var-child.exp: Likewise.
20531 * gdb.mi/mi-vla-c99.exp: Likewise.
20532 * lib/mi-support.exp: Likewise.
20533
20534 From Ian Lance Taylor <iant@cygnus.com>:
20535 * lib/gdb.exp (parse_args): New procedure.
20536
08351840
PA
205372014-04-23 Pedro Alves <palves@redhat.com>
20538
20539 * gdb.base/break-unload-file.c: New file.
20540 * gdb.base/break-unload-file.exp: New file.
20541 * gdb.base/sym-file-lib.c (baz): New function.
20542 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
20543 field.
20544 (load): Store the segment's mapped size.
20545 (unload): New function.
20546 (unload_shlib): New function.
20547 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
20548 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
20549 set a breakpoint at baz, and call it.
20550 * gdb.base/sym-file.exp: New tests for stale breakpoint
20551 instructions.
20552
076855f9
PA
205532014-04-23 Pedro Alves <palves@redhat.com>
20554
20555 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
20556 * gdb.base/hbreak-in-shr-unsupported.c: New file.
20557 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
20558 * gdb.base/hbreak-unmapped.c: New file.
20559 * gdb.base/hbreak-unmapped.exp: New file.
20560 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
20561 * lib/gdb.exp (gdb_is_target_remote): ... here.
20562
483805cf
PA
205632014-04-22 Pedro Alves <palves@redhat.com>
20564
20565 * gdb.base/consecutive-step-over.c: New file.
20566 * gdb.base/consecutive-step-over.exp: New file.
20567
06d97543
PA
205682014-04-22 Pedro Alves <palves@redhat.com>
20569
20570 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
20571 instead of send_gdb/gdb_expect.
20572
b4429ea2
YQ
205732014-04-22 Yao Qi <yao@codesourcery.com>
20574
20575 * lib/trace-support.exp (generate_tracefile): New procedure.
20576 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
20577 return 0.
20578 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
20579 if generate_tracefile returns 1.
20580
51d48146
PA
205812014-04-18 Tom Tromey <palves@redhat.com>
20582 Pedro alves <tromey@redhat.com>
20583
20584 PR backtrace/15558
20585 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
20586 with a backtrace limit.
20587 * gdb.python/py-frame-inline.exp: Test running to an inline
20588 function with a backtrace limit, and printing the newest frame.
20589 * gdb.python/py-frame-inline.c (main): Call f.
20590
bd1dce5f
MS
205912014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20592
20593 * gdb.java/jnpe.exp: Drop srcdir from untested path.
20594
40d1a503
MS
205952014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20596
20597 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
20598 Drop prefix from unsupported source file path.
20599
389b98f7
YQ
206002014-04-17 Yao Qi <yao@codesourcery.com>
20601
20602 * lib/gdb.exp (with_target_charset): New proc.
20603 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
20604 with_target_charset.
20605 (test_print_strings): Likewise.
20606 (test_repeat_bytes): Likewise.
20607 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
20608 for some tests.
20609
22869d73
KS
206102014-04-16 Keith Seitz <keiths@redhat.com>
20611
20612 PR gdb/15827
20613 * gdb.dwarf2/corrupt.c: New file.
20614 * gdb.dwarf2/corrupt.exp: New file.
20615
c4f87ca6
KS
206162014-04-16 Keith Seitz <keiths@redhat.com>
20617
20618 PR c++/16597
20619 * gdb.cp/namelessclass.cc: New file.
20620 * gdb.cp/namelessclass.exp: New file.
20621 * gdb.cp/namelessclass.S: New file.
20622
ab19de87
DE
206232014-04-16 Doug Evans <dje@google.com>
20624
20625 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
20626 Add comment.
20627 (gdbserver_default_get_comm_port): New function.
20628 (gdbserver_start): Check if board file provided
20629 "gdbserver,get_comm_port" and use it if so.
20630 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
20631 (gdb,socketport): Set to "stdio".
20632 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
20633 (stdio_gdbserver_template): Delete.
20634 (${board}_get_remote_address): Update.
20635 (${board}_build_remote_cmd): Delete.
20636 (${board}_get_comm_port): New function.
20637 (${board}_spawn): Update.
20638 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
20639 Delete.
20640 (${board}_get_remote_address): Update.
20641 (${board}_get_comm_port): New function.
20642
fc98a809
AB
206432014-04-16 Andrew Burgess <aburgess@broadcom.com>
20644
20645 * gdb.base/memattr.exp: Improve regexps to handle memory regions
20646 appearing in any order.
20647
87fd9e6e
DE
206482014-04-15 Doug Evans <dje@google.com>
20649
20650 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
20651 uninitialized value of "description".
20652
099fc3ea
KS
206532014-04-15 Keith Seitz <keiths@redhat.com>
20654
20655 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
20656 Remove unused globals.
20657 (test_running_the_program): Likewise.
20658 (test_controlled_execution): Likewise.
20659 (test_controlling_breakpoints): Likewise.
20660 (test_program_termination): Likewise.
20661
5da151d4
KS
206622014-04-15 Keith Seitz <keiths@redhat.com>
20663
20664 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
20665 unused globals.
20666 (test_rbreak_creation_and_listing): Likewise.
20667 (test_ignore_count): Likewise.
20668 (test_error): Likewise.
20669
35e5d2f0
PA
206702014-04-15 Pedro Alves <palves@redhat.com>
20671
20672 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
20673 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
20674 sym-file-loader.c.
20675 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20676 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20677 to sym-file-loader.c.
20678 (struct library): Forward declare.
20679 (load_shlib, lookup_function): Change prototypes.
20680 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20681 (translate_offset): Remove declarations.
20682 (get_text_addr): New declaration.
20683 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
20684 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
20685 sym-file-loader.h.
20686 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20687 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20688 here from sym-file-loader.h.
20689 (struct library): New structure.
20690 (load_shlib, lookup_function): Change prototypes and adjust to
20691 work with a struct library.
20692 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20693 (translate_offset): Make static.
20694 (get_text_addr): New function.
20695 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
20696
eb4c1710
PA
206972014-04-15 Pedro Alves <palves@redhat.com>
20698
20699 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
20700
2d1baf52
PA
207012014-04-15 Pedro Alves <palves@redhat.com>
20702
20703 * gdb.base/sym-file-loader.c: Include <limits.h>.
20704 (SELF_LINK): New define.
20705 (get_origin): New function.
20706 (load_shlib): Use it.
20707 * gdb.base/sym-file.exp: Don't early return if the target is
20708 remote. Use runto_main, and issue fail is that fails. Use
20709 gdb_load_shlibs.
20710 (shlib_name): Delete.
20711 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
20712
7dd6df01
PA
207132014-04-15 Pedro Alves <palves@redhat.com>
20714
20715 * gdb.base/sym-file.exp: Remove regex characters from test
20716 message. Don't refer to breakpoint numbers in test messages.
20717
b50c8614
KS
207182014-04-14 Keith Seitz <keiths@redhat.com>
20719
20720 PR c++/16253
20721 * gdb.cp/var-tag.cc: New file.
20722 * gdb.cp/var-tag.exp: New file.
20723 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20724 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20725 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20726 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20727
3d567982
TT
207282014-04-14 Tom Tromey <tromey@redhat.com>
20729
20730 * gdb.cp/classes.exp (test_enums): Handle underlying type.
20731 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
20732 type.
20733 * gdb.cp/enum-class.exp: New file.
20734 * gdb.cp/enum-class.cc: New file.
20735
0626fc76
TT
207362014-04-14 Tom Tromey <tromey@redhat.com>
20737
20738 * gdb.dwarf2/enum-type.exp: New file.
20739
dca325b3
SA
207402014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20741
20742 * gdb.mi/mi-vla-c99.exp: New file.
20743 * gdb.mi/vla.c: New file.
20744
5854b38a
SA
207452014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20746
20747 * gdb.base/vla-datatypes.c: New file.
20748 * gdb.base/vla-datatypes.exp: New file.
20749
463bb957
SA
207502014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20751
20752 * gdb.base/vla-ptr.c: New file.
20753 * gdb.base/vla-ptr.exp: New file.
20754
3dd170be
SA
207552014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20756
20757 * gdb.dwarf2/count.exp: New file.
20758
5ecaaa66
SA
207592014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20760
20761 * gdb.base/vla-sideeffect.c: New file.
20762 * gdb.base/vla-sideeffect.exp: New file.
20763
41f1ada5
DB
207642014-04-14 David Blaikie <dblaikie@gmail.com>
20765
20766 * gdb.mi/non-stop.c: Add return value for non-void function return
20767 statement.
20768 * gdb.threads/staticthreads.c: Ditto.
20769
0be03e84
DE
207702014-04-12 Siva Chandra Reddy <sivachandra@google.com>
20771 Doug Evans <xdje42@gmail.com>
20772
20773 * gdb.guile/scm-value.c: Improve test case.
20774 * gdb.guile/scm-value.exp: Add new test.
20775
f180a1fb
DB
207762014-04-11 David Blaikie <dblaikie@gmail.com>
20777
20778 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
20779 override Clang's default.
20780
6b662e19
JB
207812014-04-11 Joel Brobecker <brobecker@adacore.com>
20782
20783 Revert the following changes (regressions):
20784
20785 * gdb.base/vla-sideeffect.c: New file.
20786 * gdb.base/vla-sideeffect.exp: New file.
20787
20788 * gdb.dwarf2/count.exp: New file.
20789
20790 * gdb.base/vla-multi.c: New file.
20791 * gdb.base/vla-multi.exp: New file.
20792
20793 * gdb.base/vla-ptr.c: New file.
20794 * gdb.base/vla-ptr.exp: New file.
20795
20796 * gdb.base/vla-datatypes.c: New file.
20797 * gdb.base/vla-datatypes.exp: New file.
20798
20799 * gdb.mi/mi-vla-c99.exp: New file.
20800 * gdb.mi/vla.c: New file.
20801
245a5f0b
KS
208022014-04-11 Keith Seitz <keiths@redhat.com>
20803
20804 PR c++/16675
20805 * gdb.cp/cpsizeof.exp: New file.
20806 * gdb.cp/cpsizeof.cc: New file.
20807
58a84dcf
SA
208082014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20809
191a8a90
JB
20810 * gdb.mi/mi-vla-c99.exp: New file.
20811 * gdb.mi/vla.c: New file.
58a84dcf 20812
c8655f75
SA
208132014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20814
20815 * gdb.base/vla-datatypes.c: New file.
20816 * gdb.base/vla-datatypes.exp: New file.
20817
024e13b4
SA
208182014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20819
20820 * gdb.base/vla-ptr.c: New file.
20821 * gdb.base/vla-ptr.exp: New file.
20822
1a237e0e
SA
208232014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20824
20825 * gdb.base/vla-multi.c: New file.
20826 * gdb.base/vla-multi.exp: New file.
20827
504f3432
SA
208282014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20829
20830 * gdb.dwarf2/count.exp: New file.
20831
3bce8237
SA
208322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20833
191a8a90
JB
20834 * gdb.base/vla-sideeffect.c: New file.
20835 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 20836
322f9c21
YQ
208372014-04-11 Yao Qi <yao@codesourcery.com>
20838
20839 * gdb.base/completion.exp: Check file exists before running tests
20840 on file completion.
20841
d708bcd1
PA
208422014-04-10 Pedro Alves <palves@redhat.com>
20843
20844 * gdb.base/cond-eval-mode.c: New file.
20845 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
20846 prepare_for_testing to build the new file. Check result of
20847 runto_main.
20848 (test_break, test_watch): New procedures.
20849 (top level): Use them.
20850
ae1d2761
PM
208512014-04-08 Pierre Muller <muller@sourceware.org>
20852
20853 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
20854 Ctrl-V use for mingw hosts.
20855
7af389b8
SC
208562014-04-07 Siva Chandra Reddy <sivachandra@google.com>
20857
20858 * gdb.python/py-value.c: Improve test case.
20859 * gdb.python/py-value.exp: Add new test.
20860
5e703181
DE
208612014-04-07 David Blaikie <dblaikie@gmail.com>
20862
20863 * lib/compiler.c: Identify the clang compiler.
20864 * lib/compiler.cc: Ditto.
20865
9810b410
YQ
208662014-04-03 Yao Qi <yao@codesourcery.com>
20867
20868 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
20869
98d1b8dc
AB
208702014-04-01 Anton Blanchard <anton@samba.org>
20871
20872 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
20873 messages unique.
20874
3114cea1
AB
208752014-04-01 Anton Blanchard <anton@samba.org>
20876
20877 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
20878 prepare_for_testing.
20879
62f7182c
AB
208802014-04-01 Anton Blanchard <anton@samba.org>
20881
20882 * gdb.arch/ppc64-atomic-inst.c: Remove.
20883 * gdb.arch/ppc64-atomic-inst.S: New file.
20884 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
20885
770e7fc7
DE
208862014-03-31 Doug Evans <dje@google.com>
20887
20888 * gdb.base/print-symbol-loading-lib.c: New file.
20889 * gdb.base/print-symbol-loading-main.c: New file.
20890 * gdb.base/print-symbol-loading.exp: New file.
20891
46e2bafa
YQ
208922014-03-31 Yao Qi <yao@codesourcery.com>
20893
20894 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
20895
8776cfe9
JB
208962014-03-28 Joel Brobecker <brobecker@adacore.com>
20897
20898 * gdb.ada/mi_dyn_arr: New testcase.
20899
5d1ef361
DE
209002014-03-27 Doug Evans <dje@google.com>
20901
20902 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
20903
b5bee914
YQ
209042014-03-27 Yao Qi <yao@codesourcery.com>
20905
20906 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
20907 if target is nios2-*-*.
20908
0d4d0e77
YQ
209092014-03-26 Yao Qi <yao@codesourcery.com>
20910
20911 * lib/gdb.exp (readline_is_used): New proc.
20912 * gdb.base/completion.exp: Move tests on command complete up.
20913 Skip the rest of tests if readline is not used.
20914 * gdb.ada/complete.exp: Skp the test if readline is not
20915 used.
20916 * gdb.base/filesym.exp: Likewise.
20917 * gdb.base/macscp.exp: Likewise.
20918 * gdb.base/readline-ask.exp: Likewise.
20919 * gdb.base/readline.exp: Likewise.
20920 * gdb.python/py-cmd.exp: Likewise.
20921 * gdb.trace/tfile.exp: Likewise.
20922
29361eee
YQ
209232014-03-26 Yao Qi <yao@codesourcery.com>
20924
20925 * gdb.base/macscp.exp: Fix code format issues.
20926
bc9a5525
UW
209272014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
20928
20929 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
20930 * gdb.asm/powerpc64le.inc: New file.
20931
d3839ede
PA
209322014-03-25 Pedro Alves <palves@redhat.com>
20933 Doug Evans <dje@google.com>
20934
20935 * gdb.base/source-execution.c: New file.
20936 * gdb.base/source-execution.exp: New file.
20937 * gdb.base/source-execution.gdb: New file.
20938
01672a57
DE
209392014-03-24 Doug Evans <dje@google.com>
20940
20941 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
20942 using fission.
20943
88bbeca9
HZ
209442014-03-24 Hui Zhu <hui@codesourcery.com>
20945 Pedro Alves <palves@redhat.com>
20946
20947 PR breakpoints/16101
20948 * gdb.base/dprintf.exp: Use unsupported rather than changing the
20949 test pass/fail messages. Detect missing support for dprintf when
20950 breakpoints are actually inserted.
20951 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
20952 breakpoints are actually inserted.
20953 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
20954 fails.
20955
d2348791
JK
209562014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
20957
20958 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
20959
feef67ab
DE
209602014-03-22 Doug Evans <xdje42@gmail.com>
20961
20962 * gdb.python/python.exp (python not supported): Verify multi-line
20963 python command issues an error.
25d743f9 20964 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 20965 guile command issues an error.
feef67ab 20966
ecebef6a
MR
209672014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
20968
20969 * gdb.threads/thread-specific.exp: Handle the lack of usable
20970 $this_breakpoint and $this_thread.
20971
ccdd1909
HZ
209722014-03-21 Hui Zhu <hui@codesourcery.com>
20973
20974 * gdb.base/attach.exp (do_command_attach_tests): New.
20975
beb460e8
PA
209762014-03-20 Tom Tromey <tromey@redhat.com>
20977 Pedro Alves <palves@redhat.com>
20978
20979 PR cli/15718
20980 * gdb.base/condbreak-call-false.c: New file.
20981 * gdb.base/condbreak-call-false.exp: New file.
20982
40acf43a
PA
209832014-03-20 Pedro Alves <palves@redhat.com>
20984
20985 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
20986 Delete.
20987 (block_signals, unblock_signals): Delete.
20988 (child_function_2, main): Remove references to deleted variable
20989 and functions.
20990
9f5e1e02
PA
209912014-03-20 Pedro Alves <palves@redhat.com>
20992
20993 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
20994 Use pthread_kill to signal thread 2.
20995 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20996 Adjust to make the test send itself a signal rather than using the
20997 host's "kill" command.
20998
99619bea
PA
209992014-03-20 Pedro Alves <palves@redhat.com>
21000
21001 * gdb.threads/multiple-step-overs.c: New file.
21002 * gdb.threads/multiple-step-overs.exp: New file.
21003 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21004 Adjust expected infrun debug output.
21005
2adfaa28
PA
210062014-03-20 Pedro Alves <palves@redhat.com>
21007
21008 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
21009 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
21010
31e77af2
PA
210112014-03-20 Pedro Alves <palves@redhat.com>
21012
21013 PR breakpoints/7143
21014 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
21015 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
21016 of gdb_test_multiple.
21017 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
21018 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
21019
b9f437de
PA
210202014-03-20 Pedro Alves <palves@redhat.com>
21021
21022 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
21023 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
21024
05adc73e
PA
210252014-03-19 Pedro Alves <palves@redhat.com>
21026
21027 * gdb.base/async.exp: Remove early return.
21028
6048b950
PA
210292014-03-19 Pedro Alves <palves@redhat.com>
21030
21031 * gdb.base/async.exp (step& tests): Pass explicit test messages.
21032
8bcfb00a
PA
210332014-03-19 Pedro Alves <palves@redhat.com>
21034
21035 * gdb.base/async.exp (test_background): Expect \r\n after
21036 "completed." in the fail pattern.
21037
884e37dc
PA
210382014-03-19 Pedro Alves <palves@redhat.com>
21039
21040 * gdb.base/async.exp (test_background): New procedure.
21041 Use it for all background execution command tests.
21042
148e57e2
PA
210432014-03-19 Pedro Alves <palves@redhat.com>
21044
21045 * gdb.base/async.exp: Use prepare_for_testing.
21046
f48088c7
PA
210472014-03-19 Pedro Alves <palves@redhat.com>
21048
21049 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
21050 the same line.
21051
e2f6c966
PA
210522014-03-19 Pedro Alves <palves@redhat.com>
21053
21054 * gdb.base/async.c (main): Add "jump here" and "until here" line
21055 marker comments.
21056 * gdb.base/async.exp (jump_here): New global.
21057 (jump& test): Use it.
21058 (until_here): New global.
21059 (until& test): Use it.
21060
c30568d4
PA
210612014-03-19 Pedro Alves <palves@redhat.com>
21062
21063 * gdb.base/async.exp: Don't frob gdb_protocol.
21064
0172b6a7
DE
210652014-03-18 Doug Evans <xdje42@gmail.com>
21066
21067 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
21068 Fix spelling of exec-done-display.
21069
06c868a8
JK
210702014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
21071
21072 PR gdb/15358
21073 * gdb.base/gdb-sigterm.c: New file.
21074 * gdb.base/gdb-sigterm.exp: New file.
21075
0c7e1a46
PA
210762014-03-18 Pedro Alves <palves@redhat.com>
21077
21078 PR gdb/13860
21079 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
21080 * lib/mi-support.exp (mi_expect_stop): Add special handling for
21081 solib-event.
21082
f7c77d93
JB
210832014-03-17 Joel Brobecker <brobecker@adacore.com>
21084
21085 * gdb.ada/pckd_arr_ren: New testcase.
21086
5a1e8c7a
DE
210872014-03-13 Doug Evans <xdje42@gmail.com>
21088
21089 PR guile/16612
21090 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
21091 collect after discarding symbols.
21092
350e1a76
DE
210932014-03-13 Ludovic Courtès <ludo@gnu.org>
21094 Doug Evans <xdje42@gmail.com>
21095
21096 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
21097 to history survives a gc.
21098
a69900ae
PA
210992014-03-13 Pedro Alves <palves@redhat.com>
21100
21101 * gdb.base/default.exp: Don't test "target procfs".
21102
5db9f0bd
PA
211032014-03-13 Pedro Alves <palves@redhat.com>
21104
21105 * gdb.base/default.exp: Update "target child" and "target procfs"
21106 tests to not expect "Unix".
21107
b3ccfe11
TT
211082014-03-12 Tom Tromey <tromey@redhat.com>
21109
21110 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
21111 New procs. Add target-async tests.
21112 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
21113 Add target-async tests.
21114
646f4417
AA
211152014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21116
21117 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
21118 'func_start' and 'func_end' for the beginning and end of the
21119 function code, respectively.
21120 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
21121 'func_end' instead of 'func' and 'main'.
21122
288c211f
AA
211232014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21124
21125 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
21126 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
21127 generate the debug info assembler source.
21128
e0c0f156
AA
211292014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21130
21131 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
21132 * gdb.dwarf2/arr-subrange.exp: Likewise.
21133 * gdb.dwarf2/dwz.exp: Likewise.
21134 * gdb.dwarf2/method-ptr.exp: Likewise.
21135 * gdb.dwarf2/missing-sig-type.exp: Likewise.
21136 * gdb.dwarf2/subrange.exp: Likewise.
21137 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
21138 * gdb.dwarf2/implptrpiece.exp: Likewise.
21139 * gdb.dwarf2/nostaticblock.exp: Likewise.
21140
0e5c4555
AA
211412014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21142
21143 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
21144 directory to absolute path name arguments.
21145
5ec18f2b
JG
211462014-03-10 Joel Brobecker <brobecker@adacore.com>
21147
21148 * gdb.ada/tagged_access: New testcase.
21149
847fc4f2
MM
211502014-03-07 Markus Metzger <markus.t.metzger@intel.com>
21151
21152 * gdb.btrace/data.exp: Update expected output.
21153
cc3da688
YQ
211542014-03-06 Yao Qi <yao@codesourcery.com>
21155
21156 * gdb.trace/pr16508.exp: New file.
21157
0f26cec1
PA
211582014-03-05 Pedro Alves <palves@redhat.com>
21159
21160 PR gdb/16575
21161 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
21162 procedure.
21163 (top level): Adjust to use it. Add tests that exercise breakpoint
21164 interaction with the code-cache.
21165
7a5a839f
LC
211662014-02-26 Ludovic Courtès <ludo@gnu.org>
21167
21168 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
21169 test for 'history-append!'.
21170
31aa7e4e
JB
211712014-02-26 Joel Brobecker <brobecker@adacore.com>
21172
21173 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
21174 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
21175 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
21176 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
21177 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
21178 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
21179
1b588015
JB
211802014-02-26 Joel Brobecker <brobecker@adacore.com>
21181
21182 * testsuite/gdb.python/py-pp-re-notag.c: New file.
21183 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
21184 * testsuite/gdb.python/py-pp-re-notag.p: New file.
21185
55426c9d
JB
211862014-02-26 Joel Brobecker <brobecker@adacore.com>
21187
21188 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
21189
dc53a7ad
JB
211902014-02-26 Joel Brobecker <brobecker@adacore.com>
21191
21192 * gdb.dwarf2/arr-stride.c: New file.
21193 * gdb.dwarf2/arr-stride.exp: New file.
21194
12ab52e9
PA
211952014-02-26 Pedro Alves <palves@redhat.com>
21196
21197 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
21198 that won't ever trigger. Make sure that GDB reports the correct
21199 breakpoint that caused the stop.
21200
849c862e
JK
212012014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21202
21203 PR gdb/16626
21204 * gdb.base/auto-load-script: New file.
21205 * gdb.base/auto-load.c: New file.
21206 * gdb.base/auto-load.exp: New file.
21207
71b7d793
JK
21208 PR gdb/16626
21209 * gdb.base/auto-load.exp: Fix out-of-srctree run.
21210
e2f0d509
JK
212112014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21212
21213 Fix dw2-icycle.exp -fsanitize=address GDB crash.
21214 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
21215
50cc37c8
DE
212162014-02-24 Doug Evans <dje@google.com>
21217
21218 * lib/gdb.exp (run_on_host): Log error output if program fails.
21219
ea4758f2
PA
212202014-02-21 Pedro Alves <palves@redhat.com>
21221
21222 * gdb.threads/step-after-sr-lock.c: Rename to ...
21223 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
21224 * gdb.threads/step-after-sr-lock.exp: Rename to ...
21225 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21226 ... this.
21227
d7b30f67
SDJ
212282014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
21229
21230 PR tdep/16397
21231 * gdb.arch/amd64-stap-special-operands.exp: New file.
21232 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
21233 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
21234 * gdb.arch/amd64-stap-triplet.S: Likewise.
21235 * gdb.arch/amd64-stap-triplet.c: Likewise.
21236
83deb43f
JB
212372014-02-20 Joel Brobecker <brobecker@adacore.com>
21238
21239 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
21240 in .section pseudo-op.
21241
adde2bff
DE
212422014-02-20 lin zuojian <manjian2006@gmail.com>
21243 Joel Brobecker <brobecker@adacore.com>
21244 Doug Evans <xdje42@gmail.com>
21245
21246 PR symtab/16581
21247 * gdb.dwarf2/dw2-icycle.S: New file.
21248 * gdb.dwarf2/dw2-icycle.c: New file.
21249 * gdb.dwarf2/dw2-icycle.exp: New file.
21250
f7bd0f78
SC
212512014-02-19 Siva Chandra Reddy <sivachandra@google.com>
21252
21253 * gdb.python/py-value-cc.cc: Improve test case to enable testing
21254 operations on gdb.Value objects.
21255 * gdb.python/py-value-cc.exp: Add new test to test operations on
21256 gdb.Value objects.
21257
c17ef0d5
DE
212582014-02-18 Doug Evans <dje@google.com>
21259
21260 * Makefile.in (TESTS): New variable.
21261 (expanded_tests, expanded_tests_or_none): New variables
21262 (check-single): Pass $(expanded_tests_or_none) to runtest.
21263 (check-parallel): Only run tests in $(TESTS) if non-empty.
21264 (check/no-matching-tests-found): New rule.
21265 * README: Document TESTS makefile variable.
21266
5dd3176f
DE
212672014-02-18 Doug Evans <dje@google.com>
21268
21269 * Makefile.in (check-parallel): rm -rf outputs temp.
21270
0b10be4f
JK
212712014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21272
21273 Fix "ERROR: no fileid for" in the testsuite.
21274 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
21275
85f224e7
DE
212762014-02-12 Doug Evans <dje@google.com>
21277
21278 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
21279 (MISCELLANEOUS): New variable.
21280 (clean): rm -rf $(MISCELLANEOUS).
21281 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
21282 dwp live in the same directory as symlinks, with each symlink pointed
21283 to a differently named file in a different directory.
21284
149b30ff
DE
212852014-02-11 Doug Evans <dje@google.com>
21286
21287 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
21288 of Tcl file commands.
21289
1dfdac32
MK
212902014-02-10 Mark Kettenis <kettenis@gnu.org>
21291
21292 * gdb.threads/step-after-sr-lock.exp: Avoid executing
21293 "kill -SIGUSR1 -1".
21294
aa4fb036
JB
212952014-02-10 Joel Brobecker <brobecker@adacore.com>
21296
21297 * gdb.ada/tick_length_array_enum_idx: New testcase.
21298
ed3ef339
DE
212992014-02-10 Doug Evans <xdje42@gmail.com>
21300
21301 * configure.ac (AC_OUTPUT): Add gdb.guile.
21302 * configure: Regenerate.
21303 * lib/gdb-guile.exp: New file.
21304 * lib/gdb.exp (get_target_charset): New function.
21305 * gdb.base/help.exp: Update expected output from "apropos apropos".
21306 * gdb.guile/Makefile.in: New file.
21307 * gdb.guile/guile.exp: New file.
21308 * gdb.guile/scm-arch.c: New file.
21309 * gdb.guile/scm-arch.exp: New file.
21310 * gdb.guile/scm-block.c: New file.
21311 * gdb.guile/scm-block.exp: New file.
21312 * gdb.guile/scm-breakpoint.c: New file.
21313 * gdb.guile/scm-breakpoint.exp: New file.
21314 * gdb.guile/scm-disasm.c: New file.
21315 * gdb.guile/scm-disasm.exp: New file.
21316 * gdb.guile/scm-equal.c: New file.
21317 * gdb.guile/scm-equal.exp: New file.
21318 * gdb.guile/scm-error.exp: New file.
21319 * gdb.guile/scm-error.scm: New file.
21320 * gdb.guile/scm-frame-args.c: New file.
21321 * gdb.guile/scm-frame-args.exp: New file.
21322 * gdb.guile/scm-frame-args.scm: New file.
21323 * gdb.guile/scm-frame-inline.c: New file.
21324 * gdb.guile/scm-frame-inline.exp: New file.
21325 * gdb.guile/scm-frame.c: New file.
21326 * gdb.guile/scm-frame.exp: New file.
21327 * gdb.guile/scm-generics.exp: New file.
21328 * gdb.guile/scm-gsmob.exp: New file.
21329 * gdb.guile/scm-iterator.c: New file.
21330 * gdb.guile/scm-iterator.exp: New file.
21331 * gdb.guile/scm-math.c: New file.
21332 * gdb.guile/scm-math.exp: New file.
21333 * gdb.guile/scm-objfile-script-gdb.in: New file.
21334 * gdb.guile/scm-objfile-script.c: New file.
21335 * gdb.guile/scm-objfile-script.exp: New file.
21336 * gdb.guile/scm-objfile.c: New file.
21337 * gdb.guile/scm-objfile.exp: New file.
21338 * gdb.guile/scm-ports.exp: New file.
21339 * gdb.guile/scm-pretty-print.c: New file.
21340 * gdb.guile/scm-pretty-print.exp: New file.
21341 * gdb.guile/scm-pretty-print.scm: New file.
21342 * gdb.guile/scm-section-script.c: New file.
21343 * gdb.guile/scm-section-script.exp: New file.
21344 * gdb.guile/scm-section-script.scm: New file.
21345 * gdb.guile/scm-symbol.c: New file.
21346 * gdb.guile/scm-symbol.exp: New file.
21347 * gdb.guile/scm-symtab-2.c: New file.
21348 * gdb.guile/scm-symtab.c: New file.
21349 * gdb.guile/scm-symtab.exp: New file.
21350 * gdb.guile/scm-type.c: New file.
21351 * gdb.guile/scm-type.exp: New file.
21352 * gdb.guile/scm-value-cc.cc: New file.
21353 * gdb.guile/scm-value-cc.exp: New file.
21354 * gdb.guile/scm-value.c: New file.
21355 * gdb.guile/scm-value.exp: New file.
21356 * gdb.guile/source2.scm: New file.
21357 * gdb.guile/types-module.cc: New file.
21358 * gdb.guile/types-module.exp: New file.
21359
7026a7c1
YQ
213602014-02-10 Yao Qi <yao@codesourcery.com>
21361
21362 PR testsuite/16543
21363 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
21364 * configure: Regenerated.
21365 * Makefile.in: New file.
21366
6c466447
AS
213672014-02-08 Andreas Schwab <schwab@linux-m68k.org>
21368
21369 * gdb.python/py-framefilter.exp: Fix typo.
21370
6e854735
YQ
213712014-02-08 Yao Qi <yao@codesourcery.com>
21372
21373 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
21374 that no =breakpoint-modified is emitted when breakpoints are
21375 modified through MI commands.
21376
d137e6dc
PA
213772014-02-07 Pedro Alves <pedro@codesourcery.com>
21378 Pedro Alves <palves@redhat.com>
21379
21380 * gdb.threads/step-after-sr-lock.c: New file.
21381 * gdb.threads/step-after-sr-lock.exp: New file.
21382
b5ee5a50
PA
213832014-02-07 Pedro Alves <palves@redhat.com>
21384
21385 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
21386
3c77faf3
JK
213872014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
21388
21389 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
21390 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
21391
6dddc817
DE
213922014-02-06 Doug Evans <xdje42@gmail.com>
21393
21394 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
21395 output.
21396
21397 * gdb.gdb/python-interrupts.exp: New file.
21398
de7b2893
YQ
213992014-02-05 Yao Qi <yao@codesourcery.com>
21400
21401 * gdb.trace/report.exp (use_collected_data): Test the output
21402 of "info threads" and "info inferiors".
21403
66d032ac
YQ
214042014-02-05 Yao Qi <yao@codesourcery.com>
21405
21406 Revert this patch:
21407
21408 2013-05-24 Yao Qi <yao@codesourcery.com>
21409
21410 * gdb.trace/tfile.exp: Test inferior and thread.
21411
591a12a1
UW
214122014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21413
21414 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
21415 on a function.
21416 * gdb.base/step-bt.c: Call hello via function pointer to make
21417 sure its first instruction is executed on powerpc64le-linux.
21418
0ff3e01f
UW
214192014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21420
21421 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
21422
084ee545
UW
214232014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21424
21425 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
21426 of the test patterns for use on little-endian systems.
21427
6ed14ff3
UW
214282014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21429
21430 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
21431 (decimal_vector): Fix for little-endian.
21432
401e27fd
JM
214332014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
21434
21435 * gdb.arch/sparc-sysstep.exp: New file.
21436 * gdb.arch/sparc-sysstep.c: Likewise.
21437
21438 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
21439
8b924729
EBM
214402014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21441
21442 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
21443
fb151210
JB
214442014-01-23 Tom Tromey <tromey@redhat.com>
21445
21446 * gdb.ada/array_char_idx: New testcase.
21447
0740f8d8
TT
214482014-01-23 Tom Tromey <tromey@redhat.com>
21449
21450 PR python/16487:
21451 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
21452 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
21453 classes.
21454
21909fa1
TT
214552014-01-23 Tom Tromey <tromey@redhat.com>
21456
21457 PR python/16491:
21458 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
21459 string from an inferior frame.
21460 * gdb.python/py-framefilter-mi.exp: Update.
21461
87ce2a04
DE
214622014-01-22 Doug Evans <dje@google.com>
21463
21464 * gdb.server/server-mon.exp: Add tests for "set debug-format".
21465
237b092b
AA
214662014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21467
21468 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
21469
d674a709
AA
214702014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21471
21472 * gdb.trace/entry-values.exp: Remove excess space character from
21473 regex patterns. Handle s390 call instruction.
21474
20fa3390
AA
214752014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21476
21477 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
21478 define "*_start" label. Make "name" static.
21479 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
21480 ${name} by references to ${name}_start.
21481
78466714
AA
214822014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21483
21484 * gdb.base/info-macros.exp: Remove "debug" from the compile
21485 options.
21486
ec9f644a
IB
214872014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21488
21489 * gdb.dlang/demangle.exp: New file.
21490
94b1b47e
IB
214912014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21492
21493 * gdb.dlang/primitive-types.exp: New file.
21494
7f420862
IB
214952014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21496
21497 * configure.ac: Create gdb.dlang/Makefile.
21498 * configure: Regenerate.
21499 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
21500 * gdb.dlang/Makefile.in: New file.
21501 * lib/d-support.exp: New file.
21502 * lib/gdb.exp (skip_d_tests): New proc.
21503
52834460
MM
215042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21505
21506 * gdb.btrace/delta.exp: Check reverse stepi.
21507 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
21508 * gdb.btrace/finish.exp: New.
21509 * gdb.btrace/next.exp: New.
21510 * gdb.btrace/nexti.exp: New.
21511 * gdb.btrace/record_goto.c: Add comments.
21512 * gdb.btrace/step.exp: New.
21513 * gdb.btrace/stepi.exp: New.
21514 * gdb.btrace/multi-thread-step.c: New.
21515 * gdb.btrace/multi-thread-step.exp: New.
21516 * gdb.btrace/rn-dl-bind.c: New.
21517 * gdb.btrace/rn-dl-bind.exp: New.
21518 * gdb.btrace/data.c: New.
21519 * gdb.btrace/data.exp: New.
21520 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21521
6e07b1d2
MM
215222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21523
21524 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
21525 * gdb.btrace/exception.exp: Update.
21526 * gdb.btrace/instruction_history.exp: Update.
21527 * gdb.btrace/record_goto.exp: Update.
21528 * gdb.btrace/tailcall.exp: Update.
21529 * gdb.btrace/unknown_functions.exp: Update.
21530 * gdb.btrace/delta.exp: New.
21531
0b722aec
MM
215322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21533
21534 * gdb.btrace/record_goto.exp: Add backtrace test.
21535 * gdb.btrace/tailcall.exp: Add backtrace test.
21536
066ce621
MM
215372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21538
21539 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
21540 * gdb.btrace/record_goto.c: New.
21541 * gdb.btrace/record_goto.exp: New.
21542 * gdb.btrace/x86-record_goto.S: New.
21543
0688d04e
MM
215442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21545
21546 * gdb.btrace/function_call_history.exp: Update tests.
21547 * gdb.btrace/instruction_history.exp: Update tests.
21548
8710b709
MM
215492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21550
21551 * gdb.btrace/function_call_history.exp: Fix expected field
21552 order for "record function-call-history".
21553 Add new tests for "record function-call-history /c".
21554 * gdb.btrace/exception.cc: New.
21555 * gdb.btrace/exception.exp: New.
21556 * gdb.btrace/tailcall.exp: New.
21557 * gdb.btrace/x86-tailcall.S: New.
21558 * gdb.btrace/x86-tailcall.c: New.
21559 * gdb.btrace/unknown_functions.c: New.
21560 * gdb.btrace/unknown_functions.exp: New.
21561 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21562
5de9129b
MM
215632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21564
21565 * gdb.btrace/instruction_history.exp: Update.
21566 * gdb.btrace/function_call_history.exp: Update.
21567
23a7fe75
MM
215682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21569
21570 * gdb.btrace/function_call_history.exp: Fix expected function
21571 trace.
21572 * gdb.btrace/instruction_history.exp: Initialize traced.
21573 Remove traced_functions.
21574
724c7dd8
MM
215752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21576
21577 * gdb.btrace/function_call_history.exp: Update
21578 * gdb.btrace/instruction_history.exp: Update.
21579
6d78d93b
MM
215802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21581
21582 * gdb.btrace/enable.exp: Update expected text.
21583
93a360cc
OJ
215842014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
21585
21586 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
21587 bytes.
21588
3772b53f
MR
215892014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
21590
21591 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
21592
596662fa
OJ
215932014-01-15 Omair Javaid <omair.javaid@linaro.org>
21594
21595 * lib/gdb.exp (supports_process_record): Return true for
21596 arm*-linux*. (supports_reverse): Likewise.
21597
b5b08fb4
SC
215982014-01-13 Siva Chandra Reddy <sivachandra@google.com>
21599
21600 PR python/15464
21601 PR python/16113
21602 * gdb.python/py-type.c: Enhance test case.
21603 * gdb.python/py-value-cc.cc: Likewise
21604 * gdb.python/py-type.exp: Add new tests.
21605 * gdb.python/py-value-cc.exp: Likewise
21606
52d7fb13
AA
216072014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
21608 Pedro Alves <palves@redhat.com>
21609
21610 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
21611 Make "name" extern.
21612 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
21613 references to ${name}_start by references to ${name}.
21614
a2cd8cfe
JB
216152014-01-10 Joel Brobecker <brobecker@adacore.com>
21616
21617 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
21618
4e23fced
JB
216192014-01-10 Joel Brobecker <brobecker@adacore.com>
21620
21621 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
21622
c6a9e42c
PA
216232014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
21624 Pedro Alves <palves@redhat.com>
21625
21626 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 21627 mi_gdb_target_load.
c6a9e42c 21628
b7ea362b
PA
216292014-01-08 Pedro Alves <palves@redhat.com>
21630
21631 * gdb.threads/reconnect-signal.c: New file.
21632 * gdb.threads/reconnect-signal.exp: New file.
21633
5e3f4fab
EBM
216342014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21635
21636 * gdb.base/source-dir.exp: New file.
21637
79301218
JB
216382014-01-07 Joel Brobecker <brobecker@adacore.com>
21639
21640 * gdb.ada/mi_interface: New testcase.
21641
8e355c5d
JB
216422014-01-07 Joel Brobecker <brobecker@adacore.com>
21643
21644 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
21645 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
21646 gdb.ada/pp-rec-component/pck.ads: New files.
21647
c0d48811
JB
216482014-01-07 Joel Brobecker <brobecker@adacore.com>
21649
21650 * gdb.python/py-pp-integral.c: New file.
21651 * gdb.python/py-pp-integral.py: New file.
21652 * gdb.python/py-pp-integral.exp: New file.
21653
17b609c3 21654For older changes see ChangeLog-1993-2013.
c906108c 21655\f
8d8cb839
EZ
21656;; Local Variables:
21657;; mode: change-log
21658;; left-margin: 8
21659;; fill-column: 74
21660;; version-control: never
21661;; End:
902f2ccb 21662
b811d2c2 21663 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
21664 Copying and distribution of this file, with or without modification,
21665 are permitted provided the copyright notice and this notice are preserved.