'runto main' -> 'runto_main' throughout
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
50441f0f
PA
12020-10-13 Pedro Alves <pedro@palves.net>
2
3 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
4 "runto main".
5 * gdb.ada/small_reg_param.exp: Likewise.
6 * gdb.arch/powerpc-d128-regs.exp: Likewise.
7 * gdb.base/annota1.exp: Likewise.
8 * gdb.base/anon.exp: Likewise.
9 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
10 * gdb.base/dprintf-non-stop.exp: Likewise.
11 * gdb.base/dprintf.exp: Likewise.
12 * gdb.base/gdb11530.exp: Likewise.
13 * gdb.base/gdb11531.exp: Likewise.
14 * gdb.base/gnu_vector.exp: Likewise.
15 * gdb.base/interrupt-noterm.exp: Likewise.
16 * gdb.base/memattr.exp: Likewise.
17 * gdb.base/step-over-syscall.exp: Likewise.
18 * gdb.base/watch-cond-infcall.exp: Likewise.
19 * gdb.base/watch-read.exp: Likewise.
20 * gdb.base/watch-vfork.exp: Likewise.
21 * gdb.base/watch_thread_num.exp: Likewise.
22 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
23 * gdb.guile/scm-frame-inline.exp: Likewise.
24 * gdb.linespec/explicit.exp: Likewise.
25 * gdb.opt/inline-break.exp: Likewise.
26 * gdb.python/py-frame-inline.exp: Likewise.
27 * gdb.reverse/break-precsave.exp: Likewise.
28 * gdb.reverse/break-reverse.exp: Likewise.
29 * gdb.reverse/consecutive-precsave.exp: Likewise.
30 * gdb.reverse/consecutive-reverse.exp: Likewise.
31 * gdb.reverse/finish-precsave.exp: Likewise.
32 * gdb.reverse/finish-reverse.exp: Likewise.
33 * gdb.reverse/fstatat-reverse.exp: Likewise.
34 * gdb.reverse/getresuid-reverse.exp: Likewise.
35 * gdb.reverse/i386-precsave.exp: Likewise.
36 * gdb.reverse/i386-reverse.exp: Likewise.
37 * gdb.reverse/i386-sse-reverse.exp: Likewise.
38 * gdb.reverse/i387-env-reverse.exp: Likewise.
39 * gdb.reverse/i387-stack-reverse.exp: Likewise.
40 * gdb.reverse/insn-reverse.exp: Likewise.
41 * gdb.reverse/machinestate-precsave.exp: Likewise.
42 * gdb.reverse/machinestate.exp: Likewise.
43 * gdb.reverse/pipe-reverse.exp: Likewise.
44 * gdb.reverse/readv-reverse.exp: Likewise.
45 * gdb.reverse/recvmsg-reverse.exp: Likewise.
46 * gdb.reverse/rerun-prec.exp: Likewise.
47 * gdb.reverse/s390-mvcle.exp: Likewise.
48 * gdb.reverse/solib-precsave.exp: Likewise.
49 * gdb.reverse/solib-reverse.exp: Likewise.
50 * gdb.reverse/step-precsave.exp: Likewise.
51 * gdb.reverse/step-reverse.exp: Likewise.
52 * gdb.reverse/time-reverse.exp: Likewise.
53 * gdb.reverse/until-precsave.exp: Likewise.
54 * gdb.reverse/until-reverse.exp: Likewise.
55 * gdb.reverse/waitpid-reverse.exp: Likewise.
56 * gdb.reverse/watch-precsave.exp: Likewise.
57 * gdb.reverse/watch-reverse.exp: Likewise.
58 * gdb.threads/kill.exp: Likewise.
59 * gdb.threads/tid-reuse.exp: Likewise.
60
d3a07122
SM
612020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
62
63 PR gdb/26642
64 * gdb.base/maint-target-async-off.c: New test.
65 * gdb.base/maint-target-async-off.exp: New test.
66
c65c6c42
AM
672020-10-13 Alan Modra <amodra@gmail.com>
68
69 * gdb.arch/powerpc-altivec.s,
70 * gdb.arch/powerpc-power7.s,
71 * gdb.arch/powerpc-power8.s,
72 * gdb.arch/powerpc-power9.s,
73 * gdb.arch/powerpc-vsx.s,
74 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
75 * gdb.arch/powerpc-altivec.exp,
76 * gdb.arch/powerpc-power7.exp,
77 * gdb.arch/powerpc-power8.exp,
78 * gdb.arch/powerpc-power9.exp,
79 * gdb.arch/powerpc-vsx.exp,
80 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
81 disassembly of mfvsrd/mtvsrd.
82
f4a0f710
AM
832020-10-13 Alan Modra <amodra@gmail.com>
84
85 * gdb.arch/arm-disassembler-options.exp: Adjust expected
86 "target architecture" output.
87 * gdb.arch/powerpc-d128-regs.exp: Likewise.
88 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
89 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
90 * gdb.arch/s390-disassembler-options.exp: Likewise.
91
87a37e5e
PA
922020-10-12 Pedro Alves <pedro@palves.net>
93
94 PR exp/26602
95 PR c++/26550
96 * gdb.cp/ambiguous.cc (marker1): Delete.
97 (main): Initialize all the fields of the locals. Replace marker1
98 call with a "set breakpoint here" marker.
99 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
100 instead of running to marker1. Add tests printing all the
101 variables and all the fields of the variables.
102 (test_ambiguous): New proc, expecting the new GDB output when a
103 field access is ambiguous. Change all "warning: X ambiguous"
104 tests to use it.
105
71e1b6b0
GB
1062020-10-12 Gary Benson <gbenson@redhat.com>
107
108 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
109 * gdb.base/msym-bp-2.c (foo): Likewise.
110 * gdb.base/msym-lang.c (foo): Likewise.
111 * gdb.base/msym-lang-main.c (foo): Likewise.
112 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
113 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
114 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
115 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
116 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
117 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
118 * gdb.python/py-objfile.c (static_var): Likewise.
119 * gdb.python/py-symbol.c (rr): Likewise.
120 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
121 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
122
9370fd51
AB
1232020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
124
125 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
126 output of backtrace.
127
7c184d33
TT
1282020-10-09 Tom Tromey <tromey@adacore.com>
129
130 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
131 (Rec): Add field. Fix range.
132 * gdb.ada/scalar_storage.exp: Update.
133
3d87245c
HD
1342020-10-09 Hannes Domani <ssbssa@yahoo.de>
135
136 PR exp/26714
137 * gdb.base/printcmds.exp: Add tests for void results.
138
f5c4b229
JV
1392020-10-09 Jan Vrany <jan.vrany@labware.com>
140
141 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
142 is emmited for both 'set directories' and 'directory' commands.
143
b2701685
TT
1442020-10-08 Tom Tromey <tom@tromey.com>
145
146 * gdb.base/style.exp: Check that "main"'s name is styled.
147
e86efb33
TT
1482020-10-07 Tom Tromey <tromey@adacore.com>
149
150 * gdb.base/find.exp: Rename some tests.
151
30897591
GB
1522020-10-06 Gary Benson <gbenson@redhat.com>
153
154 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
155 * gdb.base/list1.c (unused): Likewise.
156
ced4a4c1
GB
1572020-10-06 Gary Benson <gbenson@redhat.com>
158
159 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
160 __attribute__ ((used)).
161 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
162
ed3bdac4
AB
1632020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
164
165 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
166 make use of regions throughout.
167 * gdb.base/overlays.exp: Enclose string with variableds in "..",
168 not {...}.
169 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
170
cd096ec8
HD
1712020-10-05 Hannes Domani <ssbssa@yahoo.de>
172
173 * gdb.base/call-sc.c: Fix return struct on stack test case.
174 * gdb.base/call-sc.exp: Likewise.
175
3ee6f75d
GB
1762020-10-02 Gary Benson <gbenson@redhat.com>
177
178 * README: Fix "paralell".
179
f65825ec
GB
1802020-09-30 Gary Benson <gbenson@redhat.com>
181
182 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
183 Convert directive to lowercase.
184 (.Labbrev1_begin): Add missing label.
185 (abbrev code 0x1): Remove DW_AT_stmt_list.
186 (.Ldie_b): Likewise.
187
5f278258
TT
1882020-09-27 Tom Tromey <tom@tromey.com>
189
190 * gdb.tui/new-layout.exp: Use with_test_prefix.
191
8f9929bb
GR
1922020-09-26 Gareth Rees <grees@undo.io> (tiny change)
193
194 PR python/26586
195 * gdb.python/python.exp: add test cases for the from_tty
196 argument to gdb.execute.
197
c20c017b
GB
1982020-09-25 Gary Benson <gbenson@redhat.com>
199
200 * gdb.base/infcall-nested-structs.exp.tcl: Add
201 additional_flags=-Wno-tautological-compare for C++
202 tests when compiling using Clang.
203
68d654af
GB
2042020-09-25 Gary Benson <gbenson@redhat.com>
205
206 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
207 for .c files.
208
b551a89f
TT
2092020-09-24 Tom Tromey <tromey@adacore.com>
210
211 PR tui/26638:
212 * gdb.tui/list.exp: Check output of "focus next".
213
20a5fcbd
TT
2142020-09-23 Tom Tromey <tom@tromey.com>
215
216 * gdb.dwarf2/intbits.exp: New file.
217 * gdb.dwarf2/intbits.c: New file.
218
b167e53f
PA
2192020-09-20 Pedro Alves <pedro@palves.net>
220
221 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
222 spawn_id before calling remote_close. Close secondary MI channel.
223
dbc49e9f
PA
2242020-09-20 Pedro Alves <pedro@palves.net>
225
226 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
227 fails.
228
c8d5abea
AB
2292020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
230
231 * gdb.fortran/array-slices.exp: Update expected results.
232 * gdb.fortran/class-allocatable-array.exp: Likewise.
233 * gdb.fortran/multi-dim.exp: Likewise.
234 * gdb.fortran/vla-type.exp: Likewise.
235 * gdb.mi/mi-vla-fortran.exp: Likewise.
236
14f9473c
VC
2372020-09-18 Victor Collod <vcollod@nvidia.com>
238
239 PR gdb/26635
240 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
241 compatible with i386, and move it to...
242 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
243 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
244 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
245
e8ef12b9
PA
2462020-09-18 Pedro Alves <pedro@palves.net>
247
248 PR gdb/26631
249 * gdb.multi/multi-target-thread-find.exp: New file.
250
e11daf7a
PA
2512020-09-18 Pedro Alves <pedro@palves.net>
252
253 * gdb.multi/multi-target-continue.exp: New file, factored out from
254 multi-target.exp.
255 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
256 multi-target.exp.
257 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
258 multi-target.exp.
259 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
260 multi-target.exp.
261 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
262 multi-target.exp.
263 * gdb.multi/multi-target.exp.tcl: New file, factored out from
264 multi-target.exp.
265 * gdb.multi/multi-target.exp: Delete.
266
d0edc2b8
AB
2672020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
268
269 * gdb.fortran/array-slices.exp: Add missing message data.
270
7474326c
PA
2712020-09-17 Pedro Alves <pedro@palves.net>
272
273 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
274
dd23068d
PA
2752020-09-17 Pedro Alves <pedro@palves.net>
276
277 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
278 full prototype.
279
0640a543
PA
2802020-09-17 Pedro Alves <pedro@palves.net>
281
282 * gdb.python/py-as-string.c: Add cast.
283
ef0cdbc1
PA
2842020-09-17 Pedro Alves <pedro@palves.net>
285
286 * gdb.base/sizeof.c (fill): Add cast.
287
3a5eeb8b
PA
2882020-09-17 Pedro Alves <pedro@palves.net>
289
290 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
291
a8129512
PA
2922020-09-17 Pedro Alves <pedro@palves.net>
293
294 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
295 linkage name.
296 * gdb.base/prologue.exp: Use print /d.
297 * gdb.base/symbol-alias.exp: Handle C++ output.
298 * gdb.base/symbol-alias2.c: Handle C++ output.
299 [__cplusplus] (func): Explicitly specify linkage name.
300
a83cdcb6
PA
3012020-09-17 Pedro Alves <pedro@palves.net>
302
303 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
304 (struct my_key_t): ... this. Adjust all references.
305 (struct value_t): Rename to ...
306 (struct my_value_t): ... this. Adjust all references.
307 (create_map, add_map_element, create_map_map)
308 (add_map_map_element): Add casts.
309
d4bcee5c
PA
3102020-09-17 Pedro Alves <pedro@palves.net>
311
312 * gdb.python/py-framefilter-mi.c (funca): Add casts.
313 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
314
81f90489
PA
3152020-09-17 Pedro Alves <pedro@palves.net>
316
317 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
318
0a229804
PA
3192020-09-17 Pedro Alves <pedro@palves.net>
320
321 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
322 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
323 (charfoo, intfoo): Define full prototype.
324 * gdb.base/ptype1.c (charfoo): Define full prototype.
325 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
326 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
327
c3e5138d
PA
3282020-09-17 Pedro Alves <pedro@palves.net>
329
330 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
331 Don't define.
332 (utf_32_string): Compile for both C and C++.
333 * gdb.base/charset.exp: Use "print /d".
334
151fdbad
PA
3352020-09-17 Pedro Alves <pedro@palves.net>
336
337 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
338 (nullptr): Rename to ...
339 (null_ptr): ... this.
340 * gdb.base/watchpoint.exp: Adjust to rename.
341
18a25b64
PA
3422020-09-17 Pedro Alves <pedro@palves.net>
343
344 * gdb.base/printcmds.c (three, flag_enum_without_zero)
345 (three_not_flag): Add casts.
346
11fac337
PA
3472020-09-17 Pedro Alves <pedro@palves.net>
348
349 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
350 char array.
351 (main): Add references to Barrier, TestStrings, TestStringsH and
352 TestStringsW.
353 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
354 and expect a full prototype in C++.
355
52626c58
PA
3562020-09-17 Pedro Alves <pedro@palves.net>
357
358 * gdb.base/nested-addr.c (main): Add cast.
359 * gdb.base/nested-addr.exp: Use "print /d".
360
52bb0902
PA
3612020-09-17 Pedro Alves <pedro@palves.net>
362
363 * gdb.base/break.exp (func): New. Use it throughout when
364 expecting a function name.
365
73e18ac9
PA
3662020-09-17 Pedro Alves <pedro@palves.net>
367
368 * gdb.base/display.exp: Issue "set print asm-demangle on".
369
c8b18808
PA
3702020-09-17 Pedro Alves <pedro@palves.net>
371
372 * gdb.base/find.c: Include <string.h>.
373 (init_bufs): Add cast.
374 * gdb.base/find.exp: Issue "set print asm-demangle on".
375
fe830662
TT
3762020-09-16 Tom Tromey <tromey@adacore.com>
377
378 PR gdb/26598:
379 * gdb.base/skipcxx.exp: New file.
380 * gdb.base/skipcxx.cc: New file.
381
945ff6e2
TV
3822020-09-16 Tom de Vries <tdevries@suse.de>
383
384 PR testsuite/26617
385 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
386 WITH_DEBUG_SECTIONS is defined.
387 (xstr, str): New macro.
388 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
389 to get start and size of _Dmain.
390 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
391 using additional_flags.
392
da1df1db
TBA
3932020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
394
395 * gdb.base/bp-cmds-sourced-script.c: New file.
396 * gdb.base/bp-cmds-sourced-script.exp: New test.
397 * gdb.base/bp-cmds-sourced-script.gdb: New file.
398
337882d4
TV
3992020-09-16 Tom de Vries <tdevries@suse.de>
400
401 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
402 get the gdb prompt after issuing "monitor exit".
403
7361f908
TV
4042020-09-16 Tom de Vries <tdevries@suse.de>
405
406 PR testsuite/26624
407 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
408
4d91ddd3
TV
4092020-09-16 Tom de Vries <tdevries@suse.de>
410
411 PR testsuite/26618
412 * gdb.tui/new-layout.exp: Escape unbalanced braces.
413
08cc37dd
TT
4142020-09-15 Tom Tromey <tromey@adacore.com>
415
416 PR rust/26197:
417 * lib/rust-support.exp (rust_llvm_version): New proc.
418 * gdb.rust/simple.exp: Check rust_llvm_version.
419
ee6372f2
TV
4202020-09-14 Tom de Vries <tdevries@suse.de>
421
422 * gdb.rust/traits.exp: Fix PATH warning.
423
dc3a371e
PA
4242020-09-13 Pedro Alves <pedro@palves.net>
425
426 * gdb.base/catch-follow-exec.c (main): Add explicit return
427 statement.
428 * gdb.base/catch-signal.c (main): Likewise.
429 * gdb.base/condbreak-call-false.c (main): Likewise.
430 * gdb.base/consecutive.c (main): Add explicit return
431 statement and return type.
432 * gdb.base/cursal.c (main): Add explicit return statement.
433 * gdb.base/cvexpr.c (main): Likewise.
434 * gdb.base/display.c (main): Add explicit return statement and
435 return type.
436 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
437 * gdb.base/endianity.c (main): Likewise.
438 * gdb.base/execd-prog.c (main): Likewise.
439 * gdb.base/gdb1090.c (main): Likewise.
440 * gdb.base/info_qt.c (main): Likewise.
441 * gdb.base/lineinc.c (main): Likewise.
442 * gdb.base/load-command.c (main): Likewise.
443 * gdb.base/macscp1.c (main): Likewise.
444 * gdb.base/pr10179-a.c (main): Likewise.
445 * gdb.base/quit-live.c (main): Likewise.
446 * gdb.base/scope0.c (main): Likewise.
447 * gdb.base/settings.c (main): Likewise.
448 * gdb.base/stack-checking.c (main): Return int.
449 * gdb.base/varargs.c (main): Add explicit return statement.
450 * gdb.cp/ambiguous.cc (main): Likewise.
451 * gdb.cp/anon-struct.cc (main): Likewise.
452 * gdb.cp/anon-union.cc (main): Likewise.
453 * gdb.cp/bool.cc (main): Likewise.
454 * gdb.cp/bs15503.cc (main): Likewise.
455 * gdb.cp/cplusfuncs.cc (main): Likewise.
456 * gdb.cp/cttiadd.cc (main): Likewise.
457 * gdb.cp/extern-c.cc (main): Likewise.
458 * gdb.cp/filename.cc (main): Likewise.
459 * gdb.cp/formatted-ref.cc (main): Likewise.
460 * gdb.cp/mb-ctor.cc (main): Likewise.
461 * gdb.cp/member-ptr.cc (main): Likewise.
462 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
463 * gdb.cp/overload-const.cc (main): Likewise.
464 * gdb.cp/paren-type.cc (main): Likewise.
465 * gdb.cp/parse-lang.cc (main): Likewise.
466 * gdb.cp/pr-1023.cc (main): Likewise.
467 * gdb.cp/psmang1.cc (main): Likewise.
468 * gdb.cp/readnow-language.cc (main): Likewise.
469 * gdb.cp/ref-params.cc (main): Likewise.
470 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
471 * gdb.cp/virtbase2.cc (main): Likewise.
472 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
473 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
474 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
475 * gdb.mi/mi-console.c (main): Likewise.
476 * gdb.mi/mi-read-memory.c (main): Likewise.
477 * gdb.modula2/multidim.c (main): Likewise.
478 * gdb.opt/inline-small-func.c (main): Likewise.
479 * gdb.python/py-rbreak.c (main): Likewise.
480 * gdb.stabs/exclfwd1.c (main): Likewise.
481 * gdb.trace/qtro.c (main): Likewise.
482
af26601c
PA
4832020-09-13 Pedro Alves <pedro@palves.net>
484
485 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
486 instead of getenv.
487
2f4b83cd
PA
4882020-09-13 Pedro Alves <pedro@palves.net>
489
490 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
491 instead of spawning GDB with remote_spawn.
492 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
493 gdb_spawn instead of spawning GDB with remote_spawn.
494
c49da0e4
PA
4952020-09-13 Pedro Alves <pedro@palves.net>
496
497 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
498 file and add calls to first and second.
499 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
500 add call to f.
501
6791b117
PA
5022020-09-13 Pedro Alves <pedro@palves.net>
503
504 * gdb.mi/mi-break-qualified.cc: New file.
505 * gdb.mi/mi-break-qualified.exp: New file.
506 * lib/mi-support.exp (mi_create_breakpoint_multi)
507 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
508 procedures.
509 (mi_create_breakpoint_1): New, factored out from
510 mi_create_breakpoint.
511
3b8d4c5c
PA
5122020-09-13 Pedro Alves <pedro@palves.net>
513
514 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
515 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
516 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
517 (register_class): Delete.
518 (main): Don't call register_class.
519
d5f96005
PA
5202020-09-13 Pedro Alves <pedro@palves.net>
521
522 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
523 (do_tests): Remove "calling method for small class" test.
524 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
525 (register_class): Delete.
526 (main): Don't call register_class.
527 * gdb.cp/call-method-register.exp: New file, based on bits removed
528 from classes.exp.
529 * gdb.cp/call-method-register.cc: New file, based on bits removed
530 from classes.cc.
531
77f2120b
PA
5322020-09-13 Pedro Alves <pedro@palves.net>
533
534 * gdb.base/msym-bp-2.c: New.
535 * gdb.base/msym-bp-shl-lib.c: New file.
536 * gdb.base/msym-bp-shl-main-2.c: New file.
537 * gdb.base/msym-bp-shl-main.c: New file.
538 * gdb.base/msym-bp-shl.exp: New file.
539 * gdb.base/msym-bp.c: New file.
540 * gdb.base/msym-bp.exp: New file.
541
32aea73e
JB
5422020-09-13 Joel Brobecker <brobecker@adacore.com>
543
544 * gdb.base/default.exp: Change $_gdb_major to 11.
545
2a67f09d
FW
5462020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
547 Felix Willgerodt <Felix.Willgerodt@intel.com>
548
549 * x86-avx512bf16.c: New file.
550 * x86-avx512bf16.exp: Likewise.
551 * lib/gdb.exp (skip_avx512bf16_tests): New function.
552
ad570dd7
TV
5532020-09-11 Tom de Vries <tdevries@suse.de>
554
555 PR exp/26602
556 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
557
a56f7391
TBA
5582020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
559
560 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
561
918619e5
AM
5622020-09-10 Alan Modra <amodra@gmail.com>
563
564 PR 26597
565 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
566
cac1e71d
TV
5672020-09-08 Tom de Vries <tdevries@suse.de>
568
569 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
570 after gdb_starti_cmd.
571
c5cd900e
AKS
5722020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
573
574 * lib/fortran.exp (fortran_complex8): New proc.
575 (fortran_complex16): New proc.
576 * gdb.fortran/complex.exp: Use routines from fortran.exp
577 * gdb.fortran/pointer-to-pointer.exp: Likewise.
578 * gdb.fortran/vla-ptr-info.exp: Likewise.
579
8f5c6526
TV
5802020-09-03 Tom de Vries <tdevries@suse.de>
581
582 PR breakpoint/26546
583 * gdb.base/label-without-address.exp: Runto main first.
584
02c6f3f1
TT
5852020-09-02 Tom Tromey <tromey@adacore.com>
586
587 * gdb.ada/mi_var_access.exp: Test children of access variable.
588 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
589 * gdb.ada/mi_var_array.exp: Update.
590
efe24f05
KB
5912020-08-31 Kevin Buettner <kevinb@redhat.com>
592
593 * gdb.base/corefile.exp (warning-free): XFAIL test when running
594 on docker w/ AUFS storage driver.
595
973695d6
KB
5962020-08-31 Kevin Buettner <kevinb@redhat.com>
597
598 * gdb.base/corefile2.exp (renamed binfile): New tests.
599
f3bd50f1
SM
6002020-08-31 Simon Marchi <simon.marchi@efficios.com>
601
602 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
603
22b9b4b0
SL
6042020-08-31 Simon Marchi <simon.marchi@efficios.com>
605
606 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
607 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
608
8efaf6b3
SM
6092020-08-31 Simon Marchi <simon.marchi@efficios.com>
610
611 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
612 output, printing a "not saved" value from history and printing a
613 convenience variable created from a "not saved" value.
614
e840f2e3
TV
6152020-08-31 Tom de Vries <tdevries@suse.de>
616
617 * gdb.base/eh_return.exp: Use nopie.
618
8f57f343
PA
6192020-08-28 Pedro Alves <pedro@palves.net>
620
621 * gdb.base/advance-until-multiple-locations.exp
622 (advance_overload, until_overload): Adjust to match the
623 frame/function header instead of the source line text.
624
626d2320
TV
6252020-08-28 Tom de Vries <tdevries@suse.de>
626
627 * gdb.base/label-without-address.c: New test.
628 * gdb.base/label-without-address.exp: New file.
629
df631783
PA
6302020-08-27 Pedro Alves <pedro@palves.net>
631
632 PR gdb/26523
633 PR gdb/26524
634 * gdb.base/advance-until-multiple-locations.cc: New.
635 * gdb.base/advance-until-multiple-locations.exp: New.
636
48b076bb
SM
6372020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
638
639 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
640
c2015ce4
AB
6412020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
642
643 * gdb.arch/amd64-byte.exp: Make test names unique, use
644 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
645 * gdb.arch/amd64-dword.exp: Likewise.
646 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
647 * gdb.arch/amd64-stap-special-operands.exp: Make test names
648 unique.
649 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
650 * gdb.arch/amd64-word.exp: Make test names unique, use
651 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
652 * gdb.arch/i386-byte.exp: Make test names unique, use
653 gdb_breakpoint.
654 * gdb.arch/i386-word.exp: Likewise.
655
995d3a19
SV
6562020-08-25 Shahab Vahedi <shahab@synopsys.com>
657
658 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
659
8cac2b31
SM
6602020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
661
662 PR gdb/26532
663 * gdb.threads/stepi-random-signal.exp: Update pattern.
664
2bc19622
SM
6652020-08-25 Simon Marchi <simon.marchi@efficios.com>
666
667 PR gdb/26532
668 * gdb.base/ui-redirect.exp: Update pattern.
669
b04aa1fc
GB
6702020-08-25 Gary Benson <gbenson@redhat.com>
671
672 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
673 when compiling with clang.
8571e9c8 674 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 675
9f68b453
GB
6762020-08-25 Gary Benson <gbenson@redhat.com>
677
678 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
679 Add additional_flags=-Wno-inaccessible-base when compiling
680 with GCC >= 10.1 or clang. Add additional_flags=-w when
681 compiling with GCC < 10.
682
3945d2d7
GM
6832020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
684
685 PR m2/26372
fc5d6901
SM
686 * gdb.modula2/multidim.c: New file.
687 * gdb.modula2/multidim.exp: New file.
3945d2d7 688
60122dbe
SM
6892020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
690
691 * lib/gdb.exp (runto): Always emit fail on internal error.
692
1eb8556f
SM
6932020-08-24 Simon Marchi <simon.marchi@efficios.com>
694
695 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
696 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
697 Likewise.
698 * gdb.threads/stepi-random-signal.exp: Likewise.
699
33bf4c5c
TBA
7002020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
701
702 * gdb.base/print-file-var.exp: Fix typo "breapoint".
703 * gdb.trace/strace.exp: Ditto.
704
c2fd7fae
AKS
7052020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
706
707 * gdb.fortran/vla-type.exp: Skip commands not required for
708 the Flang compiled binaries after prologue fix.
709
326afb72
TT
7102020-08-17 Tom de Vries <tdevries@suse.de>
711 Tom Tromey <tromey@adacore.com>
712
713 PR rust/26197:
714 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
715
3ae7ab99
TT
7162020-08-17 Tom Tromey <tromey@adacore.com>
717
718 * gdb.ada/mi_var_access.exp: New file.
719 * gdb.ada/mi_var_access/mi_access.adb: New file.
720 * gdb.ada/mi_var_access/pck.adb: New file.
721 * gdb.ada/mi_var_access/pck.ads: New file.
722
f569c1c5
TV
7232020-08-16 Tom de Vries <tdevries@suse.de>
724
725 PR gdb/25350
726 * gdb.base/eh_return.c: New test.
727 * gdb.base/eh_return.exp: New file.
728
3d11c30a
TV
7292020-08-15 Tom de Vries <tdevries@suse.de>
730
731 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
732 (mixed_func_1d_): Use fortran_charlen_t in decl.
733
547ce8f0
TV
7342020-08-15 Tom de Vries <tdevries@suse.de>
735
736 PR backtrace/26390
737 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
738 Update expected pattern.
739
a54a7f13
PA
7402020-08-13 Pedro Alves <pedro@palves.net>
741
742 * gdb.fortran/complex.exp: Check skip_fortran_tests.
743 * gdb.fortran/library-module.exp: Likewise.
744 * gdb.fortran/logical.exp: Likewise.
745 * gdb.fortran/module.exp: Likewise.
746 * gdb.fortran/print_type.exp: Likewise.
747 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
748 * gdb.fortran/vla-datatypes.exp: Likewise.
749 * gdb.fortran/vla-history.exp: Likewise.
750 * gdb.fortran/vla-ptr-info.exp: Likewise.
751 * gdb.fortran/vla-ptype-sub.exp: Likewise.
752 * gdb.fortran/vla-ptype.exp: Likewise.
753 * gdb.fortran/vla-sizeof.exp: Likewise.
754 * gdb.fortran/vla-type.exp: Likewise.
755 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
756 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
757 * gdb.fortran/vla-value-sub.exp: Likewise.
758 * gdb.fortran/vla-value.exp: Likewise.
759
7a82e903
PA
7602020-08-13 Pedro Alves <pedro@palves.net>
761
762 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
763 * gdb.ada/access_to_packed_array.exp: Likewise.
764 * gdb.ada/access_to_unbounded_array.exp: Likewise.
765 * gdb.ada/addr_arith.exp: Likewise.
766 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
767 * gdb.ada/arr_arr.exp: Likewise.
768 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
769 * gdb.ada/array_bounds.exp: Likewise.
770 * gdb.ada/array_of_variable_length.exp: Likewise.
771 * gdb.ada/array_ptr_renaming.exp: Likewise.
772 * gdb.ada/array_subscript_addr.exp: Likewise.
773 * gdb.ada/arraydim.exp: Likewise.
774 * gdb.ada/arrayparam.exp: Likewise.
775 * gdb.ada/arrayptr.exp: Likewise.
776 * gdb.ada/assign_1.exp: Likewise.
777 * gdb.ada/assign_arr.exp: Likewise.
778 * gdb.ada/atomic_enum.exp: Likewise.
779 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
780 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
781 * gdb.ada/bias.exp: Likewise.
782 * gdb.ada/boolean_expr.exp: Likewise.
783 * gdb.ada/bp_c_mixed_case.exp: Likewise.
784 * gdb.ada/bp_enum_homonym.exp: Likewise.
785 * gdb.ada/bp_inlined_func.exp: Likewise.
786 * gdb.ada/bp_on_var.exp: Likewise.
787 * gdb.ada/bp_range_type.exp: Likewise.
788 * gdb.ada/bp_reset.exp: Likewise.
789 * gdb.ada/call_pn.exp: Likewise.
790 * gdb.ada/catch_assert_if.exp: Likewise.
791 * gdb.ada/catch_ex.exp: Likewise.
792 * gdb.ada/catch_ex_std.exp: Likewise.
793 * gdb.ada/char_enum.exp: Likewise.
794 * gdb.ada/char_param.exp: Likewise.
795 * gdb.ada/complete.exp: Likewise.
796 * gdb.ada/cond_lang.exp: Likewise.
797 * gdb.ada/convvar_comp.exp: Likewise.
798 * gdb.ada/dgopt.exp: Likewise.
799 * gdb.ada/disc_arr_bound.exp: Likewise.
800 * gdb.ada/display_nested.exp: Likewise.
801 * gdb.ada/dot_all.exp: Likewise.
802 * gdb.ada/dyn_loc.exp: Likewise.
803 * gdb.ada/dyn_stride.exp: Likewise.
804 * gdb.ada/excep_handle.exp: Likewise.
805 * gdb.ada/expr_delims.exp: Likewise.
806 * gdb.ada/expr_with_funcall.exp: Likewise.
807 * gdb.ada/exprs.exp: Likewise.
808 * gdb.ada/fin_fun_out.exp: Likewise.
809 * gdb.ada/fixed_cmp.exp: Likewise.
810 * gdb.ada/formatted_ref.exp: Likewise.
811 * gdb.ada/frame_arg_lang.exp: Likewise.
812 * gdb.ada/frame_args.exp: Likewise.
813 * gdb.ada/fullname_bp.exp: Likewise.
814 * gdb.ada/fun_addr.exp: Likewise.
815 * gdb.ada/fun_in_declare.exp: Likewise.
816 * gdb.ada/fun_overload_menu.exp: Likewise.
817 * gdb.ada/fun_renaming.exp: Likewise.
818 * gdb.ada/funcall_char.exp: Likewise.
819 * gdb.ada/funcall_param.exp: Likewise.
820 * gdb.ada/funcall_ptr.exp: Likewise.
821 * gdb.ada/funcall_ref.exp: Likewise.
822 * gdb.ada/homonym.exp: Likewise.
823 * gdb.ada/info_addr_mixed_case.exp: Likewise.
824 * gdb.ada/info_auto_lang.exp: Likewise.
825 * gdb.ada/info_exc.exp: Likewise.
826 * gdb.ada/info_types.exp: Likewise.
827 * gdb.ada/int_deref.exp: Likewise.
828 * gdb.ada/interface.exp: Likewise.
829 * gdb.ada/iwide.exp: Likewise.
830 * gdb.ada/lang_switch.exp: Likewise.
831 * gdb.ada/length_cond.exp: Likewise.
832 * gdb.ada/maint_with_ada.exp: Likewise.
833 * gdb.ada/mi_catch_assert.exp: Likewise.
834 * gdb.ada/mi_catch_ex.exp: Likewise.
835 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
836 * gdb.ada/mi_dyn_arr.exp: Likewise.
837 * gdb.ada/mi_ex_cond.exp: Likewise.
838 * gdb.ada/mi_exc_info.exp: Likewise.
839 * gdb.ada/mi_interface.exp: Likewise.
840 * gdb.ada/mi_prot.exp: Likewise.
841 * gdb.ada/mi_ref_changeable.exp: Likewise.
842 * gdb.ada/mi_string_access.exp: Likewise.
843 * gdb.ada/mi_task_arg.exp: Likewise.
844 * gdb.ada/mi_task_info.exp: Likewise.
845 * gdb.ada/mi_var_array.exp: Likewise.
846 * gdb.ada/mi_var_union.exp: Likewise.
847 * gdb.ada/mi_variant.exp: Likewise.
848 * gdb.ada/minsyms.exp: Likewise.
849 * gdb.ada/mod_from_name.exp: Likewise.
850 * gdb.ada/nested.exp: Likewise.
851 * gdb.ada/null_array.exp: Likewise.
852 * gdb.ada/optim_drec.exp: Likewise.
853 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
854 * gdb.ada/packed_array_assign.exp: Likewise.
855 * gdb.ada/packed_tagged.exp: Likewise.
856 * gdb.ada/pp-rec-component.exp: Likewise.
857 * gdb.ada/print_chars.exp: Likewise.
858 * gdb.ada/print_pc.exp: Likewise.
859 * gdb.ada/ptr_typedef.exp: Likewise.
860 * gdb.ada/ptype_arith_binop.exp: Likewise.
861 * gdb.ada/ptype_array.exp: Likewise.
862 * gdb.ada/ptype_field.exp: Likewise.
863 * gdb.ada/ptype_tagged_param.exp: Likewise.
864 * gdb.ada/ptype_union.exp: Likewise.
865 * gdb.ada/py_range.exp: Likewise.
866 * gdb.ada/py_taft.exp: Likewise.
867 * gdb.ada/rdv_wait.exp: Likewise.
868 * gdb.ada/rec_comp.exp: Likewise.
869 * gdb.ada/rec_return.exp: Likewise.
870 * gdb.ada/ref_param.exp: Likewise.
871 * gdb.ada/ref_tick_size.exp: Likewise.
872 * gdb.ada/rename_subscript_param.exp: Likewise.
873 * gdb.ada/repeat_dyn.exp: Likewise.
874 * gdb.ada/same_component_name.exp: Likewise.
875 * gdb.ada/same_enum.exp: Likewise.
876 * gdb.ada/scalar_storage.exp: Likewise.
877 * gdb.ada/set_wstr.exp: Likewise.
878 * gdb.ada/small_reg_param.exp: Likewise.
879 * gdb.ada/str_binop_equal.exp: Likewise.
880 * gdb.ada/str_ref_cmp.exp: Likewise.
881 * gdb.ada/str_uninit.exp: Likewise.
882 * gdb.ada/sub_variant.exp: Likewise.
883 * gdb.ada/sym_print_name.exp: Likewise.
884 * gdb.ada/taft_type.exp: Likewise.
885 * gdb.ada/tagged.exp: Likewise.
886 * gdb.ada/tagged_access.exp: Likewise.
887 * gdb.ada/task_bp.exp: Likewise.
888 * gdb.ada/task_switch_in_core.exp: Likewise.
889 * gdb.ada/tasks.exp: Likewise.
890 * gdb.ada/tick_last_segv.exp: Likewise.
891 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
892 * gdb.ada/type_coercion.exp: Likewise.
893 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
894 * gdb.ada/unchecked_union.exp: Likewise.
895 * gdb.ada/uninitialized_vars.exp: Likewise.
896 * gdb.ada/var_arr_attrs.exp: Likewise.
897 * gdb.ada/var_arr_typedef.exp: Likewise.
898 * gdb.ada/var_rec_arr.exp: Likewise.
899 * gdb.ada/variant-record.exp: Likewise.
900 * gdb.ada/variant.exp: Likewise.
901 * gdb.ada/variant_record_packed_array.exp: Likewise.
902 * gdb.ada/varsize_limit.exp: Likewise.
903 * gdb.ada/whatis_array_val.exp: Likewise.
904 * gdb.ada/widewide.exp: Likewise.
905 * gdb.ada/win_fu_syms.exp: Likewise.
906
9072020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
908
909 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
910
10c381b5
AB
9112020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
912
913 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
914 unset the array variable.
915
8f34b746
TV
9162020-08-03 Tom de Vries <tdevries@suse.de>
917
918 PR symtab/26333
919 * lib/dwarf.exp (DW_LNE_user): New proc.
920 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
921 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
922
0245e136
KB
9232020-07-31 Kevin Buettner <kevinb@redhat.com>
924
925 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
926 to 'uintptr_t'
927 (inttypes.h): Include.
928
9ef1ec5d
KB
9292020-07-31 Kevin Buettner <kevinb@redhat.com>
930
931 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
932 (C5_24k): Delete.
933 (C5_8k, C5_64k, C5_256k): New macros.
934 (buf_ro): Allocate 256 KiB of initialized data.
935
4c55e970
TBA
9362020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
937
938 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
939 that attempt to overwrite an existing condition with a condition
940 that fails parsing and also with a condition that parses fine
941 but contains junk at the end.
942
1e620590
TBA
9432020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
944
945 * gdb.base/condbreak-bad.c: New test.
946 * gdb.base/condbreak-bad.exp: New file.
947
e12dcc50
TV
9482020-07-30 Tom de Vries <tdevries@suse.de>
949
950 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
951 out of ...
952 (GDBInfoModuleSymbols::check_entry): ... here.
953 (GDBInfoModuleSymbols::check_optional_entry): New proc.
954 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
955 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
956
6cc64caa
TV
9572020-07-30 Tom de Vries <tdevries@suse.de>
958
959 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
960 "__class_some_module_Number_t" optional.
961
90fd07fc
TV
9622020-07-29 Tom de Vries <tdevries@suse.de>
963
964 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
965 multiple locations.
966
f5c79e97
TV
9672020-07-29 Tom de Vries <tdevries@suse.de>
968
969 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
970 rather than function name.
971
f75a0693
AB
9722020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
973
974 PR symtab/26270:
975 * gdb.cp/disasm-func-name.cc: New file.
976 * gdb.cp/disasm-func-name.exp: New file.
977
4888741a
TT
9782020-07-28 Tom Tromey <tromey@adacore.com>
979
980 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
981 'varval' location.
982
43d5901d
AB
9832020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
984
985 * gdb.python/py-unwind.py: Update to make use of a register
986 descriptor.
987
14fa8fb3
AB
9882020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
989
990 * gdb.python/py-arch-reg-names.exp: Add additional tests.
991
e79eb02f
AB
9922020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
993
994 PR fortran/23051
995 PR fortran/26139
996 * gdb.fortran/class-allocatable-array.exp: New file.
997 * gdb.fortran/class-allocatable-array.f90: New file.
998 * gdb.fortran/pointer-to-pointer.exp: New file.
999 * gdb.fortran/pointer-to-pointer.f90: New file.
1000
876518dd
TV
10012020-07-25 Tom de Vries <tdevries@suse.de>
1002
1003 PR symtab/26243
1004 * gdb.dwarf2/dw2-line-number-zero.c: New test.
1005 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
1006
6dcfb80a
TV
10072020-07-24 Tom de Vries <tdevries@suse.de>
1008
1009 PR testsuite/26293
1010 * gdb.ada/mi_prot.exp: Require gnatmake-8.
1011
e7bc9db8
PA
10122020-07-23 Pedro Alves <pedro@palves.net>
1013
1014 * gdb.server/server-kill.exp (prepare): New, factored out from the
1015 top level.
1016 (kill_server): New.
1017 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
1018 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
1019
78344df7
AB
10202020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
1021
1022 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
1023
25dfed24
SL
10242020-07-22 Sandra Loosemore <sandra@codesourcery.com>
1025
1026 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
1027 Initialize to empty string at top level.
1028 (gdb_wrapper_init): Revert check for file existence on build.
1029 Build the wrapper in its default place, not a build-specific
1030 location. When host == build, make the pathname absolute.
1031 (gdb_compile): Delete leftover declaration of
1032 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
1033 string instead of uninitialized.
1034
7da515fd
KB
10352020-07-22 Kevin Buettner <kevinb@redhat.com>
1036
1037 * gdb.base/corefile2.exp: New file.
1038 * gdb.base/coremaker2.exp: New file.
1039
9c5ec5c2
KB
10402020-07-22 Kevin Buettner <kevinb@redhat.com>
1041
1042 * gdb.base/coredump-filter.exp: Add second
1043 non-Private-Shared-Anon-File test.
1044 (test_disasm): Rename binfile for test which is expected
1045 to fail.
1046
f9e233c9
KB
10472020-07-22 Kevin Buettner <kevinb@redhat.com>
1048
1049 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
1050 data in core file".
1051 * gdb.base/coremaker.c (buf2ro): New global.
1052 (mmapdata): Add a read-only mmap mapping.
1053
94c265d7
KB
10542020-07-22 Kevin Buettner <kevinb@redhat.com>
1055
1056 PR corefiles/25631
1057 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
1058 New test.
1059 * gdb.base/coremaker.c (buf3): New global.
1060 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
1061 flags.
1062
10632020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
1064
1065 * gdb.base/coremaker.c (filler_ro): New global constant.
1066
32fa152e
TT
10672020-07-22 Tom Tromey <tromey@adacore.com>
1068
1069 * gdb.ada/mi_prot.exp: New file.
1070 * gdb.ada/mi_prot/pkg.adb: New file.
1071 * gdb.ada/mi_prot/pkg.ads: New file.
1072 * gdb.ada/mi_prot/prot.adb: New file.
1073
c8474dc3
TBA
10742020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1075
1076 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
1077 loads two JITers.
1078
baf8791e
AB
10792020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1080
1081 * gdb.python/py-arch-reg-groups.exp: Additional tests.
1082
f7306dac
AB
10832020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1084
1085 * gdb.python/py-arch-reg-names.exp: Additional tests.
1086
6d3d6e4b
TV
10872020-07-21 Tom de Vries <tdevries@suse.de>
1088
1089 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
1090 breakpoint locations".
1091 * gdb.reverse/solib-reverse.exp: Same.
1092
803d0592
TV
10932020-07-21 Tom de Vries <tdevries@suse.de>
1094
1095 * gdb.reverse/step-reverse.c (callee): Merge statements.
1096
e9bdc510
TV
10972020-07-21 Tom de Vries <tdevries@suse.de>
1098
1099 * gdb.fortran/info-modules.exp (info module variables): Allow missing
1100 line numbers for some variables.
1101
f0f9e75a
TV
11022020-07-21 Tom de Vries <tdevries@suse.de>
1103
1104 * gdb.opt/inline-locals.c (init_array): New func.
1105 (func1): Use init_array.
1106 * gdb.opt/inline-locals.exp: Update pattern.
1107
bd460ecb
TV
11082020-07-21 Tom de Vries <tdevries@suse.de>
1109
1110 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
1111 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
1112
ae5369e7
LC
11132020-07-20 Ludovic Courtès <ludo@gnu.org>
1114
1115 * gdb.guile/source2.scm: Add #f first argument to 'format'.
1116 * gdb.guile/types-module.exp: Remove "ERROR:" from
1117 regexps since Guile 3.0 no longer prints that.
1118
68cf161c
LC
11192020-07-20 Ludovic Courtès <ludo@gnu.org>
1120
1121 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
1122 error regexp to match on Guile 2.2.
1123
c14b4913
GB
11242020-07-20 Gary Benson <gbenson@redhat.com>
1125
1126 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
1127 with clang.
1128
b243ba58
TV
11292020-07-20 Tom de Vries <tdevries@suse.de>
1130
1131 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
1132 (omp_set_lock_in_order): New function.
1133 (single_scope, multi_scope, nested_func, nested_parallel): Use
1134 omp_set_lock_in_order and omp_unset_lock.
1135 (main): Init and destroy lock and lock2.
1136
c06ad8b5
TV
11372020-07-20 Tom de Vries <tdevries@suse.de>
1138
1139 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
1140
6e22f117
TV
11412020-07-20 Tom de Vries <tdevries@suse.de>
1142
1143 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
1144
33176ea7
TV
11452020-07-17 Tom de Vries <tdevries@suse.de>
1146
1147 * gdb.base/valgrind-infcall-2.c: New test.
1148 * gdb.base/valgrind-infcall-2.exp: New file.
1149 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
1150
90c3ec2d
TV
11512020-07-17 Tom de Vries <tdevries@suse.de>
1152
1153 * gdb.dlang/circular.c (found): Use found_label as label name.
1154 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
1155 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
1156 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
1157 * gdb.dwarf2/ada-linkage-name.exp: Same.
1158 * gdb.dwarf2/arr-subrange.exp: Same.
1159 * gdb.dwarf2/atomic-type.exp: Same.
1160 * gdb.dwarf2/comp-unit-lang.exp: Same.
1161 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1162 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1163 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
1164 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
1165 * gdb.dwarf2/implptr-64bit.exp: Same.
1166 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1167 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1168 * gdb.dwarf2/imported-unit.exp: Same.
1169 * gdb.dwarf2/main-subprogram.exp: Same.
1170 * gdb.dwarf2/missing-type-name.exp: Same.
1171 * gdb.dwarf2/nonvar-access.exp: Same.
1172 * gdb.dwarf2/struct-with-sig.exp: Same.
1173 * gdb.dwarf2/typedef-void-finish.exp: Same.
1174 * gdb.dwarf2/void-type.exp: Same.
1175
10da644d
TV
11762020-07-17 Tom de Vries <tdevries@suse.de>
1177
1178 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
1179 src parameter.
1180 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
1181 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
1182 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1183 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1184 * gdb.dwarf2/dwz.exp: Same.
1185 * gdb.dwarf2/implptr-optimized-out.exp: Same.
1186 * gdb.dwarf2/implref-array.exp: Same.
1187 * gdb.dwarf2/implref-const.exp: Same.
1188 * gdb.dwarf2/implref-global.exp: Same.
1189 * gdb.dwarf2/implref-struct.exp: Same.
1190 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1191 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1192 * gdb.dwarf2/var-access.exp: Same.
1193 * gdb.dwarf2/varval.exp: Same.
1194 * gdb.trace/entry-values.exp: Same.
1195
315e6afc
TV
11962020-07-17 Tom de Vries <tdevries@suse.de>
1197
1198 * lib/dwarf.exp (Dwarf::extern): Remove.
1199 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
1200 * gdb.dlang/circular.exp: Same.
1201 * gdb.dwarf2/comp-unit-lang.exp: Same.
1202 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1203 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
1204 * gdb.dwarf2/dwz.exp: Same.
1205 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1206 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1207 * gdb.dwarf2/imported-unit.exp: Same.
1208 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1209
5597c940
SL
12102020-07-16 Sandra Loosemore <sandra@codesourcery.com>
1211
1212 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
1213 Use double quotes instead of single quotes.
1214
d0ce17d8
CT
12152020-07-16 Caroline Tice <cmtice@google.com>
1216
1217 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
1218 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
1219
853772cc
TV
12202020-07-16 Tom de Vries <tdevries@suse.de>
1221
1222 * lib/dwarf.exp (program): Initialize _line.
1223 (DW_LNE_end_sequence): Reinitialize _line.
1224 (DW_LNS_advance_line): Update _line.
1225 (line): New proc.
1226 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
1227 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1228 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1229 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1230 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1231 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1232
fe07b572
AB
12332020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1234
1235 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
1236 generic.
1237
52781cce
TV
12382020-07-15 Tom de Vries <tdevries@suse.de>
1239
1240 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
1241 is_amd64_regs_target.
1242
3dcc261c
AB
12432020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1244
1245 * gdb.fortran/ptype-on-functions.exp: Add more tests.
1246 * gdb.fortran/ptype-on-functions.f90: Likewise.
1247
054a0959
SM
12482020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
1249
1250 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
1251 values in documentation for addr_size to 4 and 8.
1252
ccb9eba6
AB
12532020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
1254
1255 * gdb.arch/amd64-osabi.exp: Update.
1256 * gdb.arch/arm-disassembler-options.exp: Update.
1257 * gdb.arch/powerpc-disassembler-options.exp: Update.
1258 * gdb.arch/ppc64-symtab-cordic.exp: Update.
1259 * gdb.arch/s390-disassembler-options.exp: Update.
1260 * gdb.base/all-architectures.exp.tcl: Update.
1261 * gdb.base/attach-pie-noexec.exp: Update.
1262 * gdb.base/catch-syscall.exp: Update.
1263 * gdb.xml/tdesc-arch.exp: Update.
1264
025a39a7
TV
12652020-07-14 Tom de Vries <tdevries@suse.de>
1266
1267 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
1268 (local_gettid): ... this.
1269 (fn): Update.
1270
74e4b667
SL
12712020-07-13 Sandra Loosemore <sandra@codesourcery.com>
1272
1273 * gdb.base/info_sources.exp: Skip directory match tests on
1274 remote hosts.
1275
f413dd74
GB
12762020-07-13 Gary Benson <gbenson@redhat.com>
1277
1278 * gdb.base/savedregs.exp (caller): Use parentheses to
1279 make expected expression evaluation ordering explicit.
1280
915771bb
GB
12812020-07-13 Gary Benson <gbenson@redhat.com>
1282
1283 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
1284
2a122642
GB
12852020-07-13 Gary Benson <gbenson@redhat.com>
1286
1287 * gdb.base/bigcore.c (main): Use a volatile pointer when
1288 attempting to trigger a SIGSEGV.
1289 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
1290 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
1291 * gdb.base/savedregs.c (thrower): Likewise.
1292 * gdb.mi/mi-syn-frame.c (bar): Likewise.
1293
3f00c730
GB
12942020-07-13 Gary Benson <gbenson@redhat.com>
1295
1296 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
1297 defining and using VLA structure fields into...
1298 * gdb.base/vla-struct-fields.c: New file.
1299 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
1300 tests into...
1301 * gdb.base/vla-struct-fields.exp: New file.
1302
963eeee4
TV
13032020-07-13 Tom de Vries <tdevries@suse.de>
1304
1305 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
1306 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
1307 * gdb.base/gold-gdb-index.exp: Same.
1308 * gdb.base/morestack.exp: Same.
1309
0ed35c9a
DX
13102020-07-11 Daniel Xu <dxu@dxuuu.xyz>
1311
1312 PR rust/26121
1313 * gdb.rust/modules.rs: Prevent linker from discarding test
1314 symbol.
1315
4fdba23d
PA
13162020-07-10 Pedro Alves <pedro@palves.net>
1317
1318 PR gdb/26199
1319 * gdb.multi/multi-target.c (exit_thread): New.
1320 (thread_start): Break loop if EXIT_THREAD.
1321 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
1322 (top level) Call test_no_resumed.
1323
15f3b077
TT
13242020-07-08 Tom Tromey <tromey@adacore.com>
1325
1326 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
1327 * gdb.ada/catch_ex.exp: Examine catchpoint text.
1328
9fc501fd
AB
13292020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1330
1331 PR python/22748
1332 * gdb.opt/inline-frame-tailcall.c: New file.
1333 * gdb.opt/inline-frame-tailcall.exp: New file.
1334 * gdb.python/py-unwind-inline.c: New file.
1335 * gdb.python/py-unwind-inline.exp: New file.
1336 * gdb.python/py-unwind-inline.py: New file.
1337
64cb3757
AB
13382020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1339
1340 * gdb.python/py-arch-reg-groups.exp: New file.
1341
0f767f94
AB
13422020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1343
1344 * gdb.python/py-arch-reg-names.exp: New file.
1345
87dbc774
AB
13462020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1347
1348 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
1349 gdb.PendingFrame.architecture method.
1350
d8cc8af6
TV
13512020-07-06 Tom de Vries <tdevries@suse.de>
1352
1353 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
1354
3c8ea5be
PA
13552020-07-03 Pedro Alves <palves@redhat.com>
1356
1357 * gdb.base/structs2.c (main): Adjust second parem_reg call to
1358 explicitly write negative numbers.
1359 * gdb.base/structs2.exp: Adjust expected output.
1360
bf90c83a
PA
13612020-07-03 Pedro Alves <palves@redhat.com>
1362
1363 * gdb.base/charset.c (init_string): Change all char parameters to
1364 unsigned char parameters.
1365
2eb82157
PA
13662020-07-03 Pedro Alves <palves@redhat.com>
1367
1368 * gdb.base/call-sc.exp (start_scalars_test): Use
1369 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1370 * gdb.base/overlays.c: Remove references to PARAMS.
1371 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
1372 * gdb.base/reread.exp: Don't set 'prototypes' global.
1373 * gdb.base/structs.exp (start_structs_test): Use
1374 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1375 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
1376 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1377 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
1378 call.
1379 * gdb.base/varargs.exp: Don't set 'prototypes' global.
1380
9adda7af
PA
13812020-07-03 Pedro Alves <palves@redhat.com>
1382
1383 * gdb.base/m32rovly.c: Delete.
1384 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
1385
2a17c803
PW
13862020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1387
1388 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
1389 of gdb_py_test_multiple.
1390 * gdb.python/py-cmd.exp: Likewise.
1391 * gdb.python/py-events.exp: Likewise.
1392 * gdb.python/py-function.exp: Likewise.
1393 * gdb.python/py-inferior.exp: Likewise.
1394 * gdb.python/py-infthread.exp: Likewise.
1395 * gdb.python/py-linetable.exp: Likewise.
1396 * gdb.python/py-parameter.exp: Likewise.
1397 * gdb.python/py-value.exp: Likewise.
1398
b011fe1a
TV
13992020-06-30 Tom de Vries <tdevries@suse.de>
1400
1401 PR testsuite/26175
1402 * lib/future.exp (gdb_default_target_compile): Detect and handle
1403 early_flags.
1404
df5b8876
SM
14052020-06-29 Simon Marchi <simon.marchi@efficios.com>
1406
1407 * boards/simavr.exp (gdb_load): Catch errors when closing
1408 previous connection. Close connection, wait for process and
1409 unset simavr_spawn_id on failure.
1410
a3ca48cd
TV
14112020-06-29 Tom de Vries <tdevries@suse.de>
1412
1413 * lib/gdb.exp (unknown): Make test-case unresolved.
1414
b0237c0e
TV
14152020-06-29 Tom de Vries <tdevries@suse.de>
1416
1417 PR gdb/25475
1418 * gdb.server/solib-list.exp: Verify that the symbol reload
1419 confirmation question is asked.
1420
c0b3b3bd
PW
14212020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1422
1423 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
1424 have a input seq nr in each pass message.
fe4c3d43 1425 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
1426 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
1427 * gdb.python/python.exp: Make test names unique,
1428 use gdb_test_multiline instead of gdb_py_test_multiple,
1429 use $gdb_test_name.
1430 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
1431
1776e3e5
NA
14322020-06-26 Nick Alcock <nick.alcock@oracle.com>
1433
1434 * configure.ac: Add --enable-libctf.
1435 * aclocal.m4: sinclude ../config/enable.m4.
1436 * Makefile.in (site.exp): Add enable_libctf to site.exp.
1437 * lib/gdb.exp (skip_ctf_tests): Use it.
1438 * gdb.base/ctf-constvars.exp: Error message tweak.
1439 * gdb.base/ctf-ptype.exp: Likewise.
1440 * configure: Regenerate.
1441
f53b3eeb
GB
14422020-06-26 Gary Benson <gbenson@redhat.com>
1443
1444 * gdb.cp/try_catch.cc: Include string.h.
1445 (main): Replace comparison against string literal with
1446 strcmp, avoiding build failure with -Wstring-compare.
1447 Add "marker test-complete".
1448 * gdb.cp/try_catch.exp: Run the test to the above marker,
1449 then verify that the value of "test" is still true.
1450
6d74da72
AB
14512020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1452
1453 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
1454
2e52d038
AB
14552020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1456
1457 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1458
3b9fce96
AB
14592020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1460
1461 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
1462 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
1463 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
1464 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
1465 * gdb.arch/riscv-tdesc-loading.exp: New file.
1466
ed69cbc8
AB
14672020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1468
1469 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1470
767a879e
AB
14712020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1472
1473 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
1474 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
1475 * gdb.arch/riscv-tdesc-regs.c: New file.
1476 * gdb.arch/riscv-tdesc-regs.exp: New file.
1477
221db974
PA
14782020-06-24 Pedro Alves <palves@redhat.com>
1479
1480 * gdb.arch/amd64-entry-value-paramref.exp: Use
1481 prepare_for_testing_full and don't pass "c++" for the .S file
1482 build spec.
1483 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
1484 $options, since it's an assembly file. Remove -Wno-deprecated.
1485 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
1486 compiling C++ programs.
1487
331733cd
PA
14882020-06-24 Pedro Alves <palves@redhat.com>
1489
1490 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
1491 Clang, add "-Wno-unknown-warning-option" to the options.
1492
caa7fd04
AB
14932020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
1494
1495 * gdb.xml/tdesc-reload.c: New file.
1496 * gdb.xml/tdesc-reload.exp: New file.
1497 * gdb.xml/maint-xml-dump-01.xml: New file.
1498 * gdb.xml/maint-xml-dump-02.xml: New file.
1499 * gdb.xml/maint-xml-dump.exp: New file.
1500
bb8d1260
SL
15012020-06-23 Sandra Loosemore <sandra@codesourcery.com>
1502
1503 * lib/completion-support.exp (test_gdb_completion_offers_commands):
1504 Adjust for omitted commands when TUI is disabled.
1505
7e4b9c4c
GB
15062020-06-23 Gary Benson <gbenson@redhat.com>
1507 Pedro Alves <palves@redhat.com>
1508
1509 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
1510 * gdb.cp/nsimport.cc: Likewise.
1511 * gdb.cp/nsnested.cc: Likewise.
1512 * gdb.cp/nsnoimports.cc: Likewise.
1513 * gdb.cp/nsusing.cc: Likewise.
1514 * gdb.cp/smartp.cc: Likewise.
1515 * gdb.python/py-pp-integral.c: Likewise.
1516 * gdb.python/py-pp-re-notag.c: Likewise.
1517
2e573c0a
GB
15182020-06-23 Gary Benson <gbenson@redhat.com>
1519
1520 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
1521 * gdb.cp/nsimport.cc: Likewise.
1522 * gdb.cp/nsnested.cc: Likewise.
1523 * gdb.cp/nsnoimports.cc: Likewise.
1524 * gdb.cp/nsusing.cc: Likewise.
1525 * gdb.cp/smartp.cc: Likewise.
1526 * gdb.python/py-pp-integral.c: Likewise.
1527 * gdb.python/py-pp-re-notag.c: Likewise.
1528
746ebfe8
PW
15292020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1530
1531 * gdb.base/default-args.exp: New test.
1532 * gdb.base/default-args.c: New file.
1533 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
1534 * gdb.base/default.exp: Update to new help text.
1535 * gdb.base/help.exp: Likewise.
1536 * gdb.base/page.exp: Likewise.
1537 * gdb.base/style.exp: Likewise.
1538 * gdb.guile/guile.exp: Likewise.
1539 * gdb.python/python.exp: Likewise.
1540
e822f2cd
SL
15412020-06-22 Sandra Loosemore <sandra@codesourcery.com>
1542
1543 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
1544 remote host. Fix search path syntax on Windows host.
1545
48e9cc84
PW
15462020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1547
1548 * gdb.base/attach.exp: Test priority of 'exec-file' changed
1549 over 'exec-file-mismatch'.
1550 * gdb.base/attach.c: Mark should_exit volatile.
1551 * gdb.base/attach2.c: Likewise. Add a comment explaining
1552 why the sleep cannot be big.
1553 * gdb.base/attach3.c: New file.
1554
160f8a8f
SL
15552020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1556
1557 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
1558 prefix optional.
1559
4d91c2a4
SL
15602020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1561
1562 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
1563 for remote host.
1564
87f83f20
SL
15652020-06-19 Sandra Loosemore <sandra@codesourcery.com>
1566 Hafiz Abid Qadeer <abidh@codesourcery.com>
1567
1568 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
1569 file sent to remote host.
1570 (top level): Allow int32_t as type of 32-bit register.
1571
37ab8655
TV
15722020-06-19 Tom de Vries <tdevries@suse.de>
1573
1574 * lib/gdb.exp (gdb_note): New proc.
1575 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
1576 (gdb_default_target_compile): ... here. Only call
1577 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
1578 (use_gdb_compile): Change to array.
1579 (toplevel): Update sets of use_gdb_compile to specify language.
1580 Warn about default_target_compile override. Store dejagnu's version
1581 of default_target_compile in dejagnu_default_target_compile.
1582
a8a56685
TV
15832020-06-18 Tom de Vries <tdevries@suse.de>
1584
1585 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
1586 (default_gdb_init): ... here.
1587
581bea2c
SL
15882020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1589
1590 Fix TUI support checks in gdb.tui tests.
1591
1592 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
1593 just say UNSUPPORTED.
1594 * gdb.tui/corefile-run.exp: Likewise.
1595 * gdb.tui/empty.exp: Likewise.
1596 * gdb.tui/list-before.exp: Likewise.
1597 * gdb.tui/list.exp: Likewise.
1598 * gdb.tui/main.exp: Likewise.
1599 * gdb.tui/regs.exp: Likewise.
1600 * gdb.tui/resize.exp: Likewise.
1601 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
1602 * gdb.tui/tui-layout-asm.exp: Likewise.
1603 * gdb.tui/tui-missing-src.exp: Likewise.
1604 * gdb.tui/winheight.exp: Likewise.
1605 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
1606
05e682e3
SL
16072020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1608
1609 Fix TCL error in gdb.python/py-format-string.exp.
1610
1611 * gdb.python/py-format-string.exp: Move test for python support
1612 earlier, out of function body.
1613
efb763a5
SM
16142020-06-15 Simon Marchi <simon.marchi@efficios.com>
1615
1616 * gdb.base/index-cache-load-twice.c: New.
1617 * gdb.base/index-cache-load-twice.exp: New.
1618
43327b20
KS
16192020-06-17 Keith Seitz <keiths@redhat.com>
1620
99cf27cf 1621 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
1622 when executing "gdb --configuration".
1623
081e778c
TV
16242020-06-17 Tom de Vries <tdevries@suse.de>
1625
1626 * lib/gdb.exp (gdb_tcl_unknown): New proc.
1627 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
1628 conditional on presence of gdb_tcl_unknown.
1629 (gdb_finish): Make override undo conditional on presence of
1630 gdb_tcl_unknown.
1631
d2d1ea20
TT
16322020-06-16 Tom Tromey <tom@tromey.com>
1633
1634 * gdb.python/tui-window.py (failwin): New function. Register it
1635 as a TUI window type.
1636 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
1637
c802e8a7
GB
16382020-06-16 Gary Benson <gbenson@redhat.com>
1639
1640 * gdb.python/py-nested-maps.c (create_map): Add missing return
1641 value.
1642 (create_map_map): Likewise.
1643
ff08abb8
TBA
16442020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1645
1646 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
1647 variable.
1648 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
1649 and use the already-defined 'options' variable.
1650
a29d5112
AB
16512020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1652 Tom de Vries <tdevries@suse.de>
1653
1654 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
1655 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
1656 (gdb_setup_known_globals): New proc.
1657 (gdb_cleanup_globals): New proc.
1658 * lib/gdb.exp (load_lib): New override proc.
1659 (gdb_stdin_log_init): Set var in_file as persistent global.
1660 * lib/pascal.exp (gdb_stdin_log_init): Set vars
1661 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
1662 fpc_compiler as persistent global.
1663
8c74a764
TV
16642020-06-12 Tom de Vries <tdevries@suse.de>
1665
1666 * lib/tuiterm.exp (spawn): Rename to ...
1667 (tui_spawn): ... this.
1668 (toplevel): Move rename of spawn ...
1669 (gdb_init_tuiterm): ... here. New proc.
1670 (gdb_finish_tuiterm): New proc.
1671 * lib/gdb.exp (gdb_finish_hooks): New global var.
1672 (gdb_finish): Handle gdb_finish_hooks.
1673 (tuiterm_env): New proc.
1674 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
1675 tuiterm_env.
1676 * gdb.tui/basic.exp: Same.
1677 * gdb.tui/corefile-run.exp: Same.
1678 * gdb.tui/empty.exp: Same.
1679 * gdb.tui/list-before.exp: Same.
1680 * gdb.tui/list.exp: Same.
1681 * gdb.tui/main.exp: Same.
1682 * gdb.tui/new-layout.exp: Same.
1683 * gdb.tui/regs.exp: Same.
1684 * gdb.tui/resize.exp: Same.
1685 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
1686 * gdb.tui/tui-layout-asm.exp: Same.
1687 * gdb.tui/tui-missing-src.exp: Same.
1688 * gdb.tui/winheight.exp: Same.
1689
26783bce
TV
16902020-06-12 Tom de Vries <tdevries@suse.de>
1691
1692 PR testsuite/26110
1693 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
1694 (gdb_finish): Reinstall dejagnu's override of ::unknown.
1695
2b4e6a3f
TT
16962020-06-11 Tom Tromey <tom@tromey.com>
1697
1698 PR gdb/18318:
1699 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
1700 floating point tests.
1701
2f33032a
KS
17022020-06-11 Keith Seitz <keiths@redhat.com>
1703
1704 PR gdb/21356
1705 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
1706 vla_struct.
1707 Add new struct vla_typedef and union vla_typedef_union and
1708 corresponding instantiation objects.
1709 Initialize new objects.
1710 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
1711 and vla_typedef_union_object.
1712 Fixup type for vla_struct_object.
1713
a8baf0a3
TV
17142020-06-11 Tom de Vries <tdevries@suse.de>
1715
1716 * lib/gdb.exp (with_override): New proc, factored out of ...
1717 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
1718
7ab96794
TV
17192020-06-10 Tom de Vries <tdevries@suse.de>
1720
1721 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
1722
cab5c3b7
SM
17232020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
1724
1725 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
1726 parameter, update callers.
1727
f8c41851
SM
17282020-06-04 Simon Marchi <simon.marchi@efficios.com>
1729
1730 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
1731 * gdb.dwarf2/share-psymtabs-bt.c: New file.
1732 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
1733
1c07a73f
TV
17342020-06-04 Tom de Vries <tdevries@suse.de>
1735
1736 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
1737
95146b5d
TV
17382020-06-04 Tom de Vries <tdevries@suse.de>
1739
1740 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
1741 exp_continue.
1742
0cfcd4f0
TV
17432020-06-04 Tom de Vries <tdevries@suse.de>
1744
1745 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
1746
f9b5d5ea
TV
17472020-06-03 Tom de Vries <tdevries@suse.de>
1748
1749 PR symtab/26046
1750 * gdb.cp/breakpoint-locs-2.cc: New test.
1751 * gdb.cp/breakpoint-locs.cc: New test.
1752 * gdb.cp/breakpoint-locs.exp: New file.
1753 * gdb.cp/breakpoint-locs.h: New test.
1754
5144dfba
TV
17552020-06-03 Tom de Vries <tdevries@suse.de>
1756
1757 PR testsuite/25609
1758 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
1759 value of global verbose.
1760 * gdb.base/jit-elf.exp: Same.
1761 * gdb.base/jit-reader.exp: Same.
1762
621eacdf
TV
17632020-06-02 Tom de Vries <tdevries@suse.de>
1764
1765 * gdb.dwarf2/multidictionary.exp: Don't use
1766 gdb_spawn_with_cmdline_opts.
1767
1313c56e
AB
17682020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
1769
1770 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
1771 use_header case.
1772 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
1773 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
1774 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
1775 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
1776 * gdb.dwarf2/dw2-inline-header.c: New file.
1777 * gdb.dwarf2/dw2-inline-header.h: New file.
1778
f68f85b5
PA
17792020-05-30 Pedro Alves <palves@redhat.com>
1780
1781 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
1782 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
1783
678048e8
GB
17842020-05-29 Gary Benson <gbenson@redhat.com>
1785
1786 * gdb.compile/compile-cplus.exp (additional_flags): Also
1787 set when building with clang.
1788 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
1789 when building with clang.
1790
9fcafd23
GB
17912020-05-29 Gary Benson <gbenson@redhat.com>
1792
1793 * gdb.arch/i386-avx.exp (additional_flags): Also set when
1794 building with clang.
1795 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
1796
735d5a07
GB
17972020-05-29 Gary Benson <gbenson@redhat.com>
1798
1799 * gdb.cp/koenig.exp (prepare_for_testing): Add
1800 additional_flags=-Wno-unused-comparison.
1801 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
1802
4ad2c6a0
GB
18032020-05-28 Gary Benson <gbenson@redhat.com>
1804
1805 * gdb.base/sigaltstack.c (catcher): Add default case to switch
1806 statement.
1807
09fe663e
GB
18082020-05-28 Gary Benson <gbenson@redhat.com>
1809
1810 * gdb.cp/classes.exp (prepare_for_testing): Add
1811 additional_flags=-Wno-deprecated-register.
1812 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
1813 * gdb.cp/misc.exp: Likewise.
1814
cee00f17
GB
18152020-05-28 Gary Benson <gbenson@redhat.com>
1816
1817 * gdb.linespec/cpls-ops.cc (dummy): New static global.
1818 (test_op_new::operator new): Add return statement.
1819 (test_op_new_array::operator new[]): Likewise.
1820
636edd00
PA
18212020-05-27 Pedro Alves <palves@redhat.com>
1822
1823 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
1824 check. Use test_gdb_complete_unique instead of
1825 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
1826 test_gdb_complete_multiple instead of
1827 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
1828
c2b75043
LM
18292020-05-27 Luis Machado <luis.machado@linaro.org>
1830
1831 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
1832 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
1833 * gdb.arch/arm-disassembler-options.exp: Likewise.
1834 * gdb.arch/arm-disp-step.exp: Likewise.
1835 * gdb.arch/thumb-prologue.exp: Likewise.
1836 * gdb.base/async.exp: Likewise.
1837 * gdb.base/auxv.exp: Likewise.
1838 * gdb.base/complex-parts.exp: Likewise.
1839 * gdb.base/ena-dis-br.exp: Likewise.
1840 * gdb.base/foll-exec.exp: Likewise.
1841 * gdb.base/permissions.exp: Likewise.
1842 * gdb.base/relocate.exp: Likewise.
1843 * gdb.base/return2.exp: Likewise.
1844 * gdb.base/sigbpt.exp: Likewise.
1845 * gdb.base/siginfo-obj.exp: Likewise.
1846 * gdb.cp/converts.exp: Likewise.
1847 * gdb.cp/exceptprint.exp: Likewise.
1848 * gdb.cp/inherit.exp: Likewise.
1849 * gdb.cp/nsnoimports.exp: Likewise.
1850 * gdb.cp/virtbase2.exp: Likewise.
1851 * gdb.mi/mi-var-cmd.exp: Likewise.
1852 * gdb.mi/var-cmd.c: Likewise.
1853
53a47a3e
TT
18542020-05-26 Tom Tromey <tromey@adacore.com>
1855
1856 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
1857
0bc2354b
TT
18582020-05-26 Tom Tromey <tromey@adacore.com>
1859
1860 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
1861 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
1862 type.
1863 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
1864 variable.
1865
0db49895
CBG
18662020-05-26 Christian Biesinger <cbiesinger@google.com>
1867
1868 * Makefile.in: Use = instead of == for the test command
1869 for portability.
1870
40d22035
TV
18712020-05-26 Tom de Vries <tdevries@suse.de>
1872
1873 * gdb.base/gold-gdb-index-2.c: New test.
1874 * gdb.base/gold-gdb-index.c: New test.
1875 * gdb.base/gold-gdb-index.exp: New file.
1876 * gdb.base/gold-gdb-index.h: New test.
1877
043e2e02
TV
18782020-05-25 Tom de Vries <tdevries@suse.de>
1879
1880 * boards/gold-gdb-index.exp: New file.
1881
462f72c5
SM
18822020-05-25 Simon Marchi <simon.marchi@efficios.com>
1883
1884 * boards/simavr.exp: New file.
1885
6cf66e76
SM
18862020-05-25 Simon Marchi <simon.marchi@efficios.com>
1887
1888 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
1889 * gdb.base/inferior-args.exp: New file.
1890 * gdb.base/inferior-args.c: New file.
1891
75d04512
SM
18922020-05-25 Simon Marchi <simon.marchi@efficios.com>
1893
1894 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
1895 inferior_args. Pass it to gdb_reload.
1896 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
1897 inferior_args.
1898 (gdb_reload): Add inferior_args argument.
1899 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
1900 pass it to gdbserver_run.
1901 * boards/native-gdbserver.exp: Do not set noargs.
1902 * boards/native-extended-gdbserver.exp (gdb_reload): Add
1903 inferior_args argument.
1904 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
1905 * gdb.base/a2-run.exp: Check for use_gdb_stub.
1906 * gdb.base/args.exp: Likewise.
1907
42cf1844
TV
19082020-05-25 Tom de Vries <tdevries@suse.de>
1909
1910 * lib/gdb.exp (exec_is_pie): Add comment.
1911
8f7d38ef
TV
19122020-05-25 Tom de Vries <tdevries@suse.de>
1913
1914 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
1915 instead of $binfile in the untested message.
1916
465e1b0f
TV
19172020-05-25 Tom de Vries <tdevries@suse.de>
1918
1919 PR testsuite/26031
1920 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
1921
3c5a0e02
TV
19222020-05-25 Tom de Vries <tdevries@suse.de>
1923
1924 * boards/gold.exp: New file.
1925
0a4f5f8c
TT
19262020-05-23 Tom Tromey <tom@tromey.com>
1927
1928 * gdb.base/style.exp: Remove completion styling test.
1929 * lib/gdb-utils.exp (style): Remove completion styles.
1930
eca1f90c
TT
19312020-05-23 Tom Tromey <tom@tromey.com>
1932
1933 * gdb.base/style.exp: Add completion styling test.
1934 * lib/gdb-utils.exp (style): Add completion styles.
1935
7c13f4e8
AB
19362020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
1937
1938 * gdb.base/annota1.exp: Update expected results.
1939 * gdb.cp/annota2.exp: Update expected results, remove duplicate
1940 test name.
1941 * gdb.cp/annota3.exp: Update expected results.
1942
41977d16
SM
19432020-05-20 Simon Marchi <simon.marchi@efficios.com>
1944
1945 PR gdb/26016
1946 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
1947 against MAP_FAILED.
1948 * gdb.base/coremaker.c (mmapdata): Likewise.
1949 * gdb.base/jit-reader-host.c (main): Likewise.
1950 * gdb.base/sym-file-loader.c (load): Likewise.
1951 (load_shlib): Likewise.
1952
b4757f2e
TT
19532020-05-20 Tom Tromey <tromey@adacore.com>
1954
1955 * gdb.ada/array_char_idx.exp: Recognize initialized array.
1956
9a0bacfb
TV
19572020-05-20 Tom de Vries <tdevries@suse.de>
1958
1959 PR symtab/25833
1960 * gdb.base/with-mf-inc.c: New test.
1961 * gdb.base/with-mf-main.c: New test.
1962 * gdb.base/with-mf.exp: New file.
1963
76571211
TT
19642020-05-19 Tom Tromey <tromey@adacore.com>
1965
1966 * gdb.rust/simple.exp: Restore missing test result.
1967
4cd9f3d5
TV
19682020-05-19 Tom de Vries <tdevries@suse.de>
1969
1970 * gdb.base/gdb-caching-proc.exp: Fix typo.
1971
7d874253
TT
19722020-05-19 Tom Tromey <tromey@adacore.com>
1973
1974 * gdb.rust/simple.exp: Add some test descriptions.
1975 (test_one_slice): Use with_test_prefix.
1976
1d727695
TV
19772020-05-18 Tom de Vries <tdevries@suse.de>
1978
1979 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
1980
7f32a4d5
PA
19812020-05-17 Pedro Alves <palves@redhat.com>
1982
1983 PR gdb/25741
1984 * gdb.base/hw-sw-break-same-address.exp: New file.
1985
7cfd74cf
PA
19862020-05-16 Pedro Alves <palves@redhat.com>
1987
1988 * gdb.multi/multi-re-run.exp (test_re_run): Switch
1989 LAST_LOADED_FILE accordingly.
1990
57b4f16e
PW
19912020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1992
1993 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
1994
7c05caf7
PW
19952020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1996
1997 * gdb.base/help.exp: Test apropos and help for commands
1998 having aliases. Fixed comments not starting with an
1999 upper-case letter or not finishing with a dot.
2000
7aa1b46f
PW
20012020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2002
3b3aaacb
PW
2003 * gdb.base/alias.exp: Update help output check.
2004
57b4f16e 20052020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 2006
7aa1b46f
PW
2007 * gdb.base/default.exp: Update output following fixes.
2008
0605465f
PW
20092020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2010
2011 * gdb.base/alias.exp: Test aliases starting with a prefix of
2012 another alias.
2013
86e4e63d
GB
20142020-05-15 Gary Benson <gbenson@redhat.com>
2015
2016 * gdb.base/info-os.c (main): Add return statement.
2017 * gdb.base/info_minsym.c (minsym_fun): Likewise.
2018 * gdb.base/large-frame-2.c (func): Likewise.
2019 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
2020 * gdb.base/pr10179-b.c (foo2): Likewise.
2021 * gdb.base/valgrind-disp-step.c (foo): Likewise.
2022 * gdb.base/watch-cond.c (func): Likewise.
2023 * gdb.multi/goodbye.c (verylongfun): Likewise.
2024 * gdb.multi/hello.c (commonfun): Likewise.
2025 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
2026 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
2027 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2028 Likewise.
2029 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
2030 * gdb.threads/interrupt-while-step-over.c (child_function):
2031 Likewise.
2032 * gdb.trace/actions-changed.c (end): Likewise.
2033
163df4df
GB
20342020-05-15 Gary Benson <gbenson@redhat.com>
2035
2036 * gdb.opencl/callfuncs.exp: Report when test skipped.
2037 * gdb.opencl/convs_casts.exp: Likewise.
2038 * gdb.opencl/datatypes.exp: Likewise.
2039 * gdb.opencl/operators.exp: Likewise.
2040 * gdb.opencl/vec_comps.exp: Likewise.
2041
6dbc505a
TV
20422020-05-15 Tom de Vries <tdevries@suse.de>
2043
2044 * gdb.base/align.exp.in: Rename to ...
2045 * gdb.base/align.exp.tcl: ... this.
2046 * gdb.base/align-c++.exp: Update.
2047 * gdb.base/align-c.exp: Update.
2048 * gdb.base/all-architectures.exp.in: Rename to ...
2049 * gdb.base/all-architectures.exp: ... this.
2050 * gdb.base/all-architectures-0.exp: Update.
2051 * gdb.base/all-architectures-1.exp: Update.
2052 * gdb.base/all-architectures-2.exp: Update.
2053 * gdb.base/all-architectures-3.exp: Update.
2054 * gdb.base/all-architectures-4.exp: Update.
2055 * gdb.base/all-architectures-5.exp: Update.
2056 * gdb.base/all-architectures-6.exp: Update.
2057 * gdb.base/all-architectures-7.exp: Update.
2058 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
2059 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
2060 * gdb.base/infcall-nested-structs-c++.exp: Update.
2061 * gdb.base/infcall-nested-structs-c.exp: Update.
2062 * gdb.base/info-types.exp.in: Rename to ...
2063 * gdb.base/info-types.exp.tcl: ... this.
2064 * gdb.base/info-types-c++.exp: Update.
2065 * gdb.base/info-types-c.exp: Update.
2066 * gdb.base/max-depth.exp.in: Rename to ...
2067 * gdb.base/max-depth.exp.tcl: ... this.
2068 * gdb.base/max-depth-c++.exp: Update.
2069 * gdb.base/max-depth-c.exp: Update.
2070 * gdb.cp/cpexprs.exp.in: Rename to ...
2071 * gdb.cp/cpexprs.exp.tcl: ... this.
2072 * gdb.cp/cpexprs-debug-types.exp: Update.
2073 * gdb.cp/cpexprs.exp: Update.
2074 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
2075 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
2076 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
2077 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
2078 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
2079 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
2080 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
2081 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
2082 * gdb.dwarf2/clang-debug-names-2.exp: Update.
2083 * gdb.dwarf2/clang-debug-names.exp: Update.
2084
d1034d78
AB
20852020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
2086
2087 * lib/check-test-names.exp: Remove code that prevents this file
2088 loading when tests are run in parallel.
2089
3c5c3649
PA
20902020-05-15 Pedro Alves <palves@redhat.com>
2091
2092 * gdb.multi/multi-kill.exp (start_inferior): Remove
2093 'testpid' parameter. Refer to namespace variable directly.
2094 (testpid): Declare as namespace variable.
2095
272c36b8
PA
20962020-05-15 Pedro Alves <palves@redhat.com>
2097
2098 * gdb.multi/multi-kill.exp: Wrap in namespace.
2099 (start_inferior): Add TESTPID parameter. Use it instead of the
2100 testpid global.
2101 (top level): Define empty TESTPID array, and pass it down to
2102 start_inferior.
2103
02eba61a
TV
21042020-05-14 Tom de Vries <tdevries@suse.de>
2105
2106 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
2107 output.
2108
971a3747
TV
21092020-05-14 Tom de Vries <tdevries@suse.de>
2110
2111 * gdb.base/align.exp: Split into ...
2112 * gdb.base/align.exp.in: ...
2113 * gdb.base/align-c++.exp: ...
2114 * gdb.base/align-c.exp: ... these.
2115 * gdb.base/infcall-nested-structs.exp: Split into ...
2116 * gdb.base/infcall-nested-structs.exp.in: ...
2117 * gdb.base/infcall-nested-structs-c++.exp: ...
2118 * gdb.base/infcall-nested-structs-c.exp: ... these.
2119 * gdb.base/info-types.exp: Split into ...
2120 * gdb.base/info-types.exp.in: ...
2121 * gdb.base/info-types-c++.exp: ...
2122 * gdb.base/info-types-c.exp: ... these.
2123 * gdb.base/max-depth.exp: Split into ...
2124 * gdb.base/max-depth.exp.in: ...
2125 * gdb.base/max-depth-c++.exp: ...
2126 * gdb.base/max-depth-c.exp: ... these.
2127 * gdb.cp/infcall-nodebug.exp: Split into ...
2128 * gdb.cp/infcall-nodebug.exp.in: ...
2129 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
2130 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
2131 * gdb.cp/infcall-nodebug-c-d0.exp: ...
2132 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
2133
a05575d3
TBA
21342020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2135 Pedro Alves <palves@redhat.com>
2136
2137 * gdb.multi/multi-exit.c: New file.
2138 * gdb.multi/multi-exit.exp: New file.
2139 * gdb.multi/multi-kill.c: New file.
2140 * gdb.multi/multi-kill.exp: New file.
2141
6ad82919
TBA
21422020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2143
2144 * gdb.base/annota1.exp: Update the expected output.
2145 * gdb.cp/annota2.exp: Ditto.
2146
843f4d93
AB
21472020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
2148
2149 * lib/check-test-names.exp: Disable when testing is being run in
2150 parallel.
2151
c7c66341
TV
21522020-05-12 Tom de Vries <tdevries@suse.de>
2153
2154 * gdb.base/jit-elf.exp: Fix string concat.
2155
1b59ca1c
TV
21562020-05-12 Tom de Vries <tdevries@suse.de>
2157
2158 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
2159 messages.
2160
b4991d29
TV
21612020-05-12 Tom de Vries <tdevries@suse.de>
2162
2163 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
2164
dbb0ab10
TV
21652020-05-12 Tom de Vries <tdevries@suse.de>
2166
2167 * gdb.ada/catch_ex.exp: Use with_test_prefix.
2168 * gdb.ada/mi_catch_ex.exp: Same.
2169 * gdb.ada/mi_catch_ex_hand.exp: Same.
2170
7549fed8
TV
21712020-05-12 Tom de Vries <tdevries@suse.de>
2172
2173 * gdb.fortran/complex.exp: Use with_test_prefix.
2174
af2d5cd8
TV
21752020-05-12 Tom de Vries <tdevries@suse.de>
2176
2177 * gdb.trace/passcount.exp: Fix test-names.
2178
7c121311
TV
21792020-05-12 Tom de Vries <tdevries@suse.de>
2180
2181 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
2182
c9f3b40e
TV
21832020-05-12 Tom de Vries <tdevries@suse.de>
2184
2185 * gdb.gdb/complaints.exp: Use with_test_prefix.
2186 * gdb.xml/tdesc-regs.exp: Same.
2187 * gdb.opt/inline-locals.exp: Fix test name.
2188
111b33f0
TV
21892020-05-12 Tom de Vries <tdevries@suse.de>
2190
2191 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
2192 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
2193 * gdb.dwarf2/implref-struct.exp: Same.
2194 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
2195 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
2196
ebf47080
SM
21972020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
2198
2199 * gdb.base/jit-so.exp (one_jit_test): Change test name.
2200
d30dcd12
AB
22012020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2202
2203 * lib/check-test-names.exp (all_test_names): New module variable.
2204 (counts): Add 'duplicates' field.
2205 (_check_duplicates): New procedure.
2206 (check): Also check for duplicates.
2207 (do_log_summary): Print duplicates count.
2208 (do_reset_vars): Reset counter for duplicate test names, and
2209 discard all know test names.
2210
34584c09
AB
22112020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2212
2213 * lib/gdb.exp: Include check-test-names.exp library.
2214 * lib/check-test-names.exp: New file.
2215
e0002117
TV
22162020-05-11 Tom de Vries <tdevries@suse.de>
2217
2218 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
2219
53f539a3
KS
22202020-05-11 Keith Seitz <keiths@redhat.com>
2221
2222 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
2223
113ee09a
TV
22242020-05-11 Tom de Vries <tdevries@suse.de>
2225
2226 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
2227 * gdb.cp/cpexprs.exp.in: .. here.
2228 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
2229 cpexprs.exp.
2230
ba3e70b0
KS
22312020-05-11 Keith Seitz <keiths@redhat.com>
2232
2233 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
2234 test names.
2235 * gdb.ada/arrayptr.exp: Likewise.
2236 * gdb.ada/assign_arr.exp: Likewise.
2237 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2238 * gdb.ada/bp_on_var.exp: Likewise.
2239 * gdb.ada/call_pn.exp: Likewise.
2240 * gdb.ada/complete.exp: Likewise.
2241 * gdb.ada/fun_overload_menu.exp: Likewise.
2242 * gdb.ada/funcall_param.exp: Likewise.
2243 * gdb.ada/funcall_ref.exp: Likewise.
2244 * gdb.ada/packed_array_assign.exp: Likewise.
2245 * gdb.ada/same_component_name.exp: Likewise.
2246 * gdb.ada/type_coercion.exp: Likewise.
2247 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2248 * gdb.ada/variant_record_packed_array.exp: Likewise.
2249
3ee6bb11
TV
22502020-05-11 Tom de Vries <tdevries@suse.de>
2251
2252 PR symtab/25941
2253 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
2254 out of ...
2255 * gdb.dwarf2/clang-debug-names.exp: ... here.
2256 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
2257 clang-debug-names.exp.in.
2258 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
2259 * gdb.dwarf2/clang-debug-names-2.c: New test.
2260
86cd6bc8
AKS
22612020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2262
2263 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
2264 (fortran_runto_main): New Proc, fortran version of runto_main.
2265 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
2266 * gdb.fortran/array-bounds.exp: Likewise.
2267 * gdb.fortran/array-slices.exp: Likewise.
2268 * gdb.fortran/block-data.exp: Likewise.
2269 * gdb.fortran/charset.exp: Likewise.
2270 * gdb.fortran/common-block.exp: Likewise.
2271 * gdb.fortran/complex.exp: Likewise.
2272 * gdb.fortran/derived-type-function.exp: Likewise.
2273 * gdb.fortran/derived-type.exp: Likewise.
2274 * gdb.fortran/info-modules.exp: Likewise.
2275 * gdb.fortran/info-types.exp: Likewise.
2276 * gdb.fortran/intrinsics.exp: Likewise.
2277 * gdb.fortran/library-module.exp: Likewise.
2278 * gdb.fortran/logical.exp: Likewise.
2279 * gdb.fortran/max-depth.exp: Likewise.
2280 * gdb.fortran/module.exp: Likewise.
2281 * gdb.fortran/multi-dim.exp: Likewise.
2282 * gdb.fortran/nested-funcs.exp: Likewise.
2283 * gdb.fortran/print-formatted.exp: Likewise.
2284 * gdb.fortran/print_type.exp: Likewise.
2285 * gdb.fortran/printing-types.exp: Likewise.
2286 * gdb.fortran/ptr-indentation.exp: Likewise.
2287 * gdb.fortran/ptype-on-functions.exp: Likewise.
2288 * gdb.fortran/subarray.exp: Likewise.
2289 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2290 * gdb.fortran/vla-datatypes.exp: Likewise.
2291 * gdb.fortran/vla-history.exp: Likewise.
2292 * gdb.fortran/vla-ptr-info.exp: Likewise.
2293 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2294 * gdb.fortran/vla-ptype.exp: Likewise.
2295 * gdb.fortran/vla-sizeof.exp: Likewise.
2296 * gdb.fortran/vla-type.exp: Likewise.
2297 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2298 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2299 * gdb.fortran/vla-value-sub.exp: Likewise.
2300 * gdb.fortran/vla-value.exp: Likewise.
2301 * gdb.fortran/whatis_type.exp: Likewise.
2302 * gdb.mi/mi-var-child-f.exp: Likewise.
2303
6dc55ce9 23042020-05-09 Tom de Vries <tdevries@suse.de>
2305
2306 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
2307
283cb58c
TV
23082020-05-08 Tom de Vries <tdevries@suse.de>
2309
2310 * gdb.dwarf2/clang-debug-names.c: New test.
2311 * gdb.dwarf2/clang-debug-names.exp: New file.
2312
ac4a4f1c
SM
23132020-05-06 Simon Marchi <simon.marchi@efficios.com>
2314
2315 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
2316 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
2317
24fe640b
TV
23182020-05-06 Tom de Vries <tdevries@suse.de>
2319
2320 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
2321 breakpoint is at a "recommended breakpoint location".
2322 * gdb.reverse/consecutive-reverse.exp: Same.
2323
0d8683a3
TV
23242020-05-06 Tom de Vries <tdevries@suse.de>
2325
2326 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
2327 address.
2328
b8983c46
TV
23292020-05-06 Tom de Vries <tdevries@suse.de>
2330
2331 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
2332
abf6d805
TV
23332020-05-06 Tom de Vries <tdevries@suse.de>
2334
2335 * gdb.base/store.exp (check_set, up_set): Allowing missing location
2336 info for r.
2337
0fc2a808
TV
23382020-05-06 Tom de Vries <tdevries@suse.de>
2339
2340 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
2341 necessary.
2342
873dd427
TV
23432020-05-06 Tom de Vries <tdevries@suse.de>
2344
2345 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
2346 void.
2347
7c99e7e2
TV
23482020-05-06 Tom de Vries <tdevries@suse.de>
2349
2350 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
2351 of ...
2352 * gdb.base/async.exp: ... here.
2353 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
2354 "recommended breakpoint location".
2355
6173d6a6
TV
23562020-05-06 Tom de Vries <tdevries@suse.de>
2357
2358 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
2359
6015a067
TV
23602020-05-04 Tom de Vries <tdevries@suse.de>
2361
2362 * gdb.base/async.exp: Check whether instruction addresses are a
2363 "recommended breakpoint location".
2364
3b6acaee
TT
23652020-05-03 Tom Tromey <tom@tromey.com>
2366
2367 * gdb.base/sepdebug.exp: Remove "catch" test.
2368 * gdb.base/break.exp: Remove "catch" test.
2369 * gdb.base/default.exp: Update expected output.
2370
5beb4d17
TV
23712020-05-02 Tom de Vries <tdevries@suse.de>
2372
2373 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
2374 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
2375 * gdb.arch/i386-mpx-map.exp: Same.
2376 * gdb.arch/i386-mpx-sigsegv.exp: Same.
2377 * gdb.arch/i386-mpx-simple_segv.exp: Same.
2378 * gdb.arch/i386-mpx.exp: Same.
2379
8caf140d
TV
23802020-05-02 Tom de Vries <tdevries@suse.de>
2381
2382 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
2383
693196cb
TV
23842020-05-01 Tom de Vries <tdevries@suse.de>
2385
2386 * gdb.ada/operator_bp.exp: Allow more than required amount of
2387 breakpoint.
2388
53ae0aa9
TV
23892020-05-01 Tom de Vries <tdevries@suse.de>
2390
2391 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
2392
ee9d1e5f
HD
23932020-04-30 Hannes Domani <ssbssa@yahoo.de>
2394
2395 PR gdb/18706
2396 * gdb.cp/stub-array-size.cc: New test.
2397 * gdb.cp/stub-array-size.exp: New file.
2398 * gdb.cp/stub-array-size.h: New test.
2399 * gdb.cp/stub-array-size2.cc: New test.
2400
d5cf82c0
HD
24012020-04-30 Hannes Domani <ssbssa@yahoo.de>
2402
2403 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
2404 output to the new format.
2405
42e165c3
SM
24062020-04-29 Simon Marchi <simon.marchi@efficios.com>
2407
2408 * gdb.base/break.exp: Use with_test_prefix.
2409
6e4e3fe1
TV
24102020-04-29 Tom de Vries <tdevries@suse.de>
2411
2412 * lib/gdb.exp (debug_types): New proc.
2413 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
2414 * gdb.python/py-symtab.exp: Same.
2415
d642b692
HD
24162020-04-29 Hannes Domani <ssbssa@yahoo.de>
2417
2418 PR gdb/17320
2419 * gdb.base/pretty-array.c: New test.
2420 * gdb.base/pretty-array.exp: New file.
2421
ea90f227
TV
24222020-04-29 Tom de Vries <tdevries@suse.de>
2423
2424 PR symtab/25889
2425 * gdb.cp/cpexprs.exp: Adapt for inclusion.
2426 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
2427 and include cpexprs.exp.
2428
a65189c9
TV
24292020-04-28 Mark Williams <mark@myosotissp.com>
2430
2431 PR gdb/24480
2432 * dw4-toplevel-types.exp: Test for top level types.
2433 * dw4-toplevel-types.cc: Test for top level types.
2434
32d1f47a
TBA
24352020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2436
2437 * gdb.threads/stop-with-handle.exp: Fix typo in comment
2438 (theads -> threads).
2439
56a4f5a1
TV
24402020-04-28 Tom de Vries <tdevries@suse.de>
2441
2442 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
2443
0b2f8a3b
TV
24442020-04-28 Tom de Vries <tdevries@suse.de>
2445
2446 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
2447
5390c717
TV
24482020-04-28 Tom de Vries <tdevries@suse.de>
2449
2450 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
2451
15cd93d0
TV
24522020-04-28 Tom de Vries <tdevries@suse.de>
2453
2454 * gdb.dwarf2/main-foo.c: New test.
2455 * gdb.dwarf2/struct-with-sig.exp: New file.
2456
d472f0fb
TV
24572020-04-25 Tom de Vries <tdevries@suse.de>
2458
2459 * boards/debug-types.exp: New file.
2460
8d840e05
AB
24612020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
2462
2463 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
2464
bcfe6157
TT
24652020-04-24 Tom Tromey <tom@tromey.com>
2466
2467 PR symtab/12707:
2468 * gdb.python/py-symbol.exp: Update expected results for
2469 linkage_name test.
2470 * gdb.cp/print-demangle.exp: New file.
2471 * gdb.base/c-linkage-name.exp: Fix test.
2472 * gdb.guile/scm-symbol.exp: Update expected results for
2473 linkage_name test.
2474
f049a313
TT
24752020-04-24 Tom Tromey <tom@tromey.com>
2476
2477 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
2478 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
2479 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
2480 assembler.
2481
7cf28874
TV
24822020-04-24 Tom de Vries <tdevries@suse.de>
2483
2484 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
2485 C++.
2486
dac2fef7
TT
24872020-04-24 Tom Tromey <tromey@adacore.com>
2488
2489 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
2490 values.
2491 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
2492 values. Update test for minimal encodings.
2493 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
2494 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
2495 values. Update test for minimal encodings.
2496
1acda803
TT
24972020-04-24 Tom Tromey <tromey@adacore.com>
2498
2499 PR python/23662:
2500 * gdb.ada/variant.exp: Add Python checks.
2501 * gdb.rust/simple.exp: Add dynamic type checks.
2502
adfb9815
TT
25032020-04-24 Tom Tromey <tromey@adacore.com>
2504
2505 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
2506 Make array type matching more lax.
2507 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
2508 * gdb.ada/mi_variant.exp: New file.
2509 * gdb.ada/mi_variant/pck.ads: New file.
2510 * gdb.ada/mi_variant/pkg.adb: New file.
2511 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
2512 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
2513
7d79de9a
TT
25142020-04-24 Tom Tromey <tromey@adacore.com>
2515
2516 * gdb.ada/variant.exp: Add dynamic field offset tests.
2517 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
2518 * gdb.ada/variant/pkg.adb: Add new variables.
2519
f8e89861
TT
25202020-04-24 Tom Tromey <tromey@adacore.com>
2521
2522 * gdb.ada/variant.exp: New file
2523 * gdb.ada/variant/pkg.adb: New file
2524 * gdb.ada/variant/pck.adb: New file
2525
86e887ae
TV
25262020-04-24 Tom de Vries <tdevries@suse.de>
2527
2528 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
2529
88428775
TV
25302020-04-24 Tom de Vries <tdevries@suse.de>
2531
2532 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
2533 flags.
2534
4e86f6e7
TV
25352020-04-24 Tom de Vries <tdevries@suse.de>
2536
2537 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
2538
2016d3e6
TV
25392020-04-24 Tom de Vries <tdevries@suse.de>
2540
2541 * lib/gdb.exp (default_gdb_start): Handle eof.
2542 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
2543 failure.
2544 * gdb.base/readnever.exp: Handle clean_restart failure.
2545
70bc38f5
TV
25462020-04-23 Tom de Vries <tdevries@suse.de>
2547
2548 * gdb.base/decl-before-def.exp: Run to main and print a again.
2549
de82891c
TV
25502020-04-23 Tom de Vries <tdevries@suse.de>
2551
2552 * gdb.base/decl-before-def-decl.c: New test.
2553 * gdb.base/decl-before-def-def.c: New test.
2554 * gdb.base/decl-before-def.exp: New file.
2555
96038148
TV
25562020-04-23 Tom de Vries <tdevries@suse.de>
2557
2558 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
2559
54ac3df1
TV
25602020-04-22 Tom de Vries <tdevries@suse.de>
2561
2562 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
2563 debug_info_offset.
2564 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
2565 before $objsfile in the line line.
2566
714534e1
TV
25672020-04-22 Tom de Vries <tdevries@suse.de>
2568
2569 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
2570
16a7dbf4
MS
25712020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2572
2573 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
2574 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
2575 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
2576 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
2577 * gdb.base/jit-protocol.h: Update definitions to match all usage
2578 contexts.
2579
25802020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2581
2582 * gdb.base: Rename all jit related test and source files.
2583
25842020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2585
2586 * gdb.base/jit-reader.exp: Relax register output check.
2587
317d2668
TV
25882020-04-22 Tom de Vries <tdevries@suse.de>
2589
2590 PR symtab/25764
2591 * gdb.base/psym-external-decl-2.c: New test.
2592 * gdb.base/psym-external-decl.c: New test.
2593 * gdb.base/psym-external-decl.exp: New file.
2594 * gdb.threads/tls.exp: Add PR25807 kfail.
2595
eea9e357
TV
25962020-04-22 Tom de Vries <tdevries@suse.de>
2597
2598 PR symtab/25801
2599 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
2600 in "info source" output.
2601
3d5afab3
TV
26022020-04-22 Tom de Vries <tdevries@suse.de>
2603
2604 PR symtab/25700
2605 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
2606 symtab for imported_unit.c.
2607
b32102f6
GB
26082020-04-21 Gary Benson <gbenson@redhat.com>
2609
2610 * gdb.base/advance.c (func): New argument, to match call site.
2611 (func2, func3): Add return statements.
2612
d43b7a2d
TBA
26132020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2614
2615 * gdb.multi/run-only-second-inf.c: New file.
2616 * gdb.multi/run-only-second-inf.exp: New file.
2617
d89edf9b
MM
26182020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2619
2620 * gdb.btrace/multi-inferior.c: New test.
2621 * gdb.btrace/multi-inferior.exp: New file.
2622
1a476b6d
MM
26232020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2624
2625 * gdb.btrace/enable-new-thread.c: New test.
2626 * gdb.btrace/enable-new-thread.exp: New file.
2627
4778a5f8
TV
26282020-04-21 Tom de Vries <tdevries@suse.de>
2629
2630 PR gdb/25471
2631 * gdb.threads/killed-outside.c: New test.
2632 * gdb.threads/killed-outside.exp: New file.
2633
9b2c992c
GB
26342020-04-20 Gary Benson <gbenson@redhat.com>
2635
2636 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
2637 * gdb.base/nested-subp2.exp: Likewise.
2638 * gdb.base/nested-subp3.exp: Likewise.
2639
b5d1d6f7
GB
26402020-04-20 Gary Benson <gbenson@redhat.com>
2641
2642 * gdb.base/nested-subp1.exp: Disable test when using clang.
2643 * gdb.base/nested-subp2.exp: Likewise.
2644 * gdb.base/nested-subp3.exp: Likewise.
2645
25230285
GB
26462020-04-20 Gary Benson <gbenson@redhat.com>
2647
2648 * gdb.cp/exception.cc: Fix compilation error with clang.
2649
fa93cc8f
GB
26502020-04-20 Gary Benson <gbenson@redhat.com>
2651
809730f3 2652 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 2653
e0c45f30
GB
26542020-04-20 Gary Benson <gbenson@redhat.com>
2655
2656 * gdb.base/jit-main.c: Fix compilation error with clang.
2657
4ddfec93
KR
26582020-04-17 Kamil Rytarowski <n54@gmx.com>
2659
2660 * gdb.base/attach-twice.c: Include "sys/types.h".
2661 (PTRACE_ATTACH): Add fallback definition.
2662 (main): Pass `0' to the 4th argument of `ptrace'.
2663
2bed205e
KR
26642020-04-17 Kamil Rytarowski <n54@gmx.com>
2665
2666 * gdb.base/fork-running-state.c: Include "signal.h".
2667
0743fc83
TT
26682020-04-17 Tom Tromey <tromey@adacore.com>
2669
2670 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
2671 Update tests.
2672 * gdb.btrace/cpu.exp: Update tests.
2673 * gdb.base/maint.exp: Update tests.
2674 * gdb.base/default.exp: Update tests.
2675 * gdb.base/completion.exp: Update tests.
2676
efba5c23
TV
26772020-04-16 Tom de Vries <tdevries@suse.de>
2678
2679 PR symtab/25791
2680 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
2681 (ensure_gdb_index): and factor out and move ...
2682 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
2683 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
2684
d191d716
TV
26852020-04-16 Tom de Vries <tdevries@suse.de>
2686
2687 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
2688 loading exec.
2689
99f1bc6a
AB
26902020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
2691
2692 * gdb.base/many-completions.exp: New file.
2693
194d088f
TV
26942020-04-14 Tom de Vries <tdevries@suse.de>
2695
2696 PR symtab/25718
2697 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
2698
c1a66c06
TV
26992020-04-14 Tom de Vries <tdevries@suse.de>
2700
2701 PR symtab/25720
2702 * gdb.base/maint-expand-symbols-header-file.c: New test.
2703 * gdb.base/maint-expand-symbols-header-file.exp: New file.
2704 * gdb.base/maint-expand-symbols-header-file.h: New test.
2705
21b0982c
AB
27062020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2707
2708 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
2709 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
2710 get_func_info.
2711 (get_func_info): Delete.
2712 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
2713 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
2714 * lib/dwarf.exp (get_func_info): New function.
2715
dd1cab06
TV
27162020-04-13 Tom de Vries <tdevries@suse.de>
2717
2718 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
2719 to what find_gnatmake does.
2720
71ea2b6b
TV
27212020-04-10 Tom de Vries <tdevries@suse.de>
2722
2723 * gdb.base/style.exp: Expect "Expanding full symbols" message for
2724 -readnow.
2725
bdfc1e8a
TV
27262020-04-10 Tom de Vries <tdevries@suse.de>
2727
2728 PR cli/25808
2729 * gdb.base/style.c: Add leading newlines.
2730 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
2731 Check listing of main's one-line body.
2732
14ca8ecf
TV
27332020-04-08 Tom de Vries <tdevries@suse.de>
2734
2735 * lib/gdb.exp (psymtabs_p): New proc.
2736 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
2737 importing unit" unsupported if there are no partial symbols.
2738
e21d048f
TV
27392020-04-08 Tom de Vries <tdevries@suse.de>
2740
2741 PR testsuite/25760
2742 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
2743
25c11aca
TV
27442020-04-07 Tom de Vries <tdevries@suse.de>
2745
2746 PR symtab/25796
2747 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
2748
5707e24b
TV
27492020-04-07 Tom de Vries <tdevries@suse.de>
2750
2751 * gdb.base/check-psymtab.c: New test.
2752 * gdb.base/check-psymtab.exp: New file.
2753
6ee448cc
TT
27542020-04-06 Tom Tromey <tromey@adacore.com>
2755
2756 * gdb.ada/variant-record/proc.adb: New file.
2757 * gdb.ada/variant-record/value.adb: New file.
2758 * gdb.ada/variant-record/value.s: New file.
2759 * gdb.ada/variant-record.exp: New file.
2760
9e7c9a03
HD
27612020-04-03 Hannes Domani <ssbssa@yahoo.de>
2762
2763 PR gdb/25325
2764 * gdb.cp/typed-enum.cc: New test.
2765 * gdb.cp/typed-enum.exp: New file.
2766
c90d28ac
AB
27672020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2768
2769 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
2770 * gdb.dwarf2/dw2-inline-small-func.c: New file.
2771 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
2772 * gdb.dwarf2/dw2-inline-small-func.h: New file.
2773 * gdb.opt/inline-small-func.c: New file.
2774 * gdb.opt/inline-small-func.exp: New file.
2775 * gdb.opt/inline-small-func.h: New file.
2776
34e9a9fa
AB
27772020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2778
2779 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
2780 function.
2781
6a354911
AB
27822020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2783
2784 * lib/dwarf.exp (function_range): Allow compiler options to be
2785 specified.
2786
880d9777
TV
27872020-04-02 Tom de Vries <tdevries@suse.de>
2788
2789 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
2790 __attribute__((always_inline)).
2791 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
2792
f32682ea
TV
27932020-04-02 Tom de Vries <tdevries@suse.de>
2794
2795 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
2796 (gdbserver_gdb_exit): ... here. Add timeout warning.
2797 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
2798 (connect_target_extended_remote): Append new server_spawn_id to
2799 server_spawn_ids.
2800 (cleanup): New proc.
2801 (setup, <toplevel>): Call cleanup.
2802
d3214198
TV
28032020-04-02 Tom de Vries <tdevries@suse.de>
2804
2805 * gdb.base/main-psymtab.exp: New file.
2806
cc77ed24
TV
28072020-04-02 Tom de Vries <tdevries@suse.de>
2808
2809 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
2810
3638a098
TT
28112020-04-01 Tom Tromey <tom@tromey.com>
2812
2813 * gdb.base/complex-parts.exp: Add type tests.
2814
c34e8714
TT
28152020-04-01 Tom Tromey <tom@tromey.com>
2816
2817 * gdb.base/complex-parts.exp: Add arithmetic tests.
2818
981c08ce
TT
28192020-04-01 Tom Tromey <tom@tromey.com>
2820
2821 * gdb.compile/compile.exp: Update.
2822 * gdb.compile/compile-cplus.exp: Update.
2823 * gdb.base/varargs.exp: Update.
2824 * gdb.base/floatn.exp: Update.
2825 * gdb.base/endianity.exp: Update.
2826 * gdb.base/callfuncs.exp (do_function_calls): Update.
2827 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
2828 (complex_float_integral_args): Update.
2829 * gdb.base/complex.exp: Update.
2830 * gdb.base/complex-parts.exp: Update.
2831
3d1cfd43
TT
28322020-04-01 Tom Tromey <tromey@adacore.com>
2833
2834 * gdb.rust/union.rs: New file.
2835 * gdb.rust/union.exp: New file.
2836 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
2837 (main): Update.
2838 * gdb.rust/simple.exp: Move union tests to union.exp.
2839
e033dfa9
TT
28402020-04-01 Tom Tromey <tromey@adacore.com>
2841
2842 * gdb.rust/simple.rs (main): Remove "y0".
2843
53cccef1
TBA
28442020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2845
2846 * gdb.multi/stop-all-on-exit.c: New test.
2847 * gdb.multi/stop-all-on-exit.exp: New file.
2848
60e22c1e
HD
28492020-04-01 Hannes Domani <ssbssa@yahoo.de>
2850
2851 PR gdb/24789
2852 * gdb.cp/misc.cc: Add integer reference variable.
2853 * gdb.cp/misc.exp: Add test.
2854
e139a727
TBA
28552020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2856
2857 * gdb.server/stop-reply-no-thread.exp: Enhance the test
2858 scenario to cover execution until the end and also the case
2859
16b0db75
TV
28602020-03-31 Tom de Vries <tdevries@suse.de>
2861
2862 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
2863 c. Use "maint info symtabs" to check symtab expansion.
2864
c0502da6
TV
28652020-03-30 Tom de Vries <tdevries@suse.de>
2866
2867 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
2868 unsupported.
2869 (verify_psymtab_expanded): Move ...
2870 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
2871 test.
2872 (readnow): New proc.
2873
5935fd15
AB
28742020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2875
2876 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
2877 with $hex.
2878
1773be9e
TT
28792020-03-20 Tom Tromey <tromey@adacore.com>
2880
2881 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
2882
70304be9
TT
28832020-03-20 Tom Tromey <tromey@adacore.com>
2884
2885 * gdb.ada/sub_variant/subv.adb: New file.
2886 * gdb.ada/sub_variant.exp: New file.
2887
0dd7b8f7
TV
28882020-03-20 Tom de Vries <tdevries@suse.de>
2889
2890 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
2891 first break fails.
2892 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
2893
cada5fc9
AB
28942020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2895
2896 * gdb.server/exit-multiple-threads.c: New file.
2897 * gdb.server/exit-multiple-threads.exp: New file.
2898
6b8c53f2
AB
28992020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2900
2901 * gdb.fortran/mixed-lang-stack.c: New file.
2902 * gdb.fortran/mixed-lang-stack.cpp: New file.
2903 * gdb.fortran/mixed-lang-stack.exp: New file.
2904 * gdb.fortran/mixed-lang-stack.f90: New file.
2905
19a2740f
AB
29062020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2907
2908 * gdb.linespec/cp-completion-aliases.cc: New file.
2909 * gdb.linespec/cp-completion-aliases.exp: New file.
2910
d8c8b848
TV
29112020-03-19 Tom de Vries <tdevries@suse.de>
2912
2913 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
2914 more precise.
2915
a9933ccf
TV
29162020-03-18 Tom de Vries <tdevries@suse.de>
2917
2918 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
2919 * gdb.dwarf2/break-inline-psymtab.c: New test.
2920 * gdb.dwarf2/break-inline-psymtab.exp: New file.
2921
2f89101f
TV
29222020-03-16 Tom de Vries <tdevries@suse.de>
2923
2924 * lib/cache.exp (gdb_do_cache): Add and handle local variables
2925 cache_verify and cache_verify_proc.
2926
6b9374f1
TV
29272020-03-15 Tom de Vries <tdevries@suse.de>
2928
2929 * gdb.server/solib-list.exp: Handle
2930 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
2931
eaeaf44c
TV
29322020-03-15 Tom de Vries <tdevries@suse.de>
2933
2934 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
2935 objfiles".
2936
3293bbaf
TT
29372020-03-14 Tom Tromey <tom@tromey.com>
2938
2939 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
2940
ab44624c
TV
29412020-03-14 Tom de Vries <tdevries@suse.de>
2942
2943 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
2944
54c43825
TV
29452020-03-14 Tom de Vries <tdevries@suse.de>
2946
2947 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
2948 result in line-by-line fashion.
2949
2ac70237
TV
29502020-03-14 Tom de Vries <tdevries@suse.de>
2951
2952 * lib/gdb.exp (supports_statement_frontiers): New proc.
2953 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
2954
09546b56
TV
29552020-03-14 Tom de Vries <tdevries@suse.de>
2956
2957 * gdb.base/printcmds.exp: Add missing quoting for "print
2958 teststring2".
2959
a1f6a07c
TT
29602020-03-13 Tom Tromey <tom@tromey.com>
2961
2962 * gdb.base/printcmds.exp (test_print_strings): Add regression
2963 test.
2964 * gdb.base/printcmds.c (charptr): New typedef.
2965 (teststring2): New global.
2966
1b83d09c
AB
29672020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
2968
2969 * gdb.base/break-interp.exp: Use the tail of the filename, not the
2970 full path in the test name.
2971 (test_ld): Add some with_test_prefix blocks to make test names
2972 unique.
2973
2d61316c
TV
29742020-03-13 Tom de Vries <tdevries@suse.de>
2975
2976 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
2977
2e9145ac
TV
29782020-03-13 Tom de Vries <tdevries@suse.de>
2979
2980 * gdb.mi/mi-sym-info.exp: Make matching more precise.
2981
96c7f873
TV
29822020-03-13 Tom de Vries <tdevries@suse.de>
2983
2984 PR symtab/25646
2985 * gdb.dwarf2/imported-unit.exp: Add test.
2986
49ba92c0
TV
29872020-03-13 Tom de Vries <tdevries@suse.de>
2988
2989 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
2990 (var1, var2): New variable.
2991 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
2992 matching symbols.
2993
301b21e0
TV
29942020-03-13 Tom de Vries <tdevries@suse.de>
2995
2996 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
2997 (Term::command): Use prompt prefix.
2998 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
2999 * gdb.tui/tui-layout-asm-short-prog.exp: Use
3000 command_no_prompt_prefix instead of prefix.
3001 * gdb.tui/tui-layout-asm.exp: Same.
3002
3f512721
SM
30032020-03-12 Simon Marchi <simon.marchi@efficios.com>
3004
3005 * gdb.base/break-interp.exp: Use foreach_with_prefix.
3006
40310f30
SM
30072020-03-12 Simon Marchi <simon.marchi@efficios.com>
3008
3009 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
3010 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
3011 on" while stepping over the test instruction, match printed
3012 message.
3013
09252140
TV
30142020-03-12 Tom de Vries <tdevries@suse.de>
3015
3016 * gdb.base/info-types.exp: Use exp_continue during matching of output
3017 of "info types".
3018
14e9c72c
TV
30192020-03-12 Tom de Vries <tdevries@suse.de>
3020
3021 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
3022
e515d67e
TV
30232020-03-12 Tom de Vries <tdevries@suse.de>
3024
3025 * gdb.fortran/module.exp: Use exp_continue during matching of output
3026 of "info variable -n".
3027
307eafd8
TV
30282020-03-12 Tom de Vries <tdevries@suse.de>
3029
3030 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
3031 gdb.dwarf2/dw2-ranges-base.c.
3032
9a2de3fc
TV
30332020-03-12 Tom de Vries <tdevries@suse.de>
3034
3035 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
3036 in presence of GLIBC debuginfo.
3037
3217502e
TV
30382020-03-12 Tom de Vries <tdevries@suse.de>
3039
3040 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
3041 $core.
3042
1281424c
TV
30432020-03-12 Tom de Vries <tdevries@suse.de>
3044
3045 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
3046 more precise.
3047
038b97fc
SM
30482020-03-11 Simon Marchi <simon.marchi@efficios.com>
3049
3050 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
3051 from Unix to Windows path.
3052
5308d1e7
TV
30532020-03-11 Tom de Vries <tdevries@suse.de>
3054
3055 * gdb.ada/minsyms.exp: Set language to ada.
3056
f870f78f
TV
30572020-03-11 Tom de Vries <tdevries@suse.de>
3058
3059 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
3060
5a13315d
TV
30612020-03-11 Tom de Vries <tdevries@suse.de>
3062
3063 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
3064
976862ed
TT
30652020-03-11 Tom Tromey <tromey@adacore.com>
3066
3067 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
3068
7462c383
TV
30692020-03-11 Tom de Vries <tdevries@suse.de>
3070
3071 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
3072
1c6c46a0
TV
30732020-03-11 Tom de Vries <tdevries@suse.de>
3074
3075 * gdb.base/break-interp.exp: Limit verbose scope.
3076
44f41bb7
TV
30772020-03-11 Tom de Vries <tdevries@suse.de>
3078
3079 * gdb.fortran/logical.f90: Define variable with character type.
3080 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
3081
b76f3a42
TV
30822020-03-11 Tom de Vries <tdevries@suse.de>
3083
3084 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
3085
1c33af77
TV
30862020-03-11 Tom de Vries <tdevries@suse.de>
3087
3088 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
3089 symtabs.
3090
8c95582d
AB
30912020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3092 Bernd Edlinger <bernd.edlinger@hotmail.de>
3093
3094 * gdb.cp/step-and-next-inline.cc: New file.
3095 * gdb.cp/step-and-next-inline.exp: New file.
3096 * gdb.cp/step-and-next-inline.h: New file.
3097 * gdb.dwarf2/dw2-is-stmt.c: New file.
3098 * gdb.dwarf2/dw2-is-stmt.exp: New file.
3099 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
3100 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
3101 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
3102
cecf8547
AB
31032020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3104
3105 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
3106 is-stmt flag in the line table.
3107
0ba678c9
TV
31082020-03-09 Tom de Vries <tdevries@suse.de>
3109
3110 * lib/gdb.exp (cached_file): Create cache dir.
3111
72fbdf83
TV
31122020-03-07 Tom de Vries <tdevries@suse.de>
3113
3114 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
3115 * gdb.cp/rvalue-ref-params.exp: Same.
3116
436b5e99
TV
31172020-03-06 Tom de Vries <tdevries@suse.de>
3118
3119 * lib/gdb.exp (tentative_rename, cached_file): New proc.
3120 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
3121
09f2921c
TV
31222020-03-06 Tom de Vries <tdevries@suse.de>
3123
3124 * README: Fix "the the".
3125 * gdb.base/dprintf.exp: Same.
3126
50a3cc5d
TV
31272020-03-05 Tom de Vries <tdevries@suse.de>
3128
3129 * gdb.base/maint.exp: Update "main print statistics" expected output.
3130
0a709cba
AKS
31312020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3132
3133 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
3134 (fortran_int8): Likewise.
3135 (fortran_real4): Likewise.
3136 (fortran_real8): Likewise.
3137 (fortran_complex4): Likewise.
3138 (fortran_logical4): Likewise.
3139 (fortran_character1): Likewise.
3140
5e5d66b6
AB
31412020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
3142
3143 * gdb.fortran/logical.exp: Add tests that any non-zero value is
3144 printed as true.
3145
7b973adc
SDJ
31462020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
3147
3148 * gdb.base/printcmds.exp: Add test to verify printf of a
3149 variable holding an address.
3150
478e490a
TV
31512020-03-03 Tom de Vries <tdevries@suse.de>
3152
3153 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
3154
1ef44e86
TV
31552020-03-03 Tom de Vries <tdevries@suse.de>
3156
3157 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
3158 gdb_test_multiple call.
3159
b98cc2cf
TV
31602020-03-03 Tom de Vries <tdevries@suse.de>
3161
3162 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
3163 gdb_test_multiple calls.
3164
63e163f2
AB
31652020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3166
3167 * gdb.base/default.exp: Remove test of 'set history filename'.
3168 * gdb.base/gdbinit-history.exp: Add tests for setting the history
3169 filename to the empty string.
3170 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
3171 and GDBHISTSIZE.
3172
24ed6739
AB
31732020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3174
3175 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
3176 disabled.
3177
590003dc 31782020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 3179 Tom de Vries <tdevries@suse.de>
590003dc
TV
3180
3181 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
3182 -prompt prefix, before user_code argument. Add -lbl option likewise.
3183 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
3184 (gdb_is_target_1): Add -prompt prefix and move to before user_code
3185 argument.
3186 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
3187 have "\r\n" at start-of-line, instead of at end-of-line.
3188
f5e46084
SM
31892020-02-28 Simon Marchi <simon.marchi@efficios.com>
3190
3191 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
3192 libinproctrace.so.
3193
f7a7000d
LM
31942020-02-28 Luis Machado <luis.machado@linaro.org>
3195
3196 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
3197 to "p/x".
3198
718e0816
LM
31992020-02-28 Luis Machado <luis.machado@linaro.org>
3200
3201 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
3202 asm/ptrace.h and error.h.
3203
13c3a74a
TV
32042020-02-28 Tom de Vries <tdevries@suse.de>
3205
3206 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
3207 (struct wrapper, do_something, mundane/symada__cS): Move ...
3208 * gdb.base/c-linkage-name-2.c: ... here. New source file.
3209 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
3210 Update "print symada__cS before partial symtab expansion" regexp.
3211 Update breakpoint location. Flush symbol cache after expansion.
3212
85d2d5bb
LM
32132020-02-28 Luis Machado <luis.machado@linaro.org>
3214
3215 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
3216
3608f86c
TV
32172020-02-27 Tom de Vries <tdevries@suse.de>
3218
3219 * config/sid.exp: Remove unused globals.
3220 * gdb.base/attach.exp: Same.
3221 * gdb.base/catch-load.exp: Same.
3222 * gdb.base/dbx.exp: Same.
3223 * lib/gdb.exp: Same.
3224 * lib/mi-support.exp: Same.
3225 * lib/prompt.exp: Same.
3226
c8d4f6df
TV
32272020-02-27 Tom de Vries <tdevries@suse.de>
3228
3229 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
3230 not set.
3231
0d79cdc4
AM
32322020-02-26 Aaron Merey <amerey@redhat.com>
3233
3234 * gdb.debuginfod: New directory for debuginfod tests.
3235 * gdb.debuginfod/main.c: New test file.
3236 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
3237
0dce4280
TV
32382020-02-26 Tom de Vries <tdevries@suse.de>
3239
3240 PR gdb/25603
3241 * gdb.base/persistent-lang.cc: New test.
3242 * gdb.base/persistent-lang.exp: New file.
3243
9e80cfa1
AB
32442020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3245
3246 * gdb.fortran/derived-type-striding.exp: Add a new test.
3247 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
3248 new test.
3249
2078dbb2
AB
32502020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3251
3252 * gdb.base/cached-source-file.exp: Avoid source file paths in test
3253 names.
3254
70d49700
TV
32552020-02-25 Tom de Vries <tdevries@suse.de>
3256
3257 PR go/18926
3258 * gdb.go/methods.exp: Remove gcc/93866 xfail.
3259
a88ef40d
TV
32602020-02-24 Tom de Vries <tdevries@suse.de>
3261
3262 PR gdb/25592
3263 * gdb.base/info-locals-unused-static-var.c: New test.
3264 * gdb.base/info-locals-unused-static-var.exp: New file.
3265
01b1af32
TT
32662020-02-22 Tom Tromey <tom@tromey.com>
3267
3268 * gdb.python/tui-window.exp: New file.
3269 * gdb.python/tui-window.py: New file.
3270
7c043ba6
TT
32712020-02-22 Tom Tromey <tom@tromey.com>
3272
3273 PR tui/17850:
3274 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
3275 tests.
3276
c22fef7e
TT
32772020-02-22 Tom Tromey <tom@tromey.com>
3278
3279 * gdb.tui/new-layout.exp: Add sub-layout tests.
3280
ee325b61
TT
32812020-02-22 Tom Tromey <tom@tromey.com>
3282
3283 * gdb.tui/new-layout.exp: New file.
3284
3f0cbb04
TT
32852020-02-22 Tom Tromey <tom@tromey.com>
3286
3287 * gdb.rust/rust-style.rs: New file.
3288 * gdb.rust/rust-style.exp: New file.
3289 * gdb.base/style.exp: Test structure printing.
3290 * gdb.base/style.c (struct some_struct): New type.
3291 (enum etype): New type.
3292 (struct_value): New global.
3293
75525152
TV
32942020-02-21 Tom de Vries <tdevries@suse.de>
3295
3296 PR go/18926
3297 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
3298 Remove blanket xfails. Use message argument for gdb_breakpoint.
3299 Make continuing to breakpoint test conditional on setting breakpoint.
3300 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
3301 DW_AT_name attribute. Add xfail for GCC PR93866.
3302
bd360d30
AB
33032020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
3304
3305 * gdb.dwarf2/cpp-linkage-name.c: New file.
3306 * gdb.dwarf2/cpp-linkage-name.exp: New file.
3307
c7adb09f 33082020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
3309
3310 * lib/gdb.exp (gdb_wrapper_init): Reset
3311 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
3312 not exist.
3313
a9c79803
TV
33142020-02-20 Tom de Vries <tdevries@suse.de>
3315
3316 PR go/17018
3317 * gdb.go/hello.exp: Copy ...
3318 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
3319 print of st to print value of global definition. Add xfail for GCC
3320 PR93844.
3321 * gdb.go/hello.exp: Remove printing of st before definition.
3322 * gdb.go/hello.go: Copy ...
3323 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
3324 to st.
3325 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
3326
d7445728
TV
33272020-02-20 Tom de Vries <tdevries@suse.de>
3328
3329 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
3330 (gdb_simple_compile): Handle compile_flags go by using .go extension
3331 for source file.
3332 * gdb.go/chan.exp: Use support_go_compile.
3333 * gdb.go/handcall.exp: Same.
3334 * gdb.go/hello.exp: Same.
3335 * gdb.go/integers.exp: Same.
3336 * gdb.go/max-depth.exp: Same.
3337 * gdb.go/methods.exp: Same.
3338 * gdb.go/package.exp: Same.
3339 * gdb.go/strings.exp: Same.
3340 * gdb.go/types.exp: Same.
3341 * gdb.go/unsafe.exp: Same.
3342
c9c41e6d
TV
33432020-02-19 Tom de Vries <tdevries@suse.de>
3344
3345 * gdb.python/lib-types.exp: Make xfail more strict.
3346
f20ff837
TV
33472020-02-19 Tom de Vries <tdevries@suse.de>
3348
3349 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
3350
08410482
DE
33512020-02-19 Doug Evans <dje@google.com>
3352
3353 PR rust/25535
3354 * gdb.rust/simple.exp: Add test.
3355 * gdb.rust/simple.rs: Add test.
3356
623563f7
TV
33572020-02-19 Tom de Vries <tdevries@suse.de>
3358
3359 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
3360 output line-by-line.
3361
d3308cfd
TV
33622020-02-19 Tom de Vries <tdevries@suse.de>
3363
3364 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
3365
86cbc5dc
TV
33662020-02-19 Tom de Vries <tdevries@suse.de>
3367
3368 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
3369 prelink.
3370
9db2b96b
TV
33712020-02-19 Tom de Vries <tdevries@suse.de>
3372
3373 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
3374 (gdb_do_cache): Use gdb_do_cache_wrap.
3375 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
3376
89e2fdc5
TV
33772020-02-19 Tom de Vries <tdevries@suse.de>
3378
3379 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
3380 gdb_compile option.
3381
373d7ac0
SM
33822020-02-18 Simon Marchi <simon.marchi@efficios.com>
3383
3384 * gdb.base/printcmds.exp (test_print_enums): Update expected
3385 output.
3386
b29a2df0
SM
33872020-02-18 Simon Marchi <simon.marchi@efficios.com>
3388
3389 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
3390 for "unknown".
3391
6740f0cc
SM
33922020-02-18 Simon Marchi <simon.marchi@efficios.com>
3393
3394 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
3395 enumerator.
3396
edd45eb0
SM
33972020-02-18 Simon Marchi <simon.marchi@efficios.com>
3398
3399 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
3400 FE_, add FE_NONE.
3401 (three): Update.
3402 (enum flag_enum_without_zero): New enum.
3403 (flag_enum_without_zero): New variable.
3404 (enum not_flag_enum): New enum.
3405 (three_not_flag): New variable.
3406 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
3407 (test_print_enums): Add more tests for printing flag enums.
3408
d4295de4
TV
34092020-02-18 Tom de Vries <tdevries@suse.de>
3410
3411 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
3412 (gdb_compile_ada): ... here.
3413 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
3414 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
3415
f251f505
TT
34162020-02-14 Tom Tromey <tom@tromey.com>
3417
3418 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
3419 build directory.
3420 * boards/gdbserver-base.exp: Update path to gdbserver.
3421
8f432634
TV
34222020-02-13 Tom de Vries <tdevries@suse.de>
3423
3424 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
3425
92b6eaf7
TV
34262020-02-13 Tom de Vries <tdevries@suse.de>
3427
3428 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
3429 are missing.
3430
f3b0f7fe
TV
34312020-02-13 Tom de Vries <tdevries@suse.de>
3432
3433 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
3434 call.
3435
f6be8713
SDJ
34362020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3437
3438 PR tui/25126
3439 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
3440 * gdb.base/cached-source-file.c: New file.
3441 * gdb.base/cached-source-file.exp: New file.
3442
b2770d5e
TV
34432020-02-11 Tom de Vries <tdevries@suse.de>
3444
3445 PR testsuite/25488
3446 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
3447
44f6938e
TV
34482020-02-10 Tom de Vries <tdevries@suse.de>
3449
3450 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
3451
5f0e2eb7
MR
34522020-02-10 Maciej W. Rozycki <macro@wdc.com>
3453
3454 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
3455 and $after_addr are both integers before making a comparison.
3456
46ce2b6f
TV
34572020-02-09 Tom de Vries <tdevries@suse.de>
3458
3459 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
3460 command output and paste it into gdb.log. If any, paste catch message
3461 to gdb.log.
3462
5abbbe1d
TT
34632020-02-07 Tom Tromey <tromey@adacore.com>
3464
3465 PR breakpoints/24915:
3466 * gdb.base/annotate-symlink.exp: Use setup_xfail.
3467
1d5d29e7
SV
34682020-02-06 Shahab Vahedi <shahab@synopsys.com>
3469
3470 * gdb.tui/tui-missing-src.exp: Add the "missing source
3471 file" test for the TUI.
3472
b0999b9b
AB
34732020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
3474
3475 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
3476 including a port number in the output.
3477
c3b149eb
AKS
34782020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3479
3480 * lib/fortran.exp (fortran_int4): Handle clang.
3481 (fortran_int8): Likewise.
3482 (fortran_real4): Likewise.
3483 (fortran_real8): Likewise.
3484 (fortran_complex4): Likewise.
3485 (fortran_logical4): Likewise.
3486 (fortran_character1): Likewise.
3487
f8dcc90b
TV
34882020-02-04 Tom de Vries <tdevries@suse.de>
3489
3490 * README (Race detection): Add note.
3491
f90ac7c2
TV
34922020-02-04 Tom de Vries <tdevries@suse.de>
3493
3494 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
3495
780636ae
TV
34962020-02-04 Tom de Vries <tdevries@suse.de>
3497
3498 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
3499
5d2e1193
RA
35002020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3501
3502 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
3503 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
3504 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
3505 blttar, bnetarl.
3506 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
3507 binary for blttar, bnetarl.
3508 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
3509 wait instruction. Delete ldmx test.
3510 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
3511
e409c542
AKS
35122020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3513
3514 * gdb.fortran/array-bounds-high.exp: New file.
3515 * gdb.fortran/array-bounds-high.f90: New file.
3516
b0029748
LD
35172020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
3518
3519 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
3520 Replace #include of <sys/fcntl.h> by <fcntl.h>.
3521
195a8287
TV
35222020-02-01 Tom de Vries <tdevries@suse.de>
3523
3524 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
3525
42330a68
AB
35262020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
3527
3528 PR tui/9765
3529 * gdb.tui/tui-layout-asm-short-prog.S: New file.
3530 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
3531
b62a8028
LM
35322020-01-29 Luis Machado <luis.machado@linaro.org>
3533
3534 * gdb.arch/aarch64-brk-patterns.c: New source file.
3535 * gdb.arch/aarch64-brk-patterns.exp: New test.
3536
5f440116
TBA
35372020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3538
3539 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
3540 GCC/Clang version.
3541 * gdb.cp/pass-by-ref.exp: Ditto.
3542
ee2a6fc6
TV
35432020-01-29 Tom de Vries <tdevries@suse.de>
3544
3545 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
3546 * gdb.threads/watchpoint-fork-mt.c: Same.
3547 * gdb.threads/watchpoint-fork-parent.c: Same.
3548 * gdb.threads/watchpoint-fork-st.c: Same.
3549 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
3550
16b10d6e
LM
35512020-01-27 Luis Machado <luis.machado@linaro.org>
3552
3553 * gdb.base/step-over-syscall.exp (setup): Check if we're already
3554 sitting at a syscall instruction when we hit the syscall function's
3555 breakpoint.
3556 Check PC against one obtained with the x command.
3557 Validate syscall number.
3558 (step_over_syscall): Don't continue to the syscall instruction if
3559 we're already there.
3560
b1468492
PW
35612020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3562
3563 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
3564
7ffa82e1
AB
35652020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3566
3567 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
3568 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
3569
3d92a3e3
AB
35702020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3571
3572 * gdb.dwarf2/dw2-inline-stepping.c: New file.
3573 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
3574
94a72be7
AB
35752020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3576
3577 * gdb.base/maint.exp: Update line table parsing test.
3578 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
3579
53af73bf
PA
35802020-01-24 Pedro Alves <palves@redhat.com>
3581
3582 PR gdb/25410
3583 * gdb.multi/multi-re-run-1.c: New.
3584 * gdb.multi/multi-re-run-2.c: New.
3585 * gdb.multi/multi-re-run.exp: New.
3586
1ba1ac88
AB
35872020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3588
3589 PR gdb/23718
3590 * gdb.server/server-kill-python.exp: New file.
3591
f3364a6d
AB
35922020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3593
3594 * gdb.server/multi-ui-errors.c: New file.
3595 * gdb.server/multi-ui-errors.exp: New file.
3596
733d0a67
AB
35972020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3598
3599 PR tui/9765
3600 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
3601
4f13c1c0
TT
36022020-01-19 Tom Tromey <tom@tromey.com>
3603
3604 * gdb.tui/main.exp: Add check for plain "file".
3605
40c94099
CB
36062020-01-16 Christian Biesinger <cbiesinger@google.com>
3607
3608 * lib/gdb.exp: Fix spelling error (seperatelly).
3609
ff47f4f0
TT
36102020-01-14 Tom Tromey <tom@tromey.com>
3611
3612 PR symtab/12535:
3613 * gdb.python/python.exp: Test decode_line with empty string
3614 argument.
3615
717c684d
BE
36162020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
3617
3618 * gdb.base/skip-inline.exp: Extend test.
3619
44e4c775
AB
36202020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3621
3622 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
3623 * gdb.dwarf2/dw2-bad-elf.c: New file.
3624 * gdb.dwarf2/dw2-bad-elf.exp: New file.
3625
d93c6db7
AB
36262020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3627
3628 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
3629 _line_saw_file.
3630
9a6d629c
AB
36312020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3632
3633 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
3634 border.
3635
d9ebdab7
TBA
36362020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3637
3638 * gdb.multi/multi-target.exp (setup): Factor out "info
3639 connections" and "info inferiors" tests to ...
3640 (test_info_inferiors): ... this new procedure.
3641 (top level): Run new "info-inferiors" tests.
3642
f3c469b9
PA
36432020-01-10 Pedro Alves <palves@redhat.com>
3644
3645 * gdb.server/bkpt-other-inferior.exp: New file.
3646
121b3efd
PA
36472020-01-10 Pedro Alves <palves@redhat.com>
3648
3649 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
3650 of "add-inferior".
3651 * gdb.base/quit-live.exp: Likewise.
3652 * gdb.base/remote-exec-file.exp: Likewise.
3653 * gdb.guile/scm-progspace.exp: Likewise.
3654 * gdb.linespec/linespec.exp: Likewise.
3655 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3656 * gdb.mi/user-selected-context-sync.exp: Likewise.
3657 * gdb.multi/multi-target.exp (setup): Add "info connection" and
3658 "info inferiors" tests.
3659 * gdb.multi/remove-inferiors.exp: Adjust expected output of
3660 "add-inferior".
3661 * gdb.multi/watchpoint-multi.exp: Likewise.
3662 * gdb.python/py-inferior.exp: Likewise.
3663 * gdb.server/extended-remote-restart.exp: Likewise.
3664 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
3665 "info inferiors".
3666 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
3667 * gdb.trace/report.exp: Likewise.
3668
1dadb1dd
PA
36692020-01-10 Pedro Alves <palves@redhat.com>
3670
3671 * gdb.multi/multi-target.c: New file.
3672 * gdb.multi/multi-target.exp: New file.
3673 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
3674 mode requested, but remote does not support non-stop".
3675
78f2c40a
PA
36762020-01-10 Pedro Alves <palves@redhat.com>
3677
3678 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
3679 disconnect before reconnecting.
3680
e7af6c70
TBA
36812020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3682 Pedro Alves <palves@redhat.com>
3683
3684 * gdb.server/connect-without-multi-process.exp: Also test
3685 continuing to end.
3686
acdf84a6
PA
36872020-01-10 Pedro Alves <palves@redhat.com>
3688
3689 * gdb.base/remote-exec-file.exp: New file.
3690
873657b9
PA
36912020-01-10 Pedro Alves <palves@redhat.com>
3692
3693 * gdb.base/fork-running-state.exp (do_test): Adjust expected
3694 output.
3695 * gdb.threads/async.c: New.
3696 * gdb.threads/async.exp: New.
3697 * gdb.multi/tids-gid-reset.c: New.
3698 * gdb.multi/tids-gid-reset.exp: New.
3699
7f0ae84c
GB
37002020-01-10 George Barrett <bob@bob131.so>
3701
3702 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
3703 to help in finding the image relocation offset.
3704 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
3705 options in arguments.
3706 (stap_test_no_debuginfo): Likewise.
3707 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
3708 test variants.
3709 (stap_test): Add null semaphore relocation test.
3710
47e9d49d
GB
37112020-01-10 George Barrett <bob@bob131.so>
3712
3713 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
3714 * gdb.base/stap-probe.exp: Likewise.
3715 (stap_test): Pass argument as an additional flag.
3716 (stap_test_no_debuginfo): Likewise.
3717 (stap_test): Check `info probes stap' output for semaphore
3718 addresses if the test binary is supposed to have them.
3719
f5a7c406
AB
37202020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3721
3722 * gdb.tui/basic.exp: Add more scrolling tests.
3723
9ae6bf64
TT
37242020-01-09 Tom Tromey <tom@tromey.com>
3725
3726 PR tui/18932:
3727 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
3728 meangingful value.
3729 (Term::command, Term::resize): Update.
3730 * gdb.tui/basic.exp: Add scrolling test.
3731
b2efe70c
AB
37322020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3733
3734 * gdb.tui/tui-layout-asm.exp: New file.
3735
3804da7e
AB
37362020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3737
3738 * lib/tuiterm.exp (Term::check_box_contents): New proc.
3739
b40aa28f
AB
37402020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3741
3742 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
3743 (Term::enter_tui): Use Term::prepare_for_tui.
3744
63ffd7c9
AB
37452020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3746
3747 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
3748 called.
3749
3be966f6
AB
37502020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3751
3752 * gdb.base/skip.exp: Fix race condition in test.
3753
153d79c4
AB
37542020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3755
3756 * gdb.base/backtrace.c: New file.
3757 * gdb.base/backtrace.exp: New file.
3758
f2302a34
AB
37592020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
3760
3761 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
3762
6ec1d75e
PW
37632020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3764
3765 * gdb.base/style.exp: Test that warnings are styled.
3766
c296cbe6
BE
37672019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
3768
3769 * gdb.base/line65535.exp: New file.
3770 * gdb.base/line65535.c: New file.
3771
b28a729d
SM
37722019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
3773
3774 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
3775 * lib/gnat_debug_info_test.adb: New file.
3776 * gdb.ada/ptype_tagged_param.exp: Use
3777 gnat_runtime_has_debug_info, expect a different output if
3778 runtime does not have debug info.
3779
7f2d7a0d
SM
37802019-12-20 Simon Marchi <simon.marchi@efficios.com>
3781
3782 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
3783 (another) quote in test name.
3784
f3bce483
SM
37852019-12-20 Simon Marchi <simon.marchi@efficios.com>
3786
3787 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
3788 Add quote in test name.
3789
c855a912
TBA
37902019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3791
3792 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
3793 directory instead.
3794 * gdb.cp/pass-by-ref.exp: Extend with more cases.
3795 * gdb.cp/pass-by-ref-2.cc: New file.
3796 * gdb.cp/pass-by-ref-2.exp: New file.
3797
fc9d2d72
TT
37982019-12-20 Tom Tromey <tom@tromey.com>
3799
3800 * gdb.tui/list-before.exp: New file.
3801
77b97e00
TT
38022019-12-20 Tom Tromey <tom@tromey.com>
3803
3804 * gdb.tui/list.exp: Check for source on initial listing.
3805
f69656d0
TT
38062019-12-11 Tom Tromey <tromey@adacore.com>
3807
3808 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
3809 Add crlf test.
3810
99a55965
SM
38112019-12-18 Simon Marchi <simon.marchi@efficios.com>
3812
3813 * gdb.base/default.exp: Update value of $_gdb_major.
3814
5024637f
BE
38152019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3816
3817 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
3818
b63634be
BE
38192019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3820
3821 * gdb.base/skip.exp: Whitespace fix.
3822
45d73523
BE
38232019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3824
3825 * gdb.base/skip-inline.c: New file.
3826 * gdb.base/skip-inline.exp: New file.
3827
d043f8c8
SM
38282019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
3829
3830 * gdb.base/jit-reader.exp (jit_reader_test): Rename
3831 jit_function_00 to jit_function_stack_mangle.
3832 * gdb.base/jithost.c (jit_function_t): Rename to...
3833 (jit_function_stack_mangle_t): ... this.
3834 (jit_function_add_t): New typedef.
3835 (jit_function_00_code): Rename to...
3836 (jit_function_stack_mangle_code): ... this, make static.
3837 (jit_function_add_code): New.
3838 (main): Generate "add" function and call it. Adjust to changes
3839 in jithost_abi.
3840 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
3841 (struct jithost_abi) <begin, end>: Remove fields.
3842 <object, function_stack_mangle, function_add>: New fields.
3843 * gdb.base/jitreader.c (struct reader_state) <code_begin,
3844 code_end>: Remove fields.
3845 <func_stack_mangle>: New field.
3846 (read_debug_info): Adjust to renaming, create block for "add"
3847 function.
3848 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
3849
873de05c
TT
38502019-12-11 Tom Tromey <tom@tromey.com>
3851
3852 * gdb.tui/resize.exp: Fix regexp.
3853 * gdb.tui/regs.exp: Fix regexps.
3854 * gdb.tui/main.exp: Fix regexp.
3855
3d979945
TT
38562019-12-11 Tom Tromey <tom@tromey.com>
3857
3858 * gdb.tui/resize.exp: Update.
3859 * gdb.tui/empty.exp (layouts): Update.
3860
2192a9d3
TT
38612019-12-11 Tom Tromey <tom@tromey.com>
3862
3863 * gdb.tui/regs.exp: Update.
3864 * gdb.tui/empty.exp (layouts): Update.
3865 * gdb.tui/basic.exp: Update.
3866 * lib/tuiterm.exp (_check_box): Don't check bottom border.
3867
d8edc8b7
PW
38682019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3869
3870 * gdb.base/options.exp: Add -raw-values in the print completion list.
3871 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
3872
4c12d936
KB
38732019-12-10 Kevin Buettner <kevinb@redhat.com>
3874
3875 * gdb.threads/omp-par-scope.c: New file.
3876 * gdb/threads/omp-par-scope.exp: New file.
3877
26b911fb
KB
38782019-12-10 Kevin Buettner <kevinb@redhat.com>
3879
bb47f919
KB
3880 * lib/gdb.exp (support_nested_function_tests): New proc.
3881
38822019-12-10 Kevin Buettner <kevinb@redhat.com>
3883
3884 * lib/gdb.exp (gdb_compile_openmp): New proc.
3885 (build_executable_from_specs): Add an "openmp" option.
3886 (gdb_compile_pthreads): Add non-executable case.
26b911fb 3887
6c71eb7d
TT
38882019-12-10 Tom Tromey <tromey@adacore.com>
3889
3890 * gdb.ada/unchecked_union.exp: New file.
3891 * gdb.ada/unchecked_union/pck.adb: New file.
3892 * gdb.ada/unchecked_union/pck.ads: New file.
3893 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
3894 * gdb-utils.exp (string_to_regexp): Also quote "?".
3895
bac7c5cf
GB
38962019-12-10 George Barrett <bob@bob131.so>
3897
3898 Test scripted probe breakpoints.
3899 * gdb.guile/scm-breakpoint.c (main): Add probe point.
3900 * gdb.python/py-breakpoint.c (main): Likewise.
3901 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
3902 specifier test.
3903 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
3904
330f1d38
TBA
39052019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3906
3907 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
3908 an rvalue parameter.
3909 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
3910 parameter.
3911
b43315e2
AB
39122019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3913
3914 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
3915 modules.
3916
54f73dad
AB
39172019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3918
3919 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
3920 broken version of GCC.
3921
d57cbee9
AB
39222019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3923
3924 * gdb.fortran/info-modules.exp: Rewrite to make use of new
3925 sym-info-cmds library.
3926 * gdb.fortran/info-types.exp: Likewise.
3927 * lib/sym-info-cmds.exp: New file.
3928
c14aab8c
TV
39292019-12-08 Tom de Vries <tdevries@suse.de>
3930
3931 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
3932
aa2d5a42
KS
39332019-12-07 Keith Seitz <keiths@redhat.com>
3934
3935 * gdb.base/corefile-buildid-shlib-shr.c: New file.
3936 * gdb.base/corefile-buildid-shlib.c: New file.
3937 * gdb.base/corefile-buildid.c: New file.
3938 * gdb.base/corefile-buildid.exp: New file.
3939
93e55f0a
TV
39402019-12-06 Tom de Vries <tdevries@suse.de>
3941
3942 * gdb.dwarf2/varval.exp: Add decl before def test.
3943
c7d12402
TBA
39442019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3945
3946 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
3947
06acc08f
TBA
39482019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3949
3950 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
3951 CV and reference conversion for overload resolution.
3952 * gdb.cp/rvalue-ref-overload.exp: Test it.
3953
e0fad1ea
PW
39542019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3955
3956 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
3957 * gdb.base/frameapply.exp: Test faas without command.
3958
8d70a9f0
AB
39592019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3960
3961 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
3962 Fortran tests.
3963 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
3964 order.
3965
36c8fb93
AB
39662019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3967
3968 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
3969 casting to type with no kind specified.
3970 (test_basic_parsing_of_type_kinds): Additional tests for types
3971 with no kind specified, and add tests for single/double
3972 precision/complex types.
3973
4139ff00
TT
39742019-12-04 Tom Tromey <tromey@adacore.com>
3975
3976 * gdb.base/endianity.c (struct other) <x>: New field.
3977 (main): Initialize it.
3978 * gdb.base/endianity.exp: Update.
3979
a05cf17a
TT
39802019-12-04 Tom Tromey <tromey@adacore.com>
3981
3982 * gdb.ada/scalar_storage/storage.adb: New file.
3983 * gdb.ada/scalar_storage/pck.adb: New file.
3984 * gdb.ada/scalar_storage/pck.ads: New file.
3985 * gdb.ada/scalar_storage.exp: New file.
3986
103a685e
TT
39872019-12-04 Tom Tromey <tromey@adacore.com>
3988
3989 * gdb.base/endianity.c (struct otherendian) <f>: New field.
3990 (main): Initialize it.
3991 * gdb.base/endianity.exp: Update.
3992
c2512106
AB
39932019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3994
3995 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
3996
293b38d6
AB
39972019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3998
3999 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
4000 -symbol-info-module-functions and -symbol-info-module-variables.
4001
216a7e6b
AB
40022019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
4003
4004 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
4005
5bbd8269
AB
40062019-12-01 Richard Bunt <richard.bunt@arm.com>
4007 Andrew Burgess <andrew.burgess@embecosm.com>
4008
4009 * gdb.fortran/derived-type-striding.exp: New file.
4010 * gdb.fortran/derived-type-striding.f90: New file.
4011 * gdb.fortran/array-slices.exp: New file.
4012 * gdb.fortran/array-slices.f90: New file.
4013
be09caf1
PW
40142019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4015
4016 * gdb.base/define.exp: Test . in command names.
4017 * gdb.base/setshow.exp: Update test, as . is now part of
4018 command name.
4019
643c0cbe
PW
40202019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4021
4022 * gdb.base/define-prefix.exp: New file.
4023
dcdec678
AB
40242019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
4025
4026 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
4027 compile.
4028 (skip_btrace_pt_tests): Likewise.
4029
640ab947
AB
40302019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4031
4032 * gdb.fortran/info-modules.exp: Compile source files in correct
4033 order.
4034
d22670f0
KB
40352019-11-27 Kevin Buettner <kevinb@redhat.com>
4036
4037 * gdb.dwarf2/imported-unit.exp: New file.
4038 * gdb.dwarf2/imported-unit.c: New file.
4039
db5960b4
AB
40402019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4041
4042 * gdb.mi/mi-fortran-modules-2.f90: New file.
4043 * gdb.mi/mi-fortran-modules.exp: New file.
4044 * gdb.mi/mi-fortran-modules.f90: New file.
4045
7dc42066
AB
40462019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4047
4048 * gdb.mi/mi-sym-info-1.c: New file.
4049 * gdb.mi/mi-sym-info-2.c: New file.
4050 * gdb.mi/mi-sym-info.exp: New file.
4051
0dfeecca
TT
40522019-11-22 Tom Tromey <tromey@adacore.com>
4053
4054 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
4055 * gdb.ada/tasks/foo.adb: Add another stopping location.
4056
34877895
PJ
40572019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
4058
4059 * gdb.base/endianity.c: New test.
4060 * gdb.base/endianity.exp: New file.
4061
2e84f897
LD
40622019-11-21 Lukas Durfina <ldurfina@tachyum.com>
4063
4064 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
4065
65d1cd5f
TV
40662019-11-21 Tom de Vries <tdevries@suse.de>
4067
4068 PR gdb/24956
4069 * gdb.base/ui-redirect.exp: Test output of user-defined command.
4070
4f22c3f4
SDJ
40712019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4072
4073 * gdb.python/py-progspace.exp: Add missing parentheses on some
4074 'print' commands.
4075
9f6ad286
TT
40762019-11-19 Tom Tromey <tom@tromey.com>
4077
4078 * gdb.tui/winheight.exp: New file.
4079
0b8dbf3f
AB
40802019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4081
4082 * gdb.base/ctf-whatis.c: Delete.
4083 * gdb.base/ctf-whatis.exp: Delete.
4084 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
4085
f833b7a7
AB
40862019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4087
4088 * gdb.base/ctf-cvexpr.exp: Delete.
4089 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
4090
30d0a636
AB
40912019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4092
4093 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
4094 the compiler. Clean up header comment a little.
4095 * gdb.base/ctf-ptype.exp: Likewise.
4096 * gdb.base/ctf-whatis.exp: Likewise.
4097 * lib/gdb.exp (skip_ctf_tests): New proc.
4098
494409bb
SDJ
40992019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
4100
4101 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
4102 * gdb.tui/corefile-run.exp: New file.
4103
55708e99
TT
41042019-11-14 Tom Tromey <tromey@adacore.com>
4105
4106 * gdb.base/gdbvars.exp (test_convenience_variables): Add
4107 regression tests.
4108
45e42163
TT
41092019-11-12 Tom Tromey <tom@tromey.com>
4110
4111 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
4112 after any command. Expect prompt after WAIT_FOR is seen.
4113 (enter_tui): Enable resize messages.
4114 (command): Expect command in output.
4115 (get_line): Avoid error when cursor appears to be off-screen.
4116 (dump_screen): Include screen size in title.
4117 (_do_resize): New proc, from "resize".
4118 (resize): Rewrite. Do resize in two steps.
4119 * gdb.tui/empty.exp (layouts): Fix entries.
4120 (check_boxes): Remove xfail.
4121 (check_text): Dump screen on failure.
4122
086baaf1
AB
41232019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4124
4125 * gdb.python/py-symbol.exp: Add test for
4126 gdb.lookup_static_symbols.
4127
09ff83af
AB
41282019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4129
4130 * gdb.python/py-symbol.c: Declare and call function from new
4131 py-symbol-2.c file.
4132 * gdb.python/py-symbol.exp: Compile both source files, and add new
4133 tests for gdb.lookup_static_symbol.
4134 * gdb.python/py-symbol-2.c: New file.
4135
11af934b
TV
41362019-11-02 Tom de Vries <tdevries@suse.de>
4137
4138 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
4139 * gdb.base/anon.exp: Same.
4140 * gdb.base/auto-connect-native-target.exp: Same.
4141 * gdb.base/call-ar-st.exp: Same.
4142 * gdb.base/catch-syscall.exp: Same.
4143 * gdb.base/commands.exp: Same.
4144 * gdb.base/default.exp: Same.
4145 * gdb.base/display.exp: Same.
4146 * gdb.base/float.exp: Same.
4147 * gdb.base/foll-fork.exp: Same.
4148 * gdb.base/help.exp: Same.
4149 * gdb.base/info-macros.exp: Same.
4150 * gdb.base/info-proc.exp: Same.
4151 * gdb.base/info-target.exp: Same.
4152 * gdb.base/long_long.exp: Same.
4153 * gdb.base/macscp.exp: Same.
4154 * gdb.base/memattr.exp: Same.
4155 * gdb.base/nofield.exp: Same.
4156 * gdb.base/pointers.exp: Same.
4157 * gdb.base/printcmds.exp: Same.
4158 * gdb.base/ptype.exp: Same.
4159 * gdb.base/restore.exp: Same.
4160 * gdb.base/return.exp: Same.
4161 * gdb.base/scope.exp: Same.
4162 * gdb.base/set-noassign.exp: Same.
4163 * gdb.base/setshow.exp: Same.
4164 * gdb.base/shlib-call.exp: Same.
4165 * gdb.base/signals.exp: Same.
4166 * gdb.base/sigstep.exp: Same.
4167 * gdb.base/skip.exp: Same.
4168 * gdb.base/solib-symbol.exp: Same.
4169 * gdb.base/stap-probe.exp: Same.
4170 * gdb.base/step-line.exp: Same.
4171 * gdb.base/step-test.exp: Same.
4172 * gdb.base/style.exp: Same.
4173 * gdb.base/varargs.exp: Same.
4174 * gdb.base/vla-datatypes.exp: Same.
4175 * gdb.base/vla-ptr.exp: Same.
4176 * gdb.base/vla-sideeffect.exp: Same.
4177 * gdb.base/volatile.exp: Same.
4178 * gdb.base/watch-cond-infcall.exp: Same.
4179 * gdb.base/watchpoint.exp: Same.
4180
e96ec2ba
TV
41812019-11-02 Tom de Vries <tdevries@suse.de>
4182
4183 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
4184 * gdb.cp/cpexprs.exp: Same.
4185 * gdb.cp/except-multi-location.exp: Same.
4186 * gdb.cp/exceptprint.exp: Same.
4187 * gdb.cp/gdb2384.exp: Same.
4188 * gdb.cp/inherit.exp: Same.
4189 * gdb.cp/m-static.exp: Same.
4190 * gdb.cp/meth-typedefs.exp: Same.
4191 * gdb.cp/misc.exp: Same.
4192 * gdb.cp/namespace.exp: Same.
4193 * gdb.cp/non-trivial-retval.exp: Same.
4194 * gdb.cp/overload.exp: Same.
4195 * gdb.cp/pr17132.exp: Same.
4196 * gdb.cp/re-set-overloaded.exp: Same.
4197 * gdb.cp/rvalue-ref-types.exp: Same.
4198 * gdb.cp/templates.exp: Same.
4199
bd5766ec
LM
42002019-11-01 Luis Machado <luis.machado@linaro.org>
4201
4202 PR gdb/25124
4203
4204 * gdb.arch/pr25124.S: New file.
4205 * gdb.arch/pr25124.exp: New file.
4206
165f8965
AB
42072019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4208
4209 * gdb.fortran/info-modules.exp: Update expected results, and add
4210 additional tests for 'info module functinos', and 'info module
4211 variables'.
4212 * gdb.fortran/info-types.exp: Update expected results.
4213 * gdb.fortran/info-types.f90: Extend testcase with additional
4214 module variables and functions.
4215
59c35742
AB
42162019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4217
4218 * gdb.fortran/info-modules.exp: New file.
4219 * gdb.fortran/info-types.exp: Build with new file.
4220 * gdb.fortran/info-types.f90: Include and use new module.
4221 * gdb.fortran/info-types-2.f90: New file.
4222
f3fb2519
PW
42232019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4224
4225 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
4226 * gdb.base/settings.exp: Test all settings types using
4227 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
4228 that now verifies that the value of "maint show" is the same as
4229 returned by the settings functions. Test the type of the
4230 maintenance settings.
4231 * gdb.base/default.exp: Update show_conv_list.
4232
d1e36019
TV
42332019-10-31 Tom de Vries <tdevries@suse.de>
4234
4235 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
4236 gdb_test.
4237 * gdb.arch/amd64-disp-step.exp: Same.
4238 * gdb.asm/asm-source.exp: Same.
4239 * gdb.btrace/buffer-size.exp: Same.
4240 * gdb.btrace/cpu.exp: Same.
4241 * gdb.btrace/enable.exp: Same.
4242 * gdb.dwarf2/count.exp: Same.
4243 * gdb.dwarf2/dw2-ranges-func.exp: Same.
4244 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
4245 * gdb.fortran/vla-datatypes.exp: Same.
4246 * gdb.fortran/vla-history.exp: Same.
4247 * gdb.fortran/vla-ptype.exp: Same.
4248 * gdb.fortran/vla-value.exp: Same.
4249 * gdb.fortran/whatis_type.exp: Same.
4250 * gdb.guile/guile.exp: Same.
4251 * gdb.multi/tids.exp: Same.
4252 * gdb.python/py-finish-breakpoint.exp: Same.
4253 * gdb.python/py-framefilter.exp: Same.
4254 * gdb.python/py-pp-registration.exp: Same.
4255 * gdb.python/py-xmethods.exp: Same.
4256 * gdb.python/python.exp: Same.
4257 * gdb.server/connect-with-no-symbol-file.exp: Same.
4258 * gdb.server/no-thread-db.exp: Same.
4259 * gdb.server/run-without-local-binary.exp: Same.
4260 * gdb.stabs/weird.exp: Same.
4261 * gdb.threads/attach-many-short-lived-threads.exp: Same.
4262 * gdb.threads/thread-find.exp: Same.
4263 * gdb.threads/tls-shared.exp: Same.
4264 * gdb.threads/tls.exp: Same.
4265 * gdb.threads/wp-replication.exp: Same.
4266 * gdb.trace/ax.exp: Same.
4267 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
4268
3d11e68e
TV
42692019-10-31 Tom de Vries <tdevries@suse.de>
4270
4271 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
4272 * gdb.ada/array_subscript_addr.exp: Same.
4273 * gdb.ada/arrayidx.exp: Same.
4274 * gdb.ada/arrayparam.exp: Same.
4275 * gdb.ada/arrayptr.exp: Same.
4276 * gdb.ada/boolean_expr.exp: Same.
4277 * gdb.ada/call_pn.exp: Same.
4278 * gdb.ada/complete.exp: Same.
4279 * gdb.ada/fixed_cmp.exp: Same.
4280 * gdb.ada/fun_addr.exp: Same.
4281 * gdb.ada/funcall_param.exp: Same.
4282 * gdb.ada/interface.exp: Same.
4283 * gdb.ada/mod_from_name.exp: Same.
4284 * gdb.ada/null_array.exp: Same.
4285 * gdb.ada/packed_array.exp: Same.
4286 * gdb.ada/packed_tagged.exp: Same.
4287 * gdb.ada/print_chars.exp: Same.
4288 * gdb.ada/print_pc.exp: Same.
4289 * gdb.ada/ptype_arith_binop.exp: Same.
4290 * gdb.ada/ptype_field.exp: Same.
4291 * gdb.ada/ptype_tagged_param.exp: Same.
4292 * gdb.ada/rec_return.exp: Same.
4293 * gdb.ada/ref_tick_size.exp: Same.
4294 * gdb.ada/str_ref_cmp.exp: Same.
4295 * gdb.ada/taft_type.exp: Same.
4296 * gdb.ada/tagged.exp: Same.
4297 * gdb.ada/type_coercion.exp: Same.
4298 * gdb.ada/uninitialized_vars.exp: Same.
4299
60b6ede8
TV
43002019-10-30 Tom de Vries <tdevries@suse.de>
4301
4302 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
4303
30baf67b
TV
43042019-10-26 Tom de Vries <tdevries@suse.de>
4305
4306 * gdb.base/bigcore.c: Fix typos in comments.
4307 * gdb.base/ctf-ptype.c: Same.
4308 * gdb.base/long_long.c: Same.
4309 * gdb.dwarf2/dw2-op-out-param.S: Same.
4310 * gdb.python/py-evthreads.c: Same.
4311 * gdb.reverse/i387-stack-reverse.c: Same.
4312 * gdb.trace/tfile.c: Same.
4313 * lib/compiler.c: Same.
4314 * lib/compiler.cc: Same.
4315
158da0d1
TV
43162019-10-25 Tom de Vries <tdevries@suse.de>
4317
4318 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
4319 gdb_test_multiple calls.
4320 * gdb.reverse/sigall-reverse.exp: Same.
4321 * gdb.reverse/solib-precsave.exp: Same.
4322 * gdb.reverse/solib-reverse.exp: Same.
4323 * gdb.reverse/until-precsave.exp: Same.
4324 * gdb.reverse/until-reverse.exp: Same.
4325
4ccdfbec
TV
43262019-10-24 Tom de Vries <tdevries@suse.de>
4327
4328 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
4329 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
4330 kfail using -wrap pattern flag and convenience variable
4331 gdb_test_name.
4332
33d569b7
AB
43332019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
4334
4335 * gdb.python/py-progspace.exp: Add tests for the
4336 Progspace.block_for_pc method.
4337
4d0b984b
TT
43382019-10-23 Tom Tromey <tom@tromey.com>
4339
4340 * configure: Rebuild.
4341 * aclocal.m4: Use m4_include, not sinclude.
4342
94cb3754
TV
43432019-10-21 Tom de Vries <tdevries@suse.de>
4344
4345 * gdb.base/infcall-nested-structs.c: Add
4346 __attribute__((noinline,noclone)) to all functions.
4347 (call_all): Add missing variable initialization. Simplify return value.
4348 (breakpt): Increment volatile variable, to prevent call from being
4349 optimized out.
4350 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
4351
062f1fc1
TV
43522019-10-17 Tom de Vries <tdevries@suse.de>
4353
4354 * gdb.fortran/module.exp: Allow info variables to print info for files
4355 other than module.f90.
4356
0b54364d
AB
43572019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4358
4359 * gdb.fortran/module.exp: Extend with 'info variables' test.
4360
7ff5fae7
AB
43612019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4362
4363 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
4364 F77_FOR_TARGET.
4365
d10eccaa
TV
43662019-10-16 Tom de Vries <tdevries@suse.de>
4367
4368 PR tdep/25096
4369 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
4370
745ff14e
TV
43712019-10-16 Tom de Vries <tdevries@suse.de>
4372
4373 PR tdep/24104
4374 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
4375 Add KFAIL for PR tdep/25096.
4376
03e1ab94
TV
43772019-10-16 Tom de Vries <tdevries@suse.de>
4378
4379 PR testsuite/25059
4380 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
4381
b17fcc10
TV
43822019-10-16 Tom de Vries <tdevries@suse.de>
4383
4384 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
4385 as signed.
4386
9223170f
SM
43872019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
4388
4389 * gdb.mi/list-thread-groups-available.exp: Read entries one by
4390 one instead of increasing timeout.
4391
d6e76313
TV
43922019-10-13 Tom de Vries <tdevries@suse.de>
4393
4394 PR record/25038
4395 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
4396 * gdb.reverse/sigall-reverse.exp: Same.
4397 * gdb.reverse/solib-precsave.exp: Same.
4398 * gdb.reverse/solib-reverse.exp: Same.
4399 * gdb.reverse/step-precsave.exp: Same.
4400 * gdb.reverse/until-precsave.exp: Same.
4401 * gdb.reverse/until-reverse.exp: Same.
4402 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
4403
6dfc0041
AA
44042019-10-10 Andreas Arnez <arnez@linux.ibm.com>
4405
4406 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
4407 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
4408 (cmp_struct_05_01, cmp_struct_static_02_01)
4409 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
4410 comparisons.
4411
abcf2cc8
TV
44122019-10-10 Tom de Vries <tdevries@suse.de>
4413
4414 PR testsuite/24888
4415 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
4416 gnatlink.
4417
a50faaf6
TV
44182019-10-09 Tom de Vries <tdevries@suse.de>
4419
4420 PR testsuite/25048
4421 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
4422
60ff3cd7
AB
44232019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4424
4425 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
4426 exceptions due to missing debug information.
4427
dfee8566
TV
44282019-10-07 Tom de Vries <tdevries@suse.de>
4429
4430 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
4431
3d63690a
AB
44322019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4433
4434 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
4435 * gdb.base/annota1.exp: Update to use gdb_test_name.
4436
30d1f018
WP
44372019-10-07 Weimin Pan <weimin.pan@oracle.com>
4438
4439 * gdb.base/ctf-whatis.exp: New file.
4440 * gdb.base/ctf-whatis.c: New file.
4441 * gdb.base/ctf-ptype.exp: New file.
4442 * gdb.base/ctf-ptype.c: New file.
4443 * gdb.base/ctf-constvars.exp: New file.
4444 * gdb.base/ctf-constvars.c: New file.
4445 * gdb.base/ctf-cvexpr.exp: New file.
4446
4dbbb47c
TV
44472019-10-04 Tom de Vries <tdevries@suse.de>
4448
4449 * gdb.cp/local-static.c (main): Move declaration of int i out of the
4450 for loop.
4451
77c2dba3
TT
44522019-10-03 Tom Tromey <tom@tromey.com>
4453
4454 PR rust/24976:
4455 * gdb.rust/simple.rs (Union2): New type.
4456 (main): Use Union2.
4457 * gdb.rust/simple.exp: Add test.
4458
179aed7f
AB
44592019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4460
4461 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
4462 nested function prefix.
4463
0a4b0913
AB
44642019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
4465 Richard Bunt <richard.bunt@arm.com>
4466 Andrew Burgess <andrew.burgess@embecosm.com>
4467
4468 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
4469 nested functions.
4470 * gdb.fortran/nested-funcs.f90: Update expected results.
4471 * gdb.fortran/nested-funcs-2.exp: New file.
4472 * gdb.fortran/nested-funcs-2.f90: New file.
4473
082cce05
AB
44742019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4475
4476 * gdb.python/py-parameter.exp: Make test names unique.
4477 * gdb.python/py-template.exp: Likewise.
4478 * gdb.python/py-value.exp: Likewise.
4479
2b74ba5a
AB
44802019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4481
4482 * gdb.base/break-interp.exp: Reduce test name duplication.
4483 * gdb.base/call-sc.exp: Likewise.
4484 * gdb.base/callfuncs.exp: Likewise.
4485 * gdb.base/charset.exp: Likewise.
4486 * gdb.base/dump.exp: Likewise.
4487 * gdb.base/ena-dis-br.exp: Likewise.
4488 * gdb.base/relational.exp: Likewise.
4489 * gdb.base/step-over-syscall.exp: Likewise.
4490 * gdb.base/structs.exp: Likewise.
4491
58eb20d5
AB
44922019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4493
4494 * gdb.linespec/explicit.exp: Make test names unique.
4495 * gdb.linespec/ls-errs.exp: Likewise.
4496
4d421147
AB
44972019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4498
4499 * gdb.reverse/break-precsave.exp: Make test names unique.
4500 * gdb.reverse/break-reverse.exp: Likewise.
4501 * gdb.reverse/finish-precsave.exp: Likewise.
4502 * gdb.reverse/finish-reverse.exp: Likewise.
4503 * gdb.reverse/machinestate-precsave.exp: Likewise.
4504 * gdb.reverse/machinestate.exp: Likewise.
4505 * gdb.reverse/readv-reverse.exp: Likewise.
4506 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4507 * gdb.reverse/sigall-precsave.exp: Likewise.
4508 * gdb.reverse/sigall-reverse.exp: Likewise.
4509 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
4510 * gdb.reverse/watch-precsave.exp: Likewise.
4511 * gdb.reverse/watch-reverse.exp: Likewise.
4512
d8c06f22
AB
45132019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4514
4515 * gdb.threads/stop-with-handle.c: New file.
4516 * gdb.threads/stop-with-handle.exp: New file.
4517
3a56ed86
TV
45182019-10-03 Tom de Vries <tdevries@suse.de>
4519
4520 PR testsuite/25059
4521 * gdb.base/list-missing-source.exp: Allowing the "Compilation
4522 directory" line to be missing.
4523
42275044
TV
45242019-10-03 Tom de Vries <tdevries@suse.de>
4525
4526 PR testsuite/25059
4527 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
4528 type optional.
4529
9ef62df0
AA
45302019-10-02 Andreas Arnez <arnez@linux.ibm.com>
4531
4532 * gdb.python/py-format-string.c (string.h): New include.
4533 (main): Fill a_struct_with_union.the_union.an_int with bytes of
4534 the same value, for endianness-independence.
4535 * gdb.python/py-format-string.exp (default_regexp_dict)
4536 (test_pretty_structs, test_format): Adjust expected output to the
4537 changed initialization.
4538
37f6a7f4
TT
45392019-10-02 Tom Tromey <tromey@adacore.com>
4540
4541 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
4542
1d58d6a2
PA
45432019-10-02 Pedro Alves <palves@redhat.com>
4544 Andrew Burgess <andrew.burgess@embecosm.com>
4545
4546 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
4547 "print-file-var.h".
4548 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4549 (get_version_1): Print this_version_id and its address.
4550 Add extern "C" wrappers around interface functions.
4551 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
4552 "print-file-var.h".
4553 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4554 (get_version_2): Print this_version_id and its address.
4555 Add extern "C" wrappers around interface functions.
4556 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
4557 <stddef.h> and "print-file-var.h".
4558 Add extern "C" wrappers around interface functions.
4559 [VERSION_ID_MAIN] (this_version_id): Define.
4560 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
4561 * gdb.base/print-file-var.h: Add some #defines to simplify setting
4562 up extern "C" blocks.
4563 * gdb.base/print-file-var.exp (test): New, factored out from top
4564 level.
4565 (top level): Test all combinations of attribute hidden or not,
4566 dlopen or not, and this_version_id symbol in main file or not.
4567 Compile tests as both C++ and C, make test names unique.
4568
d770d56f
TT
45692019-10-01 Tom Tromey <tom@tromey.com>
4570
4571 * gdb.base/style.exp: Test "show logging filename".
4572
7f6aba03
TT
45732019-10-01 Tom Tromey <tom@tromey.com>
4574
4575 * lib/gdb-utils.exp (style): Handle "metadata" argument.
4576 * gdb.base/style.exp: Add metadata style test.
4577
14309bb6
TT
45782019-10-01 Tom Tromey <tom@tromey.com>
4579
4580 * gdb.base/style.exp: Test "pwd".
4581
2a3c1174
PA
45822019-10-01 Tom Tromey <tom@tromey.com>
4583
4584 * gdb.base/style.exp: Update tests.
4585
53d666ec
AA
45862019-10-01 Andreas Arnez <arnez@linux.ibm.com>
4587
4588 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
4589 'six' to unsigned.
4590 (s1): Initialize fields 'four' and 'six' instead of 'three' and
4591 'five'. Use an all-ones bit pattern for each.
4592 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
4593 to its changed values.
4594
4a56a520
TT
45952019-09-30 Tom Tromey <tromey@adacore.com>
4596
4597 * gdb.rust/traits.rs: Disable all warnings.
4598
0df0352a
TV
45992019-09-29 Tom de Vries <tdevries@suse.de>
4600
aac66a4c 4601 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 4602
73d9a918
TV
46032019-09-29 Tom de Vries <tdevries@suse.de>
4604
4605 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
4606
060b3ab4
TV
46072019-09-27 Tom de Vries <tdevries@suse.de>
4608
4609 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
4610
68f7d34d
TV
46112019-09-27 Tom de Vries <tdevries@suse.de>
4612
4613 PR record/23188
4614 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
4615
5d63b30a
TT
46162019-09-26 Tom Tromey <tromey@adacore.com>
4617
4618 * gdb.ada/py_taft.exp: New file.
4619 * gdb.ada/py_taft/main.adb: New file.
4620 * gdb.ada/py_taft/pkg.adb: New file.
4621 * gdb.ada/py_taft/pkg.ads: New file.
4622
3d435220
TV
46232019-09-24 Tom de Vries <tdevries@suse.de>
4624
4625 PR gdb/24598
4626 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
4627
77d03678
TV
46282019-09-22 Tom de Vries <tdevries@suse.de>
4629
4630 * gdb.base/restore.exp: Allow register variables to be optimized out at
4631 -O0.
4632
abf516c6
UW
46332019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
4634
4635 * gdb.arch/spu-info.exp: Remove file.
4636 * gdb.arch/spu-info.c: Remove file.
4637 * gdb.arch/spu-ls.exp: Remove file.
4638 * gdb.arch/spu-ls.c: Remove file.
4639
4640 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
4641 * gdb.asm/spu.inc: Remove file.
4642
4643 * gdb.base/dump.exp: Remove support for spu*-*-*.
4644 * gdb.base/stack-checking.exp: Likewise.
4645 * gdb.base/overlays.exp: Likewise.
4646 * gdb.base/ovlymgr.c: Likewise.
4647 * gdb.base/spu.ld: Remove file.
4648
4649 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
4650 * gdb.cp/cpexprs.exp: Likewise.
4651 * gdb.cp/exception.exp: Likewise.
4652 * gdb.cp/gdb2495.exp: Likewise.
4653 * gdb.cp/mb-templates.exp: Likewise.
4654 * gdb.cp/pr9167.exp: Likewise.
4655 * gdb.cp/userdef.exp: Likewise.
4656
4657 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
4658
4659 * gdb.cell: Remove directory.
4660 * lib/cell.exp: Remove file.
4661
e452e88f
TV
46622019-09-19 Tom de Vries <tdevries@suse.de>
4663
4664 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
4665
8a625130
TV
46662019-09-19 Tom de Vries <tdevries@suse.de>
4667
4668 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
4669
81dc3ab5
TV
46702019-09-19 Tom de Vries <tdevries@suse.de>
4671
4672 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
4673 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
4674 (gdb_target_cmd): ... here.
4675 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
4676 value 2.
4677
b078f3ac
AB
46782019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
4679
4680 * gdb.base/source-dir.exp: Avoid having directory names in test
4681 names.
4682
f1b620e9
MG
46832019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4684
4685 * gdb.base/source-dir.exp: Add extra test for mapped compilation
4686 directory.
4687
67f3ed6a
AB
46882019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4689
4690 * gdb.base/list-missing-source.exp: New file.
4691
d1b70248
TV
46922019-09-14 Tom de Vries <tdevries@suse.de>
4693
4694 PR teststuite/24599
4695 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
4696 * lib/ada.exp (gnatmake_version_at_least): New proc.
4697
5fabdcd6
AB
46982019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4699
4700 * gdb.base/maint.exp: Use exec_has_index_section.
4701
aa17805f
AB
47022019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4703
4704 * gdb.base/maint.exp: Add test for 'maint info sections'.
4705
25e5c209
TV
47062019-09-12 Tom de Vries <tdevries@suse.de>
4707
4708 * gdb.base/store.exp: Allow register variables to be optimized out at
4709 -O0.
4710
4993045d
PW
47112019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4712
4713 * gdb.ada/rdv_wait.exp: Update to new task names.
4714 * gdb.base/task_switch_in_core.exp: Likewise.
4715 * gdb.base/info_sources_base.c: Likewise.
4716
8a516164
TT
47172019-09-10 Tom Tromey <tromey@adacore.com>
4718
4719 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
4720
aa391654
TT
47212019-09-10 Tom Tromey <tromey@adacore.com>
4722
4723 * gdb.ada/dgopt.exp: New file.
4724 * gdb.ada/dgopt/x.adb: New file.
4725
8634b462
TT
47262019-09-08 Tom Tromey <tom@tromey.com>
4727
4728 * gdb.tui/resize.exp: Remove setup_xfail.
4729 * gdb.tui/regs.exp: Remove setup_xfail.
4730 * gdb.tui/basic.exp: Remove setup_xfail.
4731
736b0f76
DB
47322019-09-06 David Blaikie <dblaikie@gmail.com>
4733
4734 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
4735 * gdb.cp/cplabel.exp: Ditto.
4736 * gdb.linespec/ls-errs.exp: Ditto.
4737
30331a6c
TV
47382019-09-05 Tom de Vries <tdevries@suse.de>
4739
4740 * lib/gdb.exp (cmp_file_string): New proc.
4741 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
4742 runto_main. Verify save breakpoints output.
4743
98b0ebab
PW
47442019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4745
4746 * gdb.base/info-var.exp: Test info variables without running
4747 to main, to avoid expect's buffer overflow.
4748
4e962e74
TT
47492019-09-03 Tom Tromey <tromey@adacore.com>
4750
4751 * gdb.ada/bias.exp: New file.
4752 * gdb.ada/bias/bias.adb: New file.
4753 * gdb.ada/print_chars.exp: Add regression test.
4754 * gdb.ada/print_chars/foo.adb (My_Character): New type.
4755 (MC): New variable.
4756
2ea1a07a
SL
47572019-08-29 Sandra Loosemore <sandra@codesourcery.com>
4758
4759 * gdb.base/argv0-symlink.exp: Run only on native target
4760 and local host.
4761
8077c50d
TV
47622019-08-29 Tom de Vries <tdevries@suse.de>
4763
4764 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
4765 diverse debug info.
4766 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
4767
48352473
TV
47682019-08-28 Tom de Vries <tdevries@suse.de>
4769
4770 * gdb.base/info-var.exp: Allow info variables to print info for files
4771 other than info-var-f1.c and info-var-f2.c.
4772
d8f27c60
AB
47732019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4774
4775 * gdb.fortran/info-types.exp: Add module.
4776 * gdb.fortran/info-types.f90: Update expected results.
4777
1f20c35e
AB
47782019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4779
4780 * gdb.fortran/info-types.exp: New file.
4781 * gdb.fortran/info-types.f90: New file.
4782 * lib/fortran.exp (fortran_character1): New proc.
4783
4acfdd20
AB
47842019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
4785
4786 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
4787 functions'. Reindent as needed.
4788 * gdb.base/info-var-f1.c: New file.
4789 * gdb.base/info-var-f2.c: New file.
4790 * gdb.base/info-var.exp: New file.
4791 * gdb.base/info-var.h: New file.
4792
5c31b358
TV
47932019-08-26 Tom de Vries <tdevries@suse.de>
4794
4795 PR c++/24852
4796 * gdb.cp/no-libstdcxx-probe.exp: New test.
4797
b694989f
TV
47982019-08-26 Tom de Vries <tdevries@suse.de>
4799
4800 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
4801 * tests need to be skipped.
4802 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
4803 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
4804 mi_skip_libstdcxx_probe_tests.
4805
d9c4ba53
SDJ
48062019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
4807
4808 * gdb.python/py-xmethods.exp: Use raw strings when passing
4809 arguments to SimpleXMethodMatcher.
4810
395fad09
TV
48112019-08-22 Tom de Vries <tdevries@suse.de>
4812
4813 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
4814 more informative.
4815
26c957f1
PA
48162019-08-21 Pedro Alves <palves@redhat.com>
4817
4818 * gdb.base/with.exp: Test "with" with no arguments.
4819
61f80d5d
TV
48202019-08-21 Tom de Vries <tdevries@suse.de>
4821
4822 * gdb.base/gdb-caching-proc.exp: Sort files.
4823
d7a11d13
TV
48242019-08-20 Tom de Vries <tdevries@suse.de>
4825
4826 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
4827 compilation.
4828
34dafe9f
TV
48292019-08-16 Tom de Vries <tdevries@suse.de>
4830
4831 * gdb.base/compare-sections.exp ("after run to main"): Allow
4832 mismatched read-only sections for PIE executables.
4833
398fdd60
TT
48342019-08-16 Tom Tromey <tom@tromey.com>
4835
4836 * lib/tuiterm.exp (_csi_Z): New proc.
4837 * gdb.tui/basic.exp: Update window positions.
4838 * gdb.tui/empty.exp: Update window positions.
4839
d8f9e51c
SL
48402019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4841
4842 * gdb.base/examine-backward.exp: Correct regexp for
4843 "examine 3 bytes backward from ${address_zero}".
4844
3df505f6
TT
48452019-08-15 Tom Tromey <tom@tromey.com>
4846
4847 * gdb.tui/empty.exp: Enable resizing tests.
4848
272560b5
TT
48492019-08-15 Tom Tromey <tromey@adacore.com>
4850
4851 * gdb.ada/char_enum.exp: Add regression tests.
4852 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
4853 and '0'.
4854 (Char, Gchar): Update.
4855 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
4856
08235187
CB
48572019-08-15 Christian Biesinger <cbiesinger@google.com>
4858
4859 * gdb.python/python.exp: Expect a leading underscore on
4860 GdbOutput{,Error}File.
4861
22a2ab04
SL
48622019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4863
4864 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
4865 Windows host.
4866
835b995b
SL
48672019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4868
4869 * gdb.base/batch-preserve-term-settings.exp
4870 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
4871
97dd8e07
CB
48722019-08-15 Christian Biesinger <cbiesinger@google.com>
4873
4874 * lib/gdb.exp: When running on a mingw target, replace
4875 /x/ with x:/.
4876
75faf5c4
AH
48772019-08-14 Alan Hayward <alan.hayward@arm.com>
4878
4879 * gdb.arch/aarch64-prologue.c: New test.
4880 * gdb.arch/aarch64-prologue.exp: New file.
4881
abc6c00f
TV
48822019-08-13 Tom de Vries <tdevries@suse.de>
4883
4884 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
4885 Thread.
4886
74c2c1f4
SL
48872019-08-13 Sandra Loosemore <sandra@codesourcery.com>
4888
4889 * gdb.python/py-completion.exp: Download the .py file to the host
4890 and use its host pathname. Conditionalize tests that use
4891 tab completion and manipulate files on the build machine.
4892 * gdb.python/py-events.exp: Download the .py file to the host
4893 and use its host pathname.
4894 * gdb.python/py-evsignal.exp: Likewise.
4895 * gdb.python/py-evthreads.exp: Likewise.
4896 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
4897 pathname syntax.
4898 * gdb.python/py-framefilter.exp: Download the .py file to the right
4899 place on the host. Match Windows pathname syntax.
4900 * gdb.python/py-mi-var-info-path-expression.exp: Download the
4901 .py file to the host and use its host pathname.
4902 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
4903 * gdb.python/py-objfile.exp: Expect a host pathname, not a
4904 build pathname. Skip symlink test on Windows host. Add missing
4905 newline at end of file.
4906 * gdb.python/py-pp-maint.exp: Download the .py file to the host
4907 and use its host pathname.
4908 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
4909 * gdb.python/py-section-script.exp: Use host location of binfile
4910 on safe-path. Use correct path separator on Windows host.
4911 Reorder alternatives in gdb_test_multiple to prevent matching
4912 the wrong alternative on success.
4913 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
4914
ca2589f3
PP
49152019-08-12 Patrick Palka <patrick@parcs.ath.cx>
4916
4917 * gdb.gdb/selftest.exp (test_with_self): Update test to now
4918 expect the GDB inferior to no longer immediately stop after
4919 being resumed with "signal SIGINT".
4920
020a839d
SL
49212019-08-09 Sandra Loosemore <sandra@codesourcery.com>
4922
4923 * gdb.linespec/break-ask.exp: Generalize regexps to match
4924 Windows pathnames too.
4925
128d6509
TV
49262019-08-08 Tom de Vries <tdevries@suse.de>
4927
4928 PR testsuite/24862
4929 * lib/tuiterm.exp (_accept): Fix CSI regexp.
4930
590042fc
PW
49312019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4932
4933 * gdb.base/style.exp: Update tests for help doc new invariants.
4934 * gdb.base/help.exp: Likewise.
4935
046bebe1
TT
49362019-08-06 Tom Tromey <tom@tromey.com>
4937
4938 * gdb.base/style.exp: Add disassemble test.
4939 * gdb.base/style.c (some_called_function): New function.
4940 (main): Use it.
4941
0b27c27d
CB
49422019-08-05 Christian Biesinger <cbiesinger@google.com>
4943
4944 * gdb.python/py-block.exp: Test dictionary access on blocks.
4945
580f1034
SM
49462019-08-05 Simon Marchi <simon.marchi@efficios.com>
4947
4948 PR gdb/24863
4949 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
4950 -list-thread-groups --available test when running under
4951 check-read1.
4952
d86bd7cb
TV
49532019-08-05 Tom de Vries <tdevries@suse.de>
4954
4955 PR testsuite/24863
4956 * lib/gdb.exp (with_read1_timeout_factor): New proc.
4957 * gdb.base/help.exp: Use with_read1_timeout_factor.
4958 * gdb.base/info-macros.exp: Same.
4959 * gdb.cp/nested-types.exp: Same.
4960
a80cf5d8
TV
49612019-08-05 Tom de Vries <tdevries@suse.de>
4962
4963 * lib/gdb.exp (version_at_least): Factor out of ...
4964 (tcl_version_at_least): ... here.
4965 (gdb_compile): Fail if pie results in non-PIE executable.
4966 (readelf_version, readelf_prints_pie): New proc.
4967 (exec_is_pie): Return -1 if unknown.
4968
d0962838
TV
49692019-08-05 Tom de Vries <tdevries@suse.de>
4970
4971 * lib/gdb.exp (tcl_version_at_least): Fix typo.
4972
2252ff3d
SL
49732019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4974
4975 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
4976
26655f53
SL
49772019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4978
4979 * lib/completion-support.exp (test_gdb_complete_none): Skip
4980 tab completion tests if no readline support.
4981 (test_gdb_complete_unique_re): Likewise.
4982 (test_gdb_complete_multiple): Likewise.
4983
db4dc13e
PW
49842019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4985
4986 * gdb.base/info_sources.exp: New file.
4987 * gdb.base/info_sources.c: New file.
4988 * gdb.base/info_sources_base.c: New file.
4989
0eba165a
PFC
49902019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4991
4992 * gdb.base/batch-exit-status.exp: Call test_exit_status with
4993 prefix argument.
4994 (test_exit_status): Add prefix argument.
4995
59bd512b
TV
49962019-08-01 Tom de Vries <tdevries@suse.de>
4997
4998 PR testsuite/24863
4999 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
5000 calling exp_continue for new thread and thread exited messages.
5001
2a3ad588
TV
50022019-08-01 Tom de Vries <tdevries@suse.de>
5003
5004 PR testsuite/24863
5005 * gdb.base/structs.exp: Fix check-read1 timeout using
5006 gdb_test_sequence.
5007 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
5008
117eb594
TV
50092019-08-01 Tom de Vries <tdevries@suse.de>
5010
5011 PR testsuite/24863
5012 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
5013 line.
5014
ed591340
TV
50152019-08-01 Tom de Vries <tdevries@suse.de>
5016
5017 PR testsuite/24863
5018 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
5019
aa3b6533
TT
50202019-07-30 Tom Tromey <tromey@adacore.com>
5021
5022 * gdb.ada/display_nested.exp: New file.
5023 * gdb.ada/display_nested/foo.adb: New file.
5024 * gdb.ada/display_nested/pack.adb: New file.
5025 * gdb.ada/display_nested/pack.ads: New file.
5026
2906593f
CB
50272019-07-30 Christian Biesinger <cbiesinger@google.com>
5028
5029 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
5030 namespace.
5031 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
5032
0f575925
TV
50332019-07-30 Tom de Vries <tdevries@suse.de>
5034
5035 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
5036 instead.
5037
b13057d9
TV
50382019-07-30 Tom de Vries <tdevries@suse.de>
5039
5040 PR testsuite/24834
5041 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
5042 (exec_is_pie): New proc.
5043
5c4dde85
CB
50442019-07-29 Christian Biesinger <cbiesinger@google.com>
5045
5046 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
5047
c620ed88
CB
50482019-07-29 Christian Biesinger <cbiesinger@google.com>
5049
5050 * gdb.python/py-objfile.c: Add global and static vars.
5051 * gdb.python/py-objfile.exp: Test new functions Objfile.
5052 lookup_global_symbol and lookup_static_symbol.
5053
3d235706
TT
50542019-07-29 Tom Tromey <tom@tromey.com>
5055
5056 * lib/tuiterm.exp (Term::_csi_@): New proc.
5057 (Term::_csi_X): Don't move cursor.
5058
c7e4c0a6
PW
50592019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5060
5061 * gdb.base/options.exp: Update backtrace - completion to
5062 new option -frame-info.
5063 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
5064 Test new 'set print frame-info'. Test backtrace -frame-info
5065 overriding 'set print frame-info'.
5066 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
5067 Test new 'set print frame-info'.
5068 Verify consistency of backtrace with and without filters, with and
5069 without -no-filters.
5070 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
5071 default.
5072
de28a3b7
TV
50732019-07-29 Tom de Vries <tdevries@suse.de>
5074
5075 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
5076 no arguments".
5077
507dd60e
TV
50782019-07-29 Tom de Vries <tdevries@suse.de>
5079
5080 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
5081 is a substring of the first for "complete non-unique file name".
5082
5beafce9
TV
50832019-07-29 Tom de Vries <tdevries@suse.de>
5084
5085 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
5086 with ".*".
5087
2d274232
TV
50882019-07-29 Tom de Vries <tdevries@suse.de>
5089
5090 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
5091 Pass prompt_regexp parameter to gdb_test_multiple calls.
5092
9197cd8b
TV
50932019-07-29 Tom de Vries <tdevries@suse.de>
5094
5095 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 5096 print registers" regexps.
9197cd8b 5097
b528dae0
TV
50982019-07-29 Tom de Vries <tdevries@suse.de>
5099
5100 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
5101
d17725d7
TV
51022019-07-29 Tom de Vries <tdevries@suse.de>
5103
5104 PR gdb/24855
5105 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
5106 (skip_python_tests_prompt): Add prompt_regexp argument to
5107 gdb_test_multiple calls.
5108
52b75bf1
TT
51092019-07-27 Tom Tromey <tom@tromey.com>
5110
5111 * gdb.tui/main.exp: New file.
5112
2b1d00c2
TT
51132019-07-27 Tom Tromey <tom@tromey.com>
5114
5115 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
5116 optional.
5117 * gdb.tui/empty.exp: New file.
5118
ded631d5
TT
51192019-07-27 Tom Tromey <tom@tromey.com>
5120
5121 * lib/tuiterm.exp (spawn): New proc.
5122 (Term::resize): New proc.
5123 * gdb.tui/resize.exp: New file.
5124
58ac439d
TT
51252019-07-27 Tom Tromey <tom@tromey.com>
5126
5127 * gdb.tui/list.exp: New file.
5128
fe1f56ee
TT
51292019-07-27 Tom Tromey <tom@tromey.com>
5130
5131 * gdb.tui/regs.exp: New file.
5132
f790b310
TT
51332019-07-27 Tom Tromey <tom@tromey.com>
5134
5135 * gdb.tui/basic.exp: Add "layout split" test.
5136
d95fc6ee
TT
51372019-07-27 Tom Tromey <tom@tromey.com>
5138
5139 * gdb.tui/basic.exp: Add "layout asm" test.
5140
c3786b3a
TT
51412019-07-27 Tom Tromey <tom@tromey.com>
5142
5143 * lib/tuiterm.exp: New file.
5144 * gdb.tui/basic.exp: New file.
5145
98a617f8
KB
51462019-07-27 Kevin Buettner <kevinb@redhat.com>
5147
5148 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
5149 Enable tests associated with this flag. Adjust regex
5150 referencing "foo_low" to now refer to "foo_cold" instead.
5151
5c076da4
KB
51522019-07-27 Kevin Buettner <kevinb@redhat.com>
5153
5154 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
5155 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
5156 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
5157 foo_cold. Revise comments to match.
5158 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
5159 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
5160 were wrapped into this proc; Call do_test in loop from outermost
5161 level.
5162 (foo_low): Rename all occurrences to "foo_cold".
5163 (backtrace from baz): New test.
5164 (x2/i foo_cold): New test.
5165 (info line *foo_cold): New test.
5166
1512d3b7
TV
51672019-07-26 Tom de Vries <tdevries@suse.de>
5168
5169 * gdb.arch/i386-pkru.exp: Fix unterminated string.
5170
297989a1
TV
51712019-07-25 Tom de Vries <tdevries@suse.de>
5172
5173 PR testsuite/24830
5174 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
5175 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
5176 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
5177 (skip_libstdcxx_probe_tests): ... here.
5178 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
5179
b3b965fb
TV
51802019-07-24 Tom de Vries <tdevries@suse.de>
5181
5182 PR testsuite/24807
5183 * gdb.objc/basicclass.m: Include stdio.h.
5184 * gdb.objc/nondebug.m: Same.
5185 * gdb.objc/objcdecode.m: Same.
5186
4625b4d0
TV
51872019-07-24 Tom de Vries <tdevries@suse.de>
5188
5189 PR testsuite/24612
5190 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
5191 additional_flags.
5192
024a5840
TV
51932019-07-24 Tom de Vries <tdevries@suse.de>
5194
5195 PR testsuite/24831
5196 * gdb.multi/tids.exp: Update error messages for info threads.
5197
c76ddaa3
TV
51982019-07-24 Tom de Vries <tdevries@suse.de>
5199
5200 * gdb.base/info-types.exp: Allow info types to print info for more than
5201 one file.
5202
9a618ef6
TV
52032019-07-23 Tom de Vries <tdevries@suse.de>
5204
5205 PR testsuite/24842
5206 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
5207 gdb_spawn_with_cmdline_opts.
5208
40eadf04
SP
52092019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
5210
5211 * gdb.arch/arm-cmse-sgstubs.c: New test.
5212 * gdb.arch/arm-cmse-sgstubs.exp: New file.
5213
5ba29434
TV
52142019-07-23 Tom de Vries <tdevries@suse.de>
5215
5216 PR testsuite/24711
5217 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
5218 issuing next command.
5219
a8e9d247
AB
52202019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5221
5222 * gdb.ada/info_auto_lang.exp: Update expected results.
5223 * gdb.base/info-types.c: Add additional types to check.
5224 * gdb.base/info-types.exp: Update expected results.
5225
eb86c5e2
AB
52262019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5227
5228 * gdb.base/info-types.c: New file.
5229 * gdb.base/info-types.exp: New file.
5230
01e175fe
AB
52312019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
5232
5233 * gdb.arch/riscv-bp-infcall.c: New file.
5234 * gdb.arch/riscv-bp-infcall.exp: New file.
5235
6b78c3f8
AB
52362019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
5237
5238 PR breakpoints/24541
5239 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
5240
da738167
TV
52412019-07-14 Tom de Vries <tdevries@suse.de>
5242
5243 PR testsuite/24760
5244 * gdb.objc/basicclass.exp: Fix unterminated string.
5245
0d4e84ed
AB
52462019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
5247 Andrew Burgess <andrew.burgess@embecosm.com>
5248
5249 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
5250 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
5251 negative bounds.
5252 * gdb.fortran/vla-value.exp: Print elements of an array with
5253 negative bounds.
5254 * gdb.fortran/vla.f90: Setup an array with negative bounds for
5255 testing.
5256
021d8588
AB
52572019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
5258
5259 * gdb.base/options.exp (expect_string): Dequote strings in
5260 results.
5261 (test-string): Test strings with different quoting and reindent.
5262
f06f1252
TT
52632019-07-10 Tom Tromey <tromey@adacore.com>
5264
5265 * gdb.ada/mi_ex_cond.exp: Update expected results.
5266 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
5267 * gdb.ada/mi_catch_ex.exp: Update expected results.
5268 * gdb.ada/mi_catch_assert.exp: Update expected results.
5269 * gdb.ada/catch_ex.exp (catch_exception_info)
5270 (catch_exception_entry, catch_assert_entry)
5271 (catch_unhandled_entry): Update.
5272 * gdb.ada/catch_assert_if.exp: Update expected results.
5273
b863685d
RB
52742019-07-10 Richard Bunt <richard.bunt@arm.com>
5275 Stephen Roberts <stephen.roberts@arm.com>
5276
5277 * gdb.base/define.exp: Restore original prompt.
5278
cb1e4e32
PA
52792019-07-09 Pedro Alves <palves@redhat.com>
5280
5281 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
5282 breakpoints" output.
5283 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
5284 * gdb.python/py-breakpoint.exp: No longer expect that "catch
5285 throw" creates breakpoint.
5286 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
5287 'type="catchpoint"'.
5288
b58a68fe
PA
52892019-07-09 Pedro Alves <palves@redhat.com>
5290
5291 PR c++/15468
5292 * gdb.cp/except-multi-location-lib.cc: New.
5293 * gdb.cp/except-multi-location-main.cc: New.
5294 * gdb.cp/except-multi-location.exp: New.
5295
0826779b
PW
52962019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
5297
5298 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
5299 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
5300 argument and update callers.
5301
5b0e2db4
AB
53022019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5303
5304 * gdb.arch/amd64-break-on-asm-line.S: New file.
5305 * gdb.arch/amd64-break-on-asm-line.exp: New file.
5306
1f6f6e21
PW
53072019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5308
5309 * gdb.base/printcmds.exp: Test printing C string and
5310 C wide string convenience vars without transiting via the inferior.
5311 Also make test names unique.
5312
ea142fbf
AH
53132019-07-08 Alan Hayward <alan.hayward@arm.com>
5314
5862c886 5315 PR breakpoints/25011
ea142fbf
AH
5316 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
5317
213fd9fa
PA
53182019-07-04 Pedro Alves <palves@redhat.com>
5319
5320 * lib/gdb.exp (foreach_with_prefix): Don't return early if
5321 body returned ok(0), break(3) or continue(4).
5322 * gdb.testsuite/foreach_with_prefix.exp: New file.
5323
2b40fda7
AH
53242019-07-04 Alan Hayward <alan.hayward@arm.com>
5325
5326 * gdb.server/unittest.exp: Allow 0 unit tests to run.
5327
a26c8de0
PA
53282019-07-03 Pedro Alves <palves@redhat.com>
5329
5330 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
5331 "return -code".
5332
5f4ba3e7
PA
53332019-07-03 Pedro Alves <palves@redhat.com>
5334
5335 PR cli/24732
5336 * gdb.base/shell.exp: Load completion-support.exp.
5337 Adjust expected error output. Add completion tests.
5338
a994424f
PA
53392019-07-03 Pedro Alves <palves@redhat.com>
5340
5341 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
5342 string_to_regexp.
5343
3d9be6f5
PA
53442019-07-03 Pedro Alves <palves@redhat.com>
5345
5346 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
5347 (expect_integer): Adjust to expect "-string".
5348 (expect_string): New.
5349 (all_options): Expect "-string".
5350 (test-flag, test-boolean): Adjust to expect "-string".
5351 (test-string): New proc.
5352 (top level): Call it.
5353
41fc454c
PA
53542019-07-03 Pedro Alves <palves@redhat.com>
5355
5356 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
5357 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
5358 the expected output in the success.
5359
b2b2a215
PA
53602019-07-03 Pedro Alves <palves@redhat.com>
5361
5362 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5363 Split one gdb_test_multiple call in two to avoid a race.
5364
fdbc9870
PA
53652019-07-03 Pedro Alves <palves@redhat.com>
5366
5367 * gdb.base/with.c: New file.
5368 * gdb.base/with.exp: New file.
5369
c6ac8931
PA
53702019-07-03 Pedro Alves <palves@redhat.com>
5371
5372 * gdb.base/settings.exp: Replace all references to "maint
5373 test-settings set" with references to "maint set test-settings",
5374 and all references to "maint test-settings show" with references
5375 to "maint show test-settings".
5376
970f9d09
PA
53772019-07-03 Pedro Alves <palves@redhat.com>
5378
5379 * gdb.base/settings.exp (test-string): Adjust expected out when
5380 testing "maint test-settings show filename"
5381
54d66006
PA
53822019-07-02 Pedro Alves <palves@redhat.com>
5383
5384 * gdb.base/options.exp (test-info-threads): New procedure.
5385 (top level): Call it.
5386
10d06d82
TT
53872019-06-28 Tom Tromey <tromey@adacore.com>
5388
5389 * gdb.dwarf2/ada-linkage-name.c: New file.
5390 * gdb.dwarf2/ada-linkage-name.exp: New file.
5391
3d507ff2
TT
53922019-06-27 Tom Tromey <tromey@adacore.com>
5393
d039f014 5394 PR c++/20020:
3d507ff2
TT
5395 * gdb.cp/constexpr-field.exp: Use setup_xfail.
5396
8af58ffe
TV
53972019-06-26 Tom de Vries <tdevries@suse.de>
5398
5399 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
5400
22e21752
TV
54012019-06-26 Tom de Vries <tdevries@suse.de>
5402
5403 * gdb.base/index-cache.exp: Add back missing debug option.
5404
b65b566c
PW
54052019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5406
5407 * gdb.base/alias.exp: Test non matching/non existing prefixes.
5408
5c2c8c69
TV
54092019-06-25 Tom de Vries <tdevries@suse.de>
5410
5411 PR testsuite/24727
5412 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
5413
164e3873
TV
54142019-06-24 Tom de Vries <tdevries@suse.de>
5415
5416 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
5417
824eacee
TV
54182019-06-24 Tom de Vries <tdevries@suse.de>
5419
5420 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
5421 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
5422 * gdb.trace/unavailable-dwarf-piece.exp: Same.
5423
385b97d3
TV
54242019-06-24 Tom de Vries <tdevries@suse.de>
5425
5426 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
5427
c596f180
TV
54282019-06-21 Tom de Vries <tdevries@suse.de>
5429
5430 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
5431
b13a7d03
TV
54322019-06-21 Tom de Vries <tdevries@suse.de>
5433
5434 PR testsuite/24518
5435 PR ada/24713
5436 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
5437 index.
5438
899277ae
TT
54392019-06-19 Tom Tromey <tromey@adacore.com>
5440
5441 * gdb.ada/length_cond.exp: Add intro comment.
5442
680e1bee
TT
54432019-06-19 Tom Tromey <tromey@adacore.com>
5444
5445 * gdb.ada/length_cond.exp: New file.
5446 * gdb.ada/length_cond/length_cond.adb: New file.
5447 * gdb.ada/length_cond/pck.adb: New file.
5448 * gdb.ada/length_cond/pck.ads: New file.
5449
0ed4690a
TV
54502019-06-18 Tom de Vries <tdevries@suse.de>
5451
5452 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
5453
d20ed5fd
TT
54542019-06-18 Tom Tromey <tromey@adacore.com>
5455
5456 * gdb.base/list0.h: Add comment explaining control character.
5457
86e04673
TV
54582019-06-18 Tom de Vries <tdevries@suse.de>
5459
5460 * boards/fission.exp: Break up long debug_flags line.
5461
c4973306
SM
54622019-06-16 Tom de Vries <tdevries@suse.de>
5463
5464 PR gdb/24445
5465 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
5466 generated index.
5467
93cb9841
AB
54682019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5469
5470 PR gdb/24686
5471 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
5472 improve detection of bug gdb/24541.
5473
399aaebd
SM
54742019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
5475
5476 PR gdb/24669
5477 * gdb.base/index-cache.exp (uses_readnow,
5478 expecting_index_cache_use): Define global variable.
5479 (test_cache_enabled_miss, test_cache_enabled_hit): Use
5480 expecting_index_cache_use.
5481
584a927c
AB
54822019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
5483 Andrew Burgess <andrew.burgess@embecosm.com>
5484
5485 * gdb.fortran/pointers.f90: New file.
5486 * gdb.fortran/print_type.exp: New file.
5487 * gdb.fortran/vla-ptype.exp: Adapt expected results.
5488 * gdb.fortran/vla-type.exp: Likewise.
5489 * gdb.fortran/vla-value.exp: Likewise.
5490 * gdb.mi/mi-vla-fortran.exp: Likewise.
5491
30056ea0
AB
54922019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5493
5494 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
5495 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
5496 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
5497 as a stop reason.
5498
ec8e2b6d
AB
54992019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5500
5501 * gdb.base/annota1.exp: Update expected results.
5502 * gdb.cp/annota2.exp: Likewise.
5503 * gdb.cp/annota3.exp: Likewise.
5504
09e4c4e1
AB
55052019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5506
5507 * gdb.base/style-logging.exp: Remove path from test name.
5508
0735b091
TT
55092019-06-14 Tom Tromey <tromey@adacore.com>
5510
5511 PR gdb/24502:
5512 * gdb.base/style-logging.exp: New file.
5513
f5686554
TT
55142019-06-14 Tom Tromey <tromey@adacore.com>
5515
5516 * gdb.base/symfile-warn.exp: New file.
5517 * gdb.base/symfile-warn.c: New file.
5518
a0c1ffed
TT
55192019-06-14 Tom Tromey <tromey@adacore.com>
5520
5521 * gdb.base/annotate-symlink.exp: New file.
5522
f411722c
TT
55232019-06-14 Tom Tromey <tromey@adacore.com>
5524
5525 * gdb.ada/set_wstr.exp: Add reassignment test.
5526
4268ec18
TT
55272019-06-14 Tom Tromey <tromey@adacore.com>
5528
5529 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
5530 'unchecked_access and 'unrestricted_access as well.
5531
9a9e394b
TT
55322019-06-14 Tom Tromey <tromey@adacore.com>
5533
5534 PR ada/24539:
5535 * gdb.ada/vla.exp: Update tests.
5536 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
5537 pragma.
5538
4c048731
PA
55392019-06-13 Pedro Alves <palves@redhat.com>
5540
5541 * gdb.base/settings.exp (test-integer): Test junk after
5542 "unlimited".
5543
6665660a
PA
55442019-06-13 Pedro Alves <palves@redhat.com>
5545
5546 * gdb.base/options.exp (test-thread-apply): New.
5547 (top level): Call it.
5548
5d707134
PA
55492019-06-13 Pedro Alves <palves@redhat.com>
5550
5551 * gdb.base/options.exp (test-frame-apply): New.
5552 (top level): Test print commands with different "frame apply"
5553 prefixes.
5554
e2a689da
PA
55552019-06-13 Pedro Alves <palves@redhat.com>
5556
e79be6e5 5557 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
5558 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
5559 'max_completions' parameter and handle it.
5560 (test_gdb_completion_offers_commands): New.
5561
90a1ef87
PA
55622019-06-13 Pedro Alves <palves@redhat.com>
5563
5564 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
5565
d4c16835
PA
55662019-06-13 Pedro Alves <palves@redhat.com>
5567
5568 * gdb.base/options.exp (test-backtrace): New.
5569 (top level): Call it.
5570
2daf894e
PA
55712019-06-13 Pedro Alves <palves@redhat.com>
5572
5573 * gdb.guile/scm-frame-args.exp: Use "set print
5574 raw-frame-arguments" instead of "set print raw frame-arguments".
5575 * gdb.python/py-frame-args.exp: Likewise.
5576
e6ed716c
PA
55772019-06-13 Pedro Alves <palves@redhat.com>
5578
5579 * gdb.compile/compile.exp: Adjust expected output to option
5580 processing changes.
5581
7d8062de
PA
55822019-06-13 Pedro Alves <palves@redhat.com>
5583
5584 * gdb.base/options.exp: Build executable.
5585 (test-print): New procedure.
5586 (top level): Call it, once for "print" and another for "compile
5587 print".
5588
9d0faba9
PA
55892019-06-13 Pedro Alves <palves@redhat.com>
5590
5591 * gdb.base/options.c: New file.
5592 * gdb.base/options.exp: New file.
5593
dee7b4c8
PA
55942019-06-13 Pedro Alves <palves@redhat.com>
5595
5596 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
5597 that "o" is ambiguous.
5598
dca0f6c0
PA
55992019-06-13 Pedro Alves <palves@redhat.com>
5600
5601 * gdb.base/settings.c: New file.
5602 * gdb.base/settings.exp: New file.
5603
ccf46844
PA
56042019-06-13 Pedro Alves <palves@redhat.com>
5605
5606 * gdb.base/completion.exp: Fix comment typo.
5607
b9a3f842
PA
56082019-06-13 Pedro Alves <palves@redhat.com>
5609
5610 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
5611 foo --1" test.
5612
d106773e
PA
56132019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
5614
5615 * gdb.fortran/block-data.f: New.
5616 * gdb.fortran/block-data.exp: New.
5617
fea82da0
TV
56182019-06-11 Tom de Vries <tdevries@suse.de>
5619
5620 PR testsuite/24521
5621 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
5622 message.
5623
8c2e74f1
TV
56242019-06-11 Tom de Vries <tdevries@suse.de>
5625
5626 PR testsuite/24521
5627 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
5628
b49851c8
TV
56292019-06-11 Tom de Vries <tdevries@suse.de>
5630
5631 * boards/readnow.exp: New file.
5632
a7067863
AB
56332019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
5634
5635 * gdb.fortran/vla-sizeof.exp: Update expected results.
5636
1a3da2cd
AB
56372019-06-06 Amos Bird <amosbird@gmail.com>
5638
5639 * gdb.base/annota1.exp (thread_switch): Add test for
5640 thread-exited annotation.
5641
3847a7bf
TT
56422019-06-06 Tom Tromey <tromey@adacore.com>
5643
5644 * gdb.base/maint.exp: Expect command started/finished output.
5645
0088ba59
AB
56462019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5647
5648 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
5649 comment.
5650 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
5651
312617a3
AB
56522019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5653
5654 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
5655 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
5656 * gdb.arch/riscv-unwind-long-insn.c: New file.
5657 * gdb.arch/riscv-unwind-long-insn.exp: New file.
5658
e1f2e1a2
CB
56592019-06-04 Christian Biesinger <cbiesinger@google.com>
5660
d3238f7d 5661 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 5662
206584bd
PW
56632019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5664
5665 * lib/gdb.exp (help_list_trailer): New regexp variable
5666 factorizing the help trailer message.
5667 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
5668 arg to allow to better factorize various tests.
5669 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
5670 (test_prefix_command_help): Use help_list_trailer.
5671 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
5672 * gdb.guile/scm-cmd.exp: Likewise.
5673 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
5674 * gdb.base/help.exp: Use test_user_defined_class_help.
5675 * gdb.base/style.exp: Add tests for styling of help and apropos.
5676 * lib/gdb-utils.exp (style): Add title and highlight styles.
5677
708dc93e
PW
56782019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5679
5680 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
5681 $_shell_exitsignal.
5682 * gdb.base/default.exp: Update for new convenience variables.
5683
f49055a5
TT
56842019-05-29 Tom Tromey <tromey@adacore.com>
5685
5686 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
5687 to "break complete ada" test case's regexp.
5688
4330d61d
TT
56892019-05-29 Tom Tromey <tromey@adacore.com>
5690
5691 PR c++/20020:
5692 * gdb.cp/constexpr-field.exp: New file.
5693 * gdb.cp/constexpr-field.cc: New file.
5694
000439d5
TT
56952019-05-29 Tom Tromey <tromey@adacore.com>
5696
5697 * gdb.base/finish.exp (finish_no_print): New proc.
5698 (finish_tests): Call it.
5699
5a01c34c
TV
57002019-05-24 Tom de Vries <tdevries@suse.de>
5701
5702 * gdb.dwarf2/gdb-add-index.exp: New file.
5703
18125b16
TT
57042019-05-22 Tom Tromey <tromey@adacore.com>
5705
5706 * gdb.base/info-shared.exp (check_info_shared): Use "style".
5707 * gdb.base/style.exp: Use "style".
5708 * lib/gdb-utils.exp (style): New proc.
5709
af1a8d03
TV
57102019-05-22 Tom de Vries <tdevries@suse.de>
5711
5712 * gdb.base/align.exp: Require c++11.
5713
e7fe496b
TV
57142019-05-22 Tom de Vries <tdevries@suse.de>
5715
5716 PR testsuite/24586
5717 * gdb.python/py-mi-var-info-path-expression.exp: Call
5718 mi_skip_python_tests to check if python is supported.
5719
8fca4da0
AH
57202019-05-22 Alan Hayward <alan.hayward@arm.com>
5721
5722 * gdb.arch/aarch64-pauth.c: New test.
5723 * gdb.arch/aarch64-pauth.exp: New file.
5724
b7060614
AH
57252019-05-22 Alan Hayward <alan.hayward@arm.com>
5726
5727 * README (Re-running Tests Outside The Testsuite): New section.
5728
669d0468
TV
57292019-05-21 Tom de Vries <tdevries@suse.de>
5730
5731 * gdb.arch/amd64-eval.exp: Require c++11.
5732 * gdb.base/max-depth.exp: Same.
5733 * gdb.compile/compile-cplus-array-decay.exp: Same.
5734 * gdb.cp/meth-typedefs.exp: Same.
5735 * gdb.cp/subtypes.exp: Same.
5736 * gdb.cp/temargs.exp: Same.
5737
ce3ebcaa
AH
57382019-05-21 Alan Hayward <alan.hayward@arm.com>
5739
5740 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
5741
34d11c68
AB
57422019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
5743
5744 PR gdb/18644
5745 * gdb.fortran/complex.exp: Remove setup_kfail calls.
5746 * gdb.fortran/printing-types.exp: Add new test.
5747 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
5748 testing.
5749 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
5750 setup_kfail call.
5751
87781e84
AH
57522019-05-17 Alan Hayward <alan.hayward@arm.com>
5753
5754 * README (Running the Testsuite): Change example.
5755 (Testsuite Parameters): Remove TRANSCRIPT.
5756 * lib/gdb.exp: Remove TRANSCRIPT check.
5757
b420b89e
AH
57582019-05-17 Alan Hayward <alan.hayward@arm.com>
5759
5760 * README (Testsuite Parameters): Add replay logging to
5761 GDBSERVER_DEBUG.
5762 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
5763 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
5764 as a comma separated list.
5765 (gdb_debug_init): Override procedure.
5766
408e9b8b
AH
57672019-05-17 Alan Hayward <alan.hayward@arm.com>
5768
5769 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
5770 (gdb_write_cmd_file): New procedure.
5771 * lib/gdbserver-support.exp (gdbserver_start): Call
5772 gdbserver_write_cmd_file.
5773 (gdbserver_write_cmd_file): New procedure.
5774
f9e2e39d
AH
57752019-05-17 Alan Hayward <alan.hayward@arm.com>
5776
5777 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
5778 (delete_breakpoints): Likewise.
5779 (gdb_run_cmd): Likewise.
5780 (gdb_start_cmd): Likewise.
5781 (gdb_starti_cmd): Likewise.
5782 (gdb_internal_error_resync): Likewise.
5783 (gdb_test_multiple): Likewise.
5784 (gdb_reinitialize_dir): Likewise.
5785 (default_gdb_exit): Likewise.
5786 (gdb_file_cmd): Mark kill as optional.
5787 (default_gdb_start): Call gdb_stdin_log_init.
5788 (send_gdb): Call gdb_stdin_log_write.
5789 (rerun_to_main): Mark Y as an answer.
5790 (gdb_stdin_log_init): New function.
5791 (gdb_stdin_log_write): Likewise.
5792
81f47ac2
AH
57932019-05-17 Alan Hayward <alan.hayward@arm.com>
5794
5795 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
5796 * gdb.base/debug-expr.exp: Likewise.
5797 * gdb.base/foll-fork.exp: Likewise.
5798 * gdb.base/foll-vfork.exp: Likewise.
5799 * gdb.base/fork-print-inferior-events.exp: Likewise.
5800 * gdb.base/gdb-sigterm.exp: Likewise.
5801 * gdb.base/gdbinit-history.exp: Likewise.
5802 * gdb.base/osabi.exp: Likewise.
5803 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5804 * gdb.base/ui-redirect.exp: Likewise.
5805 * gdb.gdb/unittest.exp: Likewise.
5806 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
5807 * gdb.mi/mi-watch.exp: Likewise.
5808 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5809 * gdb.mi/user-selected-context-sync.exp: Likewise.
5810 * gdb.python/python.exp: Disable debug test when debugging.
5811 * gdb.threads/check-libthread-db.exp: Disable when debugging.
5812 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5813 Likewise.
5814 * gdb.threads/stepi-random-signal.exp: Likewise.
5815
29b52314
AH
58162019-05-17 Alan Hayward <alan.hayward@arm.com>
5817
5818 * Makefile.in: Pass through GDB_DEBUG.
5819 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5820 (gdb,debug): Add board setting.
5821 * lib/gdb.exp (default_gdb_start): Start debugging.
5822 (gdb_debug_enabled): New procedure.
5823 (gdb_debug_init): Likewise.
29b52314
AH
5824
58252019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 5826
29b52314
AH
5827 * Makefile.in: Pass through GDB_DEBUG.
5828 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5829 (gdb,debug): Add board setting.
5830 * lib/gdb.exp (default_gdb_start): Start debugging.
5831 (gdb_debug_enabled): New procedure.
5832 (gdb_debug_init): Likewise.
29b52314 5833
ca1285d1
AH
58342019-05-17 Alan Hayward <alan.hayward@arm.com>
5835
5836 * gdb.base/ui-redirect.exp: Add debug redirect tests.
5837
f3a09c80
AH
58382019-05-17 Alan Hayward <alan.hayward@arm.com>
5839
5840 * gdb.base/ui-redirect.exp: Test redirection.
5841
26648588
JV
58422019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
5843
5844 * gdb.mi/mi-complete.exp: New file.
5845 * gdb.mi/mi-complete.cc: Likewise.
5846
14237686
AB
58472019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
5848
5849 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
5850 indexed and sliced arrays, and pointers to arrays.
5851
e7bd7fba
TT
58522019-05-14 Tom Tromey <tromey@adacore.com>
5853
5854 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
5855 styling test.
5856
2764128d
TV
58572019-05-14 Tom de Vries <tdevries@suse.de>
5858
5859 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
5860 selection entry encoding.
5861
71bed2db
TT
58622019-05-10 Tom Tromey <tromey@adacore.com>
5863
5864 * gdb.ada/info_exc.exp: Add "complete" test.
5865
63b667ad
TV
58662019-05-09 Tom de Vries <tdevries@suse.de>
5867
5868 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
5869 CU-relative.
5870
9cfd2b89
TV
58712019-05-09 Tom de Vries <tdevries@suse.de>
5872
5873 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
5874 CU-relative.
5875
2228ef77
XR
58762019-05-08 Joel Brobecker <brobecker@adacore.com>
5877
5878 * gdb.ada/frame_arg_lang.exp: New testcase.
5879 * gdb.ada/frame_arg_lang/bla.adb: New file.
5880 * gdb.ada/frame_arg_lang/pck.ads: New file.
5881 * gdb.ada/frame_arg_lang/pck.adb: New file.
5882 * gdb.ada/frame_arg_lang/foo.c: New file.
5883
80e55b13
TT
58842019-05-08 Tom Tromey <tromey@adacore.com>
5885
5886 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
5887
9d3421af
TT
58882019-05-08 Tom Tromey <tromey@adacore.com>
5889
5890 * gdb.base/ptype-offsets.exp: Update tests.
5891
844333e2
TT
58922019-05-08 Tom Tromey <tromey@adacore.com>
5893
5894 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
5895 cases.
5896 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
5897 "short".
5898
988915ee
TT
58992019-05-08 Tom Tromey <tromey@adacore.com>
5900
5901 * gdb.ada/vla.exp: New file.
5902 * gdb.ada/vla/vla.adb: New file.
5903
7bd55dac
TV
59042019-05-07 Tom de Vries <tdevries@suse.de>
5905
5906 * gdb.base/index-cache.exp (ls_host): Fix return statement.
5907
75f06e9d
TV
59082019-05-07 Tom de Vries <tdevries@suse.de>
5909
5910 PR testsuite/24522
5911 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
5912 section.
5913
77e7aaa4
TV
59142019-05-07 Tom de Vries <tdevries@suse.de>
5915
5916 PR testsuite/24522
5917 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
5918 .debug_aranges section.
5919
456ba0fa
TV
59202019-05-07 Tom de Vries <tdevries@suse.de>
5921
5922 PR testsuite/24159
5923 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
5924
5a56d6a6
TV
59252019-05-06 Tom de Vries <tdevries@suse.de>
5926
5927 * lib/gdb.exp (exec_has_index_section): New proc.
5928 * gdb.base/index-cache.exp: Handle case that binfile contains an index
5929 section.
5930
9d6d4be8
TV
59312019-05-04 Tom de Vries <tdevries@suse.de>
5932
5933 * boards/cc-with-debug-names.exp: New file.
5934
222a8d25
TT
59352019-05-03 Tom Tromey <tromey@adacore.com>
5936
5937 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
5938 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
5939 * gdb.ada/char_enum.exp: Add test.
5940
0fdfd794
TV
59412019-05-03 Tom de Vries <tdevries@suse.de>
5942
5943 * boards/cc-with-gdb-index.exp: New file.
5944
80062eb9
AB
59452019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
5946
5947 * gdb.rust/simple.exp: Add new test case.
5948 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
5949 (main): Initialise an instance of the new struct.
5950
4504bbde
TT
59512019-05-01 Tom Tromey <tromey@adacore.com>
5952
5953 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
5954 record.
5955 (NPR): New variable.
5956 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
5957 test.
5958
d48e62f4
TT
59592019-05-01 Tom Tromey <tromey@adacore.com>
5960
5961 * gdb.ada/packed_array_assign.exp: Add packed assignment
5962 regression test.
5963
f59f30f5
TV
59642019-05-01 Tom de Vries <tdevries@suse.de>
5965
5966 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
5967
b70bfc54
TV
59682019-05-01 Tom de Vries <tdevries@suse.de>
5969
5970 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
5971
15f18d14
AT
59722019-04-30 Ali Tamur <tamur@google.com>
5973
5974 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
5975
2ff0a947
TT
59762019-04-30 Tom Tromey <tromey@adacore.com>
5977
5978 * lib/ada.exp (find_ada_tool): New proc.
5979 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
5980 * gdb.ada/catch_ex_std.exp: New file.
5981 * gdb.ada/catch_ex_std/foo.adb: New file.
5982 * gdb.ada/catch_ex_std/some_package.adb: New file.
5983 * gdb.ada/catch_ex_std/some_package.ads: New file.
5984
a776957c
TT
59852019-04-30 Tom Tromey <tromey@adacore.com>
5986
5987 PR c++/24470:
5988 * gdb.cp/temargs.cc: Add test code from PR.
5989
bc68014d
AB
59902019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5991
5992 * gdb.fortran/vla-datatypes.exp: Update expected results.
5993 * gdb.fortran/vla-ptype.exp: Likewise.
5994 * gdb.fortran/vla-type.exp: Likewise.
5995 * gdb.fortran/vla-value.exp: Likewise.
5996
f1fdc960
AB
59972019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5998
5999 * gdb.fortran/ptr-indentation.exp: Update expected results.
6000 * gdb.fortran/ptype-on-functions.exp: Likewise.
6001 * gdb.fortran/vla-ptr-info.exp: Likewise.
6002 * gdb.fortran/vla-value.exp: Likewise.
6003
bf7a4de1
AB
60042019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6005
6006 * gdb.fortran/ptype-on-functions.exp: New file.
6007 * gdb.fortran/ptype-on-functions.f90: New file.
6008
bbe75b9d
AB
60092019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6010
6011 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
6012 case void string.
6013
1db455a7
AB
60142019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6015
6016 * gdb.fortran/complex.exp: Expand.
6017 * gdb.fortran/complex.f: Renamed to...
6018 * gdb.fortran/complex.f90: ...this, and extended to add more
6019 complex values.
6020
b6d03bb2
AB
60212019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6022
6023 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
6024 MODULO, CMPLX.
6025
2e62ab40
AB
60262019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
6027 Richard Bunt <richard.bunt@arm.com>
6028
6029 * gdb.base/max-depth.c: New file.
6030 * gdb.base/max-depth.exp: New file.
6031 * gdb.python/py-nested-maps.c: New file.
6032 * gdb.python/py-nested-maps.exp: New file.
6033 * gdb.python/py-nested-maps.py: New file.
6034 * gdb.python/py-format-string.exp (test_max_depth): New proc.
6035 (test_all_common): Call test_max_depth.
6036 * gdb.fortran/max-depth.exp: New file.
6037 * gdb.fortran/max-depth.f90: New file.
6038 * gdb.go/max-depth.exp: New file.
6039 * gdb.go/max-depth.go: New file.
6040 * gdb.modula2/max-depth.exp: New file.
6041 * gdb.modula2/max-depth.c: New file.
6042 * lib/gdb.exp (get_print_expr_at_depths): New proc.
6043
d2b584a5
TV
60442019-04-29 Tom de Vries <tdevries@suse.de>
6045
6046 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
6047
136afab8
PW
60482019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6049
6050 * gdb.base/callexit.exp: Test may-call-functions off.
6051
725cbb63
KS
60522019-04-25 Keith Seitz <keiths@redhat.com>
6053
6054 PR c++/24367
6055 * gdb.cp/meth-typedefs.cc (incomplete_struct)
6056 (another_incomplete_struct, test_incomplete): New definitions.
6057 (main): Use new definitions.
6058 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
6059 functions.
6060
701adfb0
PA
60612019-04-25 Ali Tamur <tamur@google.com>
6062
6063 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
6064
82433e3e
SDJ
60652019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
6066
6067 PR corefiles/11608
6068 PR corefiles/18187
6069 * gdb.base/coredump-filter-build-id.exp: New file.
6070
dd06d4d6
AH
60712019-04-25 Alan Hayward <alan.hayward@arm.com>
6072
e79be6e5
SM
6073 * Makefile.in: Pass through GDBSERVER_DEBUG.
6074 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
6075 (gdbserver,debug): Add board setting.
6076 * gdb.trace/tspeed.exp: Skip when debugging.
6077 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
6078 * lib/gdbserver-support.exp: Likewise
dd06d4d6 6079
1670072e
TT
60802019-04-24 Tom Tromey <tromey@adacore.com>
6081
6082 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
6083 Rust.
6084
a59240a4
TT
60852019-04-24 Tom Tromey <tromey@adacore.com>
6086
6087 * gdb.arch/amd64-eval.exp: Test bitfield return.
6088 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
6089 (class Foo) <return_bitfields>: New method.
6090 (main): Call it.
6091
b907456c
AB
60922019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
6093
6094 * gdb.cp/many-args.cc: New file.
6095 * gdb.cp/many-args.exp: New file.
6096
5c565afd
TV
60972019-04-23 Tom de Vries <tdevries@suse.de>
6098
6099 PR gdb/24433
6100 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
6101
ba22ff86
AH
61022019-04-23 Alan Hayward <alan.hayward@arm.com>
6103
6104 * gdb.trace/backtrace.exp: Use nopie flag.
6105 * gdb.trace/circ.exp: Likewise.
6106 * gdb.trace/collection.exp: Likewise.
6107 * gdb.trace/ftrace.exp: Likewise.
6108 * gdb.trace/mi-trace-unavailable.exp: Likewise.
6109 * gdb.trace/mi-traceframe-changed.exp: Likewise.
6110 * gdb.trace/qtro.exp: Likewise.
6111 * gdb.trace/read-memory.exp: Likewise.
6112 * gdb.trace/report.exp: Likewise.
6113 * gdb.trace/tfile.exp: Likewise.
6114 * gdb.trace/tfind.exp: Likewise.
6115 * gdb.trace/unavailable.exp: Likewise.
6116
7905fc35
PA
61172019-04-22 Pedro Alves <palves@redhat.com>
6118
6119 * gdb.base/solib-probes-nosharedlibrary.c,
6120 gdb.base/solib-probes-nosharedlibrary.exp: New files.
6121
8ecb59f8
TT
61222019-04-19 Tom Tromey <tromey@adacore.com>
6123
6124 * gdb.ada/ptype_union.c: New file.
6125 * gdb.ada/ptype_union.exp: New file.
6126
62160ec9
TT
61272019-04-19 Tom Tromey <tromey@adacore.com>
6128
6129 PR symtab/24423:
6130 * gdb.base/list0.h (foo): Add a control-l character.
6131
36cd4ba5
TV
61322019-04-18 Tom de Vries <tdevries@suse.de>
6133
6134 PR gdb/24433
6135 * boards/local-board.exp: Set sysroot to "".
6136
b73715df
TV
61372019-04-18 Tom de Vries <tdevries@suse.de>
6138 Pedro Alves <palves@redhat.com>
6139
6140 PR gdb/24454
6141 * gdb.threads/vfork-follow-child-exec.c: New file.
6142 * gdb.threads/vfork-follow-child-exec.exp: New file.
6143 * gdb.threads/vfork-follow-child-exit.c: New file.
6144 * gdb.threads/vfork-follow-child-exit.exp: New file.
6145
4aa866af
LS
61462019-04-15 Leszek Swirski <leszeks@google.com>
6147
6148 * gdb.arch/amd64-eval.cc: New file.
6149 * gdb.arch/amd64-eval.exp: New file.
6150
e5a1a79a
AH
61512019-04-11 Alan Hayward <alan.hayward@arm.com>
6152
6153 * gdb.server/sysroot.c: New test.
6154 * gdb.server/sysroot.exp: New file.
6155 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
6156 matching param.
6157
41077b66
AB
61582019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
6159
6160 * gdb.base/align.exp: Extend test to cover structures containing
6161 only static fields.
6162
c30391f8
TV
61632019-04-11 Tom de Vries <tdevries@suse.de>
6164
6165 * boards/cc-with-dwz-m.exp: New file.
6166 * boards/cc-with-dwz.exp: New file.
6167 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
6168
e242fd12
SM
61692019-04-09 Simon Marchi <simon.marchi@efficios.com>
6170
6171 * gdb.base/start-cpp.exp: New file.
6172 * gdb.base/start-cpp.cc: New file.
6173
2b0c8b01
KB
61742019-04-08 Kevin Buettner <kevinb@redhat.com>
6175
6176 * gdb.python/py-thrhandle.exp: Adjust tests to call
6177 thread_from_handle instead of thread_from_thread_handle.
6178
947210e5
KB
61792019-04-08 Kevin Buettner <kevinb@redhat.com>
6180
6181 * gdb.python/py-thrhandle.exp: Add tests for
6182 gdb.InferiorThread.handle.
6183
d7df6549
AB
61842019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6185
6186 * gdb.python/py-function.exp: Check calling helper function from
6187 all languages.
6188 * lib/gdb.exp (gdb_supported_languages): New proc.
6189
8bdc1658
AB
61902019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6191
6192 * gdb.base/complex-parts.c: New file.
6193 * gdb.base/complex-parts.exp: New file.
6194
05caa1d2
TT
61952019-04-01 Tom Tromey <tromey@adacore.com>
6196
6197 PR symtab/23331:
6198 * gdb.dwarf2/dw2-ranges-main.c: New file.
6199 * gdb.dwarf2/dw2-ranges-psym.c: New file.
6200 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
6201
7734102d
EZ
62022019-03-30 Simon Marchi <simark@simark.ca>
6203
6204 * gdb.base/default.exp: Add values for $_gdb_major and
6205 $_gdb_minor.
6206
188e1fa9
TT
62072019-03-29 Tom Tromey <tromey@adacore.com>
6208
6209 * gdb.base/help.exp: Tighten apropos regexp.
6210
2880242d
KS
62112019-03-29 Keith Seitz <keiths@redhat.com>
6212
6213 * gdb.fortran/array-bounds.exp: New file.
6214 * gdb.fortran/array-bounds.f90: New file.
6215
077cad8e
PW
62162019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6217
6218 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
6219
80047cfc
PW
62202019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6221
6222 * gdb.multi/hello.c (main): Increase alarm timer.
6223
f489207e
SL
62242019-03-28 Sandra Loosemore <sandra@codesourcery.com>
6225
6226 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
6227 factor when no hardware watchpoint support.
6228
c92df149
AH
62292019-03-28 Alan Hayward <alan.hayward@arm.com>
6230 Pedro Alves <palves@redhat.com>
6231
6232 * boards/local-board.exp: set sysroot to /.
6233
933aebfa
AH
62342019-03-27 Alan Hayward <alan.hayward@arm.com>
6235
6236 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
6237 in child.
6238
9f9aa852
AB
62392019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6240
6241 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
6242 field.
6243 (make_container): Initialise new field.
6244 * gdb.python/py-prettyprint.exp: Add new tests.
6245 * gdb.python/py-prettyprint.py (class ContainerPrinter)
6246 <display_hint>: New method.
6247
3714a195
AB
62482019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6249
6250 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
6251 gdb_continue_to_breakpoint more throughout this test.
6252 (run_lang_tests) Supply unique test names, and use
6253 gdb_test_no_output.
6254
18c77628
AB
62552019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6256
6257 * gdb.base/finish-pretty.exp: Update expected results.
6258 * gdb.base/pretty-print.c: New file.
6259 * gdb.base/pretty-print.exp: New file.
6260
9a93502f
PA
62612019-03-25 Pedro Alves <palves@redhat.com>
6262
6263 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
6264 move comments outside list. Append '-i "" eof' section.
6265
968aa7ae
AH
62662019-03-22 Alan Hayward <alan.hayward@arm.com>
6267
34a7f2a4 6268 PR testsuite/25016
968aa7ae
AH
6269 * README: Add pie options.
6270 * gdb.base/break-interp.exp: Ensure pie is disabled.
6271 * gdb.base/dump.exp: Likewise.
6272 * lib/gdb.exp (gdb_compile): Add pie option.
6273
4c7d57e7
TT
62742019-03-19 Tom Tromey <tromey@adacore.com>
6275
6276 * gdb.mi/mi2-cli-display.c: New file.
6277 * gdb.mi/mi2-cli-display.exp: New file.
6278
bff8c71f
TT
62792019-03-18 Joel Brobecker <brobecker@adacore.com>
6280 Tom Tromey <tromey@adacore.com>
6281
6282 * gdb.ada/ptype_array/pck.adb: New file.
6283 * gdb.ada/ptype_array/pck.ads: New file.
6284 * gdb.ada/ptype_array/foo.adb: New file.
6285 * gdb.ada/ptype_array.exp: New file.
6286
d085f989
TT
62872019-03-14 Tom Tromey <tromey@adacore.com>
6288
6289 * gdb.base/style.exp: Add "set style sources" test.
6290
b4be1b06
SM
62912019-03-13 Simon Marchi <simon.marchi@ericsson.com>
6292
6293 * mi-breakpoint-location-ena-dis.exp: Rename to ...
6294 * mi-breakpoint-multiple-locations.exp: ... this.
6295 (make_breakpoints_pattern): New proc.
6296 (do_test): Add mi_version parameter, test -break-insert,
6297 -break-info and =breakpoint-created.
6298
7cde5fc2
AB
62992019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
6300
6301 * config/default.exp: Remove 'load_lib gdb.exp'.
6302 * config/monitor.exp: Likewise.
6303 * config/sid.exp: Likewise.
6304 * config/sim.exp: Likewise.
6305 * config/slite.exp: Likewise.
6306 * config/unix.exp: Likewise.
6307 * gdb.base/default.exp: Remove unhelpful comment.
6308
efbecbc1
AB
63092019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6310
6311 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
6312
0841c79a
AB
63132019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6314
6315 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
6316
4a270568
AB
63172019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6318
6319 * gdb.fortran/type-kinds.exp: Update expected results.
6320
067630bd
AB
63212019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6322
6323 * gdb.fortran/type-kinds.exp: Test new integer type kind.
6324
3be47f7a
AB
63252019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6326
6327 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
6328 function.
6329 (test_basic_parsing_of_type_kinds): Expand types tested.
6330 (test_parsing_invalid_type_kinds): New function.
6331
4d00f5d8
AB
63322019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6333
6334 * gdb.fortran/intrinsics.exp: New file.
6335 * gdb.fortran/intrinsics.f90: New file.
6336 * gdb.fortran/type-kinds.exp: New file.
6337
c8f91604
AB
63382019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6339
6340 * gdb.fortran/dot-ops.exp: New file.
6341
dd9f2c76
AB
63422019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6343
6344 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
6345 Check upper and lower case logical literals.
6346
84ec9724
AB
63472019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6348
6349 * gdb.fortran/types.exp (test_float_literal_types_accepted):
6350 Remove duplicate tests.
6351
c3734e09
AH
63522019-03-06 Alan Hayward <alan.hayward@arm.com>
6353
6354 * lib/gdb.exp (builtin_cd): rename of cd.
6355 (cd): Override builtin.
6356
aa3cfbda
RB
63572019-03-06 Richard Bunt <richard.bunt@arm.com>
6358
6359 * gdb.fortran/function-calls.exp: New file.
6360 * gdb.fortran/function-calls.f90: New test.
6361
7b63ad86
RB
63622019-03-04 Richard Bunt <richard.bunt@arm.com>
6363
6364 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
6365 on user program standard output.
6366 * gdb.fortran/short-circuit-argument-list.f90: Record function
6367 calls.
6368
01abb042
AH
63692019-02-28 Alan Hayward <alan.hayward@arm.com>
6370
c3734e09
AH
6371 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
6372 failure.
01abb042 6373
92137da0
RO
63742019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6375
6376 PR gdb/8527
6377 * gdb.base/interrupt-daemon-attach.c,
6378 gdb.base/interrupt-daemon-attach.exp: New test.
6379
5862844d
PA
63802019-02-27 Pedro Alves <palves@redhat.com>
6381
6382 * gdb.base/page.exp: Add tests for "set width/height -1".
6383
8ed25214
PA
63842019-02-27 Pedro Alves <palves@redhat.com>
6385
6386 * gdb.base/page.exp: Add tests for "set/show width/height" with
6387 "infinite" values.
6388
6c28e44a
TT
63892019-02-27 Tom Tromey <tromey@adacore.com>
6390
6391 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
6392 2.4.
6393 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
6394 workaround.
6395
bf9a735e
AB
63962019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
6397
6398 * gdb.base/align.exp: Extend to compile in both C and C++, and add
6399 tests for structs with static members.
6400
8791793c
TT
64012019-02-26 Tom Tromey <tromey@adacore.com>
6402
6403 * gdb.python/py-value.exp (test_value_from_buffer): Check for
6404 ValueError, not TypeError.
6405
bc2a507e
KB
64062019-02-26 Kevin Buettner <kevinb@redhat.com>
6407
6408 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
6409 call from main program.
6410
e0e7d3bd
JB
64112019-02-23 Joel Brobecker <brobecker@adacore.com>
6412
6413 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
6414 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
6415 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
6416 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
6417 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
6418
9600246d
KS
64192019-02-22 Keith Seitz <keiths@redhat.com>
6420
6421 PR symtab/23853
6422 * gdb.base/symlink-sourcefile.c: New file.
6423 * gdb.base/symlink-sourcefile.exp: New file.
6424
0c95f9ed
TT
64252019-02-20 Tom Tromey <tom@tromey.com>
6426
6427 * gdb.base/info_qt.exp: Update.
6428
6caa91b6
SM
64292019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
6430
6431 * gdb.base/source.exp: Move "error in sourced script" code to
6432 the end.
6433 * gdb.base/source-error.gdb: Move contents to
6434 source-error-1.gdb. Add new code to source source-error-1.gdb.
6435 * gdb.base/source-error-1.gdb: New file, from previous
6436 source-error.gdb.
6437
6506371f
TT
64382019-02-17 Tom Tromey <tom@tromey.com>
6439
6440 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
6441 for macro styling.
6442 * gdb.base/style.c (SOME_MACRO): New macro.
6443
a0087920
TT
64442019-02-17 Tom Tromey <tom@tromey.com>
6445
6446 * gdb.base/style.exp: Add line-wrapping tests.
6447 * gdb.base/page.exp: Add test for quitting during pagination.
6448
a2cd4f14
JB
64492019-02-17 Joel Brobecker <brobecker@adacore.com>
6450
6451 * gdb.ada/big_packed_array: New testcase.
6452 * gdb.ada/homonym.exp: Fix incorrect expected output for
6453 "break <homonym__get_value>" test.
6454
9d70ffbc
WP
64552019-02-13 Weimin Pan <weimin.pan@oracle.com>
6456
6457 PR breakpoints/21870
6458 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
6459 and prepare_for_testing. Add comment.
6460 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
6461 redundant cleanup call. Clean up comment.
6462
01c7ae81
WP
64632019-02-12 Weimin Pan <weimin.pan@oracle.com>
6464
6465 PR breakpoints/21870
6466 * gdb.arch/aarch64-dbreg-contents.exp: New file.
6467 * gdb.arch/aarch64-dbreg-contents.c: New file.
6468
aff29d1c
JB
64692019-02-10 Joel Brobecker <brobecker@adacore.com>
6470
6471 * gdb.ada/mi_ref_changeable: New testcase.
6472
df0da8a2
AH
64732019-02-07 Alan Hayward <alan.hayward@arm.com>
6474
6475 * gdb.base/attach.exp: Add double attach test.
6476
bd447abb
SM
64772019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
6478
6479 * lib/gdb.exp (default_gdb_start): Don't match pagination
6480 prompt.
6481 (gdb_init): Set stty_init.
6482
1dbc40b9
TT
64832019-01-27 Tom Tromey <tom@tromey.com>
6484
6485 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
6486 skip_python_tests.
6487
353229bf
AH
64882019-01-24 Alan Hayward <alan.hayward@arm.com>
6489
6490 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
6491 New structure.
6492 (struct struct_static_02_02): Likewise.
6493 (struct struct_static_02_03): Likewise.
6494 (struct struct_static_02_04): Likewise.
6495 (struct struct_static_04_01): Likewise.
6496 (struct struct_static_04_02): Likewise.
6497 (struct struct_static_04_03): Likewise.
6498 (struct struct_static_04_04): Likewise.
6499 (struct struct_static_06_01): Likewise.
6500 (struct struct_static_06_02): Likewise.
6501 (struct struct_static_06_03): Likewise.
6502 (struct struct_static_06_04): Likewise.
6503 (cmp_struct_static_02_01): Likewise.
6504 (cmp_struct_static_02_02): Likewise.
6505 (cmp_struct_static_02_03): Likewise.
6506 (cmp_struct_static_02_04): Likewise.
6507 (cmp_struct_static_04_01): Likewise.
6508 (cmp_struct_static_04_02): Likewise.
6509 (cmp_struct_static_04_03): Likewise.
6510 (cmp_struct_static_04_04): Likewise.
6511 (cmp_struct_static_06_01): Likewise.
6512 (cmp_struct_static_06_02): Likewise.
6513 (cmp_struct_static_06_03): Likewise.
6514 (cmp_struct_static_06_04): Likewise.
6515 (call_all): Test new structs.
6516 * gdb.base/infcall-nested-structs.exp: Likewise.
6517
73021deb
AH
65182019-01-21 Alan Hayward <alan.hayward@arm.com>
6519 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
6520
fc65c7db
AH
65212019-01-21 Alan Hayward <alan.hayward@arm.com>
6522 * gdb.base/stack-protector.c: New test.
6523 * gdb.base/stack-protector.exp: New file.
6524 * gdb.cp/ovldbreak.exp: Only allow a single break line.
6525 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
6526 option.
6527 (gdb_compile): Remove stack protector for GCC and prevent
6528 recursion.
6529
c24bdb02
KS
65302019-01-16 Keith Seitz <keiths@redhat.com>
6531
6532 PR gdb/23773
6533 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
6534
6f072a10
PFC
65352019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6536
6537 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
6538 aliases.
6539 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
6540 tests.
6541 * gdb.arch/powerpc-vector-regs.c: New file.
6542 * gdb.arch/powerpc-vector-regs.exp: New file.
6543
a7b8d682
PFC
65442019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6545
6546 * gdb.arch/altivec-regs.exp: Fix the list passed to
6547 gdb_expect_list when testing "info vector".
6548
6eb6fb67
AB
65492019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6550
6551 * gdb.base/style.exp: Don't include path in testname.
6552
b56f80d8
KS
65532019-01-10 Keith Seitz <keiths@redhat.com>
6554
6555 PR gdb/23712
6556 PR symtab/23010
6557 * gdb.dwarf2/multidictionary.exp: New file.
6558
041be526
SM
65592019-01-09 Simon Marchi <simon.marchi@ericsson.com>
6560
6561 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
6562 (test_gnuv3_style_demangling): ... this.
6563 (test_lucid_style_demangling): Remove.
6564 (test_arm_style_demangling): Remove.
6565 (test_hp_style_demangling): Remove.
6566 (do_tests): Remove calls to the above.
6567
d820d0c3
AB
65682019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6569
6570 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
6571 case.
6572
f097f5ad
TT
65732019-01-06 Tom Tromey <tom@tromey.com>
6574
6575 PR gdb/28155:
6576 * gdb.dwarf2/typedef-void-finish.exp: New file.
6577
2cd8cc0b
TT
65782018-12-28 Tom Tromey <tom@tromey.com>
6579 Simon Marchi <simark@simark.ca>
6580
6581 * gdb.base/jit-exec.exp: New file.
6582 * gdb.base/jit-exec.c: New file.
6583 * gdb.base/jit-execd.c: New file.
6584
35fb8261
TT
65852018-12-28 Tom Tromey <tom@tromey.com>
6586
6587 * gdb.base/style.exp: Update test to check for address styling.
6588
47fd17cd
TT
65892018-12-28 Tom Tromey <tom@tromey.com>
6590
6591 * gdb.base/style.exp: Add test for styling of "Reading symbols"
6592 message.
6593
d47032b7
TT
65942018-12-28 Tom Tromey <tom@tromey.com>
6595
6596 * gdb.base/style.exp: Add test for version number styling.
6597
af79b68d
TT
65982018-12-28 Tom Tromey <tom@tromey.com>
6599
6600 * gdb.base/style.exp: Add test for print_address_symbolic.
6601
0bb296cb
TT
66022018-12-28 Tom Tromey <tom@tromey.com>
6603
6604 * gdb.base/style.exp: Add test for breakpoint setting.
6605
80ae2043
TT
66062018-12-28 Tom Tromey <tom@tromey.com>
6607
6608 * gdb.base/style.exp: Add test for variable names.
6609
cbe56571
TT
66102018-12-28 Tom Tromey <tom@tromey.com>
6611
6612 * gdb.base/style.exp: New file.
6613 * gdb.base/style.c: New file.
6614
9162a27c
TT
66152018-12-28 Tom Tromey <tom@tromey.com>
6616
6617 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
6618 "dumb".
6619 * gdb.base/readline.exp (operate_and_get_next): Save and restore
6620 the TERM environment variable.
6621
bc543c90
TT
66222018-12-27 Tom Tromey <tom@tromey.com>
6623
6624 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
6625 pagination test.
6626
6f0ffe50
AB
66272018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
6628
6629 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
6630 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
6631
b5a1e557
PW
66322018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6633
6634 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
6635 Filename a.adb changed to bp_fun_addr.adb.
6636 gdb.ada/bp_fun_addr.exp: Update test accordingly.
6637
6e8b1ab2
JV
66382018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
6639
6640 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
6641 non-PIE executables.
6642 * README: Mention the gdb,nopie_flag board setting.
6643 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
6644 non-PIE executable.
6645 * gdb.arch/amd64-entry-value.exp: Likewise.
6646 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
6647 * gdb.arch/i386-float.exp: Likewise.
6648 * gdb.arch/i386-signal.exp: Likewise.
6649 * gdb.mi/mi-reg-undefined.exp: Likewise.
6650
d00a27c5
PM
66512018-12-21 Paul Marechal <paul.marechal@ericsson.com>
6652
6653 PR gdb/23974
6654 * gdb.base/info-os.exp: Check return for unknown "info os" type.
6655
161d081c
PW
66562018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6657
6658 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
6659 Update order of results accordingly.
6660
b001de23
AB
66612018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
6662
6663 * gdb.base/annota1.exp: Update a test regexp.
6664
99e1a184
AB
66652018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6666
6667 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
6668
7a81c1e2
PW
66692018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6670
6671 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
6672 (reuse_time): Initialize to REUSE_TIME_CAP.
6673 (check_rc): New function.
6674 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
6675 Check pthread_create rc.
6676 (spawner_thread_func): Check pthread_create and pthread_join rc.
6677
73e8dc90
PA
66782018-12-08 Pedro Alves <palves@redhat.com>
6679
6680 * gdb.base/list.exp (test_forward_search): Rename to ...
6681 (test_forward_reverse_search): ... this. Also test reverse-search
6682 and the forward-search alias.
6683
13f2ed32
AB
66842018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
6685
6686 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
6687 local timeout variable before return, and remove all local timeout
6688 variable entirely.
6689 (gdb_load): Likewise.
6690
64d27cfc
TV
66912018-12-01 Tom de Vries <tdevries@suse.de>
6692
6693 * gdb.base/gdb-caching-proc.exp: New file.
6694
f63c03b4
SDJ
66952018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
6696
6697 * Makefile.in (TIMESTAMP): New variable.
6698 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
6699 command.
6700 (check-single-racy): Likewise.
6701 (check/%.exp): Likewise.
6702 (check-racy/%.exp): Likewise.
6703 (workers/%.worker): Likewise.
6704 (build-perf): Likewise.
6705 (check-perf): Likewise.
6706 * README: Describe new "TS" and "TS_FORMAT" variables.
6707 * print-ts.py: New file.
6708
1c97054b
BF
67092018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
6710
6711 PR python/23714
6712 * gdb.python/python.exp: Test command repetition after
6713 gdb.execute.
6714
1871a62d
AB
67152018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
6716
6717 * gdb.opt/inline-break.exp: Add test that info breakpoint output
6718 is correctly aligned.
6719
fb5e1ed9
PW
67202018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6721
6722 * gdb.ada/info_auto_lang.exp: New testcase.
6723 * gdb.ada/info_auto_lang/global_pack.ads: New file.
6724 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
6725 * gdb.ada/info_auto_lang/some_c.c: New file.
6726
43d397ca
PW
67272018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6728
6729 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
6730 FUNC_lang language syntax.
6731
beddd671
PW
67322018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6733
6734 * gdb.base/info_minsym.c: New file.
6735 * gdb.base/info_minsym.exp: New file.
6736
73fc52c4
TT
67372018-11-19 Tom Tromey <tom@tromey.com>
6738
6739 PR rust/23625:
6740 * gdb.rust/simple.exp: Add ptype test. Update expected output.
6741 * gdb.rust/expr.exp: Update expected output. Change one test.
6742
994b876a
TT
67432018-11-19 Tom Tromey <tom@tromey.com>
6744
6745 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
6746
6769f276
PA
67472018-11-19 Pedro Alves <palves@redhat.com>
6748
6749 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
6750 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
6751 see the expected warning.
6752
38a72da0
AH
67532018-11-16 Alan Hayward <alan.hayward@arm.com>
6754
6755 PR gdb/22736:
6756 * gdb.cp/infcall-nodebug-lib.c: New test.
6757 * gdb.cp/infcall-nodebug-main.c: New test.
6758 * gdb.cp/infcall-nodebug.exp: New file.
6759
53a89d6e
SM
67602018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
6761
6762 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
6763 completer tests.
6764
9325300d
TV
67652018-11-09 Tom de Vries <tdevries@suse.de>
6766
6767 * gdb.base/msym-lang.c: New test.
6768 * gdb.base/msym-lang.exp: New file.
6769 * gdb.base/msym-lang-main.c: New test.
6770
20f0d60d
TT
67712018-11-08 Tom Tromey <tom@tromey.com>
6772
6773 PR gdb/23555:
6774 PR gdb/23838:
6775 * gdb.base/warning.exp: New file.
6776
b5420128
JB
67772018-11-08 Jan Beulich <jbeulich@suse.com>
6778
6779 * testsuite/gdb.arch/i386-avx512.c,
6780 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
6781
cd115d61
AB
67822018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
6783
6784 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
6785 point hardware.
6786
35ee2dc2
AB
67872018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
6788
6789 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
6790 * gdb.dwarf2/missing-type-name.exp: New file.
6791
31aceee8
TV
67922018-11-06 Tom de Vries <tdevries@suse.de>
6793
6794 * gdb.base/many-headers.c: New test.
6795 * gdb.base/many-headers.exp: New file.
6796
109be305
JW
67972018-11-06 Jim Wilson <jimw@sifive.com>
6798
6799 * gdb.base/code_elim.exp: For riscv, set additional_flags
6800 to include -msmall-data-limit=0.
6801
e2b7af72
JB
68022018-11-01 Joel Brobecker <brobecker@adacore.com>
6803
6804 * gdb.ada/watch_minus_l: New testcase.
6805
cdcda965
SM
68062018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
6807
6808 * gdb.arch/aix-sighandle.c: New file.
6809 * gdb.arch/aix-sighandle.exp: New file.
6810
92dcebf3
AB
68112018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6812
6813 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
6814 registers being unions.
6815
68b9ac18
TV
68162018-10-31 Tom de Vries <tdevries@suse.de>
6817
6818 * lib/valgrind.exp: New file.
6819 (vgdb_start, vgdb_stop): New procs, factored out of ...
6820 * gdb.base/valgrind-bt.exp: ... here, ...
6821 * gdb.base/valgrind-disp-step.exp: ... here and ...
6822 * gdb.base/valgrind-infcall.exp: ... here.
6823
1443936e
TV
68242018-10-31 Tom de Vries <tdevries@suse.de>
6825
6826 * lib/gdb.exp (get_valueof): Don't output read value in test name.
6827
eb77c9df
AB
68282018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6829
6830 * gdb.dwarf2/void-type.c: New file.
6831 * gdb.dwarf2/void-type.exp: New file.
6832
82b5e646
PW
68332018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6834
6835 * gdb.base/info_qt.c: New file.
6836 * gdb.base/info_qt.exp: New file.
6837
8d619c01
EBM
68382018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6839
6840 * gdb.arch/powerpc-htm-regs.c: New file.
6841 * gdb.arch/powerpc-htm-regs.exp: New file.
6842
f2cf6173
EBM
68432018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6844
6845 * gdb.arch/powerpc-tar.c: New file.
6846 * gdb.arch/powerpc-tar.exp: New file.
6847
7ca18ed6
EBM
68482018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6849
6850 * gdb.arch/powerpc-ppr-dscr.c: New file.
6851 * gdb.arch/powerpc-ppr-dscr.exp: New file.
6852
bfcc0eba
TV
68532018-10-25 Tom de Vries <tdevries@suse.de>
6854
6855 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
6856
fe1a5cad
TV
68572018-10-24 Tom de Vries <tdevries@suse.de>
6858
6859 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
6860 longer exists error.
6861
a76dc3b7
TV
68622018-10-24 Tom de Vries <tdevries@suse.de>
6863
6864 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
6865
4df46df7
TV
68662018-10-24 Tom de Vries <tdevries@suse.de>
6867
6868 * gdb.base/valgrind-db-attach.exp: Handle removed support for
6869 --db-attach in valgrind.
6870
0dbfcfff
AB
68712018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
6872
6873 * gdb.arch/riscv-reg-aliases.c: New file.
6874 * gdb.arch/riscv-reg-aliases.exp: New file.
6875
b04480b1
AH
68762018-10-19 Alan Hayward <alan.hayward@arm.com>
6877
6878 * gdb.python/py-cmd.exp: Check for gdb_prompt.
6879
2c6ac8d7
AH
68802018-10-19 Alan Hayward <alan.hayward@arm.com>
6881
6882 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
6883
2bc69f25
AH
68842018-10-19 Alan Hayward <alan.hayward@arm.com>
6885
6886 * gdb.cp/ovldbreak.exp: Fix regexps.
6887
1f1ae3a3
AH
68882018-10-19 Alan Hayward <alan.hayward@arm.com>
6889
6890 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
6891
94c18618
SDJ
68922018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
6893
6894 PR cli/23785
6895 * gdb.base/restore.exp: New test to check if "restore" with an
6896 invalid file doesn't segfault.
6897
812cd6eb
TV
68982018-10-18 Tom de Vries <tdevries@suse.de>
6899
6900 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
6901 * gdb.ada/excep_handle.exp: Same.
6902 * gdb.ada/mi_string_access.exp: Same.
6903 * gdb.ada/mi_var_union.exp: Same.
6904 * gdb.arch/arc-analyze-prologue.exp: Same.
6905 * gdb.arch/arc-decode-insn.exp: Same.
6906 * gdb.base/readnever.exp: Same.
6907 * gdb.fortran/printing-types.exp: Same.
6908 * gdb.guile/scm-lazy-string.exp: Same.
6909
c4b90788
TV
69102018-10-16 Tom de Vries <tdevries@suse.de>
6911
6912 PR gdb/23730
6913 * gdb.base/catch-follow-exec.c: Add copyright notice.
6914 * gdb.base/catch-follow-exec.exp: Rewrite to use
6915 gdb_spawn_with_cmdline_opts. Require gdb-native.
6916
8bca2978
SL
69172018-10-12 Sandra Loosemore <sandra@codesourcery.com>
6918
6919 * gdb.trace/actions-changed.exp: Check for arch support.
6920 * gdb.trace/actions.exp: Likewise.
6921 * gdb.trace/ax.exp: Likewise.
6922 * gdb.trace/backtrace.exp: Likewise.
6923 * gdb.trace/change-loc.exp: Likewise.
6924 * gdb.trace/deltrace.exp: Likewise.
6925 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
6926 * gdb.trace/ftrace.exp: Likewise.
6927 * gdb.trace/infotrace.exp: Check for arch support.
6928 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
6929 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
6930 * gdb.trace/mi-tsv-changed.exp: Likewise.
6931 * gdb.trace/packetlen.exp: Likewise.
6932 * gdb.trace/passc-dyn.exp: Likewise.
6933 * gdb.trace/passcount.exp: Likewise.
6934 * gdb.trace/pending.exp: Likewise.
6935 * gdb.trace/range-stepping.exp: Check for shlib support.
6936 * gdb.trace/report.exp: Check for arch support.
6937 * gdb.trace/save-trace.exp: Likewise.
6938 * gdb.trace/signal.exp: Check for signal support.
6939 * gdb.trace/tfind.exp: Check for arch support.
6940 * gdb.trace/trace-break.exp: Check for arch and shlib support.
6941 * gdb.trace/trace-common.h: Add comment.
6942 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
6943 * gdb.trace/trace-enable-disable.exp: Likewise.
6944 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
6945 * gdb.trace/tracecmd.exp: Check for arch support.
6946 * gdb.trace/tspeed.exp: Check for shlib and target support.
6947 * gdb.trace/tstatus.exp: Check for arch support.
6948 * gdb.trace/tsv.exp: Likewise.
6949 * gdb.trace/while-dyn.exp: Likewise.
6950 * gdb.trace/while-stepping.exp: Likewise.
6951 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
6952
f9c49bff
SM
69532018-10-12 Simon Marchi <simon.marchi@ericsson.com>
6954
6955 * gdb.trace/tspeed.exp: Remove nowarnings.
6956 (prepare_for_trace_test): Declare "global ipalib".
6957 * gdb.trace/tspeed.c: Include unistd.h.
6958 (main): Remove superfluous printf argument.
6959
d4330bde
SL
69602018-10-11 Sandra Loosemore <sandra@codesourcery.com>
6961
6962 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
6963 directory prefix on the filename.
6964
8ecfd7bd
SDJ
69652018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
6966
6967 * gdb.gdb/unittest.exp: Update expected message informing that
6968 selftests have been disabled.
6969 * gdb.server/unittest.exp: Likewise.
6970
58bbcd02
TV
69712018-10-09 Tom de Vries <tdevries@suse.de>
6972
6973 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
6974 with runto_main.
6975
9f6b697b
WP
69762018-10-08 Weimin Pan <weimin.pan@oracle.com>
6977
6978 PR c++/16841
6979 * gdb.cp/virtbase2.cc: New file.
6980 * gdb.cp/virtbase2.exp: New file.
6981
add5ded5
TT
69822018-10-06 Tom Tromey <tom@tromey.com>
6983
6984 PR python/19399:
6985 * gdb.python/py-inferior.exp: Add architecture test.
6986
f9e48344
TT
69872018-10-06 Tom Tromey <tom@tromey.com>
6988
6989 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
6990 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
6991
2a8be203
TT
69922018-10-06 Tom Tromey <tom@tromey.com>
6993
6994 * gdb.python/py-breakpoint.exp (check_last_event): Check location
6995 of a "throw" catchpoint.
6996
e04caa70
SDJ
69972018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
6998
6999 * gdb.base/info-proc.exp: Update string expected from "help info
7000 proc".
7001
5ca8c39f
TT
70022018-10-04 Tom Tromey <tom@tromey.com>
7003
7004 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
7005 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
7006 (test_initial_complaints, test_empty_complaints): Update.
7007 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7008
3453e7e4
TT
70092018-10-04 Tom Tromey <tom@tromey.com>
7010
7011 PR cli/19551:
7012 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
7013 * lib/gdb.exp (gdb_file_cmd): Update.
7014 * gdb.stabs/weird.exp (print_weird_var): Update.
7015 * gdb.server/solib-list.exp: Update.
7016 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
7017 * gdb.mi/mi-cli.exp: Update.
7018 * gdb.linespec/linespec.exp: Update.
7019 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7020 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
7021 * gdb.cp/cp-relocate.exp: Update.
7022 * gdb.base/sym-file.exp: Update.
7023 * gdb.base/relocate.exp: Update.
7024 * gdb.base/readnever.exp: Update.
7025 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7026 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
7027 * gdb.base/dbx.exp (gdb_file_cmd): Update.
7028 * gdb.base/code_elim.exp: Update.
7029 * gdb.base/break-unload-file.exp (test_break): Update.
7030 * gdb.base/break-interp.exp (test_attach_gdb): Update.
7031 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
7032 Update.
7033 * gdb.base/attach.exp (do_attach_tests): Update.
7034 * gdb.base/sepdebug.exp: Update.
7035 * gdb.python/py-section-script.exp: Update.
7036
6afcf761
TT
70372018-10-04 Tom Tromey <tom@tromey.com>
7038
7039 PR cli/22234:
7040 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
7041 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
7042 output.
7043
fef1b293
TT
70442018-10-04 Tom Tromey <tom@tromey.com>
7045
7046 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
7047 set width and height to 0.
7048 (test_command_line_attach_run): Use -quiet.
7049
ca98345e
SL
70502018-10-03 Sandra Loosemore <sandra@codesourcery.com>
7051
7052 * lib/gdb.exp (skip_ifunc_tests): New.
7053 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
7054 other compile failures.
7055 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
7056
ff34e6ae
SM
70572018-10-01 Simon Marchi <simon.marchi@ericsson.com>
7058
7059 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
7060 is_amd64_regs_target.
7061
6bb8890e
AH
70622018-10-01 Alan Hayward <alan.hayward@arm.com>
7063
7064 * gdb.arch/aarch64-sighandler-regs.c: New test.
7065 * gdb.arch/aarch64-sighandler-regs.exp: New file.
7066 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
7067
224d30d3
MM
70682018-10-01 Markus Metzger <markus.t.metzger@intel.com>
7069
7070 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
7071 assembly.
7072
f67ffa6a
AB
70732018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
7074
7075 * gdb.base/frame-selection.exp: New file.
7076 * gdb.base/frame-selection.c: New file.
7077
9fc3183f
AH
70782018-09-27 Alan Hayward <alan.hayward@arm.com>
7079
7080 * gdb.threads/check-libthread-db.c (thread_routine): Use a
7081 pthread barrier.
7082 (main): Likewise.
7083
d354055e
AB
70842018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
7085
7086 * gdb.base/large-frame-1.c: New file.
7087 * gdb.base/large-frame-2.c: New file.
7088 * gdb.base/large-frame.exp: New file.
7089 * gdb.base/large-frame.h: New file.
7090
db727370
JL
70912018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7092
7093 PR gdb/20948
7094 * gdb.base/write_mem.exp: New test.
7095 * gdb.base/write_mem.c: Likewise.
7096
ae778caf
TT
70972018-09-23 Tom Tromey <tom@tromey.com>
7098
7099 PR python/18852:
7100 * gdb.python/py-parameter.exp: Add test for parameter that throws
7101 on "set".
7102
fd3ba736
TT
71032018-09-23 Tom Tromey <tom@tromey.com>
7104
7105 PR python/17284:
7106 * gdb.python/py-template.exp (test_template_arg): Add test for
7107 negative template argument number.
7108
39a24317
TT
71092018-09-23 Tom Tromey <tom@tromey.com>
7110
7111 PR python/14062:
7112 * gdb.python/python.exp: Add test for post_event error.
7113
f5769a2c
TT
71142018-09-23 Tom Tromey <tom@tromey.com>
7115
7116 PR python/18170:
7117 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
7118 convert pointers to int and long.
7119
1c1e54f6
TT
71202018-09-23 Tom Tromey <tom@tromey.com>
7121
7122 PR python/20126:
7123 * gdb.python/py-value.exp (test_value_numeric_ops): Add
7124 signed-ness conversion tests.
7125
fb4fa946
TT
71262018-09-23 Tom Tromey <tom@tromey.com>
7127
7128 PR python/18352;
7129 * gdb.python/py-value.exp (test_float_conversion): New proc.
7130 Use it.
7131
a466edac
HAQ
71322018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
7133
7134 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
7135
4ee9b0c5
SL
71362018-09-18 Sandra Loosemore <sandra@codesourcery.com>
7137
7138 * gdb.base/complete-empty.exp: Skip tab-completion tests if
7139 no readline.
7140 * gdb.base/utf8-identifiers.exp: Likewise.
7141 * gdb.cp/cpcompletion.exp: Likewise.
7142 * gdb.linespec/cpcompletion.exp: Likewise.
7143 * gdb.linespec/cpls-abi-tag.exp: Likewise.
7144 * gdb.linespec/cpls-ops.exp: Likewise.
7145
23be8da7
RB
71462018-09-19 Richard Bunt <richard.bunt@arm.com>
7147 Chris January <chris.january@arm.com>
7148
7149 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
7150 * gdb.fortran/short-circuit-argument-list.exp: New file.
7151 * gdb.fortran/short-circuit-argument-list.f90: New test.
7152
5031d0ae
SDJ
71532018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7154
7155 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
7156 "arch=" keyword when executing "-stack-list-frames".
7157
b4c0d1a4
SDJ
71582018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7159
7160 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
7161 "arch=" keyword when executing "-stack-list-frames".
7162
7a6d2b45
SDJ
71632018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7164
7165 * gdb.ada/complete.exp: Expect for "@" when doing "complete
7166 break ada".
7167
8588b356
SM
71682018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
7169
7170 PR python/23669
7171 * gdb.python/python.exp: Test gdb.execute("show commands").
7172
65e65158
TT
71732018-09-16 Tom Tromey <tom@tromey.com>
7174
7175 * gdb.base/new-ui.exp (do_execution_tests): Update.
7176 * gdb.base/dbx.exp (test_breakpoints): Update.
7177
bf326452
AH
71782018-09-14 Alan Hayward <alan.hayward@arm.com>
7179
7180 * lib/gdb.exp (gdb_simple_compile): Add proc.
7181 (is_elf_target): Use gdb_simple_compile.
7182 (skip_altivec_tests): Likewise.
7183 (skip_vsx_tests): Likewise.
7184 (skip_tsx_tests): Likewise.
7185 (skip_btrace_tests): Likewise.
7186 (skip_btrace_pt_tests): Likewise.
7187 (gdb_can_simple_compile): Likewise.
7188 (gdb_has_argv0): Likewise.
7189 (gdb_target_symbol_prefix): Likewise.
7190 (target_supports_scheduler_locking): Likewise.
7191
2361b0fb
TT
71922018-09-13 Tom Tromey <tom@tromey.com>
7193
7194 * Makefile.in (TAGS): Recognize proc_with_prefix and
7195 gdb_caching_proc.
7196
0ae1a321
SM
71972018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7198
7199 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
7200 method.
7201
a40bf0c2
SM
72022018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7203
7204 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
7205 and a few other Inferior properties when the Inferior is no
7206 longer valid.
7207
4a3fe98f
TT
72082018-09-13 Tom Tromey <tom@tromey.com>
7209
7210 PR rust/23650:
7211 * gdb.rust/simple.exp: Add test for enum field access error.
7212
098b2108
TT
72132018-09-13 Tom Tromey <tom@tromey.com>
7214
7215 PR rust/23626:
7216 * gdb.rust/simple.rs (EmptyEnum): New type.
7217 (main): Use it.
7218 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
7219
1256af7d
SM
72202018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7221
7222 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
7223 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
7224 * gdb.python/py-symtab.exp: Update test printing an objfile.
7225
4aa8e6c2
SM
72262018-09-12 Simon Marchi <simon.marchi@ericsson.com>
7227
7228 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
7229 object.
7230
c221b2f7
AH
72312018-09-12 Alan Hayward <alan.hayward@arm.com>
7232
7233 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
7234 (support_complex_tests): Use gdb_can_simple_compile.
7235 (is_ilp32_target): Likewise.
7236 (is_lp64_target): Likewise.
7237 (is_64_target): Likewise.
7238 (is_amd64_regs_target): Likewise.
7239 (is_aarch32_target): Likewise.
7240 (gdb_int128_helper): Likewise.
7241
6f1107b5
JK
72422018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7243
7244 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
7245
1f5d1570
JG
72462018-09-10 Jerome Guitton <guitton@adacore.com>
7247
7248 * gdb.ada/same_component_name: Add test for case of tagged record
7249 with variable-length fields.
7250
cc330e39
XR
72512018-09-10 Xavier Roirand <roirand@adacore.com>
7252
7253 * gdb.ada/access_to_unbounded_array.exp: New testcase.
7254 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
7255 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
7256 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
7257
b9c50e9a
XR
72582018-09-10 Xavier Roirand <roirand@adacore.com>
7259
7260 * gdb.ada/mi_string_access.exp: New testcase.
7261 * gdb.ada/mi_string_access/bar.adb: New file.
7262 * gdb.ada/mi_string_access/pck.adb: New file.
7263 * gdb.ada/mi_string_access/pck.asd: New file.
7264
2963898f
XR
72652018-09-10 Xavier Roirand <roirand@adacore.com>
7266
7267 * gdb.ada/mi_var_union.exp: New testcase.
7268 * gdb.ada/mi_var_union/bar.adb: New file.
7269 * gdb.ada/mi_var_union/pck.adb: New file.
7270 * gdb.ada/mi_var_union/pck.asd: New file.
7271
1aac008f
TT
72722018-09-08 Tom Tromey <tom@tromey.com>
7273
7274 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
7275
332cf4c9
TT
72762018-09-08 Tom Tromey <tom@tromey.com>
7277
7278 PR python/16047:
7279 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
7280 (register_pretty_printers): Register new printer.
7281 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
7282 test.
7283 * gdb.python/py-prettyprint.c (int_type3): New typedef.
7284 (an_int_type3): New global.
7285
424da6cf
JB
72862018-09-08 Joel Brobecker <brobecker@adacore.com>
7287
7288 * gdb.ada/expr_with_funcall: New testcase.
7289
2a62dfa9
JB
72902018-09-08 Joel Brobecker <brobecker@adacore.com>
7291
7292 * gdb.ada/packed_array_assign: New testcase.
7293
96b6697f
AB
72942018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
7295
7296 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
7297 names, and add test prefixes to make test names unique.
7298
e4a62c65
TV
72992018-09-05 Tom de Vries <tdevries@suse.de>
7300
7301 * gdb.dwarf2/varval.exp: Add test.
7302
dd083ee2
GB
73032018-09-04 Gary Benson <gbenson@redhat.com>
7304
7305 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
7306 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
7307
aef9346c
TT
73082018-08-31 Tom Tromey <tom@tromey.com>
7309
7310 * gdb.rust/simple.rs: Rename second variable "v".
7311
c67f2e15
AB
73122018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
7313
7314 * gdb.base/funcargs.c (use_a): New function.
7315 (recurse): Call use_a.
7316
078a0207
KS
73172018-08-29 Keith Seitz <keiths@redhat.com>
7318
7319 * gdb.compile/compile-cplus-anonymous.cc: New file.
7320 * gdb.compile/compile-cplus-anonymous.exp: New file.
7321 * gdb.compile/compile-cplus-array-decay.cc: New file.
7322 * gdb.compile/compile-cplus-array-decay.exp: New file.
7323 * gdb.compile/compile-cplus-inherit.cc: New file.
7324 * gdb.compile/compile-cplus-inherit.exp: New file.
7325 * gdb.compile/compile-cplus-member.cc: New file.
7326 * gdb.compile/compile-cplus-member.exp: New file.
7327 * gdb.compile/compile-cplus-method.cc: New file.
7328 * gdb.compile/compile-cplus-method.exp: New file.
7329 * gdb.compile/compile-cplus-mod.c: "New" file.
7330 * gdb.compile/compile-cplus-namespace.cc: New file.
7331 * gdb.compile/compile-cplus-namespace.exp: New file.
7332 * gdb.compile/compile-cplus-nested.cc: New file.
7333 * gdb.compile/compile-cplus-nested.exp: New file.
7334 * gdb.compile/compile-cplus-print.c: "New" file.
7335 * gdb.compile/compile-cplus-print.exp: "New" file.
7336 * gdb.compile/compile-cplus-virtual.cc: New file.
7337 * gdb.compile/compile-cplus-virtual.exp: New file.
7338 * gdb.compile/compile-cplus.c: "New" file.
7339 * gdb.compile/compile-cplus.exp: "New" file.
7340 * lib/compile-support.exp: New file.
7341
b0f492b9
GB
73422018-08-16 Gary Benson <gbenson@redhat.com>
7343
7344 PR gdb/13000:
7345 * gdb.base/batch-exit-status.exp: New file.
7346 * gdb.base/batch-exit-status.good-commands: Likewise.
7347 * gdb.base/batch-exit-status.bad-commands: Likewise.
7348
36eb4c5f
AH
73492018-08-29 Alan Hayward <alan.hayward@arm.com>
7350
7351 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
7352 (struct struct02): Likewise.
7353 (struct struct03): Likewise.
7354 (struct struct04): Likewise.
7355 (struct struct_01_01): New struct.
7356 (struct struct_01_02): Likewise.
7357 (struct struct_01_03): Likewise.
7358 (struct struct_01_04): Likewise.
7359 (struct struct_02_01): Likewise.
7360 (struct struct_02_02): Likewise.
7361 (struct struct_02_03): Likewise.
7362 (struct struct_02_04): Likewise.
7363 (struct struct_04_01): Likewise.
7364 (struct struct_04_02): Likewise.
7365 (struct struct_04_03): Likewise.
7366 (struct struct_04_04): Likewise.
7367 (struct struct_05_01): Likewise.
7368 (struct struct_05_02): Likewise.
7369 (struct struct_05_03): Likewise.
7370 (struct struct_05_04): Likewise.
7371 (cmp_struct01): Remove function.
7372 (cmp_struct02): Likewise.
7373 (cmp_struct03): Likewise.
7374 (cmp_struct04): Likewise.
7375 (cmp_struct_01_01): Add Function.
7376 (cmp_struct_01_02): Likewise.
7377 (cmp_struct_01_03): Likewise.
7378 (cmp_struct_01_04): Likewise.
7379 (cmp_struct_02_01): Likewise.
7380 (cmp_struct_02_02): Likewise.
7381 (cmp_struct_02_03): Likewise.
7382 (cmp_struct_02_04): Likewise.
7383 (cmp_struct_04_01): Likewise.
7384 (cmp_struct_04_02): Likewise.
7385 (cmp_struct_04_03): Likewise.
7386 (cmp_struct_04_04): Likewise.
7387 (cmp_struct_05_01): Likewise.
7388 (cmp_struct_05_02): Likewise.
7389 (cmp_struct_05_03): Likewise.
7390 (cmp_struct_05_04): Likewise.
7391 (call_all): Add new structs.
7392 * gdb.base/infcall-nested-structs.exp: Likewise.
7393
3bf9c013
JV
73942018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
7395
7396 * gdb.python/py-framefilter-mi.exp: Update regexp to
7397 check for "arch" field in frame output.
7398
450d1e88
KB
73992018-08-23 Kevin Buettner <kevinb@redhat.com>
7400
7401 * gdb.dwarf2/dw2-ranges-func.c: New file.
7402 * gdb.dwarf2/dw2-ranges-func.exp: New file.
7403
ae739fe7
SM
74042018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
7405
7406 * gdb.base/term.exp: Compare terminal settings with values from
7407 the inferior.
7408 * gdb.base/term.c: Get and set terminal settings.
7409
6d52907e
JV
74102018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
7411
7412 * lib/mi-support.exp (mi_expect_stop): Update regexp to
7413 accommodate new "arch" field in frame output.
7414 * gdb.mi/mi-return.exp: Likewise.
7415 * gdb.mi/mi-stack.exp: Likewise.
7416 * gdb.mi/mi-syn-frame.exp: Likewise.
7417 * gdb.mi/user-selected-context-sync.exp: Likewise.
7418
be2d111a
MS
74192018-08-19 Michael Spang <spang@google.com>
7420
7421 PR gdb/11786
7422 * gdb.base/gcore-tls-pie.c: New file.
7423 * gdb.base/gcore-tls-pie.exp: New file.
7424
ae3a7c47
KB
74252018-08-18 Kevin Buettner <kevinb@redhat.com>
7426
7427 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
7428 * gdb.dwarf2/varval.c: New file.
7429 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 7430
2ecae92e
AH
74312018-08-17 Alan Hayward <alan.hayward@arm.com>
7432
7433 PR gdb/18931
7434 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
7435
c1854f1d
KS
74362018-08-16 Keith Seitz <keiths@redhat.com>
7437
7438 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
7439 tests expected to pass.
7440
26fb3983
JV
74412018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
7442
7443 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
7444 -data-disassemble -a.
7445 (test_disassembly_bogus_args): Likewise.
7446
67943c00
AB
74472018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
7448
7449 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
7450
5ff2bbae
AB
74512018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7452
7453 * gdb.base/vla-optimized-out.exp: Add new test.
7454
e5bbcd0f
AB
74552018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7456
7457 * gdb.base/vla-optimized-out-o3.exp: Delete.
7458 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
7459 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
7460 deleted tests.
7461
9d4a934c
AB
74622018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
7463
7464 PR gdb/18050:
7465 * gdb.server/extended-remote-restart.c: New file.
7466 * gdb.server/extended-remote-restart.exp: New file.
7467
045cf012
SM
74682018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
7469
7470 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
7471 "set variable index = 42".
7472
87d6a7aa
SM
74732018-08-07 Simon Marchi <simon.marchi@ericsson.com>
7474
7475 * boards/index-cache-gdb.exp: New file.
7476 * gdb.dwarf2/index-cache.exp: New file.
7477 * gdb.dwarf2/index-cache.c: New file.
7478 * gdb.base/maint.exp: Check if we are using the index cache.
7479
96d68bd4
RO
74802018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7481
7482 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
7483 MAKEFLAGS.
7484
5a699617
RO
74852018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7486
7487 * dg-extract-results.sh: Move to toplevel contrib.
7488 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
7489 * Makefile.in (check-parallel-racy): Likewise.
7490
5bd18990
AB
74912018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
7492
7493 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
7494 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
7495 tests if the target supports scheduler locking.
7496
3fbbcf47
TV
74972018-08-04 Tom de Vries <tdevries@suse.de>
7498
7499 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
7500
3e1d3d8c
TT
75012018-08-02 Tom Tromey <tom@tromey.com>
7502
7503 PR symtab/16842.
7504 * gdb.cp/temargs.exp: Test "info address" of a template
7505 parameter.
7506
5abe0f0c
JV
75072018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
7508
7509 * gdb.python/py-mi-var-info-path-expression.c: New file.
7510 * gdb.python/py-mi-var-info-path-expression.py: New file.
7511 * gdb.python/py-mi-var-info-path-expression.exp: New file.
7512
fb66cde8
SDJ
75132018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
7514
7515 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
7516 error after "cannot resolve name" string.
7517
c708f4d2
AB
75182018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
7519
7520 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
7521 started.
7522 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
7523
37cc0cae
TV
75242018-07-28 Tom de Vries <tdevries@suse.de>
7525
7526 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
7527
63b4ecf7
TV
75282018-07-26 Tom de Vries <tdevries@suse.de>
7529
7530 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
7531
3c3bb058
AB
75322018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
7533
7534 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
7535 is visible.
7536
9e7f3bbb
TV
75372018-07-26 Tom de Vries <tdevries@suse.de>
7538
7539 PR breakpoints/23366
7540 * gdb.base/catch-follow-exec.c: New test.
7541 * gdb.base/catch-follow-exec.exp: New file.
7542
16f808ec
TV
75432018-07-25 Tom de Vries <tdevries@suse.de>
7544
7545 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
7546 vla-optimized-out.c.
7547
d7154a8d
JV
75482018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
7549
7550 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
7551 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
7552
232a0032
TV
75532018-07-20 Tom de Vries <tdevries@suse.de>
7554
7555 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
7556 NOCLONE macro.
7557 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
7558
fbb1d502
TV
75592018-07-19 Tom de Vries <tdevries@suse.de>
7560
7561 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
7562 regular expression.
7563
42dc7699
TV
75642018-07-18 Tom de Vries <tdevries@suse.de>
7565
7566 * gdb.base/vla-optimized-out.c: New test.
7567 * gdb.base/vla-optimized-out.exp: New file.
7568
7f1f7e23
SDJ
75692018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
7570
7571 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
7572 message "No address associated with hostname" when gdbserver
7573 cannot resolve the hostname.
7574
5759ebb3
PW
75752018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7576
7577 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
7578 Add some test prefixes to make tests unique.
7579
3606ccab
PW
75802018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7581
7582 * gdb.base/frameapply.c: New file.
7583 * gdb.base/frameapply.exp: New file.
7584
529c08b2
PW
75852018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7586
7587 * gdb.base/skip.exp: Update expected error message.
7588
c7ab0aef
SDJ
75892018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7590 Jan Kratochvil <jan.kratochvil@redhat.com>
7591 Paul Fertser <fercerpav@gmail.com>
7592 Tsutomu Seki <sekiriki@gmail.com>
7593
7594 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
7595 parameter.
7596 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
7597 by default.
7598 * boards/native-gdbserver.exp: Likewise.
7599 * gdb.server/run-without-local-binary.exp: Improve regexp used
7600 for detecting when a remote debugging connection succeeds.
7601 * gdb.server/server-connect.exp: New file.
7602 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
7603 Do not prefix the port number with ":".
7604 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
7605 support for detecting and using it. Add '$debughost_gdbserver'
7606 to the list of arguments used to start gdbserver. Handle case
7607 when gdbserver cannot resolve a network name.
7608
16ff70dd
SDJ
76092018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7610
7611 PR c++/23373
7612 * gdb.base/ptype-offsets.cc (struct static_member): New
7613 struct.
7614 (main) <stmember>: New variable.
7615 * gdb.base/ptype-offsets.exp: Add test for printing a struct
7616 with a static member in it.
7617
3541979f
AB
76182018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
7619
7620 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
7621 watchpoints enabled and disabled.
7622
c8ad9b9a
AB
76232018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7624
7625 * gdb.base/examine-backward.exp: Still run tests around address
7626 0x0, even if address 0x0 is not readable. Update the pattern for
7627 matching address 0x0 in expected output.
7628
e0e5e971
AB
76292018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
7630
7631 * gdb.base/share-env-with-gdbserver.c (main): Add call to
7632 malloc/free.
7633
1ea5da02
TV
76342018-07-04 Tom de Vries <tdevries@suse.de>
7635
7636 * gdb.dwarf2/dw2-error.exp: Update expected error message.
7637
471b9d15
MR
76382018-07-02 Maciej W. Rozycki <macro@mips.com>
7639
7640 PR tdep/8282
7641 * gdb.arch/mips-disassembler-options.exp: New test.
7642 * gdb.arch/mips-disassembler-options.s: New test source.
7643
75acb486
PA
76442018-06-29 Pedro Alves <palves@redhat.com>
7645
7646 * gdb.threads/names.exp: Adjust expected "info threads" output.
7647
cd2bb709
PA
76482018-06-29 Pedro Alves <palves@redhat.com>
7649
7650 * gdb.opt/inline-break.exp (line number, address): Add "info
7651 break" tests.
7652
991ff292
PA
76532018-06-29 Pedro Alves <palves@redhat.com>
7654
7655 * gdb.opt/inline-break.c (func1): Add "break here" marker.
7656 * gdb.opt/inline-break.exp: Test setting breakpoints by line
7657 number and address and running to them.
7658
356819b6 76592018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
7660
7661 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
7662
2512d7ef
JK
76632018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7664
7665 * lib/compiler.c: Remove executable permission flag.
7666
be1b6474
RB
76672018-06-28 Richard Bunt <richard.bunt@arm.com>
7668
7669 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
7670 code.
7671 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
7672
291f9a96
PT
76732018-06-28 Petr Tesarik <ptesarik@suse.cz>
7674
7675 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
7676
ed6dfe51
PT
76772018-06-28 Petr Tesarik <ptesarik@suse.cz>
7678
7679 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
7680 address argument is omitted.
7681
d4d429d5
PT
76822018-06-28 Petr Tesarik <ptesarik@suse.cz>
7683
7684 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
7685
7ab6656f
OJ
76862018-06-27 Omair Javaid <omair.javaid@linaro.org>
7687
7688 PR gdb/21695
7689 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
7690 * gdb.base/infoline-reloc-main-from-zero.c: New file.
7691
a33ccfc7
TT
76922018-06-26 Tom Tromey <tom@tromey.com>
7693
7694 PR rust/22574:
7695 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
7696 * gdb.rust/simple.rs (struct SimpleLayout): New.
7697
6d72d289
SM
76982018-06-22 Simon Marchi <simon.marchi@ericsson.com>
7699
7700 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
7701 "info registers" output.
7702
8363f9d5
RB
77032018-06-21 Richard Bunt <richard.bunt@arm.com>
7704
7705 * gdb.base/watchpoint-hw-attach.c: New test.
7706 * gdb.base/watchpoint-hw-attach.exp: New file.
7707
f00674fe
SM
77082018-06-20 Simon Marchi <simon.marchi@ericsson.com>
7709
7710 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
7711 through /bin/sh.
7712 * boards/dwarf4-gdb-index.exp: Likewise.
7713 * boards/fission-dwp.exp: Likewise.
7714
1d554008
UW
77152018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
7716
7717 * gdb.base/float128.exp: Add comment and improved fail message
7718 to the failure case of "print large128" test.
7719
d0ac1c44
SM
77202018-06-19 Simon Marchi <simon.marchi@ericsson.com>
7721
7722 * configure.ac: Remove AC_PREREQ.
7723 * configure: Re-generate.
7724
61b04dd0
PA
77252018-06-19 Pedro Alves <palves@redhat.com>
7726
7727 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
7728 (func_extern_caller): New.
7729 (main): Call func_extern_caller.
7730 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
7731 logic change.
7732
f63b508a
SM
77332018-06-18 Weimin Pan <weimin.pan@oracle.com>
7734
7735 PR gdb/16841
7736 * gdb.cp/typedef-base.cc: New file.
7737 * gdb.cp/typedef-base.exp: New file.
7738
0fe3a558
TV
77392018-06-18 Tom de Vries <tdevries@suse.de>
7740
7741 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
7742
7010835a
AB
77432018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7744 Richard Bunt <Richard.Bunt@arm.com>
7745
7746 * gdb.threads/attach-slow-waitpid.c: New file.
7747 * gdb.threads/attach-slow-waitpid.exp: New file.
7748 * gdb.threads/slow-waitpid.c: New file.
7749
14897d65
PA
77502018-06-14 Pedro Alves <palves@redhat.com>
7751
7752 * gdb.base/fork-running-state.c: Include <errno.h>.
7753 (exit_if_relative_exits): New.
7754 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
7755 exits.
7756 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
7757 child exits.
7758
5d9a0608
TV
77592018-06-14 Tom de Vries <tdevries@suse.de>
7760
7761 PR cli/22573
7762 * gdb.base/finish-pretty.c: New test.
7763 * gdb.base/finish-pretty.exp: New file.
7764
11ae5818
PA
77652018-06-14 Pedro Alves <palves@redhat.com>
7766
7767 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
7768 gdb's expected startup output.
7769
1d39de44
PA
77702018-06-14 Pedro Alves <palves@redhat.com>
7771
7772 * lib/selftest-support.exp (selftest_setup): Remove inlined
7773 function handling.
7774
70ee0000
TV
77752018-06-14 Tom de Vries <tdevries@suse.de>
7776
7777 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
7778 matching of breakpoint printing.
7779
11f4b608
TV
77802018-06-13 Tom de Vries <tdevries@suse.de>
7781
7782 PR testsuite/23269
7783 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
7784 (fork_child): ... here, and ...
7785 (fork_parent): ... here.
7786
77872018-06-12 Tom de Vries <tdevries@suse.de>
7788
7789 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
7790
9516f85a
AB
77912018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
7792 Stephen Roberts <stephen.roberts@arm.com>
7793
7794 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
7795 rewrite test to describe action performed, rather than possible
7796 failure.
7797
5045b3d7
GB
77982018-06-08 Gary Benson <gbenson@redhat.com>
7799
7800 * gdb.threads/check-libthread-db.exp: New file.
7801 * gdb.threads/check-libthread-db.c: Likewise.
7802
c61b06a1
TT
78032018-06-05 Tom Tromey <tom@tromey.com>
7804
7805 * gdb.base/default.exp: Update expected "show version" output.
7806
eb6af809
TT
78072018-06-05 Tom Tromey <tom@tromey.com>
7808
7809 PR cli/12326:
7810 * gdb.cp/static-print-quit.exp: Update.
7811 * lib/gdb.exp (pagination_prompt): Update.
7812 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
7813 * gdb.python/python.exp: Update.
7814
178d6a63
JB
78152018-06-04 Joel Brobecker <brobecker@adacore.com>
7816
7817 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
7818
8e817061
JB
78192018-06-01 Joel Brobecker <brobecker@adacore.com>
7820
7821 * gdb.ada/bp_fun_addr: New testcase.
7822
e86ca25f
TT
78232018-06-01 Tom Tromey <tom@tromey.com>
7824
7825 * gdb.xml/tdesc-regs.exp (load_description): Update expected
7826 results.
7827 * gdb.dwarf2/method-ptr.exp: Set language to C++.
7828 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
7829 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
7830 * gdb.base/maint.exp (maint_pass_if): Update.
7831
4b2dfa9d
MR
78322018-05-31 Maciej W. Rozycki <macro@mips.com>
7833
7834 * gdb.base/endian.exp: New test.
7835 * gdb.base/endian.c: New test source.
7836
45f25d6c
AB
78372018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
7838
7839 PR gdb/23203
7840 * gdb.base/bt-selected-frame.c: New file.
7841 * gdb.base/bt-selected-frame.exp: New file.
7842 * lib/gdb.exp (get_current_frame_number): New function.
7843
d9f6d7f8
MR
78442018-05-24 Maciej W. Rozycki <macro@mips.com>
7845 Pedro Alves <palves@redhat.com>
7846
7847 * gdb.threads/tls-core.c: Include <stdlib.h>
7848 (thread_proc): Call `abort'.
7849 * gdb.threads/tls-core.exp: Generate a core with core_find too.
7850 (tls_core_test): New procedure, bits factored out from ...
7851 (top level): ... here. Test both native cores and gcore cores.
7852
ff1cf532
TT
78532018-05-23 Tom Tromey <tom@tromey.com>
7854
7855 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
7856
b98664d3
TT
78572018-05-23 Tom Tromey <tom@tromey.com>
7858
7859 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
7860 symfile_complaints.
7861 (test_short_complaints): Likewise.
7862 (test_empty_complaints): Likewise.
7863 (test_initial_complaints): Update.
7864
4e9668d0
TT
78652018-05-23 Tom Tromey <tom@tromey.com>
7866
7867 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
7868
43ba33c7
TT
78692018-05-23 Tom Tromey <tom@tromey.com>
7870
7871 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
7872 (test_short_complaints): Update.
7873
035522c0
PA
78742018-05-22 Pedro Alves <palves@redhat.com>
7875
7876 * gdb.base/remote.exp: Only gdb_start after compiling the
7877 testcase. Issue "disconnect" before testing "set remote" command
7878 defaults. Issue clean_restart before running to main.
7879
cc0be08f
PA
78802018-05-22 Pedro Alves <palves@redhat.com>
7881
7882 * gdb.base/remote.exp: Adjust expected output of "show remote
7883 memory-write-packet-size". Add tests for "set remote
7884 memory-write-packet-size 0" and "set remote
7885 memory-write-packet-size fixed/limit".
7886
b1b60145
PA
78872018-05-22 Pedro Alves <palves@redhat.com>
7888
7889 PR gdb/22973
7890 * gdb.base/utf8-identifiers.c: New file.
7891 * gdb.base/utf8-identifiers.exp: New file.
7892
0ec848ad
PFC
78932018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7894
7895 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
7896
2c3305f6
PFC
78972018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7898
7899 * gdb.arch/powerpc-vsx-gcore.exp: New file.
7900
ce1e8424
TT
79012018-05-18 Tom Tromey <tom@tromey.com>
7902
7903 * gdb.base/ptype-offsets.exp: Update.
7904
ddfe970e
KS
79052018-05-17 Keith Seitz <keiths@redhat.com>
7906
7907 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
7908 in expected breakpoint stop locations.
7909 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
7910 move to proper scope to test variable values.
7911 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
7912 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
7913 New functions.
7914 (main): Call not_inline_func3.
7915 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
7916 inline_func1, inline_func2, and inline_func3. Test that when each
7917 breakpoint is hit, GDB properly reports both the stop location
7918 and the backtrace. Repeat tests for temporary breakpoints.
7919
0726fcc6
MR
79202018-05-15 Maciej W. Rozycki <macro@mips.com>
7921
7922 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
7923 rather then trying to access it in determining whether the PID
7924 of `gdbserver' could have been retrieved.
7925
8ee22052
AB
79262018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
7927
7928 * gdb.arch/amd64-init-x87-values.S: New file.
7929 * gdb.arch/amd64-init-x87-values.exp: New file.
7930
7785df48
JK
79312018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7932
7933 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
7934
56bcdbea
TT
79352018-05-04 Tom Tromey <tom@tromey.com>
7936
7937 PR python/22730:
7938 * gdb.python/python.exp: Test multi-line execute.
7939
a913fffb
TT
79402018-05-04 Tom Tromey <tom@tromey.com>
7941
7942 PR python/22731:
7943 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
7944
7a2c85f2
TT
79452018-05-04 Tom Tromey <tom@tromey.com>
7946
7947 PR gdb/11750:
7948 * gdb.base/define.exp: Test defining a user command inside a user
7949 command.
7950 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
7951
a3b60e45
JK
79522018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7953 Pedro Alves <palves@redhat.com>
7954
7955 PR breakpoints/19806 and support for PR external/20207.
7956 * gdb.base/watchpoint-unaligned.c: New file.
7957 * gdb.base/watchpoint-unaligned.exp: New file.
7958
45fe4a03
AB
79592018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7960
7961 * gdb.base/maint.exp: Make test names unique, use
7962 test_prefix_command_help to test 'help maint info', and remove
7963 repeated test of 'help maint'.
7964
9be2ae8f
TT
79652018-05-04 Tom Tromey <tom@tromey.com>
7966
7967 PR gdb/22619:
7968 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
7969 behavior.
7970
11859c31
AB
79712018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7972
7973 * gdb.base/maint.exp: Process output from 'maint print registers'
7974 line at a time.
7975
089a9490
AB
79762018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7977
7978 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
7979 timeout.
7980
9b0797e2
AB
79812018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
7982
7983 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
7984 filter pattern.
7985
f6ac5f3d
PA
79862018-05-02 Pedro Alves <palves@redhat.com>
7987
7988 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
7989 to_log_command renames.
7990 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7991
77d3c63b
TT
79922018-05-02 Tom Tromey <tom@tromey.com>
7993
7994 * gdb.python/py-parameter.exp: Set test message.
7995
0489430a
TT
79962018-05-02 Tom Tromey <tom@tromey.com>
7997
7998 PR python/20084:
7999 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
8000 PARAM_ZUINTEGER_UNLIMITED tests.
8001
1632f8ba
DR
80022018-04-28 Dan Robertson <danlrobertson89@gmail.com>
8003
8004 PR rust/23124
8005 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
8006 when casting.
8007
6d7bb824
TT
80082018-04-30 Tom Tromey <tom@tromey.com>
8009
8010 * gdb.python/py-type.exp: Check align attribute.
8011 * gdb.python/py-type.c: New "aligncheck" global.
8012
007e1530
TT
80132018-04-30 Tom Tromey <tom@tromey.com>
8014
8015 PR exp/17095:
8016 * gdb.dwarf2/dw2-align.exp: New file.
8017 * gdb.cp/align.exp: New file.
8018 * gdb.base/align.exp: New file.
8019 * lib/gdb.exp (gdb_int128_helper): New proc.
8020 (has_int128_c, has_int128_cxx): New caching procs.
8021
6873858b
TT
80222018-04-27 Tom Tromey <tom@tromey.com>
8023
8024 PR rust/22545:
8025 * gdb.rust/simple.exp: Add inclusive range tests.
8026
79188d8d
PA
80272018-04-26 Pedro Alves <palves@redhat.com>
8028
8029 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
8030 ifunc breakpoint locations correctly of ifunc breakpoints set
8031 while the program resolves the ifunc.
8032
c7075ad5
PA
80332018-04-26 Pedro Alves <palves@redhat.com>
8034
8035 * gdb.base/gnu-ifunc-final.c: New file.
8036 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
8037 * gdb.base/gnu-ifunc.exp (executable): Delete.
8038 (staticexecutable): Adjust.
8039 (lib_opts, exec_opts): Delete.
8040 (make_binsuffix, build, set-break): New procedures.
8041 (misc_tests): New, with tests factored out from the top level.
8042 (top level): Test different combinations of ifunc resolver name,
8043 resolver with and with debug info, and ifunc target with and
8044 without debug info. Wrap static tests with with_target_prefix.
8045
8388016d
PA
80462018-04-26 Pedro Alves <palves@redhat.com>
8047
8048 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
8049 return type" warnings.
8050
249b5733
PA
80512018-04-25 Pedro Alves <palves@redhat.com>
8052
8053 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
8054 killed".
8055 * gdb.base/kill-after-signal.exp: Likewise.
8056 * gdb.threads/kill.exp: Likewise.
8057
f67c0c91
SDJ
80582018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8059 Sergio Durigan Junior <sergiodj@redhat.com>
8060 Pedro Alves <palves@redhat.com>
8061
8062 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
8063 regexps to expect for '[Inferior ... detached]' as well.
8064 * gdb.base/attach.exp: Likewise.
8065 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
8066 "gdb_continue_to_end".
8067 (test_catch_syscall_with_wrong_args): Likewise.
8068 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
8069 ']'. Don't set 'verbose' on.
8070 * gdb.base/foll-vfork.exp: Likewise.
8071 * gdb.base/fork-print-inferior-events.c: New file.
8072 * gdb.base/fork-print-inferior-events.exp: New file.
8073 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
8074 '[Inferior ... has been killed]' message.
8075 * gdb.base/kill-after-signal.exp: Likewise.
8076 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
8077 detach message.
8078 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
8079 message.
8080 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
8081 regexps to expect for '[Inferior ... detached]' as well.
8082 * gdb.threads/process-dies-while-detaching.exp: Likewise.
8083
0a8ddac4
SM
80842018-04-24 Simon Marchi <simon.marchi@ericsson.com>
8085
8086 PR gdb/23104
8087 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
8088
701adfb0
PA
80892018-04-22 Rajendra SY <rajendra.sy@gmail.com>
8090
8091 PR gdb/23095
8092 * gdb.base/break-probes.exp: Pass shlib_load to
8093 prepare_for_testing. Set normal_bp to r_debug_state if target is
8094 bsd.
8095
d27d16bf
RB
80962018-04-19 Richard Bunt <richard.bunt@arm.com>
8097
8098 * gdb.threads/multiple-successive-infcall.c: New test.
8099 * gdb.threads/multiple-successive-infcall.exp: New file.
8100
a037790e
TT
81012018-04-17 Tom Tromey <tom@tromey.com>
8102
8103 * gdb.rust/simple.rs (Union): New type.
8104 (main): New local "u".
8105 * gdb.rust/simple.exp (test_one_slice): Add new test case.
8106
e3a91079
AA
81072018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8108
8109 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
8110 number information in output of "whereis" command.
8111 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
8112
b744723f
AA
81132018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8114
8115 * gdb.ada/info_types.exp: Adjust expected output to the line
8116 numbers now printed by "info var/func/type".
8117 * gdb.base/completion.exp: Likewise.
8118 * gdb.base/included.exp: Likewise.
8119 * gdb.cp/cp-relocate.exp: Likewise.
8120 * gdb.cp/cplusfuncs.exp: Likewise.
8121 * gdb.cp/namespace.exp: Likewise.
8122 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
8123
4a4495d6
MM
81242018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8125
8126 * gdb.btrace/cpu.exp: New.
8127
1d509aa6
MM
81282018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8129
8130 * gdb.base/step-indirect-call-thunk.exp: New.
8131 * gdb.base/step-indirect-call-thunk.c: New.
8132 * gdb.reverse/step-indirect-call-thunk.exp: New.
8133 * gdb.reverse/step-indirect-call-thunk.c: New.
8134
6295b6da
SM
81352018-04-11 Simon Marchi <simon.marchi@ericsson.com>
8136
8137 * gdb.base/pie-fork.c: New file.
8138 * gdb.base/pie-fork.exp: New file.
8139
50146e70
TT
81402018-04-11 Tom Tromey <tom@tromey.com>
8141
8142 * gdb.rust/simple.exp: Add test for ".." struct initializer.
8143
f50d8a2e
PA
81442018-04-10 Pedro Alves <palves@redhat.com>
8145
8146 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
8147 exits. Instead loop running forever.
8148 (fork_parent): Run forever too.
8149
a0be7a36
SM
81502018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8151
8152 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
8153 mi_continue_to_line.
8154 * gdb.mi/mi-stack.c (callee4): Add comment.
8155
9b73db36
SM
81562018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8157
8158 * gdb.mi/mi-stack.exp: Fix indentation.
8159
c912f608
SM
81602018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8161
8162 PR gdb/22979
8163 * gdb.arch/amd64-osabi.exp: New file.
8164
26540402
SM
81652018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8166
8167 PR gdb/22980
8168 * gdb.base/osabi.exp: New file.
8169
121ad66c 81702018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
8171
8172 * gdb.cp/static-typedef-print.exp: New file.
8173 * gdb.cp/static-typedef-print.cc: New file.
8174
3fcded8f
JB
81752018-03-27 Joel Brobecker <brobecker@adacore.com>
8176
8177 * gdb.ada/varsize_limit: New testcase.
8178
59cc4834
JB
81792018-03-27 Joel Brobecker <brobecker@adacore.com>
8180
8181 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
8182
8183 * gdb.ada/notcplusplus: New testcase.
8184
8185 * gdb.base/c-linkage-name.c: New file.
8186 * gdb.base/c-linkage-name.exp: New testcase.
8187
4ca59a9f
TT
81882018-03-26 Tom Tromey <tom@tromey.com>
8189
8190 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
8191 * gdb.python/py-framefilter.py (name_error): New global.
8192 (ErrorInName.function): Use name_error.
8193
978d6c75
TT
81942018-03-26 Tom Tromey <tom@tromey.com>
8195
8196 PR backtrace/15582:
8197 * gdb.python/py-framefilter.exp: Add "bt hide" test.
8198
b7fee5a3
KS
81992018-03-23 Keith Seitz <keiths@redhat.com>
8200
8201 PR c++/22968
8202 * gdb.cp/subtypes.exp: New file.
8203 * gdb.cp/subtypes.h: New file.
8204 * gdb.cp/subtypes.cc: New file.
8205 * gdb.cp/subtypes-2.cc: New file.
8206
376be529
AB
82072018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8208
8209 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
8210 (done): Call '_exit' not 'exit' to avoid atexit handlers.
8211 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
8212 -nostartfiles when compiling the test. Confirm that all registers
8213 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
8214
066cfa98
AB
82152018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8216
8217 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
8218 option, syntax was wrong anyway.
8219 * gdb.arch/arm-disp-step.exp: Likewise.
8220 * gdb.arch/sparc64-regs.exp: Likewise.
8221 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
8222 option, syntax was wrong anyway, switch to use
8223 prepare_for_testing.
8224 * gdb.arch/i386-disp-step.exp: Likewise.
8225
079670b9
AA
82262018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
8227
8228 * gdb.ada/exec_changed.exp: Replace "target_info exists
8229 use_gdb_stub" by "use_gdb_stub".
8230 * gdb.ada/start.exp: Likewise.
8231 * gdb.base/async-shell.exp: Likewise.
8232 * gdb.base/attach-pie-misread.exp: Likewise.
8233 * gdb.base/attach-wait-input.exp: Likewise.
8234 * gdb.base/break-entry.exp: Likewise.
8235 * gdb.base/break-interp.exp: Likewise.
8236 * gdb.base/dprintf-detach.exp: Likewise.
8237 * gdb.base/nostdlib.exp: Likewise.
8238 * gdb.base/solib-nodir.exp: Likewise.
8239 * gdb.base/statistics.exp: Likewise.
8240 * gdb.base/testenv.exp: Likewise.
8241 * gdb.mi/mi-exec-run.exp: Likewise.
8242 * gdb.mi/mi-start.exp: Likewise.
8243 * gdb.multi/dummy-frame-restore.exp: Likewise.
8244 * gdb.multi/multi-arch-exec.exp: Likewise.
8245 * gdb.multi/multi-arch.exp: Likewise.
8246 * gdb.multi/tids.exp: Likewise.
8247 * gdb.multi/watchpoint-multi.exp: Likewise.
8248 * gdb.python/py-events.exp: Likewise.
8249 * gdb.threads/attach-into-signal.exp: Likewise.
8250 * gdb.threads/attach-stopped.exp: Likewise.
8251 * gdb.threads/threadapply.exp: Likewise.
8252 * lib/selftest-support.exp: Likewise.
8253
26d6cec4
AA
82542018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
8255
8256 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
8257
4ee89e90
SR
82582018-03-20 Stephen Roberts <stephen.roberts@arm.com>
8259
8260 * gdb.perf/template-breakpoints.cc: New file.
8261 * gdb.perf/template-breakpoints.exp: New file.
8262 * gdb.perf/template-breakpoints.py: New file.
8263
92630041
TT
82642018-03-19 Tom Tromey <tom@tromey.com>
8265
8266 * gdb.rust/simple.rs (main): Add local variables field1, field2,
8267 y0.
8268 * gdb.rust/simple.exp: Test bare identifier form of struct
8269 initializer.
8270
76727919
TT
82712018-03-19 Tom Tromey <tom@tromey.com>
8272
8273 * gdb.gdb/observer.exp: Remove.
8274
194ed413
AA
82752018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8276
8277 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
8278 "qualified" option when setting breakpoints.
8279 * gdb.trace/backtrace.exp: Likewise.
8280 * gdb.trace/circ.exp: Likewise.
8281 * gdb.trace/collection.exp: Likewise.
8282 * gdb.trace/disconnected-tracing.exp: Likewise.
8283 * gdb.trace/ftrace-lock.exp: Likewise.
8284 * gdb.trace/ftrace.exp: Likewise.
8285 * gdb.trace/infotrace.exp: Likewise.
8286 * gdb.trace/packetlen.exp: Likewise.
8287 * gdb.trace/passc-dyn.exp: Likewise.
8288 * gdb.trace/qtro.exp: Likewise.
8289 * gdb.trace/read-memory.exp: Likewise.
8290 * gdb.trace/report.exp: Likewise.
8291 * gdb.trace/signal.exp: Likewise.
8292 * gdb.trace/status-stop.exp: Likewise.
8293 * gdb.trace/strace.exp: Likewise.
8294 * gdb.trace/tfind.exp: Likewise.
8295 * gdb.trace/trace-break.exp: Likewise.
8296 * gdb.trace/trace-condition.exp: Likewise.
8297 * gdb.trace/trace-mt.exp: Likewise.
8298 * gdb.trace/tstatus.exp: Likewise.
8299 * gdb.trace/tsv.exp: Likewise.
8300 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8301 * gdb.trace/unavailable.exp: Likewise.
8302 * gdb.trace/while-dyn.exp: Likewise.
8303
8b067d2c
AA
83042018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8305
8306 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
8307 that libinproctrace is copied to the target.
8308
3ae9ce5d
TT
83092018-03-14 Tom Tromey <tom@tromey.com>
8310
8311 PR cli/14977:
8312 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
8313 a null pointer.
8314 * gdb.base/wchar.exp: Likewise.
8315
b8c2339b
TT
83162018-03-14 Tom Tromey <tom@tromey.com>
8317
8318 PR cli/19918:
8319 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
8320 flag.
8321
4872dc46
SM
83222018-03-08 Simon Marchi <simon.marchi@ericsson.com>
8323
8324 PR gdb/22841
8325 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
8326 "target" to remote_exec.
8327
e4fe3756
SM
83282018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
8329
8330 PR gdb/22841
8331 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
8332 ${board}_upload): Remove.
8333
e95a97d4
AA
83342018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
8335
8336 * gdb.cp/watch-cp.cc: New test.
8337 * gdb.cp/watch-cp.exp: New file.
8338
dbbb1059
AB
83392018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8340
8341 * gdb.base/infcall-nested-structs.exp: New file.
8342 * gdb.base/infcall-nested-structs.c: New file.
8343 * gdb.base/float.exp: Add riscv support.
8344
ecc054c0
TP
83452018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
8346
8347 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
8348 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
8349
25e3c82c
SDJ
83502018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
8351
8352 * gdb.server/abspath.exp: New file.
8353 * lib/gdb.exp (with_cwd): New procedure.
8354
3083294d
SM
83552018-02-28 Simon Marchi <simon.marchi@ericsson.com>
8356
8357 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
8358 use it.
8359 (gdb_is_target_remote_prompt): New proc.
8360 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
8361 (gdb_is_target_native): Pass prompt parameter to
8362 gdb_is_target_1.
8363
3275ef47
SM
83642018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
8365
8366 * gdb.base/load-command.c: New file.
8367 * gdb.base/load-command.exp: New file.
8368 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
8369 (gdb_is_target_1): ...this, and generalize for other targets
8370 than just remote.
8371 (gdb_is_target_remote): Use gdb_is_target_1.
8372 (gdb_is_target_native): use gdb_is_target_1.
8373
6893c19a
TT
83742018-02-26 Tom Tromey <tom@tromey.com>
8375
8376 PR python/16497:
8377 * gdb.python/py-framefilter.exp: Update test.
8378
2ddeaf8a
TT
83792018-02-26 Tom Tromey <tom@tromey.com>
8380
8381 * gdb.dwarf2/variant.c: New file.
8382 * gdb.dwarf2/variant.exp: New file.
8383
c9317f21
TT
83842018-02-26 Tom Tromey <tom@tromey.com>
8385
8386 * gdb.rust/simple.exp: Accept more possible results in enum test.
8387
6f6d0c26
SM
83882018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
8389
8390 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
8391 parentheses.
8392
11b03145
MR
83932018-02-23 Maciej W. Rozycki <macro@mips.com>
8394
8395 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
8396 name of a variable: $actual_linejj -> $actual_line.
8397
54a27fe5
JB
83982018-02-21 John Baldwin <jhb@FreeBSD.org>
8399
8400 * gdb.arch/amd64-i386-address.exp: Fix a typo.
8401
de65820c
MM
84022018-02-20 Markus Metzger <markus.t.metzger@intel.com>
8403
8404 * gdb.btrace/buffer-size.exp: Do not force BTS.
8405
980548fd
PA
84062018-02-14 Pedro Alves <palves@redhat.com>
8407
8408 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
8409 getting a "Quit".
8410
c4e12631
MM
84112018-02-09 Markus Metzger <markus.t.metzger@intel.com>
8412
8413 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
8414 Fix test name.
8415
c2e0e465
SM
84162018-02-07 Simon Marchi <simon.marchi@ericsson.com>
8417
8418 * gdb.cp/m-static.exp: Check type of optimized out static
8419 member.
8420
f7216783
AB
84212018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
8422
8423 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
8424 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
8425
0625771b
LS
84262018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
8427 Leszek Swirski <leszeks@google.com>
8428
8429 * gdb.python/py-prettyprint.c
8430 (struct to_string_returns_value_inner,
8431 struct to_string_returns_value_wrapper): New.
8432 (main): Add tsrvw variable.
8433 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
8434 ToStringReturnsValueWrapper): New classes.
8435 (register_pretty_printers): Register new pretty-printers.
8436 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
8437 recursive pretty printer.
8438 * gdb.python/py-mi.exp: Likewise.
8439
59498c30
LS
84402018-02-01 Leszek Swirski <leszeks@google.com>
8441
8442 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
8443 functions with the same name as an include file are parsed
8444 correctly.
8445
d4d38844
YQ
84462018-02-01 Yao Qi <yao.qi@linaro.org>
8447
8448 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
8449 "\[^\r\n\]*".
8450
07e5f5cf
NP
84512018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
8452
8453 * gdb.arch/powerpc-prologue-frame.s: New file.
8454 * gdb.arch/powerpc-prologue-frame.c: Likewise.
8455 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
8456
929b5ad4
JB
84572018-01-31 Joel Brobecker <brobecker@adacore.com>
8458
8459 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
8460
e671cd59
PA
84612018-01-30 Pedro Alves <palves@redhat.com>
8462
8463 PR gdb/13211
8464 * gdb.base/interrupt-daemon.c: New.
8465 * gdb.base/interrupt-daemon.exp: New.
8466 * gdb.multi/multi-term-settings.c: New.
8467 * gdb.multi/multi-term-settings.exp: New.
8468
fc413dc4
JB
84692018-01-30 Joel Brobecker <brobecker@adacore.com>
8470
8471 * gdb.base/break.exp: Save the location where the breakpoint
8472 on break.c:47 was actually inserted when debugging the version
8473 compiled at -O2 and use it in the expected output of the "info
8474 break" test performed soon after.
8475
5c319bb2
PA
84762018-01-22 Pedro Alves <palves@redhat.com>
8477 Sergio Durigan Junior <sergiodj@redhat.com>
8478
8479 * gdb.base/whatis.exp: Add tests for 'set print object on' +
8480 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
8481
a9e40818
JB
84822018-01-22 Joel Brobecker <brobecker@adacore.com>
8483
8484 * gdb.base/break-include.c, gdb.base/break-include.inc,
8485 gdb.base/break-include.exp: New files.
8486 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
8487 line number now being the actual line number where the breakpoint
8488 was inserted.
8489 * gdb.mi/mi-break.exp: Likewise.
8490 * gdb.mi/mi-reverse.exp: Likewise.
8491 * gdb.mi/mi-simplerun.exp: Ditto.
8492
e707fc44
AB
84932018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8494
8495 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
8496 varobj.
8497 * gdb.mi/mi-var-create-rtti.exp: Likewise.
8498
ae451627
AB
84992018-01-21 Don Breazeal <donb@codesourcery.com>
8500 Andrew Burgess <andrew.burgess@embecosm.com>
8501
8502 * gdb.mi/basics.c: Add new global.
8503 * gdb.mi/mi-frame-regs.exp: New file.
8504 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
8505 case.
8506
b1b189e0
AB
85072018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8508
8509 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
8510 non-parameter, and on an unknown symbol.
8511
fcfcc376
TT
85122018-01-19 Tom Tromey <tom@tromey.com>
8513
8514 * gdb.rust/modules.rs (TWENTY_THREE): New global.
8515 * gdb.rust/modules.exp: Add ::-qualified lookup test.
8516
634c1c31
AA
85172018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8518
8519 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
8520 setrlimit and chdir to int.
8521
d6ad07fd
AA
85222018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8523
8524 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
8525 function.
8526 (my_tend): Likewise.
8527 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
8528 rationale of avoiding FP- and vector instructions.
8529
adf8243b
RK
85302018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
8531
8532 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
8533 "info reg" with "\[ \t\]*".
8534 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
8535 "\[ \t\]+".
8536 * gdb.arch/s390-multiarch.exp: Ditto.
8537 * gdb.base/pc-fp.exp: Ditto.
8538 * gdb.reverse/i386-precsave.exp: Ditto.
8539 * gdb.reverse/i386-reverse.exp: Ditto.
8540 * gdb.reverse/i387-env-reverse.exp: Ditto.
8541 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8542
dcc06925
AA
85432018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8544
8545 * lib/gdb.exp (gdb_compile): Re-enable use of
8546 universal_compile_options for languages other than Rust.
8547
25d4fd80
AA
85482018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8549
8550 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
8551
ee7f689e 85522018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
8553
8554 PR gdb/16577
8555 * gdb.base/solib-vanish.exp: New.
8556 * gdb.base/solib-vanish-main.c: New.
8557 * gdb.base/solib-vanish-lib1.c: New.
8558 * gdb.base/solib-vanish-lib2.c: New.
8559
d8447b6b
YQ
85602018-01-17 Yao Qi <yao.qi@linaro.org>
8561
8562 * gdb.compile/compile.exp: Match the address printed for
8563 frame in the output of command "bt".
8564
86d6a90c
TT
85652018-01-15 Tom Tromey <tom@tromey.com>
8566
8567 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
8568 compute sp_reg.
8569
cbcdb1aa
AB
85702018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8571
8572 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
8573 to prepare.
8574 (prepare): Return 0 on error, 1 on success.
8575
eea61984
PA
85762018-01-12 Pedro Alves <palves@redhat.com>
8577
8578 * gdb.base/continue-after-aborted-step-over.c: New.
8579 * gdb.base/continue-after-aborted-step-over.exp: New.
8580
6181e9c2
SM
85812018-01-11 Simon Marchi <simon.marchi@ericsson.com>
8582
8583 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
8584 options when not creating an executable.
8585
3cada740
PA
85862018-01-11 Pedro Alves <palves@redhat.com>
8587
8588 PR remote/22597
8589 * gdb.server/stop-reply-no-thread.c: New file.
8590 * gdb.server/stop-reply-no-thread.exp: New file.
8591
c63d3e8d
PA
85922018-01-10 Pedro Alves <palves@redhat.com>
8593
8594 PR gdb/22670
8595 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
8596 functions too. Test setting breakpoints and printing C functions
8597 with no debug info too.
8598 * gdb.ada/bp_c_mixed_case/qux.c: New file.
8599
d4c2a405
PA
86002018-01-10 Pedro Alves <palves@redhat.com>
8601
8602 PR gdb/22670
8603 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
8604 a fail.
8605
8825213e
PA
86062018-01-10 Pedro Alves <palves@redhat.com>
8607
8608 PR gdb/22670
8609 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
8610
605fd3c6
YQ
86112018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8612
8613 * gdb.server/unittest.exp: Match the output in non-development
8614 mode.
8615
1e5ded6c
YQ
86162018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8617
8618 * gdb.gdb/unittest.exp: Match output in non-development mode.
8619
30066b0b
JB
86202018-01-08 Joel Brobecker <brobecker@adacore.com>
8621
8622 * gdb.ada/access_tagged_param.exp: Relax expected output
8623 for value of "ObjL" in "continue" to pck.inspect breakpoint
8624 test.
8625
04bafb1e
XR
86262018-01-08 Joel Brobecker <brobecker@adacore.com>
8627
9f86398b
JB
8628 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
8629 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 8630
e379cee6
PA
86312018-01-05 Pedro Alves <palves@redhat.com>
8632
8633 PR gdb/18653
8634 * gdb.base/libsegfault.exp: New.
8635
de63c46b
PA
86362018-01-05 Joel Brobecker <brobecker@adacore.com>
8637
8638 PR gdb/22670
8639 * gdb.ada/access_tagged_param.exp: New file.
8640 * gdb.ada/access_tagged_param/foo.adb: New file.
8641
f98fc17b
PA
86422018-01-05 Pedro Alves <palves@redhat.com>
8643
8644 PR gdb/22670
8645 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
8646 exercise lower case too, and to exercise both full matching and
8647 wild matching.
8648
342f8240
JB
86492018-01-05 Joel Brobecker <brobecker@adacore.com>
8650
8651 * gdb.ada/rename_subscript_param: New testcase.
8652
7150d33c
JG
86532018-01-05 Jerome Guitton <guitton@adacore.com>
8654
8655 * gdb.ada/arr_acc_idx_w_gap: New testcase.
8656
cc0e770c
JB
86572018-01-05 Joel Brobecker <brobecker@adacore.com>
8658
8659 * gdb.ada/convvar_comp: New testcase.
8660
672a41aa 86612018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
8662
8663 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
8664 (My_Table): New global variable.
8665 * testsuite/gdb.ada/array_char_idx.exp: Add test.
8666
7365ec2f
JB
86672018-01-04 Joel Brobecker <brobecker@adacore.com>
8668
8669 PR gdb/22670
8670 * gdb.ada/maint_with_ada: New testcase.
8671
289483b6
JB
86722018-01-04 Joel Brobecker <brobecker@adacore.com>
8673
8674 PR gdb/22670
8675 * gdb.ada/bp_c_mixed_case: New testcase.
8676
344420da
JB
86772018-01-04 Joel Brobecker <brobecker@adacore.com>
8678
8679 PR gdb/22670
8680 * gdb.ada/complete.exp: Add "complete break ada" test.
8681
66fc87a0
JB
86822018-01-04 Joel Brobecker <brobecker@adacore.com>
8683
8684 PR gdb/22670
8685 * gdb.ada/info_addr_mixed_case: New testcase.
8686
9f757bf7
XR
86872018-01-03 Xavier Roirand <roirand@adacore.com>
8688
8689 * gdb.ada/excep_handle.exp: New testcase.
8690 * gdb.ada/excep_handle/foo.adb: New file.
8691 * gdb.ada/excep_handle/pck.ads: New file.
8692
bd570f80
JB
86932018-01-03 Joel Brobecker <brobecker@adacore.com>
8694
8695 * gdb.base/step-line.c: Add extra empty line in copyright header.
8696 * gdb.base/step-line.inp: Likewise.
8697
9fe561ab
JB
86982018-01-02 Joel Brobecker <brobecker@adacore.com>
8699
8700 * gdb.ada/dyn_stride.exp: Add slice test.
8701
a405673c
JB
87022018-01-02 Joel Brobecker <brobecker@adacore.com>
8703
8704 * gdb.ada/dyn_stride: New testcase.
8705
cef0f868
SH
87062017-12-27 Stafford Horne <shorne@gmail.com>
8707
8708 * gdb.xml/extra-regs.xml: Add example foo reggroup.
8709 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
8710
b67d92b0
SH
87112017-12-27 Stafford Horne <shorne@gmail.com>
8712
8713 * gdb.base/reggroups.c: New file.
8714 * gdb.base/reggroups.exp: New file.
8715
eccab96d
JB
87162017-12-18 Joel Brobecker <brobecker@adacore.com>
8717
8718 * gdb.dwarf2/ada-valprint-error.c: New file.
8719 * gdb.dwarf2/ada-valprint-error.exp: New file.
8720
0e2da9f0
JB
87212017-12-18 Joel Brobecker <brobecker@adacore.com>
8722
8723 * gdb.ada/assign_arr: New testcase.
8724
cb923fcc
XR
87252017-12-18 Xavier Roirand <roirand@adacore.com>
8726
8727 * gdb.ada/funcall_ptr: New testcase.
8728
7c161838
SDJ
87292017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8730
8731 PR cli/16224
8732 * gdb.base/ptype-offsets.cc: New file.
8733 * gdb.base/ptype-offsets.exp: New file.
8734
1af17fd9
YQ
87352017-12-15 Yao Qi <yao.qi@linaro.org>
8736
8737 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
8738 if XML is disabled.
8739
828d5846
XR
87402017-12-15 Xavier Roirand <roirand@adacore.com>
8741
8742 * gdb.ada/same_component_name: New testcase.
8743
79e8fcaa
JB
87442017-12-14 Joel Brobecker <brobecker@adacore.com>
8745
8746 * gdb.ada/str_binop_equal: New testcase.
8747
e05fa6f9
JB
87482017-12-14 Joel Brobecker <brobecker@adacore.com>
8749
8750 * gdb.ada/task_switch_in_core: New testcase.
8751
b89641ba
SM
87522017-12-13 Simon Marchi <simon.marchi@ericsson.com>
8753
8754 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
8755 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
8756 call test_bkpt_qualified.
8757 (test_bkpt_qualified): New proc.
8758
6892d2e4
PA
87592017-12-13 Pedro Alves <palves@redhat.com>
8760
8761 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
8762 Tighten regexp by matching with an anchor.
8763
a22ecf70
PA
87642017-12-13 Pedro Alves <palves@redhat.com>
8765
8766 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
8767 ("expression with namespace"): New set of tests.
8768 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
8769 (Nested::Test_NS::qux): New.
8770 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
8771 defaults to 'start_quote_char' and 'end_quote_char' parameters.
8772
9937536c
JB
87732017-12-13 Joel Brobecker <brobecker@adacore.com>
8774
8775 * gdb.base/server-del-break.c: New file.
8776 * gdb.base/server-del-break.exp: New file.
8777
fe49c6f5
SH
87782017-12-12 Stafford Horne <shorne@gmail.com>
8779
8780 * gdb.xml/tdesc-regs.exp: Add or1k support.
8781
c3d18620
SH
87822017-12-12 Stafford Horne <shorne@gmail.com>
8783
8784 * gdb.base/bp-permanent.c: Define nop of or1k.
8785
c5f9cfc8
JB
87862017-12-11 Joel Brobecker <brobecker@adacore.com>
8787
8788 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
8789 output with components being reordered.
8790
a9c135fc
JB
87912017-12-11 Joel Brobecker <brobecker@adacore.com>
8792
8793 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
8794 output with components being reordered.
8795
927aa2e7
JK
87962017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8797 Pedro Alves <palves@redhat.com>
8798
8799 * gdb.base/maint.exp (check for .gdb_index): Check also for
8800 .debug_names.
8801 * gdb.dlang/watch-loc.c (.debug_aranges): New.
8802 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
8803 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
8804 (.gdb_index used after symbol reloading): Support also .debug_names.
8805 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
8806
f17d9474
YQ
88072017-12-08 Yao Qi <yao.qi@linaro.org>
8808
8809 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8810 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
8811
a0de8c21
YQ
88122017-12-08 Yao Qi <yao.qi@linaro.org>
8813
8814 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8815 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
8816
a738ea1d
YQ
88172017-12-08 Yao Qi <yao.qi@linaro.org>
8818
8819 * gdb.arch/aarch64-tagged-pointer.c: New file.
8820 * gdb.arch/aarch64-tagged-pointer.exp: New file.
8821
1cd9a73b
SDJ
88222017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
8823
8824 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
8825 "int".
8826
fa6eb693
KS
88272017-12-07 Keith Seitz <keiths@redhat.com>
8828
8829 PR breakpoints/22569
8830 * gdb.linespec/ls-errs.exp: Change expected result of "break
8831 -source this file has spaces.c -line 3".
8832 Check that an explicit source file followed by whitespace is
8833 identified as an invalid explicit location.
8834
883fd55a
KS
88352017-12-07 Keith Seitz <keiths@redhat.com>
8836
8837 * gdb.cp/nested-types.cc: New file.
8838 * gdb.cp/nested-types.exp: New file.
8839 * lib/cp-support.exp: Load data-structures.exp library.
8840 (debug_cp_test_ptype_class): New global.
8841 (cp_ptype_class_verbose, next_line): New procedures.
8842 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
8843 Add and document new return value.
8844 Switch the list of lines to a queue.
8845 Add support for new `type' key for nested type definitions.
8846 Add debugging/troubleshooting messages.
8847 * lib/data-structures.exp: New file.
8848
ec72db3e
SM
88492017-12-07 Simon Marchi <simon.marchi@ericsson.com>
8850
8851 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
8852 with proc_with_prefix, don't use with_test_prefix.
8853
99598d71
TT
88542017-12-07 Tom Tromey <tom@tromey.com>
8855
8856 * gdb.base/break.exp: Add test for empty "commands".
8857
a8806230
YQ
88582017-12-07 Yao Qi <yao.qi@linaro.org>
8859
8860 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
8861 malloc and catch syscall.
8862
824cc835
PM
88632017-12-07 Phil Muldoon <pmuldoon@redhat.com>
8864
e79be6e5 8865 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
8866 tests for explicit locations.
8867
7cc244de
PA
88682017-12-06 Pedro Alves <palves@redhat.com>
8869
8870 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
8871 force-disabling XML descriptions.
8872
50a1fdd5
PA
88732017-12-04 Pedro Alves <palves@redhat.com>
8874
8875 PR gdb/22499
8876 * gdb.arch/amd64-disp-step-avx.S: New file.
8877 * gdb.arch/amd64-disp-step-avx.exp: New file.
8878
f0fb2488
PA
88792017-12-03 Pedro Alves <palves@redhat.com>
8880
8881 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
8882 and <string.h>.
8883 (parent_function): Print distinct messages when waitpid fails, or
8884 the child exits with a signal, or the child exits for an unhandled
8885 reason.
8886 * gdb.threads/process-dies-while-detaching.exp
8887 (detach_and_expect_exit): New 'inf_output_re' parameter and use
8888 it. Wait for both inferior output and GDB's prompt. Use an
8889 indirect spawn id list.
8890 (do_detach): New parameter 'child_exit'. Use it to compute
8891 expected inferior output.
8892 (test_detach, test_detach_watch, test_detach_killed_outside):
8893 Adjust to pass down the expected child exit kind.
8894
97cbe998
SDJ
88952017-12-01 Joel Brobecker <brobecker@adacore.com>
8896 Sergio Durigan Junior <sergiodj@redhat.com>
8897 Pedro Alves <palves@redhat.com>
8898
8899 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
8900
40fc416f
SDJ
89012017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
8902
8903 * gdb.base/relocate.exp: Add tests to guarantee that arguments
8904 to 'symbol-file' and 'add-symbol-file' can be
8905 position-independent.
8906
1cc75e92
YQ
89072017-12-01 Yao Qi <yao.qi@linaro.org>
8908
8909 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
8910 the URL in copyright header.
8911 * gdb.arch/aarch64-fp.exp: Likewise.
8912 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
8913 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
8914 * gdb.base/expand-psymtabs.exp: Likewise.
8915 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
8916 * gdb.fortran/common-block.exp: Likewise.
8917 * gdb.fortran/common-block.f90: Likewise.
8918 * gdb.fortran/logical.exp: Likewise.
8919 * gdb.fortran/vla-datatypes.f90: Likewise.
8920 * gdb.fortran/vla-sub.f90: Likewise.
8921
875fb7a7
JB
89222017-11-30 Joel Brobecker <brobecker@adacore.com>
8923
8924 * gdb.ada/repeat_dyn: New testcase.
8925
6f14765f
UW
89262017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8927
8928 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
8929 Update for changed thread numbering.
8930 * gdb.cell/bt.exp: Update for changed GDB output.
8931
f1af7b94
SM
89322017-11-30 Simon Marchi <simon.marchi@ericsson.com>
8933
8934 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
8935 setting isremote by hand.
8936 * boards/dwarf4-gdb-index.exp: Likewise.
8937 * boards/fission.exp: Likewise.
8938 * boards/stabs.exp: Likewise.
8939
e3919f3e
PA
89402017-11-30 Pedro Alves <palves@redhat.com>
8941
8942 * gdb.linespec/cpls-ops.exp
8943 (check_explicit_skips_function_argument): Extract the underlying
8944 type of size_t instead of hardcoding it.
8945
bd69330d
PA
89462017-11-29 Pedro Alves <palves@redhat.com>
8947
8948 PR c++/19436
8949 * gdb.linespec/cpls-abi-tag.cc: New file.
8950 * gdb.linespec/cpls-abi-tag.exp: New file.
8951
a20714ff
PA
89522017-11-29 Pedro Alves <palves@redhat.com>
8953
8954 * gdb.base/langs.exp: Use -qualified.
8955 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
8956 it.
8957 * gdb.cp/namespace.exp: Use -qualified.
8958 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
8959 (overload-3, template-overload, template-ret-type, const-overload)
8960 (const-overload-quoted, anon-ns, ambiguous-prefix): New
8961 procedures.
8962 (test_driver): Call them.
8963 * gdb.cp/save-bp-qualified.cc: New.
8964 * gdb.cp/save-bp-qualified.exp: New.
8965 * gdb.linespec/explicit.exp: Test -qualified.
8966 * lib/completion-support.exp (completion::explicit_opts_list): Add
8967 "-qualified".
8968 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
8969
f6f1d339
PM
89702017-11-29 Phil Muldoon <pmuldoon@redhat.com>
8971
8972 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
8973
02ca603a
TT
89742017-11-29 Tom Tromey <tom@tromey.com>
8975
8976 * gdb.base/relocate.exp: Update invalid argument test.
8977 Add new tests for invalid arguments.
8978
ed6c0bfb
TP
89792017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8980
8981 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
8982 Return 0 as a long.
8983 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
8984
f106e10e
TP
89852017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8986
8987 * gdb.cp/breakpoint.cc (bar): Set return type to void.
8988 * gdb.cp/psymtab-parameter.cc (func): Likewise.
8989 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
8990 func ().
8991 * gdb.cp/shadow.cc (B.func): Return 0.
8992
10329bb2
JB
89932017-11-27 Joel Brobecker <brobecker@adacore.com>
8994
8995 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
8996 expected output in gdb_expect call to allow the exception
8997 message to be present as well. Fix syntax confusion to avoid
8998 TCL thinking that exception_name is an array.
8999
617cd4bc
UW
90002017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
9001
9002 * gdb.arch/spu-info.c: Include <unistd.h>.
9003 (do_signal_test): Fix broken calls to write.
9004 * gdb.arch/spu-info.exp: Use prepare_for_testing.
9005 Fix checks for empty mailboxes. Update signal tests for corrected
9006 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
9007 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
9008 * gdb.cell/arch.exp: Use standard_output_file.
9009 * gdb.cell/break.exp: Likewise.
9010 * gdb.cell/bt.exp: Likewise.
9011 * gdb.cell/core.exp: Likewise.
9012 * gdb.cell/dwarfaddr.exp: Likewise.
9013 * gdb.cell/ea-cache.exp: Likewise.
9014 * gdb.cell/ea-standalone.exp: Likewise.
9015 * gdb.cell/f-regs.exp: Likewise.
9016 * gdb.cell/fork.exp: Likewise.
9017 * gdb.cell/gcore.exp: Likewise.
9018 * gdb.cell/mem-access.exp: Likewise.
9019 * gdb.cell/ptype.exp: Likewise.
9020 * gdb.cell/registers.exp: Likewise.
9021 * gdb.cell/sizeof.exp: Likewise.
9022 * gdb.cell/solib-symbol.exp: Likewise.
9023 * gdb.cell/solib.exp: Likewise.
617cd4bc 9024
a81aaca0
PA
90252017-11-25 Pedro Alves <palves@redhat.com>
9026
9027 * gdb.base/complete-empty.exp: New file.
9028 * gdb.base/completion.exp: Adjust.
9029
6a3c6ee4
PA
90302017-11-25 Pedro Alves <palves@redhat.com>
9031
9032 * gdb.linespec/cpls-ops.cc: New file.
9033 * gdb.linespec/cpls-ops.exp: New file.
9034 * lib/completion-support.exp (test_complete_prefix_range_re): New,
9035 factored out from ...
9036 (test_complete_prefix_range): ... this.
9037
8955eb2d
PA
90382017-11-24 Pedro Alves <palves@redhat.com>
9039
9040 * gdb.linespec/cpcompletion.exp: New file.
9041 * gdb.linespec/cpls-hyphen.cc: New file.
9042 * gdb.linespec/cpls.cc: New file.
9043 * gdb.linespec/cpls2.cc: New file.
9044 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
9045 test to use test_gdb_complete_unique. Add label completion,
9046 keyword completion and explicit location completion tests.
9047 * lib/completion-support.exp: New file.
9048
e547c119
JB
90492017-11-24 Joel Brobecker <brobecker@adacore.com>
9050
9051 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
9052 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
9053 when hitting an exception catchpoint.
9054
7c3c1aa8
YQ
90552017-11-22 Yao Qi <yao.qi@linaro.org>
9056
9057 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
9058
41bd68f5
SM
90592017-11-22 Simon Marchi <simon.marchi@ericsson.com>
9060
9061 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
9062 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
9063 * gdb.dwarf2/info-locals-optimized-out.c: New file.
9064
1daad298
YQ
90652017-11-22 Yao Qi <yao.qi@linaro.org>
9066
9067 * gdb.base/info-os.exp: Pass pthreads.
9068 * gdb.multi/multi-attach.exp: Likewise.
9069
88465e87
YQ
90702017-11-22 Yao Qi <yao.qi@linaro.org>
9071
9072 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
9073 compiler.
9074
dc196b23
YQ
90752017-11-22 Yao Qi <yao.qi@linaro.org>
9076
9077 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
9078 * gdb.base/break-interp.exp: Likewise.
9079 * gdb.base/jit-attach-pie.exp: Likewise.
9080
2400729e
UW
90812017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9082
9083 * gdb.base/float128.c (large128): New variable.
9084 * gdb.base/float128.exp: Add test to print largest __float128 value.
9085
7a26362d
UW
90862017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9087
9088 * gdb.arch/vsx-regs.exp: Update register content checks.
9089
ed0f4273
UW
90902017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
9091
9092 * gdb.arch/ppc-longdouble.exp: New file.
9093 * gdb.arch/ppc-longdouble.c: Likewise.
9094
a25d69c6
PA
90952017-11-21 Pedro Alves <palves@redhat.com>
9096
9097 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
9098
73fcf641
PA
90992017-11-20 Pedro Alves <palves@redhat.com>
9100
9101 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
9102 (long_double_typedef): New typedefs.
9103 Use DEF on double and long double.
9104 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
9105 cases.
9106 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
9107 and 'long_double_ptr_same_size' locals. Use them to decide
9108 whether cast from array/function to float is valid/invalid.
9109
71a3c369
TT
91102017-11-17 Tom Tromey <tom@tromey.com>
9111
9112 * gdb.rust/traits.rs: New file.
9113 * gdb.rust/traits.exp: New file.
9114
ced9779b
JB
91152017-11-17 Joel Brobecker <brobecker@adacore.com>
9116
9117 * gdb.ada/minsyms: New testcase.
9118
a0922d80
PA
91192017-11-16 Pedro Alves <palves@redhat.com>
9120
9121 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
9122 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
9123
ea04e54c
PA
91242017-11-16 Pedro Alves <palves@redhat.com>
9125
9126 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
9127 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
9128
e849ea89
PA
91292017-11-16 Pedro Alves <palves@redhat.com>
9130
9131 * gdb.server/reconnect-ctrl-c.c: New file.
9132 * gdb.server/reconnect-ctrl-c.exp: New file.
9133
d8ae99a7
PM
91342017-11-16 Phil Muldoon <pmuldoon@redhat.com>
9135
9136 * gdb.python/py-rbreak.exp: New file.
9137 * gdb.python/py-rbreak.c: New file.
9138 * gdb.python/py-rbreak-func2.c: New file.
9139
968a13f8
PA
91402017-11-16 Pedro Alves <palves@redhat.com>
9141
9142 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
9143 pattern.
9144 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
9145 GDB.
9146
71774bc9
SM
91472017-11-15 Simon Marchi <simon.marchi@ericsson.com>
9148
9149 * gdb.tui/completionn.exp (test_tab_completion): Add space in
9150 regex.
9151
ddbb44cf
SM
91522017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
9153
9154 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
9155 test names.
9156
584a564f
PA
91572017-11-09 Pedro Alves <palves@redhat.com>
9158
9159 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
9160 factored out from ...
9161 (top level): ... here, and adjusted to avoid expecting beyond the
9162 prompt in a single gdb_test_multiple.
9163
5ed7a928
PA
91642017-11-09 Pedro Alves <palves@redhat.com>
9165
9166 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
9167 output.
9168 * gdb.server/ext-attach.exp ("kill" test): Likewise.
9169 * gdb.server/ext-restart.exp ("kill" test): Likewise.
9170 * gdb.server/ext-run.exp ("kill" test): Likewise.
9171 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
9172
a60e0738
PA
91732017-11-09 Pedro Alves <palves@redhat.com>
9174
9175 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
9176 match till end of line.
9177
2c88253f
PA
91782017-11-09 Pedro Alves <palves@redhat.com>
9179
9180 * gdb.base/memattr.exp: Tighten regexes to match the end line.
9181
c7a38517
PA
91822017-11-09 Pedro Alves <palves@redhat.com>
9183
9184 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
9185 New procedures, factored out from ...
9186 (top level): ... here, and adjusted to avoid expecting beyond the
9187 prompt in one go.
9188
f29f4b6b
PA
91892017-11-09 Pedro Alves <palves@redhat.com>
9190
9191 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
9192 output. Fix '?' match.
9193
286acbb5
JB
91942017-11-08 Joel Brobecker <brobecker@adacore.com>
9195
9196 * gdb.ada/scoped_watch: New testcase.
9197 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
9198 which is actually correct.
9199 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
9200 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
9201
62d7ae92
PA
92022017-11-08 Pedro Alves <palves@redhat.com>
9203
9204 * gdb.gdb/complaints.exp (test_initial_complaints)
9205 (test_serial_complaints, test_short_complaints): Call
9206 complaint_internal instead of complaint.
9207
280ca31f
DT
92082017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
9209
9210 * gdb.threads/tls-core.c: New file.
9211 * gdb.threads/tls-core.exp: Likewise.
9212
b5ec771e
PA
92132017-11-08 Pedro Alves <palves@redhat.com>
9214
9215 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
9216 (p Exported_Capitalized): New test.
9217 (p exported_capitalized): New test.
9218
a02b41a7
PA
92192017-11-07 Pedro Alves <palves@redhat.com>
9220
9221 * gdb.cp/ena-dis-br-range.exp: Add more tests.
9222
95e95a6d
PA
92232017-11-07 Pedro Alves <palves@redhat.com>
9224
9225 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
9226 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
9227 (disable_invalid, disable_inverted, disable_negative): New
9228 procedures.
9229 ("bad numbers"): New set of tests.
9230
cee62dbd
PA
92312017-11-07 Pedro Alves <palves@redhat.com>
9232
9233 * gdb.cp/ena-dis-br-range.exp: Add tests.
9234
cc638e86
PA
92352017-11-07 Pedro Alves <palves@redhat.com>
9236
9237 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
9238
d0fe4701
XR
92392017-11-07 Xavier Roirand <roirand@adacore.com>
9240 Pedro Alves <palves@redhat.com>
9241
9242 * gdb.base/ena-dis-br.exp: Add reference to
9243 gdb.cp/ena-dis-br-range.exp.
9244 * gdb.cp/ena-dis-br-range.exp: New file.
9245 * gdb.cp/ena-dis-br-range.cc: New file.
9246
46f67f80
PA
92472017-11-06 Pedro Alves <palves@redhat.com>
9248
9249 * gdb.base/attach-non-pgrp-leader.c: New.
9250 * gdb.base/attach-non-pgrp-leader.exp: New.
9251
726e1356
PA
92522017-11-06 Pedro Alves <palves@redhat.com>
9253
9254 * configure.ac: No longer check for termio.h and sgtty.h.
9255 * configure: Regenerate.
9256 * remote-utils.c: Include termios.h instead of gdb_termios.h.
9257 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
9258 Remove termio and sgtty code.
9259
50ab6ace
YQ
92602017-11-03 Yao Qi <yao.qi@linaro.org>
9261
9262 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
9263 in GDB is disabled.
9264
8e68731c
YQ
92652017-11-03 Yao Qi <yao.qi@linaro.org>
9266
9267 * gdb.python/py-thrhandle.exp: Skip it if python is not
9268 enabled.
9269
3a87ae65
SM
92702017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
9271
9272 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
9273 as a breakpoint command.
9274
484d8d36
MD
92752017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
9276
9277 PR python/21213
9278 * gdb.python/py-infthread.exp: Test calling
9279 InferiorThread.inferior () multiple times in a row.
9280
4a27f119
KS
92812017-10-27 Keith Seitz <keiths@redhat.com>
9282
9283 * gdb.opt/inline-break.exp (break_info_1): New procedure.
9284 Test "info break" for every inlined function breakpoint.
9285
bb11dd58
YQ
92862017-10-27 Yao Qi <yao.qi@linaro.org>
9287
9288 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
9289
a43f3893
PF
92902017-10-26 Patrick Frants <osscontribute@gmail.com>
9291
9292 * gdb.cp/classes.exp (test_static_members): Test printing
9293 Outer::instance.
9294 * gdb.cp/classes.c (struct Inner, struct Outer): New.
9295 (Inner::instance, Outer::instance): New.
9296
792ccf00
PA
92972017-10-24 Pedro Alves <palves@redhat.com>
9298
9299 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
9300 extra console" test in two stages.
9301
eb2bfbad
PA
93022017-10-24 Pedro Alves <palves@redhat.com>
9303
9304 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
9305
1f75a651
PA
93062017-10-24 Pedro Alves <palves@redhat.com>
9307
9308 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
9309 loop.
9310
779990d9
PA
93112017-10-24 Pedro Alves <palves@redhat.com>
9312
9313 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
9314 $attempt" and "stoppedtry $stoppedtry" test prefixes.
9315
ad9b8f5d
PA
93162017-10-24 Pedro Alves <palves@redhat.com>
9317
9318 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
9319 parameter and handle it. Don't output read value in test name.
9320
fee6da6e
PA
93212017-10-24 Pedro Alves <palves@redhat.com>
9322
9323 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
9324 custom test name.
9325
10389c2c
PA
93262017-10-24 Pedro Alves <palves@redhat.com>
9327
9328 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
9329 include the unstable output directory name in the test's name.
9330 (initial_setup_simple) <'set args'>: Use custom test name.
9331
a80e65a9
PA
93322017-10-24 Pedro Alves <palves@redhat.com>
9333
9334 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
9335 with explicit test name.
9336
15763a09
PA
93372017-10-20 Pedro Alves <palves@redhat.com>
9338
9339 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
9340 'wait -i'. Use gdb_assert and remote_close.
9341
49a4ce2e
AB
93422017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
9343
9344 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
9345 number from variable rather than hard-coded.
9346
a75868f5
PA
93472017-10-19 Pedro Alves <palves@redhat.com>
9348
9349 * gdb.base/long-inferior-output.c: New file.
9350 * gdb.base/long-inferior-output.exp: New file.
9351
c8ba13ad
KS
93522017-11-18 Keith Seitz <keiths@redhat.com>
9353
9354 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
9355 method.
9356 (main): Call it.
9357 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
9358 Add additional user-defined conversion operator tests.
9359
b27de576
PA
93602017-10-17 Pedro Alves <palves@redhat.com>
9361
9362 * boards/native-stdio-gdbserver.exp: Load "local-board".
9363
8484c955
PA
93642017-10-17 Pedro Alves <palves@redhat.com>
9365
9366 * gdb.base/quit-live.c: New file.
9367 * gdb.base/quit-live.exp: New file.
9368
83d5a34d
KS
93692017-10-16 Keith Seitz <keiths@redhat.com>
9370
9371 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
9372 (class_with_protected_typedef, class_with_private_typedef)
9373 (struct_with_public_typedef, struct_with_protected_typedef)
9374 (struct_with_private_typedef): New classes/structs.
9375 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
9376 typedefs and access specifiers.
9377
739b3f1d
PA
93782017-10-16 Pedro Alves <palves@redhat.com>
9379 Simon Marchi <simon.marchi@polymtl.ca>
9380
9381 * README (Local vs Remote vs Native): New section.
9382 * boards/local-board.exp: New file, with bits factored out from
9383 ...
9384 * boards/native-extended-gdbserver.exp: ... here. Load
9385 "local-board".
9386 * boards/native-gdbserver.exp: Load "local-board".
9387 (${board}_spawn, ${board}_exec): Delete.
9388 * boards/native-stdio-gdbserver.exp: Most contents factored out to
9389 ...
9390 * boards/stdio-gdbserver-base.exp: ... this new file.
9391 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
9392 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
9393 procedure.
9394 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
9395 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
9396 stdio_gdbserver_command.
9397 (${board}_get_remote_address, ${board}_get_comm_port)
9398 (${board}_download, ${board}_upload): Delete.
9399 (get_target_remote_pipe_cmd): New.
9400
fe68b953
SM
94012017-10-16 Simon Marchi <simon.marchi@ericsson.com>
9402
9403 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
9404 test_bkpt_deletion, test_bkpt_cond_and_cmds,
9405 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
9406 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
9407 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
9408 remove with_test_prefix.
9409
300b6685
PA
94102017-10-13 Pedro Alves <palves@redhat.com>
9411
9412 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
9413 * gdb.base/annota1.exp: Use it instead of is_remote.
9414 * gdb.base/annota3.exp: Use it instead of is_remote.
9415 * gdb.cp/annota2.exp: Use it instead of is_remote.
9416 * gdb.cp/annota3.exp: Use it instead of is_remote.
9417 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
9418
50500caf
PA
94192017-10-13 Pedro Alves <palves@redhat.com>
9420
9421 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
9422 (test_num_test_vars, run_and_count_vars, find_env)
9423 (test_set_unset_env, test_inherit_env_var): New procedures.
9424 (top level): Use them.
9425
dad0c6d2
PA
94262017-10-13 Pedro Alves <palves@redhat.com>
9427
9428 * lib/selftest-support.exp (selftest_setup): Extend comments, and
9429 also skip on stub-like targets.
9430
8b0553c1
PA
94312017-10-13 Pedro Alves <palves@redhat.com>
9432
9433 PR gdb/22293
9434 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
9435 (top level): Move some tests to ...
9436 (test_not_found): ... this new procedure.
9437 (top level): Call it.
9438
7594f623
PA
94392017-10-13 Pedro Alves <palves@redhat.com>
9440
9441 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
9442 expect different "info terminal" output if testing with a
9443 non-native target.
9444
ebe3b402
PA
94452017-10-13 Pedro Alves <palves@redhat.com>
9446 Simon Marchi <simon.marchi@polymtl.ca>
9447
9448 PR python/12966
9449 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
9450
42f1b161
PA
94512017-10-13 Pedro Alves <palves@redhat.com>
9452
9453 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
9454 already.
9455
8d6ef72b
PA
94562017-10-13 Pedro Alves <palves@redhat.com>
9457
9458 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
9459 is_remote.
9460
d7bcd5b8
PA
94612017-10-13 Pedro Alves <palves@redhat.com>
9462
9463 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
9464 is_remote.
9465
df479dc6
PA
94662017-10-13 Pedro Alves <palves@redhat.com>
9467
9468 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
9469 is set.
9470 (corefile_test_attach): Likewise. Check can_spawn_for_attach
9471 instead of is_remote.
9472
23fb630a
PA
94732017-10-13 Pedro Alves <palves@redhat.com>
9474
9475 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
9476 (top level): Add comment.
9477
cc77b1dc
PA
94782017-10-13 Pedro Alves <palves@redhat.com>
9479
9480 * gdb.base/remote.exp (top level): Fix comment typo and add
9481 missing return.
9482
27c9e813
PA
94832017-10-13 Pedro Alves <palves@redhat.com>
9484 Simon Marchi <simon.marchi@polymtl.ca>
9485
9486 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
9487 calls and add comments. Skip test if use_gdb_stub is set.
9488 (top level): Use "set cwd" command instead of "cd" command.
9489
5e830d98
PA
94902017-10-13 Pedro Alves <palves@redhat.com>
9491
9492 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
9493 is_remote target check.
9494
f5ca0032
PA
94952017-10-13 Pedro Alves <palves@redhat.com>
9496
9497 * gdb.base/scope.exp: Use build_executable + clean_restart +
9498 gdb_file_cmd instead of prepare_for_testing and no longer skip
9499 "before run" tests on is_remote target boards. Update comments.
9500 * boards/native-extended-gdbserver.exp
9501 (extended_gdbserver_load_last_file): New, factored out from ...
9502 (gdb_load): ... this. Move further below and add comment.
9503 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
9504
8aed1c0d
PA
95052017-10-12 Pedro Alves <palves@redhat.com>
9506
9507 * gdb.base/attach.exp: Remove references to gdb64.
9508 * gdb.base/dbx.exp: Remove references to gdb64.
9509
cfa34c87
SM
95102017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9511 Pedro Alves <palves@redhat.com>
9512
9513 * gdb.base/label.exp: Remove is_remote target check.
9514
9192b7de
PA
95152017-10-12 Pedro Alves <palves@redhat.com>
9516
9517 * gdb.base/auvx.exp (coredir): Update comment.
9518 (top level) <core_works>: Use "set cwd" command instead of "cd"
9519 command.
9520
6bf0052d
PA
95212017-10-12 Pedro Alves <palves@redhat.com>
9522 Simon Marchi <simon.marchi@polymtl.ca>
9523
9524 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
9525 target boards.
9526
e48ef82d
PA
95272017-10-12 Pedro Alves <palves@redhat.com>
9528 Simon Marchi <simon.marchi@polymtl.ca>
9529
9530 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
9531 Instead skip if there's any gdb_protocol set.
9532
8d7aea57
SM
95332017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9534 Pedro Alves <palves@redhat.com>
9535
9536 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
9537
30440677
PA
95382017-10-12 Pedro Alves <palves@redhat.com>
9539 Simon Marchi <simon.marchi@polymtl.ca>
9540
9541 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
9542 instead of on dejagnu remote boards.
9543
4e04f045 95442017-10-12 Pedro Alves <palves@redhat.com>
175654b9 9545 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
9546
9547 * gdb.base/inferior-died.exp: Remove is_remote and isnative
9548 checks. Use build_executable + clean_restart instead of
9549 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
9550 of enabling non-stop after starting gdb.
9551
871a186e
PA
95522017-10-12 Pedro Alves <palves@redhat.com>
9553
9554 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
9555 * gdb.threads/non-ldr-exc-2.exp: Ditto.
9556 * gdb.threads/non-ldr-exc-3.exp: Ditto.
9557 * gdb.threads/non-ldr-exc-4.exp: Ditto.
9558
56d704da
AK
95592017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
9560
9561 * gdb.arch/arc-tdesc-cpu.exp: New file.
9562 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
9563
2f20e312
SM
95642017-10-10 Simon Marchi <simon.marchi@ericsson.com>
9565
9566 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
9567
65630365
PA
95682017-10-10 Pedro Alves <palves@redhat.com>
9569
9570 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
9571 expect CLI output.
9572
bf469271
PA
95732017-10-10 Pedro Alves <palves@redhat.com>
9574
9575 * lib/selftest-support.exp (selftest_setup): Update for
9576 captured_command_loop's prototype change.
9577
777a42f1
PA
95782017-10-09 Pedro Alves <palves@redhat.com>
9579
9580 Test both arch1=>arch2 and arch2=>arch1.
9581
9582 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
9583 (srcfile2, binfile2, march1, march2): Remove globals. Largely
9584 factored out to...
9585 (append_arch1_options, append_arch2_options, append_arch_options)
9586 (build_executables): New procedures.
9587 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
9588 local.
9589 (top level): Add new 'first_arch' testing axis.
9590
cbd2b4e3
PA
95912017-10-09 Pedro Alves <palves@redhat.com>
9592
9593 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
9594 (barrier): New.
9595 (thread_start, all_started): New functions.
9596 (main): Spawn new thread and wait until it is scheduled.
9597 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
9598 option.
9599 (do_test): Add 'selected_thread' parameter. Run to all_started
9600 instead of main. Explicitly set the breakpoint at main. Switch
9601 to the SELECTED_THREAD thread.
9602 (top level): Test handling the exec event with either the main
9603 thread or the second thread selected.
9604
5c9e4427
PA
96052017-10-09 Pedro Alves <palves@redhat.com>
9606
9607 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
9608 logic. Move STOP marker after the value checks.
9609 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
9610 regexp.
9611
b3b7c423
SL
96122017-10-06 Sandra Loosemore <sandra@codesourcery.com>
9613
9614 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
9615
3b4b2f16
UW
96162017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
9617
9618 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
9619 integer-to-dfp conversion.
9620 * gdb.base/dfp-test.exp: Likewise.
9621
5cd63fda
PA
96222017-10-04 Pedro Alves <palves@redhat.com>
9623
9624 * gdb.multi/hangout.c: Include <unistd.h>.
9625 (hangout_loop): New function.
9626 (main): Call alarm. Call hangout_loop in a loop.
9627 * gdb.multi/hello.c: Include <unistd.h>.
9628 (hello_loop): New function.
9629 (main): Call alarm. Call hangout_loop in a loop.
9630 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
9631 inferior with the other selected.
9632
4c71c105
SM
96332017-10-04 Simon Marchi <simon.marchi@ericsson.com>
9634
9635 * gdb.mi/list-thread-groups-available.exp: New file.
9636 * gdb.mi/list-thread-groups-available.c: New file.
9637
bc3b087d
SDJ
96382017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9639
9640 * gdb.base/set-cwd.exp: Make it available on
9641 native-extended-gdbserver.
9642
d092c5a2
SDJ
96432017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9644
9645 * gdb.base/set-cwd.c: New file.
9646 * gdb.base/set-cwd.exp: Likewise.
9647
45320ffa
TT
96482017-10-02 Tom Tromey <tom@tromey.com>
9649
9650 PR rust/22236:
9651 * gdb.rust/simple.rs (main): New variable "fslice".
9652 * gdb.rust/simple.exp: Add slice tests. Update string tests.
9653
b3e3859b
TT
96542017-10-02 Tom Tromey <tom@tromey.com>
9655
9656 * gdb.rust/simple.exp: Test ptype of a slice.
9657
01af5e0d
TT
96582017-10-02 Tom Tromey <tom@tromey.com>
9659
9660 * gdb.rust/simple.exp: Test index of slice.
9661
a9bbfbd8
TT
96622017-09-27 Tom Tromey <tom@tromey.com>
9663
9664 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
9665
df8899e5
TP
96662017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
9667 Pedro Alves <palves@redhat.com>
9668
9669 * gdb.base/compare-sections.exp (get value of read-only section): Read
9670 as unsigned value.
9671 (corrupt read-only section): Likewise and don't set written if patching
9672 failed.
9673
757bf54b
KB
96742017-09-21 Kevin Buettner <kevinb@redhat.com>
9675
9676 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
9677 files.
9678
06871ae8
PA
96792017-09-20 Pedro Alves <palves@redhat.com>
9680
9681 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
9682 symbol names in gdb's output.
9683 * gdb.cp/overload.exp ("list all overloads"): Likewise.
9684
e5f25bc5
PA
96852017-09-20 Pedro Alves <palves@redhat.com>
9686
9687 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
9688 Rename to ...
9689 (test_list_ambiguous_symbol): ... this and add a symbol name
9690 parameter. Adjust.
9691 (test_list_ambiguous_function): Reimplement on top of
9692 test_list_ambiguous_symbol and also test listing ambiguous
9693 variables.
9694 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
9695 (ambiguous_fun): ... this.
9696 (ambiguous_var): New.
9697 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
9698 (ambiguous_fun): ... this.
9699 (ambiguous_var): New.
9700
4e5a4f58
JB
97012017-09-19 John Baldwin <jhb@FreeBSD.org>
9702
9703 * gdb.base/starti.c: New file.
9704 * gdb.base/starti.exp: New file.
9705 * lib/gdb.exp (gdb_starti_cmd): New procedure.
9706
26e53f3e
PA
97072017-09-14 Pedro Alves <palves@redhat.com>
9708
9709 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
9710 (top level): Use it instead of runto.
9711
cb791d59
TT
97122017-09-11 Tom Tromey <tom@tromey.com>
9713
9714 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
9715
7c96f8c1
TT
97162017-09-11 Tom Tromey <tom@tromey.com>
9717
9718 * gdb.python/py-infthread.exp: Add tests for new_thread event.
9719 * gdb.python/py-inferior.exp: Add tests for new inferior events.
9720
469412dd
CW
97212017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
9722
9723 * gdb.fortran/printing-types.exp: New file.
9724 * gdb.fortran/printing-types.exp: New file.
9725
e0f86435
BH
97262017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9727
9728 * gdb.fortran/vla-ptype.exp: Fix typos.
9729 * gdb.fortran/vla-value.exp: Same.
9730
9e9af4be
BH
97312017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9732
9733 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
9734 * gdb.mi/mi-var-child-f.exp: Likewise.
9735 * gdb.mi/mi-vla-fortran.exp: Likewise.
9736
a5ad232b 97372017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
9738 Christoph Weinmann <christoph.t.weinmann@intel.com>
9739 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
9740
9741 * gdb.fortran/ptr-indentation.f90: New file.
9742 * gdb.fortran/ptr-indentation.exp: New file.
9743
5aec60eb
TT
97442017-09-05 Tom Tromey <tom@tromey.com>
9745
9746 PR gdb/22010:
9747 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
9748
8f8f8152
TP
97492017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
9750
9751 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
9752
fbd1b771
JK
97532017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9754
9755 * gdb.threads/tls-nodebug-pie.c: New file.
9756 * gdb.threads/tls-nodebug-pie.exp: New file.
9757
5eb5f850
TT
97582017-09-05 Tom Tromey <tom@tromey.com>
9759
9760 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
9761 for rust.
9762
ae780a21
SM
97632017-09-05 Simon Marchi <simon.marchi@ericsson.com>
9764
9765 * gdb.multi/multi-arch-exec.exp: Test with different
9766 "follow-exec-mode" settings.
9767 (do_test): New procedure.
9768
3693fdb3
PA
97692017-09-04 Pedro Alves <palves@redhat.com>
9770
9771 * gdb.base/func-static.c (S::method const, S::method volatile)
9772 (S::method volatile const): New methods.
9773 (c_s, v_s, cv_s): New instances.
9774 (main): Call method() on them.
9775 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
9776 (cannot_resolve): New procedure.
9777 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
9778 print-quote-unquoted columns.
9779 (do_test): Test printing each scope too.
9780
e68cb8e0
PA
97812017-09-04 Pedro Alves <palves@redhat.com>
9782
9783 * gdb.base/local-static.exp: Also test with
9784 class::method::variable wholly quoted.
9785 * gdb.cp/m-static.exp (class::method::variable): Remove test.
9786
858be34c
PA
97872017-09-04 Pedro Alves <palves@redhat.com>
9788
9789 * gdb.base/local-static.c: New.
9790 * gdb.base/local-static.cc: New.
9791 * gdb.base/local-static.exp: New.
9792
46a4882b
PA
97932017-09-04 Pedro Alves <palves@redhat.com>
9794
9795 * gdb.asm/asm-source.exp: Add casts to int.
9796 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
9797 (dataglobal64_1, dataglobal64_2): New globals.
9798 * gdb.base/nodebug.exp: Test different expressions involving the
9799 new globals, with print, whatis and ptype. Add casts to int.
9800 * gdb.base/solib-display.exp: Add casts to int.
9801 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
9802 * gdb.cp/m-static.exp: Add cast to int.
9803 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
9804 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
9805 tls variable with no debug info without a cast. Test with a cast
9806 to int too.
9807 * gdb.trace/entry-values.exp: Add casts.
9808
2c5a2be1
PA
98092017-09-04 Pedro Alves <palves@redhat.com>
9810
9811 * gdb.base/nodebug.exp: Test that ptype's error about functions
9812 with unknown return type includes the function name too.
9813
7022349d
PA
98142017-09-04 Pedro Alves <palves@redhat.com>
9815
9816 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
9817 return type of munmap in infcall.
9818 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
9819 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
9820 type of ftell in infcall.
9821 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
9822 type of getpid in infcall.
9823 * gdb.base/infcall-exec.exp: Cast return type of execlp in
9824 infcall.
9825 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
9826 Bail on failure to extract the pid.
9827 * gdb.base/nodebug.c: #include <stdint.h>.
9828 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
9829 New functions.
9830 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
9831 Change expected output of print/whatis/ptype with functions with
9832 no debug info. Test all supported languages. Call
9833 test_call_promotion.
9834 * gdb.compile/compile.exp: Adjust expected output to expect
9835 warning.
9836 * gdb.threads/siginfo-threads.exp: Likewise.
9837
54990598
PA
98382017-09-04 Pedro Alves <palves@redhat.com>
9839
9840 * gdb.base/callfuncs.exp (do_function_calls): New parameter
9841 "prototypes". Test calling float functions via prototyped and
9842 unprototyped function pointers.
9843 (perform_all_tests): New parameter "prototypes". Pass it down.
9844 (top level): Pass down "prototypes" parameter to
9845 perform_all_tests.
9846
34d16ea2
SM
98472017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9848
9849 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
9850 Test with nested loops.
9851
9521ecda
SM
98522017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9853
9854 * gdb.base/commands.exp: Call the new procedures.
9855 (loop_break_test, loop_continue_test): New procedures.
9856
80a65e9b
SM
98572017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9858
9859 * gdb.base/commands.exp: Call new procedure.
9860 (define_if_without_arg_test): New procedure.
9861
e439fa14
PA
98622017-09-04 Pedro Alves <palves@redhat.com>
9863
9864 * gdb.base/list-ambiguous.exp: New file.
9865 * gdb.base/list-ambiguous0.c: New file.
9866 * gdb.base/list-ambiguous1.c: New file.
9867 * gdb.base/list.exp (test_list_range): Adjust expected output.
9868
0a2dde4a
SDJ
98692017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
9870
9871 * gdb.base/share-env-with-gdbserver.c: New file.
9872 * gdb.base/share-env-with-gdbserver.exp: Likewise.
9873
5e89eb3a
SM
98742017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9875
9876 * gdb.base/commands.exp (gdbvar_simple_if_test,
9877 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
9878 progvar_simple_if_test, progvar_simple_while_test,
9879 progvar_complex_if_while_test, user_defined_command_test,
9880 user_defined_command_args_eval,
9881 user_defined_command_args_stack_test,
9882 user_defined_command_manyargs_test, bp_deleted_in_command_test,
9883 temporary_breakpoint_commands,
9884 gdb_test_no_prompt, redefine_hook_test,
9885 redefine_backtrace_test): Remove "global gdb_prompt".
9886
fd437cbc
SM
98872017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9888
9889 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
9890 New proc, call it from toplevel.
9891
87215ad1
SDJ
98922017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
9893
9894 PR remote/21852
9895 * gdb.server/normal.c: New file, copied from gdb.base.
9896 * gdb.server/run-without-local-binary.exp: New file.
9897
58afddc6
WP
98982017-08-07 Weimin Pan <weimin.pan@oracle.com>
9899
9900 * gdb.arch/sparc64-adi.exp: New file.
9901 * gdb.arch/sparc64-adi.c: New file.
9902
5277199a
PA
99032017-08-22 Pedro Alves <palves@redhat.com>
9904
9905 * gdb.cp/overload.exp (line_range_pattern): New procedure.
9906 (top level): Add "list all overloads" tests.
9907
14278e1f
TT
99082017-08-22 Tom Tromey <tom@tromey.com>
9909
9910 * gdb.gdb/xfullpath.exp: Remove.
9911
bf223d3e
PA
99122017-08-21 Pedro Alves <palves@redhat.com>
9913
9914 PR gdb/19487
9915 * gdb.base/symbol-alias.c: New.
9916 * gdb.base/symbol-alias2.c: New.
9917 * gdb.base/symbol-alias.exp: New.
9918
c973d0aa
PA
99192017-08-21 Pedro Alves <palves@redhat.com>
9920
9921 * gdb.base/dfp-test.c
9922 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
9923 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
9924 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
9925 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
9926 * gdb.base/whatis-ptype-typedefs.c: New.
9927 * gdb.base/whatis-ptype-typedefs.exp: New.
9928 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
9929 (an_int, an_int_type, an_int_type2): New globals.
9930 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
9931 involving typedefs and cast expressions.
9932 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
9933 (lookup_typedefs_function): New.
9934 (typedefs_pretty_printers_dict): New.
9935 (top level): Register lookup_typedefs_function in
9936 gdb.pretty_printers.
9937
6d580b63
YQ
99382017-08-18 Yao Qi <yao.qi@linaro.org>
9939
9940 * gdb.server/unittest.exp: New.
9941
206726fb
SDJ
99422017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
9943
9944 PR gdb/21954
9945 * gdb.base/environ.exp: Add test to check if 'unset environment'
9946 works.
9947
bf0ec4c2
AA
99482017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9949
9950 * lib/gdb.exp (universal_compile_options): New caching proc.
9951 (gdb_compile): Suppress GCC's coloring of messages.
9952
d6382fff
TT
99532017-08-14 Tom Tromey <tom@tromey.com>
9954
9955 PR gdb/21675:
9956 * gdb.base/printcmds.exp (test_radices): New function.
9957 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
9958 * gdb.base/sizeof.exp (check_valueof): Use p/d.
9959 * lib/gdb.exp (get_integer_valueof): Use p/d.
9960
c2c2dd9f
SM
99612017-08-12 Simon Marchi <simon.marchi@ericsson.com>
9962
9963 * lib/gdb.exp (get_valueof): Don't capture end-of-line
9964 characters.
9965
fdffd6f4
TT
99662017-08-05 Tom Tromey <tom@tromey.com>
9967
9968 * gdb.rust/simple.exp: Allow String to appear in a different
9969 namespace.
9970
27d41eac
YQ
99712017-07-26 Yao Qi <yao.qi@linaro.org>
9972
9973 * gdb.gdb/unittest.exp: Invoke command
9974 "maintenance check xml-descriptions".
9975
031ed05d
AA
99762017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9977
9978 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
9979 calling context.
9980 (hex128): Drop erroneous calculation of parameters.
9981
dcd27ddf
SM
99822017-07-22 Simon Marchi <simon.marchi@ericsson.com>
9983
9984 * gdb.python/py-unwind.exp: Disable stack protection when
9985 building test file.
9986
47e77640
PA
99872017-07-20 Pedro Alves <palves@redhat.com>
9988
9989 * gdb.base/default.exp (set language): Adjust expected output.
9990
62d2a18a
PA
99912017-07-20 Pedro Alves <palves@redhat.com>
9992
9993 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
9994 (test_minsym): ... this, and make static.
9995 (get_pck__foo__bar__minsym): Rename to ...
9996 (get_test_minsym): ... this.
9997 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
9998 symbol names and comments.
9999 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
10000 (get_test_minsym): ... this.
10001 (pck__foo__bar__minsym__2): Rename to ...
10002 (test_minsym): ... this.
10003 (main): Adjust.
10004
c45ec17c
PA
100052017-07-17 Pedro Alves <palves@redhat.com>
10006
10007 * gdb.base/completion.exp: Adjust expected output.
10008 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
10009 the completer works.
10010
c6756f62
PA
100112017-07-17 Pedro Alves <palves@redhat.com>
10012
10013 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
10014
5bd68487
AB
100152017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
10016
10017 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
10018
8880f2a9
TT
100192017-07-14 Tom Tromey <tom@tromey.com>
10020
10021 PR rust/21764:
10022 * gdb.rust/simple.exp: Add tests.
10023
65547233
TT
100242017-07-14 Tom Tromey <tom@tromey.com>
10025
10026 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
10027
8f14146e
PA
100282017-07-14 Pedro Alves <palves@redhat.com>
10029
10030 * gdb.linespec/base/one/thefile.cc (z1): New function.
10031 * gdb.linespec/base/two/thefile.cc (z2): New function.
10032 * gdb.linespec/linespec.exp: Add tests.
10033
b4365d02
AB
100342017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10035
10036 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
10037 to mi_create_breakpoint.
10038
5d2cbaa5
AB
100392017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10040
10041 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
10042 mi_create_breakpoint.
10043
11cb5716
IB
100442017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
10045
10046 * gdb.dlang/demangle.exp: Update for demangling changes.
10047
03278692
TT
100482017-07-09 Tom Tromey <tom@tromey.com>
10049
10050 * gdb.dwarf2/shortpiece.exp: New file.
10051
33c5cd75
DB
100522017-07-06 David Blaikie <dblaikie@gmail.com>
10053
10054 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
10055 built from fissiont-multi-cu{1,2}.c.
10056 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
10057 except putting 'main' and 'func' in separate CUs in the same DWO file.
10058 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
10059 test.
10060 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
10061 test.
10062
8455d262
PA
100632017-07-06 Pedro Alves <palves@redhat.com>
10064
10065 * gdb.python/py-unwind.exp: Test flushregs.
10066
dc4bde35
SDJ
100672017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10068
10069 PR cli/21688
10070 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
10071 tests for alias commands and trailing whitespace.
10072
51ed89aa
SDJ
100732017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10074
10075 PR cli/21688
10076 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
10077 procedure. Call it.
10078
eb17d413
PA
100792017-06-29 Pedro Alves <palves@redhat.com>
10080
10081 * gdb.base/printcmds.exp: Add tests.
10082
41664b45
DG
100832017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
10084
10085 PR gdb/21337
10086 * gdb.base/reread-readsym.exp: New file.
10087 * gdb.base/reread-readsym.c: New file.
10088
75312ae3
KB
100892017-06-21 Kevin Buettner <kevinb@redhat.com>
10090
10091 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
10092 subpattern.
10093
66953522
PB
100942017-06-19 Peter Bergner <bergner@vnet.ibm.com>
10095
10096 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
10097 extended mnemonic.
10098 * gdb.arch/powerpc-power9.s: Likewise.
10099
5524b525
AA
101002017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10101
10102 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
10103 on 32-bit x86 targets. Exploit is_*_target macros where
10104 appropriate.
10105
03c8af18
AA
101062017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10107
10108 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
10109 register pieces.
10110
3bf31011
AA
101112017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10112
10113 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
10114 located in one or more DWARF pieces.
10115
805acca0
AA
101162017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10117
10118 * lib/gdb.exp (get_endianness): New proc.
10119 * gdb.arch/aarch64-fp.exp: Use it.
10120 * gdb.arch/altivec-regs.exp: Likewise.
10121 * gdb.arch/e500-regs.exp: Likewise.
10122 * gdb.arch/vsx-regs.exp: Likewise.
10123 * gdb.base/dump.exp: Likewise.
10124 * gdb.base/funcargs.exp: Likewise.
10125 * gdb.base/gnu_vector.exp: Likewise.
10126 * gdb.dwarf2/formdata16.exp: Likewise.
10127 * gdb.dwarf2/implptrpiece.exp: Likewise.
10128 * gdb.dwarf2/nonvar-access.exp: Likewise.
10129 * gdb.python/py-inferior.exp: Likewise.
10130 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10131
e9352324
AA
101322017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10133
10134 PR gdb/21226
10135 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
10136 stack value pieces are taken from the LSB end.
10137
d5d1163e
AA
101382017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10139
10140 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
10141 variable at nonzero offset.
10142
0567c986
AA
101432017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10144
10145 * gdb.dwarf2/var-access.c: New file.
10146 * gdb.dwarf2/var-access.exp: New test.
10147 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
10148
973e9aab
TT
101492017-06-12 Tom Tromey <tom@tromey.com>
10150
10151 * gdb.dwarf2/formdata16.exp: Add tests.
10152
d9109c80
TT
101532017-06-12 Tom Tromey <tom@tromey.com>
10154
10155 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
10156
30a25466
TT
101572017-06-12 Tom Tromey <tom@tromey.com>
10158
10159 PR exp/16225:
10160 * gdb.reverse/i386-sse-reverse.exp: Update tests.
10161 * gdb.arch/vsx-regs.exp: Update tests.
10162 * gdb.arch/s390-vregs.exp (hex128): New proc.
10163 Update test.
10164 * gdb.arch/altivec-regs.exp: Update tests.
10165
aefd8b33
SDJ
101662017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10167
10168 * gdb.base/startup-with-shell.c: New file.
10169 * gdb.base/startup-with-shell.exp: Likewise.
10170
2090129c
SDJ
101712017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10172
10173 * gdb.server/non-existing-program.exp: Update regex in order to
10174 reflect the fact that gdbserver is now using fork_inferior (with a
10175 shell) to startup the inferior.
10176
8e86a419
SM
101772017-05-30 Simon Marchi <simon.marchi@ericsson.com>
10178
10179 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
10180 support function calls from GDB.
10181
e6cf65f2
TT
101822017-05-21 Tom Tromey <tom@tromey.com>
10183
10184 PR rust/21466:
10185 * gdb.rust/unsized.exp: New file.
10186 * gdb.rust/unsized.rs: New file.
10187
43cc5389
TT
101882017-05-19 Tom Tromey <tom@tromey.com>
10189
10190 PR rust/21484:
10191 * gdb.rust/watch.exp: New file.
10192 * gdb.rust/watch.rs: New file.
10193
ec8df234
TT
101942017-05-18 Tom Tromey <tom@tromey.com>
10195
10196 * gdb.rust/simple.exp: Allow Box to be qualified.
10197
3e3e7fae
TP
101982017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
10199
10200 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
10201
59cc050d
PA
102022017-05-18 Pedro Alves <palves@redhat.com>
10203
10204 * gdb.base/fileio.c (test_write, test_read, test_close)
10205 (test_fstat): Don't print 'ret' in the fail path.
10206
c8f6abd1
PA
102072017-05-18 Pedro Alves <palves@redhat.com>
10208
10209 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
10210 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
10211 (test_system, test_rename, test_unlink, test_time): Change
10212 prototypes.
10213 * gdb.base/fileio.exp (stop_msg): Adjust.
10214
d2a03b77
PA
102152017-05-18 Pedro Alves <palves@redhat.com>
10216
10217 * gdb.base/fileio.c (null_str): New global.
10218 (test_stat): Use it.
10219 * gdb.base/fileio.exp: Remove nowarnings.
10220
0d5c6999
YQ
102212017-05-17 Yao Qi <yao.qi@linaro.org>
10222
10223 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
10224
21873064
YQ
102252017-05-17 Simon Marchi <simon.marchi@ericsson.com>
10226
10227 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
10228 argument command.
10229 (top-level): Invoke test_set_inferior_tty.
10230
d512d31c
PA
102312017-05-04 Pedro Alves <palves@redhat.com>
10232
10233 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
10234 Add parens to print call for Python 3.
10235
90cef2ed
KS
102362017-05-03 Keith Seitz <keiths@redhat.com>
10237
10238 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
10239 (main): Call it.
10240
14f819c8
TW
102412017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10242
10243 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
10244 to prev and next.
10245
913aeadd
TW
102462017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10247
10248 * gdb.python/py-record-btrace.exp: Remove test for
10249 gdb.BtraceInstruction.error.
10250
a3be24ad
TW
102512017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10252
10253 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
10254
ae20e79a
TW
102552017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10256
10257 * gdb.python/py-record-btrace-threads.c: New file.
10258 * gdb.python/py-record-btrace-threads.exp: New file.
10259
45ce1b47
SDJ
102602017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
10261
10262 PR testsuite/8595
10263 * gdb.base/environ.exp: Make test available in all architectures.
10264 Move bits related to "info program" testing to
10265 gdb.base/info-program.exp. Rewrite tests to use the two new
10266 procedures mentione below.
10267 (test_set_show_env_var) New procedure.
10268 (test_set_show_env_var_equal): Likewise.
10269 * gdb.base/info-program.exp: New file.
10270
e15c3eb4
KS
102712017-04-27 Keith Seitz <keiths@redhat.com>
10272
10273 * gdb.cp/oranking.cc (test15): New function.
10274 (main): Call test15 and declare additional variables for testing.
10275 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
10276 "p foo101('abc')" tests.
10277 Add tests for cv qualifier overloads.
10278 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
10279 "lvalue reference overload" test.
10280 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
10281 "print value of f1 on Child&& in f2" test.
10282
3a3fd0fd
PA
102832017-04-19 Pedro Alves <palves@redhat.com>
10284
10285 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
10286 procedure.
10287 (top level): Call it.
10288 * lib/gdb.exp (gdb_define_cmd): New procedure.
10289
53375380
PA
102902017-04-12 Pedro Alves <palves@redhat.com>
10291
10292 PR gdb/21323
10293 * gdb.cp/wide_char_types.c: Include <wchar.h>.
10294 (wchar): New global.
10295 * gdb.cp/wide_char_types.exp (wide_char_types_program)
10296 (do_test_wide_char, wide_char_types_no_program, top level): Add
10297 wchar_t testing.
10298
53e710ac
PA
102992017-04-12 Pedro Alves <palves@redhat.com>
10300
10301 PR c++/21323
10302 * gdb.cp/wide_char_types.c: New file.
10303 * gdb.cp/wide_char_types.exp: New file.
10304
0ad9d8c7
SDJ
103052017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
10306
10307 PR gdb/21352
10308 * gdb.trace/tsv.exp: Add test for "tsave -r".
10309
b1b45502
IB
103102017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
10311
10312 * gdb.dlang/watch-loc.c: New file.
10313 * gdb.dlang/watch-loc.exp: New file.
10314
ec13808e
JK
103152017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10316
10317 * gdb.python/py-section-script.exp (sepdebug): New testcases.
10318
fe5f7374
AK
103192017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10320
10321 * gdb.arch/arc-analyze-prologue.S: New file.
10322 * gdb.arch/arc-analyze-prologue.exp: Likewise.
10323
eea78757
AK
103242017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10325
10326 * gdb.arch/arc-decode-insn.S: New file.
10327 * gdb.arch/arc-decode-insn.exp: Likewise.
10328
5badf10a
IR
103292017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
10330
10331 PR tdep/20928
10332 * gdb.arch/sparc64-regs.exp: New file.
10333 * gdb.arch/sparc64-regs.S: Likewise.
10334
cee59b3f
TW
103352017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
10336
10337 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
10338 and memory view on Python 3.
10339
c0f55cc6
AV
103402017-03-20 Artemiy Volkov <artemiyv@acm.org>
10341 Keith Seitz <keiths@redhat.com>
10342
10343 PR gdb/14441
10344 * gdb.cp/demangle.exp: Add rvalue reference tests.
10345 * gdb.cp/rvalue-ref-casts.cc: New file.
10346 * gdb.cp/rvalue-ref-casts.exp: New file.
10347 * gdb.cp/rvalue-ref-overload.cc: New file.
10348 * gdb.cp/rvalue-ref-overload.exp: New file.
10349 * gdb.cp/rvalue-ref-params.cc: New file.
10350 * gdb.cp/rvalue-ref-params.exp: New file.
10351 * gdb.cp/rvalue-ref-sizeof.cc: New file.
10352 * gdb.cp/rvalue-ref-sizeof.exp: New file.
10353 * gdb.cp/rvalue-ref-types.cc: New file.
10354 * gdb.cp/rvalue-ref-types.exp: New file.
10355 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
10356 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
10357
51457a05
MAL
103582017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10359
10360 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
10361 New procedure.
10362
5b291c04
MAL
103632017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10364
10365 * lib/mi-support.exp (mi_gdb_test): Add additional message
10366 for unexpected output.
10367
59a56148
AA
103682017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10369
10370 * gdb.base/examine-backward.c (Barrier): New character array
10371 constant, to ensure that TestStrings is preceded by a string
10372 terminator.
10373
7942e96e
AA
103742017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10375
10376 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
10377 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
10378 and implicit pointer into such a location.
10379
6ebac3fb
DE
103802017-03-16 Doug Evans <dje@google.com>
10381
10382 * gdb.python/py-lazy-string (pointer): Really add new typedef.
10383
ec3b243d
TP
103842017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
10385
10386 * gdb.cp/m-static.exp: Fix expectation for prototype of
10387 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
10388
103892017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
10390
10391 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
10392 * gdb.guile/scm-lazy-string.c: New file.
10393 * gdb.guile/scm-value.exp: Move lazy string tests to ...
10394 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
10395 for pointer, array, typedef lazy strings.
10396
2cc36e25 103972017-03-16 Doug Evans <dje@google.com>
34b43320
DE
10398
10399 PR python/17728, python/18439, python/18779
10400 * gdb.python/py-value.c (main) Delete locals sptr, sn.
10401 * gdb.python/py-lazy-string.c (pointer): New typedef.
10402 (main): New locals ptr, array, typedef_ptr.
10403 * gdb.python/py-value.exp: Move lazy string tests to ...
10404 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
10405 array, typedef lazy strings.
ec3b243d 10406
0efcde63
AK
104072017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
10408
10409 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
10410 Add optional 'test' parameter.
10411
7978d7c3
SM
104122017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10413
10414 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10415 Skip for versions of DejaGnu < 1.5.
10416
896c0c1e
SM
104172017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10418
10419 * lib/gdb.exp (dejagnu_version): New proc.
10420 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10421 Use dejagnu_version.
10422
5f4d1085
KS
104232017-03-10 Keith Seitz <keiths@redhat.com>
10424
10425 PR c++/8128
10426 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
10427 type from destructor regexps.
10428 Add a branch which actually passes the test.
10429 Adjust "ptype t5i" test names.
10430
1de05205
PA
104312017-03-08 Pedro Alves <palves@redhat.com>
10432
10433 * gdb.base/step-over-exit.exp: Add explicit test message.
10434
c65d6b55
PA
104352017-03-08 Pedro Alves <palves@redhat.com>
10436
10437 PR gdb/18360
10438 * gdb.threads/interrupt-while-step-over.c: New file.
10439 * gdb.threads/interrupt-while-step-over.exp: New file.
10440
2e86a283
PA
104412017-03-08 Pedro Alves <palves@redhat.com>
10442
10443 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
10444 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
10445
25dcbff6
PA
104462017-03-08 Pedro Alves <palves@redhat.com>
10447
10448 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
10449 PKRU as not supported as a PASS.
10450
dc9366eb
PA
104512017-03-08 Pedro Alves <palves@redhat.com>
10452
10453 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
10454 prefix instead of $binfile1/$binfile2.
10455 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
10456 in test message.
10457 * gdb.python/py-completion.exp: Use "load python file" as test
10458 messages instead of unstable path names.
10459
6e5d74e7
PA
104602017-03-08 Pedro Alves <palves@redhat.com>
10461 Jan Kratochvil <jan.kratochvil@redhat.com>
10462
10463 PR cli/21218
10464 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10465 New proc.
10466 (top level): Call it.
10467
9753a2f6
PA
104682017-03-08 Pedro Alves <palves@redhat.com>
10469
10470 PR tui/21216
10471 * gdb.tui/tui-nl-filtered-output.exp: New file.
10472
1a4dd9dd
PA
104732017-03-08 Pedro Alves <palves@redhat.com>
10474
10475 * gdb.base/completion.exp: Move TUI completion tests to ...
10476 * gdb.tui/completion.exp: ... this new file.
10477
7cbbff33
PA
104782017-03-08 Pedro Alves <palves@redhat.com>
10479
10480 * gdb.base/tui-disasm-long-lines.c,
10481 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
10482 gdb.base/tui-layout.exp: Move to ...
10483 * gdb.tui/: ... this new directory.
10484
5f6fd321
PA
104852017-03-07 Pedro Alves <palves@redhat.com>
10486
10487 * gdb.base/tui-layout.c: New file.
10488 * gdb.base/tui-layout.exp: New file.
10489
44959fa8
PA
104902017-03-07 Pedro Alves <palves@redhat.com>
10491
10492 * gdb.base/tui-layout.c: Rename to ...
10493 * gdb.base/tui-disasm-long-lines.c: ... this.
10494 * gdb.base/tui-layout.exp: Rename to ...
10495 * gdb.base/tui-disasm-long-lines.exp: ... this.
10496
f8c4e718
PA
104972017-03-07 Pedro Alves <palves@redhat.com>
10498
10499 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
10500
6dbb839a 105012017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
10502
10503 * i386-mpx-call.c: New file.
10504 * i386-mpx-call.exp: New file.
10505
65b48a81
PB
105062017-02-28 Peter Bergner <bergner@vnet.ibm.com>
10507
10508 * gdb.arch/powerpc-power.exp: Delete test.
10509 * gdb.arch/powerpc-power.s: Likewise.
10510 * gdb.disasm/disassembler-options.exp: New test.
10511 * gdb.arch/powerpc-altivec.exp: Likewise.
10512 * gdb.arch/powerpc-altivec.s: Likewise.
10513 * gdb.arch/powerpc-altivec2.exp: Likewise.
10514 * gdb.arch/powerpc-altivec2.s: Likewise.
10515 * gdb.arch/powerpc-altivec3.exp: Likewise.
10516 * gdb.arch/powerpc-altivec3.s: Likewise.
10517 * gdb.arch/powerpc-power7.exp: Likewise.
10518 * gdb.arch/powerpc-power7.s: Likewise.
10519 * gdb.arch/powerpc-power8.exp: Likewise.
10520 * gdb.arch/powerpc-power8.s: Likewise.
10521 * gdb.arch/powerpc-power9.exp: Likewise.
10522 * gdb.arch/powerpc-power9.s: Likewise.
10523 * gdb.arch/powerpc-vsx.exp: Likewise.
10524 * gdb.arch/powerpc-vsx.s: Likewise.
10525 * gdb.arch/powerpc-vsx2.exp: Likewise.
10526 * gdb.arch/powerpc-vsx2.s: Likewise.
10527 * gdb.arch/powerpc-vsx3.exp: Likewise.
10528 * gdb.arch/powerpc-vsx3.s: Likewise.
10529 * gdb.arch/arm-disassembler-options.exp: Likewise.
10530 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
10531 * gdb.arch/s390-disassembler-options.exp: Likewise.
10532
17cd4947
LM
105332017-02-23 Luis Machado <lgustavo@codesourcery.com>
10534
10535 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
10536 (check_supported_features): ... this. Changed return type to void.
10537 (supports_rdseed): New static global.
10538 (rdseed): Check supports_rdseed.
10539 (initialize): Call check_supported_features.
10540
2039d74e
EBM
105412017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10542
10543 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
10544 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
10545 and lqarx/stqcx.
10546 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
10547 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
10548
a51d7ecf
EBM
105492017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10550
10551 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
10552 uppercase.
10553
0224619f
JK
105542017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10555
10556 * gdb.dwarf2/formdata16.c: New file.
10557 * gdb.dwarf2/formdata16.exp: New file.
10558 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
10559
216f72a1
JK
105602017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10561
10562 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
10563 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
10564 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
10565 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
10566 DW_AT_GNU_*.
10567
43988095
JK
105682017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10569
10570 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
10571
99e8a4f9
SDJ
105722017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
10573
10574 PR gdb/21164
10575 * gdb.base/maint.exp: Add testcases for when the commands do
10576 not have arguments.
10577
b58a8c0c
TP
105782017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
10579
10580 * gdb.cp/chained-calls.exp: Use p instead of P.
10581
4e746bb6
TW
105822017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
10583
10584 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
10585 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
10586
3f77c769
TT
105872017-02-14 Tom Tromey <tom@tromey.com>
10588
10589 PR python/13598:
10590 * gdb.python/py-events.exp: Add before_prompt event tests.
10591
075beec0
AA
105922017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10593
10594 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
10595
bf5f525c
LM
105962017-02-13 Luis Machado <lgustavo@codesourcery.com>
10597
10598 * gdb.linespec/explicit.c (my_unique_function_name): New function.
10599 (main): Call my_unique_function_name.
10600 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
10601 completion of patterns with a single match.
10602 Add missing -re switches to gdb_test_multiple calls.
10603
13a66184
LM
106042017-02-13 Luis Machado <lgustavo@codesourcery.com>
10605
10606 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
10607 return if core file is not recognized.
10608
26a06916
SM
106092017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10610
10611 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
10612 and extra UIs.
10613
b761ca9e
SM
106142017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10615
10616 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
10617 proc_with_prefix.
10618
b964bee0
TT
106192017-02-10 Tom Tromey <tom@tromey.com>
10620
10621 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
10622
18da0c51
MG
106232017-02-10 Martin Galvan <martingalvan@sourceware.org>
10624
10625 PR gdb/21122
10626 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
10627
604c4576
JG
106282017-02-08 Jerome Guitton <guitton@adacore.com>
10629
10630 * gdb.base/define.exp: Add test for command abbreviations
10631 in define.
10632
20b477a7
LM
106332017-02-06 Luis Machado <lgustavo@codesourcery.com>
10634
10635 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
10636 * gdb.reverse/insn-reverse-x86.c: New file.
10637
3f7b46f2
IR
106382017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10639
10640 PR tdep/20936
10641 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
10642
f0fd41c1
TT
106432017-02-03 Tom Tromey <tom@tromey.com>
10644
10645 PR rust/21097:
10646 * gdb.rust/simple.exp: Add new tests.
10647
5be5dbf0
PA
106482017-02-02 Pedro Alves <palves@redhat.com>
10649
10650 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
10651 tests.
10652
7346ef59
AA
106532017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10654
10655 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
10656 taking a 2-byte value out of a 4-byte DWARF implicit value on
10657 big-endian targets.
10658 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
10659 logic. Add test cases for DW_OP_implicit.
10660
787f0025
MM
106612017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10662
10663 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
10664
68777c29
MM
106652017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10666
10667 * gdb.btrace/enable.exp: Call gdb_exit before
10668 skip_gdbserver_tests.
10669
0a1c7e28
MM
106702017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10671
10672 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
10673 GDBFLAGS.
10674
b5ac99b0
MM
106752017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10676
10677 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
10678 the test is skipped.
10679 * gdb.btrace/data.exp: Likewise.
10680 * gdb.btrace/delta.exp: Likewise.
10681 * gdb.btrace/dlopen.exp: Likewise.
10682 * gdb.btrace/enable-running.exp: Likewise.
10683 * gdb.btrace/enable.exp: Likewise.
10684 * gdb.btrace/exception.exp: Likewise.
10685 * gdb.btrace/function_call_history.exp: Likewise.
10686 * gdb.btrace/gcore.exp: Likewise.
10687 * gdb.btrace/instruction_history.exp: Likewise.
10688 * gdb.btrace/multi-thread-step.exp: Likewise.
10689 * gdb.btrace/nohist.exp: Likewise.
10690 * gdb.btrace/non-stop.exp: Likewise.
10691 * gdb.btrace/reconnect.exp: Likewise.
10692 * gdb.btrace/record_goto-step.exp: Likewise.
10693 * gdb.btrace/record_goto.exp: Likewise.
10694 * gdb.btrace/rn-dl-bind.exp: Likewise.
10695 * gdb.btrace/segv.exp: Likewise.
10696 * gdb.btrace/step.exp: Likewise.
10697 * gdb.btrace/stepi.exp: Likewise.
10698 * gdb.btrace/tailcall-only.exp: Likewise.
10699 * gdb.btrace/tailcall.exp: Likewise.
10700 * gdb.btrace/tsx.exp: Likewise.
10701 * gdb.btrace/unknown_functions.exp: Likewise.
10702 * gdb.btrace/vdso.exp: Likewise.
10703
cd4007e4
MM
107042017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10705
10706 * gdb.btrace/enable-running.c: New.
10707 * gdb.btrace/enable-running.exp: New.
10708
2735833d
WT
107092017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
10710
10711 * gdb.arch/amd64-gs_base.c: New file.
10712 * gdb.arch/amd64-gs_base.exp: New file.
10713
b51e1e94
LM
107142017-01-26 Luis Machado <lgustavo@codesourcery.com>
10715
10716 * lib/memory.exp: Remove spurious empty newlines.
10717
72ca0410
SM
107182017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
10719
10720 * gdb.python/py-bad-printers.exp: Load python file using "source".
10721 * gdb.python/py-events.exp: Likewise.
10722 * gdb.python/py-evsignal.exp: Likewise.
10723 * gdb.python/py-evthreads.exp: Likewise.
10724 * gdb.python/py-frame-args.exp: Likewise.
10725 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
10726 * gdb.python/py-framefilter-mi.exp: Likewise.
10727 * gdb.python/py-framefilter.exp: Likewise.
10728 * gdb.python/py-mi.exp: Likewise.
10729 * gdb.python/py-pp-maint.exp: Likewise.
10730 * gdb.python/py-pp-registration.exp: Likewise.
10731 * gdb.python/py-prettyprint.exp: Likewise.
10732 (run_lang_tests): Likewise.
10733 * gdb.python/py-typeprint.exp: Likewise.
10734
e309aa65
LM
107352017-01-26 Luis Machado <lgustavo@codesourcery.com>
10736
10737 * lib/memory.exp: New file.
10738 * lib/gdb.exp: Load memory.exp.
10739 * gdb.base/memattr.exp (delete_memory): Move proc to
10740 lib/memory.exp and rename to delete_memory_regions.
10741 Replace delete_memory with delete_memory_regions.
10742 Cleanup memory regions before tests.
10743 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
10744 before tests.
10745
515aff23
LM
107462017-01-26 Luis Machado <lgustavo@codesourcery.com>
10747
10748 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
10749 files.
10750 (initialize): New function conditionally defined.
10751 (testcases): Move within conditional block.
10752 (main): Call initialize.
10753 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
10754 of gdb.reverse/insn-reverse.c.
10755 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
10756 gdb.reverse/insn-reverse.c.
10757
d8b49cf0
YQ
107582017-01-26 Yao Qi <yao.qi@linaro.org>
10759
10760 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
10761 disassemble on address 0.
10762
f13a9a0c
YQ
107632017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
10764 Yao Qi <yao.qi@linaro.org>
10765
10766 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
10767 * gdb.dwarf2/implptr-64bit.S: Remove.
10768 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
10769 variables in caller's context. Add DW_OP_implicit_value.
10770
5ac95241
YQ
107712017-01-25 Yao Qi <yao.qi@linaro.org>
10772
10773 * lib/dwarf.exp (Dwarf::_location): Handle
10774 DW_OP_GNU_implicit_pointer with proper size.
10775
23e82930
LM
107762017-01-20 Luis Machado <lgustavo@codesourcery.com>
10777
10778 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
10779 and add untested calls.
10780
d334ae25
LM
107812017-01-20 Luis Machado <lgustavo@codesourcery.com>
10782
10783 * gdb.python/python.exp: Check line number against what GDB thinks
10784 the line number is for func1.
10785
f5e6296e
IB
107862017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
10787
10788 * gdb.dlang/debug-expr.exp: New file.
10789
5b362f04
LM
107902016-12-23 Luis Machado <lgustavo@codesourcery.com>
10791
10792 Fix test names for the following files:
10793
10794 * gdb.ada/exec_changed.exp
10795 * gdb.ada/info_types.exp
10796 * gdb.arch/aarch64-atomic-inst.exp
10797 * gdb.arch/aarch64-fp.exp
10798 * gdb.arch/altivec-abi.exp
10799 * gdb.arch/altivec-regs.exp
10800 * gdb.arch/amd64-byte.exp
10801 * gdb.arch/amd64-disp-step.exp
10802 * gdb.arch/amd64-dword.exp
10803 * gdb.arch/amd64-entry-value-inline.exp
10804 * gdb.arch/amd64-entry-value-param.exp
10805 * gdb.arch/amd64-entry-value-paramref.exp
10806 * gdb.arch/amd64-entry-value.exp
10807 * gdb.arch/amd64-i386-address.exp
10808 * gdb.arch/amd64-invalid-stack-middle.exp
10809 * gdb.arch/amd64-invalid-stack-top.exp
10810 * gdb.arch/amd64-optimout-repeat.exp
10811 * gdb.arch/amd64-prologue-skip.exp
10812 * gdb.arch/amd64-prologue-xmm.exp
10813 * gdb.arch/amd64-stap-special-operands.exp
10814 * gdb.arch/amd64-stap-wrong-subexp.exp
10815 * gdb.arch/amd64-tailcall-cxx.exp
10816 * gdb.arch/amd64-tailcall-noret.exp
10817 * gdb.arch/amd64-tailcall-ret.exp
10818 * gdb.arch/amd64-tailcall-self.exp
10819 * gdb.arch/amd64-word.exp
10820 * gdb.arch/arm-bl-branch-dest.exp
10821 * gdb.arch/arm-disp-step.exp
10822 * gdb.arch/arm-neon.exp
10823 * gdb.arch/arm-single-step-kernel-helper.exp
10824 * gdb.arch/avr-flash-qualifier.exp
10825 * gdb.arch/disp-step-insn-reloc.exp
10826 * gdb.arch/e500-abi.exp
10827 * gdb.arch/e500-regs.exp
10828 * gdb.arch/ftrace-insn-reloc.exp
10829 * gdb.arch/i386-avx512.exp
10830 * gdb.arch/i386-bp_permanent.exp
10831 * gdb.arch/i386-byte.exp
10832 * gdb.arch/i386-cfi-notcurrent.exp
10833 * gdb.arch/i386-disp-step.exp
10834 * gdb.arch/i386-dr3-watch.exp
10835 * gdb.arch/i386-float.exp
10836 * gdb.arch/i386-gnu-cfi.exp
10837 * gdb.arch/i386-mpx-map.exp
10838 * gdb.arch/i386-mpx-sigsegv.exp
10839 * gdb.arch/i386-mpx-simple_segv.exp
10840 * gdb.arch/i386-mpx.exp
10841 * gdb.arch/i386-permbkpt.exp
10842 * gdb.arch/i386-prologue.exp
10843 * gdb.arch/i386-signal.exp
10844 * gdb.arch/i386-size-overlap.exp
10845 * gdb.arch/i386-unwind.exp
10846 * gdb.arch/i386-word.exp
10847 * gdb.arch/mips-fcr.exp
10848 * gdb.arch/powerpc-d128-regs.exp
10849 * gdb.arch/powerpc-stackless.exp
10850 * gdb.arch/ppc64-atomic-inst.exp
10851 * gdb.arch/s390-stackless.exp
10852 * gdb.arch/s390-tdbregs.exp
10853 * gdb.arch/s390-vregs.exp
10854 * gdb.arch/sparc-sysstep.exp
10855 * gdb.arch/thumb-bx-pc.exp
10856 * gdb.arch/thumb-singlestep.exp
10857 * gdb.arch/thumb2-it.exp
10858 * gdb.arch/vsx-regs.exp
10859 * gdb.asm/asm-source.exp
10860 * gdb.base/a2-run.exp
10861 * gdb.base/advance.exp
10862 * gdb.base/all-bin.exp
10863 * gdb.base/anon.exp
10864 * gdb.base/args.exp
10865 * gdb.base/arithmet.exp
10866 * gdb.base/async-shell.exp
10867 * gdb.base/async.exp
10868 * gdb.base/attach-pie-noexec.exp
10869 * gdb.base/attach-twice.exp
10870 * gdb.base/auto-load.exp
10871 * gdb.base/bang.exp
10872 * gdb.base/bitfields.exp
10873 * gdb.base/break-always.exp
10874 * gdb.base/break-caller-line.exp
10875 * gdb.base/break-entry.exp
10876 * gdb.base/break-inline.exp
10877 * gdb.base/break-on-linker-gcd-function.exp
10878 * gdb.base/break-probes.exp
10879 * gdb.base/break.exp
10880 * gdb.base/breakpoint-shadow.exp
10881 * gdb.base/call-ar-st.exp
10882 * gdb.base/call-sc.exp
10883 * gdb.base/call-signal-resume.exp
10884 * gdb.base/call-strs.exp
10885 * gdb.base/callfuncs.exp
10886 * gdb.base/catch-fork-static.exp
10887 * gdb.base/catch-gdb-caused-signals.exp
10888 * gdb.base/catch-load.exp
10889 * gdb.base/catch-signal-fork.exp
10890 * gdb.base/catch-signal.exp
10891 * gdb.base/catch-syscall.exp
10892 * gdb.base/charset.exp
10893 * gdb.base/checkpoint.exp
10894 * gdb.base/chng-syms.exp
10895 * gdb.base/code-expr.exp
10896 * gdb.base/code_elim.exp
10897 * gdb.base/commands.exp
10898 * gdb.base/completion.exp
10899 * gdb.base/complex.exp
10900 * gdb.base/cond-expr.exp
10901 * gdb.base/condbreak.exp
10902 * gdb.base/consecutive.exp
10903 * gdb.base/continue-all-already-running.exp
10904 * gdb.base/coredump-filter.exp
10905 * gdb.base/corefile.exp
10906 * gdb.base/dbx.exp
10907 * gdb.base/debug-expr.exp
10908 * gdb.base/define.exp
10909 * gdb.base/del.exp
10910 * gdb.base/disabled-location.exp
10911 * gdb.base/disasm-end-cu.exp
10912 * gdb.base/disasm-optim.exp
10913 * gdb.base/display.exp
10914 * gdb.base/duplicate-bp.exp
10915 * gdb.base/ena-dis-br.exp
10916 * gdb.base/ending-run.exp
10917 * gdb.base/enumval.exp
10918 * gdb.base/environ.exp
10919 * gdb.base/eu-strip-infcall.exp
10920 * gdb.base/eval-avoid-side-effects.exp
10921 * gdb.base/eval-skip.exp
10922 * gdb.base/exitsignal.exp
10923 * gdb.base/expand-psymtabs.exp
10924 * gdb.base/filesym.exp
10925 * gdb.base/find-unmapped.exp
10926 * gdb.base/finish.exp
10927 * gdb.base/float.exp
10928 * gdb.base/foll-exec-mode.exp
10929 * gdb.base/foll-exec.exp
10930 * gdb.base/foll-fork.exp
10931 * gdb.base/fortran-sym-case.exp
10932 * gdb.base/freebpcmd.exp
10933 * gdb.base/func-ptr.exp
10934 * gdb.base/func-ptrs.exp
10935 * gdb.base/funcargs.exp
10936 * gdb.base/gcore-buffer-overflow.exp
10937 * gdb.base/gcore-relro-pie.exp
10938 * gdb.base/gcore-relro.exp
10939 * gdb.base/gcore.exp
10940 * gdb.base/gdb1090.exp
10941 * gdb.base/gdb11530.exp
10942 * gdb.base/gdb11531.exp
10943 * gdb.base/gdb1821.exp
10944 * gdb.base/gdbindex-stabs.exp
10945 * gdb.base/gdbvars.exp
10946 * gdb.base/hbreak.exp
10947 * gdb.base/hbreak2.exp
10948 * gdb.base/included.exp
10949 * gdb.base/infcall-input.exp
10950 * gdb.base/inferior-died.exp
10951 * gdb.base/infnan.exp
10952 * gdb.base/info-macros.exp
10953 * gdb.base/info-os.exp
10954 * gdb.base/info-proc.exp
10955 * gdb.base/info-shared.exp
10956 * gdb.base/info-target.exp
10957 * gdb.base/infoline.exp
10958 * gdb.base/interp.exp
10959 * gdb.base/interrupt.exp
10960 * gdb.base/jit-reader.exp
10961 * gdb.base/jit-simple.exp
10962 * gdb.base/kill-after-signal.exp
10963 * gdb.base/kill-detach-inferiors-cmd.exp
10964 * gdb.base/label.exp
10965 * gdb.base/langs.exp
10966 * gdb.base/ldbl_e308.exp
10967 * gdb.base/line-symtabs.exp
10968 * gdb.base/linespecs.exp
10969 * gdb.base/list.exp
10970 * gdb.base/long_long.exp
10971 * gdb.base/longest-types.exp
10972 * gdb.base/maint.exp
10973 * gdb.base/max-value-size.exp
10974 * gdb.base/memattr.exp
10975 * gdb.base/mips_pro.exp
10976 * gdb.base/morestack.exp
10977 * gdb.base/moribund-step.exp
10978 * gdb.base/multi-forks.exp
10979 * gdb.base/nested-addr.exp
10980 * gdb.base/nextoverexit.exp
10981 * gdb.base/noreturn-finish.exp
10982 * gdb.base/noreturn-return.exp
10983 * gdb.base/nostdlib.exp
10984 * gdb.base/offsets.exp
10985 * gdb.base/opaque.exp
10986 * gdb.base/pc-fp.exp
10987 * gdb.base/permissions.exp
10988 * gdb.base/print-symbol-loading.exp
10989 * gdb.base/prologue-include.exp
10990 * gdb.base/psymtab.exp
10991 * gdb.base/ptype.exp
10992 * gdb.base/random-signal.exp
10993 * gdb.base/randomize.exp
10994 * gdb.base/range-stepping.exp
10995 * gdb.base/readline-ask.exp
10996 * gdb.base/recpar.exp
10997 * gdb.base/recurse.exp
10998 * gdb.base/relational.exp
10999 * gdb.base/restore.exp
11000 * gdb.base/return-nodebug.exp
11001 * gdb.base/return.exp
11002 * gdb.base/run-after-attach.exp
11003 * gdb.base/save-bp.exp
11004 * gdb.base/scope.exp
11005 * gdb.base/sect-cmd.exp
11006 * gdb.base/set-lang-auto.exp
11007 * gdb.base/set-noassign.exp
11008 * gdb.base/setvar.exp
11009 * gdb.base/sigall.exp
11010 * gdb.base/sigbpt.exp
11011 * gdb.base/siginfo-addr.exp
11012 * gdb.base/siginfo-infcall.exp
11013 * gdb.base/siginfo-obj.exp
11014 * gdb.base/siginfo.exp
11015 * gdb.base/signals-state-child.exp
11016 * gdb.base/signest.exp
11017 * gdb.base/sigstep.exp
11018 * gdb.base/sizeof.exp
11019 * gdb.base/skip.exp
11020 * gdb.base/solib-corrupted.exp
11021 * gdb.base/solib-nodir.exp
11022 * gdb.base/solib-search.exp
11023 * gdb.base/stack-checking.exp
11024 * gdb.base/stale-infcall.exp
11025 * gdb.base/stap-probe.exp
11026 * gdb.base/start.exp
11027 * gdb.base/step-break.exp
11028 * gdb.base/step-bt.exp
11029 * gdb.base/step-line.exp
11030 * gdb.base/step-over-exit.exp
11031 * gdb.base/step-over-syscall.exp
11032 * gdb.base/step-resume-infcall.exp
11033 * gdb.base/step-test.exp
11034 * gdb.base/store.exp
11035 * gdb.base/structs3.exp
11036 * gdb.base/sym-file.exp
11037 * gdb.base/symbol-without-target_section.exp
11038 * gdb.base/term.exp
11039 * gdb.base/testenv.exp
11040 * gdb.base/ui-redirect.exp
11041 * gdb.base/until.exp
11042 * gdb.base/unwindonsignal.exp
11043 * gdb.base/value-double-free.exp
11044 * gdb.base/vla-datatypes.exp
11045 * gdb.base/vla-ptr.exp
11046 * gdb.base/vla-sideeffect.exp
11047 * gdb.base/volatile.exp
11048 * gdb.base/watch-cond-infcall.exp
11049 * gdb.base/watch-cond.exp
11050 * gdb.base/watch-non-mem.exp
11051 * gdb.base/watch-read.exp
11052 * gdb.base/watch-vfork.exp
11053 * gdb.base/watchpoint-cond-gone.exp
11054 * gdb.base/watchpoint-delete.exp
11055 * gdb.base/watchpoint-hw-hit-once.exp
11056 * gdb.base/watchpoint-hw.exp
11057 * gdb.base/watchpoint-stops-at-right-insn.exp
11058 * gdb.base/watchpoints.exp
11059 * gdb.base/wchar.exp
11060 * gdb.base/whatis-exp.exp
11061 * gdb.btrace/buffer-size.exp
11062 * gdb.btrace/data.exp
11063 * gdb.btrace/delta.exp
11064 * gdb.btrace/dlopen.exp
11065 * gdb.btrace/enable.exp
11066 * gdb.btrace/exception.exp
11067 * gdb.btrace/function_call_history.exp
11068 * gdb.btrace/gcore.exp
11069 * gdb.btrace/instruction_history.exp
11070 * gdb.btrace/nohist.exp
11071 * gdb.btrace/reconnect.exp
11072 * gdb.btrace/record_goto-step.exp
11073 * gdb.btrace/record_goto.exp
11074 * gdb.btrace/rn-dl-bind.exp
11075 * gdb.btrace/segv.exp
11076 * gdb.btrace/step.exp
11077 * gdb.btrace/stepi.exp
11078 * gdb.btrace/tailcall-only.exp
11079 * gdb.btrace/tailcall.exp
11080 * gdb.btrace/tsx.exp
11081 * gdb.btrace/unknown_functions.exp
11082 * gdb.btrace/vdso.exp
11083 * gdb.compile/compile-ifunc.exp
11084 * gdb.compile/compile-ops.exp
11085 * gdb.compile/compile-print.exp
11086 * gdb.compile/compile-setjmp.exp
11087 * gdb.cp/abstract-origin.exp
11088 * gdb.cp/ambiguous.exp
11089 * gdb.cp/annota2.exp
11090 * gdb.cp/annota3.exp
11091 * gdb.cp/anon-ns.exp
11092 * gdb.cp/anon-struct.exp
11093 * gdb.cp/anon-union.exp
11094 * gdb.cp/arg-reference.exp
11095 * gdb.cp/baseenum.exp
11096 * gdb.cp/bool.exp
11097 * gdb.cp/breakpoint.exp
11098 * gdb.cp/bs15503.exp
11099 * gdb.cp/call-c.exp
11100 * gdb.cp/casts.exp
11101 * gdb.cp/chained-calls.exp
11102 * gdb.cp/class2.exp
11103 * gdb.cp/classes.exp
11104 * gdb.cp/cmpd-minsyms.exp
11105 * gdb.cp/converts.exp
11106 * gdb.cp/cp-relocate.exp
11107 * gdb.cp/cpcompletion.exp
11108 * gdb.cp/cpexprs.exp
11109 * gdb.cp/cplabel.exp
11110 * gdb.cp/cplusfuncs.exp
11111 * gdb.cp/cpsizeof.exp
11112 * gdb.cp/ctti.exp
11113 * gdb.cp/derivation.exp
11114 * gdb.cp/destrprint.exp
11115 * gdb.cp/dispcxx.exp
11116 * gdb.cp/enum-class.exp
11117 * gdb.cp/exception.exp
11118 * gdb.cp/exceptprint.exp
11119 * gdb.cp/expand-psymtabs-cxx.exp
11120 * gdb.cp/expand-sals.exp
11121 * gdb.cp/extern-c.exp
11122 * gdb.cp/filename.exp
11123 * gdb.cp/formatted-ref.exp
11124 * gdb.cp/fpointer.exp
11125 * gdb.cp/gdb1355.exp
11126 * gdb.cp/gdb2495.exp
11127 * gdb.cp/hang.exp
11128 * gdb.cp/impl-this.exp
11129 * gdb.cp/infcall-dlopen.exp
11130 * gdb.cp/inherit.exp
11131 * gdb.cp/iostream.exp
11132 * gdb.cp/koenig.exp
11133 * gdb.cp/local.exp
11134 * gdb.cp/m-data.exp
11135 * gdb.cp/m-static.exp
11136 * gdb.cp/mb-ctor.exp
11137 * gdb.cp/mb-inline.exp
11138 * gdb.cp/mb-templates.exp
11139 * gdb.cp/member-name.exp
11140 * gdb.cp/member-ptr.exp
11141 * gdb.cp/meth-typedefs.exp
11142 * gdb.cp/method.exp
11143 * gdb.cp/method2.exp
11144 * gdb.cp/minsym-fallback.exp
11145 * gdb.cp/misc.exp
11146 * gdb.cp/namelessclass.exp
11147 * gdb.cp/namespace-enum.exp
11148 * gdb.cp/namespace-nested-import.exp
11149 * gdb.cp/namespace.exp
11150 * gdb.cp/nextoverthrow.exp
11151 * gdb.cp/no-dmgl-verbose.exp
11152 * gdb.cp/non-trivial-retval.exp
11153 * gdb.cp/noparam.exp
11154 * gdb.cp/nsdecl.exp
11155 * gdb.cp/nsimport.exp
11156 * gdb.cp/nsnested.exp
11157 * gdb.cp/nsnoimports.exp
11158 * gdb.cp/nsrecurs.exp
11159 * gdb.cp/nsstress.exp
11160 * gdb.cp/nsusing.exp
11161 * gdb.cp/operator.exp
11162 * gdb.cp/oranking.exp
11163 * gdb.cp/overload-const.exp
11164 * gdb.cp/overload.exp
11165 * gdb.cp/ovldbreak.exp
11166 * gdb.cp/ovsrch.exp
11167 * gdb.cp/paren-type.exp
11168 * gdb.cp/parse-lang.exp
11169 * gdb.cp/pass-by-ref.exp
11170 * gdb.cp/pr-1023.exp
11171 * gdb.cp/pr-1210.exp
11172 * gdb.cp/pr-574.exp
11173 * gdb.cp/pr10687.exp
11174 * gdb.cp/pr12028.exp
11175 * gdb.cp/pr17132.exp
11176 * gdb.cp/pr17494.exp
11177 * gdb.cp/pr9067.exp
11178 * gdb.cp/pr9167.exp
11179 * gdb.cp/pr9631.exp
11180 * gdb.cp/printmethod.exp
11181 * gdb.cp/psmang.exp
11182 * gdb.cp/psymtab-parameter.exp
11183 * gdb.cp/ptype-cv-cp.exp
11184 * gdb.cp/ptype-flags.exp
11185 * gdb.cp/re-set-overloaded.exp
11186 * gdb.cp/ref-types.exp
11187 * gdb.cp/rtti.exp
11188 * gdb.cp/scope-err.exp
11189 * gdb.cp/shadow.exp
11190 * gdb.cp/smartp.exp
11191 * gdb.cp/static-method.exp
11192 * gdb.cp/static-print-quit.exp
11193 * gdb.cp/temargs.exp
11194 * gdb.cp/templates.exp
11195 * gdb.cp/try_catch.exp
11196 * gdb.cp/typedef-operator.exp
11197 * gdb.cp/typeid.exp
11198 * gdb.cp/userdef.exp
11199 * gdb.cp/using-crash.exp
11200 * gdb.cp/var-tag.exp
11201 * gdb.cp/virtbase.exp
11202 * gdb.cp/virtfunc.exp
11203 * gdb.cp/virtfunc2.exp
11204 * gdb.cp/vla-cxx.exp
11205 * gdb.disasm/t01_mov.exp
11206 * gdb.disasm/t02_mova.exp
11207 * gdb.disasm/t03_add.exp
11208 * gdb.disasm/t04_sub.exp
11209 * gdb.disasm/t05_cmp.exp
11210 * gdb.disasm/t06_ari2.exp
11211 * gdb.disasm/t07_ari3.exp
11212 * gdb.disasm/t08_or.exp
11213 * gdb.disasm/t09_xor.exp
11214 * gdb.disasm/t10_and.exp
11215 * gdb.disasm/t11_logs.exp
11216 * gdb.disasm/t12_bit.exp
11217 * gdb.disasm/t13_otr.exp
11218 * gdb.dlang/circular.exp
11219 * gdb.dwarf2/arr-stride.exp
11220 * gdb.dwarf2/arr-subrange.exp
11221 * gdb.dwarf2/atomic-type.exp
11222 * gdb.dwarf2/bad-regnum.exp
11223 * gdb.dwarf2/bitfield-parent-optimized-out.exp
11224 * gdb.dwarf2/callframecfa.exp
11225 * gdb.dwarf2/clztest.exp
11226 * gdb.dwarf2/corrupt.exp
11227 * gdb.dwarf2/data-loc.exp
11228 * gdb.dwarf2/dup-psym.exp
11229 * gdb.dwarf2/dw2-anon-mptr.exp
11230 * gdb.dwarf2/dw2-anonymous-func.exp
11231 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
11232 * gdb.dwarf2/dw2-bad-unresolved.exp
11233 * gdb.dwarf2/dw2-basic.exp
11234 * gdb.dwarf2/dw2-canonicalize-type.exp
11235 * gdb.dwarf2/dw2-case-insensitive.exp
11236 * gdb.dwarf2/dw2-common-block.exp
11237 * gdb.dwarf2/dw2-compdir-oldgcc.exp
11238 * gdb.dwarf2/dw2-compressed.exp
11239 * gdb.dwarf2/dw2-const.exp
11240 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
11241 * gdb.dwarf2/dw2-cu-size.exp
11242 * gdb.dwarf2/dw2-dup-frame.exp
11243 * gdb.dwarf2/dw2-entry-value.exp
11244 * gdb.dwarf2/dw2-icycle.exp
11245 * gdb.dwarf2/dw2-ifort-parameter.exp
11246 * gdb.dwarf2/dw2-inline-break.exp
11247 * gdb.dwarf2/dw2-inline-param.exp
11248 * gdb.dwarf2/dw2-intercu.exp
11249 * gdb.dwarf2/dw2-intermix.exp
11250 * gdb.dwarf2/dw2-lexical-block-bare.exp
11251 * gdb.dwarf2/dw2-linkage-name-trust.exp
11252 * gdb.dwarf2/dw2-minsym-in-cu.exp
11253 * gdb.dwarf2/dw2-noloc.exp
11254 * gdb.dwarf2/dw2-op-call.exp
11255 * gdb.dwarf2/dw2-op-out-param.exp
11256 * gdb.dwarf2/dw2-opt-structptr.exp
11257 * gdb.dwarf2/dw2-param-error.exp
11258 * gdb.dwarf2/dw2-producer.exp
11259 * gdb.dwarf2/dw2-ranges-base.exp
11260 * gdb.dwarf2/dw2-ref-missing-frame.exp
11261 * gdb.dwarf2/dw2-reg-undefined.exp
11262 * gdb.dwarf2/dw2-regno-invalid.exp
11263 * gdb.dwarf2/dw2-restore.exp
11264 * gdb.dwarf2/dw2-restrict.exp
11265 * gdb.dwarf2/dw2-single-line-discriminators.exp
11266 * gdb.dwarf2/dw2-strp.exp
11267 * gdb.dwarf2/dw2-undefined-ret-addr.exp
11268 * gdb.dwarf2/dw2-unresolved.exp
11269 * gdb.dwarf2/dw2-var-zero-addr.exp
11270 * gdb.dwarf2/dw4-sig-types.exp
11271 * gdb.dwarf2/dwz.exp
11272 * gdb.dwarf2/dynarr-ptr.exp
11273 * gdb.dwarf2/enum-type.exp
11274 * gdb.dwarf2/gdb-index.exp
11275 * gdb.dwarf2/implptr-64bit.exp
11276 * gdb.dwarf2/implptr-optimized-out.exp
11277 * gdb.dwarf2/implptr.exp
11278 * gdb.dwarf2/implref-array.exp
11279 * gdb.dwarf2/implref-const.exp
11280 * gdb.dwarf2/implref-global.exp
11281 * gdb.dwarf2/implref-struct.exp
11282 * gdb.dwarf2/mac-fileno.exp
11283 * gdb.dwarf2/main-subprogram.exp
11284 * gdb.dwarf2/member-ptr-forwardref.exp
11285 * gdb.dwarf2/method-ptr.exp
11286 * gdb.dwarf2/missing-sig-type.exp
11287 * gdb.dwarf2/nonvar-access.exp
11288 * gdb.dwarf2/opaque-type-lookup.exp
11289 * gdb.dwarf2/pieces-optimized-out.exp
11290 * gdb.dwarf2/pieces.exp
11291 * gdb.dwarf2/pr10770.exp
11292 * gdb.dwarf2/pr13961.exp
11293 * gdb.dwarf2/staticvirtual.exp
11294 * gdb.dwarf2/subrange.exp
11295 * gdb.dwarf2/symtab-producer.exp
11296 * gdb.dwarf2/trace-crash.exp
11297 * gdb.dwarf2/typeddwarf.exp
11298 * gdb.dwarf2/valop.exp
11299 * gdb.dwarf2/watch-notconst.exp
11300 * gdb.fortran/array-element.exp
11301 * gdb.fortran/charset.exp
11302 * gdb.fortran/common-block.exp
11303 * gdb.fortran/complex.exp
11304 * gdb.fortran/derived-type-function.exp
11305 * gdb.fortran/derived-type.exp
11306 * gdb.fortran/logical.exp
11307 * gdb.fortran/module.exp
11308 * gdb.fortran/multi-dim.exp
11309 * gdb.fortran/nested-funcs.exp
11310 * gdb.fortran/print-formatted.exp
11311 * gdb.fortran/subarray.exp
11312 * gdb.fortran/vla-alloc-assoc.exp
11313 * gdb.fortran/vla-datatypes.exp
11314 * gdb.fortran/vla-history.exp
11315 * gdb.fortran/vla-ptr-info.exp
11316 * gdb.fortran/vla-ptype-sub.exp
11317 * gdb.fortran/vla-ptype.exp
11318 * gdb.fortran/vla-sizeof.exp
11319 * gdb.fortran/vla-type.exp
11320 * gdb.fortran/vla-value-sub-arbitrary.exp
11321 * gdb.fortran/vla-value-sub-finish.exp
11322 * gdb.fortran/vla-value-sub.exp
11323 * gdb.fortran/vla-value.exp
11324 * gdb.fortran/whatis_type.exp
11325 * gdb.go/chan.exp
11326 * gdb.go/handcall.exp
11327 * gdb.go/hello.exp
11328 * gdb.go/integers.exp
11329 * gdb.go/methods.exp
11330 * gdb.go/package.exp
11331 * gdb.go/strings.exp
11332 * gdb.go/types.exp
11333 * gdb.go/unsafe.exp
11334 * gdb.guile/scm-arch.exp
11335 * gdb.guile/scm-block.exp
11336 * gdb.guile/scm-breakpoint.exp
11337 * gdb.guile/scm-cmd.exp
11338 * gdb.guile/scm-disasm.exp
11339 * gdb.guile/scm-equal.exp
11340 * gdb.guile/scm-frame-args.exp
11341 * gdb.guile/scm-frame-inline.exp
11342 * gdb.guile/scm-frame.exp
11343 * gdb.guile/scm-iterator.exp
11344 * gdb.guile/scm-math.exp
11345 * gdb.guile/scm-objfile.exp
11346 * gdb.guile/scm-ports.exp
11347 * gdb.guile/scm-symbol.exp
11348 * gdb.guile/scm-symtab.exp
11349 * gdb.guile/scm-value-cc.exp
11350 * gdb.guile/types-module.exp
11351 * gdb.linespec/break-ask.exp
11352 * gdb.linespec/cpexplicit.exp
11353 * gdb.linespec/explicit.exp
11354 * gdb.linespec/keywords.exp
11355 * gdb.linespec/linespec.exp
11356 * gdb.linespec/ls-dollar.exp
11357 * gdb.linespec/ls-errs.exp
11358 * gdb.linespec/skip-two.exp
11359 * gdb.linespec/thread.exp
11360 * gdb.mi/mi-async.exp
11361 * gdb.mi/mi-basics.exp
11362 * gdb.mi/mi-break.exp
11363 * gdb.mi/mi-catch-load.exp
11364 * gdb.mi/mi-cli.exp
11365 * gdb.mi/mi-cmd-param-changed.exp
11366 * gdb.mi/mi-console.exp
11367 * gdb.mi/mi-detach.exp
11368 * gdb.mi/mi-disassemble.exp
11369 * gdb.mi/mi-eval.exp
11370 * gdb.mi/mi-file-transfer.exp
11371 * gdb.mi/mi-file.exp
11372 * gdb.mi/mi-fill-memory.exp
11373 * gdb.mi/mi-inheritance-syntax-error.exp
11374 * gdb.mi/mi-linespec-err-cp.exp
11375 * gdb.mi/mi-logging.exp
11376 * gdb.mi/mi-memory-changed.exp
11377 * gdb.mi/mi-read-memory.exp
11378 * gdb.mi/mi-record-changed.exp
11379 * gdb.mi/mi-reg-undefined.exp
11380 * gdb.mi/mi-regs.exp
11381 * gdb.mi/mi-return.exp
11382 * gdb.mi/mi-reverse.exp
11383 * gdb.mi/mi-simplerun.exp
11384 * gdb.mi/mi-solib.exp
11385 * gdb.mi/mi-stack.exp
11386 * gdb.mi/mi-stepi.exp
11387 * gdb.mi/mi-syn-frame.exp
11388 * gdb.mi/mi-until.exp
11389 * gdb.mi/mi-var-block.exp
11390 * gdb.mi/mi-var-child.exp
11391 * gdb.mi/mi-var-cmd.exp
11392 * gdb.mi/mi-var-cp.exp
11393 * gdb.mi/mi-var-display.exp
11394 * gdb.mi/mi-var-invalidate.exp
11395 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
11396 * gdb.mi/mi-vla-fortran.exp
11397 * gdb.mi/mi-watch.exp
11398 * gdb.mi/mi2-var-child.exp
11399 * gdb.mi/user-selected-context-sync.exp
11400 * gdb.modula2/unbounded-array.exp
11401 * gdb.multi/dummy-frame-restore.exp
11402 * gdb.multi/multi-arch-exec.exp
11403 * gdb.multi/multi-arch.exp
11404 * gdb.multi/tids.exp
11405 * gdb.multi/watchpoint-multi.exp
11406 * gdb.opencl/callfuncs.exp
11407 * gdb.opencl/convs_casts.exp
11408 * gdb.opencl/datatypes.exp
11409 * gdb.opencl/operators.exp
11410 * gdb.opencl/vec_comps.exp
11411 * gdb.opt/clobbered-registers-O2.exp
11412 * gdb.opt/inline-break.exp
11413 * gdb.opt/inline-bt.exp
11414 * gdb.opt/inline-cmds.exp
11415 * gdb.opt/inline-locals.exp
11416 * gdb.pascal/case-insensitive-symbols.exp
11417 * gdb.pascal/floats.exp
11418 * gdb.pascal/gdb11492.exp
11419 * gdb.python/lib-types.exp
11420 * gdb.python/py-arch.exp
11421 * gdb.python/py-as-string.exp
11422 * gdb.python/py-bad-printers.exp
11423 * gdb.python/py-block.exp
11424 * gdb.python/py-breakpoint-create-fail.exp
11425 * gdb.python/py-breakpoint.exp
11426 * gdb.python/py-caller-is.exp
11427 * gdb.python/py-cmd.exp
11428 * gdb.python/py-explore-cc.exp
11429 * gdb.python/py-explore.exp
11430 * gdb.python/py-finish-breakpoint.exp
11431 * gdb.python/py-finish-breakpoint2.exp
11432 * gdb.python/py-frame-args.exp
11433 * gdb.python/py-frame-inline.exp
11434 * gdb.python/py-frame.exp
11435 * gdb.python/py-framefilter-mi.exp
11436 * gdb.python/py-infthread.exp
11437 * gdb.python/py-lazy-string.exp
11438 * gdb.python/py-linetable.exp
11439 * gdb.python/py-mi-events.exp
11440 * gdb.python/py-mi-objfile.exp
11441 * gdb.python/py-mi.exp
11442 * gdb.python/py-objfile.exp
11443 * gdb.python/py-pp-integral.exp
11444 * gdb.python/py-pp-maint.exp
11445 * gdb.python/py-pp-re-notag.exp
11446 * gdb.python/py-pp-registration.exp
11447 * gdb.python/py-recurse-unwind.exp
11448 * gdb.python/py-strfns.exp
11449 * gdb.python/py-symbol.exp
11450 * gdb.python/py-symtab.exp
11451 * gdb.python/py-sync-interp.exp
11452 * gdb.python/py-typeprint.exp
11453 * gdb.python/py-unwind-maint.exp
11454 * gdb.python/py-unwind.exp
11455 * gdb.python/py-value-cc.exp
11456 * gdb.python/py-xmethods.exp
11457 * gdb.reverse/amd64-tailcall-reverse.exp
11458 * gdb.reverse/break-precsave.exp
11459 * gdb.reverse/break-reverse.exp
11460 * gdb.reverse/consecutive-precsave.exp
11461 * gdb.reverse/consecutive-reverse.exp
11462 * gdb.reverse/finish-precsave.exp
11463 * gdb.reverse/finish-reverse-bkpt.exp
11464 * gdb.reverse/finish-reverse.exp
11465 * gdb.reverse/fstatat-reverse.exp
11466 * gdb.reverse/getresuid-reverse.exp
11467 * gdb.reverse/i386-precsave.exp
11468 * gdb.reverse/i386-reverse.exp
11469 * gdb.reverse/i386-sse-reverse.exp
11470 * gdb.reverse/i387-env-reverse.exp
11471 * gdb.reverse/i387-stack-reverse.exp
11472 * gdb.reverse/insn-reverse.exp
11473 * gdb.reverse/machinestate-precsave.exp
11474 * gdb.reverse/machinestate.exp
11475 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11476 * gdb.reverse/pipe-reverse.exp
11477 * gdb.reverse/readv-reverse.exp
11478 * gdb.reverse/recvmsg-reverse.exp
11479 * gdb.reverse/rerun-prec.exp
11480 * gdb.reverse/s390-mvcle.exp
11481 * gdb.reverse/step-precsave.exp
11482 * gdb.reverse/step-reverse.exp
11483 * gdb.reverse/time-reverse.exp
11484 * gdb.reverse/until-precsave.exp
11485 * gdb.reverse/until-reverse.exp
11486 * gdb.reverse/waitpid-reverse.exp
11487 * gdb.reverse/watch-precsave.exp
11488 * gdb.reverse/watch-reverse.exp
11489 * gdb.rust/generics.exp
11490 * gdb.rust/methods.exp
11491 * gdb.rust/modules.exp
11492 * gdb.rust/simple.exp
11493 * gdb.server/connect-with-no-symbol-file.exp
11494 * gdb.server/ext-attach.exp
11495 * gdb.server/ext-restart.exp
11496 * gdb.server/ext-wrapper.exp
11497 * gdb.server/file-transfer.exp
11498 * gdb.server/server-exec-info.exp
11499 * gdb.server/server-kill.exp
11500 * gdb.server/server-mon.exp
11501 * gdb.server/wrapper.exp
11502 * gdb.stabs/exclfwd.exp
11503 * gdb.stabs/gdb11479.exp
11504 * gdb.threads/clone-new-thread-event.exp
11505 * gdb.threads/corethreads.exp
11506 * gdb.threads/current-lwp-dead.exp
11507 * gdb.threads/dlopen-libpthread.exp
11508 * gdb.threads/gcore-thread.exp
11509 * gdb.threads/sigstep-threads.exp
11510 * gdb.threads/watchpoint-fork.exp
11511 * gdb.trace/actions-changed.exp
11512 * gdb.trace/backtrace.exp
11513 * gdb.trace/change-loc.exp
11514 * gdb.trace/circ.exp
11515 * gdb.trace/collection.exp
11516 * gdb.trace/disconnected-tracing.exp
11517 * gdb.trace/ftrace.exp
11518 * gdb.trace/mi-trace-frame-collected.exp
11519 * gdb.trace/mi-trace-unavailable.exp
11520 * gdb.trace/mi-traceframe-changed.exp
11521 * gdb.trace/mi-tsv-changed.exp
11522 * gdb.trace/no-attach-trace.exp
11523 * gdb.trace/passc-dyn.exp
11524 * gdb.trace/qtro.exp
11525 * gdb.trace/range-stepping.exp
11526 * gdb.trace/read-memory.exp
11527 * gdb.trace/save-trace.exp
11528 * gdb.trace/signal.exp
11529 * gdb.trace/status-stop.exp
11530 * gdb.trace/tfile.exp
11531 * gdb.trace/trace-break.exp
11532 * gdb.trace/trace-buffer-size.exp
11533 * gdb.trace/trace-condition.exp
11534 * gdb.trace/tracefile-pseudo-reg.exp
11535 * gdb.trace/tstatus.exp
11536 * gdb.trace/unavailable.exp
11537 * gdb.trace/while-dyn.exp
11538 * gdb.trace/while-stepping.exp
11539
34c41c68
DE
115402016-12-22 Doug Evans <xdje42@gmail.com>
11541
11542 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
11543 and msymbols.
11544
16e69324
YQ
115452016-12-19 Yao Qi <yao.qi@linaro.org>
11546
11547 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
11548 (test_with_self): Don't call do_steps_and_nexts, and remove
11549 code about stepping into xmalloc.
11550
f94f411b
YQ
115512016-12-09 Yao Qi <yao.qi@linaro.org>
11552
11553 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
11554
115552016-12-09 Yao Qi <yao.qi@linaro.org>
11556
11557 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
11558
f1b5deee
PA
115592016-12-09 Pedro Alves <palves@redhat.com>
11560
11561 * gdb.base/all-architectures-0.exp: New file.
11562 * gdb.base/all-architectures-1.exp: New file.
11563 * gdb.base/all-architectures-2.exp: New file.
11564 * gdb.base/all-architectures-3.exp: New file.
11565 * gdb.base/all-architectures-4.exp: New file.
11566 * gdb.base/all-architectures-5.exp: New file.
11567 * gdb.base/all-architectures-6.exp: New file.
11568 * gdb.base/all-architectures-7.exp: New file.
11569 * gdb.base/all-architectures.exp.in: New file.
11570
364ca42e
YQ
115712016-12-09 Yao Qi <yao.qi@linaro.org>
11572
11573 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
11574
107c2d62
LM
115752016-12-02 Luis Machado <lgustavo@codesourcery.com>
11576
11577 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
11578 possible.
11579 Remove useless pattern-matching code.
11580
df3ee9ca
PA
115812016-12-02 Pedro Alves <palves@redhat.com>
11582
11583 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
11584 procedure.
11585 (top level): Call it.
11586
ec835369
PA
115872016-12-02 Pedro Alves <palves@redhat.com>
11588
11589 * gdb.base/commands.exp (user_defined_command_args_stack_test):
11590 New procedure.
11591 (top level): Call it.
11592
01770bbd
PA
115932016-12-02 Pedro Alves <palves@redhat.com>
11594
11595 PR cli/20559
11596 * gdb.base/commands.exp (user_defined_command_args_eval): New
11597 procedure.
11598 (top level): Call it.
11599
008459ea
LM
116002016-12-02 Luis Machado <lgustavo@codesourcery.com>
11601
11602 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
11603 timeout handling.
11604
0c1b455e
TT
116052016-12-02 Tom Tromey <tom@tromey.com>
11606
11607 * gdb.dwarf2/main-subprogram.c: New file.
11608 * gdb.dwarf2/main-subprogram.exp: New file.
11609
018572b8
LM
116102016-12-01 Luis Machado <lgustavo@codesourcery.com>
11611
11612 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
11613 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
11614 gdb_test_no_output for a couple of cases.
11615 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
11616
84c93cd5
LM
116172016-12-01 Luis Machado <lgustavo@codesourcery.com>
11618
11619 Fix test names and standardize compilation error messages throughout
11620 the following files:
11621
11622 * gdb.ada/start.exp
11623 * gdb.arch/alpha-step.exp
11624 * gdb.arch/e500-prologue.exp
11625 * gdb.arch/ftrace-insn-reloc.exp
11626 * gdb.arch/gdb1291.exp
11627 * gdb.arch/gdb1431.exp
11628 * gdb.arch/gdb1558.exp
11629 * gdb.arch/i386-dr3-watch.exp
11630 * gdb.arch/i386-sse-stack-align.exp
11631 * gdb.arch/ia64-breakpoint-shadow.exp
11632 * gdb.arch/pa-nullify.exp
11633 * gdb.arch/powerpc-aix-prologue.exp
11634 * gdb.arch/thumb-bx-pc.exp
11635 * gdb.base/annota1.exp
11636 * gdb.base/annota3.exp
11637 * gdb.base/arrayidx.exp
11638 * gdb.base/assign.exp
11639 * gdb.base/attach.exp
11640 * gdb.base/auxv.exp
11641 * gdb.base/bang.exp
11642 * gdb.base/bfp-test.exp
11643 * gdb.base/bigcore.exp
11644 * gdb.base/bitfields2.exp
11645 * gdb.base/break-fun-addr.exp
11646 * gdb.base/break-probes.exp
11647 * gdb.base/call-rt-st.exp
11648 * gdb.base/callexit.exp
11649 * gdb.base/catch-fork-kill.exp
11650 * gdb.base/charset.exp
11651 * gdb.base/checkpoint.exp
11652 * gdb.base/comprdebug.exp
11653 * gdb.base/constvars.exp
11654 * gdb.base/coredump-filter.exp
11655 * gdb.base/cursal.exp
11656 * gdb.base/cvexpr.exp
11657 * gdb.base/detach.exp
11658 * gdb.base/display.exp
11659 * gdb.base/dmsym.exp
11660 * gdb.base/dprintf-pending.exp
11661 * gdb.base/dso2dso.exp
11662 * gdb.base/dtrace-probe.exp
11663 * gdb.base/dump.exp
11664 * gdb.base/enum_cond.exp
11665 * gdb.base/exe-lock.exp
11666 * gdb.base/exec-invalid-sysroot.exp
11667 * gdb.base/execl-update-breakpoints.exp
11668 * gdb.base/exprs.exp
11669 * gdb.base/fileio.exp
11670 * gdb.base/find.exp
11671 * gdb.base/finish.exp
11672 * gdb.base/fixsection.exp
11673 * gdb.base/foll-vfork.exp
11674 * gdb.base/frame-args.exp
11675 * gdb.base/gcore.exp
11676 * gdb.base/gdb1250.exp
11677 * gdb.base/global-var-nested-by-dso.exp
11678 * gdb.base/gnu-ifunc.exp
11679 * gdb.base/hashline1.exp
11680 * gdb.base/hashline2.exp
11681 * gdb.base/hashline3.exp
11682 * gdb.base/hbreak-in-shr-unsupported.exp
11683 * gdb.base/huge.exp
11684 * gdb.base/infcall-input.exp
11685 * gdb.base/info-fun.exp
11686 * gdb.base/info-shared.exp
11687 * gdb.base/jit-simple.exp
11688 * gdb.base/jit-so.exp
11689 * gdb.base/jit.exp
11690 * gdb.base/jump.exp
11691 * gdb.base/label.exp
11692 * gdb.base/lineinc.exp
11693 * gdb.base/logical.exp
11694 * gdb.base/longjmp.exp
11695 * gdb.base/macscp.exp
11696 * gdb.base/miscexprs.exp
11697 * gdb.base/new-ui-echo.exp
11698 * gdb.base/new-ui-pending-input.exp
11699 * gdb.base/new-ui.exp
11700 * gdb.base/nodebug.exp
11701 * gdb.base/nofield.exp
11702 * gdb.base/offsets.exp
11703 * gdb.base/overlays.exp
11704 * gdb.base/pending.exp
11705 * gdb.base/pointers.exp
11706 * gdb.base/pr11022.exp
11707 * gdb.base/printcmds.exp
11708 * gdb.base/prologue.exp
11709 * gdb.base/ptr-typedef.exp
11710 * gdb.base/realname-expand.exp
11711 * gdb.base/relativedebug.exp
11712 * gdb.base/relocate.exp
11713 * gdb.base/remote.exp
11714 * gdb.base/reread.exp
11715 * gdb.base/return2.exp
11716 * gdb.base/savedregs.exp
11717 * gdb.base/sep.exp
11718 * gdb.base/sepdebug.exp
11719 * gdb.base/sepsymtab.exp
11720 * gdb.base/set-inferior-tty.exp
11721 * gdb.base/setshow.exp
11722 * gdb.base/shlib-call.exp
11723 * gdb.base/sigaltstack.exp
11724 * gdb.base/siginfo-addr.exp
11725 * gdb.base/signals.exp
11726 * gdb.base/signull.exp
11727 * gdb.base/sigrepeat.exp
11728 * gdb.base/so-impl-ld.exp
11729 * gdb.base/solib-display.exp
11730 * gdb.base/solib-overlap.exp
11731 * gdb.base/solib-search.exp
11732 * gdb.base/solib-symbol.exp
11733 * gdb.base/structs.exp
11734 * gdb.base/structs2.exp
11735 * gdb.base/symtab-search-order.exp
11736 * gdb.base/twice.exp
11737 * gdb.base/unload.exp
11738 * gdb.base/varargs.exp
11739 * gdb.base/watchpoint-solib.exp
11740 * gdb.base/watchpoint.exp
11741 * gdb.base/whatis.exp
11742 * gdb.base/wrong_frame_bt_full.exp
11743 * gdb.btrace/dlopen.exp
11744 * gdb.cell/ea-standalone.exp
11745 * gdb.cell/ea-test.exp
11746 * gdb.cp/dispcxx.exp
11747 * gdb.cp/gdb2384.exp
11748 * gdb.cp/method2.exp
11749 * gdb.cp/nextoverthrow.exp
11750 * gdb.cp/pr10728.exp
11751 * gdb.disasm/am33.exp
11752 * gdb.disasm/h8300s.exp
11753 * gdb.disasm/mn10300.exp
11754 * gdb.disasm/sh3.exp
11755 * gdb.dwarf2/dw2-dir-file-name.exp
11756 * gdb.fortran/complex.exp
11757 * gdb.fortran/library-module.exp
11758 * gdb.guile/scm-pretty-print.exp
11759 * gdb.guile/scm-symbol.exp
11760 * gdb.guile/scm-type.exp
11761 * gdb.guile/scm-value.exp
11762 * gdb.linespec/linespec.exp
11763 * gdb.mi/gdb701.exp
11764 * gdb.mi/gdb792.exp
11765 * gdb.mi/mi-breakpoint-changed.exp
11766 * gdb.mi/mi-dprintf-pending.exp
11767 * gdb.mi/mi-dprintf.exp
11768 * gdb.mi/mi-exit-code.exp
11769 * gdb.mi/mi-pending.exp
11770 * gdb.mi/mi-solib.exp
11771 * gdb.mi/new-ui-mi-sync.exp
11772 * gdb.mi/pr11022.exp
11773 * gdb.mi/user-selected-context-sync.exp
11774 * gdb.opt/solib-intra-step.exp
11775 * gdb.python/py-events.exp
11776 * gdb.python/py-finish-breakpoint.exp
11777 * gdb.python/py-mi.exp
11778 * gdb.python/py-prettyprint.exp
11779 * gdb.python/py-shared.exp
11780 * gdb.python/py-symbol.exp
11781 * gdb.python/py-template.exp
11782 * gdb.python/py-type.exp
11783 * gdb.python/py-value.exp
11784 * gdb.reverse/solib-precsave.exp
11785 * gdb.reverse/solib-reverse.exp
11786 * gdb.server/solib-list.exp
11787 * gdb.stabs/weird.exp
11788 * gdb.threads/reconnect-signal.exp
11789 * gdb.threads/stepi-random-signal.exp
11790 * gdb.trace/actions.exp
11791 * gdb.trace/ax.exp
11792 * gdb.trace/backtrace.exp
11793 * gdb.trace/change-loc.exp
11794 * gdb.trace/deltrace.exp
11795 * gdb.trace/ftrace-lock.exp
11796 * gdb.trace/ftrace.exp
11797 * gdb.trace/infotrace.exp
11798 * gdb.trace/mi-tracepoint-changed.exp
11799 * gdb.trace/packetlen.exp
11800 * gdb.trace/passcount.exp
11801 * gdb.trace/pending.exp
11802 * gdb.trace/range-stepping.exp
11803 * gdb.trace/report.exp
11804 * gdb.trace/stap-trace.exp
11805 * gdb.trace/tfind.exp
11806 * gdb.trace/trace-break.exp
11807 * gdb.trace/trace-condition.exp
11808 * gdb.trace/trace-enable-disable.exp
11809 * gdb.trace/trace-mt.exp
11810 * gdb.trace/tracecmd.exp
11811 * gdb.trace/tspeed.exp
11812 * gdb.trace/tsv.exp
11813 * lib/perftest.exp
11814
fb9feb35
LM
118152016-12-01 Luis Machado <lgustavo@codesourcery.com>
11816
11817 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
11818 with gdb_test_no_output.
11819 Use command as test name.
11820
cd2ddb6c
LM
118212016-12-01 Luis Machado <lgustavo@codesourcery.com>
11822
11823 Fix test names starting with uppercase throughout the files.
11824
11825 * gdb.ada/assign_1.exp
11826 * gdb.ada/boolean_expr.exp
11827 * gdb.base/arrayidx.exp
11828 * gdb.base/del.exp
11829 * gdb.base/gcore-buffer-overflow.exp
11830 * gdb.base/testenv.exp
11831 * gdb.compile/compile.exp
11832 * gdb.python/py-framefilter-invalidarg.exp
11833 * gdb.python/py-framefilter.exp
11834
bb95117e
LM
118352016-12-01 Luis Machado <lgustavo@codesourcery.com>
11836
11837 Fix test names starting with uppercase throughout the files.
11838
11839 * gdb.ada/array_return.exp
11840 * gdb.ada/expr_delims.exp
11841 * gdb.ada/mi_dyn_arr.exp
11842 * gdb.ada/mi_interface.exp
11843 * gdb.ada/mi_var_array.exp
11844 * gdb.ada/watch_arg.exp
11845 * gdb.arch/alpha-step.exp
11846 * gdb.arch/altivec-regs.exp
11847 * gdb.arch/e500-regs.exp
11848 * gdb.arch/powerpc-d128-regs.exp
11849 * gdb.base/arrayidx.exp
11850 * gdb.base/break.exp
11851 * gdb.base/checkpoint.exp
11852 * gdb.base/debug-expr.exp
11853 * gdb.base/dmsym.exp
11854 * gdb.base/radix.exp
11855 * gdb.base/sepdebug.exp
11856 * gdb.base/testenv.exp
11857 * gdb.base/watch_thread_num.exp
11858 * gdb.base/watchpoint-cond-gone.exp
11859 * gdb.cell/break.exp
11860 * gdb.cell/ea-cache.exp
11861 * gdb.compile/compile.exp
11862 * gdb.cp/gdb2495.exp
11863 * gdb.gdb/selftest.exp
11864 * gdb.gdb/xfullpath.exp
11865 * gdb.go/hello.exp
11866 * gdb.go/integers.exp
11867 * gdb.objc/basicclass.exp
11868 * gdb.pascal/hello.exp
11869 * gdb.pascal/integers.exp
11870 * gdb.python/py-breakpoint.exp
11871 * gdb.python/py-cmd.exp
11872 * gdb.python/py-linetable.exp
11873 * gdb.python/py-xmethods.exp
11874 * gdb.python/python.exp
11875 * gdb.reverse/consecutive-precsave.exp
11876 * gdb.reverse/finish-precsave.exp
11877 * gdb.reverse/i386-precsave.exp
11878 * gdb.reverse/machinestate-precsave.exp
11879 * gdb.reverse/sigall-precsave.exp
11880 * gdb.reverse/solib-precsave.exp
11881 * gdb.reverse/step-precsave.exp
11882 * gdb.reverse/until-precsave.exp
11883 * gdb.reverse/watch-precsave.exp
11884 * gdb.threads/leader-exit.exp
11885 * gdb.threads/pthreads.exp
11886 * gdb.threads/wp-replication.exp
11887 * gdb.trace/actions.exp
11888 * gdb.trace/mi-tsv-changed.exp
11889 * gdb.trace/tsv.exp
11890
de97fdd4
LM
118912016-12-01 Luis Machado <lgustavo@codesourcery.com>
11892
11893 Fix test names starting with uppercase throughout the files.
11894
11895 * gdb.arch/i386-bp_permanent.exp
11896 * gdb.arch/i386-gnu-cfi.exp
11897 * gdb.base/disasm-end-cu.exp
11898 * gdb.base/macscp.exp
11899 * gdb.base/pending.exp
11900 * gdb.base/watch_thread_num.exp
11901 * gdb.cp/exception.exp
11902 * gdb.cp/gdb2495.exp
11903 * gdb.cp/local.exp
11904 * gdb.python/py-evsignal.exp
11905 * gdb.python/python.exp
11906 * gdb.trace/tracecmd.exp
11907
9f058c10
LM
119082016-12-01 Luis Machado <lgustavo@codesourcery.com>
11909
11910 Fix test names starting with uppercase throughout the files.
11911
11912 * gdb.base/charset.exp
11913 * gdb.base/eval.exp
11914 * gdb.base/multi-forks.exp
11915 * gdb.guile/scm-progspace.exp
11916 * gdb.opencl/datatypes.exp
11917 * gdb.python/py-block.exp
11918 * gdb.python/py-function.exp
11919 * gdb.python/py-symbol.exp
11920 * gdb.python/py-symtab.exp
11921 * gdb.python/py-xmethods.exp
11922 * gdb.reverse/break-precsave.exp
11923 * gdb.reverse/break-reverse.exp
11924 * gdb.reverse/consecutive-precsave.exp
11925 * gdb.reverse/consecutive-reverse.exp
11926 * gdb.reverse/finish-precsave.exp
11927 * gdb.reverse/finish-reverse-bkpt.exp
11928 * gdb.reverse/finish-reverse.exp
11929 * gdb.reverse/fstatat-reverse.exp
11930 * gdb.reverse/getresuid-reverse.exp
11931 * gdb.reverse/i386-precsave.exp
11932 * gdb.reverse/i386-reverse.exp
11933 * gdb.reverse/i386-sse-reverse.exp
11934 * gdb.reverse/i387-stack-reverse.exp
11935 * gdb.reverse/insn-reverse.exp
11936 * gdb.reverse/machinestate-precsave.exp
11937 * gdb.reverse/machinestate.exp
11938 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11939 * gdb.reverse/pipe-reverse.exp
11940 * gdb.reverse/readv-reverse.exp
11941 * gdb.reverse/recvmsg-reverse.exp
11942 * gdb.reverse/rerun-prec.exp
11943 * gdb.reverse/s390-mvcle.exp
11944 * gdb.reverse/sigall-precsave.exp
11945 * gdb.reverse/sigall-reverse.exp
11946 * gdb.reverse/solib-precsave.exp
11947 * gdb.reverse/solib-reverse.exp
11948 * gdb.reverse/step-precsave.exp
11949 * gdb.reverse/step-reverse.exp
11950 * gdb.reverse/time-reverse.exp
11951 * gdb.reverse/until-precsave.exp
11952 * gdb.reverse/until-reverse.exp
11953 * gdb.reverse/waitpid-reverse.exp
11954 * gdb.reverse/watch-precsave.exp
11955 * gdb.reverse/watch-reverse.exp
11956
cdc7edd7
LM
119572016-12-01 Luis Machado <lgustavo@codesourcery.com>
11958
11959 Fix test names starting with uppercase throughout the files.
11960
11961 * gdb.arch/i386-mpx-simple_segv.exp
11962 * gdb.arch/i386-mpx.exp
11963 * gdb.arch/i386-permbkpt.exp
11964 * gdb.arch/pa-nullify.exp
11965 * gdb.arch/powerpc-d128-regs.exp
11966 * gdb.arch/vsx-regs.exp
11967 * gdb.base/bfp-test.exp
11968 * gdb.base/break.exp
11969 * gdb.base/breakpoint-shadow.exp
11970 * gdb.base/callfuncs.exp
11971 * gdb.base/charset.exp
11972 * gdb.base/commands.exp
11973 * gdb.base/completion.exp
11974 * gdb.base/dfp-test.exp
11975 * gdb.base/echo.exp
11976 * gdb.base/ending-run.exp
11977 * gdb.base/eval.exp
11978 * gdb.base/expand-psymtabs.exp
11979 * gdb.base/float128.exp
11980 * gdb.base/floatn.exp
11981 * gdb.base/foll-exec-mode.exp
11982 * gdb.base/gdb1056.exp
11983 * gdb.base/gdb11531.exp
11984 * gdb.base/kill-after-signal.exp
11985 * gdb.base/multi-forks.exp
11986 * gdb.base/overlays.exp
11987 * gdb.base/pending.exp
11988 * gdb.base/sepdebug.exp
11989 * gdb.base/testenv.exp
11990 * gdb.base/valgrind-db-attach.exp
11991 * gdb.base/watch_thread_num.exp
11992 * gdb.base/watchpoint-cond-gone.exp
11993 * gdb.base/watchpoint.exp
11994 * gdb.base/watchpoints.exp
11995 * gdb.cp/arg-reference.exp
11996 * gdb.cp/baseenum.exp
11997 * gdb.cp/operator.exp
11998 * gdb.cp/shadow.exp
11999 * gdb.dwarf2/dw2-op-out-param.exp
12000 * gdb.dwarf2/dw2-reg-undefined.exp
12001 * gdb.go/chan.exp
12002 * gdb.go/hello.exp
12003 * gdb.go/integers.exp
12004 * gdb.go/methods.exp
12005 * gdb.go/package.exp
12006 * gdb.guile/scm-parameter.exp
12007 * gdb.guile/scm-progspace.exp
12008 * gdb.guile/scm-value.exp
12009 * gdb.mi/mi-pending.exp
12010 * gdb.mi/user-selected-context-sync.exp
12011 * gdb.multi/multi-attach.exp
12012 * gdb.multi/tids.exp
12013 * gdb.opt/clobbered-registers-O2.exp
12014 * gdb.pascal/floats.exp
12015 * gdb.pascal/integers.exp
12016 * gdb.python/py-block.exp
12017 * gdb.python/py-events.exp
12018 * gdb.python/py-parameter.exp
12019 * gdb.python/py-symbol.exp
12020 * gdb.python/py-symtab.exp
12021 * gdb.python/py-type.exp
12022 * gdb.python/py-value.exp
12023 * gdb.python/py-xmethods.exp
12024 * gdb.python/python.exp
12025 * gdb.reverse/break-precsave.exp
12026 * gdb.reverse/consecutive-precsave.exp
12027 * gdb.reverse/finish-precsave.exp
12028 * gdb.reverse/i386-precsave.exp
12029 * gdb.reverse/machinestate-precsave.exp
12030 * gdb.reverse/sigall-precsave.exp
12031 * gdb.reverse/solib-precsave.exp
12032 * gdb.reverse/step-precsave.exp
12033 * gdb.reverse/until-precsave.exp
12034 * gdb.reverse/watch-precsave.exp
12035 * gdb.server/ext-attach.exp
12036 * gdb.server/ext-restart.exp
12037 * gdb.server/ext-run.exp
12038 * gdb.server/ext-wrapper.exp
12039 * gdb.stabs/gdb11479.exp
12040 * gdb.stabs/weird.exp
12041 * gdb.threads/attach-many-short-lived-threads.exp
12042 * gdb.threads/kill.exp
12043 * gdb.threads/watchpoint-fork.exp
12044
bc6c7af4
LM
120452016-12-01 Luis Machado <lgustavo@codesourcery.com>
12046
12047 Fix test names starting with uppercase throughout all the files below.
12048
12049 * gdb.ada/array_return.exp
12050 * gdb.ada/catch_ex.exp
12051 * gdb.ada/info_exc.exp
12052 * gdb.ada/mi_catch_ex.exp
12053 * gdb.ada/mi_dyn_arr.exp
12054 * gdb.ada/mi_ex_cond.exp
12055 * gdb.ada/mi_exc_info.exp
12056 * gdb.ada/mi_interface.exp
12057 * gdb.ada/mi_task_arg.exp
12058 * gdb.ada/mi_task_info.exp
12059 * gdb.ada/mi_var_array.exp
12060 * gdb.arch/alpha-step.exp
12061 * gdb.arch/amd64-disp-step.exp
12062 * gdb.arch/arm-disp-step.exp
12063 * gdb.arch/disp-step-insn-reloc.exp
12064 * gdb.arch/e500-prologue.exp
12065 * gdb.arch/ftrace-insn-reloc.exp
12066 * gdb.arch/gdb1558.exp
12067 * gdb.arch/i386-bp_permanent.exp
12068 * gdb.arch/i386-disp-step.exp
12069 * gdb.arch/i386-float.exp
12070 * gdb.arch/i386-gnu-cfi.exp
12071 * gdb.arch/ia64-breakpoint-shadow.exp
12072 * gdb.arch/mips16-thunks.exp
12073 * gdb.arch/pa-nullify.exp
12074 * gdb.arch/powerpc-aix-prologue.exp
12075 * gdb.arch/powerpc-power.exp
12076 * gdb.arch/ppc-dfp.exp
12077 * gdb.arch/s390-tdbregs.exp
12078 * gdb.arch/spu-info.exp
12079 * gdb.arch/spu-ls.exp
12080 * gdb.arch/thumb-bx-pc.exp
12081 * gdb.base/advance.exp
12082 * gdb.base/annota-input-while-running.exp
12083 * gdb.base/arrayidx.exp
12084 * gdb.base/asmlabel.exp
12085 * gdb.base/async.exp
12086 * gdb.base/attach-wait-input.exp
12087 * gdb.base/auto-connect-native-target.exp
12088 * gdb.base/batch-preserve-term-settings.exp
12089 * gdb.base/bfp-test.exp
12090 * gdb.base/bigcore.exp
12091 * gdb.base/bp-permanent.exp
12092 * gdb.base/break-always.exp
12093 * gdb.base/break-fun-addr.exp
12094 * gdb.base/break-idempotent.exp
12095 * gdb.base/break-main-file-remove-fail.exp
12096 * gdb.base/break-probes.exp
12097 * gdb.base/break-unload-file.exp
12098 * gdb.base/break.exp
12099 * gdb.base/call-ar-st.exp
12100 * gdb.base/call-rt-st.exp
12101 * gdb.base/call-sc.exp
12102 * gdb.base/call-signal-resume.exp
12103 * gdb.base/call-strs.exp
12104 * gdb.base/callexit.exp
12105 * gdb.base/callfuncs.exp
12106 * gdb.base/catch-gdb-caused-signals.exp
12107 * gdb.base/catch-signal-siginfo-cond.exp
12108 * gdb.base/catch-syscall.exp
12109 * gdb.base/compare-sections.exp
12110 * gdb.base/cond-eval-mode.exp
12111 * gdb.base/condbreak-call-false.exp
12112 * gdb.base/consecutive-step-over.exp
12113 * gdb.base/cursal.exp
12114 * gdb.base/disabled-location.exp
12115 * gdb.base/disasm-end-cu.exp
12116 * gdb.base/display.exp
12117 * gdb.base/double-prompt-target-event-error.exp
12118 * gdb.base/dprintf-bp-same-addr.exp
12119 * gdb.base/dprintf-detach.exp
12120 * gdb.base/dprintf-next.exp
12121 * gdb.base/dprintf-non-stop.exp
12122 * gdb.base/dprintf-pending.exp
12123 * gdb.base/dso2dso.exp
12124 * gdb.base/ending-run.exp
12125 * gdb.base/enum_cond.exp
12126 * gdb.base/examine-backward.exp
12127 * gdb.base/exe-lock.exp
12128 * gdb.base/exec-invalid-sysroot.exp
12129 * gdb.base/execl-update-breakpoints.exp
12130 * gdb.base/execution-termios.exp
12131 * gdb.base/fileio.exp
12132 * gdb.base/fixsection.exp
12133 * gdb.base/foll-exec-mode.exp
12134 * gdb.base/foll-exec.exp
12135 * gdb.base/fork-running-state.exp
12136 * gdb.base/frame-args.exp
12137 * gdb.base/fullpath-expand.exp
12138 * gdb.base/func-ptr.exp
12139 * gdb.base/gcore-relro-pie.exp
12140 * gdb.base/gdb1090.exp
12141 * gdb.base/gdb1555.exp
12142 * gdb.base/global-var-nested-by-dso.exp
12143 * gdb.base/gnu-ifunc.exp
12144 * gdb.base/hbreak-in-shr-unsupported.exp
12145 * gdb.base/hbreak-unmapped.exp
12146 * gdb.base/hook-stop.exp
12147 * gdb.base/infcall-input.exp
12148 * gdb.base/info-fun.exp
12149 * gdb.base/info-shared.exp
12150 * gdb.base/interrupt-noterm.exp
12151 * gdb.base/jit-so.exp
12152 * gdb.base/jit.exp
12153 * gdb.base/line-symtabs.exp
12154 * gdb.base/list.exp
12155 * gdb.base/longjmp.exp
12156 * gdb.base/macscp.exp
12157 * gdb.base/max-value-size.exp
12158 * gdb.base/nodebug.exp
12159 * gdb.base/nofield.exp
12160 * gdb.base/overlays.exp
12161 * gdb.base/paginate-after-ctrl-c-running.exp
12162 * gdb.base/paginate-bg-execution.exp
12163 * gdb.base/paginate-inferior-exit.exp
12164 * gdb.base/pending.exp
12165 * gdb.base/pr11022.exp
12166 * gdb.base/printcmds.exp
12167 * gdb.base/ptr-typedef.exp
12168 * gdb.base/ptype.exp
12169 * gdb.base/randomize.exp
12170 * gdb.base/range-stepping.exp
12171 * gdb.base/realname-expand.exp
12172 * gdb.base/relativedebug.exp
12173 * gdb.base/remote.exp
12174 * gdb.base/savedregs.exp
12175 * gdb.base/sepdebug.exp
12176 * gdb.base/set-noassign.exp
12177 * gdb.base/shlib-call.exp
12178 * gdb.base/shreloc.exp
12179 * gdb.base/sigaltstack.exp
12180 * gdb.base/sigbpt.exp
12181 * gdb.base/siginfo-addr.exp
12182 * gdb.base/siginfo-obj.exp
12183 * gdb.base/siginfo-thread.exp
12184 * gdb.base/signest.exp
12185 * gdb.base/signull.exp
12186 * gdb.base/sigrepeat.exp
12187 * gdb.base/skip.exp
12188 * gdb.base/so-impl-ld.exp
12189 * gdb.base/solib-corrupted.exp
12190 * gdb.base/solib-disc.exp
12191 * gdb.base/solib-display.exp
12192 * gdb.base/solib-overlap.exp
12193 * gdb.base/solib-search.exp
12194 * gdb.base/solib-symbol.exp
12195 * gdb.base/source-execution.exp
12196 * gdb.base/sss-bp-on-user-bp-2.exp
12197 * gdb.base/sss-bp-on-user-bp.exp
12198 * gdb.base/stack-checking.exp
12199 * gdb.base/stale-infcall.exp
12200 * gdb.base/step-break.exp
12201 * gdb.base/step-line.exp
12202 * gdb.base/step-over-exit.exp
12203 * gdb.base/step-test.exp
12204 * gdb.base/structs.exp
12205 * gdb.base/sym-file.exp
12206 * gdb.base/symtab-search-order.exp
12207 * gdb.base/term.exp
12208 * gdb.base/type-opaque.exp
12209 * gdb.base/unload.exp
12210 * gdb.base/until-nodebug.exp
12211 * gdb.base/until.exp
12212 * gdb.base/unwindonsignal.exp
12213 * gdb.base/watch-cond.exp
12214 * gdb.base/watch-non-mem.exp
12215 * gdb.base/watch_thread_num.exp
12216 * gdb.base/watchpoint-reuse-slot.exp
12217 * gdb.base/watchpoint-solib.exp
12218 * gdb.base/watchpoint.exp
12219 * gdb.btrace/dlopen.exp
12220 * gdb.cell/arch.exp
12221 * gdb.cell/break.exp
12222 * gdb.cell/bt.exp
12223 * gdb.cell/core.exp
12224 * gdb.cell/data.exp
12225 * gdb.cell/dwarfaddr.exp
12226 * gdb.cell/ea-cache.exp
12227 * gdb.cell/ea-standalone.exp
12228 * gdb.cell/ea-test.exp
12229 * gdb.cell/f-regs.exp
12230 * gdb.cell/fork.exp
12231 * gdb.cell/gcore.exp
12232 * gdb.cell/mem-access.exp
12233 * gdb.cell/ptype.exp
12234 * gdb.cell/registers.exp
12235 * gdb.cell/sizeof.exp
12236 * gdb.cell/solib-symbol.exp
12237 * gdb.cell/solib.exp
12238 * gdb.compile/compile-tls.exp
12239 * gdb.cp/exception.exp
12240 * gdb.cp/gdb2495.exp
12241 * gdb.cp/local.exp
12242 * gdb.cp/mb-inline.exp
12243 * gdb.cp/mb-templates.exp
12244 * gdb.cp/pr10687.exp
12245 * gdb.cp/pr9167.exp
12246 * gdb.cp/scope-err.exp
12247 * gdb.cp/templates.exp
12248 * gdb.cp/virtfunc.exp
12249 * gdb.dwarf2/dw2-dir-file-name.exp
12250 * gdb.dwarf2/dw2-single-line-discriminators.exp
12251 * gdb.fortran/complex.exp
12252 * gdb.fortran/library-module.exp
12253 * gdb.guile/guile.exp
12254 * gdb.guile/scm-cmd.exp
12255 * gdb.guile/scm-frame-inline.exp
12256 * gdb.guile/scm-objfile.exp
12257 * gdb.guile/scm-pretty-print.exp
12258 * gdb.guile/scm-symbol.exp
12259 * gdb.guile/scm-type.exp
12260 * gdb.guile/scm-value.exp
12261 * gdb.linespec/keywords.exp
12262 * gdb.linespec/ls-errs.exp
12263 * gdb.linespec/macro-relative.exp
12264 * gdb.linespec/thread.exp
12265 * gdb.mi/mi-breakpoint-changed.exp
12266 * gdb.mi/mi-dprintf-pending.exp
12267 * gdb.mi/mi-fullname-deleted.exp
12268 * gdb.mi/mi-logging.exp
12269 * gdb.mi/mi-pending.exp
12270 * gdb.mi/mi-solib.exp
12271 * gdb.mi/new-ui-mi-sync.exp
12272 * gdb.mi/user-selected-context-sync.exp
12273 * gdb.multi/dummy-frame-restore.exp
12274 * gdb.multi/multi-arch-exec.exp
12275 * gdb.multi/remove-inferiors.exp
12276 * gdb.multi/watchpoint-multi-exit.exp
12277 * gdb.opt/solib-intra-step.exp
12278 * gdb.perf/backtrace.exp
12279 * gdb.perf/single-step.exp
12280 * gdb.perf/skip-command.exp
12281 * gdb.perf/skip-prologue.exp
12282 * gdb.perf/solib.exp
12283 * gdb.python/lib-types.exp
12284 * gdb.python/py-as-string.exp
12285 * gdb.python/py-bad-printers.exp
12286 * gdb.python/py-block.exp
12287 * gdb.python/py-breakpoint.exp
12288 * gdb.python/py-cmd.exp
12289 * gdb.python/py-events.exp
12290 * gdb.python/py-evthreads.exp
12291 * gdb.python/py-finish-breakpoint.exp
12292 * gdb.python/py-finish-breakpoint2.exp
12293 * gdb.python/py-frame-inline.exp
12294 * gdb.python/py-frame.exp
12295 * gdb.python/py-inferior.exp
12296 * gdb.python/py-infthread.exp
12297 * gdb.python/py-mi.exp
12298 * gdb.python/py-objfile.exp
12299 * gdb.python/py-pp-maint.exp
12300 * gdb.python/py-pp-registration.exp
12301 * gdb.python/py-prettyprint.exp
12302 * gdb.python/py-recurse-unwind.exp
12303 * gdb.python/py-shared.exp
12304 * gdb.python/py-symbol.exp
12305 * gdb.python/py-symtab.exp
12306 * gdb.python/py-template.exp
12307 * gdb.python/py-type.exp
12308 * gdb.python/py-unwind-maint.exp
12309 * gdb.python/py-unwind.exp
12310 * gdb.python/py-value.exp
12311 * gdb.python/python.exp
12312 * gdb.reverse/finish-reverse-bkpt.exp
12313 * gdb.reverse/insn-reverse.exp
12314 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12315 * gdb.reverse/solib-precsave.exp
12316 * gdb.reverse/solib-reverse.exp
12317 * gdb.stabs/gdb11479.exp
12318 * gdb.stabs/weird.exp
12319 * gdb.threads/fork-child-threads.exp
12320 * gdb.threads/fork-plus-threads.exp
12321 * gdb.threads/fork-thread-pending.exp
12322 * gdb.threads/forking-threads-plus-breakpoint.exp
12323 * gdb.threads/hand-call-in-threads.exp
12324 * gdb.threads/interrupted-hand-call.exp
12325 * gdb.threads/linux-dp.exp
12326 * gdb.threads/local-watch-wrong-thread.exp
12327 * gdb.threads/next-while-other-thread-longjmps.exp
12328 * gdb.threads/non-ldr-exit.exp
12329 * gdb.threads/pending-step.exp
12330 * gdb.threads/print-threads.exp
12331 * gdb.threads/process-dies-while-detaching.exp
12332 * gdb.threads/process-dies-while-handling-bp.exp
12333 * gdb.threads/pthreads.exp
12334 * gdb.threads/queue-signal.exp
12335 * gdb.threads/reconnect-signal.exp
12336 * gdb.threads/signal-command-handle-nopass.exp
12337 * gdb.threads/signal-command-multiple-signals-pending.exp
12338 * gdb.threads/signal-delivered-right-thread.exp
12339 * gdb.threads/signal-sigtrap.exp
12340 * gdb.threads/sigthread.exp
12341 * gdb.threads/staticthreads.exp
12342 * gdb.threads/stepi-random-signal.exp
12343 * gdb.threads/thread-unwindonsignal.exp
12344 * gdb.threads/thread_check.exp
12345 * gdb.threads/thread_events.exp
12346 * gdb.threads/tid-reuse.exp
12347 * gdb.threads/tls-nodebug.exp
12348 * gdb.threads/tls-shared.exp
12349 * gdb.threads/tls-so_extern.exp
12350 * gdb.threads/tls.exp
12351 * gdb.threads/wp-replication.exp
12352 * gdb.trace/actions-changed.exp
12353 * gdb.trace/actions.exp
12354 * gdb.trace/backtrace.exp
12355 * gdb.trace/change-loc.exp
12356 * gdb.trace/collection.exp
12357 * gdb.trace/deltrace.exp
12358 * gdb.trace/disconnected-tracing.exp
12359 * gdb.trace/entry-values.exp
12360 * gdb.trace/ftrace-lock.exp
12361 * gdb.trace/ftrace.exp
12362 * gdb.trace/infotrace.exp
12363 * gdb.trace/mi-trace-frame-collected.exp
12364 * gdb.trace/mi-trace-unavailable.exp
12365 * gdb.trace/mi-traceframe-changed.exp
12366 * gdb.trace/mi-tracepoint-changed.exp
12367 * gdb.trace/mi-tsv-changed.exp
12368 * gdb.trace/no-attach-trace.exp
12369 * gdb.trace/packetlen.exp
12370 * gdb.trace/passc-dyn.exp
12371 * gdb.trace/passcount.exp
12372 * gdb.trace/pending.exp
12373 * gdb.trace/pr16508.exp
12374 * gdb.trace/qtro.exp
12375 * gdb.trace/range-stepping.exp
12376 * gdb.trace/read-memory.exp
12377 * gdb.trace/report.exp
12378 * gdb.trace/save-trace.exp
12379 * gdb.trace/signal.exp
12380 * gdb.trace/stap-trace.exp
12381 * gdb.trace/status-stop.exp
12382 * gdb.trace/strace.exp
12383 * gdb.trace/tfile.exp
12384 * gdb.trace/tfind.exp
12385 * gdb.trace/trace-break.exp
12386 * gdb.trace/trace-condition.exp
12387 * gdb.trace/trace-enable-disable.exp
12388 * gdb.trace/trace-mt.exp
12389 * gdb.trace/tracecmd.exp
12390 * gdb.trace/tracefile-pseudo-reg.exp
12391 * gdb.trace/tspeed.exp
12392 * gdb.trace/tstatus.exp
12393 * gdb.trace/tsv.exp
12394 * gdb.trace/unavailable.exp
12395 * gdb.trace/while-dyn.exp
12396 * gdb.trace/while-stepping.exp
12397 * lib/gdb-guile.exp
12398 * lib/gdb.exp
12399 * lib/mi-support.exp
12400 * lib/pascal.exp
12401 * lib/perftest.exp
12402 * lib/prelink-support.exp
12403 * lib/selftest-support.exp
12404
ad02e4fe
SM
124052016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
12406
12407 * Makefile.in: Include disable-implicit-rules.mk.
12408
22347e55
AA
124092016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12410
12411 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
12412 non-byte-aligned bit fields.
12413
da5b30da
AA
124142016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12415
12416 PR gdb/12616
12417 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
12418 respects the DW_AT_data_bit_offset attribute.
12419
b593ecca
SM
124202016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
12421
12422 * gdb.base/default.exp: Fix output of "set language".
12423
3b165252
SM
124242016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
12425
12426 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
12427 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
12428 make.
12429 * configure.ac: Remove checks for the make program.
12430 * configure: Re-generate.
12431
1a2f3d7f
KB
124322016-11-16 Kevin Buettner <kevinb@redhat.com>
12433
12434 * gdb.python/py-recurse-unwind.c (main): Add loop.
12435 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
12436 to read_register() and gdb.parse_and_eval(). Make each code
12437 call a separate case that can be individually tested.
12438 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
12439 proc. Call cont_and_backtrace for each of the code paths that
12440 we want to test in the unwinder.
12441
b7f38fda
AA
124422016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
12443
12444 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
12445 the definition of struct S.
12446
1f8db343
CM
124472016-11-11 Catherine Moore <clm@codesourcery.com>
12448
12449 * gdb.base/dump.exp: Identify verilog format dump tests as such.
12450
fad0c9fb
PA
124512016-11-09 Pedro Alves <palves@redhat.com>
12452
12453 * gdb.base/commands.exp (runto_or_return): New procedure.
12454 (gdbvar_simple_if_test, gdbvar_simple_while_test)
12455 (gdbvar_complex_if_while_test, progvar_simple_if_test)
12456 (progvar_simple_while_test, progvar_complex_if_while_test)
12457 (if_while_breakpoint_command_test)
12458 (infrun_breakpoint_command_test, breakpoint_command_test)
12459 (user_defined_command_test, watchpoint_command_test)
12460 (test_command_prompt_position, redefine_hook_test)
12461 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
12462 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
12463 multi_line_input and multi_line. Remove gdb_expect and
12464 gdb_stop_suppressing_tests uses.
12465 * lib/gdb.exp (valnum_re): New global.
12466 (multi_line_input): New procedure.
12467
8354c62c
SM
124682016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
12469
12470 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
12471 Remove.
12472 (test_setup): Define with proc_with_prefix.
12473 (test_cli_inferior): Likewise.
12474 (test_cli_thread): Likewise.
12475 (test_cli_frame): Likewise.
12476 (test_cli_select_frame): Likewise.
12477 (test_cli_up_down): Likewise.
12478 (test_mi_thread_select): Likewise.
12479 (test_mi_stack_select_frame): Likewise.
12480 (test_cli_in_mi_inferior): Likewise.
12481 (test_cli_in_mi_thread): Likewise.
12482 (test_cli_in_mi_frame): Likewise.
12483 (top level): Do not use with_test_prefix_procname.
12484
64f367a2
PA
124852016-11-09 Pedro Alves <palves@redhat.com>
12486
12487 * gdb.base/commands.exp (gdbvar_simple_if_test)
12488 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
12489 (progvar_simple_if_test, progvar_simple_while_test)
12490 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
12491 (infrun_breakpoint_command_test, breakpoint_command_test)
12492 (user_defined_command_test, watchpoint_command_test)
12493 (test_command_prompt_position, deprecated_command_test)
12494 (bp_deleted_in_command, temporary_breakpoint_commands)
12495 (stray_arg0_test, source_file_with_indented_comment)
12496 (recursive_source_test, if_commands_test)
12497 (error_clears_commands_left, redefine_hook_test)
12498 (redefine_backtrace_test): Use proc_with_prefix.
12499 * lib/gdb.exp (proc_with_prefix): New proc.
12500
0bb65f1e
AA
125012016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12502
12503 * gdb.base/tui-layout.c: New file.
12504 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
12505 disassembly window contains very long lines.
12506
7353f247
TT
125072016-11-08 Tom Tromey <tom@tromey.com>
12508
12509 * gdb.python/py-value.exp (test_value_creation): Make "long" test
12510 depend on Python 2.
12511
30a7bb83
TT
125122016-11-08 Tom Tromey <tom@tromey.com>
12513
12514 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
12515 New method.
12516
cdf5a07c
MG
125172016-10-29 Manish Goregaokar <manish@mozilla.com>
12518
2806dc7e 12519 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 12520
51a789c3
MG
125212016-10-27 Manish Goregaokar <manish@mozilla.com>
12522
2806dc7e
PA
12523 * gdb.rust/simple.rs: Add test for univariant enums without
12524 discriminants and for encoded struct-like enums.
51a789c3 12525
f610ab6d
PA
125262016-10-28 Pedro Alves <palves@redhat.com>
12527
12528 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
12529 gdb_test_multiple, tighten regexps and match symtabs and line
12530 tables incrementally.
12531
b129b0ca
LM
125322016-10-28 Luis Machado <lgustavo@codesourcery.com>
12533
12534 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
12535 general.
12536
ecf45d2c
SL
125372016-10-25 Luis Machado <lgustavo@codesourcery.com>
12538
12539 * gdb.base/exec-invalid-sysroot.exp: New file.
12540
b8d38ee4
JK
125412016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12542
12543 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
12544
f90fd8c2
JK
125452016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12546
12547 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
12548
2d2476aa
MR
125492016-10-19 Maciej W. Rozycki <macro@imgtec.com>
12550
2806dc7e
PA
12551 * gdb.base/killed-outside.exp: Remove $options from a call to
12552 `prepare_for_testing'.
2d2476aa 12553
e42b25a0
SM
125542016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12555
12556 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12557 Change test message.
12558
3ccdb432
SM
125592016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12560
12561 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12562 Update comment.
12563
5bad3170
SM
125642016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12565
12566 * gdb.trace/mi-trace-save.exp: New file.
12567
5ad9dba7
YQ
125682016-10-13 Yao Qi <yao.qi@linaro.org>
12569
12570 * gdb.base/code_elim.exp (get_var_address): Remove.
12571 * gdb.base/relocate.exp: Likewise.
12572 * gdb.base/shreloc.exp: Likewise.
12573 * lib/gdb.exp (get_var_address): New.
12574
62df7e21
YQ
125752016-10-13 Yao Qi <yao.qi@linaro.org>
12576
12577 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
12578 floating point tests if $skip_float_test is false.
12579
4dac951e
LM
125802016-10-12 Luis Machado <lgustavo@codesourcery.com>
12581
12582 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
12583 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
12584 argc values.
12585 Add 1 to argc so we guarantee distinct initial/modified argc values.
12586
8f1a8fc4
JK
125872016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12588
12589 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
12590
16c85b5d
JK
125912016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12592
12593 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
12594 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
12595 * gdb.arch/vsx-regs.exp: Likewise.
12596
1d0e042a
YQ
125972016-10-07 Yao Qi <yao.qi@linaro.org>
12598
12599 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
12600
68dadef5
MM
126012016-10-07 Markus Metzger <markus.t.metzger@intel.com>
12602
12603 * gdb.python/python.exp: Test decode_line("*0").
12604
33fa2c6e
DE
126052016-10-06 Doug Evans <dje@google.com>
12606
12607 * gdb.python/py-value.exp (test_value_creation): Add test for large
12608 unsigned 64-bit value.
12609
9c37b5ae
TT
126102016-10-06 Tom Tromey <tom@tromey.com>
12611
12612 * gdb.compile/compile.exp: Change java tests to rust.
12613 * gdb.base/setshow.exp: Change java tests to rust.
12614 * gdb.base/default.exp: Remove java from language list.
12615 * README (Examples): Update language example.
12616 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
12617 test.
12618 * lib/gdb.exp (skip_java_tests): Remove.
12619 * lib/java.exp: Remove.
12620 * gdb.java: Remove.
12621
78b86327
MR
126222016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12623
12624 * gdb.arch/mips-fcr.exp: New test.
12625 * gdb.arch/mips-fcr.c: Source for the new test.
12626
7470adbb
MR
126272016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12628
12629 * gdb.base/solib-disc.exp: Use `standard_output_file'
12630 throughout.
12631
4a556533
PA
126322016-10-06 Pedro Alves <palves@redhat.com>
12633
12634 * gdb.base/jit-simple-dl.c: New file.
12635 * gdb.base/jit-simple-jit.c: New file, factored out from ...
12636 * gdb.base/jit-simple.c: ... this.
12637 * gdb.base/jit-simple.exp (jit_run): Delete.
12638 (build_jit): New proc.
12639 (jit_test_reread): Recompile either the main program or the shared
12640 library, depending on what is being tested. Skip changing address
12641 if caller wants to. Compare before/after addresses. If testing
12642 standalone, explicitly load the binary. Test "maint info
12643 breakpoints".
12644 (top level): Add "standalone vs shared lib" and "change address"
12645 vs "same address" axes.
12646
5a122fbc
PA
126472016-10-06 Pedro Alves <palves@redhat.com>
12648
12649 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
12650 call.
12651 (jit_run): Delete.
12652 (jit_test_reread): Use with_test_prefix. Reload the main binary
12653 explicitly. Compare the before/after addresses of the JIT
12654 descriptor.
12655
ee8da4b8
DE
126562016-08-15 Doug Evans <dje@google.com>
12657
12658 * gdb.xml/extra-regs.xml: Update, end field now required, default type
12659 for single bitfields is bool.
12660 * gdb.xml/tdesc-regs.exp: Ditto.
12661
f389f6fe
JK
126622016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12663
12664 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
12665
fdebf1a4
YQ
126662016-10-05 Yao Qi <yao.qi@linaro.org>
12667
12668 * lib/gdb.exp (support_complex_tests): Return zero if
12669 gdb_skip_float_test return true.
12670
9c36d954 126712016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12672 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
12673
12674 PR gdb/20487
12675 * gdb.mi/user-selected-context-sync.exp: New file.
12676 * gdb.mi/user-selected-context-sync.c: New file.
12677
4034d0ff 126782016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12679 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
12680
12681 PR gdb/20487
12682 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
12683 =thread-select-event check.
12684
a4297203
PB
126852016-09-29 Peter Bergner <bergner@vnet.ibm.com>
12686
12687 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
12688 the compulsory L operand changes.
12689 * gdb.arch/powerpc-power.s: Likewise.
12690
bb805577
JK
126912016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12692
12693 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
12694 * gdb.base/jit-attach-pie.c: New file.
12695 * gdb.base/jit-attach-pie.exp: New file.
12696
6d61dee5
PA
126972016-09-28 Pedro Alves <palves@redhat.com>
12698
12699 * gdb.base/infcall-input.c: New file.
12700 * gdb.base/infcall-input.exp: New file.
12701
f73842fc
YQ
127022016-09-22 Yao Qi <yao.qi@linaro.org>
12703
12704 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
12705 (gdb_exit): Rename it to ...
12706 (gdbserver_gdb_exit): ... Close GDBserver.
12707 (gdb_exit): New proc, call gdbserver_gdb_exit.
12708 (mi_gdb_exit): Likewise.
12709
90681dab
YQ
127102016-09-22 Yao Qi <yao.qi@linaro.org>
12711
12712 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
12713 path.
12714 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
12715 Remove duplication.
12716
9c211fd8
YQ
127172016-09-22 Yao Qi <yao.qi@linaro.org>
12718
12719 * lib/gdbserver-support.exp: Check the existence of
12720 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
12721
ad0a504f
AK
127222016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
12723
12724 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
12725
36cf1806
TT
127262016-09-21 Tom Tromey <tom@tromey.com>
12727
12728 PR gdb/20604:
12729 * gdb.base/quit.exp: New file.
12730
74172ecf
SM
127312016-09-21 Simon Marchi <simon.marchi@ericsson.com>
12732
12733 * .gitignore: New file.
12734
3d0ec882
MR
127352016-09-21 Maciej W. Rozycki <macro@imgtec.com>
12736
12737 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
12738 throughout.
12739
8193adea
AA
127402016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12741
12742 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
12743
d41a5c09
JK
127442016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12745
12746 * gdb.cp/casts.cc (decltype): Move it ...
12747 (main): ... with its call to ...
12748 * gdb.cp/casts03.cc: ... a new file.
12749 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
12750
d2dfe700
JK
127512016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12752
12753 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
12754
e2a92b16
PB
127552016-09-15 Peter Bergner <bergner@vnet.ibm.com>
12756
12757 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
12758 and sync up the test with tests in gas/testsuite/gas/ppc.
12759 * gdb.arch/powerpc-power.exp: Likewise.
12760
49b4de64
JK
127612016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12762
12763 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
12764
2c29df25
SDJ
127652016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
12766 Jan Kratochvil <jan.kratochvil@redhat.com>
12767
12768 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
12769 make m1's definition to be different from m2's. Use 'dummy' as an
12770 argument for probe 'two'.
12771
cc3c2846
JB
127722016-09-10 Jon Beniston <jon@beniston.com>
12773
12774 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
12775 for sim target.
12776
e1b2624a
AA
127772016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12778
12779 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
12780 variable declaration.
12781 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
12782 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
12783 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
12784 received HWCAP as its argument.
12785
4295e285
PA
127862016-09-06 Pedro Alves <palves@redhat.com>
12787
12788 * gdb.base/new-ui-pending-input.c: New file.
12789 * gdb.base/new-ui-pending-input.exp: New file.
12790 * gdb.exp (clear_gdb_spawn_id): New procedure.
12791 (with_spawn_id): Check whether gdb_spawn_id exists before
12792 referencing it. If gdb_spawn_id didn't exist on entry, clear it
12793 on exit.
12794
00d5215e
UW
127952016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12796
12797 * gdb.base/float128.c: New file.
12798 * gdb.base/float128.exp: Likewise.
12799 * gdb.base/floatn.c: Likewise.
12800 * gdb.base/floatn.exp: Likewise.
12801
a9ff5f12
UW
128022016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12803
12804 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
12805
f245535c
PA
128062016-09-05 Pedro Alves <palves@redhat.com>
12807
12808 PR backtrace/19927
12809 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
12810 unwinders are immediately called as side effect of "source" or
12811 "disable unwinder" commands.
12812 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
12813
ae9cf263
YQ
128142016-09-02 Yao Qi <yao.qi@linaro.org>
12815
12816 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
12817 is true and $type is "float" or "double".
12818
27aba047
YQ
128192016-09-02 Yao Qi <yao.qi@linaro.org>
12820
12821 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
12822 true.
12823 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
12824 * gdb.base/call-rt-st.exp: Likewise.
12825 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
12826 return value instead of gdb,skip_float_test.
12827 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
12828 (do_function_calls): Use its return value instead of
12829 gdb,skip_float_test.
12830 * gdb.base/finish.exp: Likewise.
12831 * gdb.base/funcargs.exp: Likewise.
12832 * gdb.base/return.exp: Likewise.
12833 * gdb.base/return2.exp: Likewise.
12834 * gdb.base/varargs.exp: Likewise.
12835 * lib/gdb.exp (gdb_skip_float_test): Change it to
12836 gdb_caching_proc. Detect the broken ptrace on arm-linux.
12837
5af962df
AA
128382016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12839
12840 * gdb.multi/tids.exp: Test "thread apply all".
12841
7fac6910
JK
128422016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12843
12844 * gdb.base/default.exp (tty): Remove.
12845
bb1fe4ac
KB
128462016-08-24 Kevin Buettner <kevinb@redhat.com>
12847
2806dc7e
PA
12848 * gdb.python/py-recurse-unwind.c: New file.
12849 * gdb.python/py-recurse-unwind.py: New file.
12850 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 12851
0a1ddfa6
SM
128522016-08-24 Simon Marchi <simon.marchi@ericsson.com>
12853
12854 * gdb.base/set-inferior-tty.exp: New file.
12855 * gdb.base/set-inferior-tty.c: New file.
12856
d9de1fe3
PA
128572016-08-23 Pedro Alves <palves@redhat.com>
12858
12859 PR gdb/20494
12860 * gdb.base/new-ui-echo.c: New file.
12861 * gdb.base/new-ui-echo.exp: New file.
12862
e9d9abd7
YQ
128632016-08-23 Yao Qi <yao.qi@linaro.org>
12864
12865 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
12866 gdbserver_spawn.
12867 * gdb.server/connect-without-multi-process.exp (do_test):
12868 Likewise.
12869
3589529e
YQ
128702016-08-23 Yao Qi <yao.qi@linaro.org>
12871
12872 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
12873 standalone_txt. Delete gdb_txt and standalone_txt on host
12874 and target. Spawn the binary on target. Copy files from
12875 target to host.
12876
6bb90213
PA
128772016-08-22 Pedro Alves <palves@redhat.com>
12878
12879 PR gdb/20505
12880 * gdb.base/vdso-warning.exp: Test core dumps too. Use
12881 with_test_prefix. Factor out bits to ...
12882 (test_no_vdso): ... this new procedure.
12883
20c2c024
CL
128842016-08-19 Carl Love <cel@us.ibm.com>
12885
12886 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
12887 maintaining separate logic for constructing the output path.
12888 * gdb.arch/powerpc-d128-regs.exp: Likewise.
12889 * gdb.arch/ppc-dfp.exp: Likewise.
12890 * gdb.arch/ppc-fp.exp: Likewise.
12891 * gdb.arch/vsx-regs.exp: Likewise.
12892 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
12893 binprefix for generating the additional binary files.
12894
0646e07d
PA
128952016-08-19 Pedro Alves <palves@redhat.com>
12896
12897 * gdb.trace/mi-trace-frame-collected.exp
12898 (test_trace_frame_collected): On x32, expect two registers.
12899
46da9242
CL
129002016-08-18 Carl Love <cel@us.ibm.com>
12901
12902 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
12903 and sync up the test with tests in gas/testsuite/gas/ppc.
12904 * gdb.arch/powerpc-power.exp: Likewise.
12905
eb2332d7
SM
129062016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12907
12908 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
12909 expected error message.
12910
63c61e04
SM
129112016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12912
12913 * gdb.multi/remove-inferiors.exp: New file.
12914 * gdb.multi/remove-inferiors.c: New file.
12915
7b17065f
YQ
129162016-08-12 Yao Qi <yao.qi@linaro.org>
12917
12918 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
12919 argument list.
12920
01d3dedf
PA
129212016-08-10 Pedro Alves <palves@redhat.com>
12922
12923 PR gdb/19187
12924 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
12925 setup_kfails.
12926
3eb7562a
PA
129272016-08-09 Pedro Alves <palves@redhat.com>
12928 Simon Marchi <simon.marchi@ericsson.com>
12929
12930 PR gdb/20418
12931 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
12932 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
12933
80614914
PA
129342016-08-09 Pedro Alves <palves@redhat.com>
12935
12936 PR mi/20431
12937 * gdb.mi/mi-cmd-error.exp: New file.
12938
f348d89a
PA
129392016-08-09 Pedro Alves <palves@redhat.com>
12940
12941 PR gdb/18653
12942 * gdb.base/signals-state-child.c: New file.
12943 * gdb.base/signals-state-child.exp: New file.
12944 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
12945
e5ca03b4
PA
129462016-08-09 Pedro Alves <palves@redhat.com>
12947
12948 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
12949
282a0691
TT
129502016-08-03 Tom Tromey <tom@tromey.com>
12951
12952 PR python/18565:
12953 * gdb.python/py-frame-inline.exp: Add Frame.function test.
12954
41bfcd63
YQ
129552016-08-01 Yao Qi <yao.qi@linaro.org>
12956
12957 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
12958 variable mode to "multi-process" if $multi_process is 1, otherwise
12959 set it to "single-process".
12960
e3465b24
YQ
129612016-08-01 Yao Qi <yao.qi@linaro.org>
12962
12963 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
12964 * gdb.cp/cpexprs.exp: Likewise.
12965 * gdb.cp/m-static.exp: Likewise.
12966
0b31a4bc
TT
129672016-07-26 Tom Tromey <tom@tromey.com>
12968
12969 PR python/20190:
12970 * gdb.threads/tls.exp (check_thread_local): Add python symbol
12971 test.
12972
e0461dbb
MM
129732016-07-26 Markus Metzger <markus.t.metzger@intel.com>
12974
12975 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
12976 selecting assembly source files.
12977 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
12978 assembly source files.
12979 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
12980 assembly source files.
12981 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
12982 selecting assembly source files.
12983
8194e927
SM
129842016-07-25 Simon Marchi <simon.marchi@ericsson.com>
12985
12986 * gdb.base/new-ui.exp (do_test_invalid_args): New
12987 procedure.
12988
c0272db5
TW
129892016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
12990
12991 * gdb.btrace/reconnect.c: New file.
12992 * gdb.btrace/reconnect.exp: New file.
12993
e3487908
GKB
129942016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
12995
12996 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
12997 to test_catch_syscall_group.
12998 (test_catch_syscall_group): New.
12999
12df5c00
TT
130002016-07-21 Tom Tromey <tom@tromey.com>
13001
13002 * gdb.rust/simple.rs (main): Use empty struct expression.
13003 * gdb.rust/simple.exp: Add tests for empty struct expression.
13004
bae62ee2
YQ
130052016-07-21 Yao Qi <yao.qi@linaro.org>
13006
13007 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
13008 if gdb_skip_xml_test is true on some targets.
13009
b1b53fb3
YQ
130102016-07-21 Yao Qi <yao.qi@linaro.org>
13011
13012 * gdb.server/solib-list.exp: Unset last_loaded_file.
13013
027d97f8
JK
130142016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13015
13016 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
13017 "step into captured_main (args)".
13018
7674d381
JK
130192016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13020
13021 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
13022
72b5d099
JK
130232016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13024
13025 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
13026
1f960ced
PA
130272016-07-19 Pedro Alves <palves@redhat.com>
13028
13029 * gdb.opt/inline-break.exp: Remove optimize=-O2.
13030 * gdb.opt/inline-bt.exp: Likewise.
13031 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
13032 additional_flags=-Winline.
13033 * gdb.opt/inline-locals.exp: Likewise.
13034 * gdb.opt/inline-markers.c (ATTR): Define.
13035 (inlined_fn): Use it.
13036
f25827c1
YQ
130372016-07-19 Yao Qi <yao.qi@linaro.org>
13038
13039 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
13040 (test_with_self): Remove some code. Remove argument executable.
13041 (top-level): Use do_self_tests.
13042
37539ebe
DB
130432016-07-15 Zachary Welch <zwelch@codesourcery.com>
13044 Don Breazeal <donb@codesourcery.com>
13045
13046 * gdb.base/maint.exp: Escape paths used in regular expressions.
13047 * gdb.stabs/weird.exp: Likewise.
13048
dac790e1
TT
130492016-07-13 Tom Tromey <tom@tromey.com>
13050
13051 PR python/15620, PR python/18620:
13052 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
13053 (test_bkpt_events): New procs.
13054
93daf339
TT
130552016-07-13 Tom Tromey <tom@tromey.com>
13056
13057 PR python/17698:
13058 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
13059 test.
13060 (test_watchpoints): Likewise.
13061 (test_bkpt_pending): New proc.
13062
6571a381
TT
130632016-07-13 Tom Tromey <tom@tromey.com>
13064
13065 PR cli/18053:
13066 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
13067 completion test.
13068
e8732474
JK
130692016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13070
13071 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
13072 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
13073 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
13074 f_label.
13075 (g): Rename g_end_lbl to g_label.
13076 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
13077 low_pc and high_pc.
13078 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
13079
e0f3fd7c
TT
130802016-07-12 Tom Tromey <tom@tromey.com>
13081
13082 PR python/19293:
13083 * gdb.python/py-unwind-maint.exp: Update tests.
13084
3cfe46b6
YQ
130852016-07-12 Yao Qi <yao.qi@linaro.org>
13086
13087 * lib/selftest-support.exp (selftest_setup): Match the output
13088 when captured_main is inlined.
13089
4f19a0e6
WT
130902016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
13091
13092 * gdb.fortran/derived-types.exp (result_line, result_line_2):
13093 New variables.
13094 (print this%a, print this%b, print this): New tests.
13095 * gdb.fortran/derived-types.f90 (this): New object and
13096 initialization.
13097
986cf455
SM
130982016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13099
13100 * gdb.ada/arraydim.exp: Remove extra directory level in build
13101 directory.
13102
f0464b23
SM
131032016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13104
13105 * lib/ada.exp: Remove extra directory level in build directory.
13106 * gdb.ada/cond_lang.exp: Likewise.
13107 * gdb.ada/exec_changed.exp: Likewise.
13108 * gdb.ada/lang_switch.exp: Likewise.
13109
42d94011
MG
131102016-07-06 Manish Goregaokar <manish@mozilla.com>
13111
2806dc7e
PA
13112 * simple.rs: Add test for raw pointer subscripting.
13113 * simple.exp: Add test expectations.
42d94011 13114
647c264c
YQ
131152016-07-05 Yao Qi <yao.qi@linaro.org>
13116
13117 * gdb.mi/mi-reverse.exp: Match =record-started output.
13118
20aa2c60
PA
131192016-07-01 Pedro Alves <palves@redhat.com>
13120
13121 * gdb.base/jit-reader.exp (info_registers_current_frame): New
13122 procedure.
13123 (jit_reader_test): Test the jit reader's unwinder.
13124 * gdb.base/jithost.c (jit_function_00_code): New global.
13125 (main): Use memcpy to fill in the mmapped code, instead of poking
13126 bytes manually here.
13127 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
13128 value.
13129 (read_debug_info): Save the function's range.
13130 (read_sp): New function.
13131 (unwind_frame): Use it. Also unwind RBP.
13132 (get_frame_id): Use read_sp.
13133 (gdb_init_reader): Use calloc instead of malloc.
13134 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
13135 parameter. Use gdb_test_multiple.
13136
ced2dffb
PA
131372016-07-01 Pedro Alves <palves@redhat.com>
13138 Antoine Tremblay <antoine.tremblay@ericsson.com>
13139
13140 * gdb.threads/process-dies-while-detaching.c: New file.
13141 * gdb.threads/process-dies-while-detaching.exp: New file.
13142
63000888
PA
131432016-07-01 Pedro Alves <palves@redhat.com>
13144
13145 * gdb.multi/watchpoint-multi-exit.c: New file.
13146 * gdb.multi/watchpoint-multi-exit.exp: New file.
13147
038d4868
PA
131482016-06-30 Pedro Alves <palves@redhat.com>
13149
13150 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
13151 unset inferior_spawn_id.
13152
994e9c83
PA
131532016-06-30 Pedro Alves <palves@redhat.com>
13154
13155 * lib/mi-support.exp (default_mi_gdb_start): Declare global
13156 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
13157
e5653468
YQ
131582016-06-29 Yao Qi <yao.qi@linaro.org>
13159
13160 * gdb.base/return.c: Add copyright header.
13161
803b47e5
TT
131622016-06-29 Tom Tromey <tom@tromey.com>
13163
13164 PR python/20129:
13165 * gdb.python/py-framefilter.exp: Add tests for setting priority
13166 and disabling of non-existent frame filter.
13167
28244707
YQ
131682016-06-29 Yao Qi <yao.qi@linaro.org>
13169
13170 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
13171 0x0f07ff.
13172
a31d2f06
YQ
131732016-06-28 Yao Qi <yao.qi@linaro.org>
13174
13175 * gdb.base/catch-syscall.exp: Remove check on isnative and target
13176 triplets. Start gdb, execute catch syscall, and continue. Check
13177 gdb's output to determine catch syscall is supported.
13178
921d8f54
MG
131792016-06-27 Manish Goregaokar <manish@mozilla.com>
13180
25d49b86
PA
13181 * gdb.rust/simple.rs: Add test for returning unit in a function.
13182 * gdb.rust/simple.exp: Add expectation for functions returning
13183 unit.
921d8f54 13184
f4952523
PMR
131852016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
13186
13187 * gdb.python/py-breakpoint-create-fail.c,
13188 gdb.python/py-breakpoint-create-fail.exp,
13189 gdb.python/py-breakpoint-create-fail.py: New testcase.
13190
fccb08f8
MG
131912016-06-25 Manish Goregaokar <manish@mozilla.com>
13192
13193 PR gdb/20239
13194 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
13195 * gdb.rust/simple.exp: Add test expectations for new NonZero
13196 tests.
fccb08f8 13197
6b850546
DT
131982016-06-24 David Taylor <dtaylor@emc.com>
13199
13200 * gdb.base/offsets.exp: New file.
13201 * gdb.base/offsets.c: New file.
13202
17621150
TT
132032016-06-23 Tom Tromey <tom@tromey.com>
13204
13205 PR gdb/16483:
13206 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
13207 before any filters are loaded.
13208
04d59df6
WT
132092016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
13210
13211 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
13212 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
13213 structs.
13214 * gdb.fortran/derived-type-function.exp: New file.
13215 * gdb.fortran/derived-type-function.f90: New file.
13216
13217
ac69f786
PA
132182016-06-21 Pedro Alves <palves@redhat.com>
13219
13220 * gdb.base/new-ui.exp: New file.
13221 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
13222 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
13223 (with_spawn_id): New procedure.
13224
49940788
PA
132252016-06-21 Pedro Alves <palves@redhat.com>
13226
13227 * gdb.mi/mi-exec-run.exp: New file.
13228
ef274d26
PA
132292016-06-21 Pedro Alves <palves@redhat.com>
13230
13231 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
13232 breakpoint command's output on the main UI.
13233 (test_break): New procedure, factored out from calls in the top
13234 level.
13235 (top level): Use foreach_with_prefix to test MI as main UI and as
13236 separate UI.
13237
468afe6c
PA
132382016-06-21 Pedro Alves <palves@redhat.com>
13239
13240 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
13241 (test_awatch_creation_and_listing)
13242 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
13243 Remove 'type' parameter.
13244 (test_watchpoint_all): New parameter mi_mode. Remove
13245 with_test_prefix.
13246 (top level): Use foreach_with_prefix, and add main/separate UI MI
13247 testing axis.
13248
51f77c37
PA
132492016-06-21 Pedro Alves <palves@redhat.com>
13250
13251 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
13252 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
13253 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
13254 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
13255 (gdb_main_spawn_id, mi_spawn_id): Declare and
13256 comment.
13257 (mi_create_inferior_pty): New procedure,
13258 factored out from default_mi_gdb_start.
13259 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
13260 procedures.
13261 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
13262 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
13263 Use mi_create_inferior_pty.
13264 (mi_gdb_start): Use eval to pass down args list.
13265
8980e177
PA
132662016-06-21 Pedro Alves <palves@redhat.com>
13267
13268 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
13269 * gdb.opt/inline-cmds.exp: Add MI tests.
13270
f38d3ad1
PA
132712016-06-21 Pedro Alves <palves@redhat.com>
13272
13273 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
13274
45db7c09
PA
132752016-06-21 Pedro Alves <palves@redhat.com>
13276
13277 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
13278 (top level): Use it instead of mi_execute_to.
13279
5a069ab3
PA
132802016-06-21 Pedro Alves <palves@redhat.com>
13281
13282 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
13283 (cont_handler_str): New.
13284 (signal_stop_handler): Set stop_handler_str instead of printing to
13285 stdout.
13286 (continue_handler): Set cont_handler_str instead of printing to
13287 stdout.
13288 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
13289 mi_send_resuming_command. Print stop_handler_str and
13290 cont_handler_str instead of expecting the python events print
13291 directly.
13292
2838cc1d
SD
132932016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
13294
13295 * gdb.base/jit-reader.exp: New file.
13296 * gdb.base/jithost.c: New file.
13297 * gdb.base/jithost.h: New file.
13298 * gdb.base/jitreader.c : New file.
13299 * gdb.base/jit-protocol.h: New file.
13300
21a77091
YQ
133012016-06-17 Yao Qi <yao.qi@linaro.org>
13302
13303 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
13304 parameters follow_fork and detach_on_fork. Set follow-fork-mode
13305 and detach-on-fork. Adjust tests.
13306 (top level): Invoke break_cond_on_syscall with combinations of
13307 syscall, follow-fork-mode and detach-on-fork.
13308
f50bf8e5
YQ
133092016-06-17 Yao Qi <yao.qi@linaro.org>
13310
13311 * gdb.base/step-over-exit.c: New.
13312 * gdb.base/step-over-exit.exp: New.
13313
a28d8e50
YTL
133142016-06-17 Yan-Ting Lin <currygt52@gmail.com>
13315
13316 * gdb.base/float.exp: Add target check for nds32*-*-*.
13317 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
13318
cad8e26d
AB
133192016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
13320
13321 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
13322 for unsupported target features.
13323 * gdb.base/call-rt-st.exp: Likewise.
13324 * gdb.base/call-sc.exp: Likewise.
13325 * gdb.base/call-signal-resume.exp: Likewise.
13326 * gdb.base/call-strs.exp: Likewise.
13327 * gdb.base/callexit.exp: Likewise.
13328 * gdb.base/callfuncs.exp: Likewise.
13329 * gdb.base/nodebug.exp: Likewise.
13330 * gdb.base/printcmds.exp: Likewise.
13331 * gdb.base/ptype.exp: Likewise.
13332 * gdb.base/structs.exp: Likewise.
13333 * gdb.base/unwindonsignal.exp: Likewise.
13334 * gdb.cp/gdb2495.exp: Likewise.
13335 * gdb.cp/templates.exp: Likewise.
13336 * gdb.cp/virtfunc.exp: Likewise.
13337 * gdb.threads/hand-call-in-threads.exp: Likewise.
13338 * gdb.threads/interrupted-hand-call.exp: Likewise.
13339 * gdb.threads/thread-unwindonsignal.exp: Likewise.
13340
347dc102
TT
133412016-06-10 Tom Tromey <tom@tromey.com>
13342
13343 PR rust/20110:
13344 * gdb.rust/expr.exp: Add test for integer constant larger than
13345 i32.
13346
5e13cf25
BH
133472016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
13348
13349 * gdb.fortran/nested-funcs.exp: New.
13350 * gdb.fortran/nested-funcs.f90: New.
13351
bb556f1f
TK
133522016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
13353
13354 * gdb.base/examine-backward.c: New file.
13355 * gdb.base/examine-backward.exp: New file.
13356
38b022b4
SM
133572016-06-06 Simon Marchi <simon.marchi@ericsson.com>
13358
13359 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
13360 matching.
13361
1b40ec05
TT
133622016-06-02 Tom Tromey <tom@tromey.com>
13363
13364 PR python/18984:
13365 * gdb.python/py-shared.exp: Add solib_name test.
13366
193bd378
SM
133672016-06-02 Simon Marchi <simon.marchi@ericsson.com>
13368
13369 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
13370
3326303b
MG
133712016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
13372
13373 PR c++/19893
13374 * gdb.dwarf2/implref.exp: Rename to...
13375 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
13376 * gdb.dwarf2/implref-array.c: New file.
13377 * gdb.dwarf2/implref-array.exp: Likewise.
13378 * gdb.dwarf2/implref-global.c: Likewise.
13379 * gdb.dwarf2/implref-global.exp: Likewise.
13380 * gdb.dwarf2/implref-struct.c: Likewise.
13381 * gdb.dwarf2/implref-struct.exp: Likewise.
13382
825c8ef2
AT
133832016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13384
13385 * gdb.trace/trace-condition.exp: Add 64bit tests.
13386
2320162a
AT
133872016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13388
13389 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
13390 bits types.
13391 (main): Adapt to 8 to 64 bits types.
13392 * gdb.trace/trace-condition.exp: Add new tests.
13393
a7818233
AT
133942016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13395
13396 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
13397
0d336466
AT
133982016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13399
13400 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
13401 Move condition tests...
13402 * gdb.trace/trace-condition.exp: Here.
13403
7faeb45a
AT
134042016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13405
13406 * gdb.trace/trace-condition.exp: Add counter-case tests.
13407
e385593e
JK
134082016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13409
13410 PR c++/15231
13411 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
13412 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
13413
744608cc
PA
134142016-05-27 Pedro Alves <palves@redhat.com>
13415
13416 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13417 New procedure.
13418 (top level): Call it, and bail out of DejaGnu is known to be bad.
13419
ac775bf4
AB
134202016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
13421
13422 * gdb.base/whatis.c: Extend the test case.
13423 * gdb.base/whatis.exp: Add additional tests.
13424
2bbad2ea
BH
134252016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13426
13427* gdb.fortran/type.f90: Add pointer variable.
13428* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
13429
8b70175d
BH
134302016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13431
13432 * gdb.fortran/vla-type.exp: Fix testcase name.
13433
86d8a848
BH
134342016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13435
13436 * gdb.fortran/vla-type.exp: Access elements in nested structs.
13437
e188eb36
BH
134382016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13439
13440 * gdb.fortran/type.f90: Add nested structures.
13441 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
13442 * gdb.fortran/derived-type.exp: Adapt expected output.
13443 * gdb.fortran/vla-type.exp: Adapt expected output.
13444
9b2db1fd
BH
134452016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13446
13447 * gdb.fortran/whatis_type.exp: Adapt expected output.
13448
72b17055
BH
134492016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13450
13451 * gdb.fortran/print_type.exp: Fix expected output.
13452 * gdb.fortran/whatis_type.exp: Fix expected output.
13453
3cd81d8d
BH
134542016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13455
13456 * gdb.fortran/whatis_type.exp: Use multi_line.
13457
ddae9462
TT
134582016-05-24 Tom Tromey <tom@tromey.com>
13459
13460 PR python/17386:
13461 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
13462 use value as an index.
13463
1957f6b8
TT
134642016-05-23 Tom Tromey <tom@tromey.com>
13465
13466 PR python/17981:
13467 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
13468 no-breakpoint case.
13469
026a9174
PA
134702016-05-24 Pedro Alves <palves@redhat.com>
13471
13472 PR gdb/19828
13473 * gdb.threads/clone-attach-detach.c: New file.
13474 * gdb.threads/clone-attach-detach.exp: New file.
13475
e70a7231
FR
134762016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
13477
13478 * gdb.base/annota-input-while-running.exp: Fix syntax error.
13479
0f6ed0e0
TT
134802016-05-23 Tom Tromey <tom@tromey.com>
13481
13482 PR python/19438, PR python/18393:
13483 * gdb.python/py-progspace.exp: Add "dir" test.
13484 * gdb.python/py-objfile.exp: Add "dir" test.
13485
ffd19d61
YQ
134862016-05-23 Yao Qi <yao.qi@linaro.org>
13487
13488 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
13489 * gdb.arch/thumb2-it.exp: Likewise.
13490
9e8f9b05
SM
134912016-05-18 Simon Marchi <simon.marchi@ericsson.com>
13492
13493 * gdb.mi/mi-threads-interrupt.c: New file.
13494 * gdb.mi/mi-threads-interrupt.exp: New file.
13495
61c6156d
SM
134962016-05-17 Simon Marchi <simon.marchi@ericsson.com>
13497
13498 PR gdb/18077
13499 * gdb.mi/mi-async-run.exp: New file.
13500 * gdb.mi/mi-async-run.c: New file.
13501
67218854
TT
135022016-05-17 Tom Tromey <tom@tromey.com>
13503 Manish Goregaokar <manishsmail@gmail.com>
13504
13505 * lib/rust-support.exp: New file.
13506 * lib/gdb.exp (skip_rust_tests): New proc.
13507 (build_executable_from_specs): Handle rust.
13508 * lib/future.exp (gdb_find_rustc): New proc.
13509 (gdb_default_target_compile): Handle rust.
13510 * gdb.rust/expr.exp: New file.
13511 * gdb.rust/generics.exp: New file.
13512 * gdb.rust/generics.rs: New file.
13513 * gdb.rust/methods.exp: New file.
13514 * gdb.rust/methods.rs: New file.
13515 * gdb.rust/modules.exp: New file.
13516 * gdb.rust/modules.rs: New file.
13517 * gdb.rust/simple.exp: New file.
13518 * gdb.rust/simple.rs: New file.
13519
c44af4eb
TT
135202016-05-17 Tom Tromey <tom@tromey.com>
13521
13522 * gdb.base/default.exp (set language): Add rust.
13523
dcd1f979
TT
135242016-05-17 Tom Tromey <tom@tromey.com>
13525
13526 * gdb.gdb/unittest.exp: New file.
13527
155b7f57
YQ
135282016-05-16 Yao Qi <yao.qi@linaro.org>
13529
13530 * gdb.base/batch-preserve-term-settings.exp: Remove variable
13531 shell_prompt. Update shell_prompt_re.
13532
8ddd5a6c
DE
135332016-05-12 Doug Evans <dje@google.com>
13534
13535 PR symtab/19999
13536 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
13537 $options when building executable.
13538 * gdb.dwarf2/fission-loclists-pie.S: New file.
13539 * gdb.dwarf2/fission-loclists-pie.exp: New file.
13540
02e370d9
SM
135412016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13542
13543 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
13544 of [is_remote target],
13545
8929ad8b
SM
135462016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13547
13548 * lib/gdb.exp (use_gdb_stub): New procedure.
13549
6c447423
DE
135502016-05-03 Yunlian Jiang <yunlian@google.com>
13551 Doug Evans <dje@google.com>
13552
13553 PR symtab/19914
13554 * gdb.dwarf2/dwp-sepdebug.c: New file.
13555 * gdb.dwarf2/dwp-sepdebug.exp: New file.
13556
444e826c
SM
135572016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13558
13559 * gdb.base/detach.exp: Remove is_remote check.
13560
740feeaa
SM
135612016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13562
13563 * gdb.base/annota-input-while-running.exp: Don't check for
13564 [is_remote target]. Enable annotations after running to main.
13565 Remove unused "set test..." line.
13566
9080ac9d
SM
135672016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13568
13569 * gdb.trace/trace-enable-disable.exp: New file.
13570 * gdb.trace/trace-enable-disable.c: New file.
13571
952ebca5
SM
135722016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13573
13574 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
13575 use it in info sharedlibrary test.
13576 * gdb.trace/ftrace-lock.exp: Likewise.
13577 * gdb.trace/ftrace.exp: Likewise.
13578 * gdb.trace/range-stepping.exp: Likewise.
13579 * gdb.trace/trace-break.exp: Likewise.
13580 * gdb.trace/trace-condition.exp: Likewise.
13581 * gdb.trace/trace-mt.exp: Likewise.
13582
d9019901
SM
135832016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13584
13585 * lib/gdb.exp (gdb_load_shlibs): Rename to...
13586 (gdb_load_shlib): ... this.
13587 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
13588 gdb_load_shlib.
13589 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
13590 * gdb.base/ctxobj.exp: Likewise.
13591 * gdb.base/dprintf-pending.exp: Likewise.
13592 * gdb.base/dso2dso.exp: Likewise.
13593 * gdb.base/fixsection.exp: Likewise.
13594 * gdb.base/gcore-relro.exp: Likewise.
13595 * gdb.base/gdb1555.exp: Likewise.
13596 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13597 * gdb.base/gnu-ifunc.exp: Likewise.
13598 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
13599 * gdb.base/jit-so.exp (one_jit_test): Likewise.
13600 * gdb.base/pending.exp: Likewise.
13601 * gdb.base/print-file-var.exp: Likewise.
13602 * gdb.base/print-symbol-loading.exp: Likewise.
13603 * gdb.base/shlib-call.exp: Likewise.
13604 * gdb.base/shreloc.exp: Likewise.
13605 * gdb.base/so-impl-ld.exp: Likewise.
13606 * gdb.base/solib-disc.exp: Likewise.
13607 * gdb.base/solib-nodir.exp: Likewise.
13608 * gdb.base/solib-overlap.exp: Likewise.
13609 * gdb.base/solib-symbol.exp: Likewise.
13610 * gdb.base/solib-weak.exp (do_test): Likewise.
13611 * gdb.base/sym-file.exp: Likewise.
13612 * gdb.base/symtab-search-order.exp: Likewise.
13613 * gdb.base/type-opaque.exp: Likewise.
13614 * gdb.base/unload.exp: Likewise.
13615 * gdb.base/watchpoint-solib.exp: Likewise.
13616 * gdb.compile/compile.exp: Likewise.
13617 * gdb.cp/gdb2384.exp: Likewise.
13618 * gdb.cp/infcall-dlopen.exp: Likewise.
13619 * gdb.cp/re-set-overloaded.exp: Likewise.
13620 * gdb.fortran/library-module.exp: Likewise.
13621 * gdb.opt/solib-intra-step.exp: Likewise.
13622 * gdb.python/py-finish-breakpoint.exp: Likewise.
13623 * gdb.python/py-shared.exp: Likewise.
13624 * gdb.reverse/solib-precsave.exp: Likewise.
13625 * gdb.reverse/solib-reverse.exp: Likewise.
13626 * gdb.server/solib-list.exp: Likewise.
13627 * gdb.threads/dlopen-libpthread.exp: Likewise.
13628 * gdb.threads/tls-shared.exp: Likewise.
13629 * gdb.threads/tls-so_extern.exp: Likewise.
13630 * gdb.trace/change-loc.exp: Likewise.
13631 * gdb.trace/ftrace-lock.exp: Likewise.
13632 * gdb.trace/ftrace.exp: Likewise.
13633 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
13634 * gdb.trace/pending.exp: Likewise.
13635 * gdb.trace/range-stepping.exp: Likewise.
13636 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
13637 (strace_info_marker): Likewise.
13638 (strace_probe_marker): Likewise.
13639 (strace_trace_on_same_addr): Likewise.
13640 (strace_trace_on_diff_addr): Likewise.
13641 * gdb.trace/trace-break.exp: Likewise.
13642 * gdb.trace/trace-condition.exp: Likewise.
13643 * gdb.trace/trace-mt.exp: Likewise.
13644
fca4cfd9
SM
136452016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13646
13647 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
13648 result of gdb_remote_download.
13649 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
13650 * gdb.base/dso2dso.exp: Likewise.
13651 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13652 * gdb.base/print-file-var.exp: Likewise.
13653 * gdb.base/shlib-call.exp: Likewise.
13654 * gdb.base/shreloc.exp: Likewise.
13655 * gdb.base/solib-overlap.exp: Likewise.
13656 * gdb.base/solib-weak.exp (do_test): Likewise.
13657 * gdb.base/unload.exp: Likewise.
13658
11cf4ffb
YQ
136592016-04-27 Yao Qi <yao.qi@linaro.org>
13660
13661 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
13662 exists.
13663
3e2e34f8
KB
136642016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13665
13666 * vla-type.exp: Print structure from toplevel.
13667
8f07e298
BH
136682016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13669
13670 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
13671 of dynamic types.
13672 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
13673 of dynamic types.
13674
9920b434
BH
136752016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13676
13677 * gdb.fortran/vla-type.f90: New file.
13678 * gdb.fortran/vla-type.exp: New file.
13679
f3abeff5
YQ
136802016-04-25 Yao Qi <yao.qi@linaro.org>
13681
13682 * gdb.base/branch-to-self.c: New file.
13683 * gdb.base/branch-to-self.exp: New file.
13684
0a5d52f0
YQ
136852016-04-22 Yao Qi <yao.qi@linaro.org>
13686
13687 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
13688 more after $hex.
13689
495346f6
YQ
136902016-04-22 Yao Qi <yao.qi@linaro.org>
13691
13692 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
13693 * gdb.base/annota3.exp: Likewise.
13694
4a7e075c
YQ
136952016-04-22 Yao Qi <yao.qi@linaro.org>
13696
13697 * gdb.reverse/step-precsave.exp: Do one step and test program
13698 stops in "callee" and do multiple steps until program goes out
13699 of "callee".
13700 * gdb.reverse/step-reverse.exp: Likewise.
13701
5b061e98
YQ
137022016-04-22 Yao Qi <yao.qi@linaro.org>
13703
13704 * gdb.trace/signal.exp: Also pass if
13705 $tracepoint_hits($i) > $iterations.
13706
5c5dc57f
YQ
137072016-04-22 Yao Qi <yao.qi@linaro.org>
13708
13709 * gdb.trace/signal.c: New file.
13710 * gdb.trace/signal.exp: New file.
13711
a55411b9
DE
137122016-04-19 Doug Evans <xdje42@gmail.com>
13713
13714 * gdb.base/bad-file.exp: New file.
13715
a22df60a
MG
137162016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
13717
13718 * gdb.dwarf2/implref.exp: New file.
13719
0c13f7e5
BH
137202016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13721
13722 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
13723 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
13724 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
13725 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
13726 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
13727 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
13728 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
13729 * lib/fortran.exp (fortran_int4): New procedure.
13730 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
13731 (fortran_logical4): Likewise.
13732
9b9b09e9
BH
137332016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
13734
13735 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
13736
a14d1f4d
BH
137372016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13738
13739 * lib/compiler.c: Add Intel specific preprocessor macros.
13740 * lib/compiler.cc: Likewise.
25d49b86 13741
7d49b1d0
LM
137422016-04-13 Luis Machado <lgustavo@codesourcery.com>
13743
13744 * gdb.server/connect-with-no-symbol-file.c: New file.
13745 * gdb.server/connect-with-no-symbol-file.exp: New file.
13746
8392fa22
SM
137472016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13748
13749 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
13750
8c4c4aeb
SM
137512016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13752
13753 * boards/gdbserver-base.exp (${board}_download): Copy source file to
13754 standard output directory.
13755
45e3745e
AT
137562016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
13757
13758 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
13759
e26b7e41
MM
137602016-04-13 Markus Metzger <markus.t.metzger@intel.com>
13761
13762 * gdb.btrace/instruction_history.c (loop): Add declaration.
13763
8ce09462
AT
137642016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13765
13766 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
13767
2e88a1ea
SM
137682016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
13769
13770 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
13771 parentheses to print.
13772 (continue_handler): Likewise.
13773
f48e22e3
SM
137742016-04-08 Simon Marchi <simon.marchi@ericsson.com>
13775
13776 * gdb.server/solib-list.exp: Remove is_remote check.
13777 Pass shlib= to gdb_compile. Don't link shared library with
13778 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
13779 Run binary filename through "readlink -f" on the target.
13780
096be756
PA
137812016-04-08 Pedro Alves <palves@redhat.com>
13782
13783 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
13784 interpreter filename as argument to gdbserver_spawn.
13785 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13786 Return empty if $last_loaded_file does not exist.
13787
06500533
JK
137882016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13789
13790 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
13791 * gdb.base/jit-main.c: Use exit after usage.
13792
2d35e871
JK
137932016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13794
13795 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
13796 GDBHISTSIZE prior to the tests.
13797 * gdb.base/gdbinit-history.exp: Likewise.
13798
137992016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
13800
13801 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
13802 instead of build_executable. Use gdb_load_shlibs.
13803
c8064e7e
YQ
138042016-04-07 Yao Qi <yao.qi@linaro.org>
13805
13806 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
13807 Execute "si" command.
13808
bde47561
YQ
138092016-04-07 Yao Qi <yao.qi@linaro.org>
13810
13811 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
13812 number instead of the comments on some line.
13813
b16f8a3b
DB
138142016-04-06 Don Breazeal <donb@codesourcery.com>
13815
13816 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
13817 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
13818
c2f901df
SM
138192016-04-06 Simon Marchi <simon.marchi@ericsson.com>
13820
13821 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
13822 standard_output_file. Remove unused binfile variable.
13823
ac17fda0
CU
138242016-04-05 Catalin Udma <catalin.udma@freescale.com>
13825
13826 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
13827 * gdb.python/py-mi-objfile.exp: Match "list main" output
13828 in console format.
13829
03a8c4df
SM
138302016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
13831
13832 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
13833 absolute.
13834
6e774b13
SM
138352016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13836
13837 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
13838 absolute.
13839 * gdb.trace/ftrace.exp: Likewise.
13840 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
13841 targets as well.
13842 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
13843 (gdb_load_shlibs): Copy libraries to test directory when testing
13844 natively. Only set solib-search-path if testing remotely.
13845 * lib/mi-support.exp (mi_load_shlibs): Likewise.
13846
7817ea46
SM
138472016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13848
13849 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
13850 gdb_download. Use it even if the target is not remote.
13851 * gdb.base/jit.exp (compile_jit_test): Likewise.
13852 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
13853 output directory if the destination board is local, otherwise use
13854 the standard remote_download from DejaGnu.
13855 (gdb_download): Remove.
13856 (gdb_load_shlibs): Use gdb_remote_download instead of
13857 gdb_download.
13858 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13859 Use gdb_remote_download instead of gdb_download. Use it even if
13860 the target is not remote.
13861 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
13862 instead of gdb_download.
13863
7beb7f68
SM
138642016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
13865
13866 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
13867 (test_insert_delete_modify): Call mi_load_shlibs before trying to
13868 run.
13869
cc63428a
AV
138702016-04-01 Artemiy Volkov <artemiyv@acm.org>
13871
13872 PR gdb/19820
13873 * gdb.base/printcmds.exp: Add artificial arrays tests.
13874
64cdf930
PA
138752016-03-31 Pedro Alves <palves@redhat.com>
13876
13877 PR gdb/19858
13878 * gdb.base/jit-main.c: Include unistd.h.
13879 (ATTACH): Define to 0 if not already defined.
13880 (wait_for_gdb, mypid): New globals.
13881 (WAIT_FOR_GDB): New macro.
13882 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
13883 some breakpoint locations.
13884 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
13885 New procedures.
13886 (one_jit_test): Add REATTACH parameter, and handle it. Use
13887 continue_to_test_location.
13888 (top level): Test attach, and adjusts calls to one_jit_test.
13889
40dea8cb
PA
138902016-03-31 Pedro Alves <palves@redhat.com>
13891
13892 PR gdb/19858
13893 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
13894 BINSUFFIX parameter, and handle it.
13895 (top level): Adjust calls compile_jit_test.
13896
e7ea3ec7
CU
138972016-03-31 Catalin Udma <catalin.udma@freescale.com>
13898
13899 PR python/19743
13900 * gdb.python/py-mi-events-gdb.py: New file.
13901 * gdb.python/py-mi-events.c: New file.
13902 * gdb.python/py-mi-events.exp: New file.
13903
e6359af3
YQ
139042016-03-30 Yao Qi <yao.qi@linaro.org>
13905
13906 * gdb.reverse/until-precsave.exp: Match function name only.
13907 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
13908 Move malloc to a condition block.
13909 * gdb.reverse/until-reverse.exp: Match function name only.
13910
a4105d04
MK
139112016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
13912
13913 * gdb.trace/ftrace.exp: Set arg0exp for s390.
13914 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
13915 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
13916 variable for GPR 0 instead of assuming it is register 0.
13917 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
13918 * lib/trace-support.exp: Add s390 registers.
13919
bfa6adb9
YQ
139202016-03-29 Yao Qi <yao.qi@linaro.org>
13921
13922 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
13923
1e6697ea
YQ
139242016-03-24 Yao Qi <yao.qi@linaro.org>
13925
13926 * gdb.reverse/break-reverse.exp: Add quotation mark in the
13927 test message.
13928
64bcd522
AA
139292016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13930
13931 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
13932 maintaining separate logic for constructing the output path.
13933
7868401b
DB
139342016-03-16 Don Breazeal <donb@codesourcery.com>
13935
13936 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
13937 Retry fork and waitpid on interrupted system call errors.
13938 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13939 Use with_timeout_factor to increase timeout by factor of 10.
13940
1cafadb4
DB
139412016-03-15 Don Breazeal <donb@codesourcery.com>
13942
13943 * gdb.cp/scope-err.cc: New test program.
13944 * gdb.cp/scope-err.exp: New test script.
13945 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
13946 lines and "set breakpoint here" comment.
13947 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
13948 Fixed some whitespace and format issues.
13949 * gdb.mi/mi-linespec-err-cp.cc: New test program.
13950 * gdb.mi/mi-linespec-err-cp.exp: New test script.
13951
81516450
DE
139522016-03-15 Doug Evans <dje@google.com>
13953
13954 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
13955 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
13956 All callers updated. Add tests for enums, mixed flags register.
13957
aa52b601
DE
139582016-03-15 Doug Evans <dje@google.com>
13959
13960 * gdb.base/skip.c (main): Call test_skip_file_and_function.
13961 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
13962
fa4ff313
SM
139632016-03-14 Simon Marchi <simon.marchi@ericsson.com>
13964
13965 * gdb.base/default.exp: Add $_as_string to the list of expected
13966 convenience functions.
13967
f2403c39
AB
139682016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
13969
13970 * gdb.base/maint.exp: New tests for 'maint info line-table'.
13971
f2f3ccb9
SM
139722016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
13973
13974 * gdb.python/py-as-string.exp: New file.
13975 * gdb.python/py-as-string.c: New file.
13976
00dbd492
PA
139772016-03-09 Pedro Alves <palves@redhat.com>
13978
13979 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
13980 signal" -> "Thread NN received signal" output change.
13981 * gdb.threads/ia64-sigill.exp: Likewise.
13982 * gdb.threads/linux-dp.exp: Likewise.
13983 * gdb.threads/manythreads.exp: Likewise.
13984 * gdb.threads/pending-step.exp: Likewise.
13985 * gdb.threads/print-threads.exp: Likewise.
13986 * gdb.threads/sigstep-threads.exp: Likewise.
13987 * gdb.threads/staticthreads.exp: Likewise.
13988 * gdb.threads/tls.exp: Likewise.
13989
1e6697ea
YQ
139902016-03-09 Pedro Alves <palves@redhat.com>
13991
13992 * gdb.base/command-line-input.exp: New file.
13993
b04fd3be
MK
139942016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13995
13996 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
13997 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
13998 * gdb.trace/pending.exp: Accept leading dot before function name.
13999 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
14000 * lib/trace-support.exp: Set registers for ppc.
14001
98fa59e9
MK
140022016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14003
14004 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
14005 use it for disassembly; accept .main in addition to main in backtrace.
14006
f77198c8
MK
140072016-03-09 Wei-cheng Wang <cole945@gmail.com>
14008 Marcin Kościelnicki <koriakin@0x04.net>
14009
14010 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
14011 (gdb_recursion_test_ptr): New global variable.
14012 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
14013 gdb_recursion_test.
14014 (gdb_c_test): Ditto.
14015
ba84e0da
MK
140162016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14017
14018 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
14019 ordering.
14020
4366d36e
MK
140212016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14022
14023 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
14024 (bar): Add bar_start_lbl label.
14025 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
14026 of foo/bar for emitting DWARF and tracing.
14027
5eb264df
SDJ
140282016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
14029
14030 * analyze-racy-logs.py: Set executable bit.
14031
fb6a751f
SDJ
140322016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
14033
14034 * Makefile.in (DEFAULT_RACY_ITER): New variable.
14035 (CHECK_TARGET_TMP): Likewise.
14036 (check-single-racy): New rule.
14037 (check-parallel-racy): Likewise.
14038 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
14039 (do-check-parallel-racy): New rule.
14040 (check-racy/%.exp): Likewise.
14041 * README (Racy testcases): New section.
14042 * analyze-racy-logs.py: New file.
14043
bdf7e230
DE
140442016-03-03 Doug Evans <dje@google.com>
14045
14046 * gdb.base/skip.exp: Use with_test_prefix.
14047
4719d415
YQ
140482016-03-03 Yao Qi <yao.qi@linaro.org>
14049
14050 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
14051 Invoke step_over_syscall "clone" and break_cond_on_syscall
14052 "clone".
14053 * gdb.base/step-over-clone.c: New file.
14054
ea507862
YQ
140552016-03-03 Yao Qi <yao.qi@linaro.org>
14056
14057 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
14058 code format.
14059
8fc8cbda
YQ
140602016-03-03 Yao Qi <yao.qi@linaro.org>
14061
14062 * gdb.base/disp-step-fork.c: Rename to ...
14063 * gdb.base/step-over-fork.c: ... it. New file.
14064 * gdb.base/disp-step-vfork.c: Rename to ...
14065 * gdb.base/step-over-vfork.c: ... it. New file.
14066 * gdb.base/disp-step-syscall.exp: Rename to ...
14067 * gdb.base/step-over-syscall.exp: ... it. New file.
14068 (disp_step_cross_syscall): Rename to ...
14069 (step_over_syscall): ... it.
14070
92fa70b0
YQ
140712016-03-03 Yao Qi <yao.qi@linaro.org>
14072
14073 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
14074 If target supports condition evaluation on target, invoke
14075 break_cond_on_syscall for fork and vfork.
14076
e197ad3c
YQ
140772016-03-03 Yao Qi <yao.qi@linaro.org>
14078
14079 * gdb.base/disp-step-syscall.exp: Don't invoke
14080 support_displaced_stepping.
14081 (disp_step_cross_syscall): Test with displaced stepping off and
14082 on if supported.
14083
0b47da9f
YQ
140842016-03-03 Yao Qi <yao.qi@linaro.org>
14085
14086 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
14087 proc.
14088 (setup): New proc.
14089 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
14090 and setup.
14091
065ab6dc
BH
140922016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14093
14094 * gdb.fortran/vla-history.exp: Remove breakpoint.
14095
07e448ad 140962016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14097
25d49b86
PA
14098 * gdb.fortran/vla-history.exp: Lookup array elements and printing
14099 exceeds timeout.
07e448ad 14100
9ac2d526 141012016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14102
25d49b86
PA
14103 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
14104 breakpoint.
9ac2d526 14105
17807369
BH
141062016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14107
14108 * gdb.mi/vla.f90: Nullify pointer after declaration.
14109
86e501af
PA
141102016-03-01 Pedro Alves <palves@redhat.com>
14111
14112 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
14113
1e903e32
PA
141142016-03-01 Pedro Alves <palves@redhat.com>
14115
14116 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
14117 before anything else.
14118 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
14119 _GNU_SOURCE here.
14120 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
14121 before anything else.
14122 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
14123
6ccb54e2
PA
141242016-03-01 Pedro Alves <palves@redhat.com>
14125
14126 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
14127
30ca9da1
YQ
141282016-03-01 Yao Qi <yao.qi@linaro.org>
14129
14130 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
14131 prepare_for_testing.
14132
dc856b38
YQ
141332016-03-01 Yao Qi <yao.qi@linaro.org>
14134
14135 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
14136
4a932159
AA
141372016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14138
14139 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
14140 manually constructing the output path.
14141
f2489477
AA
141422016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14143
14144 * gdb.arch/s390-stackless.S: New.
14145 * gdb.arch/s390-stackless.exp: New.
14146
38899f16
IB
141472016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
14148
14149 * gdb.dlang/circular.c: New file.
14150 * gdb.dlang/circular.exp: New file.
14151
9fde51ed
YQ
141522016-02-26 Yao Qi <yao.qi@linaro.org>
14153
14154 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
14155 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
14156 (testcases): Update.
14157
ce90fefe
YQ
141582016-02-26 Yao Qi <yao.qi@linaro.org>
14159
14160 * gdb.reverse/aarch64.c: Rename to ...
14161 * gdb.reverse/insn-reverse.c: ... it.
14162 * gdb.reverse/aarch64.exp: Rename to ...
14163 * gdb.reverse/insn-reverse.exp: ... it.
14164
3263bceb
YQ
141652016-02-26 Yao Qi <yao.qi@linaro.org>
14166
14167 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
14168 (testcase_ftype): New.
14169 (testcases): New array.
14170 (n_testcases): New.
14171 (main): Call each element in testcases.
14172 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
14173 (read_testcase): New.
14174 Do the tests in a loop.
14175
6cb59ff1
YQ
141762016-02-25 Yao Qi <yao.qi@linaro.org>
14177
14178 * gdb.base/branches.c: Remove.
14179
ae91f625
MK
141802016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14181
14182 PR gdb/13808
14183 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
14184
678b48b7
MK
141852016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14186
14187 * gdb.trace/ftrace.exp: Remove unnecessary target check.
14188
7337a6f2
MK
141892016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14190
14191 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
14192 change x86_64 call_insn to 'callq'.
14193
861ca91f
AT
141942016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14195
14196 * gdb.trace/tfile-avx.c: Move to...
14197 * gdb.trace/tracefile-pseudo-reg.c: Here.
14198 * gdb.trace/tfile-avx.exp: Move to...
14199 * gdb.trace/tracefile-pseudo-reg.exp: Here.
14200
bf74e428
GB
142012016-02-24 Gary Benson <gbenson@redhat.com>
14202
14203 * gdb.base/attach-pie-noexec.exp: Do not expect an error
14204 message on attach.
14205
cce0e923
DE
142062016-02-23 Doug Evans <dje@google.com>
14207
14208 * gdb.base/skip.c (test_skip): New function.
14209 (end_test_skip_file_and_function): New function.
14210 (test_skip_file_and_function): New function.
14211 * gdb.base/skip1.c (test_skip): New function.
14212 (skip1_test_skip_file_and_function): New function.
14213 * gdb.base/skip.exp: Add tests for new skip options.
14214 * gdb.base/skip-solib.exp: Update expected output.
14215 * gdb.perf/skip-command.cc: New file.
14216 * gdb.perf/skip-command.exp: New file.
14217 * gdb.perf/skip-command.py: New file.
14218
4000e47e
MK
142192016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
14220
14221 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
14222 info registers pattern.
14223
24f75ead
IB
142242016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
14225
14226 * lib/future.exp: Add D support.
14227 (gdb_find_gdc): New proc.
14228 (gdb_default_target_compile): Add D support.
14229
fbb7bcbe
WW
142302016-02-18 Wei-cheng Wang <cole945@gmail.com>
14231
14232 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
14233 user+system time.
14234 (trace_speed_test): Determine the iteration count for a time
14235 between 15..30 seconds.
14236
012b3a21
WT
142372016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
14238
14239 * gdb.arch/i386-mpx-sigsegv.c: New file.
14240 * gdb.arch/i386-mpx-sigsegv.exp: New file.
14241 * gdb.arch/i386-mpx-simple_segv.c: New file.
14242 * gdb.arch/i386-mpx-simple_segv.exp: New file.
14243
2d5189bd
YQ
142442016-02-18 Yao Qi <yao.qi@linaro.org>
14245
14246 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14247 Don't call setup_kfail.
14248
40fb20d0
YQ
142492016-02-18 Yao Qi <yao.qi@linaro.org>
14250
14251 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14252 Set "set breakpoint condition-evaluation" per $cond_bp_target.
14253
21b1f8d2
DE
142542016-02-16 Doug Evans <dje@google.com>
14255
14256 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
14257 * gdb.base/skip1.c: Ditto.
14258 * gdb.base/skip.exp: Whitespace cleanup.
14259
4041ed77
DB
142602016-02-16 Don Breazeal <donb@codesourcery.com>
14261
14262 PR remote/19496
14263 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14264 Remove kfail for PR remote/19496.
14265
c4ef31bf
SM
142662016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14267
14268 * lib/gdb.exp (standard_temp_file): Return a path specific to
14269 the runtest invocation.
14270
266b65b3
SM
142712016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14272
14273 * gdb.trace/save-trace.exp: Change relative path to be in the
14274 standard output directory.
14275
a7a0a6a9
JK
142762016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14277
14278 * gdb.arch/i386-prologue.c: Add missing prototypes.
14279
c99dbb42
JK
142802016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14281
14282 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
14283 * gdb.arch/i386-prologue.exp: Likewise.
14284 * gdb.arch/i386-size.exp: Likewise.
14285
aa480355
SM
142862016-02-15 Simon Marchi <simon.marchi@ericsson.com>
14287
14288 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
14289 define object file path.
14290 * gdb.btrace/gcore.exp: Use standard_output_file to define core
14291 file path.
14292 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
14293 standard_output_file to define binfile.
14294
ba881f50
JK
142952016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14296
14297 Fix compatibility with recent gfortran-5.3.1.
14298 * gdb.fortran/vla-history.exp (print vla1 allocated)
14299 (print vla2 allocated, print $2, print $3): Remove
14300 (print $4): Rename to ...
14301 (print $2): ... here.
14302 (print $9): Rename to ...
14303 (print $5): ... here.
14304 (print $10): Rename to ...
14305 (print $6): ... here.
14306 * gdb.fortran/vla.f90: Add pvla initialization.
14307
e9fb005c
JK
143082016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14309
14310 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
14311 New test.
14312 * gdb.fortran/vla-value-sub.exp: Likewise.
14313
e44e00ff
MK
143142016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
14315
14316 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
14317
97e94151
SM
143182016-02-12 Simon Marchi <simon.marchi@ericsson.com>
14319
14320 * i386-biarch-core.exp: Define corefile using
14321 standard_output_file.
14322
01113bc1
YQ
143232016-02-12 Yao Qi <yao.qi@linaro.org>
14324
14325 * gdb.arch/arm-single-step-kernel-helper.c: New.
14326 * gdb.arch/arm-single-step-kernel-helper.exp: New.
14327
33b4777c
MM
143282016-02-12 Markus Metzger <markus.t.metzger@intel.com>
14329
14330 * gdb.btrace/tailcall-only.exp: New.
14331 * gdb.btrace/tailcall-only.c: New.
14332 * gdb.btrace/x86_64-tailcall-only.S: New.
14333 * gdb.btrace/i686-tailcall-only.S: New.
14334
acc23c11
PA
143352016-02-11 Pedro Alves <palves@redhat.com>
14336
14337 * README (Parallel testing): Add missing double quotes.
14338
e352bf0a
PA
143392016-02-11 Pedro Alves <palves@redhat.com>
14340
14341 * README (Parallel testing): New section.
14342 (GDB_PARALLEL): Rewrite.
14343 (FORCE_PARALLEL): Document.
14344
9f5fed78
MK
143452016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
14346
14347 * gdb.trace/tfile-avx.c: New test.
14348 * gdb.trace/tfile-avx.exp: New test.
14349
9ef9e6a6
KS
143502016-02-09 Keith Seitz <keiths@redhat.com>
14351
14352 PR breakpoints/19546
14353 * gdb.base/infcall-exec.c: New file.
14354 * gdb.base/infcall-exec2.c: New file.
14355 * gdb.base/infcall-exec.exp: New file.
14356
a96e36da
KS
143572016-02-09 Keith Seitz <keiths@redhat.com>
14358
14359 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
14360 (toplevel): Call test_bkpt_address.
14361
9f61929f
KS
143622016-02-09 Keith Seitz <keiths@redhat.com>
14363
14364 PR python/19506
14365 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
14366 (toplevel): Call test_bkpt_address.
14367
1e94266c
SM
143682016-02-09 Simon Marchi <simon.marchi@ericsson.com>
14369
14370 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
14371 to AC_OUTPUT.
14372 * configure: Regenerate.
14373
2a7f3dff
PA
143742016-02-09 Pedro Alves <palves@redhat.com>
14375
14376 PR breakpoints/19548
14377 * gdb.base/execl-update-breakpoints.c (some_function): New
14378 function.
14379 (main): Call it.
14380 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
14381 Tighten expected GDB output.
14382
2151ccc5
SM
143832016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14384
14385 * Makefile.in (ALL_SUBDIRS): Remove.
14386 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
14387 (distclean maintainer-clean realclean): Likewise.
14388 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
14389 * configure: Regenerate.
14390 * gdb.ada/Makefile.in: Delete.
14391 * gdb.arch/Makefile.in: Likewise.
14392 * gdb.asm/Makefile.in: Likewise.
14393 * gdb.base/Makefile.in: Likewise.
14394 * gdb.btrace/Makefile.in: Likewise.
14395 * gdb.cell/Makefile.in: Likewise.
14396 * gdb.compile/Makefile.in: Likewise.
14397 * gdb.cp/Makefile.in: Likewise.
14398 * gdb.disasm/Makefile.in: Likewise.
14399 * gdb.dlang/Makefile.in: Likewise.
14400 * gdb.dwarf2/Makefile.in: Likewise.
14401 * gdb.fortran/Makefile.in: Likewise.
14402 * gdb.gdb/Makefile.in: Likewise.
14403 * gdb.go/Makefile.in: Likewise.
14404 * gdb.guile/Makefile.in: Likewise.
14405 * gdb.java/Makefile.in: Likewise.
14406 * gdb.linespec/Makefile.in: Likewise.
14407 * gdb.mi/Makefile.in: Likewise.
14408 * gdb.modula2/Makefile.in: Likewise.
14409 * gdb.multi/Makefile.in: Likewise.
14410 * gdb.objc/Makefile.in: Likewise.
14411 * gdb.opencl/Makefile.in: Likewise.
14412 * gdb.opt/Makefile.in: Likewise.
14413 * gdb.pascal/Makefile.in: Likewise.
14414 * gdb.perf/Makefile.in: Likewise.
14415 * gdb.python/Makefile.in: Likewise.
14416 * gdb.reverse/Makefile.in: Likewise.
14417 * gdb.server/Makefile.in: Likewise.
14418 * gdb.stabs/Makefile.in: Likewise.
14419 * gdb.threads/Makefile.in: Likewise.
14420 * gdb.trace/Makefile.in: Likewise.
14421 * gdb.xml/Makefile.in: Likewise.
14422 * lib/gdb.exp (make_gdb_parallel_path): Add check for
14423 GDB_PARALLEL.
14424 (standard_output_file): Remove check for GDB_PARALLEL, always
14425 return path in outputs/$subdir/$testname.
14426
437277d4
SM
144272016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14428
14429 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
14430 (site.exp): Assign abs_srcdir to tcl's srcdir.
14431
31d913c7
YQ
144322016-02-04 Yao Qi <yao.qi@linaro.org>
14433
14434 * gdb.base/foll-exec-mode.c: Include limits.h.
14435 (main): Add parameters argc and argv. Get directory from
14436 argv[0].
14437 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
14438 compilation.
14439 * gdb.base/foll-exec.c: Include limits.h.
14440 (main): Add parameters argc and argv.
14441 Get directory from argv[0].
14442 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
14443 Adjust tests on the number of lines as source code changed.
14444 * gdb.base/foll-vfork-exit.c: Include limits.h.
14445 (main): Add one line of statement before vfork.
14446 * gdb.base/foll-vfork.c: Include limits.h and string.h.
14447 (main): Add parameters argc and argv. Get directory from
14448 argv[0].
14449 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
14450 (setup_gdb): Set tbreak to skip some source lines.
14451 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
14452 (main): Add parameters argc and argv. Get directory from
14453 argv[0].
14454 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
14455 compilation.
14456 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
14457 (main): Add parameters argc and argv. Get directory from
14458 argv[0].
14459 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
14460 compilation.
14461
9482b9fb
DE
144622016-02-01 Doug Evans <dje@google.com>
14463
14464 * gdb.base/skip.exp: Clean up multiple references to same test name.
14465
6b2e4f10
PA
144662016-02-01 Pedro Alves <palves@redhat.com>
14467
ccb6afd6 14468 PR remote/19496
6b2e4f10
PA
14469 * gdb.threads/forking-threads-plus-breakpoint.exp
14470 (displaced_stepping_supported): New global.
14471 (probe_displaced_stepping_support): New procedure.
14472 (do_test): Add 'displaced' parameter, and use it.
14473 (top level): Check for displaced stepping support. Add displaced
14474 stepping on/off testing axis.
14475
37a8db1a
AB
144762016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14477
14478 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
14479 pointer. Don't perform further tests on the unassociated pointer
14480 if the first test fails.
14481
5fdf6324
AB
144822016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14483
14484 * gdb.base/max-value-size.c: New file.
14485 * gdb.base/max-value-size.exp: New file.
14486 * gdb.base/huge.exp: Disable max-value-size for this test.
14487
935c6144
IB
144882016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
14489
14490 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14491
7fe8399d
YQ
144922016-01-28 Yao Qi <yao.qi@linaro.org>
14493
14494 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
14495
a2077e25
PA
144962016-01-25 Pedro Alves <palves@redhat.com>
14497
14498 PR threads/19461
14499 * gdb.base/fork-running-state.c: New file.
14500 * gdb.base/fork-running-state.exp: New file.
14501
1d2736d4
PA
145022016-01-25 Pedro Alves <palves@redhat.com>
14503
14504 PR gdb/19494
14505 * gdb.base/catch-fork-kill.c: New file.
14506 * gdb.base/catch-fork-kill.exp: New file.
14507
f1da4b11
PA
145082016-01-25 Pedro Alves <palves@redhat.com>
14509
14510 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
14511 Delete, moved to lib/gdb.exp.
14512 * gdb.threads/forking-threads-plus-breakpoint.exp
14513 (foreach_with_prefix): Likewise.
14514 * gdb.threads/process-dies-while-handling-bp.exp
14515 (foreach_with_prefix): Likewise.
14516 * lib/gdb.exp (foreach_with_prefix): New procedure.
14517
45f38546
MK
145182016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
14519
14520 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
14521 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
14522
dc29a1ce
MK
145232016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
14524
14525 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
14526 endian targets.
14527
092127d7
JK
145282016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14529 Pedro Alves <palves@redhat.com>
14530
14531 Fix testsuite compatibility with Guile.
14532 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
14533 number.
14534
31d765d3
JK
145352016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14536
14537 Fix testsuite compatibility with Guile.
14538 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
14539 (thread 1): New test for backtrace through signal handler.
14540
1ac78c04
YQ
145412016-01-22 Yao Qi <yao.qi@linaro.org>
14542
14543 PR testsuite/19491
14544 * gdb.base/multi-forks.c: Include
14545 ../lib/unbuffer_output.c
14546 (main): Call gdb_unbuffer_output.
14547
4f5946a8
DE
145482016-01-21 Doug Evans <dje@google.com>
14549
14550 * lib/ada.exp (gdb_compile_ada): Fix typo.
14551
305e13e6
JB
145522016-01-21 Joel Brobecker <brobecker@adacore.com>
14553
14554 * gdb.base/break-fun-addr.exp: New file.
14555 * gdb.base/break-fun-addr1.c: New file.
14556 * gdb.base/break-fun-addr2.c: New file.
14557
5f5dfff6
SM
145582016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
14559
14560 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
14561 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
14562 enum flag values.
14563
fd356fa2
AA
145642016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14565
14566 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
14567 when GDB can not set the vector return value. Add more comments
14568 for clarification.
14569
9df22175
AT
145702016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
14571
14572 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
14573 command.
14574
41d1845e
SM
145752016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14576
14577 * Makefile.in (DO_RUNTEST): Add --status and update usages.
14578
01ac6840
SM
145792016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14580
14581 * Makefile.in (check-single): Pass --status to runtest.
14582 (check/%.exp): Likewise.
14583
145842016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14585
14586 * Makefile.in (check-parallel): Propagate return code from make
14587 do-check-parallel.
14588
bd0a71fa
MK
145892016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
14590
14591 * gdb.trace/ftrace.exp: Fix expected message on continue.
14592 * gdb.trace/pending.exp: Fix expected message on continue.
14593 * gdb.trace/trace-break.exp: Fix expected message on continue.
14594
8bcbad33
SM
145952016-01-18 Simon Marchi <simon.marchi@ericsson.com>
14596
14597 * lib/gdb.exp (gdb_test): Remove unused global references.
14598
f303dbd6
PA
145992016-01-18 Pedro Alves <palves@redhat.com>
14600
14601 * gdb.base/async-shell.exp: Adjust expected output.
14602 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
14603 * gdb.base/siginfo-thread.exp: Adjust expected output.
14604 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
14605 * gdb.java/jnpe.exp: Adjust expected output.
14606 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
14607 * gdb.threads/continue-pending-status.exp: Adjust expected output.
14608 * gdb.threads/leader-exit.exp: Adjust expected output.
14609 * gdb.threads/manythreads.exp: Adjust expected output.
14610 * gdb.threads/pthreads.exp: Adjust expected output.
14611 * gdb.threads/schedlock.exp: Adjust expected output.
14612 * gdb.threads/siginfo-threads.exp: Adjust expected output.
14613 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
14614 expected output.
14615 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
14616 output.
14617 * gdb.threads/sigthread.exp: Adjust expected output.
14618 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
14619
b2789696
YQ
146202016-01-18 Yao Qi <yao.qi@linaro.org>
14621
14622 * gdb.guile/scm-section-script.c: Replace @progbits with
14623 %progbits.
14624 * gdb.python/py-section-script.c: Likewise.
14625
71ef29a8
PA
146262016-01-15 Pedro Alves <palves@redhat.com>
14627
14628 * gdb.multi/tids.exp: Test star wildcard ranges.
14629
3f5b7598
PA
146302016-01-15 Pedro Alves <palves@redhat.com>
14631
14632 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
14633 command from "thread apply" invocation.
14634 (thr_apply_info_thr_invalid): Default the expected output to the
14635 input tid list.
14636 (top level): Add tests that use convenience variables. Add tests
14637 for "thread apply" with a valid TID list, but missing the command.
14638
663f6d42
PA
146392016-01-13 Pedro Alves <palves@redhat.com>
14640
14641 * gdb.base/default.exp: Expect $_gthread as well.
14642 * gdb.multi/tids.exp: Test $_gthread.
14643 * gdb.threads/thread-specific.exp: Test $_gthread.
14644
c84f6bbf
PA
146452016-01-13 Pedro Alves <palves@redhat.com>
14646
14647 * gdb.multi/tids.exp: Test "info threads -gid".
14648
22a02324
PA
146492016-01-13 Pedro Alves <palves@redhat.com>
14650
14651 * gdb.multi/tids.exp: Test InferiorThread.global_num and
14652 Breakpoint.thread.
14653 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
14654
5d5658a1
PA
146552016-01-07 Pedro Alves <palves@redhat.com>
14656
14657 * gdb.base/break.exp: Adjust to output changes.
14658 * gdb.base/hbreak2.exp: Likewise.
14659 * gdb.base/sepdebug.exp: Likewise.
14660 * gdb.base/watch_thread_num.exp: Likewise.
14661 * gdb.linespec/keywords.exp: Likewise.
14662 * gdb.multi/info-threads.exp: Likewise.
14663 * gdb.threads/thread-find.exp: Likewise.
14664 * gdb.multi/tids.c: New file.
14665 * gdb.multi/tids.exp: New file.
14666
84654457
PA
146672016-01-13 Pedro Alves <palves@redhat.com>
14668
14669 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
14670
e3940304
PA
146712016-01-13 Pedro Alves <palves@redhat.com>
14672
14673 * gdb.base/default.exp: Expect $_inferior as well.
14674 * gdb.multi/base.exp: Test $_inferior.
14675
a911d87a
PA
146762016-01-13 Pedro Alves <palves@redhat.com>
14677
14678 PR breakpoints/19388
14679 * gdb.base/catch-signal-siginfo-cond.c: New file.
14680 * gdb.base/catch-signal-siginfo-cond.exp: New file.
14681
82075af2
JS
146822016-01-12 Josh Stone <jistone@redhat.com>
14683 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14684
14685 * gdb.base/catch-syscall.c (do_execve): New variable.
14686 (main): Conditionally trigger an execve.
14687 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
14688 (test_catch_syscall_execve): New, check entry/return across execve.
14689 (do_syscall_tests): Call test_catch_syscall_execve.
14690
e46eeedd
PA
146912016-01-12 Pedro Alves <palves@redhat.com>
14692
14693 * gdb.base/random-signal.exp (do_test): New procedure, with body
14694 of testcase moved in.
14695
01d8c27e
JK
146962016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14697 Pedro Alves <palves@redhat.com>
14698
14699 * gdb.base/funcargs.exp (finish from indirectly called function):
14700 Reintroduce the case for 'First'.
14701
9a706302
JK
147022016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14703 Pedro Alves <palves@redhat.com>
14704
14705 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14706 (tcatch_vfork_then_child_follow_exec)
14707 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
14708 identification.
14709
c0ecb95f
JK
147102016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14711
14712 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
14713 and repeats to unlimited.
14714 * gdb.python/py-value.exp: Likewise.
14715 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
14716 and repeats to unlimited.
14717
6cfc1fcb
JK
147182016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14719
14720 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
14721 and reordering the functions.
14722 * gdb.multi/hangout.c: Likewise.
14723 * gdb.multi/hello.c: Likewise.
14724
582a1b00
SM
147252016-01-08 Simon Marchi <simon.marchi@ericsson.com>
14726
14727 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
14728 absolute.
14729 (SingleStatisticTestResult.report): Use dict.keys instead of
14730 dict.iterkeys.
14731
79bc59cb
PA
147322016-01-06 Pedro Alves <palves@redhat.com>
14733
14734 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
14735
43368e1d
MM
147362016-01-04 Markus Metzger <markus.t.metzger@intel.com>
14737
14738 * gdb.btrace/dlopen.exp: New.
14739 * gdb.btrace/dlopen.c: New.
14740 * gdb.btrace/dlopen-dso.c: New.
14741
79fad5b8
SL
147422015-12-25 Sandra Loosemore <sandra@codesourcery.com>
14743
14744 * lib/gdb.exp (gdb_test): Update comments to clarify that the
14745 PATTERN argument is optional.
14746
ab8314b3
JB
147472015-12-24 Joel Brobecker <brobecker@adacore.com>
14748
14749 * lib/ada.exp (target_compile_ada_from_dir): New function.
14750 (gdb_compile_ada): Reimplement avoiding the use of project files.
14751 * gdb.ada/gnat_ada.gpr: Delete.
14752 * gdb.ada/cond_lang.exp: Adjust test to make path before
14753 filename optional.
14754 * gdb.ada/small_reg_param.exp: Likewise.
14755
fe33faff
SM
147562015-12-22 Simon Marchi <simon.marchi@ericsson.com>
14757
14758 * gdb.base/foll-vork.exp: Remove HP-UX special case.
14759
6d265cb4
TP
147602015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
14761
14762 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
14763 case.
14764
10125099
SM
147652015-12-21 Simon Marchi <simon.marchi@ericsson.com>
14766
14767 * gdb.base/break.exp: Remove dead code.
14768 * gdb.base/sepdebug.exp: Likewise.
14769
3ca22649
SM
147702015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14771
14772 * gdb.asm/asm-source.exp: Remove HP-UX references.
14773 * gdb.base/annota1.exp: Likewise.
14774 * gdb.base/annota3.exp: Likewise.
14775 * gdb.base/attach.exp: Likewise.
14776 * gdb.base/bigcore.exp: Likewise.
14777 * gdb.base/break.exp: Likewise.
14778 * gdb.base/call-ar-st.exp: Likewise.
14779 * gdb.base/callfuncs.exp: Likewise.
14780 * gdb.base/catch-fork-static.exp: Likewise.
14781 * gdb.base/display.exp: Likewise.
14782 * gdb.base/foll-exec-mode.exp: Likewise.
14783 * gdb.base/foll-exec.exp: Likewise.
14784 * gdb.base/foll-fork.exp: Likewise.
14785 * gdb.base/foll-vfork.exp: Likewise.
14786 * gdb.base/funcargs.exp: Likewise.
14787 * gdb.base/hbreak2.exp: Likewise.
14788 * gdb.base/inferior-died.exp: Likewise.
14789 * gdb.base/interrupt.exp: Likewise.
14790 * gdb.base/multi-forks.exp: Likewise.
14791 * gdb.base/nodebug.exp: Likewise.
14792 * gdb.base/sepdebug.exp: Likewise.
14793 * gdb.base/solib1.c: Likewise.
14794 * gdb.base/step-test.exp: Likewise.
14795 * gdb.mi/non-stop.c: Likewise.
14796 * gdb.mi/pthreads.c: Likewise.
14797 * gdb.multi/bkpt-multi-exec.ex: Likewise.
14798 * gdb.threads/pthreads.c: Likewise.
14799 * gdb.threads/staticthreads.exp: Likewise.
14800 * lib/future.exp: Likewise.
14801 * lib/gdb.exp: Likewise.
14802 * gdb.base/so-indr-cl.c: Remove.
14803 * gdb.base/so-indr-cl.exp: Likewise.
14804 * gdb.base/solib.c: Likewise.
14805 * gdb.base/solib.exp: Likewise.
14806 * gdb.base/solib2.c: Likewise.
14807
b6304613
SM
148082015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14809
14810 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
14811 * gdb.base/call-ar-st.exp: Likewise.
14812 * gdb.base/callfuncs.exp: Likewise.
14813 * gdb.base/condbreak.exp: Likewise.
14814 * gdb.base/constvars.exp: Likewise.
14815 * gdb.base/hbreak2.exp: Likewise.
14816 * gdb.base/langs.exp: Likewise.
14817 * gdb.base/list.exp: Likewise.
14818 * gdb.base/long_long.exp: Likewise.
14819 * gdb.base/ptype.exp: Likewise.
14820 * gdb.base/scope.exp: Likewise.
14821 * gdb.base/signals.exp: Likewise.
14822 * gdb.base/so-impl-ld.exp: Likewise.
14823 * gdb.base/varargs.exp: Likewise.
14824 * gdb.base/volatile.exp: Likewise.
14825 * gdb.base/whatis.exp: Likewise.
14826 * gdb.cp/cplusfuncs.exp: Likewise.
14827 * gdb.cp/inherit.exp: Likewise.
14828 * gdb.cp/local.exp: Likewise.
14829 * gdb.cp/member-ptr.exp: Likewise.
14830 * gdb.cp/method.exp: Likewise.
14831 * gdb.cp/overload.exp: Likewise.
14832 * gdb.cp/templates.exp: Likewise.
14833 * gdb.stabs/weird.exp: Likewise.
14834 * lib/compiler.c: Likewise.
14835 * lib/compiler.cc: Likewise.
14836 * lib/cp-support.exp: Likewise.
14837 * lib/gdb.exp: Likewise.
14838
bf401b07
SM
148392015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
14840
14841 * configure.ac: Remove HP-UX case.
14842 * configure: Regenerate.
14843
aff9c0f8
SM
148442015-12-18 Simon Marchi <simon.marchi@ericsson.com>
14845
14846 * lib/gdb.exp (gdb_compile): Add function doc.
14847
a6904d5a
PA
148482015-12-17 Pedro Alves <palves@redhat.com>
14849
14850 PR threads/19354
14851 * gdb.multi/info-threads.exp: New file.
14852
a22279dd
YQ
148532015-12-15 Yao Qi <yao.qi@linaro.org>
14854
14855 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
14856 is aarch64*-*-*.
14857
0588c796
SL
148582015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14859
14860 * gdb.base/history-duplicates.exp: Skip if no readline support.
14861
5d978e17
SL
148622015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14863
14864 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
14865
7e763b86
SL
148662015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14867
14868 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
14869
87a3a92c
SL
148702015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14871
14872 * gdb.base/completion.exp: Skip tests that interrupt GDB with
14873 ctrl-C if nointerrupts target property is set.
14874 * gdb.base/double-prompt-target-event-error.exp: Likewise.
14875 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
14876 * gdb.base/paginate-bg-execution.exp: Likewise.
14877 * gdb.base/paginate-execution-startup.exp: Likewise.
14878 * gdb.base/random-signal.exp: Likewise.
14879 * gdb.base/range-stepping.exp: Likewise.
14880 * gdb.cp/annota2.exp: Likewise.
14881 * gdb.cp/annota3.exp: Likewise.
14882 * gdb.gdb/selftest.exp: Likewise.
14883 * gdb.threads/continue-pending-status.exp: Likewise.
14884 * gdb.threads/leader-exit.exp: Likewise.
14885 * gdb.threads/manythreads.exp: Likewise.
14886 * gdb.threads/pthreads.exp: Likewise.
14887 * gdb.threads/schedlock.exp: Likewise.
14888 * gdb.threads/sigthread.exp: Likewise.
14889
a8f077dc
DB
148902015-12-11 Don Breazeal <donb@codesourcery.com>
14891
14892 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
14893 remote.
14894 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
14895 * gdb.base/foll-exec.exp (main): Enable for target remote.
14896 * gdb.base/foll-fork.exp (main): Likewise.
14897 * gdb.base/foll-vfork.exp (main): Likewise.
14898 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
14899 (proc continue_to_exit_bp_loc): Use clean_restart.
14900 * gdb.base/pie-execl.exp (main): Disable for target remote.
14901 * gdb.base/watch-vfork.exp (main): Enable for target remote.
14902 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
14903 * gdb.threads/execl.exp (main): Likewise.
14904 * gdb.threads/fork-child-threads.exp (main): Likewise.
14905 * gdb.threads/fork-plus-threads.exp (main): Disable for target
14906 remote.
14907 * gdb.threads/fork-thread-pending.exp (main): Enable for target
14908 remote.
14909 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
14910 pid.tid style ptids, instead of just tid.
14911 * gdb.threads/thread-execl.exp (main): Enable for target remote.
14912 * gdb.threads/watchpoint-fork.exp (main): Likewise.
14913 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
14914 ptids, instead of just tid.
14915
3b2464a8
AB
149162015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14917
14918 * gdb.base/list.exp (test_list_forward): Add end of file error
14919 test.
14920 (test_repeat_list_command): Add end of file error test.
14921 (test_list_backwards): Add beginning of file error test.
14922
a0def019
AB
149232015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14924
14925 * gdb.base/list.exp (test_list_invalid_args): New function,
14926 defined, and called.
14927
5c000dff
AB
149282015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14929
14930 * gdb.base/list.exp (test_list): Make test names unique.
14931
f1637ebe
YQ
149322015-12-11 Yao Qi <yao.qi@linaro.org>
14933
14934 * gdb.base/coremaker2.c: Remove.
14935
36d6fc0a
PA
149362015-12-10 Pedro Alves <palves@redhat.com>
14937
14938 * gdb.multi/base.exp: Remove stale "spaces" references.
14939
762f7747
PA
149402015-12-10 Pedro Alves <palves@redhat.com>
14941
14942 * gdb.multi/base.exp: Don't use nowarnings.
14943 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
14944 * gdb.multi/hangout.c: Include stdio.h.
14945 * gdb.multi/hello.c: Include stdlib.h.
14946 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
14947 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
14948 * gdb.multi/multi-arch.exp: Don't use nowarnings.
14949
28d2bfb9
AB
149502015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
14951
14952 * gdb.dwarf2/dw2-ranges-base.c: New file.
14953 * gdb.dwarf2/dw2-ranges-base.exp: New file.
14954 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
14955 support additional line table, and debug ranges generation.
14956 (Dwarf::ranges): New function, generate .debug_ranges.
14957 (Dwarf::lines): Support generating simple line table programs.
14958 (Dwarf::assemble): Initialise new namespace variables.
14959
5fc2beac
KB
149602015-12-09 Kevin Buettner <kevinb@redhat.com>
14961
14962 * gdb.base/async.exp (proc test_background): Add case for
14963 asynchronous execution not supported.
14964
1c35a88f
LM
149652015-12-09 Luis Machado <lgustavo@codesourcery.com>
14966
14967 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
14968 format and change test names to make them unique.
14969
b593e3d9
RK
149702015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
14971 Pedro Alves <pedro@redhat.com>
14972
14973 PR gdb/18702
14974 Add checking of floatformats setup on x86_64 hosts.
14975 * gdb.arch/i386-float.S (main): Load bigval and smallval.
14976 (smallval, bigval): New labels/constants.
14977 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
14978 float" after loading bigval and smallval.
14979
d72413e6
PMR
149802015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
14981
14982 * gdb.ada/fun_overload_menu.exp: New testcase.
14983 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
14984
ece66d65
JS
149852015-12-04 Josh Stone <jistone@redhat.com>
14986
14987 * gdb.base/catch-fork-static.exp: New.
14988
41d0efca
YQ
149892015-12-03 Yao Qi <yao.qi@linaro.org>
14990
14991 * gdb.base/sizeof.c: Don't include stdio.h and
14992 ../lib/unbuffer_output.c.
14993 (main): New variable 'size' and 'value'. Remove printf and
14994 gdb_unbuffer_output. Assign return value to size and value.
14995 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
14996 at the beginning.
14997 (check_sizeof): Check the result by printing variable 'size'.
14998 (check_valueof): Check the result by printing variable 'value'.
14999
99fd02d9
YQ
150002015-12-01 Yao Qi <yao.qi@linaro.org>
15001
15002 * gdb.base/disp-step-syscall.exp: Define syscall instruction
15003 for aarch64*-*-linux* target.
15004
f2faf941
PA
150052015-11-30 Pedro Alves <palves@redhat.com>
15006
15007 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
15008
04bf20c5
PA
150092015-11-30 Pedro Alves <palves@redhat.com>
15010
15011 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
15012 Handle non-stop mode vCont replies.
15013
09df4675
PA
150142015-11-30 Pedro Alves <palves@redhat.com>
15015
15016 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
15017 prepare_for_testing. Start gdb with "set non-stop on" appended to
15018 GDBFLAGS. Lax expected stop output.
15019
58b584af
YQ
150202015-11-27 Yao Qi <yao.qi@linaro.org>
15021
15022 * gdb.arch/arm-neon.exp: New.
15023 * gdb.arch/arm-neon.c: New.
15024
dfcb77a8
YQ
150252015-11-27 Yao Qi <yao.qi@linaro.org>
15026
15027 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
15028
88e8ec1b
YQ
150292015-11-27 Yao Qi <yao.qi@linaro.org>
15030
15031 * gdb.cp/annota2.exp: Allow multiple occurrences of the
15032 frames-invalid annotation.
15033
bfde72c2
YQ
150342015-11-27 Yao Qi <yao.qi@linaro.org>
15035
15036 * gdb.cp/annota2.exp: Use ${frames_invalid}.
15037
f6512a69
SM
150382015-11-26 Simon Marchi <simon.marchi@ericsson.com>
15039
15040 * gdb.threads/names.exp: New file.
15041 * gdb.threads/names.c: New file.
15042 * README: Mention gdb,no_thread_names.
15043
46a3515b
MM
150442015-11-26 Markus Metzger <markus.t.metzger@intel.com>
15045
15046 PR 19297
15047 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
15048 support" error.
15049
62147a22
PA
150502015-11-24 Pedro Alves <palves@redhat.com>
15051
15052 PR 17539
15053 * gdb.base/display.exp: Expect displays to be sorted in ascending
15054 order. Use multi_line.
15055 * gdb.base/solib-display.exp: Likewise.
15056
2f341b6e
PA
150572015-11-24 Pedro Alves <palves@redhat.com>
15058
15059 PR 17539
25d49b86
PA
15060 * gdb.base/display.exp: Expect displays to be sorted in ascending
15061 order. Use multi_line.
15062 * gdb.base/solib-display.exp: Likewise.
2f341b6e 15063
7e0aa6aa
PA
150642015-11-24 Pedro Alves <palves@redhat.com>
15065
15066 PR 17539
15067 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
15068 threads in ascending order.
15069 * gdb.base/foll-fork.exp: Likewise.
15070 * gdb.base/foll-vfork.exp: Likewise.
15071 * gdb.base/multi-forks.exp: Likewise.
15072 * gdb.mi/mi-nonstop.exp: Likewise.
15073 * gdb.mi/mi-nsintrall.exp: Likewise.
15074 * gdb.multi/base.exp: Likewise.
15075 * gdb.multi/multi-arch.exp: Likewise.
15076 * gdb.python/py-inferior.exp: Likewise.
15077 * gdb.threads/break-while-running.exp: Likewise.
15078 * gdb.threads/execl.exp: Likewise.
15079 * gdb.threads/gcore-thread.exp: Likewise.
15080 * gdb.threads/info-threads-cur-sal.exp: Likewise.
15081 * gdb.threads/kill.exp: Likewise.
15082 * gdb.threads/linux-dp.exp: Likewise.
15083 * gdb.threads/multiple-step-overs.exp: Likewise.
15084 * gdb.threads/next-bp-other-thread.exp: Likewise.
15085 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
15086 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
15087 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
15088 * gdb.threads/thread-find.exp: Likewise.
15089 * gdb.threads/tls.exp: Likewise.
15090 * lib/mi-support.exp (mi_reverse_list): Delete.
15091 (mi_check_thread_states): No longer reverse list.
15092
2cc57ad8
PA
150932015-11-24 Pedro Alves <palves@redhat.com>
15094
15095 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
15096 use lowercase.
15097
c93e8391
SM
150982015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15099
15100 * gdb.trace/actions.c: Include trace-common.h.
15101 (main): Add a location for a fast tracepoint.
15102 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
15103 the normal tracepoints.
15104 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
15105
045ccf91
SM
151062015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15107
15108 * save-trace.exp: Factor out code to these...
15109 (gdb_save_tracepoints): New.
15110 (gdb_load_tracepoints): New.
15111 (do_save_load_test): New.
15112
5506f9f6
KB
151132015-11-23 Kevin Buettner <kevinb@redhat.com>
15114
15115 * gdb.base/asmlabel.exp: New test.
15116 * gdb.base/asmlabel.c: New test case.
15117
16c3b12f
JB
151182015-11-23 Joel Brobecker <brobecker@adacore.com>
15119
15120 * gdb.base/wrong_frame_bt_full-main.c: New file.
15121 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
15122 * gdb.base/wrong_frame_bt_full.exp: New file.
15123
155bfbd3
JB
151242015-11-23 Joel Brobecker <brobecker@adacore.com>
15125
15126 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
15127
bb097445
JM
151282015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15129
206853a0 15130 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
15131 pstate register when comparing registers values in
15132 sparc64-*-linux-gnu targets to avoid spurious differences.
15133
9c88ed8f
JM
151342015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15135
206853a0 15136 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 15137
96161e25
SL
151382015-11-19 Sandra Loosemore <sandra@codesourcery.com>
15139
15140 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
15141 as type argument to gdb_compile.
15142 * gdb.base/nested-subp2.exp: Likewise.
15143 * gdb.base/nested-subp3.exp: Likewise.
15144
340c2830
DV
151452015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
15146
15147 * lib/dwarf.exp (_note): Fix left shift of negative value.
15148 * gdb.trace/trace-condition.exp: Likewise.
15149
c1862d0f
YQ
151502015-11-13 Yao Qi <yao.qi@linaro.org>
15151
15152 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
15153 comments about d10v.
15154 (test_scalar_returns): Likewise.
15155 * gdb.base/d10v.ld: Remove.
15156 * gdb.base/overlays.exp: Remove the target triplet checking for
15157 d10v-*-*.
15158 * gdb.base/structs.exp (test_struct_returns): Remove the
15159 comments about d10v.
15160 (test_struct_calls): Likewise.
15161
77ae9c19
YQ
151622015-11-13 Yao Qi <yao.qi@linaro.org>
15163
15164 * gdb.base/gnu_vector.exp: Check the return value by "p res".
15165 * gdb.base/gnu_vector.c: Don't include stdio.h.
15166 (main): Don't print res and call add_some_intvecs.
15167
430e004e
MK
151682015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
15169
15170 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
15171 macro.
15172 (func5): Removed.
15173 (func4): Use FAST_TRACEPOINT_LABEL.
15174 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
15175 macro.
15176 (func): Removed.
15177 (thread_function): Use FAST_TRACEPOINT_LABEL.
15178 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
15179 (func): Remove.
15180 (marker): Use FAST_TRACEPOINT_LABEL.
15181 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
15182 (pendfunc1): Remove.
15183 (pendfunc): Use FAST_TRACEPOINT_LABEL.
15184 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
15185 (foo): Remove.
15186 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
15187 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
15188 macro.
15189 (func): Remove.
15190 (marker): Use FAST_TRACEPOINT_LABEL.
15191 * gdb.trace/trace-common.h: New header.
15192 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
15193 macro.
15194 (func): Remove.
15195 (marker): Use FAST_TRACEPOINT_LABEL.
15196 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
15197 (func): Remove.
15198 (thread_function): Use FAST_TRACEPOINT_LABEL.
15199
6e7675a7
MK
152002015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
15201
15202 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
15203 in front.
15204 * gdb.trace/change-loc.exp: Use global pcreg definition.
15205 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
15206 * gdb.trace/entry-values.exp: Use global spreg definition, add $
15207 in front.
15208 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
15209 * gdb.trace/pending.exp: Likewise.
15210 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
15211 * gdb.trace/trace-break.exp: Likewise.
15212 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
15213 in front.
15214 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
15215 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
15216 in front.
15217 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
15218
dddc0e16
JB
152192015-11-09 Joel Brobecker <brobecker@adacore.com>
15220
15221 * gdb.ada/fin_fun_out: New testcase.
15222
c6f0b406
KB
152232015-11-07 Kevin Buettner <kevinb@redhat.com>
15224
15225 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
15226 value associated with DW_AT_byte_size.
15227 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
15228 constants for DW_AT_byte_size, DW_AT_lower_bound, and
15229 DW_AT_upper_bound.
15230
f01dcfd9
KB
152312015-11-07 Kevin Buettner <kevinb@redhat.com>
15232
15233 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
15234 (gdb_target_symbol_prefix_flags): Define in terms of _asm
15235 version.
15236 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
15237 gdb.dwarf2/dw2-canonicalize-type.exp,
15238 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
15239 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
15240 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
15241 provided by gdb_target_symbol_prefix_flags_asm.
15242 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
15243 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
15244 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
15245 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
15246 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
15247 macros where needed). Use this macro for symbols which require
15248 the prefix provided by SYMBOL_PREFIX.
15249
2223449a
KB
152502015-11-05 Kevin Buettner <kevinb@redhat.com>
15251
15252 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
15253 New procs.
15254 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
15255 representing expressions, of more than one list element.
15256 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
15257 to prepend linker symbol prefix to f.
15258 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
15259 table_1 and table_2.
15260 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
15261 Likewise, for f and g.
15262 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
15263 for ptr.
15264 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
15265 for main.
15266 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
15267 table_1_ptr and table_2_ptr.
15268
6f2f1a3a
JK
152692015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15270 Joel Brobecker <brobecker@adacore.com>
15271
15272 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
15273
566c56c9
MK
152742015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
15275
15276 * gdb.reverse/s390-mvcle.c: New test.
15277 * gdb.reverse/s390-mvcle.exp: New file.
15278 * lib/gdb.exp: Enable reverse tests on s390*-linux.
15279
d5f0636b
MK
152802015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15281
15282 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
15283
7ad8b86c
MK
152842015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15285
15286 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
15287 reaching marker2.
15288 * gdb.reverse/getresuid-reverse.exp: Likewise.
15289 * gdb.reverse/pipe-reverse.exp: Likewise.
15290 * gdb.reverse/readv-reverse.exp: Likewise.
15291 * gdb.reverse/recvmsg-reverse.exp: Likewise.
15292 * gdb.reverse/time-reverse.exp: Likewise.
15293 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
15294
4081c0f1
YQ
152952015-10-30 Yao Qi <yao.qi@linaro.org>
15296
15297 * gdb.threads/wp-replication.c (watch_count_done): Remove.
15298 (empty_cycle): Remove.
15299 (main): Don't call empty_cycle. Don't use watch_count_done.
15300 * gdb.threads/wp-replication.exp: Don't set breakpoint on
15301 empty_cycle. Rewrite the code counting HW watchpoints.
15302
452b4ba5
MK
153032015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
15304
15305 * gdb.reverse/fstatat-reverse.c: New test.
15306 * gdb.reverse/fstatat-reverse.exp: New file.
15307 * gdb.reverse/getresuid-reverse.c: New test.
15308 * gdb.reverse/getresuid-reverse.exp: New file.
15309 * gdb.reverse/pipe-reverse.c: New test.
15310 * gdb.reverse/pipe-reverse.exp: New file.
15311 * gdb.reverse/readv-reverse.c: New test.
15312 * gdb.reverse/readv-reverse.exp: New file.
15313 * gdb.reverse/recvmsg-reverse.c: New test.
15314 * gdb.reverse/recvmsg-reverse.exp: New file.
15315 * gdb.reverse/time-reverse.c: New test.
15316 * gdb.reverse/time-reverse.exp: New file.
15317 * gdb.reverse/waitpid-reverse.c: New test.
15318 * gdb.reverse/waitpid-reverse.exp: New file.
15319
5e2e7507
JK
153202015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15321
15322 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
15323
0fde2c53
DE
153242015-10-26 Doug Evans <dje@google.com>
15325
15326 PR symtab/17391
15327 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
15328 * gdb.dwarf2/bad-regnum.c: New file.
15329 * gdb.dwarf2/bad-regnum.exp: New file.
15330
1a70ae97
DE
153312015-10-26 Doug Evans <dje@google.com>
15332
15333 PR python/18938
15334 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
15335 file.
15336
27dc26ab
JK
153372015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15338
15339 * gdb.compile/compile.exp (compile code globalvar): Update expectation
15340 for a change by "Mention language in compile error message".
15341
bed91f4d
SM
153422015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
15343
15344 PR python/18073
15345 * gdb.python/py-type.c (C::a_method): New.
15346 (C::a_const_method): New.
15347 (C::a_static_method): New.
15348 (a_function): New.
15349 * gdb.python/py-type.exp (test_fields): Test getting fields
15350 from function and method.
15351
3f2f83dd
KB
153522015-10-21 Keven Boell <keven.boell@intel.com>
15353
15354 * gdb.fortran/vla-alloc-assoc.exp: New file.
15355 * gdb.fortran/vla-datatypes.exp: New file.
15356 * gdb.fortran/vla-datatypes.f90: New file.
15357 * gdb.fortran/vla-history.exp: New file.
15358 * gdb.fortran/vla-ptype-sub.exp: New file.
15359 * gdb.fortran/vla-ptype.exp: New file.
15360 * gdb.fortran/vla-sizeof.exp: New file.
15361 * gdb.fortran/vla-sub.f90: New file.
15362 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
15363 * gdb.fortran/vla-value-sub-finish.exp: New file.
15364 * gdb.fortran/vla-value-sub.exp: New file.
15365 * gdb.fortran/vla-value.exp: New file.
15366 * gdb.fortran/vla-ptr-info.exp: New file.
15367 * gdb.mi/mi-vla-fortran.exp: New file.
15368 * gdb.mi/vla.f90: New file.
15369
27145d50
SL
153702015-10-21 Sandra Loosemore <sandra@codesourcery.com>
15371
15372 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
15373 of hardwired timeout value.
15374
5f3ff4f8
JK
153752015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15376 Pedro Alves <palves@redhat.com>
15377
15378 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
15379 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
15380
bfd09d20
JS
153812015-10-19 Josh Stone <jistone@redhat.com>
15382
15383 * gdb.base/catch-syscall.c: Include <sched.h>.
15384 (unknown_syscall): New variable.
15385 (main): Trigger a vfork and an unknown syscall.
15386 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
15387 (unknown_syscall_number): Likewise.
15388 (check_call_to_syscall): Accept an optional syscall pattern.
15389 (check_return_from_syscall): Likewise.
15390 (check_continue): Likewise.
15391 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
15392 (test_catch_syscall_skipping_return): New test toggling off 'catch
15393 syscall' to step over the syscall return, then toggling back on.
15394 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
15395 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
15396 (do_syscall_tests): Call test_catch_syscall_without_args and
15397 test_catch_syscall_mid_vfork.
15398 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
15399 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
15400
b32b93c6
AS
154012015-10-19 Andrew Stubbs <ams@codesourcery.com>
15402
15403 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
15404 print g_vE): Add new pass patterns.
15405 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
15406 print various symbol names for vptr fields.
15407
9d622bda
AB
154082015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
15409
15410 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
15411 results.
15412
0fd8ac1c
YQ
154132015-10-12 Yao Qi <yao.qi@linaro.org>
15414
15415 * gdb.arch/disp-step-insn-reloc.exp: New test case.
15416
34240514
YQ
154172015-10-12 Yao Qi <yao.qi@linaro.org>
15418
15419 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
15420 is aarch64*-*-linux*.
15421
8240f442
YQ
154222015-10-12 Yao Qi <yao.qi@linaro.org>
15423
15424 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
15425 (can_relocate_bcond_true): ... it.
15426 (can_relocate_bcond_false): New function.
15427 (foo): Likewise.
15428 (can_relocate_bl): Likewise.
15429 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
15430 can_relocate_bl.
15431
2520f728
PMR
154322015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
15433
15434 * gdb.base/nested-addr.c: New file.
15435 * gdb.base/nested-addr.exp: New testcase.
15436
abcef95a
MM
154372015-10-09 Markus Metzger <markus.t.metzger@intel.com>
15438
15439 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
15440 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
15441 its output. Ignore the output of "record goto begin" and instead
15442 check that GDB is replaying.
15443
145e3ddb
PA
154442015-10-09 Pedro Alves <palves@redhat.com>
15445
15446 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
15447 (top level): Use it in the run with no args test.
15448
d5d8c4e1
IB
154492015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
15450
15451 * gdb.dlang/properties.exp: New file.
15452
06e635ef
SL
154532015-10-02 Sandra Loosemore <sandra@codesourcery.com>
15454
15455 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
15456 whether or not address 0x1000 is mapped on the target.
15457
e019fd1d
SM
154582015-09-30 Simon Marchi <simon.marchi@ericsson.com>
15459
15460 * gdb.python/py-type.exp: Do not run tests if binaries fail to
15461 build.
15462
77ba2a67
MM
154632015-09-30 Markus Metzger <markus.t.metzger@intel.com>
15464
15465 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
15466 instruction-history test.
15467
c60eb31f
DE
154682015-09-28 Doug Evans <dje@google.com>
15469
15470 * gdb.base/gcore.c (array_func): Add reference to static_array.
15471
9a3c8263
SM
154722015-09-25 Simon Marchi <simon.marchi@ericsson.com>
15473
15474 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
15475 source line.
15476
9720e656
SL
154772015-09-24 Sandra Loosemore <sandra@codesourcery.com>
15478
15479 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
15480 short or char as base type.
15481
938d3bf2
SL
154822015-09-23 Sandra Loosemore <sandra@codesourcery.com>
15483
15484 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
15485 to allow any size enum.
15486
e6c2c623
PMR
154872015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
15488
15489 * gdb.ada/array_ptr_renaming.exp: New testcase.
15490 * gdb.ada/array_ptr_renaming/foo.adb: New file.
15491 * gdb.ada/array_ptr_renaming/pack.ads: New file.
15492
06da0f77
PL
154932015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15494
15495 * gdb.trace/ftrace-lock.c: New file.
15496 * gdb.trace/ftrace-lock.exp: New file.
15497
4f51c22a
PL
154982015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15499
15500 * gdb.arch/insn-reloc.c: New file.
15501 * gdb.arch/ftrace-insn-reloc.exp: New file.
15502
7041adf4
PL
155032015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15504
15505 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
15506 instruction.
15507 * gdb.trace/pendshr1.c (pendfunc): Likewise.
15508 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
15509 * gdb.trace/range-stepping.c: Likewise.
15510 * gdb.trace/trace-break.c: Likewise.
15511 * gdb.trace/trace-mt.c (thread_function): Likewise.
15512 * gdb.trace/ftrace.c (marker): Likewise.
15513 * gdb.trace/trace-condition.c (marker): Likewise.
15514 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
15515 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
15516 is_aarch64_target.
15517
015d2e7e
DE
155182015-09-18 Doug Evans <xdje42@gmail.com>
15519
15520 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
15521 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
15522
26b188a2
SL
155232015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15524
15525 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
15526 the breakpoint.
15527
79dc332b
SL
155282015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15529
15530 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
15531 the pending breakpoint. Remove timeout override for "Run till
15532 MI pending breakpoint on pendfunc3 on thread 2" test.
15533
f57929f2
SL
155342015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15535
15536 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
15537 filename pattern.
15538
3f469b17
SL
155392015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15540
15541 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
15542 in breakpoint filename pattern.
15543
515b89b3
SL
155442015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15545
7800dbe4
SL
15546 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
15547
155482015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15549
515b89b3
SL
15550 * gdb.linespec/explicit.exp: Check for readline support for
15551 tab-completion tests. Fix obvious typo.
15552
d2939ba2
MM
155532015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15554
15555 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
15556 and replay.
15557
cbb55fa7
MM
155582015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15559
15560 * gdb.btrace/non-stop.c: New.
15561 * gdb.btrace/non-stop.exp: New.
15562
43691ca1
PL
155632015-09-17 Pierre Langlois <pierre.langlois@arm.com>
15564 Yao Qi <yao.qi@linaro.org>
15565
15566 * gdb.trace/trace-condition.c: New file.
15567 * gdb.trace/trace-condition.exp: New file.
15568
d78908cf
WW
155692015-09-16 Wei-cheng Wang <cole945@gmail.com>
15570
15571 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
15572 for testing bytecode compilation.
15573
1ed415e2
PA
155742015-09-16 Pedro Alves <palves@redhat.com>
15575 Sandra Loosemore <sandra@codesourcery.com>
15576
15577 * gdb.threads/non-stop-fair-events.c (timeout): New global.
15578 (SECONDS): Redefine.
15579 (main): Call pthread_kill and alarm early.
15580 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
15581 support.
15582 (test): If the target can't hardware step and doesn't support
15583 displaced stepping, increase the timeout.
15584
d136eff5
PA
155852015-09-16 Pedro Alves <palves@redhat.com>
15586
15587 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
15588 (enable_debug): New procedures.
15589 (test): Use them. Bail out if waiting for threads fails.
15590 (top level): Bail out if a test fails.
15591
991f019c
YQ
155922015-09-16 Yao Qi <yao.qi@linaro.org>
15593
15594 * gdb.asm/asm-source.exp: Set asm-arch for
15595 aarch64*-*-* target.
15596 * gdb.asm/aarch64.inc: New file.
15597
bfca584f
PMR
155982015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
15599
15600 * gdb.ada/array_of_variable_length.exp: New testcase.
15601 * gdb.ada/array_of_variable_length/foo.adb: New file.
15602 * gdb.ada/array_of_variable_length/pck.adb: New file.
15603 * gdb.ada/array_of_variable_length/pck.ads: New file.
15604
b326e587
DE
156052015-09-15 Doug Evans <dje@google.com>
15606
15607 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
15608 of function static local variable.
15609
5382cfab
PW
156102015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15611
15612 * gdb.threads/tls-so_extern.exp: New test file.
15613 * gdb.threads/tls-so_extern.c: New test file.
15614 * gdb.threads/tls-so_extern_main.c: New test file.
15615
141c5cc4
JK
156162015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15617
15618 * gdb.opt/solib-intra-step-lib.c: New file.
15619 * gdb.opt/solib-intra-step-main.c: New file.
15620 * gdb.opt/solib-intra-step.exp: New file.
15621
d15dcecd
PA
156222015-09-15 Pedro Alves <palves@redhat.com>
15623
15624 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
15625 gdb_continue_to_breakpoint instead of gdb_test_multiple.
15626
4c2f2a79
PA
156272015-09-14 Pedro Alves <palves@redhat.com>
15628
15629 * gdb.base/hook-stop-continue.c: Delete.
15630 * gdb.base/hook-stop-continue.exp: Delete.
15631 * gdb.base/hook-stop-frame.c: Delete.
15632 * gdb.base/hook-stop-frame.exp: Delete.
15633 * gdb.base/hook-stop.c: New file.
15634 * gdb.base/hook-stop.exp: New file.
15635
919e6dbe
PMR
156362015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
15637
15638 * gdb.ada/access_to_packed_array.exp: New testcase.
15639 * gdb.ada/access_to_packed_array/foo.adb: New file.
15640 * gdb.ada/access_to_packed_array/pack.adb: New file.
15641 * gdb.ada/access_to_packed_array/pack.ads: New file.
15642
157280a4
MM
156432015-09-14 Markus Metzger <markus.t.metzger@intel.com>
15644
15645 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
15646 buffer size test.
15647
2fd33e94
DB
156482015-09-11 Don Breazeal <donb@codesourcery.com>
15649
15650 * gdb.base/foll-exec.c: Add copyright header. Fix
15651 formatting issues.
15652 * gdb.base/foll-exec.exp (zap_session): Delete proc.
15653 (do_exec_tests): Use clean_restart in place of zap_session,
15654 and for test initialization. Fix formatting issues. Use
15655 fail in place of perror.
15656 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
15657 an expect statement to match an expression with output from
15658 the program under debug.
15659 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
15660 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
15661 * gdb.threads/non-ldr-exc-2.exp: Likewise.
15662 * gdb.threads/non-ldr-exc-3.exp: Likewise.
15663 * gdb.threads/non-ldr-exc-4.exp: Likewise.
15664
e70b6e8e
DE
156652015-09-09 Doug Evans <dje@google.com>
15666
15667 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
15668
7a551a51
DE
156692015-09-09 Doug Evans <dje@google.com>
15670
15671 * gdb.base/pie-execl.exp: Fix result test of build_executable.
15672
4c666f84
DE
156732015-09-09 Doug Evans <dje@google.com>
15674
15675 * gdb.base/savedregs.exp: Fix typo.
15676
243a9253
PA
156772015-09-09 Pedro Alves <palves@redhat.com>
15678
15679 * gdb.mi/mi-cli.exp: Add CLI finish tests.
15680
c0fa8fbd
SL
156812015-09-08 Sandra Loosemore <sandra@codesourcery.com>
15682
15683 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
15684 command actually switches threads. Give up on remaining
15685 tests if target fails to stop at breakpoint.
15686
cd7c1778
PMR
156872015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
15688
15689 * gdb.ada/funcall_char.exp: New testcase.
15690 * gdb.ada/funcall_char/foo.adb: New file.
15691
dc5c8746
PMR
156922015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
15693
15694 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
15695 expected outputs. Add two testcases for completing ambiguous
15696 functions.
15697 * gdb.ada/complete/aux_pck.adb: New file.
15698 * gdb.ada/complete/aux_pck.ads: New file.
15699 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
15700 Ambiguous_Func functions.
15701 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
15702 * gdb.ada/complete/pck.adb: Likewise.
15703
4e83a1e7
UW
157042015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
15705
15706 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
15707 failures to run the test program under GDB.
15708
8ce74153
LM
157092015-08-26 Luis Machado <lgustavo@codesourcery.com>
15710
15711 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
15712 to C.
15713
e9756d52
PP
157142015-08-26 Patrick Palka <patrick@parcs.ath.cx>
15715
15716 * gdb.base/run-after-attach.exp: New test file.
15717 * gdb.base/run-after-attach.c: New test file.
15718
8d37573b
DB
157192015-08-26 Don Breazeal <donb@codesourcery.com>
15720
15721 * gdb.base/foll-exec-2.c: New test program.
15722 * gdb.base/foll-exec-2.exp: New test.
15723
63e43d3a
PMR
157242015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
15725
15726 * gdb.base/nested-subp1.exp: New file.
15727 * gdb.base/nested-subp1.c: New file.
15728 * gdb.base/nested-subp2.exp: New file.
15729 * gdb.base/nested-subp2.c: New file.
15730 * gdb.base/nested-subp3.exp: New file.
15731 * gdb.base/nested-subp3.c: New file.
15732
3d40fbb5
PA
157332015-08-24 Pedro Alves <palves@redhat.com>
15734
15735 * gdb.server/connect-without-multi-process.c: New file.
15736 * gdb.server/connect-without-multi-process.exp: New file.
15737
4422ac93
LM
157382015-08-24 Luis Machado <lgustavo@codesourcery.com>
15739
15740 * gdb.opt/inline-markers.c: Make z int.
15741
91dddb86
LM
157422015-08-24 Luis Machado <lgustavo@codesourcery.com>
15743
15744 * gdb.opt/inline-markers.c: Make z volatile.
15745
a48847ee
LM
157462015-08-24 Luis Machado <lgustavo@codesourcery.com>
15747
15748 * gdb.opt/inline-bt.c: New volatile global z.
15749 * gdb.opt/inline-cmds.c: Likewise.
15750 * gdb.opt/inline-locals.c: Likewise.
15751 * gdb.opt/inline-markers.c: New extern global z.
15752 (marker): Use z.
15753 (inline_fn): Likewise.
15754
0ebbc52b
PA
157552015-08-24 Pedro Alves <palves@redhat.com>
15756
15757 * config/m32r-stub.exp: Remove file.
15758 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
15759 * gdb.base/call-rt-st.exp: Likewise.
15760 * gdb.base/call-strs.exp: Likewise.
15761 * gdb.base/default.exp: Remove references to h8300-*-hms and
15762 *-*-udi*.
15763 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
15764
77c365df
AA
157652015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15766
15767 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
15768 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
15769 and "return" use KFAIL when GDB can not read/write the vector
15770 return value.
15771
4313b8c0
GB
157722015-08-21 Gary Benson <gbenson@redhat.com>
15773
15774 * gdb.trace/pending.exp: Cope with remote transfer warnings.
15775
0e433b32
PA
157762015-08-20 Pedro Alves <palves@redhat.com>
15777
15778 * gdb.server/solib-list.exp: No longer expect an interior stop in
15779 non-stop mode.
15780
221e1a37
PA
157812015-08-20 Pedro Alves <palves@redhat.com>
15782
15783 * gdb.server/connect-stopped-target.c: New file.
15784 * gdb.server/connect-stopped-target.exp: New file.
15785
40e3ad0e
PA
157862015-08-20 Pedro Alves <palves@redhat.com>
15787
15788 * gdb.dwarf2/comp-unit-lang.exp: New file.
15789 * gdb.dwarf2/comp-unit-lang.c: New file.
15790
af39b327
PMR
157912015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
15792
15793 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
15794 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
15795
7d45c7c3 157962015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 15797
7d45c7c3
KB
15798 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
15799 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
15800
4d6cceb4
DE
158012015-08-18 Doug Evans <dje@google.com>
15802 Adrian Sendroiu <adrian.sendroiu@freescale.com>
15803
15804 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
15805 skip_python_tests. New arg prompt_regexp.
15806 (skip_python_tests): New function.
15807 * lib/mi-support.exp (mi_skip_python_tests): New function.
15808 * gdb.python/py-mi-objfile-gdb.py: New file.
15809 * gdb.python/py-mi-objfile.c: New file.
15810 * gdb.python/py-mi-objfile.exp: New file.
15811
ad89c2aa
KS
158122015-08-17 Keith Seitz <keiths@redhat.com>
15813
15814 * gdb.linespec/explicit.exp: Move strace test from here ...
15815 * gdb.trace/strace.exp: ... to here.
15816
e3ae3c43
PP
158172015-08-15 Patrick Palka <patrick@parcs.ath.cx>
15818
15819 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
15820 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
15821
604b2636
DE
158222015-08-14 Doug Evans <xdje42@gmail.com>
15823
15824 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
15825 inferior before selecting a new file.
15826
6ff0ba5f
DE
158272015-08-14 Doug Evans <xdje42@gmail.com>
15828
15829 * gdb.mi/mi-disassemble.exp: Update.
15830 * gdb.base/disasm-optim.S: New file.
15831 * gdb.base/disasm-optim.c: New file.
15832 * gdb.base/disasm-optim.h: New file.
15833 * gdb.base/disasm-optim.exp: New file.
15834
9ca98f92
KS
158352015-08-14 Keith Seitz <keiths@redhat.com>
15836
15837 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
15838 "evaluated-by".
15839
52bbc560
JB
158402015-08-13 Joel Brobecker <brobecker@adacore.com>
15841
15842 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
15843
5d8c3ed3
PMR
158442015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
15845
15846 * gdb.ada/fun_renaming.exp: New testcase.
15847 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
15848 * gdb.ada/fun_renaming/pack.adb: New file.
15849 * gdb.ada/fun_renaming/pack.ads: New file.
15850
ea8812bc
KS
158512015-08-12 Keith Seitz <keiths@redhat.com>
15852
15853 * gdb.base/dso2dso.exp: Pass basename of source file in call to
15854 gdb_get_line_number.
15855
4dafcdeb
JB
158562015-08-12 Joel Brobecker <brobecker@adacore.com>
15857
15858 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
15859 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
15860 gdb.base/dso2dso.exp: New files.
15861
5ba32597
SDJ
158622015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
15863 Pedro Alves <palves@redhat.com>
15864 Keith Seitz <keiths@redhat.com>
15865
15866 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
15867 GDBFLAGS.
15868
b6dafabf
PP
158692015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15870
15871 * gdb.base/gdbhistsize-history.exp
15872 (test_histsize_history_setting): Use save_vars.
15873 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15874 Use save_vars.
15875 (test_no_truncation_of_unlimited_history_file): Use save_vars.
15876 * gdb.base/readline.exp: Use save_vars.
15877
abe8e607
PP
158782015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15879
15880 * lib/gdb.exp (save_vars): New proc.
15881
629500fa
KS
158822015-08-11 Keith Seitz <keiths@redhat.com>
15883
15884 * gdb.base/help.exp: Update help_breakpoint_text.
15885
eb8c4e2e
KS
158862015-08-11 Keith Seitz <keiths@redhat.com>
15887
15888 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
15889 (at toplevel): Call test_explicit_breakpoints.
15890 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
15891 breakpoints.
15892 * lib/mi-support.exp (mi_make_breakpoint): Add support for
15893 breakpoint conditions, "-cond".
15894
87f0e720
KS
158952015-08-11 Keith Seitz <keiths@redhat.com>
15896
15897 * gdb.linespec/3explicit.c: New file.
15898 * gdb.linespec/cpexplicit.cc: New file.
15899 * gdb.linespec/cpexplicit.exp: New file.
15900 * gdb.linespec/explicit.c: New file.
15901 * gdb.linespec/explicit.exp: New file.
15902 * gdb.linespec/explicit2.c: New file.
15903 * gdb.linespec/ls-errs.exp: Add explicit location tests.
15904 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
15905 before using in the matching pattern.
15906 Clarify that `prefix' is a regular expression.
15907
f00aae0f
KS
159082015-08-11 Keith Seitz <keiths@redhat.com>
15909
15910 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
15911 test.
15912 Add tests for missing ",FMT" and ",".
15913
e27852be
DE
159142015-08-10 Doug Evans <dje@google.com>
15915 Keith Seitz <keiths@redhat.com>
15916
15917 PR gdb/17960
15918 * gdb.base/completion.exp: Add location completer tests.
15919
7f03bd92
PA
159202015-08-07 Pedro Alves <palves@redhat.com>
15921
15922 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
15923 tests here.
15924 (top level): Run do_test with and without displaced stepping.
15925
3fc8eb30
PA
159262015-08-07 Pedro Alves <palves@redhat.com>
15927
15928 * gdb.base/valgrind-disp-step.c: New file.
15929 * gdb.base/valgrind-disp-step.exp: New file.
15930
d4569d7b
PA
159312015-08-07 Pedro Alves <palves@redhat.com>
15932
15933 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
15934 Delete function.
15935 (main): Add alarm. Run an infinite loop instead of calling
15936 wait_threads.
15937 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
15938 comment.
15939 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
15940 Delete function.
15941 (main): Add alarm. Run an infinite loop instead of calling
15942 wait_threads.
15943 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
15944 comment.
15945
e1316e60
PA
159462015-08-07 Pedro Alves <palves@redhat.com>
15947
15948 * gdb.base/checkpoint-ns.exp: New file.
15949 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
15950 standard_testfile.
15951
da8c46d2
MM
159522015-08-07 Markus Metzger <markus.t.metzger@intel.com>
15953
15954 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
15955 * gdb.btrace/instruction_history.exp: Update.
15956 * gdb.btrace/tsx.exp: New.
15957 * gdb.btrace/tsx.c: New.
15958
de1c2c52
PA
159592015-08-06 Pedro Alves <palves@redhat.com>
15960
15961 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
15962 increase timeout.
15963 * gdb.reverse/until-precsave.exp: Bump timeouts.
15964
782e0bf4
PA
159652015-08-06 Pedro Alves <palves@redhat.com>
15966
15967 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
15968
83e97ed0
PA
159692015-08-06 Pedro Alves <palves@redhat.com>
15970
15971 PR gdb/18749
15972 * gdb.threads/process-dies-while-handling-bp.c: New file.
15973 * gdb.threads/process-dies-while-handling-bp.exp: New file.
15974
863d01bd
PA
159752015-08-06 Pedro Alves <palves@redhat.com>
15976
15977 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
15978 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
15979
0a39bb32
PA
159802015-08-05 Pedro Alves <palves@redhat.com>
15981
15982 * gdb.threads/next-while-other-thread-longjmps.c: New file.
15983 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
15984
ee2d2b10
SL
159852015-08-03 Sandra Loosemore <sandra@codesourcery.com>
15986
15987 * gdb.base/bp-permanent.exp: Report test as unsupported if
15988 the target cannot stop at the permanent breakpoint.
15989
4e1bdb00
DE
159902015-08-03 Doug Evans <dje@google.com>
15991
15992 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
15993 10000.
15994
3d338901
DE
159952015-08-03 Doug Evans <dje@google.com>
15996
15997 * Makefile.in (workers/%.worker, build-perf): New rule.
15998 (GDB_PERFTEST_MODE): New variable.
15999 (check-perf): Use it.
16000 (clean): Clean up gdb.perf parallel build subdirs.
16001 * lib/build-piece.exp: New file.
16002 * lib/gdb.exp (make_gdb_parallel_path): New function
16003 (standard_output_file, standard_temp_file): Call it.
16004 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16005 of $GDB_PARALLEL.
16006 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
16007
af061d3e
DE
160082015-08-03 Doug Evans <dje@google.com>
16009
8e1afc81 16010 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
16011 (LOG_FILE_NAME): New global.
16012 (TextReporter.__init__): Initialize self.txt_sum.
16013 (TextReporter.report): Add support for multiple data-points.
16014 Move report to perftest.sum, put raw data in perftest.log.
16015 (TextReporter.start): Open sum and log files.
16016 (TextReporter.end): Close sum and log files.
8e1afc81
DE
16017 * gdb.perf/lib/perftest/testresult.py
16018 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 16019
2c8c5d37
PA
160202015-07-31 Pedro Alves <palves@redhat.com>
16021
16022 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
16023 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16024 kill_wait_spawned_process instead of explicit "kill -9".
16025 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
16026 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16027 kill_wait_spawned_process.
16028 * gdb.base/attach-twice.exp: Likewise.
16029 * gdb.base/attach.exp: Likewise.
16030 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
16031 gdb_test_multiple.
16032 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
16033 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16034 kill_wait_spawned_process.
16035 * gdb.base/valgrind-infcall.exp: Likewise.
16036 * gdb.multi/multi-attach.exp: Likewise.
16037 * gdb.python/py-prompt.exp: Likewise.
16038 * gdb.python/py-sync-interp.exp: Likewise.
16039 * gdb.server/ext-attach.exp: Likewise.
16040 * gdb.threads/attach-into-signal.exp (corefunc): Use
16041 spawn_wait_for_attach, spawn_id_get_pid and
16042 kill_wait_spawned_process.
16043 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
16044 spawn_wait_for_attach returning a spawn id instead of a pid. Use
16045 spawn_id_get_pid and kill_wait_spawned_process.
16046 * gdb.threads/attach-stopped.exp (corefunc): Use
16047 spawn_wait_for_attach, spawn_id_get_pid and
16048 kill_wait_spawned_process.
16049 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
16050 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16051 kill_wait_spawned_process instead of explicit "kill -9".
16052 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
16053 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
16054 (spawn_wait_for_attach): Use spawn instead of exec to spawn
16055 processes. Don't map cygwin/windows pids here. Now returns a
16056 spawn id list.
16057
032a0fca
SL
160582015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16059
16060 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
16061 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
16062 correct patch.
16063
61a934ca
SL
160642015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16065
16066 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
16067
4bc4d428
SL
160682015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16069
16070 Reapply:
16071 2014-05-21 Mark Wielaard <mjw@redhat.com>
16072
16073 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16074
998d452a
PA
160752015-07-30 Pedro Alves <palves@redhat.com>
16076
16077 * linux-low.c (handle_extended_wait): Set the child's last
16078 reported status to TARGET_WAITKIND_STOPPED.
16079
69dde7dc
PA
160802015-07-30 Pedro Alves <palves@redhat.com>
16081
16082 PR threads/18600
16083 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
16084 only shows inferior 1.
16085
4dd63d48
PA
160862015-07-30 Simon Marchi <simon.marchi@ericsson.com>
16087 Pedro Alves <palves@redhat.com>
16088
16089 PR threads/18600
16090 * gdb.threads/fork-plus-threads.c: New file.
16091 * gdb.threads/fork-plus-threads.exp: New file.
16092
d618e4c5
PP
160932015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16094
16095 * gdb.base/batch-preserve-term-settings.exp
16096 (test_terminal_settings_preserved_after_cli_exit): Use
16097 send_quit_command.
16098
1eef6428
PA
160992015-07-29 Pedro Alves <palves@redhat.com>
16100 Don Breazeal <donb@codesourcery.com>
16101
16102 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
16103 output from both inferior_spawn_id and gdb_spawn_id.
16104
7da5b897
SDJ
161052015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16106
16107 * gdb.threads/attach-into-signal.exp (corefunc): Use
16108 with_test_prefix on nested loops, uniquefying the test messages.
16109
dac804df
SDJ
161102015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16111
16112 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
16113 commit.
16114
06265e53
PP
161152015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16116
16117 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
16118 New proc.
16119 (test_terminal_settings_preserved_after_sigterm): New test.
16120
18206ca3
PP
161212015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16122
16123 * gdb.base/batch-preserve-term-settings.exp
16124 (test_terminal_settings_preserved_after_cli_exit): New test.
16125
90074d11
PP
161262015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16127
16128 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
16129 manipulation of saved_gdbflags.
16130 (test_terminal_settings_preserved): Remove global declaration of
16131 the unused variable pagination_prompt. Remove manipulation of
16132 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
16133 GDBFLAGS.
16134
eb1a7902
PA
161352015-07-29 Pedro Alves <palves@redhat.com>
16136
16137 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
16138
8b75dd3b
PA
161392015-07-29 Pedro Alves <palves@redhat.com>
16140
16141 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
16142 at the top.
16143
dedad4e3
PA
161442015-07-29 Pedro Alves <palves@redhat.com>
16145
16146 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
16147 (main): Call gdb_unbuffer_output.
16148 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
16149 (main): Call gdb_unbuffer_output.
16150 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
16151 (main): Call gdb_unbuffer_output.
16152 * gdb.base/call-strs.exp: Adjust to step over the
16153 gdb_unbuffer_output call.
16154 * gdb.base/catch-gdb-caused-signals.c: Include
16155 "../lib/unbuffer_output.c".
16156 (main): Call gdb_unbuffer_output.
16157 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
16158 (main): Call gdb_unbuffer_output.
16159 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
16160 (main): Call gdb_unbuffer_output.
16161 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
16162 (main): Call gdb_unbuffer_output.
16163 * gdb.base/shlib-call.exp: Adjust to step over the
16164 gdb_unbuffer_output call.
16165 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
16166 (main): Call gdb_unbuffer_output.
16167 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
16168 (main): Call gdb_unbuffer_output.
16169 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
16170 (main): Rename to ...
16171 (test): ... this.
16172 (main): Reimplement.
16173 * gdb.base/varargs.exp: Run to test instead of to main.
16174 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16175 (main): Call gdb_unbuffer_output.
16176
58789a91
PA
161772015-07-29 Pedro Alves <palves@redhat.com>
16178
16179 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
16180 factore out from mi_continue_dprintf. For call-style dprintfs,
16181 expect dprintf output out of $inferior_spawn_id.
16182 (mi_continue_dprintf): Use mi_expect_dprintf.
16183 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16184 (main): Call gdb_unbuffer_output.
16185
e8376742
PA
161862015-07-29 Pedro Alves <palves@redhat.com>
16187
16188 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
16189 (default_mi_gdb_start): Set inferior_spawn_id instead of
16190 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
16191 gdb_spawn_id.
16192 (mi_gdb_test): Always expect inferior output from both
16193 $inferior_spawn_id and $gdb_spawn_id.
16194
08280010
PA
161952015-07-29 Pedro Alves <palves@redhat.com>
16196
16197 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
16198 send_inferior and $inferior_spawn_id.
16199
4d30e432
PA
162002015-07-29 Pedro Alves <palves@redhat.com>
16201
16202 * gdb.gdb/complaints.exp (test_initial_complaints)
16203 (test_serial_complaints, test_short_complaints): Use
16204 gdb_test_stdio.
16205 (test_empty_complaint): Handle $inferior_spawn_id !=
16206 $gdb_spawn_id.
16207
0d30a335
PA
162082015-07-29 Pedro Alves <palves@redhat.com>
16209
16210 * gdb.base/varargs.exp: Use gdb_test_stdio.
16211
39413b29
PA
162122015-07-29 Pedro Alves <palves@redhat.com>
16213
16214 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
16215
7cb000a9
PA
162162015-07-29 Pedro Alves <palves@redhat.com>
16217
16218 * gdb.base/ending-run.exp: Use gdb_test_stdio.
16219
d7b8ac82
PA
162202015-07-29 Pedro Alves <palves@redhat.com>
16221
16222 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
16223 parameter into two new parameters, "inf_result" and "gdb_result".
16224 Expect inferior output and gdb output from $inferior_spawn_id and
16225 $gdb_spawn_id, respectively. Adjust all callers.
16226
789c3a0c
PA
162272015-07-29 Pedro Alves <palves@redhat.com>
16228
16229 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
16230 of gdb_test_sequence.
16231
77e760c3
PA
162322015-07-29 Pedro Alves <palves@redhat.com>
16233
16234 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
16235 (saw_spurious_output): Expect inferior output from
16236 $inferior_spawn_id. Use gdb_test_stdio.
16237
8396d2cd
PA
162382015-07-29 Pedro Alves <palves@redhat.com>
16239
16240 * gdb.base/dprintf.exp: Use standard_testfile. Change
16241 prepare_for_testing call.
16242 (srcfile): Don't set.
16243 (restart): New procedure.
16244 (test_dprintf): New procecure, use to continue over dprintfs.
16245 (test_call, test_agent): New procedures, tests moved here.
16246 Restart gdb and recreate dprintfs. Adjust expected output.
16247
2051d61f
PA
162482015-07-29 Pedro Alves <palves@redhat.com>
16249
16250 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
16251
452397af
PA
162522015-07-29 Pedro Alves <palves@redhat.com>
16253
16254 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
16255
8aed9555
PA
162562015-07-29 Pedro Alves <palves@redhat.com>
16257
16258 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
16259 gdb_test_stdio.
16260
188a61b4
PA
162612015-07-29 Pedro Alves <palves@redhat.com>
16262
16263 * lib/gdb.exp (gdb_test_stdio): New procedure.
16264
12264a45
PA
162652015-07-29 Pedro Alves <palves@redhat.com>
16266
16267 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
16268
23ffc893
PA
162692015-07-29 Pedro Alves <palves@redhat.com>
16270
16271 * gdb.base/call-signal-resume.exp: Remove check for
16272 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
16273 * gdb.base/unwindonsignal.exp: Likewise.
16274 * gdb.base/call-signals.c (gen_signal): Remove printf call.
16275 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
16276
65566918
PA
162772015-07-29 Pedro Alves <palves@redhat.com>
16278
16279 * gdb.base/siginfo-addr.c (pass): New function.
16280 (handler): Call it iff si_addr is correct.
16281 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
16282 Set a breakpoint at "pass" and continue to it.
16283
d60a9221
SDJ
162842015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
16285
16286 * gdb.python/py-objfile.exp: Make some tests have unique names.
16287 * gdb.python/py-pp-registration.exp: Likewise.
16288
bde40b8f
PA
162892015-07-28 Pedro Alves <palves@redhat.com>
16290
16291 * gdb.server/server-exec-info.exp: Issue a "disconnect".
16292
13e1dec8
SM
162932015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16294
16295 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
16296
da33c9a7
SM
162972015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16298
16299 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
16300
077836f7
PP
163012015-07-27 Patrick Palka <patrick@parcs.ath.cx>
16302
16303 * gdb.base/gdb-sigterm-2.exp: New test.
16304
b8cc7b2e
DE
163052015-07-25 Doug Evans <xdje42@gmail.com>
16306
16307 Revert:
16308 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16309 (workers/%.worker, build-perf): New rule.
16310 (GDB_PERFTEST_MODE): New variable.
16311 (check-perf): Use it.
16312 (clean): Clean up gdb.perf parallel build subdirs.
16313 * lib/build-piece.exp: New file.
16314 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16315 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16316 name.
16317 (standard_temp_file): Ditto.
16318 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16319 of $GDB_PARALLEL.
16320
c8bd4544
DE
163212015-07-24 Doug Evans <dje@google.com>
16322
16323 * gdb.perf/lib/perftest/utils.py: New file.
16324 * gdb.perf/gm-hello.cc: New file.
16325 * gdb.perf/gm-pervasive-typedef.cc: New file.
16326 * gdb.perf/gm-pervasive-typedef.h: New file.
16327 * gdb.perf/gm-std.cc: New file.
16328 * gdb.perf/gm-std.h: New file.
16329 * gdb.perf/gm-use-cerr.cc: New file.
16330 * gdb.perf/gm-utils.h: New file.
16331 * gdb.perf/gmonster-null-lookup.py: New file.
16332 * gdb.perf/gmonster-pervasive-typedef.py: New file.
16333 * gdb.perf/gmonster-print-cerr.py: New file.
16334 * gdb.perf/gmonster-ptype-string.py: New file.
16335 * gdb.perf/gmonster-runto-main.py: New file.
16336 * gdb.perf/gmonster-select-file.py: New file.
16337 * gdb.perf/gmonster1-null-lookup.exp: New file.
16338 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
16339 * gdb.perf/gmonster1-print-cerr.exp: New file.
16340 * gdb.perf/gmonster1-ptype-string.exp: New file.
16341 * gdb.perf/gmonster1-runto-main.exp: New file.
16342 * gdb.perf/gmonster1-select-file.exp: New file.
16343 * gdb.perf/gmonster1.cc: New file.
16344 * gdb.perf/gmonster1.exp: New file.
16345 * gdb.perf/gmonster2-null-lookup.exp: New file.
16346 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
16347 * gdb.perf/gmonster2-print-cerr.exp: New file.
16348 * gdb.perf/gmonster2-ptype-string.exp: New file.
16349 * gdb.perf/gmonster2-runto-main.exp: New file.
16350 * gdb.perf/gmonster2-select-file.exp: New file.
16351 * gdb.perf/gmonster2.cc: New file.
16352 * gdb.perf/gmonster2.exp: New file.
16353
6eab34f3
DE
163542015-07-24 Doug Evans <dje@google.com>
16355
16356 * gdb.perf/README: New file.
16357 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
16358 * lib/gen-perf-test.exp: New file.
16359
63738bfd
DE
163602015-07-24 Doug Evans <dje@google.com>
16361
16362 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
16363 (PerfTest::startup): New function.
16364 (PerfTest::run): Return result of calling body.
16365 (PerfTest::assemble): Rewrite.
16366 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
16367 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
16368 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
16369 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
16370 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
16371
7b606f95
DE
163722015-07-24 Doug Evans <dje@google.com>
16373
16374 * lib/gdb.exp (clean_restart): Make executable optional.
16375
a97b16b8
DE
163762015-07-24 Doug Evans <dje@google.com>
16377
16378 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
16379 compiler_info references.
16380 * gdb.cp/temargs.exp: Ditto.
16381 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
16382 (get_compiler_info): Early exit if already computed. Set compiler_info
16383 to "unknown" if there was a problem.
16384 (test_compiler_info): Add function comment. Call get_compiler_info.
16385
35baa57f
DE
163862015-07-24 Doug Evans <dje@google.com>
16387
16388 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16389 (workers/%.worker, build-perf): New rule.
16390 (GDB_PERFTEST_MODE): New variable.
16391 (check-perf): Use it.
16392 (clean): Clean up gdb.perf parallel build subdirs.
16393 * lib/build-piece.exp: New file.
16394 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16395 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16396 name.
16397 (standard_temp_file): Ditto.
16398 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16399 of $GDB_PARALLEL.
16400
6ebea266
DE
164012015-07-24 Doug Evans <dje@google.com>
16402
16403 * lib/future.exp (gdb_default_target_compile): New option
16404 "early_flags".
16405 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
16406 --as-needed.
16407
1e76a7e9
SDJ
164082015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
16409
16410 * gdb.base/catch-syscall.exp: Call gdb_exit before
16411 gdb_skip_xml_test.
16412
5068630a
PA
164132015-07-24 Pedro Alves <palves@redhat.com>
16414
16415 * gdb.python/py-events.exp: Accept output between the stop event
16416 and the prompt.
16417 * gdb.python/py-evsignal.exp: Likewise.
16418 * gdb.python/py-evthreads.exp: Likewise.
16419
77598427
PA
164202015-07-24 Pedro Alves <palves@redhat.com>
16421
16422 PR gdb/18717
16423 * gdb.threads/non-ldr-exit.c: New file.
16424 * gdb.threads/non-ldr-exit.exp: New file.
16425
11e6c98f
YQ
164262015-07-24 Yao Qi <yao.qi@linaro.org>
16427
16428 * gdb.server/ext-wrapper.exp: Test --wrapper option when
16429 restarting process.
16430
51aee833
YQ
164312015-07-24 Yao Qi <yao.qi@linaro.org>
16432
16433 * gdb.server/ext-restart.exp: New file.
16434
8cfe207c
YQ
164352015-07-24 Yao Qi <yao.qi@linaro.org>
16436
16437 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
16438 argument options.
16439 * gdb.server/ext-wrapper.exp: New file.
16440
cc12ce38
DE
164412015-07-23 Doug Evans <dje@google.com>
16442
16443 * gdb.dwarf2/dw2-dummy-cu.S: New file.
16444 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
16445
d0d84780
PMR
164462015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
16447
16448 * gdb.ada/var_arr_typedef.exp: New testcase.
16449 * gdb.ada/var_arr_typedef/pack.adb: New file.
16450 * gdb.ada/var_arr_typedef/pack.ads: New file.
16451 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
16452
8b558f79
JB
164532015-07-20 Joel Brobecker <brobecker@adacore.com>
16454
16455 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
16456
775a3298
JK
164572015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16458
16459 * gdb.arch/i386-biarch-core.exp: Replace istarget
16460 by "complete set gnutarget". Remove expectation for the "core-file"
16461 command.
16462
db1ff28b
JK
164632015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16464
16465 Revert the previous commit:
16466 Tests for validate symbol file using build-id.
16467
0a94970d
JK
164682015-07-15 Aleksandar Ristovski <aristovski@qnx.com
16469
16470 Tests for validate symbol file using build-id.
16471 * gdb.base/solib-mismatch-lib.c: New file.
16472 * gdb.base/solib-mismatch-libmod.c: New file.
16473 * gdb.base/solib-mismatch.c: New file.
16474 * gdb.base/solib-mismatch.exp: New file.
16475
03346981
SL
164762015-07-15 Sandra Loosemore <sandra@codesourcery.com>
16477
16478 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
16479 nios2-*-linux*.
16480 * gdb.base/sigbpt.exp (stepi_out): Likewise.
16481 * gdb.base/siginfo.exp: Likewise.
16482 * gdb.base/sigstep.exp (advance, advancei): Likewise.
16483
42422cc7
PL
164842015-07-15 Pierre Langlois <pierre.langlois@arm.com>
16485
16486 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
16487 Move it to ...
16488 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
16489 ... here.
16490 * gdb.trace/range-stepping.exp: Check that the target supports
16491 range stepping.
16492
cfa68bae
JK
164932015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16494
16495 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
16496
8ffdba26
PA
164972015-07-14 Pedro Alves <palves@redhat.com>
16498
16499 * gdb.base/killed-outside.exp: New file.
16500 * gdb.base/killed-outside.c: New file.
16501
218a5a11
JK
165022015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16503
16504 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
16505 (n at main): New.
16506 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
16507
e03ed3c6
AA
165082015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16509
16510 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
16511 infcall tests instead of setting up for KFAIL.
16512
485668e5
MM
165132015-07-10 Markus Metzger <markus.t.metzger@intel.com>
16514
16515 * gdb.btrace/record_goto-step.exp: New.
16516
08464196
JK
165172015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16518
16519 PR compile/18484
16520 * gdb.compile/compile.c (struct struct_type): Add volatile to
16521 selffield's type.
16522 * gdb.compile/compile.exp
16523 (compile code struct_object.selffield = &struct_object): Skip further
16524 struct_object tests if this one xfails.
16525
bcf5c1d9
RC
165262015-07-08 Robert O'Callahan <robert@ocallahan.org>
16527
16528 PR exp/18617
16529 * gdb.trace/ax.exp: Add test.
16530
4931af25
YQ
165312015-07-07 Yao Qi <yao.qi@linaro.org>
16532
16533 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
16534 instead of istarget "aarch64*-*-*".
16535 * gdb.arch/aarch64-fp.exp: Likewise.
16536 * gdb.base/float.exp: Likewise.
16537 * gdb.reverse/aarch64.exp: Likewise.
16538 * lib/gdb.exp (is_aarch64_target): New proc.
16539
9fcf688e
YQ
165402015-07-07 Yao Qi <yao.qi@linaro.org>
16541
16542 * lib/gdb.exp (is_aarch32_target): New proc.
16543 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
16544 instead of "istarget "arm*-*-*"".
16545 * gdb.arch/arm-disp-step.exp: Likewise.
16546 * gdb.arch/thumb-bx-pc.exp: Likewise.
16547 * gdb.arch/thumb-prologue.exp: Likewise.
16548 * gdb.arch/thumb-singlestep.exp: Likewise.
16549 * gdb.base/disp-step-syscall.exp: Likewise.
16550 * gdb.base/float.exp: Likewise.
16551
fbd8d50d
YQ
165522015-07-07 Yao Qi <yao.qi@linaro.org>
16553
16554 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
16555 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
16556
71be1fdc
YQ
165572015-07-07 Yao Qi <yao.qi@linaro.org>
16558
16559 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
16560 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
16561 if it exists.
16562 * gdb.multi/multi-arch.exp: Likewise.
16563
3e221d36
SM
165642015-07-07 Simon Marchi <simon.marchi@ericsson.com>
16565
16566 * gdb.python/py-lazy-string.exp: Add missing parentheses to
16567 print.
16568
d441430b
YQ
165692015-07-07 Yao Qi <yao.qi@linaro.org>
16570
16571 * gdb.arch/thumb-singlestep.exp: Do one more single step.
16572
06f810bd
MG
165732015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
16574
16575 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
16576 '[' and ']' characters.
16577
5e61e7c0
IB
165782015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
16579
16580 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16581
28bf096c
PA
165822015-06-29 Pedro Alves <palves@redhat.com>
16583
16584 PR threads/18127
16585 * gdb.threads/hand-call-new-thread.c: New file.
16586 * gdb.threads/hand-call-new-thread.c: New file.
16587
ee93cd5e
KS
165882015-06-26 Keith Seitz <keiths@redhat.com>
16589 Doug Evans <dje@google.com>
16590
16591 PR 16253
16592 * gdb.cp/var-tag-2.cc: New file.
16593 * gdb.cp/var-tag-3.cc: New file.
16594 * gdb.cp/var-tag-4.cc: New file.
16595 * gdb.cp/var-tag.cc: New file.
16596 * gdb.cp/var-tag.exp: New file.
16597
fc637f04
PP
165982015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16599
16600 * gdb.base/history-duplicates.exp: New test.
16601
2e52ae68
PP
166022015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16603
16604 * gdb.base/completion.exp: Test the completion of the "focus"
16605 command.
16606
6e22494e
JK
166072015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16608
16609 * gdb.arch/amd64-prologue-skip.S: New file.
16610 * gdb.arch/amd64-prologue-skip.exp: New file.
16611
bf7b9cd9
SM
166122015-06-25 Simon Marchi <simon.marchi@ericsson.com>
16613
16614 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
16615 is_address_zero_readable check.
16616
201e8dfd
PB
166172015-06-24 Peter Bergner <bergner@vnet.ibm.com>
16618
16619 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
16620 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
16621
5cd867b4
YQ
166222015-06-24 Yao Qi <yao.qi@linaro.org>
16623
16624 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
16625 linux targets.
16626
4d7be007
YQ
166272015-06-24 Yao Qi <yao.qi@linaro.org>
16628
16629 * lib/gdb.exp (supports_get_siginfo_type): New proc.
16630 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
16631 * gdb.base/siginfo-thread.exp: Likewise.
16632
07fcd301
YQ
166332015-06-22 Yao Qi <yao.qi@linaro.org>
16634
16635 * boards/remote-gdbserver-on-localhost.exp: Add comments.
16636
52042a00
YQ
166372015-06-22 Yao Qi <yao.qi@linaro.org>
16638
16639 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
16640 aarch64*-*-*.
16641 (skip_hw_watchpoint_tests): Likewise.
16642
74bd41ce
PP
166432015-06-18 Patrick Palka <patrick@parcs.ath.cx>
16644
16645 * gdb.base/gdbinit-history.exp: Test the interaction between
16646 setting GDBHISTSIZE and setting the history size via .gdbinit.
16647
bc460514
PP
166482015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16649
16650 PR gdb/16999
16651 * gdb.base/gdbhistsize-history.exp: New test.
16652
b58c513b
PP
166532015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16654
16655 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
16656 with GDBHISTSIZE.
16657 * gdb.base/readline.exp: Likewise.
16658
92046791
YQ
166592015-06-17 Yao Qi <yao.qi@linaro.org>
16660
16661 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
16662 line.
16663
2093d2d3
PP
166642015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16665
16666 * gdb.base/gdbinit-history.exp: Add test case to check that
16667 an unlimited history file does not get truncated on exit.
16668
e6c693af
AA
166692015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16670
16671 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
16672 (VECTOR): New macro. Use it...
16673 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
16674 ...for these typedefs.
16675 (int8, char1, int1, double1): New typedefs.
16676 (struct just_int2, struct two_int2): New structures.
16677 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
16678 (add_structvecs, add_singlevecs): New functions.
16679 (main): Call add_some_intvecs twice.
16680 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
16681 the compile and exit upon failure. Try compiling for the "native"
16682 architecture. Test inferior function calls with vector arguments
16683 and vector return value handling with "finish" and "return".
16684
c74f7d1c
JT
166852015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
16686
16687 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
16688 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
16689 PE file.
16690 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
16691
98aa42ee
AT
166922015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16693
16694 PR breakpoints/16465
16695 * gdb.mi/mi-dprintf-pending.c: New file.
16696 * gdb.mi/mi-dprintf-pending.exp: New test.
16697 * gdb.mi/mi-dprintf-pendshr.c: New file.
16698
7d73c23c 166992015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 16700 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
16701
16702 * gdb.arch/i386-mpx-map.c: New file.
16703 * gdb.arch/i386-mpx-map.exp: New File.
16704
167052015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16706
16707 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
16708 * gdb.arch/i386-mpx.exp: Indentation fixed.
16709
167102015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16711
16712 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
16713 function and improved indentation.
16714 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
16715 gdb_test_multiple. Added additional tests to skip the test.
16716
167172015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16718
16719 * gdb.arch/i386-avx512.c: Change path in include file.
16720 * gdb.arch/i386-avx512.exp: Change include dir path
16721 compilation flag.
16722 * gdb.arch/i386-mpx.c: Change path in include file.
16723 * gdb.arch/i386-mpx.exp: Change include dir path compilation
16724 flag.
16725
d5eba19a
JK
167262015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16727
16728 * gdb.compile/compile-print.exp (compile print *vararray@3)
16729 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
16730
7f361056
JK
167312015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16732
16733 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
16734 (do not keep jit in memory): ... this.
16735 (expect 5): Change it to ...
16736 (expect no 5): ... this.
16737
3b462ec2
SM
167382015-06-02 Simon Marchi <simon.marchi@ericsson.com>
16739
16740 PR gdb/15564
16741 * gdb.mi/mi-detach.exp: New file.
16742
e0619de6
JK
167432015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16744
16745 PR symtab/18392
16746 * gdb.arch/amd64-tailcall-self.S: New file.
16747 * gdb.arch/amd64-tailcall-self.c: New file.
16748 * gdb.arch/amd64-tailcall-self.exp: New file.
16749
e970cb34
DB
167502015-05-28 Don Breazeal <donb@codesourcery.com>
16751
16752 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
16753 tests for remote targets by checking is_target_gdbserver.
16754
b2e2f908
DE
167552015-05-27 Doug Evans <dje@google.com>
16756
16757 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
16758 * gdb.dwarf2/opaque-type-lookup.c: New file.
16759 * gdb.dwarf2/opaque-type-lookup.exp: New file.
16760
82c7be31
DE
167612015-05-26 Doug Evans <dje@google.com>
16762
16763 * gdb.cp/iostream.cc: New file.
16764 * gdb.cp/iostream.exp: New file.
16765
b4f54984
DE
167662015-05-26 Doug Evans <dje@google.com>
16767
16768 * gdb.dwarf2/dw2-op-call.exp: Update.
16769 * gdb.dwarf2/dw4-sig-types.exp: Update.
16770 * gdb.dwarf2/implptr.exp: Update.
16771 * gdb.mi/mi-cmd-param-changed.exp: Update.
16772
4ea6efe9
DE
167732015-05-26 Doug Evans <dje@google.com>
16774
16775 * gdb.python/py-lazy-string.c: New file.
16776 * gdb.python/py-lazy-string.exp: New file.
16777 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
16778 (main): Update. Add estring3.
16779 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
16780 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
16781
f6bb7db3
YQ
167822015-05-26 Omair Javaid <omair.javaid@linaro.org>
16783 Yao Qi <yao.qi@linaro.org>
16784
16785 * gdb.reverse/aarch64.c: New.
16786 * gdb.reverse/aarch64.exp: New.
16787
a81bfbd0
OJ
167882015-05-26 Omair Javaid <omair.javaid@linaro.org>
16789
25d49b86
PA
16790 * lib/gdb.exp (supports_process_record): Return true for
16791 aarch64*-linux*.
a81bfbd0
OJ
16792 (supports_reverse): Likewise.
16793
158bf1b4
PP
167942015-05-22 Patrick Palka <patrick@parcs.ath.cx>
16795
16796 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16797 Use with_test_prefix.
16798
a0145030
AB
167992015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
16800
16801 * gdb.base/completion.exp: Add test for completion of layout
16802 names.
16803
ebe3b578
AB
168042015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
16805
16806 * lib/gdb.exp (skip_tui_tests): New proc.
16807 * gdb.base/tui-layout.exp: Check skip_tui_tests.
16808
84204ed7
PA
168092015-05-19 Pedro Alves <palves@redhat.com>
16810
16811 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16812 Save the whole env array instead of just HOME. Unset HISTSIZE in
16813 the environment while testing. Restore whole environment
16814 afterwards.
16815
37442ce1
DE
168162015-05-16 Doug Evans <xdje42@gmail.com>
16817
16818 * gdb.guile/scm-ports.c: New file.
16819 * gdb.guile/scm-ports.exp: Add memory port tests.
16820
36de76f9
JK
168212015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16822
16823 * gdb.compile/compile-print.c: New file.
16824 * gdb.compile/compile-print.exp: New file.
16825
3a9558c4
JK
168262015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16827
16828 * gdb.compile/compile-ops.exp: Cast param to void.
16829 * gdb.compile/compile.exp: Complete type for _gdb_expr.
16830 (compile code struct_object.selffield = &struct_object): Add xfail.
16831
aa715135
JG
168322015-05-15 Joel Brobecker <brobecker@adacore.com>
16833
16834 * gdb.ada/arr_enum_with_gap: New testcase.
16835
931e5bc3
JG
168362015-05-15 Joel Brobecker <brobecker@adacore.com>
16837
16838 * gdb.ada/byte_packed_arr: New testcase.
16839
9cd4d857
JB
168402015-05-15 Joel Brobecker <brobecker@adacore.com>
16841
16842 * gdb.ada/pckd_neg: New testcase.
16843
ebfd00d2
PP
168442015-05-13 Patrick Palka <patrick@parcs.ath.cx>
16845
16846 PR gdb/17820
16847 * gdb.base/gdbinit-history.exp: New test.
16848 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
16849 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
16850
4c082a81
SC
168512015-05-09 Siva Chandra Reddy <sivachandra@google.com>
16852
16853 * gdb.python/py-xmethods.cc: Enhance test case.
16854 * gdb.python/py-xmethods.exp: New tests.
16855 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
16856 function.
16857 (B_indexoper): Likewise.
16858 (global_dm_list) : Add new xmethod worker functions.
16859
f7797074
SDJ
168602015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
16861
16862 * gdb.base/coredump-filter.exp: Correctly unset
16863 "coredump_var_addr" array.
16864
a4674e4e
PA
168652015-05-08 Pedro Alves <palves@redhat.com>
16866
16867 * gdb.server/non-existing-program.exp: Unset spawn_id.
16868
df2eb078
SC
168692015-05-08 Siva Chandra Reddy <sivachandra@google.com>
16870
16871 PR python/18291
16872 * gdb.python/py-xmethods.exp: Add tests.
16873
422349a3
YQ
168742015-05-08 Yao Qi <yao.qi@linaro.org>
16875
16876 PR gdb/18208
16877 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
16878 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
16879 function set_coredump_filter, and remove remote_exec call.
16880 Remove argument ipid. Callers update.
16881 (top level): Don't get inferior's PID.
16882
63fc80ce
AA
168832015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
16884
16885 * gdb.base/watch_thread_num.exp: Skip test on targets without
16886 access watchpoints.
16887
80ad801e
PA
168882015-05-06 Pedro Alves <palves@redhat.com>
16889
16890 PR server/18081
16891 * gdb.server/non-existing-program.exp: New file.
16892
0fa7fe50
JB
168932015-05-05 Joel Brobecker <brobecker@adacore.com>
16894
16895 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
16896
3ea89b92
PMR
168972015-05-05 Joel Brobecker <brobecker@adacore.com>
16898
16899 * gdb.ada/out_of_line_in_inlined: New testcase.
16900
87b8eff0
JB
169012015-05-05 Joel Brobecker <brobecker@adacore.com>
16902
16903 * gdb.ada/var_rec_arr: New testcase.
16904
5fccc635
YQ
169052015-04-30 Yao Qi <yao.qi@linaro.org>
16906
16907 * gdb.base/break-idempotent.exp: If
16908 skip_hw_watchpoint_multi_tests returns true, skip the tests
16909 on "rwatch" and "awatch".
16910
42d38f42
YQ
169112015-04-30 Yao Qi <yao.qi@linaro.org>
16912
16913 * gdb.base/relativedebug.exp: Invoke gdb command
16914 "info sharedlibrary", and if libc.so doesn't have debug info,
16915 skip the test.
16916
2ce1cdbf
DE
169172015-04-29 Doug Evans <dje@google.com>
16918
16919 * gdb.python/py-xmethods.exp: Add ptype tests.
16920 * gdb.python/py-xmethods.py (E_method_char_worker): Add
16921 get_result_type method.
16922
f24a38c5
LM
169232015-04-29 Luis Machado <lgustavo@codesourcery.com>
16924
16925 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
16926 the target does not support hardware watchpoints.
16927
ecbf2b3c
LM
169282015-04-29 Luis Machado <lgustavo@codesourcery.com>
16929
16930 * gdb.base/break-always.exp: Abort testing if writing to memory
16931 causes an error.
16932
34f5f757
DE
169332015-04-28 Doug Evans <dje@google.com>
16934
16935 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
16936 * gdb.python/py-pp-registration.exp: ... here. New file.
16937 * gdb.python/py-pp-registration.c: New file.
16938 * gdb.python/py-pp-registration.py: New file.
16939
69b4374a
DE
169402015-04-28 Doug Evans <dje@google.com>
16941
16942 * gdb.python/py-bad-printers.c: New file.
16943 * gdb.python/py-bad-printers.py: New file.
16944 * gdb.python/py-bad-printers.exp: New file.
16945
59fb7612
SS
169462015-04-28 Sasha Smundak <asmundak@google.com>
16947
16948 * gdb.python/py-type.exp: New test.
16949
2631b16a
AW
169502015-04-28 Andy Wingo <wingo@igalia.com>
16951
16952 * gdb.python/py-parameter.exp:
16953 * gdb.guile/scm-parameter.exp: Escape the path that we are
16954 matching against, as it might contain characters that are special
16955 to regular expressions.
16956
460efde1
JB
169572015-04-27 Joel Brobecker <brobecker@adacore.com>
16958
16959 * gdb.ada/rec_comp: New testcase.
16960
2d369d8e
SDJ
169612015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
16962
16963 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
16964 before using it.
16965
cf75d6c3
AB
169662015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
16967
16968 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
16969 new tests for verilog output.
16970
8dbe7ca5
YQ
169712015-04-24 Yao Qi <yao.qi@linaro.org>
16972
16973 * boards/remote-gdbserver-on-localhost.exp: New file.
16974
4ef9fb2f
PA
169752015-04-23 Pedro Alves <palves@redhat.com>
16976
16977 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
16978 $inferior_spawn_id instead of $inferior_spawn_id directly. On
16979 "end of file", remove $inferior_spawn_id from the indirect list.
16980
0a803169
PA
169812015-04-23 Pedro Alves <palves@redhat.com>
16982
16983 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
16984
749ef8f8
PA
169852015-04-23 Pedro Alves <palves@redhat.com>
16986
16987 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
16988 on $any_spawn_id instead of only on $gdb_spawn_id.
16989
8aae4344
PM
169902015-04-21 Pierre Muller <muller@sourceware.org>
16991
16992 PR pascal/17815
16993 * lib/pascal.exp (gpc_compile): Add new option "class".
16994 (fpc_compile): Likewise.
16995 * gdb.pascal/case-insensitive-symbols.pas: New file.
16996 * gdb.pascal/case-insensitive-symbols.exp: New file.
16997
1586c8fb
GB
169982015-04-20 Gary Benson <gbenson@redhat.com>
16999
17000 * gdb.base/attach.exp: Fix three extended remote failures.
17001
1b6e6f5c
GB
170022015-04-17 Gary Benson <gbenson@redhat.com>
17003
17004 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
17005 the main executable over the remote protocol.
17006
e797481d
PA
170072015-04-16 Pedro Alves <palves@redhat.com>
17008
17009 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
17010 a new gdbserver if gdbserver_reconnect_p is set.
17011
1ca99c42
PA
170122015-04-16 Pedro Alves <palves@redhat.com>
17013
17014 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
17015 is set, don't exit gdbserver.
17016
af9fd6f8
AA
170172015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17018
17019 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
17020 appropriate .insn, such that an older assembler can be used.
17021 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
17022 the z/Architecture instruction set on 31-bit targets as well.
17023
04ff1e61
AA
170242015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17025
17026 * gdb.go/handcall.exp: Remove all logic related to the first
17027 breakpoint and rely on go_runto_main instead.
17028 * gdb.go/strings.exp: Likewise.
17029 * gdb.go/unsafe.exp: Likewise.
17030 * gdb.go/hello.exp: Likewise. Also rename the remaining
17031 breakpoint marker to "breakpoint 1".
17032 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
17033 * gdb.go/strings.go: Likewise.
17034 * gdb.go/unsafe.go: Likewise.
17035 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
17036 "set breakpoint 2 here" and rename the remaining breakpoint marker
17037 to "breakpoint 1".
17038
40d2f8d6
SM
170392015-04-15 Simon Marchi <simon.marchi@ericsson.com>
17040
17041 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
17042 if itertools.imap is not present.
17043 * gdb.python/py-objfile.exp: Add parentheses.
17044 * gdb.python/py-type.exp: Same.
17045 * gdb.python/py-unwind-maint.py: Same.
17046
8cbc97c6
YQ
170472015-04-15 Yao Qi <yao.qi@linaro.org>
17048
17049 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
17050 of ":$ptr_size" and set its form explicitly.
17051
45fd756c
YQ
170522015-04-15 Pedro Alves <palves@redhat.com>
17053 Yao Qi <yao.qi@linaro.org>
17054
17055 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
17056 timeout by factor of 4.
17057 (test_regular_watch): Likewise.
17058 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
17059 * gdb.reverse/sigall-reverse.exp: Likewise.
17060 * gdb.reverse/until-precsave.exp: Likewise.
17061 * lib/gdb.exp (with_timeout_factor): New proc.
17062 (gdb_expect): Move some code to ...
17063 (get_largest_timeout): ... here. New procedure.
17064
9e811bc3
LM
170652015-04-14 Luis Machado <lgustavo@codesourcery.com>
17066
17067 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
17068
0ff6fcb2
LM
170692015-04-13 Luis Machado <lgustavo@codesourcery.com>
17070
17071 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
17072 to write to the .text section.
17073
7578d5f7
LM
170742015-04-13 Luis Machado <lgustavo@codesourcery.com>
17075
17076 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
17077 Handle the case of targets that do not provide PID information.
17078
2efe15c4
YQ
170792015-04-13 Yao Qi <yao.qi@linaro.org>
17080
17081 * lib/gdbserver-support.exp (gdb_exit): Catch exception
17082 and use expect instead of gdb_expect.
17083
8cd8f2f8
SDJ
170842015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
17085
17086 * gdb.base/coredump-filter.exp: Rename variable "addr" to
17087 "coredump_var_addr" to avoid naming conflict with other testcases.
17088
9ee41772
PA
170892015-04-10 Pedro Alves <palves@redhat.com>
17090
17091 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
17092 gdb_test_sequence and gdb_assert.
17093
07473109
PA
170942015-04-10 Pedro Alves <palves@redhat.com>
17095
17096 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
17097 test messages that don't include the breakpoint address.
17098
de3db44c
YQ
170992015-04-10 Yao Qi <yao.qi@linaro.org>
17100
17101 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
17102 false for some offset and width combinations which aren't
17103 supported by linux kernel.
17104
c79d856c
PA
171052015-04-10 Pedro Alves <palves@redhat.com>
17106
17107 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
17108 procedure, factored out from ...
17109 (top level): ... here. Add "set displaced-stepping" testing axis.
17110 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
17111 parameter "displaced". Use it.
17112 (top level): Use foreach and add "set displaced-stepping" testing
17113 axis.
17114
ebc90b50
PA
171152015-04-10 Pedro Alves <palves@redhat.com>
17116
17117 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
17118 Remove comment.
17119 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
17120 both the address of the instruction that triggers the watchpoint
17121 and the address of the instruction immediately after, and use
17122 those addresses for the test. Fix comment.
17123
8f572e5c
PA
171242015-04-10 Pedro Alves <palves@redhat.com>
17125
17126 * gdb.base/sigstep.exp (breakpoint_to_handler)
17127 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
17128 Test "backtrace" in handler.
17129 (breakpoint_over_handler): New parameter 'displaced'. Use it.
17130 (top level): Add new "displaced" test axis to
17131 breakpoint_to_handler, breakpoint_to_handler_entry and
17132 breakpoint_over_handler.
17133
8d707a12
PA
171342015-04-10 Pedro Alves <palves@redhat.com>
17135
17136 PR gdb/18216
17137 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
17138
ef713951
YQ
171392015-04-10 Yao Qi <yao.qi@linaro.org>
17140
17141 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
17142 (test_add_rn_pc): New function.
17143 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
17144 (top level): Invoke test_add_rn_pc.
17145
906d60cf
PA
171462015-04-10 Pedro Alves <palves@redhat.com>
17147
17148 PR gdb/13858
17149 * gdb.base/step-over-no-symbols.exp: New file.
17150
f2983cc3
AW
171512015-04-09 Andy Wingo <wingo@igalia.com>
17152
17153 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
17154 after the Python tests.
17155
6d62641c
SDJ
171562015-04-08 Keith Seitz <keiths@redhat.com>
17157
17158 PR python/16699
17159 * gdb.python/py-completion.exp: New tests for completion.
17160 * gdb.python/py-completion.py (CompleteLimit1): New class.
17161 (CompleteLimit2): Likewise.
17162 (CompleteLimit3): Likewise.
17163 (CompleteLimit4): Likewise.
17164 (CompleteLimit5): Likewise.
17165 (CompleteLimit6): Likewise.
17166 (CompleteLimit7): Likewise.
17167
f3770638
PA
171682015-04-08 Pedro Alves <palves@redhat.com>
17169
17170 PR gdb/18214
17171 PR gdb/18216
17172 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
17173 function.
17174 (main): Install it as SIGUSR1 handler.
17175 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
17176 parameter. Always use "setup" as prefix. Toggle "set
17177 displaced-stepping" off/on depending on global. Don't switch to
17178 thread 1 here.
17179 (top level): Add displaced stepping "off/on" test axis. Update
17180 "setup" calls. Wrap each subtest with with_test_prefix. Test
17181 continuing with a queued signal in each thread.
17182
4496bed7
PA
171832015-04-08 Pedro Alves <palves@redhat.com>
17184
17185 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
17186 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
17187 gdb_breakpoint instead of gdb_test that doesn't expect anything.
17188 Return early if running to main fails.
17189 * gdb.trace/while-stepping.exp: Likewise.
17190
b97fde92
PA
171912015-04-07 Pedro Alves <palves@redhat.com>
17192
17193 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
17194 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
17195 interact with inferior program.
17196
f71c18e7
PA
171972015-04-07 Pedro Alves <palves@redhat.com>
17198
17199 * lib/gdb.exp (inferior_spawn_id): New global.
17200 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
17201 spawn id after processing the user code.
17202 (default_gdb_start): Set inferior_spawn_id.
17203 (send_inferior): New procedure.
17204 * lib/gdbserver-support.exp (gdbserver_start): Set
17205 inferior_spawn_id.
17206 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
17207
6423214f
PA
172082015-04-07 Pedro Alves <palves@redhat.com>
17209
17210 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
17211 * lib/gdbserver-support.exp (gdbserver_start): Make
17212 $server_spawn_id global.
17213 (gdbserver_start): Don't wait for gdbserver's spawn id with
17214 expect_background.
17215 (close_gdbserver): New procedure.
17216 (gdb_exit): Rename the default version and reimplement.
17217
71c0ee8c
PA
172182015-04-07 Pedro Alves <palves@redhat.com>
17219
72f4393d 17220 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
17221 append the substituted item, not the original item.
17222
203bc29b
PA
172232015-04-07 Pedro Alves <palves@redhat.com>
17224
17225 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
17226 gdb_expect.
17227
508a3ddf
PA
172282015-04-07 Pedro Alves <palves@redhat.com>
17229
17230 * gdb.base/interrupt.exp: Don't handle the case of the inferior
17231 output appearing once only.
17232
9f6dbe2b
PA
172332015-04-07 Pedro Alves <palves@redhat.com>
17234
17235 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
17236 that doesn't expect anything. Return early if running to main
17237 fails.
17238
337532fa
YQ
172392015-04-07 Yao Qi <yao.qi@linaro.org>
17240
17241 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
17242 (child_function): Call alarm.
17243 (main): Move call to alarm into the loop.
17244 * gdb.threads/non-stop-fair-events.exp: Build program with
17245 -DTIMEOUT=$timeout.
17246
01b622d4
DE
172472015-04-06 Doug Evans <xdje42@gmail.com>
17248
17249 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
17250 Fix dest parameter to board_info.
17251 (fpc_compile): Ditto.
17252 (gdb_compile_pascal): Rename dest arg to destfile.
17253
961f4160
PMR
172542015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
17255
17256 * gdb.ada/funcall_ref.exp: New file.
17257 * gdb.ada/funcall_ref/foo.adb: New file.
17258
cafda597
YQ
172592015-04-02 Yao Qi <yao.qi@linaro.org>
17260
17261 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
17262 is remote.
17263
fed040c6
GB
172642015-04-02 Gary Benson <gbenson@redhat.com>
17265
17266 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
17267
d11916aa
SS
172682015-04-01 Sasha Smundak <asmundak@google.com>
17269
17270 * gdb.python/py-unwind-maint.c: New file.
17271 * gdb.python/py-unwind-maint.exp: New test.
17272 * gdb.python/py-unwind-maint.py: New file.
17273 * gdb.python/py-unwind.c: New file.
17274 * gdb.python/py-unwind.exp: New test.
17275 * gdb.python/py-unwind.py: New test.
17276
a1471180
PA
172772015-04-01 Pedro Alves <palves@redhat.com>
17278
17279 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
17280 to fail instead of non-existent $test.
17281
0bbeccb1
PA
172822015-04-01 Pedro Alves <palves@redhat.com>
17283
17284 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
17285 GDBFLAGS if not empty.
17286
3c724c8c
PMR
172872015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
17288
17289 * gdb.ada/complete.exp: Remove "multi_line".
17290 * gdb.ada/info_exc.exp: Remove "multi_line".
17291 * gdb.ada/packed_tagged.exp: Remove "multi_line".
17292 * gdb.ada/ptype_field.exp: Remove "multi_line".
17293 * gdb.ada/sym_print_name.exp: Remove "multi_line".
17294 * gdb.ada/tagged.exp: Remove "multi_line".
17295 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
17296 [multi_line ...]
17297 * gdb.btrace/delta.exp: Likewise.
17298 * gdb.btrace/exception.exp: Likewise.
17299 * gdb.btrace/function_call_history.exp: Likewise.
17300 * gdb.btrace/instruction_history.exp: Likewise.
17301 * gdb.btrace/nohist.exp: Likewise.
17302 * gdb.btrace/record_goto.exp: Likewise.
17303 * gdb.btrace/segv.exp: Likewise.
17304 * gdb.btrace/stepi.exp: Likewise.
17305 * gdb.btrace/tailcall.exp: Likewise.
17306 * gdb.btrace/unknown_functions.exp: Likewise.
17307 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
17308 * lib/gdb.exp: Add the "multi_line" helper.
17309
4eec2deb
PA
173102015-04-01 Pedro Alves <palves@redhat.com>
17311
17312 * gdb.threads/tid-reuse.c: New file.
17313 * gdb.threads/tid-reuse.exp: New file.
17314
df8411da
SDJ
173152015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
17316
17317 PR corefiles/16092
17318 * gdb.base/coredump-filter.c: New file.
17319 * gdb.base/coredump-filter.exp: Likewise.
17320
6ef37366
PM
173212015-03-27 Petr Machata <pmachata@redhat.com>
17322
17323 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
17324 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
17325 (Dwarf::assemble): Initialize them.
17326 (Dwarf::lines): New function.
17327
7ec911b0
JT
173282015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
17329
17330 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
17331 SYMBOL_PREFIX for x86_64-*-cygwin.
17332
ff908ebf
AW
173332015-03-26 Andy Wingo <wingo@igalia.com>
17334
17335 PR symtab/18148
17336 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
17337 const_value but not a location.
17338 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
17339 location defined in non-main CUs are visible.
17340
6d5f0679
YQ
173412015-03-26 Yao Qi <yao.qi@linaro.org>
17342
17343 PR testsuite/18139
17344 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
17345 Add a line number entry for the same line.
17346 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
17347 Add a line number entry for the same line.
17348
2898689b
YQ
173492015-03-26 Yao Qi <yao.qi@linaro.org>
17350
17351 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
17352 .int 0.
17353 (func): Likewise. Add .Lfunc_1 label.
17354 Use .Lfunc_1 label.
17355 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
17356 .int 0.
17357 (func): Likewise.
17358 Use .Lfunc_1 label.
17359
85180498
YQ
173602015-03-26 Yao Qi <yao.qi@linaro.org>
17361
17362 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
17363 Call gdb_compile instead to compile each .s files without debug
17364 information.
17365
8aa08a8d
YQ
173662015-03-26 Yao Qi <yao.qi@linaro.org>
17367
17368 * gdb.base/savedregs.exp (process_saved_regs): Make
17369 "Saved registers:" optional in the pattern.
17370
66849923
MM
173712015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17372
17373 * gdb.btrace/next.exp: Merged into step.exp.
17374 * gdb.btrace/finish.exp: Merged into step.exp.
17375 * gdb.btrace/nexti.exp: Merged into stepi.exp.
17376 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
17377 "record goto" and checking the exact replay position.
17378 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
17379 check for "Recording format" in "info record" output.
17380 * gdb.btrace/record_goto.exp: Choose test file based on target.
17381 * gdb.btrace/x86-record_goto.S: Renamed into ...
17382 * gdb.btrace/x86_64-record_goto.S: ... this.
17383 * gdb.btrace/i686-record_goto.S: New.
17384 * gdb.btrace/x86-tailcall.S: Renamed into ...
17385 * gdb.btrace/x86_64-tailcall.S: ... this.
17386 * gdb.btrace/i686-tailcall.S: New.
17387 * gdb.btrace/x86-tailcall.c: Renamed into ...
17388 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
17389 separate statements. Update test.
17390 * gdb.btrace/delta.exp: Use record_goto.c as test file.
17391 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
17392 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
17393 * gdb.btrace/tailcall.exp: Choose test file based on target.
17394 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
17395
11cc1b74
MM
173962015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17397
17398 * gdb.btrace/exception.exp: Increase BTS buffer size.
17399
a25d8bf9
PA
174002015-03-24 Pedro Alves <palves@redhat.com>
17401
17402 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
17403
856e7dd6
PA
174042015-03-24 Pedro Alves <palves@redhat.com>
17405
17406 * gdb.threads/schedlock.exp (test_step): No longer expect that
17407 "set scheduler-locking step" with "next" over a function call runs
17408 threads unlocked.
17409
ad235a41
AT
174102015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17411
17412 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
17413
15630549
AT
174142015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17415
17416 PR breakpoints/16466
17417 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
17418 * gdb.mi/mi-pending.c (thread_func): New function.
17419 (int main): Add threading support required.
17420 * gdb.mi/mi-pending.exp: Add tests for this issue.
17421 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
17422 (pendfunc2): Remove stdio dependency.
17423 * gdb.mi/mi-pendshr2.c: New file.
17424
693dca06
KS
174252015-03-23 Keith Seitz <keiths@redhat.com>
17426
17427 * gdb.linespec/keywords.c: New file.
17428 * gdb.linespec/keywords.exp: New file.
17429
7e993ebf
KS
174302015-03-23 Keith Seitz <keiths@redhat.com>
17431
17432 PR gdb/18021
17433 * gdb.dwarf2/staticvirtual.exp: New test.
17434
bc23328c
JK
174352015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17436
17437 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
17438 * README: Remove HP-UX and gdb.hp.
17439 (configuration):
17440 * configure: Regenerate.
17441 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
17442 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
17443 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
17444 gdb.hp/gdb.defects/Makefile.
17445 * gdb.hp/Makefile.in: File deleted.
17446 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
17447 * gdb.hp/gdb.aCC/optimize.c: File deleted.
17448 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
17449 * gdb.hp/gdb.aCC/run.c: File deleted.
17450 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
17451 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
17452 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
17453 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
17454 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
17455 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
17456 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
17457 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
17458 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
17459 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
17460 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
17461 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
17462 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
17463 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
17464 * gdb.hp/gdb.base-hp/reg.s: File deleted.
17465 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
17466 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
17467 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
17468 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
17469 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
17470 * gdb.hp/gdb.compat/Makefile.in: File deleted.
17471 * gdb.hp/gdb.compat/average.c: File deleted.
17472 * gdb.hp/gdb.compat/sum.c: File deleted.
17473 * gdb.hp/gdb.compat/xdb.c: File deleted.
17474 * gdb.hp/gdb.compat/xdb0.c: File deleted.
17475 * gdb.hp/gdb.compat/xdb0.h: File deleted.
17476 * gdb.hp/gdb.compat/xdb1.c: File deleted.
17477 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
17478 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
17479 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
17480 * gdb.hp/gdb.defects/Makefile.in: File deleted.
17481 * gdb.hp/gdb.defects/bs14602.c: File deleted.
17482 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
17483 * gdb.hp/gdb.defects/solib-d.c: File deleted.
17484 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
17485 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
17486 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
17487 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
17488 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
17489 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
17490 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
17491 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
17492 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
17493 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
17494 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
17495 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
17496 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
17497 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
17498 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
17499 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
17500 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
17501 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
17502 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
17503 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
17504 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
17505 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
17506 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
17507 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
17508 * gdb.hp/tools/odump: File deleted.
17509
8bf3b159
PA
175102015-03-19 Pedro Alves <palves@redhat.com>
17511
17512 * gdb.threads/continue-pending-status.exp (saw_thread_2)
17513 (saw_thread_3): New globals.
17514 (top level): Increment them when an event for the corresponding
17515 thread is seen.
17516 (no thread starvation): New test.
17517
eb54c8bf
PA
175182015-03-19 Pedro Alves <palves@redhat.com>
17519
17520 * gdb.threads/continue-pending-status.c: New file.
17521 * gdb.threads/continue-pending-status.exp: New file.
17522
32d2e5d6
PA
175232015-03-18 Pedro Alves <palves@redhat.com>
17524
17525 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
17526 Use gdb_is_target_remote instead of is_remote. Use
17527 gdb_test_multiple instead of gdb_expect. Exit early if
17528 gdb_test_multiple hits its internal matches. Tighten stepi tests
17529 expected output. Fail on exit with any signal, instead of just
17530 SIGILL.
17531
f68f11b7
YQ
175322015-03-18 Yao Qi <yao.qi@linaro.org>
17533
17534 PR tdep/18107
17535 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
17536 variable.
17537 * gdb.base/catch-syscall.exp: Don't skip it on
17538 aarch64*-*-linux* target. Remove elements in all_syscalls.
17539 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
17540 target.
17541 (setup_all_syscalls): New proc.
17542
ca5fd19b
YQ
175432015-03-16 Yao Qi <yao.qi@linaro.org>
17544
17545 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
17546 (top level): Skip tests if valid_addr_p returns false for
17547 $cmd1 or $cmd2.
17548
85642ba0
AW
175492015-03-11 Andy Wingo <wingo@igalia.com>
17550
17551 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
17552
e03f9645
YQ
175532015-03-11 Yao Qi <yao.qi@linaro.org>
17554
17555 * gdb.base/catch-syscall.exp: Fix typo in comments.
17556
5d0962b2
YQ
175572015-03-11 Yao Qi <yao.qi@linaro.org>
17558
17559 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
17560
b2df3cef
PA
175612015-03-09 Pedro Alves <palves@redhat.com>
17562
17563 * dg-extract-results.py: Delete.
17564
ef878e53
PA
175652015-03-09 Pedro Alves <palves@redhat.com>
17566
17567 Merge dg-extract-results.sh from GCC upstream (r218843).
17568
17569 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
17570 * dg-extract-results.sh: Use --text with grep to avoid issues with
17571 binary files. Fall back to cat -v, if that doesn't work.
17572
9494d219
PA
175732015-03-05 Pedro Alves <palves@redhat.com>
17574
17575 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
17576
a8d9763a
SM
175772015-03-04 Simon Marchi <simon.marchi@ericsson.com>
17578
17579 * lib/mi-support.exp (mi_expect_interrupt): Accept
17580 alternative event for when in all-stop mode.
17581
be9957b8
PA
175822015-03-04 Pedro Alves <palves@redhat.com>
17583
17584 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
17585
d57be0f4 175862015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
17587
17588 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
17589
c214c7cf
AA
175902015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17591
17592 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
17593 regexps for GDB's current line display, accept a hex address
17594 preceding the line number.
17595
6d74a497
AA
175962015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17597
17598 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
17599 the 'arch1' variable for "s390*-linux*" targets.
17600
511aee7c
PA
176012015-03-04 Pedro Alves <palves@redhat.com>
17602
17603 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
17604 (main): Pass missing retval argument to pthread_join call.
17605
95e50b27
PA
176062015-03-02 Pedro Alves <palves@redhat.com>
17607
17608 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
17609 (top level): Call do_test with non-stop as well.
17610
28054d69
PA
176112015-03-02 Pedro Alves <palves@redhat.com>
17612
17613 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
17614 -1.
17615
4fa5d7b4
AA
176162015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17617
17618 * gdb.arch/s390-vregs.exp: New test.
17619 * gdb.arch/s390-vregs.S: New file.
17620
97c18565
PA
176212015-02-27 Pedro Alves <palves@redhat.com>
17622
17623 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
17624 call to catch_command_errors.
17625 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
17626 catch_command_errors.
17627
a37bfa30
PA
176282015-02-27 Pedro Alves <palves@redhat.com>
17629
17630 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
17631 "true" for boolean result.
17632 * gdb.gdb/selftest.exp (test_with_self): Also accept full
17633 prototype of main.
17634
6f98576f
PA
176352015-02-27 Pedro Alves <palves@redhat.com>
17636
17637 * lib/unbuffer_output.c: New file.
17638 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
17639 (main): Call gdb_unbuffer_output.
17640
eba5ab56
YQ
176412015-02-27 Yao Qi <yao.qi@linaro.org>
17642
17643 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
17644 target.
17645
0def5aaa
DE
176462015-02-26 Doug Evans <dje@google.com>
17647
17648 * gdb.cp/class2.cc (Dbase, D): New classes.
17649 (main): New local delta.
17650 * gdb.cp/class2.exp: Test printing delta.
17651 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
17652 (dynbar): New global.
17653 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
17654
081a1c2c
JK
176552015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17656
17657 * gdb.compile/compile-ifunc.c: New file.
17658 * gdb.compile/compile-ifunc.exp: New file.
17659
2f41223f
AT
176602015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
17661
17662 * gdb.base/structs.exp: Check for correct struct on finish.
17663
03eddd80
YQ
176642015-02-26 Yao Qi <yao.qi@linaro.org>
17665
17666 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
17667 is zero.
17668
80c57053
JK
176692015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17670
17671 * gdb.arch/cordic.ko.bz2: New file.
17672 * gdb.arch/cordic.ko.debug.bz2: New file.
17673 * gdb.arch/ppc64-symtab-cordic.exp: New file.
17674
21613c12
YQ
176752015-02-25 Yao Qi <yao.qi@linaro.org>
17676
17677 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
17678 aarch64*-*-* target.
17679
d8b901ed
PA
176802015-02-23 Pedro Alves <palves@redhat.com>
17681
17682 * lib/gdb.exp (delete_breakpoints): Rewrite using
17683 gdb_test_multiple.
17684
e5b85ead
PA
176852015-02-23 Pedro Alves <palves@redhat.com>
17686
17687 * gdb.base/info-os.c: Include stdlib.h.
17688
85c3a371
DE
176892015-02-22 Doug Evans <xdje42@gmail.com>
17690
17691 PR symtab/17855
17692 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
17693 is read after symbols have been re-read.
17694 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
17695 * gdb.ada/exec_changed/second.adb (Second): Ditto.
17696
96553a0c
DE
176972015-02-21 Doug Evans <dje@google.com>
17698
17699 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
17700
97a0c697
JK
177012015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17702
17703 PR corefiles/17808
17704 * gdb.arch/i386-biarch-core.core.bz2: New file.
17705 * gdb.arch/i386-biarch-core.exp: New file.
17706
a47cd6e9
PA
177072015-02-21 Pedro Alves <palves@redhat.com>
17708
17709 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
17710 runto_main fails.
17711
c5facdc4
PA
177122015-02-20 Pedro Alves <palves@redhat.com>
17713
17714 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
17715 info probes.
17716
2db9a427
PA
177172015-02-20 Pedro Alves <palves@redhat.com>
17718
17719 * gdb.threads/multi-create-ns-info-thr.exp: New file.
17720
60fb7e9e
PA
177212015-02-20 Pedro Alves <palves@redhat.com>
17722
17723 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
17724 clean_restart before gdb_target_supports_trace.
17725
5c5019c2
PA
177262015-02-20 Pedro Alves <palves@redhat.com>
17727
17728 PR threads/18006
17729 * gdb.threads/clone-thread_db.c: New file.
17730 * gdb.threads/clone-thread_db.exp: New file.
17731
c9587f88
AT
177322015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
17733
17734 PR breakpoints/16812
17735 * gdb.base/catch-gdb-caused-signals.c: New file.
17736 * gdb.base/catch-gdb-caused-signals.exp: New file.
17737
f6a88844
JM
177382015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
17739
17740 * configure: Regenerated.
17741 * configure.ac: Use GDB_AC_TRANSFORM.
17742 * aclocal.m4: sinclude ../transform.m4.
17743
497c491b
JM
177442015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17745
17746 * lib/dtrace.exp: New file.
17747 * gdb.base/dtrace-probe.exp: Likewise.
17748 * gdb.base/dtrace-probe.d: Likewise.
17749 * gdb.base/dtrace-probe.c: Likewise.
17750 * lib/pdtrace.in: Likewise.
17751 * configure.ac: Output variables with the transformed names of
17752 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
17753 * configure: Regenerated.
17754
03e98035
JM
177552015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17756
17757 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
17758 expected message when trying to access $_probe_* convenience
17759 variables while not on a probe.
17760
63cc30e9
JK
177612015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17762
17763 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
17764
0703599a
PA
177652015-02-11 Pedro Alves <pedro@codesourcery.com>
17766
17767 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
17768 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
17769
7e60a48e
DE
177702015-02-10 Doug Evans <xdje42@gmail.com>
17771
17772 * lib/gdb.exp (gdb_load): Always return a result.
17773
01b088bc
PA
177742015-02-10 Pedro Alves <palves@redhat.com>
17775
17776 * gdb.threads/signal-sigtrap.c: New file.
17777 * gdb.threads/signal-sigtrap.exp: New file.
17778
b05ec7a5
AT
177792015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
17780
17781 * gdb.trace/no-attach-trace.c: New file.
17782 * gdb.trace/no-attach-trace.exp: New file.
17783
a2c2acaf
MW
177842015-02-09 Mark Wielaard <mjw@redhat.com>
17785
17786 * gdb.dwarf2/atomic.c: New file.
17787 * gdb.dwarf2/atomic-type.exp: Likewise.
17788
31fd9caa
MM
177892015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17790
17791 * gdb.btrace/buffer-size.exp: Update "info record" output.
17792 * gdb.btrace/delta.exp: Update "info record" output.
17793 * gdb.btrace/enable.exp: Update "info record" output.
17794 * gdb.btrace/finish.exp: Update "info record" output.
17795 * gdb.btrace/instruction_history.exp: Update "info record" output.
17796 * gdb.btrace/next.exp: Update "info record" output.
17797 * gdb.btrace/nexti.exp: Update "info record" output.
17798 * gdb.btrace/step.exp: Update "info record" output.
17799 * gdb.btrace/stepi.exp: Update "info record" output.
17800 * gdb.btrace/nohist.exp: Update "info record" output.
17801
d33501a5
MM
178022015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17803
17804 * gdb.btrace/buffer-size: New.
17805
f4abbc16
MM
178062015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17807
17808 * gdb.btrace/delta.exp: Update "info record" output.
17809 * gdb.btrace/enable.exp: Update "info record" output.
17810 * gdb.btrace/finish.exp: Update "info record" output.
17811 * gdb.btrace/instruction_history.exp: Update "info record" output.
17812 * gdb.btrace/next.exp: Update "info record" output.
17813 * gdb.btrace/nexti.exp: Update "info record" output.
17814 * gdb.btrace/step.exp: Update "info record" output.
17815 * gdb.btrace/stepi.exp: Update "info record" output.
17816 * gdb.btrace/nohist.exp: Update "info record" output.
17817
b9d61307
SM
178182015-02-06 Simon Marchi <simon.marchi@ericsson.com>
17819
17820 PR gdb/15678
17821 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
17822
e584fdbc
PA
178232015-02-06 Pedro Alves <palves@redhat.com>
17824
17825 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
17826 macro.
17827 (seconds_left, again): New globals.
17828 (main): Wait seconds_left in a 1-second sleep loop instead of
17829 sleeping 180 seconds. If 'again' is set, reset the seconds
17830 counter.
17831 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
17832 'again' in the inferior before detaching. Print the seconds left.
17833 (options): New global.
17834 (top level): Build program with -DTIMEOUT=$timeout.
17835
77f41761
PA
178362015-02-06 Pedro Alves <palves@redhat.com>
17837
17838 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
17839 determine how many seconds to pass to 'alarm'.
17840 * gdb.base/gdb-sigterm.exp (top level): Build program with
17841 -DTIMEOUT=$timeout.
17842 (do_test): Return success/failure indication. Add more verbose
17843 logging. Don't fail if 200 single steps are seen. Instead, fail
17844 when the test times out.
17845 (passes): New global.
17846 (top level): Break the testing loop if testing fails on any
17847 iteration. Use gdb_assert.
17848
b9394193
DB
178492015-02-04 Don Breazeal <donb@codesourcery.com>
17850
17851 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
17852 and initialize them.
17853 (ipc_cleanup): New function.
17854 (main): Don't declare shmid, semid, and msqid. Add a call to
17855 atexit so that we call ipc_cleanup on exit.
17856
42d9e528
PA
178572015-02-04 Pedro Alves <palves@redhat.com>
17858
17859 * boards/native-extended-gdbserver.exp: Remove any target variant
17860 specifications from the board name before clearing the isremote
17861 flag from board_info.
17862
ae6ae975
DE
178632015-01-31 Doug Evans <xdje42@gmail.com>
17864
17865 * gdb.base/maint.exp <maint print type argc>: Update expected output.
17866
cfb069a8
GB
178672015-01-31 Gary Benson <gbenson@redhat.com>
17868
17869 * gdb.base/completion.exp: Disable completion limiting for
17870 existing tests. Add new tests to check completion limiting.
17871 * gdb.linespec/ls-errs.exp: Disable completion limiting.
17872
5dd31d79
DE
178732015-01-31 Doug Evans <xdje42@gmail.com>
17874
17875 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
17876
9f050062
DE
178772015-01-31 Doug Evans <xdje42@gmail.com>
17878
17879 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
17880 entries. Duplicate file section script entries.
17881 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
17882 inlined entries. Add test for safe-path rejection.
17883 * gdb.python/py-section-script.c: Add duplicate inlined section script
17884 entries. Duplicate file section script entries.
17885 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
17886 inlined entries. Add test for safe-path rejection.
17887
df25ebbd
JB
178882015-01-29 Joel Brobecker <brobecker@adacore.com>
17889
17890 * gdb.ada/disc_arr_bound: New testcase.
17891
4a0ca9ec
JB
178922015-01-29 Joel Brobecker <brobecker@adacore.com>
17893
17894 * gdb.ada/mi_var_array: New testcase.
17895
3a8b707a
DE
178962015-01-27 Doug Evans <dje@google.com>
17897
17898 * gdb.python/py-objfile.exp: Add tests for objfile.username.
17899 Add test for objfile.filename, objfile.username after objfile
17900 has been unloaded.
17901
f8313f6e
JB
179022015-01-26 Joel Brobecker <brobecker@adacore.com>
17903
17904 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
17905 the second test to print the name attribute of value
17906 returned by the call to gdb.lookup_type, and adjust
17907 the expected output accordingly.
17908
37bc665e
MW
179092015-01-25 Mark Wielaard <mjw@redhat.com>
17910
17911 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
17912 * gdb.base/disp-step-fork.c: Include unistd.h.
17913 * gdb.base/siginfo-obj.c: Include stdio.h.
17914 * gdb.base/siginfo-thread.c: Likewise.
17915 * gdb.mi/non-stop.c: Include unistd.h.
17916 * gdb.mi/nsthrexec.c: Include stdio.h.
17917 * gdb.mi/pthreads.c: Include unistd.h.
17918 * gdb.modula2/unbounded1.c (main): Declare returns int.
17919 * gdb.reverse/consecutive-reverse.c: Likewise.
17920 * gdb.threads/create-fail.c: Include unistd.h.
17921 * gdb.threads/killed.c: Likewise.
17922 * gdb.threads/linux-dp.c: Likewise.
17923 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
17924 * gdb.threads/non-ldr-exc-2.c: Likewise.
17925 * gdb.threads/non-ldr-exc-3.c: Likewise.
17926 * gdb.threads/non-ldr-exc-4.c: Likewise.
17927 * gdb.threads/pthreads.c: Include unistd.h.
17928 (main): Declare returns int.
17929 * gdb.threads/tls-main.c (foo): New declaration.
17930 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
17931
f7e5394d
SM
179322015-01-23 Simon Marchi <simon.marchi@ericsson.com>
17933
17934 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
17935 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
17936
743649fd
MW
179372015-01-15 Mark Wielaard <mjw@redhat.com>
17938
17939 * gdb.base/noreturn-return.c: New file.
17940 * gdb.base/noreturn-return.exp: New file.
17941 * gdb.base/noreturn-finish.c: New file.
17942 * gdb.base/noreturn-finish.exp: New file.
17943
198297aa
PA
179442015-01-23 Pedro Alves <palves@redhat.com>
17945
17946 * gdb.threads/continue-pending-after-query.c: New file.
17947 * gdb.threads/continue-pending-after-query.exp: New file.
17948
717cf30c
AG
179492015-01-22 Anders Granlund <anders.granlund@ericsson.com>
17950 Simon Marchi <simon.marchi@ericsson.com>
17951
17952 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
17953 * gdb.base/valgrind-db-attach.exp: Same.
17954 * gdb.base/valgrind-infcall.exp: Same.
17955 * lib/mi-support.exp (default_mi_gdb_start): Same.
17956 * lib/prompt.exp (default_prompt_gdb_start): Same.
17957 * lib/gdb.exp (default_gdb_spawn): Same.
17958 (gdb_interact): New.
17959
17960
4b62a76e
JK
179612015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17962
17963 * gdb.compile/compile.exp (pointer to jit function): New test.
17964
b4cdae6f
WW
179652015-01-17 Wei-cheng Wang <cole945@gmail.com>
17966
17967 * lib/gdb.exp (supports_process_record): Return true for
17968 powerpc*-*-linux*.
17969 (supports_reverse): Likewise.
17970
d221e7ef
DB
179712015-01-15 Don Breazeal <donb@codesourcery.com>
17972
17973 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
17974 instead of checking whether the target board is remote and
17975 use spawn_wait_for_attach instead of exec/sleep.
17976 * gdb.base/attach-twice.exp: Likewise.
17977
bafffb51
JB
179782015-01-15 Joel Brobecker <brobecker@adacore.com>
17979
17980 * gdb.ada/var_arr_attrs: New testcase.
17981
5589af0e
PA
179822015-01-14 Pedro Alves <palves@redhat.com>
17983 Joel Brobecker <brobecker@adacore.com>
17984
17985 PR gdb/17525
17986 * gdb.base/bp-cmds-execution-x-script.c: New file.
17987 * gdb.base/bp-cmds-execution-x-script.exp: New file.
17988 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
17989
6c400b59
PA
179902015-01-14 Pedro Alves <palves@redhat.com>
17991
17992 PR cli/17828
17993 * gdb.base/batch-preserve-term-settings.c: New file.
17994 * gdb.base/batch-preserve-term-settings.exp: New file.
17995
e02c96a7
DE
179962015-01-13 Doug Evans <dje@google.com>
17997
17998 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
17999 binary.
18000
576fd14c
JB
180012015-01-13 Joel Brobecker <brobecker@adacore.com>
18002
18003 * Makefile.in (clean mostlyclean): Do not delete *.py.
18004
04dccad0
JB
180052015-01-13 Joel Brobecker <brobecker@adacore.com>
18006
18007 * gdb.python/py-lookup-type.exp: New file.
18008
3d230f71
PA
180092015-01-12 Pedro Alves <palves@redhat.com>
18010
18011 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
18012 restore GDBFLAGS before returning.
18013
7e67715d
JK
180142015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18015
18016 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
18017 is_amd64_regs_target and is_x86_like_target.
18018
f2e0d4b4
DE
180192015-01-11 Doug Evans <xdje42@gmail.com>
18020
18021 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
18022 is given without an explicit form.
18023 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
18024 attributes.
18025 * gdb.dwarf/corrupt.exp: Ditto.
18026 * gdb.dwarf2/enum-type.exp: Ditto.
18027 * gdb.trace/entry-values.exp: Ditto.
18028 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
18029
439250fb
DE
180302015-01-11 Doug Evans <xdje42@gmail.com>
18031
18032 PR gdb/15830
18033 * gdb.base/maint.exp: Remove references to "maint demangle".
18034 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
18035 Add tests for explicitly specifying language to demangle.
18036 * gdb.dlang/demangle.exp: Ditto.
18037
ede9f622
PA
180382015-01-09 Pedro Alves <palves@redhat.com>
18039
18040 * gdb.threads/non-stop-fair-events.c: New file.
18041 * gdb.threads/non-stop-fair-events.exp: New file.
18042
a7b796db
PA
180432015-01-09 Pedro Alves <palves@redhat.com>
18044
18045 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
18046 the global scope. Set a breakpoint after all threads are started
18047 rather than stepping over two source lines. Expect the prompt.
18048 * gdb.base/watch_thread_num.c (threads_started_barrier): New
18049 global.
18050 (NUM): Now 15.
18051 (main): Use threads_started_barrier to wait for all threads to
18052 start. Main thread no longer calls thread_function. Exit after
18053 180 seconds.
18054 (loop): New function.
18055 (thread_function): Wait on threads_started_barrier barrier. Call
18056 'loop' at each iteration.
18057 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
18058 threads have started, instead of hardcoding number of "next"
18059 steps. Use an access watchpoint instead of a write watchpoint.
18060
9665ffdd
PA
180612015-01-09 Pedro Alves <palves@redhat.com>
18062
18063 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
18064 (thread_func): Wait on barrier.
18065 (main): Wait for all threads to start before stopping GDB.
18066 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
18067 global.
18068 (thread1_func, thread2_func): Wait on barrier.
18069 (main): Wait for all threads to start before stopping GDB.
18070 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
18071 New global.
18072 (thread1_func, thread2_func): Wait on barrier.
18073 (main): Wait for all threads to start before stopping GDB.
18074
c945a99f
PA
180752015-01-09 Pedro Alves <palves@redhat.com>
18076
18077 * gdb.threads/attach-many-short-lived-threads.c: New file.
18078 * gdb.threads/attach-many-short-lived-threads.exp: New file.
18079
c1a747c1
PA
180802014-01-09 Pedro Alves <palves@redhat.com>
18081
18082 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
18083 instead of to thread 2.
18084 * gdb.threads/signal-command-multiple-signals-pending.c (main):
18085 Add barrier around each pthread_create call instead of around all
18086 calls.
18087 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
18088 Set a break on thread_function and have the child threads hit it
18089 one at at a time.
18090
60b3033e
PA
180912015-01-09 Pedro Alves <palves@redhat.com>
18092
18093 * lib/gdb.exp (can_spawn_for_attach): New procedure.
18094 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
18095 false.
18096 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
18097 checking whether the target board is remote.
18098 * gdb.multi/multi-attach.exp: Likewise.
18099 * gdb.python/py-sync-interp.exp: Likewise.
18100 * gdb.server/ext-attach.exp: Likewise.
18101 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
18102 tests that need to attach, instead of checking whether the target
18103 board is remote at the top of the file.
18104
acc018ac
YQ
181052015-01-08 Yao Qi <yao@codesourcery.com>
18106
18107 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
18108
50a18af8
JK
181092015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18110
18111 Fix testcase compilation.
18112 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
18113
8503d6e1
JB
181142015-01-06 Joel Brobecker <brobecker@adacore.com>
18115
18116 * gdb.python/py-type.exp: Add a couple test about empty
18117 array creation, and negative-length array creation.
18118
cc73dbcc
DE
181192015-01-02 Doug Evans <xdje42@gmail.com>
18120
18121 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
18122
0300bbc7
DE
181232015-01-02 Doug Evans <dje@google.com>
18124
18125 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
18126
9d85a0ec
YQ
181272014-12-29 Yao Qi <yao@codesourcery.com>
18128
18129 * gdb.trace/entry-values.exp: Update comments. Rename variable
18130 bar_call_foo to returned_from_foo.
18131
87186c6a
MMN
181322014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
18133
18134 PR gdb/17394
18135 * gdb.linespec/break-asm-file.c: New file.
18136 * gdb.linespec/break-asm-file.exp: New file.
18137 * gdb.linespec/break-asm-file0.s: New file.
18138 * gdb.linespec/break-asm-file1.s: New file.
18139
1bab7383
YQ
181402014-12-18 Nigel Stephens <nigel@mips.com>
18141 Maciej W. Rozycki <macro@codesourcery.com>
18142
18143 * gdb.base/float.exp: Handle the new output from "info float" on
18144 MIPS targets.
18145
1bc1068a
JK
181462014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18147
18148 Fix MinGW compilation.
18149 * gdb.compile/compile-ops.exp: Update untested message if
18150 !skip_compile_feature_tests.
18151 * gdb.compile/compile-setjmp.exp: Likewise.
18152 * gdb.compile/compile-tls.exp: Likewise.
18153 * gdb.compile/compile.exp: Likewise.
18154 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
18155 supported on this host".
18156
b6615d10
DE
181572014-12-16 Doug Evans <xdje42@gmail.com>
18158
18159 * boards/stabs.exp: New file.
18160
25dda427
AA
181612014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
18162
18163 * gdb.base/completion.exp: Adjust to format changes of "maint
18164 print user-registers".
18165
bf330350
CU
181662014-12-16 Catalin Udma <catalin.udma@freescale.com>
18167
18168 PR server/17457
18169 * gdb.arch/aarch64-fp.c: New file.
18170 * gdb.arch/aarch64-fp.exp: New file.
18171
395cf596
SDJ
181722014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
18173
18174 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
18175 r210637, r210913, r211666, r215400, r215817).
18176
18177 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
18178 * dg-extract-results.py: New file.
18179 * dg-extract-results.sh: Use it if the environment seems
18180 suitable.
18181
18182 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
18183
18184 * dg-extract-results.py (parse_run): Handle warnings that
18185 are printed before a test harness is run.
18186
18187 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
18188
18189 * dg-extract-results.py (Named): Remove __cmp__ method.
18190 (output_variation): Use a key to sort variation.harnesses.
18191
18192 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
18193
18194 * dg-extract-results.py: For Python 3, force sys.stdout to
18195 handle surrogate escape sequences.
18196 (safe_open): New function.
18197 (output_segment, main): Use it.
18198
18199 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
18200
18201 * dg-extract-results.py (Prog.result_re): Include options
18202 in test name.
18203
18204 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
18205
18206 * dg-extract-results.py (output_variation): Always sort if
18207 do_sum.
18208
e882ef3c
SM
182092014-12-15 Simon Marchi <simon.marchi@ericsson.com>
18210
18211 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
18212 as long as we get pagination notifications.
18213
4992aa20
JM
182142014-12-15 Jason Merrill <jason@redhat.com>
18215
18216 * Makefile.in (check-gdb.%): Restore.
18217 * README: Mention it.
18218
c1b5a1a6
JB
182192014-12-13 Joel Brobecker <brobecker@adacore.com>
18220
18221 * gdb.ada/str_uninit: New testcase.
18222
5537b577
JK
182232014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18224
18225 PR symtab/17642
18226 * gdb.base/vla-stub-define.c: New file.
18227 * gdb.base/vla-stub.c: New file.
18228 * gdb.base/vla-stub.exp: New file.
18229
bb2ec1b3
TT
182302014-12-12 Phil Muldoon <pmuldoon@redhat.com>
18231 Jan Kratochvil <jan.kratochvil@redhat.com>
18232 Tom Tromey <tromey@redhat.com>
18233
18234 * configure.ac: Add gdb.compile/.
18235 * configure: Regenerate.
18236 * gdb.compile/Makefile.in: New file.
18237 * gdb.compile/compile-ops.exp: New file.
18238 * gdb.compile/compile-ops.c: New file.
18239 * gdb.compile/compile-tls.c: New file.
18240 * gdb.compile/compile-tls.exp: New file.
18241 * gdb.compile/compile-constvar.S: New file.
18242 * gdb.compile/compile-constvar.c: New file.
18243 * gdb.compile/compile-mod.c: New file.
18244 * gdb.compile/compile-nodebug.c: New file.
18245 * gdb.compile/compile-setjmp-mod.c: New file.
18246 * gdb.compile/compile-setjmp.c: New file.
18247 * gdb.compile/compile-setjmp.exp: New file.
18248 * gdb.compile/compile-shlib.c: New file.
18249 * gdb.compile/compile.c: New file.
18250 * gdb.compile/compile.exp: New file.
18251 * lib/gdb.exp (skip_compile_feature_tests): New proc.
18252
4ff709eb
TT
182532014-12-12 Tom Tromey <tromey@redhat.com>
18254
18255 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
18256 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
18257
6dddd6a5
DE
182582014-12-12 Doug Evans <dje@google.com>
18259
18260 * lib/gdb-python.exp (get_python_valueof): New function.
18261 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
18262
71c24708
AA
182632014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18264
18265 * gdb.base/completion.exp: Add test for completion of "info
18266 registers ".
18267
3e29f34a
MR
182682014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
18269
18270 * gdb.base/func-ptrs.c: New file.
18271 * gdb.base/func-ptrs.exp: New file.
18272
fc126975
SM
182732014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18274
18275 PR breakpoints/17012
18276 * gdb.base/dprintf-detach.c: New file.
18277 * gdb.base/dprintf-detach.exp: New file.
18278
0a46d518
SM
182792014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18280
18281 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
18282 * lib/gdb.exp (target_is_gdbserver): New procedure.
18283
a0be3e44
DE
182842014-12-08 Doug Evans <dje@google.com>
18285
18286 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
18287
df1b803a
YQ
182882014-12-05 Yao Qi <yao@codesourcery.com>
18289
18290 * gdb.guile/scm-error.exp: Remove the third argument to
18291 gdb_remote_download.
18292 * gdb.guile/scm-frame-args.exp: Likewise.
18293 * gdb.guile/scm-section-script.exp: Likewise.
18294
ddb9f679
YQ
182952014-12-05 Yao Qi <yao@codesourcery.com>
18296
18297 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
18298
86e4ed39
DE
182992014-12-04 Doug Evans <dje@google.com>
18300
18301 * gdb.python/py-objfile.exp: Add tests for
18302 objfile.add_separate_debug_file.
18303
7c50a931
DE
183042014-12-04 Doug Evans <dje@google.com>
18305
18306 * lib/gdb.exp (get_build_id): New function.
18307 (build_id_debug_filename_get): Rewrite to use it.
18308 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
18309
621661e3
MR
183102014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
18311
18312 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
18313 `method(long)', not just 0x0.
18314 * gdb.cp/nsalias.exp: Align code labels to 4.
18315 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
18316 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
18317 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
18318 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
18319 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
18320 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
18321
29f0c3b7
DE
183222014-12-02 Doug Evans <dje@google.com>
18323
e1e061e7 18324 PR symtab/17602
29f0c3b7 18325 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 18326 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
18327 * gdb.cp/anon-ns.exp: Update.
18328
162078c8
NB
183292014-12-02 Nick Bull <nicholaspbull@gmail.com>
18330
18331 * gdb.python/py-events.py (inferior_call_handler): New.
18332 (register_changed_handler, memory_changed_handler): New.
18333 (test_events.invoke): Register new handlers.
18334 * gdb.python/py-events.exp: Add tests for inferior call,
18335 memory_changed and register_changed events.
18336
fdb09caf
AA
183372014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18338
18339 * gdb.base/execl-update-breakpoints.exp: Specify the link address
18340 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
18341 if the linker doesn't understand this.
18342
55cfb2c4
SM
183432014-12-01 Simon Marchi <simon.marchi@ericsson.com>
18344
18345 * gdb.python/python.exp: Change expected reply to help().
18346
9e8cd6df
YQ
183472014-12-01 Yao Qi <yao@codesourcery.com>
18348
18349 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
18350 AC_CONFIG_SUBDIRS(gdb.gdbtk).
18351 * configure: Re-generated.
18352
6c659fc2
SC
183532014-11-28 Siva Chandra Reddy <sivachandra@google.com>
18354
18355 * gdb.cp/chained-calls.cc: New file.
18356 * gdb.cp/chained-calls.exp: New file.
18357 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
18358
d7fc3181
SM
183592014-11-28 Simon Marchi <simon.marchi@ericsson.com>
18360
18361 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
18362 * gdb.dwarf2/symtab-producer.exp: Same.
18363 * gdb.gdb/python-interrupts.exp: Same.
18364 * gdb.gdb/python-selftest.exp: Same.
18365 * gdb.python/py-linetable.exp: Same.
18366 * gdb.python/py-type.exp: Same.
18367 * gdb.python/py-value-cc.exp: Same.
18368 * gdb.python/py-value.exp: Same.
18369
10e79639
YQ
183702014-11-28 Yao Qi <yao@codesourcery.com>
18371
18372 * gdb.base/break-probes.exp: Match library name prefixed with
18373 sysroot.
18374
f28a0564
SM
183752014-11-27 Simon Marchi <simon.marchi@ericsson.com>
18376
18377 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
18378 test expected output. Add parentheses for the call to print.
18379 Remove L suffix from integers.
18380
3fe1ce1d
DE
183812014-11-26 Doug Evans <dje@google.com>
18382
18383 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
18384
84429e27
YQ
183852014-11-22 Yao Qi <yao@codesourcery.com>
18386
18387 * gdb.trace/entry-values.c: Remove asms.
18388 (foo): Add foo_label.
18389 (bar): Add bar_label.
18390 * gdb.trace/entry-values.exp: Remove code computing foo's
18391 length and bar's length.
18392 (Dwarf::assemble): Invoke function_range for bar and use
18393 MACRO_AT_func for foo.
18394
26741859
YQ
183952014-11-22 Yao Qi <yao@codesourcery.com>
18396
18397 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
18398 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
18399 Use .Lgcc43_procstart instead of gcc43.
18400
45e44d27
JB
184012014-11-21 Joel Brobecker <brobecker@adacore.com>
18402
18403 * gdb.ada/n_arr_bound: New testcase.
18404
458c8db8
SDJ
184052014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
18406
18407 PR breakpoints/10737
18408 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
18409 test_catch_syscall_multi_arch.
18410 (test_catch_syscall_multi_arch): New function.
18411
43f3e411
DE
184122014-11-20 Doug Evans <xdje42@gmail.com>
18413
18414 * gdb.base/maint.exp: Update expected output.
18415
0d7b2549
AA
184162014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
18417
18418 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
18419 4-byte instruction on S390.
18420
8908fca5
JB
184212014-11-19 Joel Brobecker <brobecker@adacore.com>
18422
18423 * gdb.ada/arr_arr: New testcase.
18424
4a46959e
JB
184252014-11-19 Joel Brobecker <brobecker@adacore.com>
18426
18427 * gdb.ada/pkd_arr_elem: New Testcase.
18428
470e2f4e
LM
184292014-11-18 Luis Machado <lgustavo@codesourcery.com>
18430
18431 * gdb.reverse/break-precsave: Expect completion message for
18432 core file reads.
18433 * gdb.reverse/consecutive-precsave.exp: Likewise.
18434 * gdb.reverse/finish-precsave.exp: Likewise.
18435 * gdb.reverse/i386-precsave.exp: Likewise.
18436 * gdb.reverse/machinestate-precsave.exp: Likewise.
18437 * gdb.reverse/sigall-precsave.exp: Likewise.
18438 * gdb.reverse/solib-precsave.exp: Likewise.
18439 * gdb.reverse/step-precsave.exp: Likewise.
18440 * gdb.reverse/until-precsave.exp: Likewise.
18441 * gdb.reverse/watch-precsave.exp: Likewise.
18442
a267f3ad
AA
184432014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18444
18445 * gdb.base/bp-permanent.c: Include unistd.h.
18446 * gdb.python/py-framefilter-mi.c (main): Add return type.
18447 * gdb.python/py-framefilter.c (main): Likewise.
18448 * gdb.trace/actions-changed.c (main): Likewise.
18449
12084a9a
AA
184502014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18451
18452 * gdb.mi/until.c: Add eye-catchers.
18453 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
18454 line numbers.
18455
dc7e1a77
AA
184562014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18457
18458 * gdb.base/condbreak.exp: Drop references to removed non-prototype
18459 function header variants in break1.c.
18460 * gdb.base/ena-dis-br.exp: Likewise.
18461 * gdb.base/hbreak2.exp: Likewise.
18462 * gdb.reverse/until-precsave.exp: Drop references to removed
18463 non-prototype function header variants in ur1.c.
18464 * gdb.reverse/until-reverse.exp: Likewise.
18465
41c77605
PM
184662014-11-17 Petr Machata <pmachata@redhat.com>
18467
18468 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
18469 ${_cu_offset_size} bytes abbrev offset.
18470
34248c3a
DE
184712014-11-15 Doug Evans <xdje42@gmail.com>
18472
18473 PR symtab/17559
18474 * gdb.base/line-symtabs.exp: New file.
18475 * gdb.base/line-symtabs.c: New file.
18476 * gdb.base/line-symtabs.h: New file.
18477
646da059
YQ
184782014-11-14 Yao Qi <yao@codesourcery.com>
18479
18480 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
18481 (func): Add label func_label.
18482 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
18483 Replace low_pc and high_pc with MACRO_AT_range.
18484 Replace name, low_pc and high_pc with MACRO_AT_func.
18485
9301ebe6
YQ
184862014-11-14 Yao Qi <yao@codesourcery.com>
18487
18488 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
18489 Replace name, low_pc and high_pc with MACRO_AT_func.
18490
f166b542
YQ
184912014-11-14 Yao Qi <yao@codesourcery.com>
18492
18493 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
18494 produce debug information.
18495 * gdb.dwarf2/implptr-optimized-out.S: Removed.
18496
0f6e71e3
YQ
184972014-11-14 Yao Qi <yao@codesourcery.com>
18498
18499 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
18500 object and get function length.
18501 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
18502 with MACRO_AT_func.
18503 (top-level): Replace gdb_compile and clean_restart with
18504 prepare_for_testing.
18505 * gdb.dwarf2/main.c (main): Add label main_label.
18506
876c4df9
YQ
185072014-11-14 Yao Qi <yao@codesourcery.com>
18508
18509 * lib/dwarf.exp (function_range): New procedure.
18510 (Dwarf::_handle_macro_at_func): New procedure.
18511 (Dwarf::_handle_macro_at_range): New procedure.
18512 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
18513
02ad9cf1
YQ
185142014-11-14 Yao Qi <yao@codesourcery.com>
18515
18516 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
18517 (_handle_attribute): New procedure.
18518
a59add0c
AA
185192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18520
18521 * gdb.ada/cond_lang/foo.c (callme): Add return type.
18522 * gdb.base/call-sc.c (zed): Likewise.
18523 * gdb.base/checkpoint.c (main): Likewise.
18524 * gdb.base/dump.c (main): Likewise.
18525 * gdb.base/gcore.c (main): Likewise.
18526 * gdb.base/huge.c (main): Likewise.
18527 * gdb.base/multi-forks.c (main): Likewise.
18528 * gdb.base/pr10179-a.c (main): Likewise.
18529 * gdb.base/savedregs.c (main): Likewise.
18530 * gdb.base/sigaltstack.c (main): Likewise.
18531 * gdb.base/siginfo.c (main): Likewise.
18532 * gdb.base/structs.c (zed): Likewise.
18533 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
18534 * gdb.mi/mi-syn-frame.c (main): Likewise.
18535 * gdb.mi/until.c (foo, main): Likewise.
18536 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
18537 * gdb.base/solib-weak.c (foo): Declare.
18538 * gdb.base/attach-twice.c: Include stdio.h.
18539 * gdb.base/weaklib1.c: Likewise.
18540 * gdb.base/weaklib2.c: Likewise.
18541 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
18542 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
18543 unistd.h.
18544 * gdb.base/attach-pie-misread.c: Include stdlib.h.
18545 * gdb.mi/mi-exit-code.c: Likewise.
18546 * gdb.base/break-interp-lib.c: Include string.h.
18547 * gdb.base/coremaker.c: Likewise.
18548 * gdb.base/testenv.c: Likewise.
18549 * gdb.python/py-finish-breakpoint.c: Likewise.
18550 * gdb.base/inferior-died.c: Include sys/wait.h.
18551 * gdb.base/fileio.c: Include time.h.
18552 * gdb.base/async-shell.c: Include unistd.h.
18553 * gdb.base/dprintf-non-stop.c: Likewise.
18554 * gdb.base/info-os.c: Likewise.
18555 * gdb.mi/mi-console.c: Likewise.
18556 * gdb.mi/watch-nonstop.c: Likewise.
18557 * gdb.python/py-events.c: Likewise.
18558 * gdb.base/async.c (baz): Move up before its invocation.
18559 * gdb.base/code_elim2.c (my_global_func): Likewise.
18560 * gdb.base/skip-solib-lib.c (multiply): Likewise.
18561 * gdb.base/advance.c (func2): Likewise.
18562
3b5d5997
AA
185632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18564
18565 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
18566 variant.
18567 * gdb.base/annota3.c: Likewise.
18568 * gdb.base/async.c: Likewise.
18569 * gdb.base/average.c: Likewise.
18570 * gdb.base/call-ar-st.c: Likewise.
18571 * gdb.base/call-rt-st.c: Likewise.
18572 * gdb.base/call-sc.c: Likewise.
18573 * gdb.base/call-strs.c: Likewise.
18574 * gdb.base/ending-run.c: Likewise.
18575 * gdb.base/execd-prog.c: Likewise.
18576 * gdb.base/exprs.c: Likewise.
18577 * gdb.base/foll-exec.c: Likewise.
18578 * gdb.base/foll-fork.c: Likewise.
18579 * gdb.base/foll-vfork.c: Likewise.
18580 * gdb.base/funcargs.c: Likewise.
18581 * gdb.base/gcore.c: Likewise.
18582 * gdb.base/jump.c: Likewise.
18583 * gdb.base/langs0.c: Likewise.
18584 * gdb.base/langs1.c: Likewise.
18585 * gdb.base/langs2.c: Likewise.
18586 * gdb.base/mips_pro.c: Likewise.
18587 * gdb.base/nodebug.c: Likewise.
18588 * gdb.base/opaque0.c: Likewise.
18589 * gdb.base/opaque1.c: Likewise.
18590 * gdb.base/recurse.c: Likewise.
18591 * gdb.base/run.c: Likewise.
18592 * gdb.base/scope0.c: Likewise.
18593 * gdb.base/scope1.c: Likewise.
18594 * gdb.base/setshow.c: Likewise.
18595 * gdb.base/setvar.c: Likewise.
18596 * gdb.base/shmain.c: Likewise.
18597 * gdb.base/shr1.c: Likewise.
18598 * gdb.base/shr2.c: Likewise.
18599 * gdb.base/sigall.c: Likewise.
18600 * gdb.base/signals.c: Likewise.
18601 * gdb.base/so-indr-cl.c: Likewise.
18602 * gdb.base/solib2.c: Likewise.
18603 * gdb.base/structs.c: Likewise.
18604 * gdb.base/sum.c: Likewise.
18605 * gdb.base/vforked-prog.c: Likewise.
18606 * gdb.base/watchpoint.c: Likewise.
18607 * gdb.reverse/shr2.c: Likewise.
18608 * gdb.reverse/until-reverse.c: Likewise.
18609 * gdb.reverse/ur1.c: Likewise.
18610 * gdb.reverse/watch-reverse.c: Likewise.
18611
066a77c5
AA
186122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18613
18614 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
18615 variant.
18616 * gdb.base/sepdebug.exp: Drop references to removed code.
18617
4f204ea5
AA
186182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18619
18620 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
18621 variant. Preserve original line numbering.
18622 * gdb.base/list1.c: Likewise.
18623
3b377a3a
AA
186242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18625
18626 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
18627 variant.
18628 * gdb.base/break1.c: Likewise.
18629 * gdb.base/break.exp: Drop references to removed code.
18630
e444df73
AA
186312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18632
18633 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
18634 variant.
18635
8008f2a7
AA
186362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18637
18638 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
18639
a5a06887
AA
186402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18641
18642 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
18643 logic into perform_all_tests() and invoke it with and without
18644 function header prototypes.
18645 (do_function_calls): Remove conditional XFAIL for PR 5318.
18646 (rerun_and_prepare): Remove duplicate code.
18647 (perform_all_tests): New. Main logic moved here.
18648
44dba9b9
AA
186492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18650
18651 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
18652 code guarded by #ifdef NO_PROTOTYPES.
18653 (t_double_many_args): Likewise.
18654 (DEF_FUNC_MANY_ARGS_1): Likewise.
18655 (DEF_FUNC_VALUES_1): Likewise.
18656 (t_structs_ldc): Renamed from t_structs_fc in conditional code
18657 guarded by #ifdef PROTOTYPES.
18658
d1fbcd56
AA
186592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18660
18661 * gdb.mi/mi-console.c: Add eye-catcher.
18662 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
18663 instead of literal line number.
18664
b0e59b8f
AA
186652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18666
18667 * gdb.base/shr2.c: Add eye-catcher.
18668 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
18669 line number.
18670
78f98cca
AA
186712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18672
18673 * gdb.base/jump.c: Add eye-catchers.
18674 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
18675 numbers.
18676
58fa2af0
AA
186772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18678
18679 * gdb.base/execd-prog.c: Add eye-catchers.
18680 * gdb.base/foll-exec.c: Likewise.
18681 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
18682 line numbers.
18683
04e5059b
AA
186842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18685
18686 * gdb.base/ending-run.c: Add eye-catchers.
18687 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
18688 literal line numbers.
18689
dbfdb174
AA
186902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18691
18692 * gdb.base/call-rt-st.c: Add eye-catchers.
18693 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
18694 literal line numbers.
18695
888a2ade
AA
186962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18697
18698 * gdb.base/call-ar-st.c: Add eye-catchers.
18699 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
18700 literal line numbers.
18701
6acc2dde
AA
187022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18703
18704 * gdb.base/average.c: Add eye-catchers.
18705 * gdb.base/sum.c: Likewise.
18706 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
18707 regexps dynamically.
18708
9ecfcd1d
AA
187092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18710
18711 * gdb.base/solib1.c: Add eye-catchers.
18712 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
18713 literal line numbers.
18714
78708b7c
PA
187152014-11-12 Pedro Alves <palves@redhat.com>
18716
18717 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
18718 leader has exited.
18719
af48d08f
PA
187202014-11-12 Pedro Alves <palves@redhat.com>
18721
18722 * gdb.arch/i386-bp_permanent.c: New file.
18723 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
18724 (srcfile): Set to i386-bp_permanent.c.
18725 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
18726 that stepi does not execute the 'leave' instruction, instead of
18727 testing it does execute.
18728 * gdb.base/bp-permanent.c: New file.
18729 * gdb.base/bp-permanent.exp: New file.
18730
af3768e9
DE
187312014-11-10 Doug Evans <xdje42@gmail.com>
18732
18733 PR symtab/17564
18734 * gdb.base/symtab-search-order.exp: New file.
18735 * gdb.base/symtab-search-order.c: New file.
18736 * gdb.base/symtab-search-order-1.c: New file.
18737 * gdb.base/symtab-search-order-shlib-1.c: New file.
18738
9de00a4a
PA
187392014-11-07 Pedro Alves <palves@redhat.com>
18740
18741 PR gdb/17511
18742 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
18743 i?86-*-linux*.
18744
e0f52461
SC
187452014-11-03 Siva Chandra Reddy <sivachandra@google.com>
18746
18747 PR c++/17494
18748 * gdb.cp/pr17494.cc: New file.
18749 * gdb.cp/pr17494.exp: New file.
18750
6ce8c980
YQ
187512014-11-02 Yao Qi <yao@codesourcery.com>
18752
18753 * gdb.python/python.exp: Get working directory and match the
18754 output of "set extended-prompt \\w " with it.
18755
02be9a71
DE
187562014-10-30 Doug Evans <dje@google.com>
18757
18758 * gdb.python/py-objfile.exp: Add tests for setting random attributes
18759 in objfiles.
18760 * gdb.python/py-progspace.exp: Add tests for setting random attributes
18761 in progspaces.
18762
3bdff46b
LM
187632014-10-30 Janis Johnson <janisjo@codesourcery.com>
18764
18765 * gdb.base/fullpath-expand.exp: Skip for a remote host.
18766 * gdb.base/realname-expand.exp: Likewise.
18767 * gdb.linespec/macro-relative.exp: Likewise.
18768
ab917dfb
PA
187692014-10-29 Pedro Alves <palves@redhat.com>
18770
18771 PR gdb/17408
18772 * gdb.threads/schedlock.c (some_function): New function.
18773 (call_function): New global.
18774 (MAYBE_CALL_SOME_FUNCTION): New macro.
18775 (thread_function): Call it.
18776 * gdb.threads/schedlock.exp (get_args): Add description parameter,
18777 and use it instead of a global counter. Adjust all callers.
18778 (get_current_thread): Use "find current thread" for test message
18779 here rather than having all callers pass down the same string.
18780 (goto_loop): New procedure, factored out from ...
18781 (my_continue): ... this.
18782 (step_ten_loops): Change parameter from test message to command to
18783 use. Adjust.
18784 (list_count): Delete global.
18785 (check_result): New procedure, factored out from duplicate top
18786 level code.
18787 (continue tests): Wrap in with_test_prefix.
18788 (test_step): New procedure, factored out from duplicate top level
18789 code.
18790 (top level): Test "step" in combination with all scheduler-locking
18791 modes. Test "next" in combination with all scheduler-locking
18792 modes, and in combination with stepping over a function call or
18793 not.
18794 * gdb.threads/next-bp-other-thread.c: New file.
18795 * gdb.threads/next-bp-other-thread.exp: New file.
18796
d3d4baed
PA
187972014-10-29 Pedro Alves <palves@redhat.com>
18798
18799 PR python/17372
18800 * gdb.python/python.exp: Test a multi-line command that spawns
18801 interactive Python.
18802 * gdb.base/multi-line-starts-subshell.exp: New file.
18803
563e8d85
YQ
188042014-10-29 Yao Qi <yao@codesourcery.com>
18805
18806 * gdb.base/fileio.exp: Make directories on host.
18807
0ea4d52e
YQ
188082014-10-29 Yao Qi <yao@codesourcery.com>
18809
18810 * gdb.base/fileio.c (test_write): Close the file.
18811
7f5ef605
PA
188122014-10-28 Pedro Alves <palves@redhat.com>
18813
18814 PR gdb/12623
18815 * gdb.base/sigstep.c (no_handler): New global.
18816 (main): If 'no_handler is true, set the signal handlers to
18817 SIG_IGN.
18818 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
18819 with_sw_watch and no_handler parameters. Handle them.
18820 (top level) <stepping over handler when stopped at a breakpoint
18821 test>: Add a test axis for testing with a software watchpoint, and
18822 another for testing with the signal handler set to SIG_IGN.
18823 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
18824 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
18825
abbdbd03
PA
188262014-10-28 Pedro Alves <palves@redhat.com>
18827
18828 PR gdb/17511
18829 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
18830 * gdb.base/sigstep.exp (other_handler_location): New global.
18831 (advance): Support stepping into the signal handler, and running
18832 commands while in the handler.
18833 (in_handler_map): New global.
18834 (top level): In the advance test, add combinations for getting
18835 into the handler with stepping commands, and for running commands
18836 in the handler. Add comment descripting the advancei tests.
18837
1df4399f
PA
188382014-10-28 Pedro Alves <palves@redhat.com>
18839
18840 * gdb.base/sigstep.exp: Use build_executable instead of
18841 prepare_for_testing.
18842 (top level): Move code that starts GDB, runs to main and creates a
18843 display to ...
18844 (restart): ... this new procedure.
18845 (top level): Move backtrace from signal handler test to ...
18846 (validate_backtrace): ... this new procedure.
18847 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
18848 with_test_prefix. Always restart GDB.
18849 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
18850 with_test_prefix. Always restart GDB. No need to delete
18851 breakpoints after the test.
18852 (test_skip_handler): Remove prefix parameter.
18853 (skip_over_handler, breakpoint_to_handler)
18854 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
18855 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
18856 restart GDB. No need to delete breakpoints after the test.
18857 (top level): Use foreach to call the test procedures with
18858 different commands.
18859
a5b6e449
PA
188602014-10-28 Pedro Alves <palves@redhat.com>
18861
18862 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
18863 instead of GNATS numbers.
18864 * gdb.base/sigbpt.exp: Likewise.
18865 * gdb.base/siginfo.exp: Likewise.
18866 * gdb.base/sigstep.exp: Likewise.
18867
e5f8a7cc
PA
188682014-10-27 Pedro Alves <palves@redhat.com>
18869
18870 * gdb.base/sigstep.c (dummy): New global.
18871 (main): Issue a couple writes to the new global.
18872 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
18873 procedures.
18874 (skip_over_handler): Use test_skip_handler.
18875 (top level): Call skip_over_handler for stepi and nexti too.
18876 (breakpoint_over_handler): Use test_skip_handler.
18877 (top level): Call breakpoint_over_handler for stepi and nexti too.
18878
763905a3
YQ
188792014-10-27 Yao Qi <yao@codesourcery.com>
18880
18881 * gdb.trace/tfile.c (adjust_function_address)
18882 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
18883 function descriptor.
18884
6f259a23
DB
188852014-10-24 Don Breazeal <donb@codesourcery.com>
18886
18887 * gdb.base/foll-fork.exp (test_follow_fork,
18888 catch_fork_child_follow): Check for updated fork messages emitted
18889 from infrun.c.
18890 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
18891 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
18892 vfork_and_exec_child_follow_through_step): Check for updated vfork
18893 messages emitted from infrun.c.
18894
09dd9a69
PA
188952014-10-24 Pedro Alves <palves@redhat.com>
18896
18897 * gdb.base/corefile.exp: Remove references to ultrix.
18898 * gdb.base/interrupt.exp: Likewise.
18899 * gdb.base/whatis.exp: Likewise.
18900 * gdb.gdb/selftest.exp: Likewise.
18901 * gdb.threads/manythreads.exp: Likewise.
18902 * gdb.threads/print-threads.exp: Likewise.
18903 * gdb.threads/pthreads.exp:: Likewise.
18904 * gdb.threads/schedlock.exp: Likewise.
18905
3433cfa5
SC
189062014-10-24 Siva Chandra Reddy <sivachandra@google.com>
18907
18908 * gdb.cp/non-trivial-retval.cc: Add a test case.
18909 * gdb.cp/non-trivial-retval.exp: Add a test.
18910
092f880b
YQ
189112014-10-20 Yao Qi <yao@codesourcery.com>
18912
18913 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
18914 * gdb.python/py-objfile-script-gdb.py: New file.
18915 * gdb.python/py-objfile-script.exp: Update reference to
18916 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
18917 of remote_download. Remove the dest file.
18918
acbdb7f3
YQ
189192014-10-20 Yao Qi <yao@codesourcery.com>
18920
18921 * gdb.base/checkpoint.exp: Don't remove file copied on host.
18922 * gdb.base/step-line.exp: Likewise.
18923 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18924 * gdb.dwarf2/dw2-basic.exp: Likewise.
18925 * gdb.dwarf2/dw2-compressed.exp: Likewise.
18926 * gdb.dwarf2/dw2-filename.exp: Likewise.
18927 * gdb.dwarf2/dw2-intercu.exp: Likewise.
18928 * gdb.dwarf2/dw2-intermix.exp: Likewise.
18929 * gdb.dwarf2/dw2-producer.exp: Likewise.
18930 * gdb.dwarf2/mac-fileno.exp: Likewise.
18931 * gdb.python/py-frame-args.exp: Likewise.
18932 * gdb.python/py-framefilter.exp: Likewise.
18933 * gdb.python/py-mi.exp: Likewise.
18934 * gdb.python/py-objfile-script.exp: Likewise
18935 * gdb.python/py-pp-integral.exp: Likewise.
18936 * gdb.python/py-pp-re-notag.exp: Likewise.
18937 * gdb.python/py-prettyprint.exp: Likewise.
18938 * gdb.python/py-section-script.exp: Likewise.
18939 * gdb.python/py-typeprint.exp: Likewise.
18940 * gdb.python/py-xmethods.exp: Likewise.
18941 * gdb.stabs/weird.exp: Likewise.
18942 * gdb.xml/tdesc-regs.exp: Likewise.
18943
bd286a29
KCY
189442014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
18945
18946 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
18947 (out_cu): Use addr_len for the size of addresses.
18948 (out_line): Likewise. Size DW_LNE_set_address instruction
18949 according to addr_len.
18950 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
18951 (FUNC): Add START_INSNS to definition.
18952
673dc4a0
YQ
189532014-10-18 Yao Qi <yao@codesourcery.com>
18954
18955 * gdb.base/argv0-symlink.exp: Check argv[0] value if
18956 gdb_has_argv0 return true.
18957 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
18958 check [target_info exists noargs], check [gdb_has_argv0]
18959 instead.
18960 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18961 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
18962 procedures.
18963
4ffbba72
DE
189642014-10-17 Doug Evans <dje@google.com>
18965
18966 * gdb.python/py-events.exp: Update expected output for clear_objfiles
18967 event.
18968 * gdb.python/py-events.py: Add clear_objfiles event.
18969
d096d8c1
DE
189702014-10-17 Doug Evans <dje@google.com>
18971
18972 * gdb.python/py-objfile.exp: Test progspace attribute.
18973
a80db015
LM
189742014-10-17 Luis Machado <lgustavo@codesourcery.com>
18975
18976 * gdb.guile/scm-breakpoint.exp: Do not assume any
18977 directory separators when matching source file paths.
18978 * gdb.python/py-breakpoint.exp: Likewise.
18979 * gdb.reverse/break-precsave.exp: Likewise.
18980 * gdb.reverse/break-reverse.exp: Likewise.
18981 * gdb.reverse/consecutive-precsave.exp: Likewise.
18982 * gdb.reverse/finish-precsave.exp: Likewise.
18983 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
18984 * gdb.reverse/finish-reverse.exp: Likewise.
18985 * gdb.reverse/i386-precsave.exp: Likewise.
18986 * gdb.reverse/i387-env-reverse.exp: Likewise.
18987 * gdb.reverse/i387-stack-reverse.exp: Likewise.
18988 * gdb.reverse/machinestate-precsave.exp: Likewise.
18989 * gdb.reverse/machinestate.exp: Likewise.
18990 * gdb.reverse/sigall-precsave.exp: Likewise.
18991 * gdb.reverse/solib-precsave.exp: Likewise.
18992 * gdb.reverse/step-precsave.exp: Likewise.
18993 * gdb.reverse/until-precsave.exp: Likewise.
18994 * gdb.reverse/watch-precsave.exp: Likewise.
18995 * gdb.reverse/watch-reverse.exp: Likewise.
18996
b22089ab
YQ
189972014-10-17 Yao Qi <yao@codesourcery.com>
18998
18999 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
19000 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
19001
6c4486e6
PA
190022014-10-17 Pedro Alves <palves@redhat.com>
19003
19004 PR gdb/17471
19005 * gdb.base/bg-execution-repeat.c: New file.
19006 * gdb.base/bg-execution-repeat.exp: New file.
19007
0ff33695
PA
190082014-10-17 Pedro Alves <palves@redhat.com>
19009
19010 PR gdb/17300
19011 * gdb.base/continue-all-already-running.c: New file.
19012 * gdb.base/continue-all-already-running.exp: New file.
19013
6fdebc3d
PA
190142014-10-17 Pedro Alves <palves@redhat.com>
19015
19016 PR gdb/17472
19017 * gdb.base/annota-input-while-running.c: New file.
19018 * gdb.base/annota-input-while-running.exp: New file.
19019
32a8097b
PA
190202014-10-17 Pedro Alves <palves@redhat.com>
19021
19022 * gdb.base/callfuncs.exp: emove references to osf.
19023 * gdb.base/sigall.exp: Likewise.
19024 * gdb.gdb/selftest.exp: Likewise.
19025 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
19026 * gdb.mi/non-stop.c: Likewise.
19027 * gdb.mi/pthreads.c: Likewise.
19028 * gdb.reverse/sigall-precsave.exp: Likewise.
19029 * gdb.reverse/sigall-reverse.exp: Likewise.
19030 * gdb.threads/pthreads.c: Likewise.
19031 * gdb.threads/pthreads.exp: Likewise.
19032
7a3517ff
YQ
190332014-10-17 Yao Qi <yao@codesourcery.com>
19034
19035 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
19036 check 'target_info exists noargs'.
19037 (test_command_prompt_position): Likewise.
19038 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
19039 Remove "set args".
19040 (progvar_simple_while_test): Likewise.
19041 (progvar_complex_if_while_test): Likewise.
19042 (if_while_breakpoint_command_test): Likewise.
19043 (infrun_breakpoint_command_test): Likewise.
19044 (breakpoint_command_test): Likewise.
19045 (watchpoint_command_test): Likewise.
19046 (bp_deleted_in_command_test): Likewise.
19047 (temporary_breakpoint_commands): Likewise.
19048
bb99c472
YQ
190492014-10-16 Yao Qi <yao@codesourcery.com>
19050
19051 * gdb.base/remotetimeout.exp: Remove noargs checking.
19052
7c16b83e
PA
190532014-10-15 Pedro Alves <palves@redhat.com>
19054
19055 PR breakpoints/9649
19056 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
19057 * gdb.base/breakpoint-in-ro-region.exp
19058 (probe_target_hardware_step): New procedure.
19059 (top level): Probe hardware stepping and hardware breakpoint
19060 support. Test stepping through a read-only region, with both
19061 "breakpoint auto-hw" on and off and both "always-inserted" on and
19062 off.
19063
35a49624
IB
190642014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
19065
19066 * gdb.dlang/demangle.exp: Update for demangling changes.
19067
2d1c107c
SC
190682014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19069
19070 * gdb.cp/non-trivial-retval.cc: Add new test cases.
19071 * gdb.cp/non-trivial-retval.exp: Add new tests.
19072
778811d5
SC
190732014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19074
19075 PR c++/13403
19076 PR c++/15154
19077 * gdb.cp/non-trivial-retval.cc: New file.
19078 * gdb.cp/non-trivial-retval.exp: New file.
19079
10c5f0a8
YQ
190802014-10-15 Yao Qi <yao@codesourcery.com>
19081
19082 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
19083 remote host.
19084
65d7b369
YQ
190852014-10-15 Yao Qi <yao@codesourcery.com>
19086
19087 * gdb.python/py-symbol.exp: Match file base name if host is
19088 remote, otherwise match file name with dir name.
19089 * gdb.python/py-symtab.exp: Likewise.
19090 * gdb.python/python.exp: Likewise.
19091
46dc1394
YQ
190922014-10-15 Yao Qi <yao@codesourcery.com>
19093
19094 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
19095 pattern.
19096 * gdb.python/py-symtab.exp: Likewise.
19097 * gdb.python/python.exp: Remove trailing ".*". Fix typo
19098 locationn.
19099
c40cc657
JB
191002014-10-14 Joel Brobecker <brobecker@adacore.com>
19101
19102 * gdb.ada/addr_arith: New testcase.
19103
2abf49e1
MR
191042014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
19105
19106 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
19107 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
19108 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
19109 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
19110
f7088df3
SDJ
191112014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
19112
19113 * gdb.arch/stap-eval-lang-ada.S: Likewise.
19114 * gdb.arch/stap-eval-lang-ada.c: Likewise.
19115 * gdb.arch/stap-eval-lang-ada.exp: New file.
19116
4dc06805
YQ
191172014-10-14 Yao Qi <yao@codesourcery.com>
19118
19119 * gdb.mi/mi-var-child.c (nothing1): New function.
19120 (nothing2): New function.
19121 (do_children_tests): Set function pointers by nothing1 and
19122 nothing2.
19123 * gdb.mi/mi-var-child.exp: Step over new added statements.
19124 Update test to match the new output.
19125 * gdb.mi/var-cmd.c (nothing1): New function.
19126 (nothing2): New function.
19127 (do_children_tests): Set function pointers by nothing1 and
19128 nothing2.
19129 * gdb.mi/mi-var-display.exp: Update test to match output.
19130 Step to the line specified by $line_dct_nothing.
19131 Increase the number of lines to step.
19132
46a93de2
YQ
191332014-10-14 Yao Qi <yao@codesourcery.com>
19134
19135 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
19136 tests.
19137 * gdb.mi/mi2-var-child.exp: Likewise.
19138
14ea52ee
DE
191392014-10-13 Doug Evans <dje@google.com>
19140
19141 * gdb.python/py-objfile.exp: Change name of file name test.
19142
e5c6e92b
DE
191432014-10-13 Doug Evans <dje@google.com>
19144
19145 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
19146 from the start of the CU.
19147
c780cc2f
JK
191482014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19149 Yao Qi <yao@codesourcery.com>
19150
19151 Fix "save breakpoints" for "catch" command.
19152 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
19153 Remove -nonewline. Match also the added "main" line.
19154
99894e11
JK
191552014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19156
19157 Fix "save breakpoints" for "disable $bpnum" command.
19158 * gdb.base/save-bp.c (main): Add label.
19159 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
19160
6e1ac5a3
JK
191612014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19162
19163 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
19164
754dd2b0
YQ
191652014-10-11 Yao Qi <yao@codesourcery.com>
19166
19167 * gdb.server/server-kill.exp: Execute command
19168 "set remote trace-status-packet on" before "tstatus".
19169
f90183d7
YQ
191702014-10-11 Yao Qi <yao@codesourcery.com>
19171
19172 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
19173 (main): Call getppid.
19174 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
19175 and continue to it. Read variable "server_pid".
19176
bf40a607
YQ
191772014-10-11 Yao Qi <yao@codesourcery.com>
19178
19179 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
19180
052ca370
YQ
191812014-10-11 Yao Qi <yao@codesourcery.com>
19182
19183 * gdb.threads/thread-find.exp: Don't execute command
19184 "info threads".
19185 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
19186 * gdb.threads/linux-dp.exp: Don't check the condition
19187 $threads_created equals to zero.
19188
3831839c
PA
191892014-10-10 Pedro Alves <palves@redhat.com>
19190
19191 * gdb.base/bigcore.exp: Remove references to IRIX.
19192 * gdb.base/funcargs.exp: Likewise.
19193 * gdb.base/interrupt.exp: Likewise.
19194 * gdb.base/mips_pro.exp: Likewise.
19195 * gdb.base/nodebug.exp: Likewise.
19196 * gdb.base/setvar.exp: Likewise.
19197 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
19198
8b9a549d
PA
191992014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19200 Pedro Alves <palves@redhat.com>
19201
19202 PR symtab/14466
19203 * gdb.base/vdso-warning.c: New file.
19204 * gdb.base/vdso-warning.exp: New file.
19205
d48ba5e8
DE
192062014-10-02 Doug Evans <dje@google.com>
19207
19208 * gdb.base/structs.c (main): Don't run forever.
19209
2278c276
PA
192102014-10-02 Pedro Alves <palves@redhat.com>
19211
19212 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
19213 (top level) <stop threads 1, stop threads 2>: Use it.
19214
b57bacec
PA
192152014-10-02 Pedro Alves <palves@redhat.com>
19216
19217 * gdb.threads/break-while-running.exp (test): Add new
19218 'update_thread_list' argument. Skip "info threads" if false.
19219 (top level): Add new 'update_thread_list' axis.
19220
13fd3ff3
PA
192212014-10-02 Pedro Alves <palves@redhat.com>
19222
19223 PR breakpoints/17431
19224 * gdb.base/execl-update-breakpoints.c: New file.
19225 * gdb.base/execl-update-breakpoints.exp: New file.
19226
0fec99e8
PA
192272014-10-01 Pedro Alves <palves@redhat.com>
19228
19229 * gdb.base/breakpoint-in-ro-region.c: New file.
19230 * gdb.base/breakpoint-in-ro-region.exp: New file.
19231
2ddf4301
SM
192322014-10-01 Simon Marchi <simon.marchi@ericsson.com>
19233
19234 * gdb.mi/mi-exit-code.exp: New file.
19235 * gdb.mi/mi-exit-code.c: New file.
19236
6a5f3f43
YQ
192372014-09-30 Yao Qi <yao@codesourcery.com>
19238
19239 * lib/prelink-support.exp (build_executable_own_libs): Error if
19240 the target isn't native.
19241
345bcc73
YQ
192422014-09-30 Yao Qi <yao@codesourcery.com>
19243
19244 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
19245 false.
19246
a25a5a45
PA
192472014-09-22 Pedro Alves <palves@redhat.com>
19248
19249 * gdb.threads/break-while-running.exp: New file.
19250 * gdb.threads/break-while-running.c: New file.
19251
00ba3162
YQ
192522014-09-19 Yao Qi <yao@codesourcery.com>
19253
19254 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
19255 Invoke test. Restart GDB with --readnow and invoke test again.
19256
c3b7b696
YQ
192572014-09-19 Yao Qi <yao@codesourcery.com>
19258
19259 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
19260 proc set_breakpoint_on_gcd_function. Invoke
19261 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
19262 invoke set_breakpoint_on_gcd_function again.
19263
2b4fd423
DE
192642014-09-18 Doug Evans <dje@google.com>
19265
19266 * gdb.dwarf2/symtab-producer.exp: New file.
19267
a5947601
SDJ
192682014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19269
19270 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
19271 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
19272 * gdb.base/global-var-nested-by-dso.c: Likewise.
19273 * gdb.base/global-var-nested-by-dso.exp: Likewise.
19274
91c19059
SDJ
192752014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19276 Pedro Alves <palves@redhat.com>
19277
19278 * gdb.base/watch-bitfields.exp: Pass string other than test file
19279 name to prepare_for_testing.
19280 (watch): New procedure.
19281 (expect_watchpoint): Use with_test_prefix.
19282 (top level): Factor out tests to ...
19283 (test_watch_location, test_regular_watch): ... these new
19284 procedures, and use with_test_prefix and gdb_continue_to_end.
19285
bb9d5f81
PP
192862014-09-16 Patrick Palka <patrick@parcs.ath.cx>
19287
19288 PR breakpoints/12526
19289 * gdb.base/watch-bitfields.exp: New file.
19290 * gdb.base/watch-bitfields.c: New file.
19291
635856f5
PA
192922014-09-16 Pedro Alves <palves@redhat.com>
19293
19294 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
19295 software and hardware addresses, not software address against
19296 itself.
19297
7280ceea
PA
192982014-09-16 Pedro Alves <palves@redhat.com>
19299
19300 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
19301 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
19302
428b16bd
PA
193032014-09-16 Pedro Alves <palves@redhat.com>
19304
19305 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
19306 files.
19307 * gdb.base/a2-run.exp: Remove all code guarded by istarget
19308 "*-*-vxworks*" throughout.
19309 * gdb.base/break.exp: Likewise.
19310 * gdb.base/default.exp: Likewise.
19311 * gdb.base/scope.exp: Likewise.
19312 * gdb.base/sepdebug.exp: Likewise.
19313 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
19314 throughout.
19315 * gdb.base/run.c: Likewise.
19316 * gdb.base/sepdebug.c: Likewise.
19317 * gdb.hp/gdb.aCC/run.c: Likewise.
19318 * gdb.reverse/until-reverse.c: Likewise.
19319 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
19320
666d413c
YQ
193212014-09-16 Yao Qi <yao@codesourcery.com>
19322
19323 * boards/local-remote-host-native.exp: New file.
19324
57cbd724
DE
193252014-09-14 Doug Evans <xdje42@gmail.com>
19326
19327 * gdb.threads/queue-signal.c (thread_count): New variable.
19328 (thread_count_mutex, thread_count_condvar): New variables.
19329 (incr_thread_count, wait_all_threads_running): New functions.
19330 (main): Wait for all threads to be in their thread functions.
19331
81219e53
DE
193322014-09-13 Doug Evans <xdje42@gmail.com>
19333
19334 * gdb.threads/queue-signal.c: New file.
19335 * gdb.threads/queue-signal.exp: New file.
19336
3714cea7
DE
193372014-09-13 Doug Evans <xdje42@gmail.com>
19338
19339 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
19340 be consistent with what default_gdb_init uses.
19341 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
19342 the plain text of the prompt. Add some logging printfs.
19343 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
19344
fa43b1d7
PA
193452014-09-12 Pedro Alves <palves@redhat.com>
19346
19347 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
19348 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
19349 * gdb.arch/i386-size-overlap.exp: Likewise.
19350 * gdb.arch/i386-size.exp: Likewise.
19351 * gdb.arch/i386-unwind.exp: Likewise.
19352 * gdb.base/a2-run.exp: Likewise.
19353 * gdb.base/break.exp: Likewise.
19354 * gdb.base/charset.exp: Likewise.
19355 * gdb.base/chng-syms.exp: Likewise.
19356 * gdb.base/commands.exp: Likewise.
19357 * gdb.base/dbx.exp: Likewise.
19358 * gdb.base/find.exp: Likewise.
19359 * gdb.base/funcargs.exp: Likewise.
19360 * gdb.base/jit-simple.exp: Likewise.
19361 * gdb.base/reread.exp: Likewise.
19362 * gdb.base/sepdebug.exp: Likewise.
19363 * gdb.base/step-bt.exp: Likewise.
19364 * gdb.cp/mb-inline.exp: Likewise.
19365 * gdb.cp/mb-templates.exp: Likewise.
19366 * gdb.objc/basicclass.exp: Likewise.
19367 * gdb.threads/killed.exp: Likewise.
19368
9d9bf2df
EBM
193692014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19370
19371 PR tdep/17379
19372 * gdb.arch/powerpc-stackless.S: New file.
19373 * gdb.arch/powerpc-stackless.exp: New file.
19374
1cf2f1b0
JK
193752014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19376
19377 * gdb.base/attach.c: Include unistd.h.
19378 (main): Call alarm. Add label postloop.
19379 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
19380 gdb_breakpoint, gdb_continue_to_breakpoint.
19381 (test_command_line_attach_run): Kill ${testpid} in one exit path.
19382
98880d46
PA
193832014-09-11 Pedro Alves <palves@redhat.com>
19384
19385 PR gdb/17347
19386 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
19387 * gdb.base/attach.exp (test_command_line_attach_run): New
19388 procedure.
19389 (top level): Call it.
19390
4c92ff2c
PA
193912014-09-11 Pedro Alves <palves@redhat.com>
19392
19393 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
19394 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
19395 (do_command_attach_tests): Use spawn_wait_for_attach.
19396 * gdb.base/solib-overlap.exp: Likewise.
19397 * gdb.multi/multi-attach.exp: Likewise.
19398 * gdb.python/py-prompt.exp: Likewise.
19399 * gdb.python/py-sync-interp.exp: Likewise.
19400 * gdb.server/ext-attach.exp: Likewise.
19401
3adc1a7d
GKB
194022014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
19403
19404 * gdb.fortran/array-element.exp: Remove unexpected "continue"
19405 command in testcase. Simplify testcase.
19406
96334934
JB
194072014-09-10 Joel Brobecker <brobecker@adacore.com>
19408
19409 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
19410
eb479039
JB
194112014-09-10 Joel Brobecker <brobecker@adacore.com>
19412
19413 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
19414
deede10c
JB
194152014-09-10 Joel Brobecker <brobecker@adacore.com>
19416
19417 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
19418
7828a5f5
JB
194192014-09-10 Joel Brobecker <brobecker@adacore.com>
19420
19421 * gdb.dwarf2/dynarr-ptr.c: New file.
19422 * gdb.dwarf2/dynarr-ptr.exp: New file.
19423
33aeebcf
MR
194242014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19425
19426 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
19427 of 30 rather than hardcoding 120 for a slow test case. Take the
19428 `gdb,timeout' target setting into account for this calculation.
19429 Don't extend the timeout for the test cases that don't need it.
19430
7b415901
MR
194312014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19432
19433 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
19434 a factor of 2 for a slow test case. Take the `gdb,timeout'
19435 target setting into account for this calculation.
19436 * gdb.reverse/until-precsave.exp: Increase the timeout by
19437 a factor of 15 and 3 respectively rather than adding 120
19438 for a pair of slow test cases. Take the `gdb,timeout'
19439 target setting into account for this calculation.
19440
4a40f85a
MR
194412014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19442
19443 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
19444 timeout, don't pass one down to gdb_expect.
19445 (gdb_expect): Rework timeout selection.
19446
09635af7
MR
194472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19448
19449 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
19450 exception on timeout.
19451 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
19452 (gdbserver_start_extended): Catch any `gdbserver_start' error
19453 exceptions.
19454 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
19455 * lib/mi-support.exp (mi_gdb_target_load): Catch any
19456 `gdbserver_gdb_load' error exceptions.
19457
2bdd10b7
MR
194582014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19459
19460 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
19461 120 on waiting for the TCP socket to open.
19462
316935f0
DE
194632014-09-09 Doug Evans <xdje42@gmail.com>
19464
19465 * gdb.base/default.exp (show_conv_list): Add _caller_is,
19466 _caller_matches, _any_caller_is, _any_caller_matches.
19467
83740597
DE
194682014-09-09 Doug Evans <xdje42@gmail.com>
19469
19470 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
19471
4c122fc3
YQ
194722014-09-09 Yao Qi <yao@codesourcery.com>
19473
19474 * gdb.mi/mi-var-display.exp: Set print symbol off.
19475
a9f116cb
GKB
194762014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
19477
19478 PR gdb/17035
19479 * gdb.base/commands.exp: Add tests to verify user-defined
19480 commands with empty bodies.
19481 * gdb.python/py-cmd.exp: Test that we don't show user-defined
19482 python commands in `show user command`.
19483 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
19484 scheme commands in `show user command`.
19485
c75bd3a2
JK
194862014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19487
19488 PR python/17355
19489 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
19490 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
19491 * gdb.python/py-framefilter-invalidarg.exp: New file.
19492 * gdb.python/py-framefilter-invalidarg.py: New file.
19493
faa42425
DE
194942014-09-06 Doug Evans <xdje42@gmail.com>
19495
19496 PR 15276
19497 * gdb.python/py-caller-is.c: New file.
19498 * gdb.python/py-caller-is.exp: New file.
19499
474ca4f6
SDJ
195002014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
19501
19502 PR gdb/17235
19503 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
19504 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
19505
eb0b0463
SDJ
195062014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
19507
19508 PR fortran/17237
19509 * gdb.fortran/print-formatted.exp: New file.
19510 * gdb.fortran/print-formatted.f90: Likewise.
19511
5f3b99cf
SS
195122014-09-03 Sasha Smundak <asmundak@google.com>
19513
19514 * gdb.python/py-frame.exp: Test Frame.read_register.
19515
7d793aa9
SDJ
195162014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
19517
19518 PR python/16699
19519 * gdb.python/py-completion.exp: New file.
19520 * gdb.python/py-completion.py: Likewise.
19521
fb0576e9
DE
195222014-08-28 Doug Evans <dje@google.com>
19523
19524 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
19525 eax,etc. are live with values set by gdb and thus the compiler can't
19526 use them.
19527 * gdb.arch/i386-pseudo.c (main): Ditto.
19528
ee92b0dd
DE
195292014-08-27 Doug Evans <dje@google.com>
19530
19531 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
19532
6649db35
DE
195332014-08-25 Doug Evans <dje@google.com>
19534
19535 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
19536 (main): Ditto.
19537
564b7600
DE
195382014-08-25 Doug Evans <dje@google.com>
19539
19540 * gdb.threads/thread-execl.exp: #include <stdio.h>.
19541
3881fb67
YQ
195422014-08-24 Yao Qi <yao@codesourcery.com>
19543
19544 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
19545 symbol off.
19546 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
19547
a05a36a5
DE
195482014-08-22 Doug Evans <dje@google.com>
19549
19550 PR 17276
19551 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
19552 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
19553 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
19554
7c343b48
YQ
195552014-08-22 Yao Qi <yao@codesourcery.com>
19556
19557 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
19558 * gdb.python/py-finish-breakpoint2.exp: Likewise.
19559 * gdb.python/python.exp: Likewise. Use .py file on the host
19560 instead of the build.
19561
22fd09ae
JK
195622014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19563
19564 * gdb.threads/gcore-stale-thread.c: New file.
19565 * gdb.threads/gcore-stale-thread.exp: New file.
19566
a8454a7c
PA
195672014-08-21 Pedro Alves <palves@redhat.com>
19568
19569 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
19570 * gdb.base/gcore-relro-pie.exp: Likewise.
19571 * gdb.base/gcore-relro.exp: Likewise.
19572 * gdb.base/gcore.exp: Likewise.
19573 * gdb.base/print-symbol-loading.exp: Likewise.
19574 * gdb.threads/gcore-thread.exp: Likewise.
19575 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
19576
2a31c623
PA
195772014-08-20 Pedro Alves <palves@redhat.com>
19578 Jan Kratochvil <jan.kratochvil@redhat.com>
19579
19580 * Makefile.in (EXTRA_RULES, CC): New variables, get from
19581 configure.
19582 (EXPECT): Handle READ1 being set.
19583 (all): Depend on EXTRA_RULES.
19584 (check-read1, expect-read1, read1.so, read1): New rules.
19585 * README (Testsuite Parameters): Document the READ1 make variable.
19586 (Race detection): New section.
19587 * configure: Regenerate.
19588 * configure.ac: If build==host==target, and running under a
19589 GNU/glibc system, add read1 to the extra Makefile rules.
19590 (EXTRA_RULES): AC_SUBST it.
19591 * lib/read1.c: New file.
19592
d36430db
JB
195932014-08-20 Joel Brobecker <brobecker@adacore.com>
19594
19595 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
19596 the handling of variables declared as a typedef to an array
19597 which a DW_AT_data_location attribute.
19598
9a0dc9e3
PA
195992014-08-19 Andrew Burgess <aburgess@broadcom.com>
19600 Pedro Alves <palves@redhat.com>
19601
19602 PR symtab/14604
19603 PR symtab/14605
19604 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
19605 gdb_test.
19606
0718a8da
PA
196072014-08-19 Pedro Alves <palves@redhat.com>
19608
19609 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
19610
13b448cd
YQ
196112014-08-19 Yao Qi <yao@codesourcery.com>
19612
19613 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
19614 right line.
19615
1cbf5077
DB
196162014-08-18 David Blaikie <dblaikie@gmail.com>
19617
19618 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
19619
bf0fae19
JB
196202014-08-18 Joel Brobecker <brobecker@adacore.com>
19621
19622 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
19623 attribute in array range.
19624
3c8c5dcc
JB
196252014-08-18 Joel Brobecker <brobecker@adacore.com>
19626
19627 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
19628
e66d4446
SC
196292014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19630
19631 PR c++/17132
19632 * gdb.cp/pr17132.cc: New file.
19633 * gdb.cp/pr17132.exp: New file.
19634
940df408
SC
196352014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19636
19637 * gdb.python/py-xmethods.py (A_getarrayind)
19638 (E_method_char_worker.__call__, E_method_int_worker.__call__):
19639 Use 'print' with function call syntax.
19640 (E_method_matcher.match): Fix tab vs space indentation mixup.
19641
ebcc6c3a
YQ
196422014-08-15 Yao Qi <yao@codesourcery.com>
19643
19644 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
19645 false.
19646
775e0f04
YQ
196472014-08-15 Yao Qi <yao@codesourcery.com>
19648
19649 * gdb.cp/casts.exp: Set print symbol off.
19650 * gdb.cp/class2.exp: Likewise.
19651 * gdb.cp/overload.exp: Likewise.
19652 * gdb.cp/templates.exp: Likewise.
19653
d769e349
DE
196542014-08-11 Doug Evans <dje@google.com>
19655
19656 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
19657 (test_load_shlib): Update.
19658
20c6f1e1
YQ
196592014-08-09 Yao Qi <yao@codesourcery.com>
19660
19661 * gdb.base/display.exp: Invoke is_address_zero_readable.
19662 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
19663 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19664 * gdb.base/hbreak-unmapped.exp: Return if
19665 is_address_zero_readable returns true.
19666 * gdb.base/signest.exp: Likewise.
19667 * gdb.base/signull.exp: Likewise.
19668 * gdb.base/sigbpt.exp: Likewise.
19669 * gdb.guile/scm-disasm.exp: Do the test if
19670 is_address_zero_readable returns false.
19671 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
19672 * gdb.python/py-arch.exp: Likewise.
19673 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
19674 * lib/gdb.exp (is_address_zero_readable): New proc.
19675
5792e8e3
YQ
196762014-08-09 Yao Qi <yao@codesourcery.com>
19677
19678 PR testsuite/13443
19679 * gdb.mi/mi-var-display.exp: Make test messages unique.
19680
3cecbbbe
TT
196812014-08-04 Tom Tromey <tromey@redhat.com>
19682
19683 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
19684 target 0".
19685
00b51ff5
TT
196862014-08-04 Tom Tromey <tromey@redhat.com>
19687
19688 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
19689 "target_resume".
19690
6908c509
JB
196912014-08-01 Joel Brobecker <brobecker@adacore.com>
19692
19693 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
19694 inner_vla_struct_object_size.
19695 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
19696 as xfail.
19697
cc6563d2
PA
196982014-07-30 Pedro Alves <palves@redhat.com>
19699
19700 * gdb.threads/signal-command-handle-nopass.exp (test): Add
19701 comment.
19702
7e09a223
YQ
197032014-07-29 Yao Qi <yao@codesourcery.com>
19704
19705 PR gdb/17206
19706 * gdb.base/until-nodebug.exp: New.
19707
7ebdbe92
DE
197082014-07-28 Doug Evans <xdje42@gmail.com>
19709
19710 PR guile/17203
19711 * gdb.guile/scm-parameter.exp: Add tests for trying to create
19712 previously existing parameter, and previously ambiguously spelled
19713 parameter.
19714
fdb1adc6
WN
197152014-07-28 Will Newton <will.newton@linaro.org>
19716
19717 * gdb.base/varargs.exp: Remove KFAILs for ARM.
19718
186fcde0
DE
197192014-07-26 Ludovic Courtès <ludo@gnu.org>
19720 Doug Evans <xdje42@gmail.com>
19721
19722 PR guile/17146
19723 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
19724
70509625
PA
197252014-07-25 Pedro Alves <palves@redhat.com>
19726
19727 * gdb.threads/signal-command-handle-nopass.c: New file.
19728 * gdb.threads/signal-command-handle-nopass.exp: New file.
19729 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
19730 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
19731 * gdb.threads/signal-delivered-right-thread.c: New file.
19732 * gdb.threads/signal-delivered-right-thread.exp: New file.
19733
c3f814a1
PA
197342014-07-25 Pedro Alves <palves@redhat.com>
19735
19736 * gdb.base/double-prompt-target-event-error.exp
19737 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
19738 match.
19739 (cancel_pagination_in_target_event): Rework double prompt
19740 detection.
19741 * gdb.base/paginate-after-ctrl-c-running.exp
19742 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
19743 <return>' match.
19744 * gdb.base/paginate-bg-execution.exp
19745 (test_bg_execution_pagination_return)
19746 (test_bg_execution_pagination_cancel): Remove '-notransfer
19747 <return>' matches.
19748 * gdb.base/paginate-execution-startup.exp
19749 (test_fg_execution_pagination_return)
19750 (test_fg_execution_pagination_cancel): Remove '-notransfer
19751 <return>' matches.
19752 * gdb.base/paginate-inferior-exit.exp
19753 (test_paginate_inferior_exited): Remove '-notransfer <return>'
19754 match.
19755 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
19756 * lib/gdb.exp (pagination_prompt): Run text through
19757 string_to_regexp.
19758 (gdb_test_multiple): Match $pagination_prompt instead of
19759 "<return>".
19760 (string_to_regexp): Move to lib/gdb-utils.exp.
19761
e214cf6c
JK
197622014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19763
19764 * gdb.arch/amd64-entry-value-paramref.S: New file.
19765 * gdb.arch/amd64-entry-value-paramref.cc: New file.
19766 * gdb.arch/amd64-entry-value-paramref.exp: New file.
19767 * gdb.arch/amd64-optimout-repeat.S: New file.
19768 * gdb.arch/amd64-optimout-repeat.c: New file.
19769 * gdb.arch/amd64-optimout-repeat.exp: New file.
19770
17d0c5c8
JK
197712014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19772
19773 PR gdb/17170
19774 * gdb.base/statistics.exp: New file.
19775
b8b8facf
DE
197762014-07-17 Doug Evans <dje@google.com>
19777
74b49205 19778 PR gdb/17170
b8b8facf
DE
19779 * gdb.base/maint.exp: Update testing of per-command stats.
19780
1b5d0ab3
PA
197812014-07-16 Pedro Alves <palves@redhat.com>
19782
19783 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
19784 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
19785 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
19786 (tfile_write_buf): New functions.
19787 (add_memory_block): Rewrite using the above.
19788 (adjust_function_address): New function.
19789 (FUNCTION_ADDRESS): New macro.
19790 (write_basic_trace_file): Remove short_x local, and use
19791 tfile_write_16. Change type of func_addr local to unsigned long
19792 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
19793 here. Cast argument of add_memory_block to char pointer.
19794 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
19795 (main): Remove parameters.
19796 * gdb.trace/tfile.exp: Remove nowarnings.
19797
4d974e88
SM
197982014-07-15 Simon Marchi <simon.marchi@ericsson.com>
19799
19800 * gdb.base/debug-expr.exp: Test string evaluation with
19801 "debug expression" on.
19802
41e99568
PA
198032014-07-15 Pedro Alves <palves@redhat.com>
19804
19805 * gdb.base/reread.exp: Use clean_restart.
19806
487d9753
PL
198072014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
19808
19809 * gdb.arch/avr-flash-qualifer.c: New.
19810 * gdb.arch/avr-flash-qualifer.exp: New.
19811
cc1c52ad
PA
198122014-07-14 Pedro Alves <palves@redhat.com>
19813
19814 * gdb.base/paginate-after-ctrl-c-running.c: New file.
19815 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
19816
1e973570
PA
198172014-07-14 Pedro Alves <palves@redhat.com>
19818
19819 * gdb.base/double-prompt-target-event-error.c: New file.
19820 * gdb.base/double-prompt-target-event-error.exp: New file.
19821
93d6eb10
PA
198222014-07-14 Pedro Alves <palves@redhat.com>
19823
19824 PR gdb/17072
19825 * gdb.base/paginate-inferior-exit.c: New file.
19826 * gdb.base/paginate-inferior-exit.exp: New file.
19827
0017922d
PA
198282014-07-14 Pedro Alves <palves@redhat.com>
19829
19830 PR gdb/17072
19831 * gdb.base/paginate-bg-execution.c: New file.
19832 * gdb.base/paginate-bg-execution.exp: New file.
19833
94696ad3
PA
198342014-07-14 Pedro Alves <palves@redhat.com>
19835
19836 PR gdb/17072
19837 * gdb.base/paginate-execution-startup.c: New file.
19838 * gdb.base/paginate-execution-startup.exp: New file.
19839 * lib/gdb.exp (pagination_prompt): New global.
19840 (default_gdb_spawn): New procedure, factored out from
19841 default_gdb_spawn.
19842 (default_gdb_start): Adjust to call default_gdb_spawn.
19843 (gdb_spawn): New procedure.
19844
bd293940
PA
198452014-07-14 Pedro Alves <palves@redhat.com>
19846
19847 * lib/gdb.exp (gdb_assert): New procedure.
19848 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
19849
c933f875
PA
198502014-07-14 Pedro Alves <palves@redhat.com>
19851
19852 * gdb.base/execution-termios.c: New file.
19853 * gdb.base/execution-termios.exp: New file.
19854
d98b7a16
TT
198552014-07-14 Tom Tromey <tromey@redhat.com>
19856
19857 * gdb.cp/vla-cxx.cc: New file.
19858 * gdb.cp/vla-cxx.exp: New file.
19859
548740d6
TT
198602014-07-14 Tom Tromey <tromey@redhat.com>
19861
19862 * gdb.reverse/rerun-prec.c: New file.
19863 * gdb.reverse/rerun-prec.exp: New file.
19864
a25eb028
MR
198652014-07-12 Maciej W. Rozycki <macro@mips.com>
19866 Maciej W. Rozycki <macro@codesourcery.com>
19867
19868 * lib/gdb-utils.exp: New file.
19869 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
19870 inline `gdb_init_command' processing.
19871 (gdb_start_cmd): Likewise.
19872 * lib/mi-support.exp (mi_run_cmd): Likewise.
19873 * README: Document `gdb_init_command' and `gdb_init_commands'.
19874
218c2655
JK
198752014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19876
19877 Fix false FAIL running under a very long directory name.
19878 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
19879 and "set print elements 10000". Twice.
19880
5401fde3
YQ
198812014-07-11 Yao Qi <yao@codesourcery.com>
19882
19883 * gdb.base/exprs.exp: "set print symbol off".
19884
e76126e8
PA
198852014-07-11 Pedro Alves <palves@redhat.com>
19886
19887 * gdb.threads/kill.c: New file.
19888 * gdb.threads/kill.exp: New file.
19889
2d6f0de6
YQ
198902014-07-10 Yao Qi <yao@codesourcery.com>
19891
19892 * gdb.trace/tfile.c (write_basic_trace_file)
19893 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
19894 address written to trace file.
19895
7180e04a
PA
198962014-07-09 Pedro Alves <palves@redhat.com>
19897
19898 * gdb.base/attach-wait-input.exp: New file.
19899 * gdb.base/attach-wait-input.c: New file.
19900
9a9a7608
AB
199012014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
19902
19903 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
19904 setting up test structures.
19905 (main): Call new test function.
19906 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
19907 test function, continue into test function and walk test
19908 structures.
19909
161ac41e
YQ
199102014-07-02 Yao Qi <yao@codesourcery.com>
19911
19912 * gdb.trace/entry-values.c: Define labels 'foo_start' and
19913 'bar_start' at the beginning of functions 'foo' and 'bar'
19914 respectively.
19915 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
19916 instead of 'foo' and 'bar'.
19917
1f267ae3
MM
199182014-07-08 Markus Metzger <markus.t.metzger@intel.com>
19919
19920 * gdb.btrace/segv.exp: New.
19921 * gdb.btrace/segv.c: New.
19922
2b239efb
LM
199232014-07-02 Luis Machado <lgustavo@codesourcery.com>
19924
19925 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
19926 instruction.
19927
cf363f18
MW
199282014-06-30 Mark Wielaard <mjw@redhat.com>
19929
19930 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
19931 vulture, vilify, villar): New volatile array constants.
19932 (vindictive, vegetation): New const volatile array constants.
19933 * gdb.base/volatile.exp: Test volatile and const volatile array
19934 types.
19935
aebf9d24
AA
199362014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
19937
19938 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
19939 target lacks support for awatch, rwatch, or hbreak.
19940
b67a2c6f
YQ
199412014-06-27 Yao Qi <yao@codesourcery.com>
19942
19943 * gdb.multi/dummy-frame-restore.exp: New.
19944 * gdb.multi/dummy-frame-restore.c: New.
19945
aef92902
MM
199462014-06-25 Markus Metzger <markus.t.metzger@intel.com>
19947
19948 * gdb.btrace/gcore.exp: New.
19949
8e9db26e
PA
199502014-06-23 Pedro Alves <palves@redhat.com>
19951
19952 * gdb.base/watchpoint-reuse-slot.c: New file.
19953 * gdb.base/watchpoint-reuse-slot.exp: New file.
19954
70afc5b7
SC
199552014-06-23 Siva Chandra Reddy <sivachandra@google.com>
19956
19957 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
19958 progspace's filename in 'info', 'enable' and 'disable' command
19959 tests.
19960
b972bd9c
JK
199612014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
19962
19963 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
19964 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19965 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
19966
125f8a3d
GB
199672014-06-20 Gary Benson <gbenson@redhat.com>
19968
19969 * gdb.arch/i386-avx.exp: Fix include file location.
19970 * gdb.arch/i386-sse.exp: Likewise.
19971
3ed9baed
IB
199722014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
19973
19974 * gdb.dlang/expression.exp: New file.
19975
034f788c
PA
199762014-06-19 Pedro Alves <palves@redhat.com>
19977
19978 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
19979 out from ...
19980 (top level): ... here. Iterate running tests under different
19981 scheduler-locking settings.
19982
45371d0c
LM
199832014-06-18 Luis Machado <lgustavo@codesourcery.com>
19984
19985 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
19986 to DW_FORM_addr and use non-zero addresses.
19987
5d376983
SC
199882014-06-18 Siva Chandra Reddy <sivachandra@google.com>
19989
19990 PR gdb/17017
19991 * gdb.python/py-xmethods.cc: Add global function call counters and
19992 increment them in their respective functions. Remove "cout"
19993 statements.
19994 * gdb.python/py-xmethods.exp: Make tests check the global function
19995 call counters instead of depending on inferior IO.
19996
a1aa2221
LM
199972014-06-18 Don Breazeal <donb@codesourcery.com>
19998
19999 * gdb.base/foll-fork.exp (default_fork_parent_follow):
20000 Deleted procedure.
20001 (explicit_fork_parent_follow): Deleted procedure.
20002 (explicit_fork_child_follow): Deleted procedure.
20003 (test_follow_fork): New procedure.
20004 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 20005 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
20006 procedure calls.
20007
0fc05997
YQ
200082014-06-17 Yao Qi <yao@codesourcery.com>
20009
20010 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
20011 CP1252.
20012
70795c52
LM
200132014-06-17 Luis Machado <lgustavo@codesourcery.com>
20014
20015 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
20016 Initialize ptr and S explicitly.
20017 (skip_type_update_when_not_use_rtti_test): Likewise.
20018
6be47f0c
KS
200192014-06-16 Keith Seitz <keiths@redhat.com>
20020
20021 PR mi/15863
20022 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
20023 the inferior is started.
20024
d03de421
PA
200252014-06-16 Pedro Alves <palves@redhat.com>
20026
20027 * gdb.base/break-main-file-remove-fail.c: New file.
20028 * gdb.base/break-main-file-remove-fail.exp: New file.
20029 * gdb.base/break-unload-file.exp: Use build_executable instead of
20030 prepare_for_testing.
20031 (test_break): New parameter "initial_load". Handle it.
20032 (top level): Add initial_load cmdline/file axis.
20033
f9579b99
TT
200342014-06-12 Tom Tromey <tromey@redhat.com>
20035
20036 * gdb.base/completion.exp: Don't use directory name in test.
20037
3657956b
GB
200382014-06-09 Gary Benson <gbenson@redhat.com>
20039
20040 * gdb.base/sigall.c [Functions to send signals]: Reorder to
20041 separate the always-available ANSI-standard signals from the
20042 signals that require checking.
20043 (main): Likewise.
20044 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
20045 Likewise.
20046 (main): Likewise.
20047
4186eb54
KS
200482014-06-07 Keith Seitz <keiths@redhat.com>
20049
20050 Revert:
20051 PR c++/16253
20052 * gdb.cp/var-tag.cc: New file.
20053 * gdb.cp/var-tag.exp: New file.
20054 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20055 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20056 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20057 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20058
25326a28 200592014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
20060
20061 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
20062
829155c9
PA
200632014-06-06 Pedro Alves <palves@redhat.com>
20064
20065 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
20066 in target debug output instead of looking at RSP packets,
20067 disabling the test on any target that uses hardware stepping.
20068 Update comments.
20069
61c8d22e
PA
200702014-06-06 Pedro Alves <palves@redhat.com>
20071
20072 * gdb.base/break-unload-file.exp: Fix typo.
20073
d9a47287
YQ
200742014-06-06 Yao Qi <yao@codesourcery.com>
20075
20076 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
20077 from "jit_function" to "^jit_function".
20078
e5e01dbf
YQ
200792014-06-06 Yao Qi <yao@codesourcery.com>
20080
20081 * gdb.base/async.c (foo): Add one statement.
20082 * gdb.base/async.exp: Get the next instruction address and
20083 match the output of "nexti" by instruction address. Match
20084 the hex address in the output of "finish".
20085
73ba372c
GB
200862014-06-06 Gary Benson <gbenson@redhat.com>
20087
20088 * gdb.base/call-signals.c: Remove preprocessor conditionals
20089 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
20090 SIGSEGV and SIGTERM.
20091 * gdb.base/sigall.c: Likewise.
20092 * gdb.base/unwindonsignal.c: Likewise.
20093 * gdb.reverse/sigall-reverse.c: Likewise.
20094
831517df
YQ
200952014-06-06 Yao Qi <yao@codesourcery.com>
20096
20097 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
20098 readable, skip the test.
20099
b8b91e98
YQ
201002014-06-06 Yao Qi <yao@codesourcery.com>
20101
20102 * gdb.threads/staticthreads.c (thread_function): Move the line
20103 setting breakpoint on forward.
20104 * gdb.threads/staticthreads.exp: Update comments.
20105
fb934770
LC
201062014-06-05 Ludovic Courtès <ludo@gnu.org>
20107
20108 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
20109 "history-append! type error".
20110
6ef284bd
SM
201112014-06-05 Simon Marchi <simon.marchi@ericsson.com>
20112
20113 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
20114 erroneous dprintf expected input.
20115
a872e241
DE
201162014-06-04 Doug Evans <xdje42@gmail.com>
20117
20118 * gdb.guile/scm-generics.exp: Delete.
20119
16f691fb
DE
201202014-06-04 Doug Evans <xdje42@gmail.com>
20121
20122 * gdb.guile/scm-breakpoint.exp: Update.
20123 Add tests for breakpoint registration.
20124
012370f6
TT
201252014-06-04 Tom Tromey <tromey@redhat.com>
20126
20127 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
20128 VLA-in-union.
20129 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
20130 inner_vla_struct, vla_union types. Initialize objects of those
20131 types and compute their sizes.
20132
9f5a4cef
HZ
201332014-06-04 Nathan Sidwell <nathan@codesourcery.com>
20134 Hui Zhu <hui@codesourcery.com>
20135
20136 * gdb.base/fileio.exp: Add test for shell not available as well as
20137 available.
20138 * gdb.base/fileio.c (test_system): Check for shell twice.
20139
90a45c4d
YQ
201402014-06-04 Yao Qi <yao@codesourcery.com>
20141
20142 * gdb.base/auto-connect-native-target.exp: Remove redundant
20143 space from the regexp pattern.
20144
70017e41
YQ
201452014-06-04 Yao Qi <yao@codesourcery.com>
20146
20147 * gdb.base/default.exp: Replace "child" with "native" in
20148 regexp pattern.
20149
883964a7
SC
201502014-06-03 Siva Chandra Reddy <sivachandra@google.com>
20151
20152 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
20153 * gdb.python/py-xmethods.exp: New tests to test xmethods.
20154 * gdb.python/py-xmethods.py: Python script supporting the
20155 new testcase and tests.
20156
ef370185
JB
201572014-06-03 Joel Brobecker <brobecker@adacore.com>
20158 Pedro Alves <palves@redhat.com>
20159
20160 PR breakpoints/17000
20161 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
20162 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
20163
1e2ccb61
BM
201642014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
20165
20166 * gdb.base/subst.exp: Add tests to verify partial path matching
20167 output.
20168
c6ec5ab2
PA
201692014-06-03 Pedro Alves <palves@redhat.com>
20170
20171 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
20172 target that doesn't use software single-stepping.
20173
835c559f
PA
201742014-06-03 Pedro Alves <palves@redhat.com>
20175
20176 PR breakpoints/17000
20177 * gdb.base/sss-bp-on-user-bp-2.c: New file.
20178 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
20179
06eb1586
DE
201802014-06-02 Doug Evans <xdje42@gmail.com>
20181
20182 * gdb.guile/scm-parameter.exp: New file.
20183
e698b8c4
DE
201842014-06-02 Doug Evans <xdje42@gmail.com>
20185
20186 * gdb.guile/scm-cmd.c: New file.
20187 * gdb.guile/scm-cmd.exp: New file.
20188
ded03782
DE
201892014-06-02 Doug Evans <xdje42@gmail.com>
20190
20191 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
20192 pretty-printer lookup.
20193 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
20194 (make-pp_s-printer): Call it.
20195 (make-pretty-printer-from-dict): New function.
20196 (lookup-pretty-printer-maker-from-dict): New function.
20197 (*pretty-printer*): Simplify.
20198 (make-objfile-pp_s-printer): New function.
20199 (install-objfile-pretty-printers!): New function.
20200 (make-progspace-pp_s-printer): New function.
20201 (install-progspace-pretty-printers!): New function.
20202 * gdb.guile/scm-progspace.c: New file.
20203 * gdb.guile/scm-progspace.exp: New file.
20204
41fac0cf
PA
202052014-06-02 Pedro Alves <palves@redhat.com>
20206
20207 * gdb.base/dprintf-bp-same-addr.c: New file.
20208 * gdb.base/dprintf-bp-same-addr.exp: New file.
20209
96ae5695
EBM
202102014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20211
20212 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
20213 * gdb.arch/powerpc-power.s: Likewise.
20214
da02b3a8
JB
202152014-06-02 Joel Brobecker <brobecker@adacore.com>
20216
20217 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
20218
c72b2e7b
YQ
202192014-06-01 Yao Qi <yao@codesourcery.com>
20220
20221 * gdb.base/watchpoint.exp (test_watch_location): Check null
20222 pointer can be dereferenced. If not, do the test, otherwise
20223 skip it.
20224
53e8a631
AB
202252014-05-30 Andrew Burgess <aburgess@broadcom.com>
20226
20227 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
20228 results.
20229 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
20230
938f0e2f
AB
202312014-05-30 Andrew Burgess <aburgess@broadcom.com>
20232
20233 * gdb.arch/amd64-invalid-stack-middle.S: New file.
20234 * gdb.arch/amd64-invalid-stack-middle.c: New file.
20235 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
20236 * gdb.arch/amd64-invalid-stack-top.c: New file.
20237 * gdb.arch/amd64-invalid-stack-top.exp: New file.
20238
9ba6657a
PA
202392014-05-30 Pedro Alves <palves@redhat.com>
20240
20241 PR breakpoints/17000
20242 * gdb.base/sss-bp-on-user-bp.c: New file.
20243 * gdb.base/sss-bp-on-user-bp.exp: New file.
20244
522c09bf
DB
202452014-05-30 David Blaikie <dblaikie@gmail.com>
20246
20247 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
20248 gnu_inline semantics via attribute.
20249 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
20250 source explicitly specifies the required semantics.
20251
bf4ef81e
MR
202522014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
20253
20254 * gdb.reverse/sigall-reverse.exp: Fix a typo.
20255
329ea579
PA
202562014-05-29 Pedro Alves <palves@redhat.com>
20257 Tom Tromey <tromey@redhat.com>
20258
20259 * gdb.base/async-shell.exp: Don't enable target-async.
20260 * gdb.base/async.exp
20261 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
20262 parameter. Adjust.
20263 (top level): Don't test with "target-async".
20264 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
20265 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
20266 * gdb.base/inferior-died.exp: Don't enable target-async.
20267 * gdb.base/interrupt-noterm.exp: Likewise.
20268 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
20269 * gdb.mi/mi-nonstop-exit.exp: Likewise.
20270 * gdb.mi/mi-nonstop.exp: Likewise.
20271 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
20272 * gdb.mi/mi-nsintrall.exp: Likewise.
20273 * gdb.mi/mi-nsmoribund.exp: Likewise.
20274 * gdb.mi/mi-nsthrexec.exp: Likewise.
20275 * gdb.mi/mi-watch-nonstop.exp: Likewise.
20276 * gdb.multi/watchpoint-multi.exp: Adjust comment.
20277 * gdb.python/py-evsignal.exp: Don't enable target-async.
20278 * gdb.python/py-evthreads.exp: Likewise.
20279 * gdb.python/py-prompt.exp: Likewise.
20280 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
20281 * gdb.server/solib-list.exp: Don't enable target-async.
20282 * gdb.threads/thread-specific-bp.exp: Likewise.
20283 * lib/mi-support.exp: Adjust to use mi-async.
20284
fd664c91
PA
202852014-05-29 Pedro Alves <palves@redhat.com>
20286
20287 PR gdb/13860
20288 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
20289 reason, even in sync mode.
20290
251bde03
PA
202912014-05-29 Pedro Alves <palves@redhat.com>
20292 Hui Zhu <hui@codesourcery.com>
20293
20294 PR PR15693
20295 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
20296 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
20297 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
20298 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
20299
7f3c0343
JB
203002014-05-28 Joel Brobecker <brobecker@adacore.com>
20301
20302 * config/monitor.exp (gdb_target_monitor): Replace use of
20303 "set remotebaud" by "set serial baud".
20304
b2715b27
AW
203052014-05-26 Andy Wingo <wingo@igalia.com>
20306
20307 * gdb.guile/scm-breakpoint.exp:
20308 * gdb.guile/scm-gsmob.exp: Update to use plain old object
20309 properties instead of gdb-object-properties.
20310
498a4489
YQ
203112014-05-26 Yao Qi <yao@codesourcery.com>
20312
20313 * gdb.server/no-thread-db.exp: Specify source file name
20314 explicitly when setting a breakpoint.
20315
589fdceb
MM
203162014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20317
20318 * gdb.btrace/vdso.c: New.
20319 * gdb.btrace/vdso.exp: New.
20320
e9089e05
MM
203212014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20322
20323 * gdb.base/gcore.exp (capture_command_output): Move ...
20324 * lib/gdb.exp (capture_command_output): ... here.
20325
67b5c0c1
MM
203262014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20327
20328 * gdb.btrace/data.exp: Test memory access during btrace replay.
20329
a2199296
SM
203302014-05-22 Simon Marchi <simon.marchi@ericsson.com>
20331
20332 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
20333
17b2616c
PA
203342014-05-21 Pedro Alves <palves@redhat.com>
20335
20336 PR gdb/13860
20337 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
20338 (top level): Test that output related to execution commands is
20339 sent to the console with CLI commands, but not with MI commands.
20340 Test that breakpoint events are always mirrored to the console.
20341 Also expect the new source line to be output after a "next" in
20342 async mode too. Make it a pass/fail test.
20343 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
20344 output.
20345 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
20346
5166082f
PA
203472014-05-21 Pedro Alves <palves@redhat.com>
20348
20349 * gdb.base/list.exp (build_pattern, test_list): New procedures.
20350 Use them to test variations of "list" after reaching a breakpoint.
20351 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
20352 Test "list" with listsize 10 after reaching a breakpoint.
20353 * gdb.python/python.exp (decode_line current location line
20354 number): Adjust expected line number.
20355
2f25d70f
SM
203562014-05-21 Simon Marchi <simon.marchi@ericsson.com>
20357
20358 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
20359 behavior for $args, pass it directly to "run".
20360
ff604a67
MR
203612014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
20362
20363 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
20364 30000 to 65536.
20365
6a3cb8e8
PA
203662014-05-21 Pedro Alves <palves@redhat.com>
20367
20368 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
20369 auto-connect-native-target off".
20370 * gdb.base/auto-connect-native-target.c: New file.
20371 * gdb.base/auto-connect-native-target.exp: New file.
20372
4ebfc96e
PA
203732014-05-21 Pedro Alves <palves@redhat.com>
20374
20375 * gdb.base/default.exp: Test "target native" instead of "target
20376 child".
20377
36d46afb
MW
203782014-05-21 Mark Wielaard <mjw@redhat.com>
20379
20380 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
20381
5876f503
JK
203822014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20383
20384 Fix TLS access for -static -pthread.
20385 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
20386 <HAVE_TLS> (thread_function, main): Initialize it.
20387 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
20388 Add clean_restart.
20389 <$have_tls != "">: Check TLSVAR.
20390
0256a6ac
PA
203912014-05-21 Pedro Alves <palves@redhat.com>
20392
20393 * gdb.base/dcache-line-read-error.c: New.
20394 * gdb.base/dcache-line-read-error.exp: New.
20395
936d2992
PA
203962014-05-20 Pedro Alves <palves@redhat.com>
20397
20398 * gdb.base/compare-sections.c: New file.
20399 * gdb.base/compare-sections.exp: New file.
20400
802e8e6d
PA
204012014-05-20 Pedro Alves <palves@redhat.com>
20402
20403 * gdb.base/break-idempotent.c: New file.
20404 * gdb.base/break-idempotent.exp: New file.
20405
e59fa00f
MM
204062014-05-20 Markus Metzger <markus.t.metzger@intel.com>
20407
20408 * gdb.btrace/nohist.exp: New.
20409
8b696e31
YQ
204102014-05-20 Yao Qi <yao@codesourcery.com>
20411
20412 * lib/gdb.exp (gdb_init): Set timeout if test file is under
20413 gdb.reverse directory and gdb_reverse_timeout exists in board
20414 setting.
20415 * README: Document gdb_reverse_timeout.
20416
73c9764f
YQ
204172014-05-20 Yao Qi <yao@codesourcery.com>
20418
20419 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
20420 'test_file_name'. Treat args as a string instead of a list.
20421 (gdb_init): Rename argument 'args' by 'test_file_name'.
20422
f1f4348a
JK
204232014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
20424
20425 * gdb.arch/powerpc-power.exp: New file.
20426 * gdb.arch/powerpc-power.s: New file.
20427
0dbe70ce
DE
204282014-05-16 Doug Evans <dje@google.com>
20429
20430 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
20431 * gdb.base/completion.exp: Check that all expected files exist
20432 before doing file completion.
0dbe70ce 20433
8d551b02
DE
204342014-05-16 Doug Evans <dje@google.com>
20435
20436 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
20437 Update.
20438 (do_syscall_tests_without_xml): Update.
20439
73eb7709
PA
204402014-05-16 Pedro Alves <palves@redhat.com>
20441
20442 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
20443 instead of "unknown output after running".
20444
3fae92fc
YQ
204452014-05-16 Yao Qi <yao@codesourcery.com>
20446
20447 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
20448 file1.txt from host at the end.
20449 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20450
c2b2ccc5
DE
204512014-05-15 Doug Evans <dje@google.com>
20452
20453 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
20454 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
20455 loading file. Add test for TU lookup.
20456
8c217a4b
SM
204572014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20458
20459 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
20460 calling "-exec-arguments" or "set args" before running the
20461 inferior.
20462
3deb39c6
SM
204632014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20464
20465 * lib/mi-support.exp (mi_expect_stop): Expect message for
20466 inferiors that exit with non-zero exit code.
20467
71a79f8c
YQ
204682014-05-14 Yao Qi <yao@codesourcery.com>
20469
20470 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
20471 match absolute path on remote host.
20472 (test_file_list_exec_source_files): Remove "/" from the
20473 pattern.
20474
f23fcd46
YQ
204752014-05-14 Yao Qi <yao@codesourcery.com>
20476
20477 * boards/local-remote-host-notty.exp (${board}_file): New
20478 proc.
20479
9404b58f
KM
204802014-05-07 Kyle McMartin <kyle@redhat.com>
20481
20482 Pushed by Joel Brobecker <brobecker@adacore.com>.
20483 * gdb.arch/aarch64-atomic-inst.c: New file.
20484 * gdb.arch/aarch64-atomic-inst.exp: New file.
20485
5e45f04c
YQ
204862014-05-07 Yao Qi <yao@codesourcery.com>
20487
20488 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
20489 in current context" too.
20490
c888a17d
KS
204912014-05-05 Keith Seitz <keiths@redhat.com>
20492
20493 * gdb.linespec/ls-dollar.exp: Add test for linespec
20494 file:convenience_variable.
20495
290a839c
YQ
204962014-05-05 Yao Qi <yao@codesourcery.com>
20497
20498 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
20499 traceframes into tfile and ctf trace files. Read data from
20500 trace file and test collected data.
20501 (gdb_collect_locals_test): Likewise.
20502 (gdb_unavailable_registers_test): Likewise.
20503 (gdb_unavailable_floats): Likewise.
20504 (gdb_collect_globals_test): Likewise.
20505 (top-level): Append "ctf" to trace_file_targets if GDB
20506 supports.
20507
b5262cd0
YQ
205082014-05-05 Yao Qi <yao@codesourcery.com>
20509
20510 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
20511 code to ...
20512 (gdb_collect_args_test_1): ... it. New proc.
20513 (gdb_collect_locals_test): Move some code to ...
20514 (gdb_collect_locals_test_1): ... it. New proc.
20515 (gdb_unavailable_registers_test): Move some code to ...
20516 (gdb_unavailable_registers_test_1): ... it. New proc.
20517 (gdb_unavailable_floats): Move some code to ...
20518 (gdb_unavailable_floats_1): ... it. New proc.
20519
30a1e6cc
SDJ
205202014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20521
20522 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
20523 probes to test for bitness recognition.
20524 * gdb.arch/amd64-stap-optional-prefix.exp
20525 (test_probe_value_without_reg): New procedure.
20526 Add code to test for different kinds of bitness.
20527
f33da99a
SDJ
205282014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20529
20530 PR breakpoints/16889
20531 * gdb.arch/amd64-stap-optional-prefix.S: New file.
20532 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20533
5b80f00d
PA
205342014-05-01 Pedro Alves <palves@redhat.com>
20535
20536 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
20537 gdb_file_cmd if no file is specified.
20538 * boards/native-extended-gdbserver.exp (gdb_load): Use the
20539 last_loaded_file to set the remote exec-file.
20540
f8c2a73c
PA
205412014-05-01 Pedro Alves <palves@redhat.com>
20542
20543 * boards/local-remote-host.exp: New file.
20544
be6e8ac7
PA
205452014-05-01 Pedro Alves <palves@redhat.com>
20546
20547 * boards/local-remote-host.exp: Rename to ...
20548 * boards/local-remote-host-notty.exp: ... this.
20549
cac0dc8f
JB
205502014-04-28 Joel Brobecker <brobecker@adacore.com>
20551
20552 * gdb.ada/dyn_arrayidx: New testcase.
20553
9730e6cc
YQ
205542014-04-26 Yao Qi <yao@codesourcery.com>
20555
20556 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
20557 and compute the length of function main. Save it in
20558 $main_length.
20559 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
20560 (top-level): Use gdb_compile to compile objects into
20561 executable and restart GDB. Remove invocation to
20562 prepare_for_testing.
20563
7ae1a6a6
PA
205642014-04-25 Simon Marchi <simon.marchi@ericsson.com>
20565 Pedro Alves <palves@redhat.com>
20566
20567 PR server/16255
20568 * gdb.multi/multi-attach.c: New file.
20569 * gdb.multi/multi-attach.exp: New file.
20570
4082afcc
PA
205712014-04-25 Pedro Alves <palves@redhat.com>
20572
20573 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
20574 user.
20575 (top level): Test that "set remote conditional-breakpoints-packet
20576 off" works as intended.
20577 * gdb.base/dprintf.exp: Test that "set remote
20578 breakpoint-commands-packet off" works as intended.
20579 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
20580 New function.
20581 (top level): Call it.
20582 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
20583 remote fast-tracepoints-packet off" works as intended.
20584 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
20585 * lib/gdb.exp (gdb_is_target_remote): ... here.
20586
2abc3f8d
DB
205872014-04-24 David Blaikie <dblaikie@gmail.com>
20588
20589 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
20590 ensure clang would not discard them.
20591 * gdb.base/gdbvars.c: Ditto.
20592 * gdb.base/memattr.c: Ditto.
20593 * gdb.base/whatis.c: Ditto.
20594 * gdb.python/py-prettyprint.c: Ditto.
20595 * gdb.trace/actions.c: Ditto.
20596 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
20597 ensure clang would not discard it.
20598
bfd39632
DB
205992014-04-24 David Blaikie <dblaikie@gmail.com>
20600
20601 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
20602 clang to emit the full definition of type required by the test
20603 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
20604
22842ff6
DB
206052014-04-24 David Blaikie <dblaikie@gmail.com>
20606
20607 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
20608 coax Clang into emitting the definition of the type.
20609 * gdb.cp/pr10728-x.h (y): Ditto.
20610 * gdb.cp/pr10728-y.cc (y): Ditto.
20611
c2e827ad
DB
206122014-04-24 David Blaikie <dblaikie@gmail.com>
20613
20614 * gdb.base/label.exp: XFAIL label related tests under Clang.
20615 * gdb.cp/cplabel.exp: Ditto.
20616 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
20617 under Clang those using labels.
20618
4c2d33e7
YQ
206192014-04-25 Yao Qi <yao@codesourcery.com>
20620
20621 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
20622 double_label.
20623 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
20624 partial_label and double_label.
20625
56083b99
DB
206262014-04-24 David Blaikie <dblaikie@gmail.com>
20627
20628 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
20629
25d4e99d
DB
206302014-04-24 David Blaikie <dblaikie@gmail.com>
20631
20632 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
20633 of the function to work across GCC and Clang.
20634 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
20635 pointer types (const void ** const V void **).
20636
01f9f808
MS
206372014-04-24 Michael Sturm <michael.sturm@mintel.com>
20638 Walfred Tedeschi <walfred.tedeschi@intel.com>
20639
20640 * Makefile.in (EXECUTABLES): Added i386-avx512.
20641 * gdb.arch/i386-avx512.c: New file.
20642 * gdb.arch/i386-avx512.exp: Likewise.
20643
4b48d439
KS
206442014-04-23 Keith Seitz <keiths@redhat.com>
20645
20646 * lib/mi-support.exp (mi_list_breakpoints): Delete.
20647 (mi_make_breakpoint_table): New procedure.
20648 (mi_create_breakpoint): Use mi_make_breakpoint
20649 and return the result.
20650 (mi_make_breakpoint): New procedure.
20651 (mi_build_kv_pairs): New procedure.
20652
20653 * gdb.mi/mi-break.exp: Remove unused globals,
20654 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
20655 All callers updated.
20656 * gdb.mi/mi-dprintf.exp: Use variable to track command
20657 number.
20658 Update all callers of mi_create_breakpoint and use
20659 mi_make_breakpoint_table.
20660 Remove any unused global variables.
20661 * gdb.mi/mi-nonstop.exp: Likewise.
20662 * gdb.mi/mi-nsintrall.exp: Likewise.
20663 * gdb.mi/mi-nsmoribund.exp: Likewise.
20664 * gdb.mi/mi-nsthrexec.exp: Likewise.
20665 * gdb.mi/mi-reverse.exp: Likewise.
20666 * gdb.mi/mi-simplerun.exp: Likewise.
20667 * gdb.mi/mi-stepn.exp: Likewise.
20668 * gdb.mi/mi-syn-frame.exp: Likewise.
20669 * gdb.mi/mi-until.exp: Likewise.
20670 * gdb.mi/mi-var-cp.exp: Likewise.
20671 * gdb.mi/mi-var-display.exp: Likewise.
20672 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
20673 * gdb.mi/mi2-var-child.exp: Likewise.
20674 * gdb.mi/mi-vla-c99.exp: Likewise.
20675 * lib/mi-support.exp: Likewise.
20676
20677 From Ian Lance Taylor <iant@cygnus.com>:
20678 * lib/gdb.exp (parse_args): New procedure.
20679
08351840
PA
206802014-04-23 Pedro Alves <palves@redhat.com>
20681
20682 * gdb.base/break-unload-file.c: New file.
20683 * gdb.base/break-unload-file.exp: New file.
20684 * gdb.base/sym-file-lib.c (baz): New function.
20685 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
20686 field.
20687 (load): Store the segment's mapped size.
20688 (unload): New function.
20689 (unload_shlib): New function.
20690 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
20691 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
20692 set a breakpoint at baz, and call it.
20693 * gdb.base/sym-file.exp: New tests for stale breakpoint
20694 instructions.
20695
076855f9
PA
206962014-04-23 Pedro Alves <palves@redhat.com>
20697
20698 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
20699 * gdb.base/hbreak-in-shr-unsupported.c: New file.
20700 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
20701 * gdb.base/hbreak-unmapped.c: New file.
20702 * gdb.base/hbreak-unmapped.exp: New file.
20703 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
20704 * lib/gdb.exp (gdb_is_target_remote): ... here.
20705
483805cf
PA
207062014-04-22 Pedro Alves <palves@redhat.com>
20707
20708 * gdb.base/consecutive-step-over.c: New file.
20709 * gdb.base/consecutive-step-over.exp: New file.
20710
06d97543
PA
207112014-04-22 Pedro Alves <palves@redhat.com>
20712
20713 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
20714 instead of send_gdb/gdb_expect.
20715
b4429ea2
YQ
207162014-04-22 Yao Qi <yao@codesourcery.com>
20717
20718 * lib/trace-support.exp (generate_tracefile): New procedure.
20719 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
20720 return 0.
20721 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
20722 if generate_tracefile returns 1.
20723
51d48146
PA
207242014-04-18 Tom Tromey <palves@redhat.com>
20725 Pedro alves <tromey@redhat.com>
20726
20727 PR backtrace/15558
20728 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
20729 with a backtrace limit.
20730 * gdb.python/py-frame-inline.exp: Test running to an inline
20731 function with a backtrace limit, and printing the newest frame.
20732 * gdb.python/py-frame-inline.c (main): Call f.
20733
bd1dce5f
MS
207342014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20735
20736 * gdb.java/jnpe.exp: Drop srcdir from untested path.
20737
40d1a503
MS
207382014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20739
20740 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
20741 Drop prefix from unsupported source file path.
20742
389b98f7
YQ
207432014-04-17 Yao Qi <yao@codesourcery.com>
20744
20745 * lib/gdb.exp (with_target_charset): New proc.
20746 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
20747 with_target_charset.
20748 (test_print_strings): Likewise.
20749 (test_repeat_bytes): Likewise.
20750 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
20751 for some tests.
20752
22869d73
KS
207532014-04-16 Keith Seitz <keiths@redhat.com>
20754
20755 PR gdb/15827
20756 * gdb.dwarf2/corrupt.c: New file.
20757 * gdb.dwarf2/corrupt.exp: New file.
20758
c4f87ca6
KS
207592014-04-16 Keith Seitz <keiths@redhat.com>
20760
20761 PR c++/16597
20762 * gdb.cp/namelessclass.cc: New file.
20763 * gdb.cp/namelessclass.exp: New file.
20764 * gdb.cp/namelessclass.S: New file.
20765
ab19de87
DE
207662014-04-16 Doug Evans <dje@google.com>
20767
20768 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
20769 Add comment.
20770 (gdbserver_default_get_comm_port): New function.
20771 (gdbserver_start): Check if board file provided
20772 "gdbserver,get_comm_port" and use it if so.
20773 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
20774 (gdb,socketport): Set to "stdio".
20775 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
20776 (stdio_gdbserver_template): Delete.
20777 (${board}_get_remote_address): Update.
20778 (${board}_build_remote_cmd): Delete.
20779 (${board}_get_comm_port): New function.
20780 (${board}_spawn): Update.
20781 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
20782 Delete.
20783 (${board}_get_remote_address): Update.
20784 (${board}_get_comm_port): New function.
20785
fc98a809
AB
207862014-04-16 Andrew Burgess <aburgess@broadcom.com>
20787
20788 * gdb.base/memattr.exp: Improve regexps to handle memory regions
20789 appearing in any order.
20790
87fd9e6e
DE
207912014-04-15 Doug Evans <dje@google.com>
20792
20793 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
20794 uninitialized value of "description".
20795
099fc3ea
KS
207962014-04-15 Keith Seitz <keiths@redhat.com>
20797
20798 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
20799 Remove unused globals.
20800 (test_running_the_program): Likewise.
20801 (test_controlled_execution): Likewise.
20802 (test_controlling_breakpoints): Likewise.
20803 (test_program_termination): Likewise.
20804
5da151d4
KS
208052014-04-15 Keith Seitz <keiths@redhat.com>
20806
20807 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
20808 unused globals.
20809 (test_rbreak_creation_and_listing): Likewise.
20810 (test_ignore_count): Likewise.
20811 (test_error): Likewise.
20812
35e5d2f0
PA
208132014-04-15 Pedro Alves <palves@redhat.com>
20814
20815 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
20816 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
20817 sym-file-loader.c.
20818 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20819 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20820 to sym-file-loader.c.
20821 (struct library): Forward declare.
20822 (load_shlib, lookup_function): Change prototypes.
20823 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20824 (translate_offset): Remove declarations.
20825 (get_text_addr): New declaration.
20826 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
20827 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
20828 sym-file-loader.h.
20829 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20830 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20831 here from sym-file-loader.h.
20832 (struct library): New structure.
20833 (load_shlib, lookup_function): Change prototypes and adjust to
20834 work with a struct library.
20835 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20836 (translate_offset): Make static.
20837 (get_text_addr): New function.
20838 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
20839
eb4c1710
PA
208402014-04-15 Pedro Alves <palves@redhat.com>
20841
20842 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
20843
2d1baf52
PA
208442014-04-15 Pedro Alves <palves@redhat.com>
20845
20846 * gdb.base/sym-file-loader.c: Include <limits.h>.
20847 (SELF_LINK): New define.
20848 (get_origin): New function.
20849 (load_shlib): Use it.
20850 * gdb.base/sym-file.exp: Don't early return if the target is
20851 remote. Use runto_main, and issue fail is that fails. Use
20852 gdb_load_shlibs.
20853 (shlib_name): Delete.
20854 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
20855
7dd6df01
PA
208562014-04-15 Pedro Alves <palves@redhat.com>
20857
20858 * gdb.base/sym-file.exp: Remove regex characters from test
20859 message. Don't refer to breakpoint numbers in test messages.
20860
b50c8614
KS
208612014-04-14 Keith Seitz <keiths@redhat.com>
20862
20863 PR c++/16253
20864 * gdb.cp/var-tag.cc: New file.
20865 * gdb.cp/var-tag.exp: New file.
20866 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20867 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20868 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20869 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20870
3d567982
TT
208712014-04-14 Tom Tromey <tromey@redhat.com>
20872
20873 * gdb.cp/classes.exp (test_enums): Handle underlying type.
20874 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
20875 type.
20876 * gdb.cp/enum-class.exp: New file.
20877 * gdb.cp/enum-class.cc: New file.
20878
0626fc76
TT
208792014-04-14 Tom Tromey <tromey@redhat.com>
20880
20881 * gdb.dwarf2/enum-type.exp: New file.
20882
dca325b3
SA
208832014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20884
20885 * gdb.mi/mi-vla-c99.exp: New file.
20886 * gdb.mi/vla.c: New file.
20887
5854b38a
SA
208882014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20889
20890 * gdb.base/vla-datatypes.c: New file.
20891 * gdb.base/vla-datatypes.exp: New file.
20892
463bb957
SA
208932014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20894
20895 * gdb.base/vla-ptr.c: New file.
20896 * gdb.base/vla-ptr.exp: New file.
20897
3dd170be
SA
208982014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20899
20900 * gdb.dwarf2/count.exp: New file.
20901
5ecaaa66
SA
209022014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20903
20904 * gdb.base/vla-sideeffect.c: New file.
20905 * gdb.base/vla-sideeffect.exp: New file.
20906
41f1ada5
DB
209072014-04-14 David Blaikie <dblaikie@gmail.com>
20908
20909 * gdb.mi/non-stop.c: Add return value for non-void function return
20910 statement.
20911 * gdb.threads/staticthreads.c: Ditto.
20912
0be03e84
DE
209132014-04-12 Siva Chandra Reddy <sivachandra@google.com>
20914 Doug Evans <xdje42@gmail.com>
20915
20916 * gdb.guile/scm-value.c: Improve test case.
20917 * gdb.guile/scm-value.exp: Add new test.
20918
f180a1fb
DB
209192014-04-11 David Blaikie <dblaikie@gmail.com>
20920
20921 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
20922 override Clang's default.
20923
6b662e19
JB
209242014-04-11 Joel Brobecker <brobecker@adacore.com>
20925
20926 Revert the following changes (regressions):
20927
20928 * gdb.base/vla-sideeffect.c: New file.
20929 * gdb.base/vla-sideeffect.exp: New file.
20930
20931 * gdb.dwarf2/count.exp: New file.
20932
20933 * gdb.base/vla-multi.c: New file.
20934 * gdb.base/vla-multi.exp: New file.
20935
20936 * gdb.base/vla-ptr.c: New file.
20937 * gdb.base/vla-ptr.exp: New file.
20938
20939 * gdb.base/vla-datatypes.c: New file.
20940 * gdb.base/vla-datatypes.exp: New file.
20941
20942 * gdb.mi/mi-vla-c99.exp: New file.
20943 * gdb.mi/vla.c: New file.
20944
245a5f0b
KS
209452014-04-11 Keith Seitz <keiths@redhat.com>
20946
20947 PR c++/16675
20948 * gdb.cp/cpsizeof.exp: New file.
20949 * gdb.cp/cpsizeof.cc: New file.
20950
58a84dcf
SA
209512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20952
191a8a90
JB
20953 * gdb.mi/mi-vla-c99.exp: New file.
20954 * gdb.mi/vla.c: New file.
58a84dcf 20955
c8655f75
SA
209562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20957
20958 * gdb.base/vla-datatypes.c: New file.
20959 * gdb.base/vla-datatypes.exp: New file.
20960
024e13b4
SA
209612014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20962
20963 * gdb.base/vla-ptr.c: New file.
20964 * gdb.base/vla-ptr.exp: New file.
20965
1a237e0e
SA
209662014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20967
20968 * gdb.base/vla-multi.c: New file.
20969 * gdb.base/vla-multi.exp: New file.
20970
504f3432
SA
209712014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20972
20973 * gdb.dwarf2/count.exp: New file.
20974
3bce8237
SA
209752014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20976
191a8a90
JB
20977 * gdb.base/vla-sideeffect.c: New file.
20978 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 20979
322f9c21
YQ
209802014-04-11 Yao Qi <yao@codesourcery.com>
20981
20982 * gdb.base/completion.exp: Check file exists before running tests
20983 on file completion.
20984
d708bcd1
PA
209852014-04-10 Pedro Alves <palves@redhat.com>
20986
20987 * gdb.base/cond-eval-mode.c: New file.
20988 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
20989 prepare_for_testing to build the new file. Check result of
20990 runto_main.
20991 (test_break, test_watch): New procedures.
20992 (top level): Use them.
20993
ae1d2761
PM
209942014-04-08 Pierre Muller <muller@sourceware.org>
20995
20996 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
20997 Ctrl-V use for mingw hosts.
20998
7af389b8
SC
209992014-04-07 Siva Chandra Reddy <sivachandra@google.com>
21000
21001 * gdb.python/py-value.c: Improve test case.
21002 * gdb.python/py-value.exp: Add new test.
21003
5e703181
DE
210042014-04-07 David Blaikie <dblaikie@gmail.com>
21005
21006 * lib/compiler.c: Identify the clang compiler.
21007 * lib/compiler.cc: Ditto.
21008
9810b410
YQ
210092014-04-03 Yao Qi <yao@codesourcery.com>
21010
21011 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
21012
98d1b8dc
AB
210132014-04-01 Anton Blanchard <anton@samba.org>
21014
21015 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
21016 messages unique.
21017
3114cea1
AB
210182014-04-01 Anton Blanchard <anton@samba.org>
21019
21020 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
21021 prepare_for_testing.
21022
62f7182c
AB
210232014-04-01 Anton Blanchard <anton@samba.org>
21024
21025 * gdb.arch/ppc64-atomic-inst.c: Remove.
21026 * gdb.arch/ppc64-atomic-inst.S: New file.
21027 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
21028
770e7fc7
DE
210292014-03-31 Doug Evans <dje@google.com>
21030
21031 * gdb.base/print-symbol-loading-lib.c: New file.
21032 * gdb.base/print-symbol-loading-main.c: New file.
21033 * gdb.base/print-symbol-loading.exp: New file.
21034
46e2bafa
YQ
210352014-03-31 Yao Qi <yao@codesourcery.com>
21036
21037 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
21038
8776cfe9
JB
210392014-03-28 Joel Brobecker <brobecker@adacore.com>
21040
21041 * gdb.ada/mi_dyn_arr: New testcase.
21042
5d1ef361
DE
210432014-03-27 Doug Evans <dje@google.com>
21044
21045 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
21046
b5bee914
YQ
210472014-03-27 Yao Qi <yao@codesourcery.com>
21048
21049 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
21050 if target is nios2-*-*.
21051
0d4d0e77
YQ
210522014-03-26 Yao Qi <yao@codesourcery.com>
21053
21054 * lib/gdb.exp (readline_is_used): New proc.
21055 * gdb.base/completion.exp: Move tests on command complete up.
21056 Skip the rest of tests if readline is not used.
21057 * gdb.ada/complete.exp: Skp the test if readline is not
21058 used.
21059 * gdb.base/filesym.exp: Likewise.
21060 * gdb.base/macscp.exp: Likewise.
21061 * gdb.base/readline-ask.exp: Likewise.
21062 * gdb.base/readline.exp: Likewise.
21063 * gdb.python/py-cmd.exp: Likewise.
21064 * gdb.trace/tfile.exp: Likewise.
21065
29361eee
YQ
210662014-03-26 Yao Qi <yao@codesourcery.com>
21067
21068 * gdb.base/macscp.exp: Fix code format issues.
21069
bc9a5525
UW
210702014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
21071
21072 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
21073 * gdb.asm/powerpc64le.inc: New file.
21074
d3839ede
PA
210752014-03-25 Pedro Alves <palves@redhat.com>
21076 Doug Evans <dje@google.com>
21077
21078 * gdb.base/source-execution.c: New file.
21079 * gdb.base/source-execution.exp: New file.
21080 * gdb.base/source-execution.gdb: New file.
21081
01672a57
DE
210822014-03-24 Doug Evans <dje@google.com>
21083
21084 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
21085 using fission.
21086
88bbeca9
HZ
210872014-03-24 Hui Zhu <hui@codesourcery.com>
21088 Pedro Alves <palves@redhat.com>
21089
21090 PR breakpoints/16101
21091 * gdb.base/dprintf.exp: Use unsupported rather than changing the
21092 test pass/fail messages. Detect missing support for dprintf when
21093 breakpoints are actually inserted.
21094 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
21095 breakpoints are actually inserted.
21096 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
21097 fails.
21098
d2348791
JK
210992014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
21100
21101 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
21102
feef67ab
DE
211032014-03-22 Doug Evans <xdje42@gmail.com>
21104
21105 * gdb.python/python.exp (python not supported): Verify multi-line
21106 python command issues an error.
25d743f9 21107 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 21108 guile command issues an error.
feef67ab 21109
ecebef6a
MR
211102014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
21111
21112 * gdb.threads/thread-specific.exp: Handle the lack of usable
21113 $this_breakpoint and $this_thread.
21114
ccdd1909
HZ
211152014-03-21 Hui Zhu <hui@codesourcery.com>
21116
21117 * gdb.base/attach.exp (do_command_attach_tests): New.
21118
beb460e8
PA
211192014-03-20 Tom Tromey <tromey@redhat.com>
21120 Pedro Alves <palves@redhat.com>
21121
21122 PR cli/15718
21123 * gdb.base/condbreak-call-false.c: New file.
21124 * gdb.base/condbreak-call-false.exp: New file.
21125
40acf43a
PA
211262014-03-20 Pedro Alves <palves@redhat.com>
21127
21128 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
21129 Delete.
21130 (block_signals, unblock_signals): Delete.
21131 (child_function_2, main): Remove references to deleted variable
21132 and functions.
21133
9f5e1e02
PA
211342014-03-20 Pedro Alves <palves@redhat.com>
21135
21136 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
21137 Use pthread_kill to signal thread 2.
21138 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21139 Adjust to make the test send itself a signal rather than using the
21140 host's "kill" command.
21141
99619bea
PA
211422014-03-20 Pedro Alves <palves@redhat.com>
21143
21144 * gdb.threads/multiple-step-overs.c: New file.
21145 * gdb.threads/multiple-step-overs.exp: New file.
21146 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21147 Adjust expected infrun debug output.
21148
2adfaa28
PA
211492014-03-20 Pedro Alves <palves@redhat.com>
21150
21151 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
21152 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
21153
31e77af2
PA
211542014-03-20 Pedro Alves <palves@redhat.com>
21155
21156 PR breakpoints/7143
21157 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
21158 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
21159 of gdb_test_multiple.
21160 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
21161 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
21162
b9f437de
PA
211632014-03-20 Pedro Alves <palves@redhat.com>
21164
21165 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
21166 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
21167
05adc73e
PA
211682014-03-19 Pedro Alves <palves@redhat.com>
21169
21170 * gdb.base/async.exp: Remove early return.
21171
6048b950
PA
211722014-03-19 Pedro Alves <palves@redhat.com>
21173
21174 * gdb.base/async.exp (step& tests): Pass explicit test messages.
21175
8bcfb00a
PA
211762014-03-19 Pedro Alves <palves@redhat.com>
21177
21178 * gdb.base/async.exp (test_background): Expect \r\n after
21179 "completed." in the fail pattern.
21180
884e37dc
PA
211812014-03-19 Pedro Alves <palves@redhat.com>
21182
21183 * gdb.base/async.exp (test_background): New procedure.
21184 Use it for all background execution command tests.
21185
148e57e2
PA
211862014-03-19 Pedro Alves <palves@redhat.com>
21187
21188 * gdb.base/async.exp: Use prepare_for_testing.
21189
f48088c7
PA
211902014-03-19 Pedro Alves <palves@redhat.com>
21191
21192 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
21193 the same line.
21194
e2f6c966
PA
211952014-03-19 Pedro Alves <palves@redhat.com>
21196
21197 * gdb.base/async.c (main): Add "jump here" and "until here" line
21198 marker comments.
21199 * gdb.base/async.exp (jump_here): New global.
21200 (jump& test): Use it.
21201 (until_here): New global.
21202 (until& test): Use it.
21203
c30568d4
PA
212042014-03-19 Pedro Alves <palves@redhat.com>
21205
21206 * gdb.base/async.exp: Don't frob gdb_protocol.
21207
0172b6a7
DE
212082014-03-18 Doug Evans <xdje42@gmail.com>
21209
21210 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
21211 Fix spelling of exec-done-display.
21212
06c868a8
JK
212132014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
21214
21215 PR gdb/15358
21216 * gdb.base/gdb-sigterm.c: New file.
21217 * gdb.base/gdb-sigterm.exp: New file.
21218
0c7e1a46
PA
212192014-03-18 Pedro Alves <palves@redhat.com>
21220
21221 PR gdb/13860
21222 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
21223 * lib/mi-support.exp (mi_expect_stop): Add special handling for
21224 solib-event.
21225
f7c77d93
JB
212262014-03-17 Joel Brobecker <brobecker@adacore.com>
21227
21228 * gdb.ada/pckd_arr_ren: New testcase.
21229
5a1e8c7a
DE
212302014-03-13 Doug Evans <xdje42@gmail.com>
21231
21232 PR guile/16612
21233 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
21234 collect after discarding symbols.
21235
350e1a76
DE
212362014-03-13 Ludovic Courtès <ludo@gnu.org>
21237 Doug Evans <xdje42@gmail.com>
21238
21239 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
21240 to history survives a gc.
21241
a69900ae
PA
212422014-03-13 Pedro Alves <palves@redhat.com>
21243
21244 * gdb.base/default.exp: Don't test "target procfs".
21245
5db9f0bd
PA
212462014-03-13 Pedro Alves <palves@redhat.com>
21247
21248 * gdb.base/default.exp: Update "target child" and "target procfs"
21249 tests to not expect "Unix".
21250
b3ccfe11
TT
212512014-03-12 Tom Tromey <tromey@redhat.com>
21252
21253 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
21254 New procs. Add target-async tests.
21255 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
21256 Add target-async tests.
21257
646f4417
AA
212582014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21259
21260 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
21261 'func_start' and 'func_end' for the beginning and end of the
21262 function code, respectively.
21263 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
21264 'func_end' instead of 'func' and 'main'.
21265
288c211f
AA
212662014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21267
21268 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
21269 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
21270 generate the debug info assembler source.
21271
e0c0f156
AA
212722014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21273
21274 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
21275 * gdb.dwarf2/arr-subrange.exp: Likewise.
21276 * gdb.dwarf2/dwz.exp: Likewise.
21277 * gdb.dwarf2/method-ptr.exp: Likewise.
21278 * gdb.dwarf2/missing-sig-type.exp: Likewise.
21279 * gdb.dwarf2/subrange.exp: Likewise.
21280 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
21281 * gdb.dwarf2/implptrpiece.exp: Likewise.
21282 * gdb.dwarf2/nostaticblock.exp: Likewise.
21283
0e5c4555
AA
212842014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21285
21286 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
21287 directory to absolute path name arguments.
21288
5ec18f2b
JG
212892014-03-10 Joel Brobecker <brobecker@adacore.com>
21290
21291 * gdb.ada/tagged_access: New testcase.
21292
847fc4f2
MM
212932014-03-07 Markus Metzger <markus.t.metzger@intel.com>
21294
21295 * gdb.btrace/data.exp: Update expected output.
21296
cc3da688
YQ
212972014-03-06 Yao Qi <yao@codesourcery.com>
21298
21299 * gdb.trace/pr16508.exp: New file.
21300
0f26cec1
PA
213012014-03-05 Pedro Alves <palves@redhat.com>
21302
21303 PR gdb/16575
21304 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
21305 procedure.
21306 (top level): Adjust to use it. Add tests that exercise breakpoint
21307 interaction with the code-cache.
21308
7a5a839f
LC
213092014-02-26 Ludovic Courtès <ludo@gnu.org>
21310
21311 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
21312 test for 'history-append!'.
21313
31aa7e4e
JB
213142014-02-26 Joel Brobecker <brobecker@adacore.com>
21315
21316 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
21317 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
21318 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
21319 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
21320 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
21321 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
21322
1b588015
JB
213232014-02-26 Joel Brobecker <brobecker@adacore.com>
21324
21325 * testsuite/gdb.python/py-pp-re-notag.c: New file.
21326 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
21327 * testsuite/gdb.python/py-pp-re-notag.p: New file.
21328
55426c9d
JB
213292014-02-26 Joel Brobecker <brobecker@adacore.com>
21330
21331 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
21332
dc53a7ad
JB
213332014-02-26 Joel Brobecker <brobecker@adacore.com>
21334
21335 * gdb.dwarf2/arr-stride.c: New file.
21336 * gdb.dwarf2/arr-stride.exp: New file.
21337
12ab52e9
PA
213382014-02-26 Pedro Alves <palves@redhat.com>
21339
21340 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
21341 that won't ever trigger. Make sure that GDB reports the correct
21342 breakpoint that caused the stop.
21343
849c862e
JK
213442014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21345
21346 PR gdb/16626
21347 * gdb.base/auto-load-script: New file.
21348 * gdb.base/auto-load.c: New file.
21349 * gdb.base/auto-load.exp: New file.
21350
71b7d793
JK
21351 PR gdb/16626
21352 * gdb.base/auto-load.exp: Fix out-of-srctree run.
21353
e2f0d509
JK
213542014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21355
21356 Fix dw2-icycle.exp -fsanitize=address GDB crash.
21357 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
21358
50cc37c8
DE
213592014-02-24 Doug Evans <dje@google.com>
21360
21361 * lib/gdb.exp (run_on_host): Log error output if program fails.
21362
ea4758f2
PA
213632014-02-21 Pedro Alves <palves@redhat.com>
21364
21365 * gdb.threads/step-after-sr-lock.c: Rename to ...
21366 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
21367 * gdb.threads/step-after-sr-lock.exp: Rename to ...
21368 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21369 ... this.
21370
d7b30f67
SDJ
213712014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
21372
21373 PR tdep/16397
21374 * gdb.arch/amd64-stap-special-operands.exp: New file.
21375 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
21376 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
21377 * gdb.arch/amd64-stap-triplet.S: Likewise.
21378 * gdb.arch/amd64-stap-triplet.c: Likewise.
21379
83deb43f
JB
213802014-02-20 Joel Brobecker <brobecker@adacore.com>
21381
21382 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
21383 in .section pseudo-op.
21384
adde2bff
DE
213852014-02-20 lin zuojian <manjian2006@gmail.com>
21386 Joel Brobecker <brobecker@adacore.com>
21387 Doug Evans <xdje42@gmail.com>
21388
21389 PR symtab/16581
21390 * gdb.dwarf2/dw2-icycle.S: New file.
21391 * gdb.dwarf2/dw2-icycle.c: New file.
21392 * gdb.dwarf2/dw2-icycle.exp: New file.
21393
f7bd0f78
SC
213942014-02-19 Siva Chandra Reddy <sivachandra@google.com>
21395
21396 * gdb.python/py-value-cc.cc: Improve test case to enable testing
21397 operations on gdb.Value objects.
21398 * gdb.python/py-value-cc.exp: Add new test to test operations on
21399 gdb.Value objects.
21400
c17ef0d5
DE
214012014-02-18 Doug Evans <dje@google.com>
21402
21403 * Makefile.in (TESTS): New variable.
21404 (expanded_tests, expanded_tests_or_none): New variables
21405 (check-single): Pass $(expanded_tests_or_none) to runtest.
21406 (check-parallel): Only run tests in $(TESTS) if non-empty.
21407 (check/no-matching-tests-found): New rule.
21408 * README: Document TESTS makefile variable.
21409
5dd3176f
DE
214102014-02-18 Doug Evans <dje@google.com>
21411
21412 * Makefile.in (check-parallel): rm -rf outputs temp.
21413
0b10be4f
JK
214142014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21415
21416 Fix "ERROR: no fileid for" in the testsuite.
21417 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
21418
85f224e7
DE
214192014-02-12 Doug Evans <dje@google.com>
21420
21421 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
21422 (MISCELLANEOUS): New variable.
21423 (clean): rm -rf $(MISCELLANEOUS).
21424 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
21425 dwp live in the same directory as symlinks, with each symlink pointed
21426 to a differently named file in a different directory.
21427
149b30ff
DE
214282014-02-11 Doug Evans <dje@google.com>
21429
21430 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
21431 of Tcl file commands.
21432
1dfdac32
MK
214332014-02-10 Mark Kettenis <kettenis@gnu.org>
21434
21435 * gdb.threads/step-after-sr-lock.exp: Avoid executing
21436 "kill -SIGUSR1 -1".
21437
aa4fb036
JB
214382014-02-10 Joel Brobecker <brobecker@adacore.com>
21439
21440 * gdb.ada/tick_length_array_enum_idx: New testcase.
21441
ed3ef339
DE
214422014-02-10 Doug Evans <xdje42@gmail.com>
21443
21444 * configure.ac (AC_OUTPUT): Add gdb.guile.
21445 * configure: Regenerate.
21446 * lib/gdb-guile.exp: New file.
21447 * lib/gdb.exp (get_target_charset): New function.
21448 * gdb.base/help.exp: Update expected output from "apropos apropos".
21449 * gdb.guile/Makefile.in: New file.
21450 * gdb.guile/guile.exp: New file.
21451 * gdb.guile/scm-arch.c: New file.
21452 * gdb.guile/scm-arch.exp: New file.
21453 * gdb.guile/scm-block.c: New file.
21454 * gdb.guile/scm-block.exp: New file.
21455 * gdb.guile/scm-breakpoint.c: New file.
21456 * gdb.guile/scm-breakpoint.exp: New file.
21457 * gdb.guile/scm-disasm.c: New file.
21458 * gdb.guile/scm-disasm.exp: New file.
21459 * gdb.guile/scm-equal.c: New file.
21460 * gdb.guile/scm-equal.exp: New file.
21461 * gdb.guile/scm-error.exp: New file.
21462 * gdb.guile/scm-error.scm: New file.
21463 * gdb.guile/scm-frame-args.c: New file.
21464 * gdb.guile/scm-frame-args.exp: New file.
21465 * gdb.guile/scm-frame-args.scm: New file.
21466 * gdb.guile/scm-frame-inline.c: New file.
21467 * gdb.guile/scm-frame-inline.exp: New file.
21468 * gdb.guile/scm-frame.c: New file.
21469 * gdb.guile/scm-frame.exp: New file.
21470 * gdb.guile/scm-generics.exp: New file.
21471 * gdb.guile/scm-gsmob.exp: New file.
21472 * gdb.guile/scm-iterator.c: New file.
21473 * gdb.guile/scm-iterator.exp: New file.
21474 * gdb.guile/scm-math.c: New file.
21475 * gdb.guile/scm-math.exp: New file.
21476 * gdb.guile/scm-objfile-script-gdb.in: New file.
21477 * gdb.guile/scm-objfile-script.c: New file.
21478 * gdb.guile/scm-objfile-script.exp: New file.
21479 * gdb.guile/scm-objfile.c: New file.
21480 * gdb.guile/scm-objfile.exp: New file.
21481 * gdb.guile/scm-ports.exp: New file.
21482 * gdb.guile/scm-pretty-print.c: New file.
21483 * gdb.guile/scm-pretty-print.exp: New file.
21484 * gdb.guile/scm-pretty-print.scm: New file.
21485 * gdb.guile/scm-section-script.c: New file.
21486 * gdb.guile/scm-section-script.exp: New file.
21487 * gdb.guile/scm-section-script.scm: New file.
21488 * gdb.guile/scm-symbol.c: New file.
21489 * gdb.guile/scm-symbol.exp: New file.
21490 * gdb.guile/scm-symtab-2.c: New file.
21491 * gdb.guile/scm-symtab.c: New file.
21492 * gdb.guile/scm-symtab.exp: New file.
21493 * gdb.guile/scm-type.c: New file.
21494 * gdb.guile/scm-type.exp: New file.
21495 * gdb.guile/scm-value-cc.cc: New file.
21496 * gdb.guile/scm-value-cc.exp: New file.
21497 * gdb.guile/scm-value.c: New file.
21498 * gdb.guile/scm-value.exp: New file.
21499 * gdb.guile/source2.scm: New file.
21500 * gdb.guile/types-module.cc: New file.
21501 * gdb.guile/types-module.exp: New file.
21502
7026a7c1
YQ
215032014-02-10 Yao Qi <yao@codesourcery.com>
21504
21505 PR testsuite/16543
21506 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
21507 * configure: Regenerated.
21508 * Makefile.in: New file.
21509
6c466447
AS
215102014-02-08 Andreas Schwab <schwab@linux-m68k.org>
21511
21512 * gdb.python/py-framefilter.exp: Fix typo.
21513
6e854735
YQ
215142014-02-08 Yao Qi <yao@codesourcery.com>
21515
21516 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
21517 that no =breakpoint-modified is emitted when breakpoints are
21518 modified through MI commands.
21519
d137e6dc
PA
215202014-02-07 Pedro Alves <pedro@codesourcery.com>
21521 Pedro Alves <palves@redhat.com>
21522
21523 * gdb.threads/step-after-sr-lock.c: New file.
21524 * gdb.threads/step-after-sr-lock.exp: New file.
21525
b5ee5a50
PA
215262014-02-07 Pedro Alves <palves@redhat.com>
21527
21528 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
21529
3c77faf3
JK
215302014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
21531
21532 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
21533 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
21534
6dddc817
DE
215352014-02-06 Doug Evans <xdje42@gmail.com>
21536
21537 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
21538 output.
21539
21540 * gdb.gdb/python-interrupts.exp: New file.
21541
de7b2893
YQ
215422014-02-05 Yao Qi <yao@codesourcery.com>
21543
21544 * gdb.trace/report.exp (use_collected_data): Test the output
21545 of "info threads" and "info inferiors".
21546
66d032ac
YQ
215472014-02-05 Yao Qi <yao@codesourcery.com>
21548
21549 Revert this patch:
21550
21551 2013-05-24 Yao Qi <yao@codesourcery.com>
21552
21553 * gdb.trace/tfile.exp: Test inferior and thread.
21554
591a12a1
UW
215552014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21556
21557 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
21558 on a function.
21559 * gdb.base/step-bt.c: Call hello via function pointer to make
21560 sure its first instruction is executed on powerpc64le-linux.
21561
0ff3e01f
UW
215622014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21563
21564 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
21565
084ee545
UW
215662014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21567
21568 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
21569 of the test patterns for use on little-endian systems.
21570
6ed14ff3
UW
215712014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21572
21573 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
21574 (decimal_vector): Fix for little-endian.
21575
401e27fd
JM
215762014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
21577
21578 * gdb.arch/sparc-sysstep.exp: New file.
21579 * gdb.arch/sparc-sysstep.c: Likewise.
21580
21581 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
21582
8b924729
EBM
215832014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21584
21585 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
21586
fb151210
JB
215872014-01-23 Tom Tromey <tromey@redhat.com>
21588
21589 * gdb.ada/array_char_idx: New testcase.
21590
0740f8d8
TT
215912014-01-23 Tom Tromey <tromey@redhat.com>
21592
21593 PR python/16487:
21594 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
21595 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
21596 classes.
21597
21909fa1
TT
215982014-01-23 Tom Tromey <tromey@redhat.com>
21599
21600 PR python/16491:
21601 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
21602 string from an inferior frame.
21603 * gdb.python/py-framefilter-mi.exp: Update.
21604
87ce2a04
DE
216052014-01-22 Doug Evans <dje@google.com>
21606
21607 * gdb.server/server-mon.exp: Add tests for "set debug-format".
21608
237b092b
AA
216092014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21610
21611 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
21612
d674a709
AA
216132014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21614
21615 * gdb.trace/entry-values.exp: Remove excess space character from
21616 regex patterns. Handle s390 call instruction.
21617
20fa3390
AA
216182014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21619
21620 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
21621 define "*_start" label. Make "name" static.
21622 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
21623 ${name} by references to ${name}_start.
21624
78466714
AA
216252014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21626
21627 * gdb.base/info-macros.exp: Remove "debug" from the compile
21628 options.
21629
ec9f644a
IB
216302014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21631
21632 * gdb.dlang/demangle.exp: New file.
21633
94b1b47e
IB
216342014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21635
21636 * gdb.dlang/primitive-types.exp: New file.
21637
7f420862
IB
216382014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21639
21640 * configure.ac: Create gdb.dlang/Makefile.
21641 * configure: Regenerate.
21642 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
21643 * gdb.dlang/Makefile.in: New file.
21644 * lib/d-support.exp: New file.
21645 * lib/gdb.exp (skip_d_tests): New proc.
21646
52834460
MM
216472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21648
21649 * gdb.btrace/delta.exp: Check reverse stepi.
21650 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
21651 * gdb.btrace/finish.exp: New.
21652 * gdb.btrace/next.exp: New.
21653 * gdb.btrace/nexti.exp: New.
21654 * gdb.btrace/record_goto.c: Add comments.
21655 * gdb.btrace/step.exp: New.
21656 * gdb.btrace/stepi.exp: New.
21657 * gdb.btrace/multi-thread-step.c: New.
21658 * gdb.btrace/multi-thread-step.exp: New.
21659 * gdb.btrace/rn-dl-bind.c: New.
21660 * gdb.btrace/rn-dl-bind.exp: New.
21661 * gdb.btrace/data.c: New.
21662 * gdb.btrace/data.exp: New.
21663 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21664
6e07b1d2
MM
216652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21666
21667 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
21668 * gdb.btrace/exception.exp: Update.
21669 * gdb.btrace/instruction_history.exp: Update.
21670 * gdb.btrace/record_goto.exp: Update.
21671 * gdb.btrace/tailcall.exp: Update.
21672 * gdb.btrace/unknown_functions.exp: Update.
21673 * gdb.btrace/delta.exp: New.
21674
0b722aec
MM
216752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21676
21677 * gdb.btrace/record_goto.exp: Add backtrace test.
21678 * gdb.btrace/tailcall.exp: Add backtrace test.
21679
066ce621
MM
216802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21681
21682 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
21683 * gdb.btrace/record_goto.c: New.
21684 * gdb.btrace/record_goto.exp: New.
21685 * gdb.btrace/x86-record_goto.S: New.
21686
0688d04e
MM
216872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21688
21689 * gdb.btrace/function_call_history.exp: Update tests.
21690 * gdb.btrace/instruction_history.exp: Update tests.
21691
8710b709
MM
216922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21693
21694 * gdb.btrace/function_call_history.exp: Fix expected field
21695 order for "record function-call-history".
21696 Add new tests for "record function-call-history /c".
21697 * gdb.btrace/exception.cc: New.
21698 * gdb.btrace/exception.exp: New.
21699 * gdb.btrace/tailcall.exp: New.
21700 * gdb.btrace/x86-tailcall.S: New.
21701 * gdb.btrace/x86-tailcall.c: New.
21702 * gdb.btrace/unknown_functions.c: New.
21703 * gdb.btrace/unknown_functions.exp: New.
21704 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21705
5de9129b
MM
217062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21707
21708 * gdb.btrace/instruction_history.exp: Update.
21709 * gdb.btrace/function_call_history.exp: Update.
21710
23a7fe75
MM
217112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21712
21713 * gdb.btrace/function_call_history.exp: Fix expected function
21714 trace.
21715 * gdb.btrace/instruction_history.exp: Initialize traced.
21716 Remove traced_functions.
21717
724c7dd8
MM
217182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21719
21720 * gdb.btrace/function_call_history.exp: Update
21721 * gdb.btrace/instruction_history.exp: Update.
21722
6d78d93b
MM
217232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21724
21725 * gdb.btrace/enable.exp: Update expected text.
21726
93a360cc
OJ
217272014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
21728
21729 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
21730 bytes.
21731
3772b53f
MR
217322014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
21733
21734 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
21735
596662fa
OJ
217362014-01-15 Omair Javaid <omair.javaid@linaro.org>
21737
21738 * lib/gdb.exp (supports_process_record): Return true for
21739 arm*-linux*. (supports_reverse): Likewise.
21740
b5b08fb4
SC
217412014-01-13 Siva Chandra Reddy <sivachandra@google.com>
21742
21743 PR python/15464
21744 PR python/16113
21745 * gdb.python/py-type.c: Enhance test case.
21746 * gdb.python/py-value-cc.cc: Likewise
21747 * gdb.python/py-type.exp: Add new tests.
21748 * gdb.python/py-value-cc.exp: Likewise
21749
52d7fb13
AA
217502014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
21751 Pedro Alves <palves@redhat.com>
21752
21753 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
21754 Make "name" extern.
21755 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
21756 references to ${name}_start by references to ${name}.
21757
a2cd8cfe
JB
217582014-01-10 Joel Brobecker <brobecker@adacore.com>
21759
21760 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
21761
4e23fced
JB
217622014-01-10 Joel Brobecker <brobecker@adacore.com>
21763
21764 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
21765
c6a9e42c
PA
217662014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
21767 Pedro Alves <palves@redhat.com>
21768
21769 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 21770 mi_gdb_target_load.
c6a9e42c 21771
b7ea362b
PA
217722014-01-08 Pedro Alves <palves@redhat.com>
21773
21774 * gdb.threads/reconnect-signal.c: New file.
21775 * gdb.threads/reconnect-signal.exp: New file.
21776
5e3f4fab
EBM
217772014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21778
21779 * gdb.base/source-dir.exp: New file.
21780
79301218
JB
217812014-01-07 Joel Brobecker <brobecker@adacore.com>
21782
21783 * gdb.ada/mi_interface: New testcase.
21784
8e355c5d
JB
217852014-01-07 Joel Brobecker <brobecker@adacore.com>
21786
21787 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
21788 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
21789 gdb.ada/pp-rec-component/pck.ads: New files.
21790
c0d48811
JB
217912014-01-07 Joel Brobecker <brobecker@adacore.com>
21792
21793 * gdb.python/py-pp-integral.c: New file.
21794 * gdb.python/py-pp-integral.py: New file.
21795 * gdb.python/py-pp-integral.exp: New file.
21796
17b609c3 21797For older changes see ChangeLog-1993-2013.
c906108c 21798\f
8d8cb839
EZ
21799;; Local Variables:
21800;; mode: change-log
21801;; left-margin: 8
21802;; fill-column: 74
21803;; version-control: never
21804;; End:
902f2ccb 21805
b811d2c2 21806 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
21807 Copying and distribution of this file, with or without modification,
21808 are permitted provided the copyright notice and this notice are preserved.
This page took 4.185823 seconds and 4 git commands to generate.