gdb.base/nested-addr.{c,exp} C++ify
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
52626c58
PA
12020-09-17 Pedro Alves <pedro@palves.net>
2
3 * gdb.base/nested-addr.c (main): Add cast.
4 * gdb.base/nested-addr.exp: Use "print /d".
5
52bb0902
PA
62020-09-17 Pedro Alves <pedro@palves.net>
7
8 * gdb.base/break.exp (func): New. Use it throughout when
9 expecting a function name.
10
73e18ac9
PA
112020-09-17 Pedro Alves <pedro@palves.net>
12
13 * gdb.base/display.exp: Issue "set print asm-demangle on".
14
c8b18808
PA
152020-09-17 Pedro Alves <pedro@palves.net>
16
17 * gdb.base/find.c: Include <string.h>.
18 (init_bufs): Add cast.
19 * gdb.base/find.exp: Issue "set print asm-demangle on".
20
fe830662
TT
212020-09-16 Tom Tromey <tromey@adacore.com>
22
23 PR gdb/26598:
24 * gdb.base/skipcxx.exp: New file.
25 * gdb.base/skipcxx.cc: New file.
26
945ff6e2
TV
272020-09-16 Tom de Vries <tdevries@suse.de>
28
29 PR testsuite/26617
30 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
31 WITH_DEBUG_SECTIONS is defined.
32 (xstr, str): New macro.
33 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
34 to get start and size of _Dmain.
35 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
36 using additional_flags.
37
da1df1db
TBA
382020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
39
40 * gdb.base/bp-cmds-sourced-script.c: New file.
41 * gdb.base/bp-cmds-sourced-script.exp: New test.
42 * gdb.base/bp-cmds-sourced-script.gdb: New file.
43
337882d4
TV
442020-09-16 Tom de Vries <tdevries@suse.de>
45
46 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
47 get the gdb prompt after issuing "monitor exit".
48
7361f908
TV
492020-09-16 Tom de Vries <tdevries@suse.de>
50
51 PR testsuite/26624
52 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
53
4d91ddd3
TV
542020-09-16 Tom de Vries <tdevries@suse.de>
55
56 PR testsuite/26618
57 * gdb.tui/new-layout.exp: Escape unbalanced braces.
58
08cc37dd
TT
592020-09-15 Tom Tromey <tromey@adacore.com>
60
61 PR rust/26197:
62 * lib/rust-support.exp (rust_llvm_version): New proc.
63 * gdb.rust/simple.exp: Check rust_llvm_version.
64
ee6372f2
TV
652020-09-14 Tom de Vries <tdevries@suse.de>
66
67 * gdb.rust/traits.exp: Fix PATH warning.
68
dc3a371e
PA
692020-09-13 Pedro Alves <pedro@palves.net>
70
71 * gdb.base/catch-follow-exec.c (main): Add explicit return
72 statement.
73 * gdb.base/catch-signal.c (main): Likewise.
74 * gdb.base/condbreak-call-false.c (main): Likewise.
75 * gdb.base/consecutive.c (main): Add explicit return
76 statement and return type.
77 * gdb.base/cursal.c (main): Add explicit return statement.
78 * gdb.base/cvexpr.c (main): Likewise.
79 * gdb.base/display.c (main): Add explicit return statement and
80 return type.
81 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
82 * gdb.base/endianity.c (main): Likewise.
83 * gdb.base/execd-prog.c (main): Likewise.
84 * gdb.base/gdb1090.c (main): Likewise.
85 * gdb.base/info_qt.c (main): Likewise.
86 * gdb.base/lineinc.c (main): Likewise.
87 * gdb.base/load-command.c (main): Likewise.
88 * gdb.base/macscp1.c (main): Likewise.
89 * gdb.base/pr10179-a.c (main): Likewise.
90 * gdb.base/quit-live.c (main): Likewise.
91 * gdb.base/scope0.c (main): Likewise.
92 * gdb.base/settings.c (main): Likewise.
93 * gdb.base/stack-checking.c (main): Return int.
94 * gdb.base/varargs.c (main): Add explicit return statement.
95 * gdb.cp/ambiguous.cc (main): Likewise.
96 * gdb.cp/anon-struct.cc (main): Likewise.
97 * gdb.cp/anon-union.cc (main): Likewise.
98 * gdb.cp/bool.cc (main): Likewise.
99 * gdb.cp/bs15503.cc (main): Likewise.
100 * gdb.cp/cplusfuncs.cc (main): Likewise.
101 * gdb.cp/cttiadd.cc (main): Likewise.
102 * gdb.cp/extern-c.cc (main): Likewise.
103 * gdb.cp/filename.cc (main): Likewise.
104 * gdb.cp/formatted-ref.cc (main): Likewise.
105 * gdb.cp/mb-ctor.cc (main): Likewise.
106 * gdb.cp/member-ptr.cc (main): Likewise.
107 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
108 * gdb.cp/overload-const.cc (main): Likewise.
109 * gdb.cp/paren-type.cc (main): Likewise.
110 * gdb.cp/parse-lang.cc (main): Likewise.
111 * gdb.cp/pr-1023.cc (main): Likewise.
112 * gdb.cp/psmang1.cc (main): Likewise.
113 * gdb.cp/readnow-language.cc (main): Likewise.
114 * gdb.cp/ref-params.cc (main): Likewise.
115 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
116 * gdb.cp/virtbase2.cc (main): Likewise.
117 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
118 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
119 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
120 * gdb.mi/mi-console.c (main): Likewise.
121 * gdb.mi/mi-read-memory.c (main): Likewise.
122 * gdb.modula2/multidim.c (main): Likewise.
123 * gdb.opt/inline-small-func.c (main): Likewise.
124 * gdb.python/py-rbreak.c (main): Likewise.
125 * gdb.stabs/exclfwd1.c (main): Likewise.
126 * gdb.trace/qtro.c (main): Likewise.
127
af26601c
PA
1282020-09-13 Pedro Alves <pedro@palves.net>
129
130 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
131 instead of getenv.
132
2f4b83cd
PA
1332020-09-13 Pedro Alves <pedro@palves.net>
134
135 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
136 instead of spawning GDB with remote_spawn.
137 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
138 gdb_spawn instead of spawning GDB with remote_spawn.
139
c49da0e4
PA
1402020-09-13 Pedro Alves <pedro@palves.net>
141
142 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
143 file and add calls to first and second.
144 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
145 add call to f.
146
6791b117
PA
1472020-09-13 Pedro Alves <pedro@palves.net>
148
149 * gdb.mi/mi-break-qualified.cc: New file.
150 * gdb.mi/mi-break-qualified.exp: New file.
151 * lib/mi-support.exp (mi_create_breakpoint_multi)
152 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
153 procedures.
154 (mi_create_breakpoint_1): New, factored out from
155 mi_create_breakpoint.
156
3b8d4c5c
PA
1572020-09-13 Pedro Alves <pedro@palves.net>
158
159 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
160 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
161 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
162 (register_class): Delete.
163 (main): Don't call register_class.
164
d5f96005
PA
1652020-09-13 Pedro Alves <pedro@palves.net>
166
167 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
168 (do_tests): Remove "calling method for small class" test.
169 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
170 (register_class): Delete.
171 (main): Don't call register_class.
172 * gdb.cp/call-method-register.exp: New file, based on bits removed
173 from classes.exp.
174 * gdb.cp/call-method-register.cc: New file, based on bits removed
175 from classes.cc.
176
77f2120b
PA
1772020-09-13 Pedro Alves <pedro@palves.net>
178
179 * gdb.base/msym-bp-2.c: New.
180 * gdb.base/msym-bp-shl-lib.c: New file.
181 * gdb.base/msym-bp-shl-main-2.c: New file.
182 * gdb.base/msym-bp-shl-main.c: New file.
183 * gdb.base/msym-bp-shl.exp: New file.
184 * gdb.base/msym-bp.c: New file.
185 * gdb.base/msym-bp.exp: New file.
186
32aea73e
JB
1872020-09-13 Joel Brobecker <brobecker@adacore.com>
188
189 * gdb.base/default.exp: Change $_gdb_major to 11.
190
2a67f09d
FW
1912020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
192 Felix Willgerodt <Felix.Willgerodt@intel.com>
193
194 * x86-avx512bf16.c: New file.
195 * x86-avx512bf16.exp: Likewise.
196 * lib/gdb.exp (skip_avx512bf16_tests): New function.
197
ad570dd7
TV
1982020-09-11 Tom de Vries <tdevries@suse.de>
199
200 PR exp/26602
201 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
202
a56f7391
TBA
2032020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
204
205 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
206
918619e5
AM
2072020-09-10 Alan Modra <amodra@gmail.com>
208
209 PR 26597
210 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
211
cac1e71d
TV
2122020-09-08 Tom de Vries <tdevries@suse.de>
213
214 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
215 after gdb_starti_cmd.
216
c5cd900e
AKS
2172020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
218
219 * lib/fortran.exp (fortran_complex8): New proc.
220 (fortran_complex16): New proc.
221 * gdb.fortran/complex.exp: Use routines from fortran.exp
222 * gdb.fortran/pointer-to-pointer.exp: Likewise.
223 * gdb.fortran/vla-ptr-info.exp: Likewise.
224
8f5c6526
TV
2252020-09-03 Tom de Vries <tdevries@suse.de>
226
227 PR breakpoint/26546
228 * gdb.base/label-without-address.exp: Runto main first.
229
02c6f3f1
TT
2302020-09-02 Tom Tromey <tromey@adacore.com>
231
232 * gdb.ada/mi_var_access.exp: Test children of access variable.
233 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
234 * gdb.ada/mi_var_array.exp: Update.
235
efe24f05
KB
2362020-08-31 Kevin Buettner <kevinb@redhat.com>
237
238 * gdb.base/corefile.exp (warning-free): XFAIL test when running
239 on docker w/ AUFS storage driver.
240
973695d6
KB
2412020-08-31 Kevin Buettner <kevinb@redhat.com>
242
243 * gdb.base/corefile2.exp (renamed binfile): New tests.
244
f3bd50f1
SM
2452020-08-31 Simon Marchi <simon.marchi@efficios.com>
246
247 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
248
22b9b4b0
SL
2492020-08-31 Simon Marchi <simon.marchi@efficios.com>
250
251 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
252 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
253
8efaf6b3
SM
2542020-08-31 Simon Marchi <simon.marchi@efficios.com>
255
256 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
257 output, printing a "not saved" value from history and printing a
258 convenience variable created from a "not saved" value.
259
e840f2e3
TV
2602020-08-31 Tom de Vries <tdevries@suse.de>
261
262 * gdb.base/eh_return.exp: Use nopie.
263
8f57f343
PA
2642020-08-28 Pedro Alves <pedro@palves.net>
265
266 * gdb.base/advance-until-multiple-locations.exp
267 (advance_overload, until_overload): Adjust to match the
268 frame/function header instead of the source line text.
269
626d2320
TV
2702020-08-28 Tom de Vries <tdevries@suse.de>
271
272 * gdb.base/label-without-address.c: New test.
273 * gdb.base/label-without-address.exp: New file.
274
df631783
PA
2752020-08-27 Pedro Alves <pedro@palves.net>
276
277 PR gdb/26523
278 PR gdb/26524
279 * gdb.base/advance-until-multiple-locations.cc: New.
280 * gdb.base/advance-until-multiple-locations.exp: New.
281
48b076bb
SM
2822020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
283
284 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
285
c2015ce4
AB
2862020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
287
288 * gdb.arch/amd64-byte.exp: Make test names unique, use
289 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
290 * gdb.arch/amd64-dword.exp: Likewise.
291 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
292 * gdb.arch/amd64-stap-special-operands.exp: Make test names
293 unique.
294 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
295 * gdb.arch/amd64-word.exp: Make test names unique, use
296 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
297 * gdb.arch/i386-byte.exp: Make test names unique, use
298 gdb_breakpoint.
299 * gdb.arch/i386-word.exp: Likewise.
300
995d3a19
SV
3012020-08-25 Shahab Vahedi <shahab@synopsys.com>
302
303 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
304
8cac2b31
SM
3052020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
306
307 PR gdb/26532
308 * gdb.threads/stepi-random-signal.exp: Update pattern.
309
2bc19622
SM
3102020-08-25 Simon Marchi <simon.marchi@efficios.com>
311
312 PR gdb/26532
313 * gdb.base/ui-redirect.exp: Update pattern.
314
b04aa1fc
GB
3152020-08-25 Gary Benson <gbenson@redhat.com>
316
317 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
318 when compiling with clang.
8571e9c8 319 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 320
9f68b453
GB
3212020-08-25 Gary Benson <gbenson@redhat.com>
322
323 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
324 Add additional_flags=-Wno-inaccessible-base when compiling
325 with GCC >= 10.1 or clang. Add additional_flags=-w when
326 compiling with GCC < 10.
327
3945d2d7
GM
3282020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
329
330 PR m2/26372
fc5d6901
SM
331 * gdb.modula2/multidim.c: New file.
332 * gdb.modula2/multidim.exp: New file.
3945d2d7 333
60122dbe
SM
3342020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
335
336 * lib/gdb.exp (runto): Always emit fail on internal error.
337
1eb8556f
SM
3382020-08-24 Simon Marchi <simon.marchi@efficios.com>
339
340 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
341 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
342 Likewise.
343 * gdb.threads/stepi-random-signal.exp: Likewise.
344
33bf4c5c
TBA
3452020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
346
347 * gdb.base/print-file-var.exp: Fix typo "breapoint".
348 * gdb.trace/strace.exp: Ditto.
349
c2fd7fae
AKS
3502020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
351
352 * gdb.fortran/vla-type.exp: Skip commands not required for
353 the Flang compiled binaries after prologue fix.
354
326afb72
TT
3552020-08-17 Tom de Vries <tdevries@suse.de>
356 Tom Tromey <tromey@adacore.com>
357
358 PR rust/26197:
359 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
360
3ae7ab99
TT
3612020-08-17 Tom Tromey <tromey@adacore.com>
362
363 * gdb.ada/mi_var_access.exp: New file.
364 * gdb.ada/mi_var_access/mi_access.adb: New file.
365 * gdb.ada/mi_var_access/pck.adb: New file.
366 * gdb.ada/mi_var_access/pck.ads: New file.
367
f569c1c5
TV
3682020-08-16 Tom de Vries <tdevries@suse.de>
369
370 PR gdb/25350
371 * gdb.base/eh_return.c: New test.
372 * gdb.base/eh_return.exp: New file.
373
3d11c30a
TV
3742020-08-15 Tom de Vries <tdevries@suse.de>
375
376 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
377 (mixed_func_1d_): Use fortran_charlen_t in decl.
378
547ce8f0
TV
3792020-08-15 Tom de Vries <tdevries@suse.de>
380
381 PR backtrace/26390
382 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
383 Update expected pattern.
384
a54a7f13
PA
3852020-08-13 Pedro Alves <pedro@palves.net>
386
387 * gdb.fortran/complex.exp: Check skip_fortran_tests.
388 * gdb.fortran/library-module.exp: Likewise.
389 * gdb.fortran/logical.exp: Likewise.
390 * gdb.fortran/module.exp: Likewise.
391 * gdb.fortran/print_type.exp: Likewise.
392 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
393 * gdb.fortran/vla-datatypes.exp: Likewise.
394 * gdb.fortran/vla-history.exp: Likewise.
395 * gdb.fortran/vla-ptr-info.exp: Likewise.
396 * gdb.fortran/vla-ptype-sub.exp: Likewise.
397 * gdb.fortran/vla-ptype.exp: Likewise.
398 * gdb.fortran/vla-sizeof.exp: Likewise.
399 * gdb.fortran/vla-type.exp: Likewise.
400 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
401 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
402 * gdb.fortran/vla-value-sub.exp: Likewise.
403 * gdb.fortran/vla-value.exp: Likewise.
404
7a82e903
PA
4052020-08-13 Pedro Alves <pedro@palves.net>
406
407 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
408 * gdb.ada/access_to_packed_array.exp: Likewise.
409 * gdb.ada/access_to_unbounded_array.exp: Likewise.
410 * gdb.ada/addr_arith.exp: Likewise.
411 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
412 * gdb.ada/arr_arr.exp: Likewise.
413 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
414 * gdb.ada/array_bounds.exp: Likewise.
415 * gdb.ada/array_of_variable_length.exp: Likewise.
416 * gdb.ada/array_ptr_renaming.exp: Likewise.
417 * gdb.ada/array_subscript_addr.exp: Likewise.
418 * gdb.ada/arraydim.exp: Likewise.
419 * gdb.ada/arrayparam.exp: Likewise.
420 * gdb.ada/arrayptr.exp: Likewise.
421 * gdb.ada/assign_1.exp: Likewise.
422 * gdb.ada/assign_arr.exp: Likewise.
423 * gdb.ada/atomic_enum.exp: Likewise.
424 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
425 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
426 * gdb.ada/bias.exp: Likewise.
427 * gdb.ada/boolean_expr.exp: Likewise.
428 * gdb.ada/bp_c_mixed_case.exp: Likewise.
429 * gdb.ada/bp_enum_homonym.exp: Likewise.
430 * gdb.ada/bp_inlined_func.exp: Likewise.
431 * gdb.ada/bp_on_var.exp: Likewise.
432 * gdb.ada/bp_range_type.exp: Likewise.
433 * gdb.ada/bp_reset.exp: Likewise.
434 * gdb.ada/call_pn.exp: Likewise.
435 * gdb.ada/catch_assert_if.exp: Likewise.
436 * gdb.ada/catch_ex.exp: Likewise.
437 * gdb.ada/catch_ex_std.exp: Likewise.
438 * gdb.ada/char_enum.exp: Likewise.
439 * gdb.ada/char_param.exp: Likewise.
440 * gdb.ada/complete.exp: Likewise.
441 * gdb.ada/cond_lang.exp: Likewise.
442 * gdb.ada/convvar_comp.exp: Likewise.
443 * gdb.ada/dgopt.exp: Likewise.
444 * gdb.ada/disc_arr_bound.exp: Likewise.
445 * gdb.ada/display_nested.exp: Likewise.
446 * gdb.ada/dot_all.exp: Likewise.
447 * gdb.ada/dyn_loc.exp: Likewise.
448 * gdb.ada/dyn_stride.exp: Likewise.
449 * gdb.ada/excep_handle.exp: Likewise.
450 * gdb.ada/expr_delims.exp: Likewise.
451 * gdb.ada/expr_with_funcall.exp: Likewise.
452 * gdb.ada/exprs.exp: Likewise.
453 * gdb.ada/fin_fun_out.exp: Likewise.
454 * gdb.ada/fixed_cmp.exp: Likewise.
455 * gdb.ada/formatted_ref.exp: Likewise.
456 * gdb.ada/frame_arg_lang.exp: Likewise.
457 * gdb.ada/frame_args.exp: Likewise.
458 * gdb.ada/fullname_bp.exp: Likewise.
459 * gdb.ada/fun_addr.exp: Likewise.
460 * gdb.ada/fun_in_declare.exp: Likewise.
461 * gdb.ada/fun_overload_menu.exp: Likewise.
462 * gdb.ada/fun_renaming.exp: Likewise.
463 * gdb.ada/funcall_char.exp: Likewise.
464 * gdb.ada/funcall_param.exp: Likewise.
465 * gdb.ada/funcall_ptr.exp: Likewise.
466 * gdb.ada/funcall_ref.exp: Likewise.
467 * gdb.ada/homonym.exp: Likewise.
468 * gdb.ada/info_addr_mixed_case.exp: Likewise.
469 * gdb.ada/info_auto_lang.exp: Likewise.
470 * gdb.ada/info_exc.exp: Likewise.
471 * gdb.ada/info_types.exp: Likewise.
472 * gdb.ada/int_deref.exp: Likewise.
473 * gdb.ada/interface.exp: Likewise.
474 * gdb.ada/iwide.exp: Likewise.
475 * gdb.ada/lang_switch.exp: Likewise.
476 * gdb.ada/length_cond.exp: Likewise.
477 * gdb.ada/maint_with_ada.exp: Likewise.
478 * gdb.ada/mi_catch_assert.exp: Likewise.
479 * gdb.ada/mi_catch_ex.exp: Likewise.
480 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
481 * gdb.ada/mi_dyn_arr.exp: Likewise.
482 * gdb.ada/mi_ex_cond.exp: Likewise.
483 * gdb.ada/mi_exc_info.exp: Likewise.
484 * gdb.ada/mi_interface.exp: Likewise.
485 * gdb.ada/mi_prot.exp: Likewise.
486 * gdb.ada/mi_ref_changeable.exp: Likewise.
487 * gdb.ada/mi_string_access.exp: Likewise.
488 * gdb.ada/mi_task_arg.exp: Likewise.
489 * gdb.ada/mi_task_info.exp: Likewise.
490 * gdb.ada/mi_var_array.exp: Likewise.
491 * gdb.ada/mi_var_union.exp: Likewise.
492 * gdb.ada/mi_variant.exp: Likewise.
493 * gdb.ada/minsyms.exp: Likewise.
494 * gdb.ada/mod_from_name.exp: Likewise.
495 * gdb.ada/nested.exp: Likewise.
496 * gdb.ada/null_array.exp: Likewise.
497 * gdb.ada/optim_drec.exp: Likewise.
498 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
499 * gdb.ada/packed_array_assign.exp: Likewise.
500 * gdb.ada/packed_tagged.exp: Likewise.
501 * gdb.ada/pp-rec-component.exp: Likewise.
502 * gdb.ada/print_chars.exp: Likewise.
503 * gdb.ada/print_pc.exp: Likewise.
504 * gdb.ada/ptr_typedef.exp: Likewise.
505 * gdb.ada/ptype_arith_binop.exp: Likewise.
506 * gdb.ada/ptype_array.exp: Likewise.
507 * gdb.ada/ptype_field.exp: Likewise.
508 * gdb.ada/ptype_tagged_param.exp: Likewise.
509 * gdb.ada/ptype_union.exp: Likewise.
510 * gdb.ada/py_range.exp: Likewise.
511 * gdb.ada/py_taft.exp: Likewise.
512 * gdb.ada/rdv_wait.exp: Likewise.
513 * gdb.ada/rec_comp.exp: Likewise.
514 * gdb.ada/rec_return.exp: Likewise.
515 * gdb.ada/ref_param.exp: Likewise.
516 * gdb.ada/ref_tick_size.exp: Likewise.
517 * gdb.ada/rename_subscript_param.exp: Likewise.
518 * gdb.ada/repeat_dyn.exp: Likewise.
519 * gdb.ada/same_component_name.exp: Likewise.
520 * gdb.ada/same_enum.exp: Likewise.
521 * gdb.ada/scalar_storage.exp: Likewise.
522 * gdb.ada/set_wstr.exp: Likewise.
523 * gdb.ada/small_reg_param.exp: Likewise.
524 * gdb.ada/str_binop_equal.exp: Likewise.
525 * gdb.ada/str_ref_cmp.exp: Likewise.
526 * gdb.ada/str_uninit.exp: Likewise.
527 * gdb.ada/sub_variant.exp: Likewise.
528 * gdb.ada/sym_print_name.exp: Likewise.
529 * gdb.ada/taft_type.exp: Likewise.
530 * gdb.ada/tagged.exp: Likewise.
531 * gdb.ada/tagged_access.exp: Likewise.
532 * gdb.ada/task_bp.exp: Likewise.
533 * gdb.ada/task_switch_in_core.exp: Likewise.
534 * gdb.ada/tasks.exp: Likewise.
535 * gdb.ada/tick_last_segv.exp: Likewise.
536 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
537 * gdb.ada/type_coercion.exp: Likewise.
538 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
539 * gdb.ada/unchecked_union.exp: Likewise.
540 * gdb.ada/uninitialized_vars.exp: Likewise.
541 * gdb.ada/var_arr_attrs.exp: Likewise.
542 * gdb.ada/var_arr_typedef.exp: Likewise.
543 * gdb.ada/var_rec_arr.exp: Likewise.
544 * gdb.ada/variant-record.exp: Likewise.
545 * gdb.ada/variant.exp: Likewise.
546 * gdb.ada/variant_record_packed_array.exp: Likewise.
547 * gdb.ada/varsize_limit.exp: Likewise.
548 * gdb.ada/whatis_array_val.exp: Likewise.
549 * gdb.ada/widewide.exp: Likewise.
550 * gdb.ada/win_fu_syms.exp: Likewise.
551
5522020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
553
554 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
555
10c381b5
AB
5562020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
557
558 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
559 unset the array variable.
560
8f34b746
TV
5612020-08-03 Tom de Vries <tdevries@suse.de>
562
563 PR symtab/26333
564 * lib/dwarf.exp (DW_LNE_user): New proc.
565 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
566 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
567
0245e136
KB
5682020-07-31 Kevin Buettner <kevinb@redhat.com>
569
570 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
571 to 'uintptr_t'
572 (inttypes.h): Include.
573
9ef1ec5d
KB
5742020-07-31 Kevin Buettner <kevinb@redhat.com>
575
576 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
577 (C5_24k): Delete.
578 (C5_8k, C5_64k, C5_256k): New macros.
579 (buf_ro): Allocate 256 KiB of initialized data.
580
4c55e970
TBA
5812020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
582
583 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
584 that attempt to overwrite an existing condition with a condition
585 that fails parsing and also with a condition that parses fine
586 but contains junk at the end.
587
1e620590
TBA
5882020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
589
590 * gdb.base/condbreak-bad.c: New test.
591 * gdb.base/condbreak-bad.exp: New file.
592
e12dcc50
TV
5932020-07-30 Tom de Vries <tdevries@suse.de>
594
595 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
596 out of ...
597 (GDBInfoModuleSymbols::check_entry): ... here.
598 (GDBInfoModuleSymbols::check_optional_entry): New proc.
599 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
600 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
601
6cc64caa
TV
6022020-07-30 Tom de Vries <tdevries@suse.de>
603
604 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
605 "__class_some_module_Number_t" optional.
606
90fd07fc
TV
6072020-07-29 Tom de Vries <tdevries@suse.de>
608
609 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
610 multiple locations.
611
f5c79e97
TV
6122020-07-29 Tom de Vries <tdevries@suse.de>
613
614 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
615 rather than function name.
616
f75a0693
AB
6172020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
618
619 PR symtab/26270:
620 * gdb.cp/disasm-func-name.cc: New file.
621 * gdb.cp/disasm-func-name.exp: New file.
622
4888741a
TT
6232020-07-28 Tom Tromey <tromey@adacore.com>
624
625 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
626 'varval' location.
627
43d5901d
AB
6282020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
629
630 * gdb.python/py-unwind.py: Update to make use of a register
631 descriptor.
632
14fa8fb3
AB
6332020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
634
635 * gdb.python/py-arch-reg-names.exp: Add additional tests.
636
e79eb02f
AB
6372020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
638
639 PR fortran/23051
640 PR fortran/26139
641 * gdb.fortran/class-allocatable-array.exp: New file.
642 * gdb.fortran/class-allocatable-array.f90: New file.
643 * gdb.fortran/pointer-to-pointer.exp: New file.
644 * gdb.fortran/pointer-to-pointer.f90: New file.
645
876518dd
TV
6462020-07-25 Tom de Vries <tdevries@suse.de>
647
648 PR symtab/26243
649 * gdb.dwarf2/dw2-line-number-zero.c: New test.
650 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
651
6dcfb80a
TV
6522020-07-24 Tom de Vries <tdevries@suse.de>
653
654 PR testsuite/26293
655 * gdb.ada/mi_prot.exp: Require gnatmake-8.
656
e7bc9db8
PA
6572020-07-23 Pedro Alves <pedro@palves.net>
658
659 * gdb.server/server-kill.exp (prepare): New, factored out from the
660 top level.
661 (kill_server): New.
662 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
663 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
664
78344df7
AB
6652020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
666
667 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
668
25dfed24
SL
6692020-07-22 Sandra Loosemore <sandra@codesourcery.com>
670
671 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
672 Initialize to empty string at top level.
673 (gdb_wrapper_init): Revert check for file existence on build.
674 Build the wrapper in its default place, not a build-specific
675 location. When host == build, make the pathname absolute.
676 (gdb_compile): Delete leftover declaration of
677 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
678 string instead of uninitialized.
679
7da515fd
KB
6802020-07-22 Kevin Buettner <kevinb@redhat.com>
681
682 * gdb.base/corefile2.exp: New file.
683 * gdb.base/coremaker2.exp: New file.
684
9c5ec5c2
KB
6852020-07-22 Kevin Buettner <kevinb@redhat.com>
686
687 * gdb.base/coredump-filter.exp: Add second
688 non-Private-Shared-Anon-File test.
689 (test_disasm): Rename binfile for test which is expected
690 to fail.
691
f9e233c9
KB
6922020-07-22 Kevin Buettner <kevinb@redhat.com>
693
694 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
695 data in core file".
696 * gdb.base/coremaker.c (buf2ro): New global.
697 (mmapdata): Add a read-only mmap mapping.
698
94c265d7
KB
6992020-07-22 Kevin Buettner <kevinb@redhat.com>
700
701 PR corefiles/25631
702 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
703 New test.
704 * gdb.base/coremaker.c (buf3): New global.
705 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
706 flags.
707
7082020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
709
710 * gdb.base/coremaker.c (filler_ro): New global constant.
711
32fa152e
TT
7122020-07-22 Tom Tromey <tromey@adacore.com>
713
714 * gdb.ada/mi_prot.exp: New file.
715 * gdb.ada/mi_prot/pkg.adb: New file.
716 * gdb.ada/mi_prot/pkg.ads: New file.
717 * gdb.ada/mi_prot/prot.adb: New file.
718
c8474dc3
TBA
7192020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
720
721 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
722 loads two JITers.
723
baf8791e
AB
7242020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
725
726 * gdb.python/py-arch-reg-groups.exp: Additional tests.
727
f7306dac
AB
7282020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
729
730 * gdb.python/py-arch-reg-names.exp: Additional tests.
731
6d3d6e4b
TV
7322020-07-21 Tom de Vries <tdevries@suse.de>
733
734 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
735 breakpoint locations".
736 * gdb.reverse/solib-reverse.exp: Same.
737
803d0592
TV
7382020-07-21 Tom de Vries <tdevries@suse.de>
739
740 * gdb.reverse/step-reverse.c (callee): Merge statements.
741
e9bdc510
TV
7422020-07-21 Tom de Vries <tdevries@suse.de>
743
744 * gdb.fortran/info-modules.exp (info module variables): Allow missing
745 line numbers for some variables.
746
f0f9e75a
TV
7472020-07-21 Tom de Vries <tdevries@suse.de>
748
749 * gdb.opt/inline-locals.c (init_array): New func.
750 (func1): Use init_array.
751 * gdb.opt/inline-locals.exp: Update pattern.
752
bd460ecb
TV
7532020-07-21 Tom de Vries <tdevries@suse.de>
754
755 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
756 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
757
ae5369e7
LC
7582020-07-20 Ludovic Courtès <ludo@gnu.org>
759
760 * gdb.guile/source2.scm: Add #f first argument to 'format'.
761 * gdb.guile/types-module.exp: Remove "ERROR:" from
762 regexps since Guile 3.0 no longer prints that.
763
68cf161c
LC
7642020-07-20 Ludovic Courtès <ludo@gnu.org>
765
766 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
767 error regexp to match on Guile 2.2.
768
c14b4913
GB
7692020-07-20 Gary Benson <gbenson@redhat.com>
770
771 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
772 with clang.
773
b243ba58
TV
7742020-07-20 Tom de Vries <tdevries@suse.de>
775
776 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
777 (omp_set_lock_in_order): New function.
778 (single_scope, multi_scope, nested_func, nested_parallel): Use
779 omp_set_lock_in_order and omp_unset_lock.
780 (main): Init and destroy lock and lock2.
781
c06ad8b5
TV
7822020-07-20 Tom de Vries <tdevries@suse.de>
783
784 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
785
6e22f117
TV
7862020-07-20 Tom de Vries <tdevries@suse.de>
787
788 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
789
33176ea7
TV
7902020-07-17 Tom de Vries <tdevries@suse.de>
791
792 * gdb.base/valgrind-infcall-2.c: New test.
793 * gdb.base/valgrind-infcall-2.exp: New file.
794 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
795
90c3ec2d
TV
7962020-07-17 Tom de Vries <tdevries@suse.de>
797
798 * gdb.dlang/circular.c (found): Use found_label as label name.
799 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
800 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
801 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
802 * gdb.dwarf2/ada-linkage-name.exp: Same.
803 * gdb.dwarf2/arr-subrange.exp: Same.
804 * gdb.dwarf2/atomic-type.exp: Same.
805 * gdb.dwarf2/comp-unit-lang.exp: Same.
806 * gdb.dwarf2/cpp-linkage-name.exp: Same.
807 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
808 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
809 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
810 * gdb.dwarf2/implptr-64bit.exp: Same.
811 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
812 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
813 * gdb.dwarf2/imported-unit.exp: Same.
814 * gdb.dwarf2/main-subprogram.exp: Same.
815 * gdb.dwarf2/missing-type-name.exp: Same.
816 * gdb.dwarf2/nonvar-access.exp: Same.
817 * gdb.dwarf2/struct-with-sig.exp: Same.
818 * gdb.dwarf2/typedef-void-finish.exp: Same.
819 * gdb.dwarf2/void-type.exp: Same.
820
10da644d
TV
8212020-07-17 Tom de Vries <tdevries@suse.de>
822
823 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
824 src parameter.
825 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
826 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
827 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
828 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
829 * gdb.dwarf2/dwz.exp: Same.
830 * gdb.dwarf2/implptr-optimized-out.exp: Same.
831 * gdb.dwarf2/implref-array.exp: Same.
832 * gdb.dwarf2/implref-const.exp: Same.
833 * gdb.dwarf2/implref-global.exp: Same.
834 * gdb.dwarf2/implref-struct.exp: Same.
835 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
836 * gdb.dwarf2/opaque-type-lookup.exp: Same.
837 * gdb.dwarf2/var-access.exp: Same.
838 * gdb.dwarf2/varval.exp: Same.
839 * gdb.trace/entry-values.exp: Same.
840
315e6afc
TV
8412020-07-17 Tom de Vries <tdevries@suse.de>
842
843 * lib/dwarf.exp (Dwarf::extern): Remove.
844 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
845 * gdb.dlang/circular.exp: Same.
846 * gdb.dwarf2/comp-unit-lang.exp: Same.
847 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
848 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
849 * gdb.dwarf2/dwz.exp: Same.
850 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
851 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
852 * gdb.dwarf2/imported-unit.exp: Same.
853 * gdb.dwarf2/opaque-type-lookup.exp: Same.
854
5597c940
SL
8552020-07-16 Sandra Loosemore <sandra@codesourcery.com>
856
857 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
858 Use double quotes instead of single quotes.
859
d0ce17d8
CT
8602020-07-16 Caroline Tice <cmtice@google.com>
861
862 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
863 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
864
853772cc
TV
8652020-07-16 Tom de Vries <tdevries@suse.de>
866
867 * lib/dwarf.exp (program): Initialize _line.
868 (DW_LNE_end_sequence): Reinitialize _line.
869 (DW_LNS_advance_line): Update _line.
870 (line): New proc.
871 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
872 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
873 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
874 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
875 * gdb.dwarf2/dw2-is-stmt.exp: Same.
876 * gdb.dwarf2/dw2-ranges-func.exp: Same.
877
fe07b572
AB
8782020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
879
880 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
881 generic.
882
52781cce
TV
8832020-07-15 Tom de Vries <tdevries@suse.de>
884
885 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
886 is_amd64_regs_target.
887
3dcc261c
AB
8882020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
889
890 * gdb.fortran/ptype-on-functions.exp: Add more tests.
891 * gdb.fortran/ptype-on-functions.f90: Likewise.
892
054a0959
SM
8932020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
894
895 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
896 values in documentation for addr_size to 4 and 8.
897
ccb9eba6
AB
8982020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
899
900 * gdb.arch/amd64-osabi.exp: Update.
901 * gdb.arch/arm-disassembler-options.exp: Update.
902 * gdb.arch/powerpc-disassembler-options.exp: Update.
903 * gdb.arch/ppc64-symtab-cordic.exp: Update.
904 * gdb.arch/s390-disassembler-options.exp: Update.
905 * gdb.base/all-architectures.exp.tcl: Update.
906 * gdb.base/attach-pie-noexec.exp: Update.
907 * gdb.base/catch-syscall.exp: Update.
908 * gdb.xml/tdesc-arch.exp: Update.
909
025a39a7
TV
9102020-07-14 Tom de Vries <tdevries@suse.de>
911
912 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
913 (local_gettid): ... this.
914 (fn): Update.
915
74e4b667
SL
9162020-07-13 Sandra Loosemore <sandra@codesourcery.com>
917
918 * gdb.base/info_sources.exp: Skip directory match tests on
919 remote hosts.
920
f413dd74
GB
9212020-07-13 Gary Benson <gbenson@redhat.com>
922
923 * gdb.base/savedregs.exp (caller): Use parentheses to
924 make expected expression evaluation ordering explicit.
925
915771bb
GB
9262020-07-13 Gary Benson <gbenson@redhat.com>
927
928 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
929
2a122642
GB
9302020-07-13 Gary Benson <gbenson@redhat.com>
931
932 * gdb.base/bigcore.c (main): Use a volatile pointer when
933 attempting to trigger a SIGSEGV.
934 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
935 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
936 * gdb.base/savedregs.c (thrower): Likewise.
937 * gdb.mi/mi-syn-frame.c (bar): Likewise.
938
3f00c730
GB
9392020-07-13 Gary Benson <gbenson@redhat.com>
940
941 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
942 defining and using VLA structure fields into...
943 * gdb.base/vla-struct-fields.c: New file.
944 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
945 tests into...
946 * gdb.base/vla-struct-fields.exp: New file.
947
963eeee4
TV
9482020-07-13 Tom de Vries <tdevries@suse.de>
949
950 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
951 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
952 * gdb.base/gold-gdb-index.exp: Same.
953 * gdb.base/morestack.exp: Same.
954
0ed35c9a
DX
9552020-07-11 Daniel Xu <dxu@dxuuu.xyz>
956
957 PR rust/26121
958 * gdb.rust/modules.rs: Prevent linker from discarding test
959 symbol.
960
4fdba23d
PA
9612020-07-10 Pedro Alves <pedro@palves.net>
962
963 PR gdb/26199
964 * gdb.multi/multi-target.c (exit_thread): New.
965 (thread_start): Break loop if EXIT_THREAD.
966 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
967 (top level) Call test_no_resumed.
968
15f3b077
TT
9692020-07-08 Tom Tromey <tromey@adacore.com>
970
971 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
972 * gdb.ada/catch_ex.exp: Examine catchpoint text.
973
9fc501fd
AB
9742020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
975
976 PR python/22748
977 * gdb.opt/inline-frame-tailcall.c: New file.
978 * gdb.opt/inline-frame-tailcall.exp: New file.
979 * gdb.python/py-unwind-inline.c: New file.
980 * gdb.python/py-unwind-inline.exp: New file.
981 * gdb.python/py-unwind-inline.py: New file.
982
64cb3757
AB
9832020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
984
985 * gdb.python/py-arch-reg-groups.exp: New file.
986
0f767f94
AB
9872020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
988
989 * gdb.python/py-arch-reg-names.exp: New file.
990
87dbc774
AB
9912020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
992
993 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
994 gdb.PendingFrame.architecture method.
995
d8cc8af6
TV
9962020-07-06 Tom de Vries <tdevries@suse.de>
997
998 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
999
3c8ea5be
PA
10002020-07-03 Pedro Alves <palves@redhat.com>
1001
1002 * gdb.base/structs2.c (main): Adjust second parem_reg call to
1003 explicitly write negative numbers.
1004 * gdb.base/structs2.exp: Adjust expected output.
1005
bf90c83a
PA
10062020-07-03 Pedro Alves <palves@redhat.com>
1007
1008 * gdb.base/charset.c (init_string): Change all char parameters to
1009 unsigned char parameters.
1010
2eb82157
PA
10112020-07-03 Pedro Alves <palves@redhat.com>
1012
1013 * gdb.base/call-sc.exp (start_scalars_test): Use
1014 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1015 * gdb.base/overlays.c: Remove references to PARAMS.
1016 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
1017 * gdb.base/reread.exp: Don't set 'prototypes' global.
1018 * gdb.base/structs.exp (start_structs_test): Use
1019 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1020 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
1021 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1022 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
1023 call.
1024 * gdb.base/varargs.exp: Don't set 'prototypes' global.
1025
9adda7af
PA
10262020-07-03 Pedro Alves <palves@redhat.com>
1027
1028 * gdb.base/m32rovly.c: Delete.
1029 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
1030
2a17c803
PW
10312020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1032
1033 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
1034 of gdb_py_test_multiple.
1035 * gdb.python/py-cmd.exp: Likewise.
1036 * gdb.python/py-events.exp: Likewise.
1037 * gdb.python/py-function.exp: Likewise.
1038 * gdb.python/py-inferior.exp: Likewise.
1039 * gdb.python/py-infthread.exp: Likewise.
1040 * gdb.python/py-linetable.exp: Likewise.
1041 * gdb.python/py-parameter.exp: Likewise.
1042 * gdb.python/py-value.exp: Likewise.
1043
b011fe1a
TV
10442020-06-30 Tom de Vries <tdevries@suse.de>
1045
1046 PR testsuite/26175
1047 * lib/future.exp (gdb_default_target_compile): Detect and handle
1048 early_flags.
1049
df5b8876
SM
10502020-06-29 Simon Marchi <simon.marchi@efficios.com>
1051
1052 * boards/simavr.exp (gdb_load): Catch errors when closing
1053 previous connection. Close connection, wait for process and
1054 unset simavr_spawn_id on failure.
1055
a3ca48cd
TV
10562020-06-29 Tom de Vries <tdevries@suse.de>
1057
1058 * lib/gdb.exp (unknown): Make test-case unresolved.
1059
b0237c0e
TV
10602020-06-29 Tom de Vries <tdevries@suse.de>
1061
1062 PR gdb/25475
1063 * gdb.server/solib-list.exp: Verify that the symbol reload
1064 confirmation question is asked.
1065
c0b3b3bd
PW
10662020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1067
1068 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
1069 have a input seq nr in each pass message.
fe4c3d43 1070 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
1071 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
1072 * gdb.python/python.exp: Make test names unique,
1073 use gdb_test_multiline instead of gdb_py_test_multiple,
1074 use $gdb_test_name.
1075 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
1076
1776e3e5
NA
10772020-06-26 Nick Alcock <nick.alcock@oracle.com>
1078
1079 * configure.ac: Add --enable-libctf.
1080 * aclocal.m4: sinclude ../config/enable.m4.
1081 * Makefile.in (site.exp): Add enable_libctf to site.exp.
1082 * lib/gdb.exp (skip_ctf_tests): Use it.
1083 * gdb.base/ctf-constvars.exp: Error message tweak.
1084 * gdb.base/ctf-ptype.exp: Likewise.
1085 * configure: Regenerate.
1086
f53b3eeb
GB
10872020-06-26 Gary Benson <gbenson@redhat.com>
1088
1089 * gdb.cp/try_catch.cc: Include string.h.
1090 (main): Replace comparison against string literal with
1091 strcmp, avoiding build failure with -Wstring-compare.
1092 Add "marker test-complete".
1093 * gdb.cp/try_catch.exp: Run the test to the above marker,
1094 then verify that the value of "test" is still true.
1095
6d74da72
AB
10962020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1097
1098 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
1099
2e52d038
AB
11002020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1101
1102 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1103
3b9fce96
AB
11042020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1105
1106 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
1107 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
1108 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
1109 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
1110 * gdb.arch/riscv-tdesc-loading.exp: New file.
1111
ed69cbc8
AB
11122020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1113
1114 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1115
767a879e
AB
11162020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1117
1118 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
1119 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
1120 * gdb.arch/riscv-tdesc-regs.c: New file.
1121 * gdb.arch/riscv-tdesc-regs.exp: New file.
1122
221db974
PA
11232020-06-24 Pedro Alves <palves@redhat.com>
1124
1125 * gdb.arch/amd64-entry-value-paramref.exp: Use
1126 prepare_for_testing_full and don't pass "c++" for the .S file
1127 build spec.
1128 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
1129 $options, since it's an assembly file. Remove -Wno-deprecated.
1130 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
1131 compiling C++ programs.
1132
331733cd
PA
11332020-06-24 Pedro Alves <palves@redhat.com>
1134
1135 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
1136 Clang, add "-Wno-unknown-warning-option" to the options.
1137
caa7fd04
AB
11382020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
1139
1140 * gdb.xml/tdesc-reload.c: New file.
1141 * gdb.xml/tdesc-reload.exp: New file.
1142 * gdb.xml/maint-xml-dump-01.xml: New file.
1143 * gdb.xml/maint-xml-dump-02.xml: New file.
1144 * gdb.xml/maint-xml-dump.exp: New file.
1145
bb8d1260
SL
11462020-06-23 Sandra Loosemore <sandra@codesourcery.com>
1147
1148 * lib/completion-support.exp (test_gdb_completion_offers_commands):
1149 Adjust for omitted commands when TUI is disabled.
1150
7e4b9c4c
GB
11512020-06-23 Gary Benson <gbenson@redhat.com>
1152 Pedro Alves <palves@redhat.com>
1153
1154 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
1155 * gdb.cp/nsimport.cc: Likewise.
1156 * gdb.cp/nsnested.cc: Likewise.
1157 * gdb.cp/nsnoimports.cc: Likewise.
1158 * gdb.cp/nsusing.cc: Likewise.
1159 * gdb.cp/smartp.cc: Likewise.
1160 * gdb.python/py-pp-integral.c: Likewise.
1161 * gdb.python/py-pp-re-notag.c: Likewise.
1162
2e573c0a
GB
11632020-06-23 Gary Benson <gbenson@redhat.com>
1164
1165 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
1166 * gdb.cp/nsimport.cc: Likewise.
1167 * gdb.cp/nsnested.cc: Likewise.
1168 * gdb.cp/nsnoimports.cc: Likewise.
1169 * gdb.cp/nsusing.cc: Likewise.
1170 * gdb.cp/smartp.cc: Likewise.
1171 * gdb.python/py-pp-integral.c: Likewise.
1172 * gdb.python/py-pp-re-notag.c: Likewise.
1173
746ebfe8
PW
11742020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1175
1176 * gdb.base/default-args.exp: New test.
1177 * gdb.base/default-args.c: New file.
1178 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
1179 * gdb.base/default.exp: Update to new help text.
1180 * gdb.base/help.exp: Likewise.
1181 * gdb.base/page.exp: Likewise.
1182 * gdb.base/style.exp: Likewise.
1183 * gdb.guile/guile.exp: Likewise.
1184 * gdb.python/python.exp: Likewise.
1185
e822f2cd
SL
11862020-06-22 Sandra Loosemore <sandra@codesourcery.com>
1187
1188 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
1189 remote host. Fix search path syntax on Windows host.
1190
48e9cc84
PW
11912020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1192
1193 * gdb.base/attach.exp: Test priority of 'exec-file' changed
1194 over 'exec-file-mismatch'.
1195 * gdb.base/attach.c: Mark should_exit volatile.
1196 * gdb.base/attach2.c: Likewise. Add a comment explaining
1197 why the sleep cannot be big.
1198 * gdb.base/attach3.c: New file.
1199
160f8a8f
SL
12002020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1201
1202 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
1203 prefix optional.
1204
4d91c2a4
SL
12052020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1206
1207 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
1208 for remote host.
1209
87f83f20
SL
12102020-06-19 Sandra Loosemore <sandra@codesourcery.com>
1211 Hafiz Abid Qadeer <abidh@codesourcery.com>
1212
1213 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
1214 file sent to remote host.
1215 (top level): Allow int32_t as type of 32-bit register.
1216
37ab8655
TV
12172020-06-19 Tom de Vries <tdevries@suse.de>
1218
1219 * lib/gdb.exp (gdb_note): New proc.
1220 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
1221 (gdb_default_target_compile): ... here. Only call
1222 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
1223 (use_gdb_compile): Change to array.
1224 (toplevel): Update sets of use_gdb_compile to specify language.
1225 Warn about default_target_compile override. Store dejagnu's version
1226 of default_target_compile in dejagnu_default_target_compile.
1227
a8a56685
TV
12282020-06-18 Tom de Vries <tdevries@suse.de>
1229
1230 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
1231 (default_gdb_init): ... here.
1232
581bea2c
SL
12332020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1234
1235 Fix TUI support checks in gdb.tui tests.
1236
1237 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
1238 just say UNSUPPORTED.
1239 * gdb.tui/corefile-run.exp: Likewise.
1240 * gdb.tui/empty.exp: Likewise.
1241 * gdb.tui/list-before.exp: Likewise.
1242 * gdb.tui/list.exp: Likewise.
1243 * gdb.tui/main.exp: Likewise.
1244 * gdb.tui/regs.exp: Likewise.
1245 * gdb.tui/resize.exp: Likewise.
1246 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
1247 * gdb.tui/tui-layout-asm.exp: Likewise.
1248 * gdb.tui/tui-missing-src.exp: Likewise.
1249 * gdb.tui/winheight.exp: Likewise.
1250 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
1251
05e682e3
SL
12522020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1253
1254 Fix TCL error in gdb.python/py-format-string.exp.
1255
1256 * gdb.python/py-format-string.exp: Move test for python support
1257 earlier, out of function body.
1258
efb763a5
SM
12592020-06-15 Simon Marchi <simon.marchi@efficios.com>
1260
1261 * gdb.base/index-cache-load-twice.c: New.
1262 * gdb.base/index-cache-load-twice.exp: New.
1263
43327b20
KS
12642020-06-17 Keith Seitz <keiths@redhat.com>
1265
99cf27cf 1266 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
1267 when executing "gdb --configuration".
1268
081e778c
TV
12692020-06-17 Tom de Vries <tdevries@suse.de>
1270
1271 * lib/gdb.exp (gdb_tcl_unknown): New proc.
1272 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
1273 conditional on presence of gdb_tcl_unknown.
1274 (gdb_finish): Make override undo conditional on presence of
1275 gdb_tcl_unknown.
1276
d2d1ea20
TT
12772020-06-16 Tom Tromey <tom@tromey.com>
1278
1279 * gdb.python/tui-window.py (failwin): New function. Register it
1280 as a TUI window type.
1281 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
1282
c802e8a7
GB
12832020-06-16 Gary Benson <gbenson@redhat.com>
1284
1285 * gdb.python/py-nested-maps.c (create_map): Add missing return
1286 value.
1287 (create_map_map): Likewise.
1288
ff08abb8
TBA
12892020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1290
1291 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
1292 variable.
1293 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
1294 and use the already-defined 'options' variable.
1295
a29d5112
AB
12962020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1297 Tom de Vries <tdevries@suse.de>
1298
1299 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
1300 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
1301 (gdb_setup_known_globals): New proc.
1302 (gdb_cleanup_globals): New proc.
1303 * lib/gdb.exp (load_lib): New override proc.
1304 (gdb_stdin_log_init): Set var in_file as persistent global.
1305 * lib/pascal.exp (gdb_stdin_log_init): Set vars
1306 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
1307 fpc_compiler as persistent global.
1308
8c74a764
TV
13092020-06-12 Tom de Vries <tdevries@suse.de>
1310
1311 * lib/tuiterm.exp (spawn): Rename to ...
1312 (tui_spawn): ... this.
1313 (toplevel): Move rename of spawn ...
1314 (gdb_init_tuiterm): ... here. New proc.
1315 (gdb_finish_tuiterm): New proc.
1316 * lib/gdb.exp (gdb_finish_hooks): New global var.
1317 (gdb_finish): Handle gdb_finish_hooks.
1318 (tuiterm_env): New proc.
1319 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
1320 tuiterm_env.
1321 * gdb.tui/basic.exp: Same.
1322 * gdb.tui/corefile-run.exp: Same.
1323 * gdb.tui/empty.exp: Same.
1324 * gdb.tui/list-before.exp: Same.
1325 * gdb.tui/list.exp: Same.
1326 * gdb.tui/main.exp: Same.
1327 * gdb.tui/new-layout.exp: Same.
1328 * gdb.tui/regs.exp: Same.
1329 * gdb.tui/resize.exp: Same.
1330 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
1331 * gdb.tui/tui-layout-asm.exp: Same.
1332 * gdb.tui/tui-missing-src.exp: Same.
1333 * gdb.tui/winheight.exp: Same.
1334
26783bce
TV
13352020-06-12 Tom de Vries <tdevries@suse.de>
1336
1337 PR testsuite/26110
1338 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
1339 (gdb_finish): Reinstall dejagnu's override of ::unknown.
1340
2b4e6a3f
TT
13412020-06-11 Tom Tromey <tom@tromey.com>
1342
1343 PR gdb/18318:
1344 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
1345 floating point tests.
1346
2f33032a
KS
13472020-06-11 Keith Seitz <keiths@redhat.com>
1348
1349 PR gdb/21356
1350 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
1351 vla_struct.
1352 Add new struct vla_typedef and union vla_typedef_union and
1353 corresponding instantiation objects.
1354 Initialize new objects.
1355 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
1356 and vla_typedef_union_object.
1357 Fixup type for vla_struct_object.
1358
a8baf0a3
TV
13592020-06-11 Tom de Vries <tdevries@suse.de>
1360
1361 * lib/gdb.exp (with_override): New proc, factored out of ...
1362 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
1363
7ab96794
TV
13642020-06-10 Tom de Vries <tdevries@suse.de>
1365
1366 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
1367
cab5c3b7
SM
13682020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
1369
1370 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
1371 parameter, update callers.
1372
f8c41851
SM
13732020-06-04 Simon Marchi <simon.marchi@efficios.com>
1374
1375 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
1376 * gdb.dwarf2/share-psymtabs-bt.c: New file.
1377 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
1378
1c07a73f
TV
13792020-06-04 Tom de Vries <tdevries@suse.de>
1380
1381 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
1382
95146b5d
TV
13832020-06-04 Tom de Vries <tdevries@suse.de>
1384
1385 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
1386 exp_continue.
1387
0cfcd4f0
TV
13882020-06-04 Tom de Vries <tdevries@suse.de>
1389
1390 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
1391
f9b5d5ea
TV
13922020-06-03 Tom de Vries <tdevries@suse.de>
1393
1394 PR symtab/26046
1395 * gdb.cp/breakpoint-locs-2.cc: New test.
1396 * gdb.cp/breakpoint-locs.cc: New test.
1397 * gdb.cp/breakpoint-locs.exp: New file.
1398 * gdb.cp/breakpoint-locs.h: New test.
1399
5144dfba
TV
14002020-06-03 Tom de Vries <tdevries@suse.de>
1401
1402 PR testsuite/25609
1403 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
1404 value of global verbose.
1405 * gdb.base/jit-elf.exp: Same.
1406 * gdb.base/jit-reader.exp: Same.
1407
621eacdf
TV
14082020-06-02 Tom de Vries <tdevries@suse.de>
1409
1410 * gdb.dwarf2/multidictionary.exp: Don't use
1411 gdb_spawn_with_cmdline_opts.
1412
1313c56e
AB
14132020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
1414
1415 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
1416 use_header case.
1417 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
1418 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
1419 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
1420 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
1421 * gdb.dwarf2/dw2-inline-header.c: New file.
1422 * gdb.dwarf2/dw2-inline-header.h: New file.
1423
f68f85b5
PA
14242020-05-30 Pedro Alves <palves@redhat.com>
1425
1426 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
1427 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
1428
678048e8
GB
14292020-05-29 Gary Benson <gbenson@redhat.com>
1430
1431 * gdb.compile/compile-cplus.exp (additional_flags): Also
1432 set when building with clang.
1433 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
1434 when building with clang.
1435
9fcafd23
GB
14362020-05-29 Gary Benson <gbenson@redhat.com>
1437
1438 * gdb.arch/i386-avx.exp (additional_flags): Also set when
1439 building with clang.
1440 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
1441
735d5a07
GB
14422020-05-29 Gary Benson <gbenson@redhat.com>
1443
1444 * gdb.cp/koenig.exp (prepare_for_testing): Add
1445 additional_flags=-Wno-unused-comparison.
1446 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
1447
4ad2c6a0
GB
14482020-05-28 Gary Benson <gbenson@redhat.com>
1449
1450 * gdb.base/sigaltstack.c (catcher): Add default case to switch
1451 statement.
1452
09fe663e
GB
14532020-05-28 Gary Benson <gbenson@redhat.com>
1454
1455 * gdb.cp/classes.exp (prepare_for_testing): Add
1456 additional_flags=-Wno-deprecated-register.
1457 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
1458 * gdb.cp/misc.exp: Likewise.
1459
cee00f17
GB
14602020-05-28 Gary Benson <gbenson@redhat.com>
1461
1462 * gdb.linespec/cpls-ops.cc (dummy): New static global.
1463 (test_op_new::operator new): Add return statement.
1464 (test_op_new_array::operator new[]): Likewise.
1465
636edd00
PA
14662020-05-27 Pedro Alves <palves@redhat.com>
1467
1468 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
1469 check. Use test_gdb_complete_unique instead of
1470 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
1471 test_gdb_complete_multiple instead of
1472 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
1473
c2b75043
LM
14742020-05-27 Luis Machado <luis.machado@linaro.org>
1475
1476 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
1477 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
1478 * gdb.arch/arm-disassembler-options.exp: Likewise.
1479 * gdb.arch/arm-disp-step.exp: Likewise.
1480 * gdb.arch/thumb-prologue.exp: Likewise.
1481 * gdb.base/async.exp: Likewise.
1482 * gdb.base/auxv.exp: Likewise.
1483 * gdb.base/complex-parts.exp: Likewise.
1484 * gdb.base/ena-dis-br.exp: Likewise.
1485 * gdb.base/foll-exec.exp: Likewise.
1486 * gdb.base/permissions.exp: Likewise.
1487 * gdb.base/relocate.exp: Likewise.
1488 * gdb.base/return2.exp: Likewise.
1489 * gdb.base/sigbpt.exp: Likewise.
1490 * gdb.base/siginfo-obj.exp: Likewise.
1491 * gdb.cp/converts.exp: Likewise.
1492 * gdb.cp/exceptprint.exp: Likewise.
1493 * gdb.cp/inherit.exp: Likewise.
1494 * gdb.cp/nsnoimports.exp: Likewise.
1495 * gdb.cp/virtbase2.exp: Likewise.
1496 * gdb.mi/mi-var-cmd.exp: Likewise.
1497 * gdb.mi/var-cmd.c: Likewise.
1498
53a47a3e
TT
14992020-05-26 Tom Tromey <tromey@adacore.com>
1500
1501 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
1502
0bc2354b
TT
15032020-05-26 Tom Tromey <tromey@adacore.com>
1504
1505 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
1506 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
1507 type.
1508 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
1509 variable.
1510
0db49895
CBG
15112020-05-26 Christian Biesinger <cbiesinger@google.com>
1512
1513 * Makefile.in: Use = instead of == for the test command
1514 for portability.
1515
40d22035
TV
15162020-05-26 Tom de Vries <tdevries@suse.de>
1517
1518 * gdb.base/gold-gdb-index-2.c: New test.
1519 * gdb.base/gold-gdb-index.c: New test.
1520 * gdb.base/gold-gdb-index.exp: New file.
1521 * gdb.base/gold-gdb-index.h: New test.
1522
043e2e02
TV
15232020-05-25 Tom de Vries <tdevries@suse.de>
1524
1525 * boards/gold-gdb-index.exp: New file.
1526
462f72c5
SM
15272020-05-25 Simon Marchi <simon.marchi@efficios.com>
1528
1529 * boards/simavr.exp: New file.
1530
6cf66e76
SM
15312020-05-25 Simon Marchi <simon.marchi@efficios.com>
1532
1533 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
1534 * gdb.base/inferior-args.exp: New file.
1535 * gdb.base/inferior-args.c: New file.
1536
75d04512
SM
15372020-05-25 Simon Marchi <simon.marchi@efficios.com>
1538
1539 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
1540 inferior_args. Pass it to gdb_reload.
1541 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
1542 inferior_args.
1543 (gdb_reload): Add inferior_args argument.
1544 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
1545 pass it to gdbserver_run.
1546 * boards/native-gdbserver.exp: Do not set noargs.
1547 * boards/native-extended-gdbserver.exp (gdb_reload): Add
1548 inferior_args argument.
1549 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
1550 * gdb.base/a2-run.exp: Check for use_gdb_stub.
1551 * gdb.base/args.exp: Likewise.
1552
42cf1844
TV
15532020-05-25 Tom de Vries <tdevries@suse.de>
1554
1555 * lib/gdb.exp (exec_is_pie): Add comment.
1556
8f7d38ef
TV
15572020-05-25 Tom de Vries <tdevries@suse.de>
1558
1559 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
1560 instead of $binfile in the untested message.
1561
465e1b0f
TV
15622020-05-25 Tom de Vries <tdevries@suse.de>
1563
1564 PR testsuite/26031
1565 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
1566
3c5a0e02
TV
15672020-05-25 Tom de Vries <tdevries@suse.de>
1568
1569 * boards/gold.exp: New file.
1570
0a4f5f8c
TT
15712020-05-23 Tom Tromey <tom@tromey.com>
1572
1573 * gdb.base/style.exp: Remove completion styling test.
1574 * lib/gdb-utils.exp (style): Remove completion styles.
1575
eca1f90c
TT
15762020-05-23 Tom Tromey <tom@tromey.com>
1577
1578 * gdb.base/style.exp: Add completion styling test.
1579 * lib/gdb-utils.exp (style): Add completion styles.
1580
7c13f4e8
AB
15812020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
1582
1583 * gdb.base/annota1.exp: Update expected results.
1584 * gdb.cp/annota2.exp: Update expected results, remove duplicate
1585 test name.
1586 * gdb.cp/annota3.exp: Update expected results.
1587
41977d16
SM
15882020-05-20 Simon Marchi <simon.marchi@efficios.com>
1589
1590 PR gdb/26016
1591 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
1592 against MAP_FAILED.
1593 * gdb.base/coremaker.c (mmapdata): Likewise.
1594 * gdb.base/jit-reader-host.c (main): Likewise.
1595 * gdb.base/sym-file-loader.c (load): Likewise.
1596 (load_shlib): Likewise.
1597
b4757f2e
TT
15982020-05-20 Tom Tromey <tromey@adacore.com>
1599
1600 * gdb.ada/array_char_idx.exp: Recognize initialized array.
1601
9a0bacfb
TV
16022020-05-20 Tom de Vries <tdevries@suse.de>
1603
1604 PR symtab/25833
1605 * gdb.base/with-mf-inc.c: New test.
1606 * gdb.base/with-mf-main.c: New test.
1607 * gdb.base/with-mf.exp: New file.
1608
76571211
TT
16092020-05-19 Tom Tromey <tromey@adacore.com>
1610
1611 * gdb.rust/simple.exp: Restore missing test result.
1612
4cd9f3d5
TV
16132020-05-19 Tom de Vries <tdevries@suse.de>
1614
1615 * gdb.base/gdb-caching-proc.exp: Fix typo.
1616
7d874253
TT
16172020-05-19 Tom Tromey <tromey@adacore.com>
1618
1619 * gdb.rust/simple.exp: Add some test descriptions.
1620 (test_one_slice): Use with_test_prefix.
1621
1d727695
TV
16222020-05-18 Tom de Vries <tdevries@suse.de>
1623
1624 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
1625
7f32a4d5
PA
16262020-05-17 Pedro Alves <palves@redhat.com>
1627
1628 PR gdb/25741
1629 * gdb.base/hw-sw-break-same-address.exp: New file.
1630
7cfd74cf
PA
16312020-05-16 Pedro Alves <palves@redhat.com>
1632
1633 * gdb.multi/multi-re-run.exp (test_re_run): Switch
1634 LAST_LOADED_FILE accordingly.
1635
57b4f16e
PW
16362020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1637
1638 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
1639
7c05caf7
PW
16402020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1641
1642 * gdb.base/help.exp: Test apropos and help for commands
1643 having aliases. Fixed comments not starting with an
1644 upper-case letter or not finishing with a dot.
1645
7aa1b46f
PW
16462020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1647
3b3aaacb
PW
1648 * gdb.base/alias.exp: Update help output check.
1649
57b4f16e 16502020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 1651
7aa1b46f
PW
1652 * gdb.base/default.exp: Update output following fixes.
1653
0605465f
PW
16542020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1655
1656 * gdb.base/alias.exp: Test aliases starting with a prefix of
1657 another alias.
1658
86e4e63d
GB
16592020-05-15 Gary Benson <gbenson@redhat.com>
1660
1661 * gdb.base/info-os.c (main): Add return statement.
1662 * gdb.base/info_minsym.c (minsym_fun): Likewise.
1663 * gdb.base/large-frame-2.c (func): Likewise.
1664 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
1665 * gdb.base/pr10179-b.c (foo2): Likewise.
1666 * gdb.base/valgrind-disp-step.c (foo): Likewise.
1667 * gdb.base/watch-cond.c (func): Likewise.
1668 * gdb.multi/goodbye.c (verylongfun): Likewise.
1669 * gdb.multi/hello.c (commonfun): Likewise.
1670 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
1671 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
1672 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1673 Likewise.
1674 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
1675 * gdb.threads/interrupt-while-step-over.c (child_function):
1676 Likewise.
1677 * gdb.trace/actions-changed.c (end): Likewise.
1678
163df4df
GB
16792020-05-15 Gary Benson <gbenson@redhat.com>
1680
1681 * gdb.opencl/callfuncs.exp: Report when test skipped.
1682 * gdb.opencl/convs_casts.exp: Likewise.
1683 * gdb.opencl/datatypes.exp: Likewise.
1684 * gdb.opencl/operators.exp: Likewise.
1685 * gdb.opencl/vec_comps.exp: Likewise.
1686
6dbc505a
TV
16872020-05-15 Tom de Vries <tdevries@suse.de>
1688
1689 * gdb.base/align.exp.in: Rename to ...
1690 * gdb.base/align.exp.tcl: ... this.
1691 * gdb.base/align-c++.exp: Update.
1692 * gdb.base/align-c.exp: Update.
1693 * gdb.base/all-architectures.exp.in: Rename to ...
1694 * gdb.base/all-architectures.exp: ... this.
1695 * gdb.base/all-architectures-0.exp: Update.
1696 * gdb.base/all-architectures-1.exp: Update.
1697 * gdb.base/all-architectures-2.exp: Update.
1698 * gdb.base/all-architectures-3.exp: Update.
1699 * gdb.base/all-architectures-4.exp: Update.
1700 * gdb.base/all-architectures-5.exp: Update.
1701 * gdb.base/all-architectures-6.exp: Update.
1702 * gdb.base/all-architectures-7.exp: Update.
1703 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
1704 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
1705 * gdb.base/infcall-nested-structs-c++.exp: Update.
1706 * gdb.base/infcall-nested-structs-c.exp: Update.
1707 * gdb.base/info-types.exp.in: Rename to ...
1708 * gdb.base/info-types.exp.tcl: ... this.
1709 * gdb.base/info-types-c++.exp: Update.
1710 * gdb.base/info-types-c.exp: Update.
1711 * gdb.base/max-depth.exp.in: Rename to ...
1712 * gdb.base/max-depth.exp.tcl: ... this.
1713 * gdb.base/max-depth-c++.exp: Update.
1714 * gdb.base/max-depth-c.exp: Update.
1715 * gdb.cp/cpexprs.exp.in: Rename to ...
1716 * gdb.cp/cpexprs.exp.tcl: ... this.
1717 * gdb.cp/cpexprs-debug-types.exp: Update.
1718 * gdb.cp/cpexprs.exp: Update.
1719 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
1720 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
1721 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
1722 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
1723 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
1724 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
1725 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
1726 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
1727 * gdb.dwarf2/clang-debug-names-2.exp: Update.
1728 * gdb.dwarf2/clang-debug-names.exp: Update.
1729
d1034d78
AB
17302020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
1731
1732 * lib/check-test-names.exp: Remove code that prevents this file
1733 loading when tests are run in parallel.
1734
3c5c3649
PA
17352020-05-15 Pedro Alves <palves@redhat.com>
1736
1737 * gdb.multi/multi-kill.exp (start_inferior): Remove
1738 'testpid' parameter. Refer to namespace variable directly.
1739 (testpid): Declare as namespace variable.
1740
272c36b8
PA
17412020-05-15 Pedro Alves <palves@redhat.com>
1742
1743 * gdb.multi/multi-kill.exp: Wrap in namespace.
1744 (start_inferior): Add TESTPID parameter. Use it instead of the
1745 testpid global.
1746 (top level): Define empty TESTPID array, and pass it down to
1747 start_inferior.
1748
02eba61a
TV
17492020-05-14 Tom de Vries <tdevries@suse.de>
1750
1751 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
1752 output.
1753
971a3747
TV
17542020-05-14 Tom de Vries <tdevries@suse.de>
1755
1756 * gdb.base/align.exp: Split into ...
1757 * gdb.base/align.exp.in: ...
1758 * gdb.base/align-c++.exp: ...
1759 * gdb.base/align-c.exp: ... these.
1760 * gdb.base/infcall-nested-structs.exp: Split into ...
1761 * gdb.base/infcall-nested-structs.exp.in: ...
1762 * gdb.base/infcall-nested-structs-c++.exp: ...
1763 * gdb.base/infcall-nested-structs-c.exp: ... these.
1764 * gdb.base/info-types.exp: Split into ...
1765 * gdb.base/info-types.exp.in: ...
1766 * gdb.base/info-types-c++.exp: ...
1767 * gdb.base/info-types-c.exp: ... these.
1768 * gdb.base/max-depth.exp: Split into ...
1769 * gdb.base/max-depth.exp.in: ...
1770 * gdb.base/max-depth-c++.exp: ...
1771 * gdb.base/max-depth-c.exp: ... these.
1772 * gdb.cp/infcall-nodebug.exp: Split into ...
1773 * gdb.cp/infcall-nodebug.exp.in: ...
1774 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
1775 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
1776 * gdb.cp/infcall-nodebug-c-d0.exp: ...
1777 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
1778
a05575d3
TBA
17792020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1780 Pedro Alves <palves@redhat.com>
1781
1782 * gdb.multi/multi-exit.c: New file.
1783 * gdb.multi/multi-exit.exp: New file.
1784 * gdb.multi/multi-kill.c: New file.
1785 * gdb.multi/multi-kill.exp: New file.
1786
6ad82919
TBA
17872020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1788
1789 * gdb.base/annota1.exp: Update the expected output.
1790 * gdb.cp/annota2.exp: Ditto.
1791
843f4d93
AB
17922020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
1793
1794 * lib/check-test-names.exp: Disable when testing is being run in
1795 parallel.
1796
c7c66341
TV
17972020-05-12 Tom de Vries <tdevries@suse.de>
1798
1799 * gdb.base/jit-elf.exp: Fix string concat.
1800
1b59ca1c
TV
18012020-05-12 Tom de Vries <tdevries@suse.de>
1802
1803 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
1804 messages.
1805
b4991d29
TV
18062020-05-12 Tom de Vries <tdevries@suse.de>
1807
1808 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
1809
dbb0ab10
TV
18102020-05-12 Tom de Vries <tdevries@suse.de>
1811
1812 * gdb.ada/catch_ex.exp: Use with_test_prefix.
1813 * gdb.ada/mi_catch_ex.exp: Same.
1814 * gdb.ada/mi_catch_ex_hand.exp: Same.
1815
7549fed8
TV
18162020-05-12 Tom de Vries <tdevries@suse.de>
1817
1818 * gdb.fortran/complex.exp: Use with_test_prefix.
1819
af2d5cd8
TV
18202020-05-12 Tom de Vries <tdevries@suse.de>
1821
1822 * gdb.trace/passcount.exp: Fix test-names.
1823
7c121311
TV
18242020-05-12 Tom de Vries <tdevries@suse.de>
1825
1826 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
1827
c9f3b40e
TV
18282020-05-12 Tom de Vries <tdevries@suse.de>
1829
1830 * gdb.gdb/complaints.exp: Use with_test_prefix.
1831 * gdb.xml/tdesc-regs.exp: Same.
1832 * gdb.opt/inline-locals.exp: Fix test name.
1833
111b33f0
TV
18342020-05-12 Tom de Vries <tdevries@suse.de>
1835
1836 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
1837 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
1838 * gdb.dwarf2/implref-struct.exp: Same.
1839 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
1840 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
1841
ebf47080
SM
18422020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
1843
1844 * gdb.base/jit-so.exp (one_jit_test): Change test name.
1845
d30dcd12
AB
18462020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1847
1848 * lib/check-test-names.exp (all_test_names): New module variable.
1849 (counts): Add 'duplicates' field.
1850 (_check_duplicates): New procedure.
1851 (check): Also check for duplicates.
1852 (do_log_summary): Print duplicates count.
1853 (do_reset_vars): Reset counter for duplicate test names, and
1854 discard all know test names.
1855
34584c09
AB
18562020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1857
1858 * lib/gdb.exp: Include check-test-names.exp library.
1859 * lib/check-test-names.exp: New file.
1860
e0002117
TV
18612020-05-11 Tom de Vries <tdevries@suse.de>
1862
1863 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
1864
53f539a3
KS
18652020-05-11 Keith Seitz <keiths@redhat.com>
1866
1867 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
1868
113ee09a
TV
18692020-05-11 Tom de Vries <tdevries@suse.de>
1870
1871 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
1872 * gdb.cp/cpexprs.exp.in: .. here.
1873 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
1874 cpexprs.exp.
1875
ba3e70b0
KS
18762020-05-11 Keith Seitz <keiths@redhat.com>
1877
1878 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
1879 test names.
1880 * gdb.ada/arrayptr.exp: Likewise.
1881 * gdb.ada/assign_arr.exp: Likewise.
1882 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1883 * gdb.ada/bp_on_var.exp: Likewise.
1884 * gdb.ada/call_pn.exp: Likewise.
1885 * gdb.ada/complete.exp: Likewise.
1886 * gdb.ada/fun_overload_menu.exp: Likewise.
1887 * gdb.ada/funcall_param.exp: Likewise.
1888 * gdb.ada/funcall_ref.exp: Likewise.
1889 * gdb.ada/packed_array_assign.exp: Likewise.
1890 * gdb.ada/same_component_name.exp: Likewise.
1891 * gdb.ada/type_coercion.exp: Likewise.
1892 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1893 * gdb.ada/variant_record_packed_array.exp: Likewise.
1894
3ee6bb11
TV
18952020-05-11 Tom de Vries <tdevries@suse.de>
1896
1897 PR symtab/25941
1898 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
1899 out of ...
1900 * gdb.dwarf2/clang-debug-names.exp: ... here.
1901 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
1902 clang-debug-names.exp.in.
1903 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
1904 * gdb.dwarf2/clang-debug-names-2.c: New test.
1905
86cd6bc8
AKS
19062020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1907
1908 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
1909 (fortran_runto_main): New Proc, fortran version of runto_main.
1910 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
1911 * gdb.fortran/array-bounds.exp: Likewise.
1912 * gdb.fortran/array-slices.exp: Likewise.
1913 * gdb.fortran/block-data.exp: Likewise.
1914 * gdb.fortran/charset.exp: Likewise.
1915 * gdb.fortran/common-block.exp: Likewise.
1916 * gdb.fortran/complex.exp: Likewise.
1917 * gdb.fortran/derived-type-function.exp: Likewise.
1918 * gdb.fortran/derived-type.exp: Likewise.
1919 * gdb.fortran/info-modules.exp: Likewise.
1920 * gdb.fortran/info-types.exp: Likewise.
1921 * gdb.fortran/intrinsics.exp: Likewise.
1922 * gdb.fortran/library-module.exp: Likewise.
1923 * gdb.fortran/logical.exp: Likewise.
1924 * gdb.fortran/max-depth.exp: Likewise.
1925 * gdb.fortran/module.exp: Likewise.
1926 * gdb.fortran/multi-dim.exp: Likewise.
1927 * gdb.fortran/nested-funcs.exp: Likewise.
1928 * gdb.fortran/print-formatted.exp: Likewise.
1929 * gdb.fortran/print_type.exp: Likewise.
1930 * gdb.fortran/printing-types.exp: Likewise.
1931 * gdb.fortran/ptr-indentation.exp: Likewise.
1932 * gdb.fortran/ptype-on-functions.exp: Likewise.
1933 * gdb.fortran/subarray.exp: Likewise.
1934 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1935 * gdb.fortran/vla-datatypes.exp: Likewise.
1936 * gdb.fortran/vla-history.exp: Likewise.
1937 * gdb.fortran/vla-ptr-info.exp: Likewise.
1938 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1939 * gdb.fortran/vla-ptype.exp: Likewise.
1940 * gdb.fortran/vla-sizeof.exp: Likewise.
1941 * gdb.fortran/vla-type.exp: Likewise.
1942 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1943 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1944 * gdb.fortran/vla-value-sub.exp: Likewise.
1945 * gdb.fortran/vla-value.exp: Likewise.
1946 * gdb.fortran/whatis_type.exp: Likewise.
1947 * gdb.mi/mi-var-child-f.exp: Likewise.
1948
6dc55ce9 19492020-05-09 Tom de Vries <tdevries@suse.de>
1950
1951 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
1952
283cb58c
TV
19532020-05-08 Tom de Vries <tdevries@suse.de>
1954
1955 * gdb.dwarf2/clang-debug-names.c: New test.
1956 * gdb.dwarf2/clang-debug-names.exp: New file.
1957
ac4a4f1c
SM
19582020-05-06 Simon Marchi <simon.marchi@efficios.com>
1959
1960 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
1961 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
1962
24fe640b
TV
19632020-05-06 Tom de Vries <tdevries@suse.de>
1964
1965 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
1966 breakpoint is at a "recommended breakpoint location".
1967 * gdb.reverse/consecutive-reverse.exp: Same.
1968
0d8683a3
TV
19692020-05-06 Tom de Vries <tdevries@suse.de>
1970
1971 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
1972 address.
1973
b8983c46
TV
19742020-05-06 Tom de Vries <tdevries@suse.de>
1975
1976 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
1977
abf6d805
TV
19782020-05-06 Tom de Vries <tdevries@suse.de>
1979
1980 * gdb.base/store.exp (check_set, up_set): Allowing missing location
1981 info for r.
1982
0fc2a808
TV
19832020-05-06 Tom de Vries <tdevries@suse.de>
1984
1985 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
1986 necessary.
1987
873dd427
TV
19882020-05-06 Tom de Vries <tdevries@suse.de>
1989
1990 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
1991 void.
1992
7c99e7e2
TV
19932020-05-06 Tom de Vries <tdevries@suse.de>
1994
1995 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
1996 of ...
1997 * gdb.base/async.exp: ... here.
1998 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
1999 "recommended breakpoint location".
2000
6173d6a6
TV
20012020-05-06 Tom de Vries <tdevries@suse.de>
2002
2003 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
2004
6015a067
TV
20052020-05-04 Tom de Vries <tdevries@suse.de>
2006
2007 * gdb.base/async.exp: Check whether instruction addresses are a
2008 "recommended breakpoint location".
2009
3b6acaee
TT
20102020-05-03 Tom Tromey <tom@tromey.com>
2011
2012 * gdb.base/sepdebug.exp: Remove "catch" test.
2013 * gdb.base/break.exp: Remove "catch" test.
2014 * gdb.base/default.exp: Update expected output.
2015
5beb4d17
TV
20162020-05-02 Tom de Vries <tdevries@suse.de>
2017
2018 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
2019 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
2020 * gdb.arch/i386-mpx-map.exp: Same.
2021 * gdb.arch/i386-mpx-sigsegv.exp: Same.
2022 * gdb.arch/i386-mpx-simple_segv.exp: Same.
2023 * gdb.arch/i386-mpx.exp: Same.
2024
8caf140d
TV
20252020-05-02 Tom de Vries <tdevries@suse.de>
2026
2027 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
2028
693196cb
TV
20292020-05-01 Tom de Vries <tdevries@suse.de>
2030
2031 * gdb.ada/operator_bp.exp: Allow more than required amount of
2032 breakpoint.
2033
53ae0aa9
TV
20342020-05-01 Tom de Vries <tdevries@suse.de>
2035
2036 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
2037
ee9d1e5f
HD
20382020-04-30 Hannes Domani <ssbssa@yahoo.de>
2039
2040 PR gdb/18706
2041 * gdb.cp/stub-array-size.cc: New test.
2042 * gdb.cp/stub-array-size.exp: New file.
2043 * gdb.cp/stub-array-size.h: New test.
2044 * gdb.cp/stub-array-size2.cc: New test.
2045
d5cf82c0
HD
20462020-04-30 Hannes Domani <ssbssa@yahoo.de>
2047
2048 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
2049 output to the new format.
2050
42e165c3
SM
20512020-04-29 Simon Marchi <simon.marchi@efficios.com>
2052
2053 * gdb.base/break.exp: Use with_test_prefix.
2054
6e4e3fe1
TV
20552020-04-29 Tom de Vries <tdevries@suse.de>
2056
2057 * lib/gdb.exp (debug_types): New proc.
2058 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
2059 * gdb.python/py-symtab.exp: Same.
2060
d642b692
HD
20612020-04-29 Hannes Domani <ssbssa@yahoo.de>
2062
2063 PR gdb/17320
2064 * gdb.base/pretty-array.c: New test.
2065 * gdb.base/pretty-array.exp: New file.
2066
ea90f227
TV
20672020-04-29 Tom de Vries <tdevries@suse.de>
2068
2069 PR symtab/25889
2070 * gdb.cp/cpexprs.exp: Adapt for inclusion.
2071 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
2072 and include cpexprs.exp.
2073
a65189c9
TV
20742020-04-28 Mark Williams <mark@myosotissp.com>
2075
2076 PR gdb/24480
2077 * dw4-toplevel-types.exp: Test for top level types.
2078 * dw4-toplevel-types.cc: Test for top level types.
2079
32d1f47a
TBA
20802020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2081
2082 * gdb.threads/stop-with-handle.exp: Fix typo in comment
2083 (theads -> threads).
2084
56a4f5a1
TV
20852020-04-28 Tom de Vries <tdevries@suse.de>
2086
2087 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
2088
0b2f8a3b
TV
20892020-04-28 Tom de Vries <tdevries@suse.de>
2090
2091 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
2092
5390c717
TV
20932020-04-28 Tom de Vries <tdevries@suse.de>
2094
2095 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
2096
15cd93d0
TV
20972020-04-28 Tom de Vries <tdevries@suse.de>
2098
2099 * gdb.dwarf2/main-foo.c: New test.
2100 * gdb.dwarf2/struct-with-sig.exp: New file.
2101
d472f0fb
TV
21022020-04-25 Tom de Vries <tdevries@suse.de>
2103
2104 * boards/debug-types.exp: New file.
2105
8d840e05
AB
21062020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
2107
2108 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
2109
bcfe6157
TT
21102020-04-24 Tom Tromey <tom@tromey.com>
2111
2112 PR symtab/12707:
2113 * gdb.python/py-symbol.exp: Update expected results for
2114 linkage_name test.
2115 * gdb.cp/print-demangle.exp: New file.
2116 * gdb.base/c-linkage-name.exp: Fix test.
2117 * gdb.guile/scm-symbol.exp: Update expected results for
2118 linkage_name test.
2119
f049a313
TT
21202020-04-24 Tom Tromey <tom@tromey.com>
2121
2122 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
2123 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
2124 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
2125 assembler.
2126
7cf28874
TV
21272020-04-24 Tom de Vries <tdevries@suse.de>
2128
2129 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
2130 C++.
2131
dac2fef7
TT
21322020-04-24 Tom Tromey <tromey@adacore.com>
2133
2134 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
2135 values.
2136 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
2137 values. Update test for minimal encodings.
2138 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
2139 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
2140 values. Update test for minimal encodings.
2141
1acda803
TT
21422020-04-24 Tom Tromey <tromey@adacore.com>
2143
2144 PR python/23662:
2145 * gdb.ada/variant.exp: Add Python checks.
2146 * gdb.rust/simple.exp: Add dynamic type checks.
2147
adfb9815
TT
21482020-04-24 Tom Tromey <tromey@adacore.com>
2149
2150 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
2151 Make array type matching more lax.
2152 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
2153 * gdb.ada/mi_variant.exp: New file.
2154 * gdb.ada/mi_variant/pck.ads: New file.
2155 * gdb.ada/mi_variant/pkg.adb: New file.
2156 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
2157 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
2158
7d79de9a
TT
21592020-04-24 Tom Tromey <tromey@adacore.com>
2160
2161 * gdb.ada/variant.exp: Add dynamic field offset tests.
2162 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
2163 * gdb.ada/variant/pkg.adb: Add new variables.
2164
f8e89861
TT
21652020-04-24 Tom Tromey <tromey@adacore.com>
2166
2167 * gdb.ada/variant.exp: New file
2168 * gdb.ada/variant/pkg.adb: New file
2169 * gdb.ada/variant/pck.adb: New file
2170
86e887ae
TV
21712020-04-24 Tom de Vries <tdevries@suse.de>
2172
2173 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
2174
88428775
TV
21752020-04-24 Tom de Vries <tdevries@suse.de>
2176
2177 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
2178 flags.
2179
4e86f6e7
TV
21802020-04-24 Tom de Vries <tdevries@suse.de>
2181
2182 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
2183
2016d3e6
TV
21842020-04-24 Tom de Vries <tdevries@suse.de>
2185
2186 * lib/gdb.exp (default_gdb_start): Handle eof.
2187 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
2188 failure.
2189 * gdb.base/readnever.exp: Handle clean_restart failure.
2190
70bc38f5
TV
21912020-04-23 Tom de Vries <tdevries@suse.de>
2192
2193 * gdb.base/decl-before-def.exp: Run to main and print a again.
2194
de82891c
TV
21952020-04-23 Tom de Vries <tdevries@suse.de>
2196
2197 * gdb.base/decl-before-def-decl.c: New test.
2198 * gdb.base/decl-before-def-def.c: New test.
2199 * gdb.base/decl-before-def.exp: New file.
2200
96038148
TV
22012020-04-23 Tom de Vries <tdevries@suse.de>
2202
2203 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
2204
54ac3df1
TV
22052020-04-22 Tom de Vries <tdevries@suse.de>
2206
2207 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
2208 debug_info_offset.
2209 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
2210 before $objsfile in the line line.
2211
714534e1
TV
22122020-04-22 Tom de Vries <tdevries@suse.de>
2213
2214 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
2215
16a7dbf4
MS
22162020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2217
2218 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
2219 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
2220 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
2221 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
2222 * gdb.base/jit-protocol.h: Update definitions to match all usage
2223 contexts.
2224
22252020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2226
2227 * gdb.base: Rename all jit related test and source files.
2228
22292020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2230
2231 * gdb.base/jit-reader.exp: Relax register output check.
2232
317d2668
TV
22332020-04-22 Tom de Vries <tdevries@suse.de>
2234
2235 PR symtab/25764
2236 * gdb.base/psym-external-decl-2.c: New test.
2237 * gdb.base/psym-external-decl.c: New test.
2238 * gdb.base/psym-external-decl.exp: New file.
2239 * gdb.threads/tls.exp: Add PR25807 kfail.
2240
eea9e357
TV
22412020-04-22 Tom de Vries <tdevries@suse.de>
2242
2243 PR symtab/25801
2244 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
2245 in "info source" output.
2246
3d5afab3
TV
22472020-04-22 Tom de Vries <tdevries@suse.de>
2248
2249 PR symtab/25700
2250 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
2251 symtab for imported_unit.c.
2252
b32102f6
GB
22532020-04-21 Gary Benson <gbenson@redhat.com>
2254
2255 * gdb.base/advance.c (func): New argument, to match call site.
2256 (func2, func3): Add return statements.
2257
d43b7a2d
TBA
22582020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2259
2260 * gdb.multi/run-only-second-inf.c: New file.
2261 * gdb.multi/run-only-second-inf.exp: New file.
2262
d89edf9b
MM
22632020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2264
2265 * gdb.btrace/multi-inferior.c: New test.
2266 * gdb.btrace/multi-inferior.exp: New file.
2267
1a476b6d
MM
22682020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2269
2270 * gdb.btrace/enable-new-thread.c: New test.
2271 * gdb.btrace/enable-new-thread.exp: New file.
2272
4778a5f8
TV
22732020-04-21 Tom de Vries <tdevries@suse.de>
2274
2275 PR gdb/25471
2276 * gdb.threads/killed-outside.c: New test.
2277 * gdb.threads/killed-outside.exp: New file.
2278
9b2c992c
GB
22792020-04-20 Gary Benson <gbenson@redhat.com>
2280
2281 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
2282 * gdb.base/nested-subp2.exp: Likewise.
2283 * gdb.base/nested-subp3.exp: Likewise.
2284
b5d1d6f7
GB
22852020-04-20 Gary Benson <gbenson@redhat.com>
2286
2287 * gdb.base/nested-subp1.exp: Disable test when using clang.
2288 * gdb.base/nested-subp2.exp: Likewise.
2289 * gdb.base/nested-subp3.exp: Likewise.
2290
25230285
GB
22912020-04-20 Gary Benson <gbenson@redhat.com>
2292
2293 * gdb.cp/exception.cc: Fix compilation error with clang.
2294
fa93cc8f
GB
22952020-04-20 Gary Benson <gbenson@redhat.com>
2296
809730f3 2297 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 2298
e0c45f30
GB
22992020-04-20 Gary Benson <gbenson@redhat.com>
2300
2301 * gdb.base/jit-main.c: Fix compilation error with clang.
2302
4ddfec93
KR
23032020-04-17 Kamil Rytarowski <n54@gmx.com>
2304
2305 * gdb.base/attach-twice.c: Include "sys/types.h".
2306 (PTRACE_ATTACH): Add fallback definition.
2307 (main): Pass `0' to the 4th argument of `ptrace'.
2308
2bed205e
KR
23092020-04-17 Kamil Rytarowski <n54@gmx.com>
2310
2311 * gdb.base/fork-running-state.c: Include "signal.h".
2312
0743fc83
TT
23132020-04-17 Tom Tromey <tromey@adacore.com>
2314
2315 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
2316 Update tests.
2317 * gdb.btrace/cpu.exp: Update tests.
2318 * gdb.base/maint.exp: Update tests.
2319 * gdb.base/default.exp: Update tests.
2320 * gdb.base/completion.exp: Update tests.
2321
efba5c23
TV
23222020-04-16 Tom de Vries <tdevries@suse.de>
2323
2324 PR symtab/25791
2325 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
2326 (ensure_gdb_index): and factor out and move ...
2327 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
2328 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
2329
d191d716
TV
23302020-04-16 Tom de Vries <tdevries@suse.de>
2331
2332 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
2333 loading exec.
2334
99f1bc6a
AB
23352020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
2336
2337 * gdb.base/many-completions.exp: New file.
2338
194d088f
TV
23392020-04-14 Tom de Vries <tdevries@suse.de>
2340
2341 PR symtab/25718
2342 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
2343
c1a66c06
TV
23442020-04-14 Tom de Vries <tdevries@suse.de>
2345
2346 PR symtab/25720
2347 * gdb.base/maint-expand-symbols-header-file.c: New test.
2348 * gdb.base/maint-expand-symbols-header-file.exp: New file.
2349 * gdb.base/maint-expand-symbols-header-file.h: New test.
2350
21b0982c
AB
23512020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2352
2353 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
2354 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
2355 get_func_info.
2356 (get_func_info): Delete.
2357 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
2358 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
2359 * lib/dwarf.exp (get_func_info): New function.
2360
dd1cab06
TV
23612020-04-13 Tom de Vries <tdevries@suse.de>
2362
2363 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
2364 to what find_gnatmake does.
2365
71ea2b6b
TV
23662020-04-10 Tom de Vries <tdevries@suse.de>
2367
2368 * gdb.base/style.exp: Expect "Expanding full symbols" message for
2369 -readnow.
2370
bdfc1e8a
TV
23712020-04-10 Tom de Vries <tdevries@suse.de>
2372
2373 PR cli/25808
2374 * gdb.base/style.c: Add leading newlines.
2375 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
2376 Check listing of main's one-line body.
2377
14ca8ecf
TV
23782020-04-08 Tom de Vries <tdevries@suse.de>
2379
2380 * lib/gdb.exp (psymtabs_p): New proc.
2381 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
2382 importing unit" unsupported if there are no partial symbols.
2383
e21d048f
TV
23842020-04-08 Tom de Vries <tdevries@suse.de>
2385
2386 PR testsuite/25760
2387 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
2388
25c11aca
TV
23892020-04-07 Tom de Vries <tdevries@suse.de>
2390
2391 PR symtab/25796
2392 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
2393
5707e24b
TV
23942020-04-07 Tom de Vries <tdevries@suse.de>
2395
2396 * gdb.base/check-psymtab.c: New test.
2397 * gdb.base/check-psymtab.exp: New file.
2398
6ee448cc
TT
23992020-04-06 Tom Tromey <tromey@adacore.com>
2400
2401 * gdb.ada/variant-record/proc.adb: New file.
2402 * gdb.ada/variant-record/value.adb: New file.
2403 * gdb.ada/variant-record/value.s: New file.
2404 * gdb.ada/variant-record.exp: New file.
2405
9e7c9a03
HD
24062020-04-03 Hannes Domani <ssbssa@yahoo.de>
2407
2408 PR gdb/25325
2409 * gdb.cp/typed-enum.cc: New test.
2410 * gdb.cp/typed-enum.exp: New file.
2411
c90d28ac
AB
24122020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2413
2414 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
2415 * gdb.dwarf2/dw2-inline-small-func.c: New file.
2416 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
2417 * gdb.dwarf2/dw2-inline-small-func.h: New file.
2418 * gdb.opt/inline-small-func.c: New file.
2419 * gdb.opt/inline-small-func.exp: New file.
2420 * gdb.opt/inline-small-func.h: New file.
2421
34e9a9fa
AB
24222020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2423
2424 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
2425 function.
2426
6a354911
AB
24272020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2428
2429 * lib/dwarf.exp (function_range): Allow compiler options to be
2430 specified.
2431
880d9777
TV
24322020-04-02 Tom de Vries <tdevries@suse.de>
2433
2434 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
2435 __attribute__((always_inline)).
2436 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
2437
f32682ea
TV
24382020-04-02 Tom de Vries <tdevries@suse.de>
2439
2440 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
2441 (gdbserver_gdb_exit): ... here. Add timeout warning.
2442 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
2443 (connect_target_extended_remote): Append new server_spawn_id to
2444 server_spawn_ids.
2445 (cleanup): New proc.
2446 (setup, <toplevel>): Call cleanup.
2447
d3214198
TV
24482020-04-02 Tom de Vries <tdevries@suse.de>
2449
2450 * gdb.base/main-psymtab.exp: New file.
2451
cc77ed24
TV
24522020-04-02 Tom de Vries <tdevries@suse.de>
2453
2454 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
2455
3638a098
TT
24562020-04-01 Tom Tromey <tom@tromey.com>
2457
2458 * gdb.base/complex-parts.exp: Add type tests.
2459
c34e8714
TT
24602020-04-01 Tom Tromey <tom@tromey.com>
2461
2462 * gdb.base/complex-parts.exp: Add arithmetic tests.
2463
981c08ce
TT
24642020-04-01 Tom Tromey <tom@tromey.com>
2465
2466 * gdb.compile/compile.exp: Update.
2467 * gdb.compile/compile-cplus.exp: Update.
2468 * gdb.base/varargs.exp: Update.
2469 * gdb.base/floatn.exp: Update.
2470 * gdb.base/endianity.exp: Update.
2471 * gdb.base/callfuncs.exp (do_function_calls): Update.
2472 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
2473 (complex_float_integral_args): Update.
2474 * gdb.base/complex.exp: Update.
2475 * gdb.base/complex-parts.exp: Update.
2476
3d1cfd43
TT
24772020-04-01 Tom Tromey <tromey@adacore.com>
2478
2479 * gdb.rust/union.rs: New file.
2480 * gdb.rust/union.exp: New file.
2481 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
2482 (main): Update.
2483 * gdb.rust/simple.exp: Move union tests to union.exp.
2484
e033dfa9
TT
24852020-04-01 Tom Tromey <tromey@adacore.com>
2486
2487 * gdb.rust/simple.rs (main): Remove "y0".
2488
53cccef1
TBA
24892020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2490
2491 * gdb.multi/stop-all-on-exit.c: New test.
2492 * gdb.multi/stop-all-on-exit.exp: New file.
2493
60e22c1e
HD
24942020-04-01 Hannes Domani <ssbssa@yahoo.de>
2495
2496 PR gdb/24789
2497 * gdb.cp/misc.cc: Add integer reference variable.
2498 * gdb.cp/misc.exp: Add test.
2499
e139a727
TBA
25002020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2501
2502 * gdb.server/stop-reply-no-thread.exp: Enhance the test
2503 scenario to cover execution until the end and also the case
2504
16b0db75
TV
25052020-03-31 Tom de Vries <tdevries@suse.de>
2506
2507 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
2508 c. Use "maint info symtabs" to check symtab expansion.
2509
c0502da6
TV
25102020-03-30 Tom de Vries <tdevries@suse.de>
2511
2512 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
2513 unsupported.
2514 (verify_psymtab_expanded): Move ...
2515 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
2516 test.
2517 (readnow): New proc.
2518
5935fd15
AB
25192020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2520
2521 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
2522 with $hex.
2523
1773be9e
TT
25242020-03-20 Tom Tromey <tromey@adacore.com>
2525
2526 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
2527
70304be9
TT
25282020-03-20 Tom Tromey <tromey@adacore.com>
2529
2530 * gdb.ada/sub_variant/subv.adb: New file.
2531 * gdb.ada/sub_variant.exp: New file.
2532
0dd7b8f7
TV
25332020-03-20 Tom de Vries <tdevries@suse.de>
2534
2535 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
2536 first break fails.
2537 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
2538
cada5fc9
AB
25392020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2540
2541 * gdb.server/exit-multiple-threads.c: New file.
2542 * gdb.server/exit-multiple-threads.exp: New file.
2543
6b8c53f2
AB
25442020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2545
2546 * gdb.fortran/mixed-lang-stack.c: New file.
2547 * gdb.fortran/mixed-lang-stack.cpp: New file.
2548 * gdb.fortran/mixed-lang-stack.exp: New file.
2549 * gdb.fortran/mixed-lang-stack.f90: New file.
2550
19a2740f
AB
25512020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2552
2553 * gdb.linespec/cp-completion-aliases.cc: New file.
2554 * gdb.linespec/cp-completion-aliases.exp: New file.
2555
d8c8b848
TV
25562020-03-19 Tom de Vries <tdevries@suse.de>
2557
2558 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
2559 more precise.
2560
a9933ccf
TV
25612020-03-18 Tom de Vries <tdevries@suse.de>
2562
2563 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
2564 * gdb.dwarf2/break-inline-psymtab.c: New test.
2565 * gdb.dwarf2/break-inline-psymtab.exp: New file.
2566
2f89101f
TV
25672020-03-16 Tom de Vries <tdevries@suse.de>
2568
2569 * lib/cache.exp (gdb_do_cache): Add and handle local variables
2570 cache_verify and cache_verify_proc.
2571
6b9374f1
TV
25722020-03-15 Tom de Vries <tdevries@suse.de>
2573
2574 * gdb.server/solib-list.exp: Handle
2575 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
2576
eaeaf44c
TV
25772020-03-15 Tom de Vries <tdevries@suse.de>
2578
2579 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
2580 objfiles".
2581
3293bbaf
TT
25822020-03-14 Tom Tromey <tom@tromey.com>
2583
2584 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
2585
ab44624c
TV
25862020-03-14 Tom de Vries <tdevries@suse.de>
2587
2588 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
2589
54c43825
TV
25902020-03-14 Tom de Vries <tdevries@suse.de>
2591
2592 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
2593 result in line-by-line fashion.
2594
2ac70237
TV
25952020-03-14 Tom de Vries <tdevries@suse.de>
2596
2597 * lib/gdb.exp (supports_statement_frontiers): New proc.
2598 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
2599
09546b56
TV
26002020-03-14 Tom de Vries <tdevries@suse.de>
2601
2602 * gdb.base/printcmds.exp: Add missing quoting for "print
2603 teststring2".
2604
a1f6a07c
TT
26052020-03-13 Tom Tromey <tom@tromey.com>
2606
2607 * gdb.base/printcmds.exp (test_print_strings): Add regression
2608 test.
2609 * gdb.base/printcmds.c (charptr): New typedef.
2610 (teststring2): New global.
2611
1b83d09c
AB
26122020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
2613
2614 * gdb.base/break-interp.exp: Use the tail of the filename, not the
2615 full path in the test name.
2616 (test_ld): Add some with_test_prefix blocks to make test names
2617 unique.
2618
2d61316c
TV
26192020-03-13 Tom de Vries <tdevries@suse.de>
2620
2621 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
2622
2e9145ac
TV
26232020-03-13 Tom de Vries <tdevries@suse.de>
2624
2625 * gdb.mi/mi-sym-info.exp: Make matching more precise.
2626
96c7f873
TV
26272020-03-13 Tom de Vries <tdevries@suse.de>
2628
2629 PR symtab/25646
2630 * gdb.dwarf2/imported-unit.exp: Add test.
2631
49ba92c0
TV
26322020-03-13 Tom de Vries <tdevries@suse.de>
2633
2634 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
2635 (var1, var2): New variable.
2636 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
2637 matching symbols.
2638
301b21e0
TV
26392020-03-13 Tom de Vries <tdevries@suse.de>
2640
2641 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
2642 (Term::command): Use prompt prefix.
2643 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
2644 * gdb.tui/tui-layout-asm-short-prog.exp: Use
2645 command_no_prompt_prefix instead of prefix.
2646 * gdb.tui/tui-layout-asm.exp: Same.
2647
3f512721
SM
26482020-03-12 Simon Marchi <simon.marchi@efficios.com>
2649
2650 * gdb.base/break-interp.exp: Use foreach_with_prefix.
2651
40310f30
SM
26522020-03-12 Simon Marchi <simon.marchi@efficios.com>
2653
2654 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
2655 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
2656 on" while stepping over the test instruction, match printed
2657 message.
2658
09252140
TV
26592020-03-12 Tom de Vries <tdevries@suse.de>
2660
2661 * gdb.base/info-types.exp: Use exp_continue during matching of output
2662 of "info types".
2663
14e9c72c
TV
26642020-03-12 Tom de Vries <tdevries@suse.de>
2665
2666 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
2667
e515d67e
TV
26682020-03-12 Tom de Vries <tdevries@suse.de>
2669
2670 * gdb.fortran/module.exp: Use exp_continue during matching of output
2671 of "info variable -n".
2672
307eafd8
TV
26732020-03-12 Tom de Vries <tdevries@suse.de>
2674
2675 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
2676 gdb.dwarf2/dw2-ranges-base.c.
2677
9a2de3fc
TV
26782020-03-12 Tom de Vries <tdevries@suse.de>
2679
2680 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
2681 in presence of GLIBC debuginfo.
2682
3217502e
TV
26832020-03-12 Tom de Vries <tdevries@suse.de>
2684
2685 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
2686 $core.
2687
1281424c
TV
26882020-03-12 Tom de Vries <tdevries@suse.de>
2689
2690 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
2691 more precise.
2692
038b97fc
SM
26932020-03-11 Simon Marchi <simon.marchi@efficios.com>
2694
2695 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
2696 from Unix to Windows path.
2697
5308d1e7
TV
26982020-03-11 Tom de Vries <tdevries@suse.de>
2699
2700 * gdb.ada/minsyms.exp: Set language to ada.
2701
f870f78f
TV
27022020-03-11 Tom de Vries <tdevries@suse.de>
2703
2704 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
2705
5a13315d
TV
27062020-03-11 Tom de Vries <tdevries@suse.de>
2707
2708 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
2709
976862ed
TT
27102020-03-11 Tom Tromey <tromey@adacore.com>
2711
2712 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
2713
7462c383
TV
27142020-03-11 Tom de Vries <tdevries@suse.de>
2715
2716 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
2717
1c6c46a0
TV
27182020-03-11 Tom de Vries <tdevries@suse.de>
2719
2720 * gdb.base/break-interp.exp: Limit verbose scope.
2721
44f41bb7
TV
27222020-03-11 Tom de Vries <tdevries@suse.de>
2723
2724 * gdb.fortran/logical.f90: Define variable with character type.
2725 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
2726
b76f3a42
TV
27272020-03-11 Tom de Vries <tdevries@suse.de>
2728
2729 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
2730
1c33af77
TV
27312020-03-11 Tom de Vries <tdevries@suse.de>
2732
2733 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
2734 symtabs.
2735
8c95582d
AB
27362020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2737 Bernd Edlinger <bernd.edlinger@hotmail.de>
2738
2739 * gdb.cp/step-and-next-inline.cc: New file.
2740 * gdb.cp/step-and-next-inline.exp: New file.
2741 * gdb.cp/step-and-next-inline.h: New file.
2742 * gdb.dwarf2/dw2-is-stmt.c: New file.
2743 * gdb.dwarf2/dw2-is-stmt.exp: New file.
2744 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
2745 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
2746 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
2747
cecf8547
AB
27482020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2749
2750 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
2751 is-stmt flag in the line table.
2752
0ba678c9
TV
27532020-03-09 Tom de Vries <tdevries@suse.de>
2754
2755 * lib/gdb.exp (cached_file): Create cache dir.
2756
72fbdf83
TV
27572020-03-07 Tom de Vries <tdevries@suse.de>
2758
2759 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
2760 * gdb.cp/rvalue-ref-params.exp: Same.
2761
436b5e99
TV
27622020-03-06 Tom de Vries <tdevries@suse.de>
2763
2764 * lib/gdb.exp (tentative_rename, cached_file): New proc.
2765 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
2766
09f2921c
TV
27672020-03-06 Tom de Vries <tdevries@suse.de>
2768
2769 * README: Fix "the the".
2770 * gdb.base/dprintf.exp: Same.
2771
50a3cc5d
TV
27722020-03-05 Tom de Vries <tdevries@suse.de>
2773
2774 * gdb.base/maint.exp: Update "main print statistics" expected output.
2775
0a709cba
AKS
27762020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2777
2778 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
2779 (fortran_int8): Likewise.
2780 (fortran_real4): Likewise.
2781 (fortran_real8): Likewise.
2782 (fortran_complex4): Likewise.
2783 (fortran_logical4): Likewise.
2784 (fortran_character1): Likewise.
2785
5e5d66b6
AB
27862020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
2787
2788 * gdb.fortran/logical.exp: Add tests that any non-zero value is
2789 printed as true.
2790
7b973adc
SDJ
27912020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
2792
2793 * gdb.base/printcmds.exp: Add test to verify printf of a
2794 variable holding an address.
2795
478e490a
TV
27962020-03-03 Tom de Vries <tdevries@suse.de>
2797
2798 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
2799
1ef44e86
TV
28002020-03-03 Tom de Vries <tdevries@suse.de>
2801
2802 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
2803 gdb_test_multiple call.
2804
b98cc2cf
TV
28052020-03-03 Tom de Vries <tdevries@suse.de>
2806
2807 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
2808 gdb_test_multiple calls.
2809
63e163f2
AB
28102020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2811
2812 * gdb.base/default.exp: Remove test of 'set history filename'.
2813 * gdb.base/gdbinit-history.exp: Add tests for setting the history
2814 filename to the empty string.
2815 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
2816 and GDBHISTSIZE.
2817
24ed6739
AB
28182020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2819
2820 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
2821 disabled.
2822
590003dc 28232020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 2824 Tom de Vries <tdevries@suse.de>
590003dc
TV
2825
2826 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
2827 -prompt prefix, before user_code argument. Add -lbl option likewise.
2828 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
2829 (gdb_is_target_1): Add -prompt prefix and move to before user_code
2830 argument.
2831 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
2832 have "\r\n" at start-of-line, instead of at end-of-line.
2833
f5e46084
SM
28342020-02-28 Simon Marchi <simon.marchi@efficios.com>
2835
2836 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
2837 libinproctrace.so.
2838
f7a7000d
LM
28392020-02-28 Luis Machado <luis.machado@linaro.org>
2840
2841 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
2842 to "p/x".
2843
718e0816
LM
28442020-02-28 Luis Machado <luis.machado@linaro.org>
2845
2846 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
2847 asm/ptrace.h and error.h.
2848
13c3a74a
TV
28492020-02-28 Tom de Vries <tdevries@suse.de>
2850
2851 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
2852 (struct wrapper, do_something, mundane/symada__cS): Move ...
2853 * gdb.base/c-linkage-name-2.c: ... here. New source file.
2854 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
2855 Update "print symada__cS before partial symtab expansion" regexp.
2856 Update breakpoint location. Flush symbol cache after expansion.
2857
85d2d5bb
LM
28582020-02-28 Luis Machado <luis.machado@linaro.org>
2859
2860 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
2861
3608f86c
TV
28622020-02-27 Tom de Vries <tdevries@suse.de>
2863
2864 * config/sid.exp: Remove unused globals.
2865 * gdb.base/attach.exp: Same.
2866 * gdb.base/catch-load.exp: Same.
2867 * gdb.base/dbx.exp: Same.
2868 * lib/gdb.exp: Same.
2869 * lib/mi-support.exp: Same.
2870 * lib/prompt.exp: Same.
2871
c8d4f6df
TV
28722020-02-27 Tom de Vries <tdevries@suse.de>
2873
2874 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
2875 not set.
2876
0d79cdc4
AM
28772020-02-26 Aaron Merey <amerey@redhat.com>
2878
2879 * gdb.debuginfod: New directory for debuginfod tests.
2880 * gdb.debuginfod/main.c: New test file.
2881 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
2882
0dce4280
TV
28832020-02-26 Tom de Vries <tdevries@suse.de>
2884
2885 PR gdb/25603
2886 * gdb.base/persistent-lang.cc: New test.
2887 * gdb.base/persistent-lang.exp: New file.
2888
9e80cfa1
AB
28892020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2890
2891 * gdb.fortran/derived-type-striding.exp: Add a new test.
2892 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
2893 new test.
2894
2078dbb2
AB
28952020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2896
2897 * gdb.base/cached-source-file.exp: Avoid source file paths in test
2898 names.
2899
70d49700
TV
29002020-02-25 Tom de Vries <tdevries@suse.de>
2901
2902 PR go/18926
2903 * gdb.go/methods.exp: Remove gcc/93866 xfail.
2904
a88ef40d
TV
29052020-02-24 Tom de Vries <tdevries@suse.de>
2906
2907 PR gdb/25592
2908 * gdb.base/info-locals-unused-static-var.c: New test.
2909 * gdb.base/info-locals-unused-static-var.exp: New file.
2910
01b1af32
TT
29112020-02-22 Tom Tromey <tom@tromey.com>
2912
2913 * gdb.python/tui-window.exp: New file.
2914 * gdb.python/tui-window.py: New file.
2915
7c043ba6
TT
29162020-02-22 Tom Tromey <tom@tromey.com>
2917
2918 PR tui/17850:
2919 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
2920 tests.
2921
c22fef7e
TT
29222020-02-22 Tom Tromey <tom@tromey.com>
2923
2924 * gdb.tui/new-layout.exp: Add sub-layout tests.
2925
ee325b61
TT
29262020-02-22 Tom Tromey <tom@tromey.com>
2927
2928 * gdb.tui/new-layout.exp: New file.
2929
3f0cbb04
TT
29302020-02-22 Tom Tromey <tom@tromey.com>
2931
2932 * gdb.rust/rust-style.rs: New file.
2933 * gdb.rust/rust-style.exp: New file.
2934 * gdb.base/style.exp: Test structure printing.
2935 * gdb.base/style.c (struct some_struct): New type.
2936 (enum etype): New type.
2937 (struct_value): New global.
2938
75525152
TV
29392020-02-21 Tom de Vries <tdevries@suse.de>
2940
2941 PR go/18926
2942 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
2943 Remove blanket xfails. Use message argument for gdb_breakpoint.
2944 Make continuing to breakpoint test conditional on setting breakpoint.
2945 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
2946 DW_AT_name attribute. Add xfail for GCC PR93866.
2947
bd360d30
AB
29482020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
2949
2950 * gdb.dwarf2/cpp-linkage-name.c: New file.
2951 * gdb.dwarf2/cpp-linkage-name.exp: New file.
2952
c7adb09f 29532020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
2954
2955 * lib/gdb.exp (gdb_wrapper_init): Reset
2956 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
2957 not exist.
2958
a9c79803
TV
29592020-02-20 Tom de Vries <tdevries@suse.de>
2960
2961 PR go/17018
2962 * gdb.go/hello.exp: Copy ...
2963 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
2964 print of st to print value of global definition. Add xfail for GCC
2965 PR93844.
2966 * gdb.go/hello.exp: Remove printing of st before definition.
2967 * gdb.go/hello.go: Copy ...
2968 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
2969 to st.
2970 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
2971
d7445728
TV
29722020-02-20 Tom de Vries <tdevries@suse.de>
2973
2974 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
2975 (gdb_simple_compile): Handle compile_flags go by using .go extension
2976 for source file.
2977 * gdb.go/chan.exp: Use support_go_compile.
2978 * gdb.go/handcall.exp: Same.
2979 * gdb.go/hello.exp: Same.
2980 * gdb.go/integers.exp: Same.
2981 * gdb.go/max-depth.exp: Same.
2982 * gdb.go/methods.exp: Same.
2983 * gdb.go/package.exp: Same.
2984 * gdb.go/strings.exp: Same.
2985 * gdb.go/types.exp: Same.
2986 * gdb.go/unsafe.exp: Same.
2987
c9c41e6d
TV
29882020-02-19 Tom de Vries <tdevries@suse.de>
2989
2990 * gdb.python/lib-types.exp: Make xfail more strict.
2991
f20ff837
TV
29922020-02-19 Tom de Vries <tdevries@suse.de>
2993
2994 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
2995
08410482
DE
29962020-02-19 Doug Evans <dje@google.com>
2997
2998 PR rust/25535
2999 * gdb.rust/simple.exp: Add test.
3000 * gdb.rust/simple.rs: Add test.
3001
623563f7
TV
30022020-02-19 Tom de Vries <tdevries@suse.de>
3003
3004 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
3005 output line-by-line.
3006
d3308cfd
TV
30072020-02-19 Tom de Vries <tdevries@suse.de>
3008
3009 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
3010
86cbc5dc
TV
30112020-02-19 Tom de Vries <tdevries@suse.de>
3012
3013 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
3014 prelink.
3015
9db2b96b
TV
30162020-02-19 Tom de Vries <tdevries@suse.de>
3017
3018 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
3019 (gdb_do_cache): Use gdb_do_cache_wrap.
3020 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
3021
89e2fdc5
TV
30222020-02-19 Tom de Vries <tdevries@suse.de>
3023
3024 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
3025 gdb_compile option.
3026
373d7ac0
SM
30272020-02-18 Simon Marchi <simon.marchi@efficios.com>
3028
3029 * gdb.base/printcmds.exp (test_print_enums): Update expected
3030 output.
3031
b29a2df0
SM
30322020-02-18 Simon Marchi <simon.marchi@efficios.com>
3033
3034 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
3035 for "unknown".
3036
6740f0cc
SM
30372020-02-18 Simon Marchi <simon.marchi@efficios.com>
3038
3039 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
3040 enumerator.
3041
edd45eb0
SM
30422020-02-18 Simon Marchi <simon.marchi@efficios.com>
3043
3044 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
3045 FE_, add FE_NONE.
3046 (three): Update.
3047 (enum flag_enum_without_zero): New enum.
3048 (flag_enum_without_zero): New variable.
3049 (enum not_flag_enum): New enum.
3050 (three_not_flag): New variable.
3051 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
3052 (test_print_enums): Add more tests for printing flag enums.
3053
d4295de4
TV
30542020-02-18 Tom de Vries <tdevries@suse.de>
3055
3056 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
3057 (gdb_compile_ada): ... here.
3058 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
3059 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
3060
f251f505
TT
30612020-02-14 Tom Tromey <tom@tromey.com>
3062
3063 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
3064 build directory.
3065 * boards/gdbserver-base.exp: Update path to gdbserver.
3066
8f432634
TV
30672020-02-13 Tom de Vries <tdevries@suse.de>
3068
3069 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
3070
92b6eaf7
TV
30712020-02-13 Tom de Vries <tdevries@suse.de>
3072
3073 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
3074 are missing.
3075
f3b0f7fe
TV
30762020-02-13 Tom de Vries <tdevries@suse.de>
3077
3078 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
3079 call.
3080
f6be8713
SDJ
30812020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3082
3083 PR tui/25126
3084 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
3085 * gdb.base/cached-source-file.c: New file.
3086 * gdb.base/cached-source-file.exp: New file.
3087
b2770d5e
TV
30882020-02-11 Tom de Vries <tdevries@suse.de>
3089
3090 PR testsuite/25488
3091 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
3092
44f6938e
TV
30932020-02-10 Tom de Vries <tdevries@suse.de>
3094
3095 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
3096
5f0e2eb7
MR
30972020-02-10 Maciej W. Rozycki <macro@wdc.com>
3098
3099 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
3100 and $after_addr are both integers before making a comparison.
3101
46ce2b6f
TV
31022020-02-09 Tom de Vries <tdevries@suse.de>
3103
3104 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
3105 command output and paste it into gdb.log. If any, paste catch message
3106 to gdb.log.
3107
5abbbe1d
TT
31082020-02-07 Tom Tromey <tromey@adacore.com>
3109
3110 PR breakpoints/24915:
3111 * gdb.base/annotate-symlink.exp: Use setup_xfail.
3112
1d5d29e7
SV
31132020-02-06 Shahab Vahedi <shahab@synopsys.com>
3114
3115 * gdb.tui/tui-missing-src.exp: Add the "missing source
3116 file" test for the TUI.
3117
b0999b9b
AB
31182020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
3119
3120 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
3121 including a port number in the output.
3122
c3b149eb
AKS
31232020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3124
3125 * lib/fortran.exp (fortran_int4): Handle clang.
3126 (fortran_int8): Likewise.
3127 (fortran_real4): Likewise.
3128 (fortran_real8): Likewise.
3129 (fortran_complex4): Likewise.
3130 (fortran_logical4): Likewise.
3131 (fortran_character1): Likewise.
3132
f8dcc90b
TV
31332020-02-04 Tom de Vries <tdevries@suse.de>
3134
3135 * README (Race detection): Add note.
3136
f90ac7c2
TV
31372020-02-04 Tom de Vries <tdevries@suse.de>
3138
3139 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
3140
780636ae
TV
31412020-02-04 Tom de Vries <tdevries@suse.de>
3142
3143 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
3144
5d2e1193
RA
31452020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3146
3147 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
3148 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
3149 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
3150 blttar, bnetarl.
3151 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
3152 binary for blttar, bnetarl.
3153 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
3154 wait instruction. Delete ldmx test.
3155 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
3156
e409c542
AKS
31572020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3158
3159 * gdb.fortran/array-bounds-high.exp: New file.
3160 * gdb.fortran/array-bounds-high.f90: New file.
3161
b0029748
LD
31622020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
3163
3164 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
3165 Replace #include of <sys/fcntl.h> by <fcntl.h>.
3166
195a8287
TV
31672020-02-01 Tom de Vries <tdevries@suse.de>
3168
3169 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
3170
42330a68
AB
31712020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
3172
3173 PR tui/9765
3174 * gdb.tui/tui-layout-asm-short-prog.S: New file.
3175 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
3176
b62a8028
LM
31772020-01-29 Luis Machado <luis.machado@linaro.org>
3178
3179 * gdb.arch/aarch64-brk-patterns.c: New source file.
3180 * gdb.arch/aarch64-brk-patterns.exp: New test.
3181
5f440116
TBA
31822020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3183
3184 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
3185 GCC/Clang version.
3186 * gdb.cp/pass-by-ref.exp: Ditto.
3187
ee2a6fc6
TV
31882020-01-29 Tom de Vries <tdevries@suse.de>
3189
3190 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
3191 * gdb.threads/watchpoint-fork-mt.c: Same.
3192 * gdb.threads/watchpoint-fork-parent.c: Same.
3193 * gdb.threads/watchpoint-fork-st.c: Same.
3194 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
3195
16b10d6e
LM
31962020-01-27 Luis Machado <luis.machado@linaro.org>
3197
3198 * gdb.base/step-over-syscall.exp (setup): Check if we're already
3199 sitting at a syscall instruction when we hit the syscall function's
3200 breakpoint.
3201 Check PC against one obtained with the x command.
3202 Validate syscall number.
3203 (step_over_syscall): Don't continue to the syscall instruction if
3204 we're already there.
3205
b1468492
PW
32062020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3207
3208 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
3209
7ffa82e1
AB
32102020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3211
3212 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
3213 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
3214
3d92a3e3
AB
32152020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3216
3217 * gdb.dwarf2/dw2-inline-stepping.c: New file.
3218 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
3219
94a72be7
AB
32202020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3221
3222 * gdb.base/maint.exp: Update line table parsing test.
3223 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
3224
53af73bf
PA
32252020-01-24 Pedro Alves <palves@redhat.com>
3226
3227 PR gdb/25410
3228 * gdb.multi/multi-re-run-1.c: New.
3229 * gdb.multi/multi-re-run-2.c: New.
3230 * gdb.multi/multi-re-run.exp: New.
3231
1ba1ac88
AB
32322020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3233
3234 PR gdb/23718
3235 * gdb.server/server-kill-python.exp: New file.
3236
f3364a6d
AB
32372020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3238
3239 * gdb.server/multi-ui-errors.c: New file.
3240 * gdb.server/multi-ui-errors.exp: New file.
3241
733d0a67
AB
32422020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3243
3244 PR tui/9765
3245 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
3246
4f13c1c0
TT
32472020-01-19 Tom Tromey <tom@tromey.com>
3248
3249 * gdb.tui/main.exp: Add check for plain "file".
3250
40c94099
CB
32512020-01-16 Christian Biesinger <cbiesinger@google.com>
3252
3253 * lib/gdb.exp: Fix spelling error (seperatelly).
3254
ff47f4f0
TT
32552020-01-14 Tom Tromey <tom@tromey.com>
3256
3257 PR symtab/12535:
3258 * gdb.python/python.exp: Test decode_line with empty string
3259 argument.
3260
717c684d
BE
32612020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
3262
3263 * gdb.base/skip-inline.exp: Extend test.
3264
44e4c775
AB
32652020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3266
3267 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
3268 * gdb.dwarf2/dw2-bad-elf.c: New file.
3269 * gdb.dwarf2/dw2-bad-elf.exp: New file.
3270
d93c6db7
AB
32712020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3272
3273 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
3274 _line_saw_file.
3275
9a6d629c
AB
32762020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3277
3278 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
3279 border.
3280
d9ebdab7
TBA
32812020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3282
3283 * gdb.multi/multi-target.exp (setup): Factor out "info
3284 connections" and "info inferiors" tests to ...
3285 (test_info_inferiors): ... this new procedure.
3286 (top level): Run new "info-inferiors" tests.
3287
f3c469b9
PA
32882020-01-10 Pedro Alves <palves@redhat.com>
3289
3290 * gdb.server/bkpt-other-inferior.exp: New file.
3291
121b3efd
PA
32922020-01-10 Pedro Alves <palves@redhat.com>
3293
3294 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
3295 of "add-inferior".
3296 * gdb.base/quit-live.exp: Likewise.
3297 * gdb.base/remote-exec-file.exp: Likewise.
3298 * gdb.guile/scm-progspace.exp: Likewise.
3299 * gdb.linespec/linespec.exp: Likewise.
3300 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3301 * gdb.mi/user-selected-context-sync.exp: Likewise.
3302 * gdb.multi/multi-target.exp (setup): Add "info connection" and
3303 "info inferiors" tests.
3304 * gdb.multi/remove-inferiors.exp: Adjust expected output of
3305 "add-inferior".
3306 * gdb.multi/watchpoint-multi.exp: Likewise.
3307 * gdb.python/py-inferior.exp: Likewise.
3308 * gdb.server/extended-remote-restart.exp: Likewise.
3309 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
3310 "info inferiors".
3311 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
3312 * gdb.trace/report.exp: Likewise.
3313
1dadb1dd
PA
33142020-01-10 Pedro Alves <palves@redhat.com>
3315
3316 * gdb.multi/multi-target.c: New file.
3317 * gdb.multi/multi-target.exp: New file.
3318 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
3319 mode requested, but remote does not support non-stop".
3320
78f2c40a
PA
33212020-01-10 Pedro Alves <palves@redhat.com>
3322
3323 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
3324 disconnect before reconnecting.
3325
e7af6c70
TBA
33262020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3327 Pedro Alves <palves@redhat.com>
3328
3329 * gdb.server/connect-without-multi-process.exp: Also test
3330 continuing to end.
3331
acdf84a6
PA
33322020-01-10 Pedro Alves <palves@redhat.com>
3333
3334 * gdb.base/remote-exec-file.exp: New file.
3335
873657b9
PA
33362020-01-10 Pedro Alves <palves@redhat.com>
3337
3338 * gdb.base/fork-running-state.exp (do_test): Adjust expected
3339 output.
3340 * gdb.threads/async.c: New.
3341 * gdb.threads/async.exp: New.
3342 * gdb.multi/tids-gid-reset.c: New.
3343 * gdb.multi/tids-gid-reset.exp: New.
3344
7f0ae84c
GB
33452020-01-10 George Barrett <bob@bob131.so>
3346
3347 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
3348 to help in finding the image relocation offset.
3349 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
3350 options in arguments.
3351 (stap_test_no_debuginfo): Likewise.
3352 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
3353 test variants.
3354 (stap_test): Add null semaphore relocation test.
3355
47e9d49d
GB
33562020-01-10 George Barrett <bob@bob131.so>
3357
3358 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
3359 * gdb.base/stap-probe.exp: Likewise.
3360 (stap_test): Pass argument as an additional flag.
3361 (stap_test_no_debuginfo): Likewise.
3362 (stap_test): Check `info probes stap' output for semaphore
3363 addresses if the test binary is supposed to have them.
3364
f5a7c406
AB
33652020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3366
3367 * gdb.tui/basic.exp: Add more scrolling tests.
3368
9ae6bf64
TT
33692020-01-09 Tom Tromey <tom@tromey.com>
3370
3371 PR tui/18932:
3372 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
3373 meangingful value.
3374 (Term::command, Term::resize): Update.
3375 * gdb.tui/basic.exp: Add scrolling test.
3376
b2efe70c
AB
33772020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3378
3379 * gdb.tui/tui-layout-asm.exp: New file.
3380
3804da7e
AB
33812020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3382
3383 * lib/tuiterm.exp (Term::check_box_contents): New proc.
3384
b40aa28f
AB
33852020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3386
3387 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
3388 (Term::enter_tui): Use Term::prepare_for_tui.
3389
63ffd7c9
AB
33902020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3391
3392 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
3393 called.
3394
3be966f6
AB
33952020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3396
3397 * gdb.base/skip.exp: Fix race condition in test.
3398
153d79c4
AB
33992020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3400
3401 * gdb.base/backtrace.c: New file.
3402 * gdb.base/backtrace.exp: New file.
3403
f2302a34
AB
34042020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
3405
3406 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
3407
6ec1d75e
PW
34082020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3409
3410 * gdb.base/style.exp: Test that warnings are styled.
3411
c296cbe6
BE
34122019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
3413
3414 * gdb.base/line65535.exp: New file.
3415 * gdb.base/line65535.c: New file.
3416
b28a729d
SM
34172019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
3418
3419 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
3420 * lib/gnat_debug_info_test.adb: New file.
3421 * gdb.ada/ptype_tagged_param.exp: Use
3422 gnat_runtime_has_debug_info, expect a different output if
3423 runtime does not have debug info.
3424
7f2d7a0d
SM
34252019-12-20 Simon Marchi <simon.marchi@efficios.com>
3426
3427 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
3428 (another) quote in test name.
3429
f3bce483
SM
34302019-12-20 Simon Marchi <simon.marchi@efficios.com>
3431
3432 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
3433 Add quote in test name.
3434
c855a912
TBA
34352019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3436
3437 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
3438 directory instead.
3439 * gdb.cp/pass-by-ref.exp: Extend with more cases.
3440 * gdb.cp/pass-by-ref-2.cc: New file.
3441 * gdb.cp/pass-by-ref-2.exp: New file.
3442
fc9d2d72
TT
34432019-12-20 Tom Tromey <tom@tromey.com>
3444
3445 * gdb.tui/list-before.exp: New file.
3446
77b97e00
TT
34472019-12-20 Tom Tromey <tom@tromey.com>
3448
3449 * gdb.tui/list.exp: Check for source on initial listing.
3450
f69656d0
TT
34512019-12-11 Tom Tromey <tromey@adacore.com>
3452
3453 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
3454 Add crlf test.
3455
99a55965
SM
34562019-12-18 Simon Marchi <simon.marchi@efficios.com>
3457
3458 * gdb.base/default.exp: Update value of $_gdb_major.
3459
5024637f
BE
34602019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3461
3462 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
3463
b63634be
BE
34642019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3465
3466 * gdb.base/skip.exp: Whitespace fix.
3467
45d73523
BE
34682019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3469
3470 * gdb.base/skip-inline.c: New file.
3471 * gdb.base/skip-inline.exp: New file.
3472
d043f8c8
SM
34732019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
3474
3475 * gdb.base/jit-reader.exp (jit_reader_test): Rename
3476 jit_function_00 to jit_function_stack_mangle.
3477 * gdb.base/jithost.c (jit_function_t): Rename to...
3478 (jit_function_stack_mangle_t): ... this.
3479 (jit_function_add_t): New typedef.
3480 (jit_function_00_code): Rename to...
3481 (jit_function_stack_mangle_code): ... this, make static.
3482 (jit_function_add_code): New.
3483 (main): Generate "add" function and call it. Adjust to changes
3484 in jithost_abi.
3485 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
3486 (struct jithost_abi) <begin, end>: Remove fields.
3487 <object, function_stack_mangle, function_add>: New fields.
3488 * gdb.base/jitreader.c (struct reader_state) <code_begin,
3489 code_end>: Remove fields.
3490 <func_stack_mangle>: New field.
3491 (read_debug_info): Adjust to renaming, create block for "add"
3492 function.
3493 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
3494
873de05c
TT
34952019-12-11 Tom Tromey <tom@tromey.com>
3496
3497 * gdb.tui/resize.exp: Fix regexp.
3498 * gdb.tui/regs.exp: Fix regexps.
3499 * gdb.tui/main.exp: Fix regexp.
3500
3d979945
TT
35012019-12-11 Tom Tromey <tom@tromey.com>
3502
3503 * gdb.tui/resize.exp: Update.
3504 * gdb.tui/empty.exp (layouts): Update.
3505
2192a9d3
TT
35062019-12-11 Tom Tromey <tom@tromey.com>
3507
3508 * gdb.tui/regs.exp: Update.
3509 * gdb.tui/empty.exp (layouts): Update.
3510 * gdb.tui/basic.exp: Update.
3511 * lib/tuiterm.exp (_check_box): Don't check bottom border.
3512
d8edc8b7
PW
35132019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3514
3515 * gdb.base/options.exp: Add -raw-values in the print completion list.
3516 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
3517
4c12d936
KB
35182019-12-10 Kevin Buettner <kevinb@redhat.com>
3519
3520 * gdb.threads/omp-par-scope.c: New file.
3521 * gdb/threads/omp-par-scope.exp: New file.
3522
26b911fb
KB
35232019-12-10 Kevin Buettner <kevinb@redhat.com>
3524
bb47f919
KB
3525 * lib/gdb.exp (support_nested_function_tests): New proc.
3526
35272019-12-10 Kevin Buettner <kevinb@redhat.com>
3528
3529 * lib/gdb.exp (gdb_compile_openmp): New proc.
3530 (build_executable_from_specs): Add an "openmp" option.
3531 (gdb_compile_pthreads): Add non-executable case.
26b911fb 3532
6c71eb7d
TT
35332019-12-10 Tom Tromey <tromey@adacore.com>
3534
3535 * gdb.ada/unchecked_union.exp: New file.
3536 * gdb.ada/unchecked_union/pck.adb: New file.
3537 * gdb.ada/unchecked_union/pck.ads: New file.
3538 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
3539 * gdb-utils.exp (string_to_regexp): Also quote "?".
3540
bac7c5cf
GB
35412019-12-10 George Barrett <bob@bob131.so>
3542
3543 Test scripted probe breakpoints.
3544 * gdb.guile/scm-breakpoint.c (main): Add probe point.
3545 * gdb.python/py-breakpoint.c (main): Likewise.
3546 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
3547 specifier test.
3548 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
3549
330f1d38
TBA
35502019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3551
3552 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
3553 an rvalue parameter.
3554 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
3555 parameter.
3556
b43315e2
AB
35572019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3558
3559 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
3560 modules.
3561
54f73dad
AB
35622019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3563
3564 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
3565 broken version of GCC.
3566
d57cbee9
AB
35672019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3568
3569 * gdb.fortran/info-modules.exp: Rewrite to make use of new
3570 sym-info-cmds library.
3571 * gdb.fortran/info-types.exp: Likewise.
3572 * lib/sym-info-cmds.exp: New file.
3573
c14aab8c
TV
35742019-12-08 Tom de Vries <tdevries@suse.de>
3575
3576 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
3577
aa2d5a42
KS
35782019-12-07 Keith Seitz <keiths@redhat.com>
3579
3580 * gdb.base/corefile-buildid-shlib-shr.c: New file.
3581 * gdb.base/corefile-buildid-shlib.c: New file.
3582 * gdb.base/corefile-buildid.c: New file.
3583 * gdb.base/corefile-buildid.exp: New file.
3584
93e55f0a
TV
35852019-12-06 Tom de Vries <tdevries@suse.de>
3586
3587 * gdb.dwarf2/varval.exp: Add decl before def test.
3588
c7d12402
TBA
35892019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3590
3591 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
3592
06acc08f
TBA
35932019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3594
3595 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
3596 CV and reference conversion for overload resolution.
3597 * gdb.cp/rvalue-ref-overload.exp: Test it.
3598
e0fad1ea
PW
35992019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3600
3601 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
3602 * gdb.base/frameapply.exp: Test faas without command.
3603
8d70a9f0
AB
36042019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3605
3606 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
3607 Fortran tests.
3608 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
3609 order.
3610
36c8fb93
AB
36112019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3612
3613 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
3614 casting to type with no kind specified.
3615 (test_basic_parsing_of_type_kinds): Additional tests for types
3616 with no kind specified, and add tests for single/double
3617 precision/complex types.
3618
4139ff00
TT
36192019-12-04 Tom Tromey <tromey@adacore.com>
3620
3621 * gdb.base/endianity.c (struct other) <x>: New field.
3622 (main): Initialize it.
3623 * gdb.base/endianity.exp: Update.
3624
a05cf17a
TT
36252019-12-04 Tom Tromey <tromey@adacore.com>
3626
3627 * gdb.ada/scalar_storage/storage.adb: New file.
3628 * gdb.ada/scalar_storage/pck.adb: New file.
3629 * gdb.ada/scalar_storage/pck.ads: New file.
3630 * gdb.ada/scalar_storage.exp: New file.
3631
103a685e
TT
36322019-12-04 Tom Tromey <tromey@adacore.com>
3633
3634 * gdb.base/endianity.c (struct otherendian) <f>: New field.
3635 (main): Initialize it.
3636 * gdb.base/endianity.exp: Update.
3637
c2512106
AB
36382019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3639
3640 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
3641
293b38d6
AB
36422019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3643
3644 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
3645 -symbol-info-module-functions and -symbol-info-module-variables.
3646
216a7e6b
AB
36472019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
3648
3649 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
3650
5bbd8269
AB
36512019-12-01 Richard Bunt <richard.bunt@arm.com>
3652 Andrew Burgess <andrew.burgess@embecosm.com>
3653
3654 * gdb.fortran/derived-type-striding.exp: New file.
3655 * gdb.fortran/derived-type-striding.f90: New file.
3656 * gdb.fortran/array-slices.exp: New file.
3657 * gdb.fortran/array-slices.f90: New file.
3658
be09caf1
PW
36592019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3660
3661 * gdb.base/define.exp: Test . in command names.
3662 * gdb.base/setshow.exp: Update test, as . is now part of
3663 command name.
3664
643c0cbe
PW
36652019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3666
3667 * gdb.base/define-prefix.exp: New file.
3668
dcdec678
AB
36692019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
3670
3671 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
3672 compile.
3673 (skip_btrace_pt_tests): Likewise.
3674
640ab947
AB
36752019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3676
3677 * gdb.fortran/info-modules.exp: Compile source files in correct
3678 order.
3679
d22670f0
KB
36802019-11-27 Kevin Buettner <kevinb@redhat.com>
3681
3682 * gdb.dwarf2/imported-unit.exp: New file.
3683 * gdb.dwarf2/imported-unit.c: New file.
3684
db5960b4
AB
36852019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3686
3687 * gdb.mi/mi-fortran-modules-2.f90: New file.
3688 * gdb.mi/mi-fortran-modules.exp: New file.
3689 * gdb.mi/mi-fortran-modules.f90: New file.
3690
7dc42066
AB
36912019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3692
3693 * gdb.mi/mi-sym-info-1.c: New file.
3694 * gdb.mi/mi-sym-info-2.c: New file.
3695 * gdb.mi/mi-sym-info.exp: New file.
3696
0dfeecca
TT
36972019-11-22 Tom Tromey <tromey@adacore.com>
3698
3699 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
3700 * gdb.ada/tasks/foo.adb: Add another stopping location.
3701
34877895
PJ
37022019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
3703
3704 * gdb.base/endianity.c: New test.
3705 * gdb.base/endianity.exp: New file.
3706
2e84f897
LD
37072019-11-21 Lukas Durfina <ldurfina@tachyum.com>
3708
3709 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
3710
65d1cd5f
TV
37112019-11-21 Tom de Vries <tdevries@suse.de>
3712
3713 PR gdb/24956
3714 * gdb.base/ui-redirect.exp: Test output of user-defined command.
3715
4f22c3f4
SDJ
37162019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3717
3718 * gdb.python/py-progspace.exp: Add missing parentheses on some
3719 'print' commands.
3720
9f6ad286
TT
37212019-11-19 Tom Tromey <tom@tromey.com>
3722
3723 * gdb.tui/winheight.exp: New file.
3724
0b8dbf3f
AB
37252019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3726
3727 * gdb.base/ctf-whatis.c: Delete.
3728 * gdb.base/ctf-whatis.exp: Delete.
3729 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
3730
f833b7a7
AB
37312019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3732
3733 * gdb.base/ctf-cvexpr.exp: Delete.
3734 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
3735
30d0a636
AB
37362019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3737
3738 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
3739 the compiler. Clean up header comment a little.
3740 * gdb.base/ctf-ptype.exp: Likewise.
3741 * gdb.base/ctf-whatis.exp: Likewise.
3742 * lib/gdb.exp (skip_ctf_tests): New proc.
3743
494409bb
SDJ
37442019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
3745
3746 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
3747 * gdb.tui/corefile-run.exp: New file.
3748
55708e99
TT
37492019-11-14 Tom Tromey <tromey@adacore.com>
3750
3751 * gdb.base/gdbvars.exp (test_convenience_variables): Add
3752 regression tests.
3753
45e42163
TT
37542019-11-12 Tom Tromey <tom@tromey.com>
3755
3756 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
3757 after any command. Expect prompt after WAIT_FOR is seen.
3758 (enter_tui): Enable resize messages.
3759 (command): Expect command in output.
3760 (get_line): Avoid error when cursor appears to be off-screen.
3761 (dump_screen): Include screen size in title.
3762 (_do_resize): New proc, from "resize".
3763 (resize): Rewrite. Do resize in two steps.
3764 * gdb.tui/empty.exp (layouts): Fix entries.
3765 (check_boxes): Remove xfail.
3766 (check_text): Dump screen on failure.
3767
086baaf1
AB
37682019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3769
3770 * gdb.python/py-symbol.exp: Add test for
3771 gdb.lookup_static_symbols.
3772
09ff83af
AB
37732019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3774
3775 * gdb.python/py-symbol.c: Declare and call function from new
3776 py-symbol-2.c file.
3777 * gdb.python/py-symbol.exp: Compile both source files, and add new
3778 tests for gdb.lookup_static_symbol.
3779 * gdb.python/py-symbol-2.c: New file.
3780
11af934b
TV
37812019-11-02 Tom de Vries <tdevries@suse.de>
3782
3783 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
3784 * gdb.base/anon.exp: Same.
3785 * gdb.base/auto-connect-native-target.exp: Same.
3786 * gdb.base/call-ar-st.exp: Same.
3787 * gdb.base/catch-syscall.exp: Same.
3788 * gdb.base/commands.exp: Same.
3789 * gdb.base/default.exp: Same.
3790 * gdb.base/display.exp: Same.
3791 * gdb.base/float.exp: Same.
3792 * gdb.base/foll-fork.exp: Same.
3793 * gdb.base/help.exp: Same.
3794 * gdb.base/info-macros.exp: Same.
3795 * gdb.base/info-proc.exp: Same.
3796 * gdb.base/info-target.exp: Same.
3797 * gdb.base/long_long.exp: Same.
3798 * gdb.base/macscp.exp: Same.
3799 * gdb.base/memattr.exp: Same.
3800 * gdb.base/nofield.exp: Same.
3801 * gdb.base/pointers.exp: Same.
3802 * gdb.base/printcmds.exp: Same.
3803 * gdb.base/ptype.exp: Same.
3804 * gdb.base/restore.exp: Same.
3805 * gdb.base/return.exp: Same.
3806 * gdb.base/scope.exp: Same.
3807 * gdb.base/set-noassign.exp: Same.
3808 * gdb.base/setshow.exp: Same.
3809 * gdb.base/shlib-call.exp: Same.
3810 * gdb.base/signals.exp: Same.
3811 * gdb.base/sigstep.exp: Same.
3812 * gdb.base/skip.exp: Same.
3813 * gdb.base/solib-symbol.exp: Same.
3814 * gdb.base/stap-probe.exp: Same.
3815 * gdb.base/step-line.exp: Same.
3816 * gdb.base/step-test.exp: Same.
3817 * gdb.base/style.exp: Same.
3818 * gdb.base/varargs.exp: Same.
3819 * gdb.base/vla-datatypes.exp: Same.
3820 * gdb.base/vla-ptr.exp: Same.
3821 * gdb.base/vla-sideeffect.exp: Same.
3822 * gdb.base/volatile.exp: Same.
3823 * gdb.base/watch-cond-infcall.exp: Same.
3824 * gdb.base/watchpoint.exp: Same.
3825
e96ec2ba
TV
38262019-11-02 Tom de Vries <tdevries@suse.de>
3827
3828 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
3829 * gdb.cp/cpexprs.exp: Same.
3830 * gdb.cp/except-multi-location.exp: Same.
3831 * gdb.cp/exceptprint.exp: Same.
3832 * gdb.cp/gdb2384.exp: Same.
3833 * gdb.cp/inherit.exp: Same.
3834 * gdb.cp/m-static.exp: Same.
3835 * gdb.cp/meth-typedefs.exp: Same.
3836 * gdb.cp/misc.exp: Same.
3837 * gdb.cp/namespace.exp: Same.
3838 * gdb.cp/non-trivial-retval.exp: Same.
3839 * gdb.cp/overload.exp: Same.
3840 * gdb.cp/pr17132.exp: Same.
3841 * gdb.cp/re-set-overloaded.exp: Same.
3842 * gdb.cp/rvalue-ref-types.exp: Same.
3843 * gdb.cp/templates.exp: Same.
3844
bd5766ec
LM
38452019-11-01 Luis Machado <luis.machado@linaro.org>
3846
3847 PR gdb/25124
3848
3849 * gdb.arch/pr25124.S: New file.
3850 * gdb.arch/pr25124.exp: New file.
3851
165f8965
AB
38522019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3853
3854 * gdb.fortran/info-modules.exp: Update expected results, and add
3855 additional tests for 'info module functinos', and 'info module
3856 variables'.
3857 * gdb.fortran/info-types.exp: Update expected results.
3858 * gdb.fortran/info-types.f90: Extend testcase with additional
3859 module variables and functions.
3860
59c35742
AB
38612019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3862
3863 * gdb.fortran/info-modules.exp: New file.
3864 * gdb.fortran/info-types.exp: Build with new file.
3865 * gdb.fortran/info-types.f90: Include and use new module.
3866 * gdb.fortran/info-types-2.f90: New file.
3867
f3fb2519
PW
38682019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3869
3870 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
3871 * gdb.base/settings.exp: Test all settings types using
3872 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
3873 that now verifies that the value of "maint show" is the same as
3874 returned by the settings functions. Test the type of the
3875 maintenance settings.
3876 * gdb.base/default.exp: Update show_conv_list.
3877
d1e36019
TV
38782019-10-31 Tom de Vries <tdevries@suse.de>
3879
3880 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
3881 gdb_test.
3882 * gdb.arch/amd64-disp-step.exp: Same.
3883 * gdb.asm/asm-source.exp: Same.
3884 * gdb.btrace/buffer-size.exp: Same.
3885 * gdb.btrace/cpu.exp: Same.
3886 * gdb.btrace/enable.exp: Same.
3887 * gdb.dwarf2/count.exp: Same.
3888 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3889 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
3890 * gdb.fortran/vla-datatypes.exp: Same.
3891 * gdb.fortran/vla-history.exp: Same.
3892 * gdb.fortran/vla-ptype.exp: Same.
3893 * gdb.fortran/vla-value.exp: Same.
3894 * gdb.fortran/whatis_type.exp: Same.
3895 * gdb.guile/guile.exp: Same.
3896 * gdb.multi/tids.exp: Same.
3897 * gdb.python/py-finish-breakpoint.exp: Same.
3898 * gdb.python/py-framefilter.exp: Same.
3899 * gdb.python/py-pp-registration.exp: Same.
3900 * gdb.python/py-xmethods.exp: Same.
3901 * gdb.python/python.exp: Same.
3902 * gdb.server/connect-with-no-symbol-file.exp: Same.
3903 * gdb.server/no-thread-db.exp: Same.
3904 * gdb.server/run-without-local-binary.exp: Same.
3905 * gdb.stabs/weird.exp: Same.
3906 * gdb.threads/attach-many-short-lived-threads.exp: Same.
3907 * gdb.threads/thread-find.exp: Same.
3908 * gdb.threads/tls-shared.exp: Same.
3909 * gdb.threads/tls.exp: Same.
3910 * gdb.threads/wp-replication.exp: Same.
3911 * gdb.trace/ax.exp: Same.
3912 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
3913
3d11e68e
TV
39142019-10-31 Tom de Vries <tdevries@suse.de>
3915
3916 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
3917 * gdb.ada/array_subscript_addr.exp: Same.
3918 * gdb.ada/arrayidx.exp: Same.
3919 * gdb.ada/arrayparam.exp: Same.
3920 * gdb.ada/arrayptr.exp: Same.
3921 * gdb.ada/boolean_expr.exp: Same.
3922 * gdb.ada/call_pn.exp: Same.
3923 * gdb.ada/complete.exp: Same.
3924 * gdb.ada/fixed_cmp.exp: Same.
3925 * gdb.ada/fun_addr.exp: Same.
3926 * gdb.ada/funcall_param.exp: Same.
3927 * gdb.ada/interface.exp: Same.
3928 * gdb.ada/mod_from_name.exp: Same.
3929 * gdb.ada/null_array.exp: Same.
3930 * gdb.ada/packed_array.exp: Same.
3931 * gdb.ada/packed_tagged.exp: Same.
3932 * gdb.ada/print_chars.exp: Same.
3933 * gdb.ada/print_pc.exp: Same.
3934 * gdb.ada/ptype_arith_binop.exp: Same.
3935 * gdb.ada/ptype_field.exp: Same.
3936 * gdb.ada/ptype_tagged_param.exp: Same.
3937 * gdb.ada/rec_return.exp: Same.
3938 * gdb.ada/ref_tick_size.exp: Same.
3939 * gdb.ada/str_ref_cmp.exp: Same.
3940 * gdb.ada/taft_type.exp: Same.
3941 * gdb.ada/tagged.exp: Same.
3942 * gdb.ada/type_coercion.exp: Same.
3943 * gdb.ada/uninitialized_vars.exp: Same.
3944
60b6ede8
TV
39452019-10-30 Tom de Vries <tdevries@suse.de>
3946
3947 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
3948
30baf67b
TV
39492019-10-26 Tom de Vries <tdevries@suse.de>
3950
3951 * gdb.base/bigcore.c: Fix typos in comments.
3952 * gdb.base/ctf-ptype.c: Same.
3953 * gdb.base/long_long.c: Same.
3954 * gdb.dwarf2/dw2-op-out-param.S: Same.
3955 * gdb.python/py-evthreads.c: Same.
3956 * gdb.reverse/i387-stack-reverse.c: Same.
3957 * gdb.trace/tfile.c: Same.
3958 * lib/compiler.c: Same.
3959 * lib/compiler.cc: Same.
3960
158da0d1
TV
39612019-10-25 Tom de Vries <tdevries@suse.de>
3962
3963 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
3964 gdb_test_multiple calls.
3965 * gdb.reverse/sigall-reverse.exp: Same.
3966 * gdb.reverse/solib-precsave.exp: Same.
3967 * gdb.reverse/solib-reverse.exp: Same.
3968 * gdb.reverse/until-precsave.exp: Same.
3969 * gdb.reverse/until-reverse.exp: Same.
3970
4ccdfbec
TV
39712019-10-24 Tom de Vries <tdevries@suse.de>
3972
3973 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
3974 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
3975 kfail using -wrap pattern flag and convenience variable
3976 gdb_test_name.
3977
33d569b7
AB
39782019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
3979
3980 * gdb.python/py-progspace.exp: Add tests for the
3981 Progspace.block_for_pc method.
3982
4d0b984b
TT
39832019-10-23 Tom Tromey <tom@tromey.com>
3984
3985 * configure: Rebuild.
3986 * aclocal.m4: Use m4_include, not sinclude.
3987
94cb3754
TV
39882019-10-21 Tom de Vries <tdevries@suse.de>
3989
3990 * gdb.base/infcall-nested-structs.c: Add
3991 __attribute__((noinline,noclone)) to all functions.
3992 (call_all): Add missing variable initialization. Simplify return value.
3993 (breakpt): Increment volatile variable, to prevent call from being
3994 optimized out.
3995 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
3996
062f1fc1
TV
39972019-10-17 Tom de Vries <tdevries@suse.de>
3998
3999 * gdb.fortran/module.exp: Allow info variables to print info for files
4000 other than module.f90.
4001
0b54364d
AB
40022019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4003
4004 * gdb.fortran/module.exp: Extend with 'info variables' test.
4005
7ff5fae7
AB
40062019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4007
4008 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
4009 F77_FOR_TARGET.
4010
d10eccaa
TV
40112019-10-16 Tom de Vries <tdevries@suse.de>
4012
4013 PR tdep/25096
4014 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
4015
745ff14e
TV
40162019-10-16 Tom de Vries <tdevries@suse.de>
4017
4018 PR tdep/24104
4019 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
4020 Add KFAIL for PR tdep/25096.
4021
03e1ab94
TV
40222019-10-16 Tom de Vries <tdevries@suse.de>
4023
4024 PR testsuite/25059
4025 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
4026
b17fcc10
TV
40272019-10-16 Tom de Vries <tdevries@suse.de>
4028
4029 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
4030 as signed.
4031
9223170f
SM
40322019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
4033
4034 * gdb.mi/list-thread-groups-available.exp: Read entries one by
4035 one instead of increasing timeout.
4036
d6e76313
TV
40372019-10-13 Tom de Vries <tdevries@suse.de>
4038
4039 PR record/25038
4040 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
4041 * gdb.reverse/sigall-reverse.exp: Same.
4042 * gdb.reverse/solib-precsave.exp: Same.
4043 * gdb.reverse/solib-reverse.exp: Same.
4044 * gdb.reverse/step-precsave.exp: Same.
4045 * gdb.reverse/until-precsave.exp: Same.
4046 * gdb.reverse/until-reverse.exp: Same.
4047 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
4048
6dfc0041
AA
40492019-10-10 Andreas Arnez <arnez@linux.ibm.com>
4050
4051 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
4052 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
4053 (cmp_struct_05_01, cmp_struct_static_02_01)
4054 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
4055 comparisons.
4056
abcf2cc8
TV
40572019-10-10 Tom de Vries <tdevries@suse.de>
4058
4059 PR testsuite/24888
4060 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
4061 gnatlink.
4062
a50faaf6
TV
40632019-10-09 Tom de Vries <tdevries@suse.de>
4064
4065 PR testsuite/25048
4066 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
4067
60ff3cd7
AB
40682019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4069
4070 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
4071 exceptions due to missing debug information.
4072
dfee8566
TV
40732019-10-07 Tom de Vries <tdevries@suse.de>
4074
4075 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
4076
3d63690a
AB
40772019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4078
4079 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
4080 * gdb.base/annota1.exp: Update to use gdb_test_name.
4081
30d1f018
WP
40822019-10-07 Weimin Pan <weimin.pan@oracle.com>
4083
4084 * gdb.base/ctf-whatis.exp: New file.
4085 * gdb.base/ctf-whatis.c: New file.
4086 * gdb.base/ctf-ptype.exp: New file.
4087 * gdb.base/ctf-ptype.c: New file.
4088 * gdb.base/ctf-constvars.exp: New file.
4089 * gdb.base/ctf-constvars.c: New file.
4090 * gdb.base/ctf-cvexpr.exp: New file.
4091
4dbbb47c
TV
40922019-10-04 Tom de Vries <tdevries@suse.de>
4093
4094 * gdb.cp/local-static.c (main): Move declaration of int i out of the
4095 for loop.
4096
77c2dba3
TT
40972019-10-03 Tom Tromey <tom@tromey.com>
4098
4099 PR rust/24976:
4100 * gdb.rust/simple.rs (Union2): New type.
4101 (main): Use Union2.
4102 * gdb.rust/simple.exp: Add test.
4103
179aed7f
AB
41042019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4105
4106 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
4107 nested function prefix.
4108
0a4b0913
AB
41092019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
4110 Richard Bunt <richard.bunt@arm.com>
4111 Andrew Burgess <andrew.burgess@embecosm.com>
4112
4113 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
4114 nested functions.
4115 * gdb.fortran/nested-funcs.f90: Update expected results.
4116 * gdb.fortran/nested-funcs-2.exp: New file.
4117 * gdb.fortran/nested-funcs-2.f90: New file.
4118
082cce05
AB
41192019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4120
4121 * gdb.python/py-parameter.exp: Make test names unique.
4122 * gdb.python/py-template.exp: Likewise.
4123 * gdb.python/py-value.exp: Likewise.
4124
2b74ba5a
AB
41252019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4126
4127 * gdb.base/break-interp.exp: Reduce test name duplication.
4128 * gdb.base/call-sc.exp: Likewise.
4129 * gdb.base/callfuncs.exp: Likewise.
4130 * gdb.base/charset.exp: Likewise.
4131 * gdb.base/dump.exp: Likewise.
4132 * gdb.base/ena-dis-br.exp: Likewise.
4133 * gdb.base/relational.exp: Likewise.
4134 * gdb.base/step-over-syscall.exp: Likewise.
4135 * gdb.base/structs.exp: Likewise.
4136
58eb20d5
AB
41372019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4138
4139 * gdb.linespec/explicit.exp: Make test names unique.
4140 * gdb.linespec/ls-errs.exp: Likewise.
4141
4d421147
AB
41422019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4143
4144 * gdb.reverse/break-precsave.exp: Make test names unique.
4145 * gdb.reverse/break-reverse.exp: Likewise.
4146 * gdb.reverse/finish-precsave.exp: Likewise.
4147 * gdb.reverse/finish-reverse.exp: Likewise.
4148 * gdb.reverse/machinestate-precsave.exp: Likewise.
4149 * gdb.reverse/machinestate.exp: Likewise.
4150 * gdb.reverse/readv-reverse.exp: Likewise.
4151 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4152 * gdb.reverse/sigall-precsave.exp: Likewise.
4153 * gdb.reverse/sigall-reverse.exp: Likewise.
4154 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
4155 * gdb.reverse/watch-precsave.exp: Likewise.
4156 * gdb.reverse/watch-reverse.exp: Likewise.
4157
d8c06f22
AB
41582019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4159
4160 * gdb.threads/stop-with-handle.c: New file.
4161 * gdb.threads/stop-with-handle.exp: New file.
4162
3a56ed86
TV
41632019-10-03 Tom de Vries <tdevries@suse.de>
4164
4165 PR testsuite/25059
4166 * gdb.base/list-missing-source.exp: Allowing the "Compilation
4167 directory" line to be missing.
4168
42275044
TV
41692019-10-03 Tom de Vries <tdevries@suse.de>
4170
4171 PR testsuite/25059
4172 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
4173 type optional.
4174
9ef62df0
AA
41752019-10-02 Andreas Arnez <arnez@linux.ibm.com>
4176
4177 * gdb.python/py-format-string.c (string.h): New include.
4178 (main): Fill a_struct_with_union.the_union.an_int with bytes of
4179 the same value, for endianness-independence.
4180 * gdb.python/py-format-string.exp (default_regexp_dict)
4181 (test_pretty_structs, test_format): Adjust expected output to the
4182 changed initialization.
4183
37f6a7f4
TT
41842019-10-02 Tom Tromey <tromey@adacore.com>
4185
4186 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
4187
1d58d6a2
PA
41882019-10-02 Pedro Alves <palves@redhat.com>
4189 Andrew Burgess <andrew.burgess@embecosm.com>
4190
4191 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
4192 "print-file-var.h".
4193 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4194 (get_version_1): Print this_version_id and its address.
4195 Add extern "C" wrappers around interface functions.
4196 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
4197 "print-file-var.h".
4198 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4199 (get_version_2): Print this_version_id and its address.
4200 Add extern "C" wrappers around interface functions.
4201 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
4202 <stddef.h> and "print-file-var.h".
4203 Add extern "C" wrappers around interface functions.
4204 [VERSION_ID_MAIN] (this_version_id): Define.
4205 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
4206 * gdb.base/print-file-var.h: Add some #defines to simplify setting
4207 up extern "C" blocks.
4208 * gdb.base/print-file-var.exp (test): New, factored out from top
4209 level.
4210 (top level): Test all combinations of attribute hidden or not,
4211 dlopen or not, and this_version_id symbol in main file or not.
4212 Compile tests as both C++ and C, make test names unique.
4213
d770d56f
TT
42142019-10-01 Tom Tromey <tom@tromey.com>
4215
4216 * gdb.base/style.exp: Test "show logging filename".
4217
7f6aba03
TT
42182019-10-01 Tom Tromey <tom@tromey.com>
4219
4220 * lib/gdb-utils.exp (style): Handle "metadata" argument.
4221 * gdb.base/style.exp: Add metadata style test.
4222
14309bb6
TT
42232019-10-01 Tom Tromey <tom@tromey.com>
4224
4225 * gdb.base/style.exp: Test "pwd".
4226
2a3c1174
PA
42272019-10-01 Tom Tromey <tom@tromey.com>
4228
4229 * gdb.base/style.exp: Update tests.
4230
53d666ec
AA
42312019-10-01 Andreas Arnez <arnez@linux.ibm.com>
4232
4233 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
4234 'six' to unsigned.
4235 (s1): Initialize fields 'four' and 'six' instead of 'three' and
4236 'five'. Use an all-ones bit pattern for each.
4237 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
4238 to its changed values.
4239
4a56a520
TT
42402019-09-30 Tom Tromey <tromey@adacore.com>
4241
4242 * gdb.rust/traits.rs: Disable all warnings.
4243
0df0352a
TV
42442019-09-29 Tom de Vries <tdevries@suse.de>
4245
aac66a4c 4246 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 4247
73d9a918
TV
42482019-09-29 Tom de Vries <tdevries@suse.de>
4249
4250 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
4251
060b3ab4
TV
42522019-09-27 Tom de Vries <tdevries@suse.de>
4253
4254 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
4255
68f7d34d
TV
42562019-09-27 Tom de Vries <tdevries@suse.de>
4257
4258 PR record/23188
4259 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
4260
5d63b30a
TT
42612019-09-26 Tom Tromey <tromey@adacore.com>
4262
4263 * gdb.ada/py_taft.exp: New file.
4264 * gdb.ada/py_taft/main.adb: New file.
4265 * gdb.ada/py_taft/pkg.adb: New file.
4266 * gdb.ada/py_taft/pkg.ads: New file.
4267
3d435220
TV
42682019-09-24 Tom de Vries <tdevries@suse.de>
4269
4270 PR gdb/24598
4271 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
4272
77d03678
TV
42732019-09-22 Tom de Vries <tdevries@suse.de>
4274
4275 * gdb.base/restore.exp: Allow register variables to be optimized out at
4276 -O0.
4277
abf516c6
UW
42782019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
4279
4280 * gdb.arch/spu-info.exp: Remove file.
4281 * gdb.arch/spu-info.c: Remove file.
4282 * gdb.arch/spu-ls.exp: Remove file.
4283 * gdb.arch/spu-ls.c: Remove file.
4284
4285 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
4286 * gdb.asm/spu.inc: Remove file.
4287
4288 * gdb.base/dump.exp: Remove support for spu*-*-*.
4289 * gdb.base/stack-checking.exp: Likewise.
4290 * gdb.base/overlays.exp: Likewise.
4291 * gdb.base/ovlymgr.c: Likewise.
4292 * gdb.base/spu.ld: Remove file.
4293
4294 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
4295 * gdb.cp/cpexprs.exp: Likewise.
4296 * gdb.cp/exception.exp: Likewise.
4297 * gdb.cp/gdb2495.exp: Likewise.
4298 * gdb.cp/mb-templates.exp: Likewise.
4299 * gdb.cp/pr9167.exp: Likewise.
4300 * gdb.cp/userdef.exp: Likewise.
4301
4302 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
4303
4304 * gdb.cell: Remove directory.
4305 * lib/cell.exp: Remove file.
4306
e452e88f
TV
43072019-09-19 Tom de Vries <tdevries@suse.de>
4308
4309 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
4310
8a625130
TV
43112019-09-19 Tom de Vries <tdevries@suse.de>
4312
4313 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
4314
81dc3ab5
TV
43152019-09-19 Tom de Vries <tdevries@suse.de>
4316
4317 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
4318 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
4319 (gdb_target_cmd): ... here.
4320 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
4321 value 2.
4322
b078f3ac
AB
43232019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
4324
4325 * gdb.base/source-dir.exp: Avoid having directory names in test
4326 names.
4327
f1b620e9
MG
43282019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4329
4330 * gdb.base/source-dir.exp: Add extra test for mapped compilation
4331 directory.
4332
67f3ed6a
AB
43332019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4334
4335 * gdb.base/list-missing-source.exp: New file.
4336
d1b70248
TV
43372019-09-14 Tom de Vries <tdevries@suse.de>
4338
4339 PR teststuite/24599
4340 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
4341 * lib/ada.exp (gnatmake_version_at_least): New proc.
4342
5fabdcd6
AB
43432019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4344
4345 * gdb.base/maint.exp: Use exec_has_index_section.
4346
aa17805f
AB
43472019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4348
4349 * gdb.base/maint.exp: Add test for 'maint info sections'.
4350
25e5c209
TV
43512019-09-12 Tom de Vries <tdevries@suse.de>
4352
4353 * gdb.base/store.exp: Allow register variables to be optimized out at
4354 -O0.
4355
4993045d
PW
43562019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4357
4358 * gdb.ada/rdv_wait.exp: Update to new task names.
4359 * gdb.base/task_switch_in_core.exp: Likewise.
4360 * gdb.base/info_sources_base.c: Likewise.
4361
8a516164
TT
43622019-09-10 Tom Tromey <tromey@adacore.com>
4363
4364 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
4365
aa391654
TT
43662019-09-10 Tom Tromey <tromey@adacore.com>
4367
4368 * gdb.ada/dgopt.exp: New file.
4369 * gdb.ada/dgopt/x.adb: New file.
4370
8634b462
TT
43712019-09-08 Tom Tromey <tom@tromey.com>
4372
4373 * gdb.tui/resize.exp: Remove setup_xfail.
4374 * gdb.tui/regs.exp: Remove setup_xfail.
4375 * gdb.tui/basic.exp: Remove setup_xfail.
4376
736b0f76
DB
43772019-09-06 David Blaikie <dblaikie@gmail.com>
4378
4379 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
4380 * gdb.cp/cplabel.exp: Ditto.
4381 * gdb.linespec/ls-errs.exp: Ditto.
4382
30331a6c
TV
43832019-09-05 Tom de Vries <tdevries@suse.de>
4384
4385 * lib/gdb.exp (cmp_file_string): New proc.
4386 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
4387 runto_main. Verify save breakpoints output.
4388
98b0ebab
PW
43892019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4390
4391 * gdb.base/info-var.exp: Test info variables without running
4392 to main, to avoid expect's buffer overflow.
4393
4e962e74
TT
43942019-09-03 Tom Tromey <tromey@adacore.com>
4395
4396 * gdb.ada/bias.exp: New file.
4397 * gdb.ada/bias/bias.adb: New file.
4398 * gdb.ada/print_chars.exp: Add regression test.
4399 * gdb.ada/print_chars/foo.adb (My_Character): New type.
4400 (MC): New variable.
4401
2ea1a07a
SL
44022019-08-29 Sandra Loosemore <sandra@codesourcery.com>
4403
4404 * gdb.base/argv0-symlink.exp: Run only on native target
4405 and local host.
4406
8077c50d
TV
44072019-08-29 Tom de Vries <tdevries@suse.de>
4408
4409 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
4410 diverse debug info.
4411 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
4412
48352473
TV
44132019-08-28 Tom de Vries <tdevries@suse.de>
4414
4415 * gdb.base/info-var.exp: Allow info variables to print info for files
4416 other than info-var-f1.c and info-var-f2.c.
4417
d8f27c60
AB
44182019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4419
4420 * gdb.fortran/info-types.exp: Add module.
4421 * gdb.fortran/info-types.f90: Update expected results.
4422
1f20c35e
AB
44232019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4424
4425 * gdb.fortran/info-types.exp: New file.
4426 * gdb.fortran/info-types.f90: New file.
4427 * lib/fortran.exp (fortran_character1): New proc.
4428
4acfdd20
AB
44292019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
4430
4431 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
4432 functions'. Reindent as needed.
4433 * gdb.base/info-var-f1.c: New file.
4434 * gdb.base/info-var-f2.c: New file.
4435 * gdb.base/info-var.exp: New file.
4436 * gdb.base/info-var.h: New file.
4437
5c31b358
TV
44382019-08-26 Tom de Vries <tdevries@suse.de>
4439
4440 PR c++/24852
4441 * gdb.cp/no-libstdcxx-probe.exp: New test.
4442
b694989f
TV
44432019-08-26 Tom de Vries <tdevries@suse.de>
4444
4445 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
4446 * tests need to be skipped.
4447 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
4448 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
4449 mi_skip_libstdcxx_probe_tests.
4450
d9c4ba53
SDJ
44512019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
4452
4453 * gdb.python/py-xmethods.exp: Use raw strings when passing
4454 arguments to SimpleXMethodMatcher.
4455
395fad09
TV
44562019-08-22 Tom de Vries <tdevries@suse.de>
4457
4458 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
4459 more informative.
4460
26c957f1
PA
44612019-08-21 Pedro Alves <palves@redhat.com>
4462
4463 * gdb.base/with.exp: Test "with" with no arguments.
4464
61f80d5d
TV
44652019-08-21 Tom de Vries <tdevries@suse.de>
4466
4467 * gdb.base/gdb-caching-proc.exp: Sort files.
4468
d7a11d13
TV
44692019-08-20 Tom de Vries <tdevries@suse.de>
4470
4471 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
4472 compilation.
4473
34dafe9f
TV
44742019-08-16 Tom de Vries <tdevries@suse.de>
4475
4476 * gdb.base/compare-sections.exp ("after run to main"): Allow
4477 mismatched read-only sections for PIE executables.
4478
398fdd60
TT
44792019-08-16 Tom Tromey <tom@tromey.com>
4480
4481 * lib/tuiterm.exp (_csi_Z): New proc.
4482 * gdb.tui/basic.exp: Update window positions.
4483 * gdb.tui/empty.exp: Update window positions.
4484
d8f9e51c
SL
44852019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4486
4487 * gdb.base/examine-backward.exp: Correct regexp for
4488 "examine 3 bytes backward from ${address_zero}".
4489
3df505f6
TT
44902019-08-15 Tom Tromey <tom@tromey.com>
4491
4492 * gdb.tui/empty.exp: Enable resizing tests.
4493
272560b5
TT
44942019-08-15 Tom Tromey <tromey@adacore.com>
4495
4496 * gdb.ada/char_enum.exp: Add regression tests.
4497 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
4498 and '0'.
4499 (Char, Gchar): Update.
4500 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
4501
08235187
CB
45022019-08-15 Christian Biesinger <cbiesinger@google.com>
4503
4504 * gdb.python/python.exp: Expect a leading underscore on
4505 GdbOutput{,Error}File.
4506
22a2ab04
SL
45072019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4508
4509 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
4510 Windows host.
4511
835b995b
SL
45122019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4513
4514 * gdb.base/batch-preserve-term-settings.exp
4515 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
4516
97dd8e07
CB
45172019-08-15 Christian Biesinger <cbiesinger@google.com>
4518
4519 * lib/gdb.exp: When running on a mingw target, replace
4520 /x/ with x:/.
4521
75faf5c4
AH
45222019-08-14 Alan Hayward <alan.hayward@arm.com>
4523
4524 * gdb.arch/aarch64-prologue.c: New test.
4525 * gdb.arch/aarch64-prologue.exp: New file.
4526
abc6c00f
TV
45272019-08-13 Tom de Vries <tdevries@suse.de>
4528
4529 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
4530 Thread.
4531
74c2c1f4
SL
45322019-08-13 Sandra Loosemore <sandra@codesourcery.com>
4533
4534 * gdb.python/py-completion.exp: Download the .py file to the host
4535 and use its host pathname. Conditionalize tests that use
4536 tab completion and manipulate files on the build machine.
4537 * gdb.python/py-events.exp: Download the .py file to the host
4538 and use its host pathname.
4539 * gdb.python/py-evsignal.exp: Likewise.
4540 * gdb.python/py-evthreads.exp: Likewise.
4541 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
4542 pathname syntax.
4543 * gdb.python/py-framefilter.exp: Download the .py file to the right
4544 place on the host. Match Windows pathname syntax.
4545 * gdb.python/py-mi-var-info-path-expression.exp: Download the
4546 .py file to the host and use its host pathname.
4547 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
4548 * gdb.python/py-objfile.exp: Expect a host pathname, not a
4549 build pathname. Skip symlink test on Windows host. Add missing
4550 newline at end of file.
4551 * gdb.python/py-pp-maint.exp: Download the .py file to the host
4552 and use its host pathname.
4553 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
4554 * gdb.python/py-section-script.exp: Use host location of binfile
4555 on safe-path. Use correct path separator on Windows host.
4556 Reorder alternatives in gdb_test_multiple to prevent matching
4557 the wrong alternative on success.
4558 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
4559
ca2589f3
PP
45602019-08-12 Patrick Palka <patrick@parcs.ath.cx>
4561
4562 * gdb.gdb/selftest.exp (test_with_self): Update test to now
4563 expect the GDB inferior to no longer immediately stop after
4564 being resumed with "signal SIGINT".
4565
020a839d
SL
45662019-08-09 Sandra Loosemore <sandra@codesourcery.com>
4567
4568 * gdb.linespec/break-ask.exp: Generalize regexps to match
4569 Windows pathnames too.
4570
128d6509
TV
45712019-08-08 Tom de Vries <tdevries@suse.de>
4572
4573 PR testsuite/24862
4574 * lib/tuiterm.exp (_accept): Fix CSI regexp.
4575
590042fc
PW
45762019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4577
4578 * gdb.base/style.exp: Update tests for help doc new invariants.
4579 * gdb.base/help.exp: Likewise.
4580
046bebe1
TT
45812019-08-06 Tom Tromey <tom@tromey.com>
4582
4583 * gdb.base/style.exp: Add disassemble test.
4584 * gdb.base/style.c (some_called_function): New function.
4585 (main): Use it.
4586
0b27c27d
CB
45872019-08-05 Christian Biesinger <cbiesinger@google.com>
4588
4589 * gdb.python/py-block.exp: Test dictionary access on blocks.
4590
580f1034
SM
45912019-08-05 Simon Marchi <simon.marchi@efficios.com>
4592
4593 PR gdb/24863
4594 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
4595 -list-thread-groups --available test when running under
4596 check-read1.
4597
d86bd7cb
TV
45982019-08-05 Tom de Vries <tdevries@suse.de>
4599
4600 PR testsuite/24863
4601 * lib/gdb.exp (with_read1_timeout_factor): New proc.
4602 * gdb.base/help.exp: Use with_read1_timeout_factor.
4603 * gdb.base/info-macros.exp: Same.
4604 * gdb.cp/nested-types.exp: Same.
4605
a80cf5d8
TV
46062019-08-05 Tom de Vries <tdevries@suse.de>
4607
4608 * lib/gdb.exp (version_at_least): Factor out of ...
4609 (tcl_version_at_least): ... here.
4610 (gdb_compile): Fail if pie results in non-PIE executable.
4611 (readelf_version, readelf_prints_pie): New proc.
4612 (exec_is_pie): Return -1 if unknown.
4613
d0962838
TV
46142019-08-05 Tom de Vries <tdevries@suse.de>
4615
4616 * lib/gdb.exp (tcl_version_at_least): Fix typo.
4617
2252ff3d
SL
46182019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4619
4620 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
4621
26655f53
SL
46222019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4623
4624 * lib/completion-support.exp (test_gdb_complete_none): Skip
4625 tab completion tests if no readline support.
4626 (test_gdb_complete_unique_re): Likewise.
4627 (test_gdb_complete_multiple): Likewise.
4628
db4dc13e
PW
46292019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4630
4631 * gdb.base/info_sources.exp: New file.
4632 * gdb.base/info_sources.c: New file.
4633 * gdb.base/info_sources_base.c: New file.
4634
0eba165a
PFC
46352019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4636
4637 * gdb.base/batch-exit-status.exp: Call test_exit_status with
4638 prefix argument.
4639 (test_exit_status): Add prefix argument.
4640
59bd512b
TV
46412019-08-01 Tom de Vries <tdevries@suse.de>
4642
4643 PR testsuite/24863
4644 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
4645 calling exp_continue for new thread and thread exited messages.
4646
2a3ad588
TV
46472019-08-01 Tom de Vries <tdevries@suse.de>
4648
4649 PR testsuite/24863
4650 * gdb.base/structs.exp: Fix check-read1 timeout using
4651 gdb_test_sequence.
4652 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
4653
117eb594
TV
46542019-08-01 Tom de Vries <tdevries@suse.de>
4655
4656 PR testsuite/24863
4657 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
4658 line.
4659
ed591340
TV
46602019-08-01 Tom de Vries <tdevries@suse.de>
4661
4662 PR testsuite/24863
4663 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
4664
aa3b6533
TT
46652019-07-30 Tom Tromey <tromey@adacore.com>
4666
4667 * gdb.ada/display_nested.exp: New file.
4668 * gdb.ada/display_nested/foo.adb: New file.
4669 * gdb.ada/display_nested/pack.adb: New file.
4670 * gdb.ada/display_nested/pack.ads: New file.
4671
2906593f
CB
46722019-07-30 Christian Biesinger <cbiesinger@google.com>
4673
4674 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
4675 namespace.
4676 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
4677
0f575925
TV
46782019-07-30 Tom de Vries <tdevries@suse.de>
4679
4680 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
4681 instead.
4682
b13057d9
TV
46832019-07-30 Tom de Vries <tdevries@suse.de>
4684
4685 PR testsuite/24834
4686 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
4687 (exec_is_pie): New proc.
4688
5c4dde85
CB
46892019-07-29 Christian Biesinger <cbiesinger@google.com>
4690
4691 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
4692
c620ed88
CB
46932019-07-29 Christian Biesinger <cbiesinger@google.com>
4694
4695 * gdb.python/py-objfile.c: Add global and static vars.
4696 * gdb.python/py-objfile.exp: Test new functions Objfile.
4697 lookup_global_symbol and lookup_static_symbol.
4698
3d235706
TT
46992019-07-29 Tom Tromey <tom@tromey.com>
4700
4701 * lib/tuiterm.exp (Term::_csi_@): New proc.
4702 (Term::_csi_X): Don't move cursor.
4703
c7e4c0a6
PW
47042019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4705
4706 * gdb.base/options.exp: Update backtrace - completion to
4707 new option -frame-info.
4708 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
4709 Test new 'set print frame-info'. Test backtrace -frame-info
4710 overriding 'set print frame-info'.
4711 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
4712 Test new 'set print frame-info'.
4713 Verify consistency of backtrace with and without filters, with and
4714 without -no-filters.
4715 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
4716 default.
4717
de28a3b7
TV
47182019-07-29 Tom de Vries <tdevries@suse.de>
4719
4720 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
4721 no arguments".
4722
507dd60e
TV
47232019-07-29 Tom de Vries <tdevries@suse.de>
4724
4725 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
4726 is a substring of the first for "complete non-unique file name".
4727
5beafce9
TV
47282019-07-29 Tom de Vries <tdevries@suse.de>
4729
4730 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
4731 with ".*".
4732
2d274232
TV
47332019-07-29 Tom de Vries <tdevries@suse.de>
4734
4735 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
4736 Pass prompt_regexp parameter to gdb_test_multiple calls.
4737
9197cd8b
TV
47382019-07-29 Tom de Vries <tdevries@suse.de>
4739
4740 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 4741 print registers" regexps.
9197cd8b 4742
b528dae0
TV
47432019-07-29 Tom de Vries <tdevries@suse.de>
4744
4745 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
4746
d17725d7
TV
47472019-07-29 Tom de Vries <tdevries@suse.de>
4748
4749 PR gdb/24855
4750 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
4751 (skip_python_tests_prompt): Add prompt_regexp argument to
4752 gdb_test_multiple calls.
4753
52b75bf1
TT
47542019-07-27 Tom Tromey <tom@tromey.com>
4755
4756 * gdb.tui/main.exp: New file.
4757
2b1d00c2
TT
47582019-07-27 Tom Tromey <tom@tromey.com>
4759
4760 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
4761 optional.
4762 * gdb.tui/empty.exp: New file.
4763
ded631d5
TT
47642019-07-27 Tom Tromey <tom@tromey.com>
4765
4766 * lib/tuiterm.exp (spawn): New proc.
4767 (Term::resize): New proc.
4768 * gdb.tui/resize.exp: New file.
4769
58ac439d
TT
47702019-07-27 Tom Tromey <tom@tromey.com>
4771
4772 * gdb.tui/list.exp: New file.
4773
fe1f56ee
TT
47742019-07-27 Tom Tromey <tom@tromey.com>
4775
4776 * gdb.tui/regs.exp: New file.
4777
f790b310
TT
47782019-07-27 Tom Tromey <tom@tromey.com>
4779
4780 * gdb.tui/basic.exp: Add "layout split" test.
4781
d95fc6ee
TT
47822019-07-27 Tom Tromey <tom@tromey.com>
4783
4784 * gdb.tui/basic.exp: Add "layout asm" test.
4785
c3786b3a
TT
47862019-07-27 Tom Tromey <tom@tromey.com>
4787
4788 * lib/tuiterm.exp: New file.
4789 * gdb.tui/basic.exp: New file.
4790
98a617f8
KB
47912019-07-27 Kevin Buettner <kevinb@redhat.com>
4792
4793 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
4794 Enable tests associated with this flag. Adjust regex
4795 referencing "foo_low" to now refer to "foo_cold" instead.
4796
5c076da4
KB
47972019-07-27 Kevin Buettner <kevinb@redhat.com>
4798
4799 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
4800 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
4801 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
4802 foo_cold. Revise comments to match.
4803 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
4804 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
4805 were wrapped into this proc; Call do_test in loop from outermost
4806 level.
4807 (foo_low): Rename all occurrences to "foo_cold".
4808 (backtrace from baz): New test.
4809 (x2/i foo_cold): New test.
4810 (info line *foo_cold): New test.
4811
1512d3b7
TV
48122019-07-26 Tom de Vries <tdevries@suse.de>
4813
4814 * gdb.arch/i386-pkru.exp: Fix unterminated string.
4815
297989a1
TV
48162019-07-25 Tom de Vries <tdevries@suse.de>
4817
4818 PR testsuite/24830
4819 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
4820 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
4821 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
4822 (skip_libstdcxx_probe_tests): ... here.
4823 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
4824
b3b965fb
TV
48252019-07-24 Tom de Vries <tdevries@suse.de>
4826
4827 PR testsuite/24807
4828 * gdb.objc/basicclass.m: Include stdio.h.
4829 * gdb.objc/nondebug.m: Same.
4830 * gdb.objc/objcdecode.m: Same.
4831
4625b4d0
TV
48322019-07-24 Tom de Vries <tdevries@suse.de>
4833
4834 PR testsuite/24612
4835 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
4836 additional_flags.
4837
024a5840
TV
48382019-07-24 Tom de Vries <tdevries@suse.de>
4839
4840 PR testsuite/24831
4841 * gdb.multi/tids.exp: Update error messages for info threads.
4842
c76ddaa3
TV
48432019-07-24 Tom de Vries <tdevries@suse.de>
4844
4845 * gdb.base/info-types.exp: Allow info types to print info for more than
4846 one file.
4847
9a618ef6
TV
48482019-07-23 Tom de Vries <tdevries@suse.de>
4849
4850 PR testsuite/24842
4851 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
4852 gdb_spawn_with_cmdline_opts.
4853
40eadf04
SP
48542019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
4855
4856 * gdb.arch/arm-cmse-sgstubs.c: New test.
4857 * gdb.arch/arm-cmse-sgstubs.exp: New file.
4858
5ba29434
TV
48592019-07-23 Tom de Vries <tdevries@suse.de>
4860
4861 PR testsuite/24711
4862 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
4863 issuing next command.
4864
a8e9d247
AB
48652019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4866
4867 * gdb.ada/info_auto_lang.exp: Update expected results.
4868 * gdb.base/info-types.c: Add additional types to check.
4869 * gdb.base/info-types.exp: Update expected results.
4870
eb86c5e2
AB
48712019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4872
4873 * gdb.base/info-types.c: New file.
4874 * gdb.base/info-types.exp: New file.
4875
01e175fe
AB
48762019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
4877
4878 * gdb.arch/riscv-bp-infcall.c: New file.
4879 * gdb.arch/riscv-bp-infcall.exp: New file.
4880
6b78c3f8
AB
48812019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
4882
4883 PR breakpoints/24541
4884 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
4885
da738167
TV
48862019-07-14 Tom de Vries <tdevries@suse.de>
4887
4888 PR testsuite/24760
4889 * gdb.objc/basicclass.exp: Fix unterminated string.
4890
0d4e84ed
AB
48912019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
4892 Andrew Burgess <andrew.burgess@embecosm.com>
4893
4894 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
4895 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
4896 negative bounds.
4897 * gdb.fortran/vla-value.exp: Print elements of an array with
4898 negative bounds.
4899 * gdb.fortran/vla.f90: Setup an array with negative bounds for
4900 testing.
4901
021d8588
AB
49022019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
4903
4904 * gdb.base/options.exp (expect_string): Dequote strings in
4905 results.
4906 (test-string): Test strings with different quoting and reindent.
4907
f06f1252
TT
49082019-07-10 Tom Tromey <tromey@adacore.com>
4909
4910 * gdb.ada/mi_ex_cond.exp: Update expected results.
4911 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
4912 * gdb.ada/mi_catch_ex.exp: Update expected results.
4913 * gdb.ada/mi_catch_assert.exp: Update expected results.
4914 * gdb.ada/catch_ex.exp (catch_exception_info)
4915 (catch_exception_entry, catch_assert_entry)
4916 (catch_unhandled_entry): Update.
4917 * gdb.ada/catch_assert_if.exp: Update expected results.
4918
b863685d
RB
49192019-07-10 Richard Bunt <richard.bunt@arm.com>
4920 Stephen Roberts <stephen.roberts@arm.com>
4921
4922 * gdb.base/define.exp: Restore original prompt.
4923
cb1e4e32
PA
49242019-07-09 Pedro Alves <palves@redhat.com>
4925
4926 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
4927 breakpoints" output.
4928 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
4929 * gdb.python/py-breakpoint.exp: No longer expect that "catch
4930 throw" creates breakpoint.
4931 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
4932 'type="catchpoint"'.
4933
b58a68fe
PA
49342019-07-09 Pedro Alves <palves@redhat.com>
4935
4936 PR c++/15468
4937 * gdb.cp/except-multi-location-lib.cc: New.
4938 * gdb.cp/except-multi-location-main.cc: New.
4939 * gdb.cp/except-multi-location.exp: New.
4940
0826779b
PW
49412019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
4942
4943 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
4944 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
4945 argument and update callers.
4946
5b0e2db4
AB
49472019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4948
4949 * gdb.arch/amd64-break-on-asm-line.S: New file.
4950 * gdb.arch/amd64-break-on-asm-line.exp: New file.
4951
1f6f6e21
PW
49522019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4953
4954 * gdb.base/printcmds.exp: Test printing C string and
4955 C wide string convenience vars without transiting via the inferior.
4956 Also make test names unique.
4957
ea142fbf
AH
49582019-07-08 Alan Hayward <alan.hayward@arm.com>
4959
5862c886 4960 PR breakpoints/25011
ea142fbf
AH
4961 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
4962
213fd9fa
PA
49632019-07-04 Pedro Alves <palves@redhat.com>
4964
4965 * lib/gdb.exp (foreach_with_prefix): Don't return early if
4966 body returned ok(0), break(3) or continue(4).
4967 * gdb.testsuite/foreach_with_prefix.exp: New file.
4968
2b40fda7
AH
49692019-07-04 Alan Hayward <alan.hayward@arm.com>
4970
4971 * gdb.server/unittest.exp: Allow 0 unit tests to run.
4972
a26c8de0
PA
49732019-07-03 Pedro Alves <palves@redhat.com>
4974
4975 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
4976 "return -code".
4977
5f4ba3e7
PA
49782019-07-03 Pedro Alves <palves@redhat.com>
4979
4980 PR cli/24732
4981 * gdb.base/shell.exp: Load completion-support.exp.
4982 Adjust expected error output. Add completion tests.
4983
a994424f
PA
49842019-07-03 Pedro Alves <palves@redhat.com>
4985
4986 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
4987 string_to_regexp.
4988
3d9be6f5
PA
49892019-07-03 Pedro Alves <palves@redhat.com>
4990
4991 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
4992 (expect_integer): Adjust to expect "-string".
4993 (expect_string): New.
4994 (all_options): Expect "-string".
4995 (test-flag, test-boolean): Adjust to expect "-string".
4996 (test-string): New proc.
4997 (top level): Call it.
4998
41fc454c
PA
49992019-07-03 Pedro Alves <palves@redhat.com>
5000
5001 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
5002 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
5003 the expected output in the success.
5004
b2b2a215
PA
50052019-07-03 Pedro Alves <palves@redhat.com>
5006
5007 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5008 Split one gdb_test_multiple call in two to avoid a race.
5009
fdbc9870
PA
50102019-07-03 Pedro Alves <palves@redhat.com>
5011
5012 * gdb.base/with.c: New file.
5013 * gdb.base/with.exp: New file.
5014
c6ac8931
PA
50152019-07-03 Pedro Alves <palves@redhat.com>
5016
5017 * gdb.base/settings.exp: Replace all references to "maint
5018 test-settings set" with references to "maint set test-settings",
5019 and all references to "maint test-settings show" with references
5020 to "maint show test-settings".
5021
970f9d09
PA
50222019-07-03 Pedro Alves <palves@redhat.com>
5023
5024 * gdb.base/settings.exp (test-string): Adjust expected out when
5025 testing "maint test-settings show filename"
5026
54d66006
PA
50272019-07-02 Pedro Alves <palves@redhat.com>
5028
5029 * gdb.base/options.exp (test-info-threads): New procedure.
5030 (top level): Call it.
5031
10d06d82
TT
50322019-06-28 Tom Tromey <tromey@adacore.com>
5033
5034 * gdb.dwarf2/ada-linkage-name.c: New file.
5035 * gdb.dwarf2/ada-linkage-name.exp: New file.
5036
3d507ff2
TT
50372019-06-27 Tom Tromey <tromey@adacore.com>
5038
d039f014 5039 PR c++/20020:
3d507ff2
TT
5040 * gdb.cp/constexpr-field.exp: Use setup_xfail.
5041
8af58ffe
TV
50422019-06-26 Tom de Vries <tdevries@suse.de>
5043
5044 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
5045
22e21752
TV
50462019-06-26 Tom de Vries <tdevries@suse.de>
5047
5048 * gdb.base/index-cache.exp: Add back missing debug option.
5049
b65b566c
PW
50502019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5051
5052 * gdb.base/alias.exp: Test non matching/non existing prefixes.
5053
5c2c8c69
TV
50542019-06-25 Tom de Vries <tdevries@suse.de>
5055
5056 PR testsuite/24727
5057 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
5058
164e3873
TV
50592019-06-24 Tom de Vries <tdevries@suse.de>
5060
5061 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
5062
824eacee
TV
50632019-06-24 Tom de Vries <tdevries@suse.de>
5064
5065 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
5066 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
5067 * gdb.trace/unavailable-dwarf-piece.exp: Same.
5068
385b97d3
TV
50692019-06-24 Tom de Vries <tdevries@suse.de>
5070
5071 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
5072
c596f180
TV
50732019-06-21 Tom de Vries <tdevries@suse.de>
5074
5075 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
5076
b13a7d03
TV
50772019-06-21 Tom de Vries <tdevries@suse.de>
5078
5079 PR testsuite/24518
5080 PR ada/24713
5081 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
5082 index.
5083
899277ae
TT
50842019-06-19 Tom Tromey <tromey@adacore.com>
5085
5086 * gdb.ada/length_cond.exp: Add intro comment.
5087
680e1bee
TT
50882019-06-19 Tom Tromey <tromey@adacore.com>
5089
5090 * gdb.ada/length_cond.exp: New file.
5091 * gdb.ada/length_cond/length_cond.adb: New file.
5092 * gdb.ada/length_cond/pck.adb: New file.
5093 * gdb.ada/length_cond/pck.ads: New file.
5094
0ed4690a
TV
50952019-06-18 Tom de Vries <tdevries@suse.de>
5096
5097 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
5098
d20ed5fd
TT
50992019-06-18 Tom Tromey <tromey@adacore.com>
5100
5101 * gdb.base/list0.h: Add comment explaining control character.
5102
86e04673
TV
51032019-06-18 Tom de Vries <tdevries@suse.de>
5104
5105 * boards/fission.exp: Break up long debug_flags line.
5106
c4973306
SM
51072019-06-16 Tom de Vries <tdevries@suse.de>
5108
5109 PR gdb/24445
5110 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
5111 generated index.
5112
93cb9841
AB
51132019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5114
5115 PR gdb/24686
5116 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
5117 improve detection of bug gdb/24541.
5118
399aaebd
SM
51192019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
5120
5121 PR gdb/24669
5122 * gdb.base/index-cache.exp (uses_readnow,
5123 expecting_index_cache_use): Define global variable.
5124 (test_cache_enabled_miss, test_cache_enabled_hit): Use
5125 expecting_index_cache_use.
5126
584a927c
AB
51272019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
5128 Andrew Burgess <andrew.burgess@embecosm.com>
5129
5130 * gdb.fortran/pointers.f90: New file.
5131 * gdb.fortran/print_type.exp: New file.
5132 * gdb.fortran/vla-ptype.exp: Adapt expected results.
5133 * gdb.fortran/vla-type.exp: Likewise.
5134 * gdb.fortran/vla-value.exp: Likewise.
5135 * gdb.mi/mi-vla-fortran.exp: Likewise.
5136
30056ea0
AB
51372019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5138
5139 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
5140 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
5141 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
5142 as a stop reason.
5143
ec8e2b6d
AB
51442019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5145
5146 * gdb.base/annota1.exp: Update expected results.
5147 * gdb.cp/annota2.exp: Likewise.
5148 * gdb.cp/annota3.exp: Likewise.
5149
09e4c4e1
AB
51502019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5151
5152 * gdb.base/style-logging.exp: Remove path from test name.
5153
0735b091
TT
51542019-06-14 Tom Tromey <tromey@adacore.com>
5155
5156 PR gdb/24502:
5157 * gdb.base/style-logging.exp: New file.
5158
f5686554
TT
51592019-06-14 Tom Tromey <tromey@adacore.com>
5160
5161 * gdb.base/symfile-warn.exp: New file.
5162 * gdb.base/symfile-warn.c: New file.
5163
a0c1ffed
TT
51642019-06-14 Tom Tromey <tromey@adacore.com>
5165
5166 * gdb.base/annotate-symlink.exp: New file.
5167
f411722c
TT
51682019-06-14 Tom Tromey <tromey@adacore.com>
5169
5170 * gdb.ada/set_wstr.exp: Add reassignment test.
5171
4268ec18
TT
51722019-06-14 Tom Tromey <tromey@adacore.com>
5173
5174 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
5175 'unchecked_access and 'unrestricted_access as well.
5176
9a9e394b
TT
51772019-06-14 Tom Tromey <tromey@adacore.com>
5178
5179 PR ada/24539:
5180 * gdb.ada/vla.exp: Update tests.
5181 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
5182 pragma.
5183
4c048731
PA
51842019-06-13 Pedro Alves <palves@redhat.com>
5185
5186 * gdb.base/settings.exp (test-integer): Test junk after
5187 "unlimited".
5188
6665660a
PA
51892019-06-13 Pedro Alves <palves@redhat.com>
5190
5191 * gdb.base/options.exp (test-thread-apply): New.
5192 (top level): Call it.
5193
5d707134
PA
51942019-06-13 Pedro Alves <palves@redhat.com>
5195
5196 * gdb.base/options.exp (test-frame-apply): New.
5197 (top level): Test print commands with different "frame apply"
5198 prefixes.
5199
e2a689da
PA
52002019-06-13 Pedro Alves <palves@redhat.com>
5201
e79be6e5 5202 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
5203 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
5204 'max_completions' parameter and handle it.
5205 (test_gdb_completion_offers_commands): New.
5206
90a1ef87
PA
52072019-06-13 Pedro Alves <palves@redhat.com>
5208
5209 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
5210
d4c16835
PA
52112019-06-13 Pedro Alves <palves@redhat.com>
5212
5213 * gdb.base/options.exp (test-backtrace): New.
5214 (top level): Call it.
5215
2daf894e
PA
52162019-06-13 Pedro Alves <palves@redhat.com>
5217
5218 * gdb.guile/scm-frame-args.exp: Use "set print
5219 raw-frame-arguments" instead of "set print raw frame-arguments".
5220 * gdb.python/py-frame-args.exp: Likewise.
5221
e6ed716c
PA
52222019-06-13 Pedro Alves <palves@redhat.com>
5223
5224 * gdb.compile/compile.exp: Adjust expected output to option
5225 processing changes.
5226
7d8062de
PA
52272019-06-13 Pedro Alves <palves@redhat.com>
5228
5229 * gdb.base/options.exp: Build executable.
5230 (test-print): New procedure.
5231 (top level): Call it, once for "print" and another for "compile
5232 print".
5233
9d0faba9
PA
52342019-06-13 Pedro Alves <palves@redhat.com>
5235
5236 * gdb.base/options.c: New file.
5237 * gdb.base/options.exp: New file.
5238
dee7b4c8
PA
52392019-06-13 Pedro Alves <palves@redhat.com>
5240
5241 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
5242 that "o" is ambiguous.
5243
dca0f6c0
PA
52442019-06-13 Pedro Alves <palves@redhat.com>
5245
5246 * gdb.base/settings.c: New file.
5247 * gdb.base/settings.exp: New file.
5248
ccf46844
PA
52492019-06-13 Pedro Alves <palves@redhat.com>
5250
5251 * gdb.base/completion.exp: Fix comment typo.
5252
b9a3f842
PA
52532019-06-13 Pedro Alves <palves@redhat.com>
5254
5255 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
5256 foo --1" test.
5257
d106773e
PA
52582019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
5259
5260 * gdb.fortran/block-data.f: New.
5261 * gdb.fortran/block-data.exp: New.
5262
fea82da0
TV
52632019-06-11 Tom de Vries <tdevries@suse.de>
5264
5265 PR testsuite/24521
5266 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
5267 message.
5268
8c2e74f1
TV
52692019-06-11 Tom de Vries <tdevries@suse.de>
5270
5271 PR testsuite/24521
5272 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
5273
b49851c8
TV
52742019-06-11 Tom de Vries <tdevries@suse.de>
5275
5276 * boards/readnow.exp: New file.
5277
a7067863
AB
52782019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
5279
5280 * gdb.fortran/vla-sizeof.exp: Update expected results.
5281
1a3da2cd
AB
52822019-06-06 Amos Bird <amosbird@gmail.com>
5283
5284 * gdb.base/annota1.exp (thread_switch): Add test for
5285 thread-exited annotation.
5286
3847a7bf
TT
52872019-06-06 Tom Tromey <tromey@adacore.com>
5288
5289 * gdb.base/maint.exp: Expect command started/finished output.
5290
0088ba59
AB
52912019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5292
5293 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
5294 comment.
5295 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
5296
312617a3
AB
52972019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5298
5299 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
5300 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
5301 * gdb.arch/riscv-unwind-long-insn.c: New file.
5302 * gdb.arch/riscv-unwind-long-insn.exp: New file.
5303
e1f2e1a2
CB
53042019-06-04 Christian Biesinger <cbiesinger@google.com>
5305
d3238f7d 5306 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 5307
206584bd
PW
53082019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5309
5310 * lib/gdb.exp (help_list_trailer): New regexp variable
5311 factorizing the help trailer message.
5312 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
5313 arg to allow to better factorize various tests.
5314 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
5315 (test_prefix_command_help): Use help_list_trailer.
5316 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
5317 * gdb.guile/scm-cmd.exp: Likewise.
5318 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
5319 * gdb.base/help.exp: Use test_user_defined_class_help.
5320 * gdb.base/style.exp: Add tests for styling of help and apropos.
5321 * lib/gdb-utils.exp (style): Add title and highlight styles.
5322
708dc93e
PW
53232019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5324
5325 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
5326 $_shell_exitsignal.
5327 * gdb.base/default.exp: Update for new convenience variables.
5328
f49055a5
TT
53292019-05-29 Tom Tromey <tromey@adacore.com>
5330
5331 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
5332 to "break complete ada" test case's regexp.
5333
4330d61d
TT
53342019-05-29 Tom Tromey <tromey@adacore.com>
5335
5336 PR c++/20020:
5337 * gdb.cp/constexpr-field.exp: New file.
5338 * gdb.cp/constexpr-field.cc: New file.
5339
000439d5
TT
53402019-05-29 Tom Tromey <tromey@adacore.com>
5341
5342 * gdb.base/finish.exp (finish_no_print): New proc.
5343 (finish_tests): Call it.
5344
5a01c34c
TV
53452019-05-24 Tom de Vries <tdevries@suse.de>
5346
5347 * gdb.dwarf2/gdb-add-index.exp: New file.
5348
18125b16
TT
53492019-05-22 Tom Tromey <tromey@adacore.com>
5350
5351 * gdb.base/info-shared.exp (check_info_shared): Use "style".
5352 * gdb.base/style.exp: Use "style".
5353 * lib/gdb-utils.exp (style): New proc.
5354
af1a8d03
TV
53552019-05-22 Tom de Vries <tdevries@suse.de>
5356
5357 * gdb.base/align.exp: Require c++11.
5358
e7fe496b
TV
53592019-05-22 Tom de Vries <tdevries@suse.de>
5360
5361 PR testsuite/24586
5362 * gdb.python/py-mi-var-info-path-expression.exp: Call
5363 mi_skip_python_tests to check if python is supported.
5364
8fca4da0
AH
53652019-05-22 Alan Hayward <alan.hayward@arm.com>
5366
5367 * gdb.arch/aarch64-pauth.c: New test.
5368 * gdb.arch/aarch64-pauth.exp: New file.
5369
b7060614
AH
53702019-05-22 Alan Hayward <alan.hayward@arm.com>
5371
5372 * README (Re-running Tests Outside The Testsuite): New section.
5373
669d0468
TV
53742019-05-21 Tom de Vries <tdevries@suse.de>
5375
5376 * gdb.arch/amd64-eval.exp: Require c++11.
5377 * gdb.base/max-depth.exp: Same.
5378 * gdb.compile/compile-cplus-array-decay.exp: Same.
5379 * gdb.cp/meth-typedefs.exp: Same.
5380 * gdb.cp/subtypes.exp: Same.
5381 * gdb.cp/temargs.exp: Same.
5382
ce3ebcaa
AH
53832019-05-21 Alan Hayward <alan.hayward@arm.com>
5384
5385 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
5386
34d11c68
AB
53872019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
5388
5389 PR gdb/18644
5390 * gdb.fortran/complex.exp: Remove setup_kfail calls.
5391 * gdb.fortran/printing-types.exp: Add new test.
5392 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
5393 testing.
5394 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
5395 setup_kfail call.
5396
87781e84
AH
53972019-05-17 Alan Hayward <alan.hayward@arm.com>
5398
5399 * README (Running the Testsuite): Change example.
5400 (Testsuite Parameters): Remove TRANSCRIPT.
5401 * lib/gdb.exp: Remove TRANSCRIPT check.
5402
b420b89e
AH
54032019-05-17 Alan Hayward <alan.hayward@arm.com>
5404
5405 * README (Testsuite Parameters): Add replay logging to
5406 GDBSERVER_DEBUG.
5407 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
5408 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
5409 as a comma separated list.
5410 (gdb_debug_init): Override procedure.
5411
408e9b8b
AH
54122019-05-17 Alan Hayward <alan.hayward@arm.com>
5413
5414 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
5415 (gdb_write_cmd_file): New procedure.
5416 * lib/gdbserver-support.exp (gdbserver_start): Call
5417 gdbserver_write_cmd_file.
5418 (gdbserver_write_cmd_file): New procedure.
5419
f9e2e39d
AH
54202019-05-17 Alan Hayward <alan.hayward@arm.com>
5421
5422 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
5423 (delete_breakpoints): Likewise.
5424 (gdb_run_cmd): Likewise.
5425 (gdb_start_cmd): Likewise.
5426 (gdb_starti_cmd): Likewise.
5427 (gdb_internal_error_resync): Likewise.
5428 (gdb_test_multiple): Likewise.
5429 (gdb_reinitialize_dir): Likewise.
5430 (default_gdb_exit): Likewise.
5431 (gdb_file_cmd): Mark kill as optional.
5432 (default_gdb_start): Call gdb_stdin_log_init.
5433 (send_gdb): Call gdb_stdin_log_write.
5434 (rerun_to_main): Mark Y as an answer.
5435 (gdb_stdin_log_init): New function.
5436 (gdb_stdin_log_write): Likewise.
5437
81f47ac2
AH
54382019-05-17 Alan Hayward <alan.hayward@arm.com>
5439
5440 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
5441 * gdb.base/debug-expr.exp: Likewise.
5442 * gdb.base/foll-fork.exp: Likewise.
5443 * gdb.base/foll-vfork.exp: Likewise.
5444 * gdb.base/fork-print-inferior-events.exp: Likewise.
5445 * gdb.base/gdb-sigterm.exp: Likewise.
5446 * gdb.base/gdbinit-history.exp: Likewise.
5447 * gdb.base/osabi.exp: Likewise.
5448 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5449 * gdb.base/ui-redirect.exp: Likewise.
5450 * gdb.gdb/unittest.exp: Likewise.
5451 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
5452 * gdb.mi/mi-watch.exp: Likewise.
5453 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5454 * gdb.mi/user-selected-context-sync.exp: Likewise.
5455 * gdb.python/python.exp: Disable debug test when debugging.
5456 * gdb.threads/check-libthread-db.exp: Disable when debugging.
5457 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5458 Likewise.
5459 * gdb.threads/stepi-random-signal.exp: Likewise.
5460
29b52314
AH
54612019-05-17 Alan Hayward <alan.hayward@arm.com>
5462
5463 * Makefile.in: Pass through GDB_DEBUG.
5464 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5465 (gdb,debug): Add board setting.
5466 * lib/gdb.exp (default_gdb_start): Start debugging.
5467 (gdb_debug_enabled): New procedure.
5468 (gdb_debug_init): Likewise.
29b52314
AH
5469
54702019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 5471
29b52314
AH
5472 * Makefile.in: Pass through GDB_DEBUG.
5473 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5474 (gdb,debug): Add board setting.
5475 * lib/gdb.exp (default_gdb_start): Start debugging.
5476 (gdb_debug_enabled): New procedure.
5477 (gdb_debug_init): Likewise.
29b52314 5478
ca1285d1
AH
54792019-05-17 Alan Hayward <alan.hayward@arm.com>
5480
5481 * gdb.base/ui-redirect.exp: Add debug redirect tests.
5482
f3a09c80
AH
54832019-05-17 Alan Hayward <alan.hayward@arm.com>
5484
5485 * gdb.base/ui-redirect.exp: Test redirection.
5486
26648588
JV
54872019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
5488
5489 * gdb.mi/mi-complete.exp: New file.
5490 * gdb.mi/mi-complete.cc: Likewise.
5491
14237686
AB
54922019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
5493
5494 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
5495 indexed and sliced arrays, and pointers to arrays.
5496
e7bd7fba
TT
54972019-05-14 Tom Tromey <tromey@adacore.com>
5498
5499 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
5500 styling test.
5501
2764128d
TV
55022019-05-14 Tom de Vries <tdevries@suse.de>
5503
5504 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
5505 selection entry encoding.
5506
71bed2db
TT
55072019-05-10 Tom Tromey <tromey@adacore.com>
5508
5509 * gdb.ada/info_exc.exp: Add "complete" test.
5510
63b667ad
TV
55112019-05-09 Tom de Vries <tdevries@suse.de>
5512
5513 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
5514 CU-relative.
5515
9cfd2b89
TV
55162019-05-09 Tom de Vries <tdevries@suse.de>
5517
5518 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
5519 CU-relative.
5520
2228ef77
XR
55212019-05-08 Joel Brobecker <brobecker@adacore.com>
5522
5523 * gdb.ada/frame_arg_lang.exp: New testcase.
5524 * gdb.ada/frame_arg_lang/bla.adb: New file.
5525 * gdb.ada/frame_arg_lang/pck.ads: New file.
5526 * gdb.ada/frame_arg_lang/pck.adb: New file.
5527 * gdb.ada/frame_arg_lang/foo.c: New file.
5528
80e55b13
TT
55292019-05-08 Tom Tromey <tromey@adacore.com>
5530
5531 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
5532
9d3421af
TT
55332019-05-08 Tom Tromey <tromey@adacore.com>
5534
5535 * gdb.base/ptype-offsets.exp: Update tests.
5536
844333e2
TT
55372019-05-08 Tom Tromey <tromey@adacore.com>
5538
5539 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
5540 cases.
5541 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
5542 "short".
5543
988915ee
TT
55442019-05-08 Tom Tromey <tromey@adacore.com>
5545
5546 * gdb.ada/vla.exp: New file.
5547 * gdb.ada/vla/vla.adb: New file.
5548
7bd55dac
TV
55492019-05-07 Tom de Vries <tdevries@suse.de>
5550
5551 * gdb.base/index-cache.exp (ls_host): Fix return statement.
5552
75f06e9d
TV
55532019-05-07 Tom de Vries <tdevries@suse.de>
5554
5555 PR testsuite/24522
5556 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
5557 section.
5558
77e7aaa4
TV
55592019-05-07 Tom de Vries <tdevries@suse.de>
5560
5561 PR testsuite/24522
5562 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
5563 .debug_aranges section.
5564
456ba0fa
TV
55652019-05-07 Tom de Vries <tdevries@suse.de>
5566
5567 PR testsuite/24159
5568 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
5569
5a56d6a6
TV
55702019-05-06 Tom de Vries <tdevries@suse.de>
5571
5572 * lib/gdb.exp (exec_has_index_section): New proc.
5573 * gdb.base/index-cache.exp: Handle case that binfile contains an index
5574 section.
5575
9d6d4be8
TV
55762019-05-04 Tom de Vries <tdevries@suse.de>
5577
5578 * boards/cc-with-debug-names.exp: New file.
5579
222a8d25
TT
55802019-05-03 Tom Tromey <tromey@adacore.com>
5581
5582 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
5583 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
5584 * gdb.ada/char_enum.exp: Add test.
5585
0fdfd794
TV
55862019-05-03 Tom de Vries <tdevries@suse.de>
5587
5588 * boards/cc-with-gdb-index.exp: New file.
5589
80062eb9
AB
55902019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
5591
5592 * gdb.rust/simple.exp: Add new test case.
5593 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
5594 (main): Initialise an instance of the new struct.
5595
4504bbde
TT
55962019-05-01 Tom Tromey <tromey@adacore.com>
5597
5598 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
5599 record.
5600 (NPR): New variable.
5601 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
5602 test.
5603
d48e62f4
TT
56042019-05-01 Tom Tromey <tromey@adacore.com>
5605
5606 * gdb.ada/packed_array_assign.exp: Add packed assignment
5607 regression test.
5608
f59f30f5
TV
56092019-05-01 Tom de Vries <tdevries@suse.de>
5610
5611 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
5612
b70bfc54
TV
56132019-05-01 Tom de Vries <tdevries@suse.de>
5614
5615 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
5616
15f18d14
AT
56172019-04-30 Ali Tamur <tamur@google.com>
5618
5619 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
5620
2ff0a947
TT
56212019-04-30 Tom Tromey <tromey@adacore.com>
5622
5623 * lib/ada.exp (find_ada_tool): New proc.
5624 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
5625 * gdb.ada/catch_ex_std.exp: New file.
5626 * gdb.ada/catch_ex_std/foo.adb: New file.
5627 * gdb.ada/catch_ex_std/some_package.adb: New file.
5628 * gdb.ada/catch_ex_std/some_package.ads: New file.
5629
a776957c
TT
56302019-04-30 Tom Tromey <tromey@adacore.com>
5631
5632 PR c++/24470:
5633 * gdb.cp/temargs.cc: Add test code from PR.
5634
bc68014d
AB
56352019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5636
5637 * gdb.fortran/vla-datatypes.exp: Update expected results.
5638 * gdb.fortran/vla-ptype.exp: Likewise.
5639 * gdb.fortran/vla-type.exp: Likewise.
5640 * gdb.fortran/vla-value.exp: Likewise.
5641
f1fdc960
AB
56422019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5643
5644 * gdb.fortran/ptr-indentation.exp: Update expected results.
5645 * gdb.fortran/ptype-on-functions.exp: Likewise.
5646 * gdb.fortran/vla-ptr-info.exp: Likewise.
5647 * gdb.fortran/vla-value.exp: Likewise.
5648
bf7a4de1
AB
56492019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5650
5651 * gdb.fortran/ptype-on-functions.exp: New file.
5652 * gdb.fortran/ptype-on-functions.f90: New file.
5653
bbe75b9d
AB
56542019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5655
5656 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
5657 case void string.
5658
1db455a7
AB
56592019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5660
5661 * gdb.fortran/complex.exp: Expand.
5662 * gdb.fortran/complex.f: Renamed to...
5663 * gdb.fortran/complex.f90: ...this, and extended to add more
5664 complex values.
5665
b6d03bb2
AB
56662019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5667
5668 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
5669 MODULO, CMPLX.
5670
2e62ab40
AB
56712019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
5672 Richard Bunt <richard.bunt@arm.com>
5673
5674 * gdb.base/max-depth.c: New file.
5675 * gdb.base/max-depth.exp: New file.
5676 * gdb.python/py-nested-maps.c: New file.
5677 * gdb.python/py-nested-maps.exp: New file.
5678 * gdb.python/py-nested-maps.py: New file.
5679 * gdb.python/py-format-string.exp (test_max_depth): New proc.
5680 (test_all_common): Call test_max_depth.
5681 * gdb.fortran/max-depth.exp: New file.
5682 * gdb.fortran/max-depth.f90: New file.
5683 * gdb.go/max-depth.exp: New file.
5684 * gdb.go/max-depth.go: New file.
5685 * gdb.modula2/max-depth.exp: New file.
5686 * gdb.modula2/max-depth.c: New file.
5687 * lib/gdb.exp (get_print_expr_at_depths): New proc.
5688
d2b584a5
TV
56892019-04-29 Tom de Vries <tdevries@suse.de>
5690
5691 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
5692
136afab8
PW
56932019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5694
5695 * gdb.base/callexit.exp: Test may-call-functions off.
5696
725cbb63
KS
56972019-04-25 Keith Seitz <keiths@redhat.com>
5698
5699 PR c++/24367
5700 * gdb.cp/meth-typedefs.cc (incomplete_struct)
5701 (another_incomplete_struct, test_incomplete): New definitions.
5702 (main): Use new definitions.
5703 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
5704 functions.
5705
701adfb0
PA
57062019-04-25 Ali Tamur <tamur@google.com>
5707
5708 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
5709
82433e3e
SDJ
57102019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
5711
5712 PR corefiles/11608
5713 PR corefiles/18187
5714 * gdb.base/coredump-filter-build-id.exp: New file.
5715
dd06d4d6
AH
57162019-04-25 Alan Hayward <alan.hayward@arm.com>
5717
e79be6e5
SM
5718 * Makefile.in: Pass through GDBSERVER_DEBUG.
5719 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
5720 (gdbserver,debug): Add board setting.
5721 * gdb.trace/tspeed.exp: Skip when debugging.
5722 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
5723 * lib/gdbserver-support.exp: Likewise
dd06d4d6 5724
1670072e
TT
57252019-04-24 Tom Tromey <tromey@adacore.com>
5726
5727 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
5728 Rust.
5729
a59240a4
TT
57302019-04-24 Tom Tromey <tromey@adacore.com>
5731
5732 * gdb.arch/amd64-eval.exp: Test bitfield return.
5733 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
5734 (class Foo) <return_bitfields>: New method.
5735 (main): Call it.
5736
b907456c
AB
57372019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
5738
5739 * gdb.cp/many-args.cc: New file.
5740 * gdb.cp/many-args.exp: New file.
5741
5c565afd
TV
57422019-04-23 Tom de Vries <tdevries@suse.de>
5743
5744 PR gdb/24433
5745 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
5746
ba22ff86
AH
57472019-04-23 Alan Hayward <alan.hayward@arm.com>
5748
5749 * gdb.trace/backtrace.exp: Use nopie flag.
5750 * gdb.trace/circ.exp: Likewise.
5751 * gdb.trace/collection.exp: Likewise.
5752 * gdb.trace/ftrace.exp: Likewise.
5753 * gdb.trace/mi-trace-unavailable.exp: Likewise.
5754 * gdb.trace/mi-traceframe-changed.exp: Likewise.
5755 * gdb.trace/qtro.exp: Likewise.
5756 * gdb.trace/read-memory.exp: Likewise.
5757 * gdb.trace/report.exp: Likewise.
5758 * gdb.trace/tfile.exp: Likewise.
5759 * gdb.trace/tfind.exp: Likewise.
5760 * gdb.trace/unavailable.exp: Likewise.
5761
7905fc35
PA
57622019-04-22 Pedro Alves <palves@redhat.com>
5763
5764 * gdb.base/solib-probes-nosharedlibrary.c,
5765 gdb.base/solib-probes-nosharedlibrary.exp: New files.
5766
8ecb59f8
TT
57672019-04-19 Tom Tromey <tromey@adacore.com>
5768
5769 * gdb.ada/ptype_union.c: New file.
5770 * gdb.ada/ptype_union.exp: New file.
5771
62160ec9
TT
57722019-04-19 Tom Tromey <tromey@adacore.com>
5773
5774 PR symtab/24423:
5775 * gdb.base/list0.h (foo): Add a control-l character.
5776
36cd4ba5
TV
57772019-04-18 Tom de Vries <tdevries@suse.de>
5778
5779 PR gdb/24433
5780 * boards/local-board.exp: Set sysroot to "".
5781
b73715df
TV
57822019-04-18 Tom de Vries <tdevries@suse.de>
5783 Pedro Alves <palves@redhat.com>
5784
5785 PR gdb/24454
5786 * gdb.threads/vfork-follow-child-exec.c: New file.
5787 * gdb.threads/vfork-follow-child-exec.exp: New file.
5788 * gdb.threads/vfork-follow-child-exit.c: New file.
5789 * gdb.threads/vfork-follow-child-exit.exp: New file.
5790
4aa866af
LS
57912019-04-15 Leszek Swirski <leszeks@google.com>
5792
5793 * gdb.arch/amd64-eval.cc: New file.
5794 * gdb.arch/amd64-eval.exp: New file.
5795
e5a1a79a
AH
57962019-04-11 Alan Hayward <alan.hayward@arm.com>
5797
5798 * gdb.server/sysroot.c: New test.
5799 * gdb.server/sysroot.exp: New file.
5800 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
5801 matching param.
5802
41077b66
AB
58032019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
5804
5805 * gdb.base/align.exp: Extend test to cover structures containing
5806 only static fields.
5807
c30391f8
TV
58082019-04-11 Tom de Vries <tdevries@suse.de>
5809
5810 * boards/cc-with-dwz-m.exp: New file.
5811 * boards/cc-with-dwz.exp: New file.
5812 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
5813
e242fd12
SM
58142019-04-09 Simon Marchi <simon.marchi@efficios.com>
5815
5816 * gdb.base/start-cpp.exp: New file.
5817 * gdb.base/start-cpp.cc: New file.
5818
2b0c8b01
KB
58192019-04-08 Kevin Buettner <kevinb@redhat.com>
5820
5821 * gdb.python/py-thrhandle.exp: Adjust tests to call
5822 thread_from_handle instead of thread_from_thread_handle.
5823
947210e5
KB
58242019-04-08 Kevin Buettner <kevinb@redhat.com>
5825
5826 * gdb.python/py-thrhandle.exp: Add tests for
5827 gdb.InferiorThread.handle.
5828
d7df6549
AB
58292019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5830
5831 * gdb.python/py-function.exp: Check calling helper function from
5832 all languages.
5833 * lib/gdb.exp (gdb_supported_languages): New proc.
5834
8bdc1658
AB
58352019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5836
5837 * gdb.base/complex-parts.c: New file.
5838 * gdb.base/complex-parts.exp: New file.
5839
05caa1d2
TT
58402019-04-01 Tom Tromey <tromey@adacore.com>
5841
5842 PR symtab/23331:
5843 * gdb.dwarf2/dw2-ranges-main.c: New file.
5844 * gdb.dwarf2/dw2-ranges-psym.c: New file.
5845 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
5846
7734102d
EZ
58472019-03-30 Simon Marchi <simark@simark.ca>
5848
5849 * gdb.base/default.exp: Add values for $_gdb_major and
5850 $_gdb_minor.
5851
188e1fa9
TT
58522019-03-29 Tom Tromey <tromey@adacore.com>
5853
5854 * gdb.base/help.exp: Tighten apropos regexp.
5855
2880242d
KS
58562019-03-29 Keith Seitz <keiths@redhat.com>
5857
5858 * gdb.fortran/array-bounds.exp: New file.
5859 * gdb.fortran/array-bounds.f90: New file.
5860
077cad8e
PW
58612019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5862
5863 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
5864
80047cfc
PW
58652019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5866
5867 * gdb.multi/hello.c (main): Increase alarm timer.
5868
f489207e
SL
58692019-03-28 Sandra Loosemore <sandra@codesourcery.com>
5870
5871 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
5872 factor when no hardware watchpoint support.
5873
c92df149
AH
58742019-03-28 Alan Hayward <alan.hayward@arm.com>
5875 Pedro Alves <palves@redhat.com>
5876
5877 * boards/local-board.exp: set sysroot to /.
5878
933aebfa
AH
58792019-03-27 Alan Hayward <alan.hayward@arm.com>
5880
5881 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
5882 in child.
5883
9f9aa852
AB
58842019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5885
5886 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
5887 field.
5888 (make_container): Initialise new field.
5889 * gdb.python/py-prettyprint.exp: Add new tests.
5890 * gdb.python/py-prettyprint.py (class ContainerPrinter)
5891 <display_hint>: New method.
5892
3714a195
AB
58932019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5894
5895 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
5896 gdb_continue_to_breakpoint more throughout this test.
5897 (run_lang_tests) Supply unique test names, and use
5898 gdb_test_no_output.
5899
18c77628
AB
59002019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5901
5902 * gdb.base/finish-pretty.exp: Update expected results.
5903 * gdb.base/pretty-print.c: New file.
5904 * gdb.base/pretty-print.exp: New file.
5905
9a93502f
PA
59062019-03-25 Pedro Alves <palves@redhat.com>
5907
5908 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
5909 move comments outside list. Append '-i "" eof' section.
5910
968aa7ae
AH
59112019-03-22 Alan Hayward <alan.hayward@arm.com>
5912
34a7f2a4 5913 PR testsuite/25016
968aa7ae
AH
5914 * README: Add pie options.
5915 * gdb.base/break-interp.exp: Ensure pie is disabled.
5916 * gdb.base/dump.exp: Likewise.
5917 * lib/gdb.exp (gdb_compile): Add pie option.
5918
4c7d57e7
TT
59192019-03-19 Tom Tromey <tromey@adacore.com>
5920
5921 * gdb.mi/mi2-cli-display.c: New file.
5922 * gdb.mi/mi2-cli-display.exp: New file.
5923
bff8c71f
TT
59242019-03-18 Joel Brobecker <brobecker@adacore.com>
5925 Tom Tromey <tromey@adacore.com>
5926
5927 * gdb.ada/ptype_array/pck.adb: New file.
5928 * gdb.ada/ptype_array/pck.ads: New file.
5929 * gdb.ada/ptype_array/foo.adb: New file.
5930 * gdb.ada/ptype_array.exp: New file.
5931
d085f989
TT
59322019-03-14 Tom Tromey <tromey@adacore.com>
5933
5934 * gdb.base/style.exp: Add "set style sources" test.
5935
b4be1b06
SM
59362019-03-13 Simon Marchi <simon.marchi@ericsson.com>
5937
5938 * mi-breakpoint-location-ena-dis.exp: Rename to ...
5939 * mi-breakpoint-multiple-locations.exp: ... this.
5940 (make_breakpoints_pattern): New proc.
5941 (do_test): Add mi_version parameter, test -break-insert,
5942 -break-info and =breakpoint-created.
5943
7cde5fc2
AB
59442019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
5945
5946 * config/default.exp: Remove 'load_lib gdb.exp'.
5947 * config/monitor.exp: Likewise.
5948 * config/sid.exp: Likewise.
5949 * config/sim.exp: Likewise.
5950 * config/slite.exp: Likewise.
5951 * config/unix.exp: Likewise.
5952 * gdb.base/default.exp: Remove unhelpful comment.
5953
efbecbc1
AB
59542019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5955
5956 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
5957
0841c79a
AB
59582019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5959
5960 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
5961
4a270568
AB
59622019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5963
5964 * gdb.fortran/type-kinds.exp: Update expected results.
5965
067630bd
AB
59662019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5967
5968 * gdb.fortran/type-kinds.exp: Test new integer type kind.
5969
3be47f7a
AB
59702019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5971
5972 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
5973 function.
5974 (test_basic_parsing_of_type_kinds): Expand types tested.
5975 (test_parsing_invalid_type_kinds): New function.
5976
4d00f5d8
AB
59772019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5978
5979 * gdb.fortran/intrinsics.exp: New file.
5980 * gdb.fortran/intrinsics.f90: New file.
5981 * gdb.fortran/type-kinds.exp: New file.
5982
c8f91604
AB
59832019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5984
5985 * gdb.fortran/dot-ops.exp: New file.
5986
dd9f2c76
AB
59872019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5988
5989 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
5990 Check upper and lower case logical literals.
5991
84ec9724
AB
59922019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5993
5994 * gdb.fortran/types.exp (test_float_literal_types_accepted):
5995 Remove duplicate tests.
5996
c3734e09
AH
59972019-03-06 Alan Hayward <alan.hayward@arm.com>
5998
5999 * lib/gdb.exp (builtin_cd): rename of cd.
6000 (cd): Override builtin.
6001
aa3cfbda
RB
60022019-03-06 Richard Bunt <richard.bunt@arm.com>
6003
6004 * gdb.fortran/function-calls.exp: New file.
6005 * gdb.fortran/function-calls.f90: New test.
6006
7b63ad86
RB
60072019-03-04 Richard Bunt <richard.bunt@arm.com>
6008
6009 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
6010 on user program standard output.
6011 * gdb.fortran/short-circuit-argument-list.f90: Record function
6012 calls.
6013
01abb042
AH
60142019-02-28 Alan Hayward <alan.hayward@arm.com>
6015
c3734e09
AH
6016 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
6017 failure.
01abb042 6018
92137da0
RO
60192019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6020
6021 PR gdb/8527
6022 * gdb.base/interrupt-daemon-attach.c,
6023 gdb.base/interrupt-daemon-attach.exp: New test.
6024
5862844d
PA
60252019-02-27 Pedro Alves <palves@redhat.com>
6026
6027 * gdb.base/page.exp: Add tests for "set width/height -1".
6028
8ed25214
PA
60292019-02-27 Pedro Alves <palves@redhat.com>
6030
6031 * gdb.base/page.exp: Add tests for "set/show width/height" with
6032 "infinite" values.
6033
6c28e44a
TT
60342019-02-27 Tom Tromey <tromey@adacore.com>
6035
6036 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
6037 2.4.
6038 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
6039 workaround.
6040
bf9a735e
AB
60412019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
6042
6043 * gdb.base/align.exp: Extend to compile in both C and C++, and add
6044 tests for structs with static members.
6045
8791793c
TT
60462019-02-26 Tom Tromey <tromey@adacore.com>
6047
6048 * gdb.python/py-value.exp (test_value_from_buffer): Check for
6049 ValueError, not TypeError.
6050
bc2a507e
KB
60512019-02-26 Kevin Buettner <kevinb@redhat.com>
6052
6053 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
6054 call from main program.
6055
e0e7d3bd
JB
60562019-02-23 Joel Brobecker <brobecker@adacore.com>
6057
6058 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
6059 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
6060 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
6061 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
6062 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
6063
9600246d
KS
60642019-02-22 Keith Seitz <keiths@redhat.com>
6065
6066 PR symtab/23853
6067 * gdb.base/symlink-sourcefile.c: New file.
6068 * gdb.base/symlink-sourcefile.exp: New file.
6069
0c95f9ed
TT
60702019-02-20 Tom Tromey <tom@tromey.com>
6071
6072 * gdb.base/info_qt.exp: Update.
6073
6caa91b6
SM
60742019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
6075
6076 * gdb.base/source.exp: Move "error in sourced script" code to
6077 the end.
6078 * gdb.base/source-error.gdb: Move contents to
6079 source-error-1.gdb. Add new code to source source-error-1.gdb.
6080 * gdb.base/source-error-1.gdb: New file, from previous
6081 source-error.gdb.
6082
6506371f
TT
60832019-02-17 Tom Tromey <tom@tromey.com>
6084
6085 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
6086 for macro styling.
6087 * gdb.base/style.c (SOME_MACRO): New macro.
6088
a0087920
TT
60892019-02-17 Tom Tromey <tom@tromey.com>
6090
6091 * gdb.base/style.exp: Add line-wrapping tests.
6092 * gdb.base/page.exp: Add test for quitting during pagination.
6093
a2cd4f14
JB
60942019-02-17 Joel Brobecker <brobecker@adacore.com>
6095
6096 * gdb.ada/big_packed_array: New testcase.
6097 * gdb.ada/homonym.exp: Fix incorrect expected output for
6098 "break <homonym__get_value>" test.
6099
9d70ffbc
WP
61002019-02-13 Weimin Pan <weimin.pan@oracle.com>
6101
6102 PR breakpoints/21870
6103 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
6104 and prepare_for_testing. Add comment.
6105 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
6106 redundant cleanup call. Clean up comment.
6107
01c7ae81
WP
61082019-02-12 Weimin Pan <weimin.pan@oracle.com>
6109
6110 PR breakpoints/21870
6111 * gdb.arch/aarch64-dbreg-contents.exp: New file.
6112 * gdb.arch/aarch64-dbreg-contents.c: New file.
6113
aff29d1c
JB
61142019-02-10 Joel Brobecker <brobecker@adacore.com>
6115
6116 * gdb.ada/mi_ref_changeable: New testcase.
6117
df0da8a2
AH
61182019-02-07 Alan Hayward <alan.hayward@arm.com>
6119
6120 * gdb.base/attach.exp: Add double attach test.
6121
bd447abb
SM
61222019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
6123
6124 * lib/gdb.exp (default_gdb_start): Don't match pagination
6125 prompt.
6126 (gdb_init): Set stty_init.
6127
1dbc40b9
TT
61282019-01-27 Tom Tromey <tom@tromey.com>
6129
6130 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
6131 skip_python_tests.
6132
353229bf
AH
61332019-01-24 Alan Hayward <alan.hayward@arm.com>
6134
6135 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
6136 New structure.
6137 (struct struct_static_02_02): Likewise.
6138 (struct struct_static_02_03): Likewise.
6139 (struct struct_static_02_04): Likewise.
6140 (struct struct_static_04_01): Likewise.
6141 (struct struct_static_04_02): Likewise.
6142 (struct struct_static_04_03): Likewise.
6143 (struct struct_static_04_04): Likewise.
6144 (struct struct_static_06_01): Likewise.
6145 (struct struct_static_06_02): Likewise.
6146 (struct struct_static_06_03): Likewise.
6147 (struct struct_static_06_04): Likewise.
6148 (cmp_struct_static_02_01): Likewise.
6149 (cmp_struct_static_02_02): Likewise.
6150 (cmp_struct_static_02_03): Likewise.
6151 (cmp_struct_static_02_04): Likewise.
6152 (cmp_struct_static_04_01): Likewise.
6153 (cmp_struct_static_04_02): Likewise.
6154 (cmp_struct_static_04_03): Likewise.
6155 (cmp_struct_static_04_04): Likewise.
6156 (cmp_struct_static_06_01): Likewise.
6157 (cmp_struct_static_06_02): Likewise.
6158 (cmp_struct_static_06_03): Likewise.
6159 (cmp_struct_static_06_04): Likewise.
6160 (call_all): Test new structs.
6161 * gdb.base/infcall-nested-structs.exp: Likewise.
6162
73021deb
AH
61632019-01-21 Alan Hayward <alan.hayward@arm.com>
6164 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
6165
fc65c7db
AH
61662019-01-21 Alan Hayward <alan.hayward@arm.com>
6167 * gdb.base/stack-protector.c: New test.
6168 * gdb.base/stack-protector.exp: New file.
6169 * gdb.cp/ovldbreak.exp: Only allow a single break line.
6170 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
6171 option.
6172 (gdb_compile): Remove stack protector for GCC and prevent
6173 recursion.
6174
c24bdb02
KS
61752019-01-16 Keith Seitz <keiths@redhat.com>
6176
6177 PR gdb/23773
6178 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
6179
6f072a10
PFC
61802019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6181
6182 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
6183 aliases.
6184 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
6185 tests.
6186 * gdb.arch/powerpc-vector-regs.c: New file.
6187 * gdb.arch/powerpc-vector-regs.exp: New file.
6188
a7b8d682
PFC
61892019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6190
6191 * gdb.arch/altivec-regs.exp: Fix the list passed to
6192 gdb_expect_list when testing "info vector".
6193
6eb6fb67
AB
61942019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6195
6196 * gdb.base/style.exp: Don't include path in testname.
6197
b56f80d8
KS
61982019-01-10 Keith Seitz <keiths@redhat.com>
6199
6200 PR gdb/23712
6201 PR symtab/23010
6202 * gdb.dwarf2/multidictionary.exp: New file.
6203
041be526
SM
62042019-01-09 Simon Marchi <simon.marchi@ericsson.com>
6205
6206 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
6207 (test_gnuv3_style_demangling): ... this.
6208 (test_lucid_style_demangling): Remove.
6209 (test_arm_style_demangling): Remove.
6210 (test_hp_style_demangling): Remove.
6211 (do_tests): Remove calls to the above.
6212
d820d0c3
AB
62132019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6214
6215 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
6216 case.
6217
f097f5ad
TT
62182019-01-06 Tom Tromey <tom@tromey.com>
6219
6220 PR gdb/28155:
6221 * gdb.dwarf2/typedef-void-finish.exp: New file.
6222
2cd8cc0b
TT
62232018-12-28 Tom Tromey <tom@tromey.com>
6224 Simon Marchi <simark@simark.ca>
6225
6226 * gdb.base/jit-exec.exp: New file.
6227 * gdb.base/jit-exec.c: New file.
6228 * gdb.base/jit-execd.c: New file.
6229
35fb8261
TT
62302018-12-28 Tom Tromey <tom@tromey.com>
6231
6232 * gdb.base/style.exp: Update test to check for address styling.
6233
47fd17cd
TT
62342018-12-28 Tom Tromey <tom@tromey.com>
6235
6236 * gdb.base/style.exp: Add test for styling of "Reading symbols"
6237 message.
6238
d47032b7
TT
62392018-12-28 Tom Tromey <tom@tromey.com>
6240
6241 * gdb.base/style.exp: Add test for version number styling.
6242
af79b68d
TT
62432018-12-28 Tom Tromey <tom@tromey.com>
6244
6245 * gdb.base/style.exp: Add test for print_address_symbolic.
6246
0bb296cb
TT
62472018-12-28 Tom Tromey <tom@tromey.com>
6248
6249 * gdb.base/style.exp: Add test for breakpoint setting.
6250
80ae2043
TT
62512018-12-28 Tom Tromey <tom@tromey.com>
6252
6253 * gdb.base/style.exp: Add test for variable names.
6254
cbe56571
TT
62552018-12-28 Tom Tromey <tom@tromey.com>
6256
6257 * gdb.base/style.exp: New file.
6258 * gdb.base/style.c: New file.
6259
9162a27c
TT
62602018-12-28 Tom Tromey <tom@tromey.com>
6261
6262 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
6263 "dumb".
6264 * gdb.base/readline.exp (operate_and_get_next): Save and restore
6265 the TERM environment variable.
6266
bc543c90
TT
62672018-12-27 Tom Tromey <tom@tromey.com>
6268
6269 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
6270 pagination test.
6271
6f0ffe50
AB
62722018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
6273
6274 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
6275 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
6276
b5a1e557
PW
62772018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6278
6279 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
6280 Filename a.adb changed to bp_fun_addr.adb.
6281 gdb.ada/bp_fun_addr.exp: Update test accordingly.
6282
6e8b1ab2
JV
62832018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
6284
6285 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
6286 non-PIE executables.
6287 * README: Mention the gdb,nopie_flag board setting.
6288 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
6289 non-PIE executable.
6290 * gdb.arch/amd64-entry-value.exp: Likewise.
6291 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
6292 * gdb.arch/i386-float.exp: Likewise.
6293 * gdb.arch/i386-signal.exp: Likewise.
6294 * gdb.mi/mi-reg-undefined.exp: Likewise.
6295
d00a27c5
PM
62962018-12-21 Paul Marechal <paul.marechal@ericsson.com>
6297
6298 PR gdb/23974
6299 * gdb.base/info-os.exp: Check return for unknown "info os" type.
6300
161d081c
PW
63012018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6302
6303 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
6304 Update order of results accordingly.
6305
b001de23
AB
63062018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
6307
6308 * gdb.base/annota1.exp: Update a test regexp.
6309
99e1a184
AB
63102018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6311
6312 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
6313
7a81c1e2
PW
63142018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6315
6316 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
6317 (reuse_time): Initialize to REUSE_TIME_CAP.
6318 (check_rc): New function.
6319 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
6320 Check pthread_create rc.
6321 (spawner_thread_func): Check pthread_create and pthread_join rc.
6322
73e8dc90
PA
63232018-12-08 Pedro Alves <palves@redhat.com>
6324
6325 * gdb.base/list.exp (test_forward_search): Rename to ...
6326 (test_forward_reverse_search): ... this. Also test reverse-search
6327 and the forward-search alias.
6328
13f2ed32
AB
63292018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
6330
6331 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
6332 local timeout variable before return, and remove all local timeout
6333 variable entirely.
6334 (gdb_load): Likewise.
6335
64d27cfc
TV
63362018-12-01 Tom de Vries <tdevries@suse.de>
6337
6338 * gdb.base/gdb-caching-proc.exp: New file.
6339
f63c03b4
SDJ
63402018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
6341
6342 * Makefile.in (TIMESTAMP): New variable.
6343 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
6344 command.
6345 (check-single-racy): Likewise.
6346 (check/%.exp): Likewise.
6347 (check-racy/%.exp): Likewise.
6348 (workers/%.worker): Likewise.
6349 (build-perf): Likewise.
6350 (check-perf): Likewise.
6351 * README: Describe new "TS" and "TS_FORMAT" variables.
6352 * print-ts.py: New file.
6353
1c97054b
BF
63542018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
6355
6356 PR python/23714
6357 * gdb.python/python.exp: Test command repetition after
6358 gdb.execute.
6359
1871a62d
AB
63602018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
6361
6362 * gdb.opt/inline-break.exp: Add test that info breakpoint output
6363 is correctly aligned.
6364
fb5e1ed9
PW
63652018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6366
6367 * gdb.ada/info_auto_lang.exp: New testcase.
6368 * gdb.ada/info_auto_lang/global_pack.ads: New file.
6369 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
6370 * gdb.ada/info_auto_lang/some_c.c: New file.
6371
43d397ca
PW
63722018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6373
6374 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
6375 FUNC_lang language syntax.
6376
beddd671
PW
63772018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6378
6379 * gdb.base/info_minsym.c: New file.
6380 * gdb.base/info_minsym.exp: New file.
6381
73fc52c4
TT
63822018-11-19 Tom Tromey <tom@tromey.com>
6383
6384 PR rust/23625:
6385 * gdb.rust/simple.exp: Add ptype test. Update expected output.
6386 * gdb.rust/expr.exp: Update expected output. Change one test.
6387
994b876a
TT
63882018-11-19 Tom Tromey <tom@tromey.com>
6389
6390 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
6391
6769f276
PA
63922018-11-19 Pedro Alves <palves@redhat.com>
6393
6394 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
6395 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
6396 see the expected warning.
6397
38a72da0
AH
63982018-11-16 Alan Hayward <alan.hayward@arm.com>
6399
6400 PR gdb/22736:
6401 * gdb.cp/infcall-nodebug-lib.c: New test.
6402 * gdb.cp/infcall-nodebug-main.c: New test.
6403 * gdb.cp/infcall-nodebug.exp: New file.
6404
53a89d6e
SM
64052018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
6406
6407 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
6408 completer tests.
6409
9325300d
TV
64102018-11-09 Tom de Vries <tdevries@suse.de>
6411
6412 * gdb.base/msym-lang.c: New test.
6413 * gdb.base/msym-lang.exp: New file.
6414 * gdb.base/msym-lang-main.c: New test.
6415
20f0d60d
TT
64162018-11-08 Tom Tromey <tom@tromey.com>
6417
6418 PR gdb/23555:
6419 PR gdb/23838:
6420 * gdb.base/warning.exp: New file.
6421
b5420128
JB
64222018-11-08 Jan Beulich <jbeulich@suse.com>
6423
6424 * testsuite/gdb.arch/i386-avx512.c,
6425 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
6426
cd115d61
AB
64272018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
6428
6429 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
6430 point hardware.
6431
35ee2dc2
AB
64322018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
6433
6434 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
6435 * gdb.dwarf2/missing-type-name.exp: New file.
6436
31aceee8
TV
64372018-11-06 Tom de Vries <tdevries@suse.de>
6438
6439 * gdb.base/many-headers.c: New test.
6440 * gdb.base/many-headers.exp: New file.
6441
109be305
JW
64422018-11-06 Jim Wilson <jimw@sifive.com>
6443
6444 * gdb.base/code_elim.exp: For riscv, set additional_flags
6445 to include -msmall-data-limit=0.
6446
e2b7af72
JB
64472018-11-01 Joel Brobecker <brobecker@adacore.com>
6448
6449 * gdb.ada/watch_minus_l: New testcase.
6450
cdcda965
SM
64512018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
6452
6453 * gdb.arch/aix-sighandle.c: New file.
6454 * gdb.arch/aix-sighandle.exp: New file.
6455
92dcebf3
AB
64562018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6457
6458 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
6459 registers being unions.
6460
68b9ac18
TV
64612018-10-31 Tom de Vries <tdevries@suse.de>
6462
6463 * lib/valgrind.exp: New file.
6464 (vgdb_start, vgdb_stop): New procs, factored out of ...
6465 * gdb.base/valgrind-bt.exp: ... here, ...
6466 * gdb.base/valgrind-disp-step.exp: ... here and ...
6467 * gdb.base/valgrind-infcall.exp: ... here.
6468
1443936e
TV
64692018-10-31 Tom de Vries <tdevries@suse.de>
6470
6471 * lib/gdb.exp (get_valueof): Don't output read value in test name.
6472
eb77c9df
AB
64732018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6474
6475 * gdb.dwarf2/void-type.c: New file.
6476 * gdb.dwarf2/void-type.exp: New file.
6477
82b5e646
PW
64782018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6479
6480 * gdb.base/info_qt.c: New file.
6481 * gdb.base/info_qt.exp: New file.
6482
8d619c01
EBM
64832018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6484
6485 * gdb.arch/powerpc-htm-regs.c: New file.
6486 * gdb.arch/powerpc-htm-regs.exp: New file.
6487
f2cf6173
EBM
64882018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6489
6490 * gdb.arch/powerpc-tar.c: New file.
6491 * gdb.arch/powerpc-tar.exp: New file.
6492
7ca18ed6
EBM
64932018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6494
6495 * gdb.arch/powerpc-ppr-dscr.c: New file.
6496 * gdb.arch/powerpc-ppr-dscr.exp: New file.
6497
bfcc0eba
TV
64982018-10-25 Tom de Vries <tdevries@suse.de>
6499
6500 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
6501
fe1a5cad
TV
65022018-10-24 Tom de Vries <tdevries@suse.de>
6503
6504 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
6505 longer exists error.
6506
a76dc3b7
TV
65072018-10-24 Tom de Vries <tdevries@suse.de>
6508
6509 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
6510
4df46df7
TV
65112018-10-24 Tom de Vries <tdevries@suse.de>
6512
6513 * gdb.base/valgrind-db-attach.exp: Handle removed support for
6514 --db-attach in valgrind.
6515
0dbfcfff
AB
65162018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
6517
6518 * gdb.arch/riscv-reg-aliases.c: New file.
6519 * gdb.arch/riscv-reg-aliases.exp: New file.
6520
b04480b1
AH
65212018-10-19 Alan Hayward <alan.hayward@arm.com>
6522
6523 * gdb.python/py-cmd.exp: Check for gdb_prompt.
6524
2c6ac8d7
AH
65252018-10-19 Alan Hayward <alan.hayward@arm.com>
6526
6527 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
6528
2bc69f25
AH
65292018-10-19 Alan Hayward <alan.hayward@arm.com>
6530
6531 * gdb.cp/ovldbreak.exp: Fix regexps.
6532
1f1ae3a3
AH
65332018-10-19 Alan Hayward <alan.hayward@arm.com>
6534
6535 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
6536
94c18618
SDJ
65372018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
6538
6539 PR cli/23785
6540 * gdb.base/restore.exp: New test to check if "restore" with an
6541 invalid file doesn't segfault.
6542
812cd6eb
TV
65432018-10-18 Tom de Vries <tdevries@suse.de>
6544
6545 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
6546 * gdb.ada/excep_handle.exp: Same.
6547 * gdb.ada/mi_string_access.exp: Same.
6548 * gdb.ada/mi_var_union.exp: Same.
6549 * gdb.arch/arc-analyze-prologue.exp: Same.
6550 * gdb.arch/arc-decode-insn.exp: Same.
6551 * gdb.base/readnever.exp: Same.
6552 * gdb.fortran/printing-types.exp: Same.
6553 * gdb.guile/scm-lazy-string.exp: Same.
6554
c4b90788
TV
65552018-10-16 Tom de Vries <tdevries@suse.de>
6556
6557 PR gdb/23730
6558 * gdb.base/catch-follow-exec.c: Add copyright notice.
6559 * gdb.base/catch-follow-exec.exp: Rewrite to use
6560 gdb_spawn_with_cmdline_opts. Require gdb-native.
6561
8bca2978
SL
65622018-10-12 Sandra Loosemore <sandra@codesourcery.com>
6563
6564 * gdb.trace/actions-changed.exp: Check for arch support.
6565 * gdb.trace/actions.exp: Likewise.
6566 * gdb.trace/ax.exp: Likewise.
6567 * gdb.trace/backtrace.exp: Likewise.
6568 * gdb.trace/change-loc.exp: Likewise.
6569 * gdb.trace/deltrace.exp: Likewise.
6570 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
6571 * gdb.trace/ftrace.exp: Likewise.
6572 * gdb.trace/infotrace.exp: Check for arch support.
6573 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
6574 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
6575 * gdb.trace/mi-tsv-changed.exp: Likewise.
6576 * gdb.trace/packetlen.exp: Likewise.
6577 * gdb.trace/passc-dyn.exp: Likewise.
6578 * gdb.trace/passcount.exp: Likewise.
6579 * gdb.trace/pending.exp: Likewise.
6580 * gdb.trace/range-stepping.exp: Check for shlib support.
6581 * gdb.trace/report.exp: Check for arch support.
6582 * gdb.trace/save-trace.exp: Likewise.
6583 * gdb.trace/signal.exp: Check for signal support.
6584 * gdb.trace/tfind.exp: Check for arch support.
6585 * gdb.trace/trace-break.exp: Check for arch and shlib support.
6586 * gdb.trace/trace-common.h: Add comment.
6587 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
6588 * gdb.trace/trace-enable-disable.exp: Likewise.
6589 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
6590 * gdb.trace/tracecmd.exp: Check for arch support.
6591 * gdb.trace/tspeed.exp: Check for shlib and target support.
6592 * gdb.trace/tstatus.exp: Check for arch support.
6593 * gdb.trace/tsv.exp: Likewise.
6594 * gdb.trace/while-dyn.exp: Likewise.
6595 * gdb.trace/while-stepping.exp: Likewise.
6596 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
6597
f9c49bff
SM
65982018-10-12 Simon Marchi <simon.marchi@ericsson.com>
6599
6600 * gdb.trace/tspeed.exp: Remove nowarnings.
6601 (prepare_for_trace_test): Declare "global ipalib".
6602 * gdb.trace/tspeed.c: Include unistd.h.
6603 (main): Remove superfluous printf argument.
6604
d4330bde
SL
66052018-10-11 Sandra Loosemore <sandra@codesourcery.com>
6606
6607 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
6608 directory prefix on the filename.
6609
8ecfd7bd
SDJ
66102018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
6611
6612 * gdb.gdb/unittest.exp: Update expected message informing that
6613 selftests have been disabled.
6614 * gdb.server/unittest.exp: Likewise.
6615
58bbcd02
TV
66162018-10-09 Tom de Vries <tdevries@suse.de>
6617
6618 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
6619 with runto_main.
6620
9f6b697b
WP
66212018-10-08 Weimin Pan <weimin.pan@oracle.com>
6622
6623 PR c++/16841
6624 * gdb.cp/virtbase2.cc: New file.
6625 * gdb.cp/virtbase2.exp: New file.
6626
add5ded5
TT
66272018-10-06 Tom Tromey <tom@tromey.com>
6628
6629 PR python/19399:
6630 * gdb.python/py-inferior.exp: Add architecture test.
6631
f9e48344
TT
66322018-10-06 Tom Tromey <tom@tromey.com>
6633
6634 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
6635 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
6636
2a8be203
TT
66372018-10-06 Tom Tromey <tom@tromey.com>
6638
6639 * gdb.python/py-breakpoint.exp (check_last_event): Check location
6640 of a "throw" catchpoint.
6641
e04caa70
SDJ
66422018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
6643
6644 * gdb.base/info-proc.exp: Update string expected from "help info
6645 proc".
6646
5ca8c39f
TT
66472018-10-04 Tom Tromey <tom@tromey.com>
6648
6649 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
6650 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
6651 (test_initial_complaints, test_empty_complaints): Update.
6652 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6653
3453e7e4
TT
66542018-10-04 Tom Tromey <tom@tromey.com>
6655
6656 PR cli/19551:
6657 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
6658 * lib/gdb.exp (gdb_file_cmd): Update.
6659 * gdb.stabs/weird.exp (print_weird_var): Update.
6660 * gdb.server/solib-list.exp: Update.
6661 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
6662 * gdb.mi/mi-cli.exp: Update.
6663 * gdb.linespec/linespec.exp: Update.
6664 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6665 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
6666 * gdb.cp/cp-relocate.exp: Update.
6667 * gdb.base/sym-file.exp: Update.
6668 * gdb.base/relocate.exp: Update.
6669 * gdb.base/readnever.exp: Update.
6670 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6671 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
6672 * gdb.base/dbx.exp (gdb_file_cmd): Update.
6673 * gdb.base/code_elim.exp: Update.
6674 * gdb.base/break-unload-file.exp (test_break): Update.
6675 * gdb.base/break-interp.exp (test_attach_gdb): Update.
6676 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
6677 Update.
6678 * gdb.base/attach.exp (do_attach_tests): Update.
6679 * gdb.base/sepdebug.exp: Update.
6680 * gdb.python/py-section-script.exp: Update.
6681
6afcf761
TT
66822018-10-04 Tom Tromey <tom@tromey.com>
6683
6684 PR cli/22234:
6685 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
6686 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
6687 output.
6688
fef1b293
TT
66892018-10-04 Tom Tromey <tom@tromey.com>
6690
6691 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
6692 set width and height to 0.
6693 (test_command_line_attach_run): Use -quiet.
6694
ca98345e
SL
66952018-10-03 Sandra Loosemore <sandra@codesourcery.com>
6696
6697 * lib/gdb.exp (skip_ifunc_tests): New.
6698 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
6699 other compile failures.
6700 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
6701
ff34e6ae
SM
67022018-10-01 Simon Marchi <simon.marchi@ericsson.com>
6703
6704 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
6705 is_amd64_regs_target.
6706
6bb8890e
AH
67072018-10-01 Alan Hayward <alan.hayward@arm.com>
6708
6709 * gdb.arch/aarch64-sighandler-regs.c: New test.
6710 * gdb.arch/aarch64-sighandler-regs.exp: New file.
6711 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
6712
224d30d3
MM
67132018-10-01 Markus Metzger <markus.t.metzger@intel.com>
6714
6715 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
6716 assembly.
6717
f67ffa6a
AB
67182018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
6719
6720 * gdb.base/frame-selection.exp: New file.
6721 * gdb.base/frame-selection.c: New file.
6722
9fc3183f
AH
67232018-09-27 Alan Hayward <alan.hayward@arm.com>
6724
6725 * gdb.threads/check-libthread-db.c (thread_routine): Use a
6726 pthread barrier.
6727 (main): Likewise.
6728
d354055e
AB
67292018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
6730
6731 * gdb.base/large-frame-1.c: New file.
6732 * gdb.base/large-frame-2.c: New file.
6733 * gdb.base/large-frame.exp: New file.
6734 * gdb.base/large-frame.h: New file.
6735
db727370
JL
67362018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
6737
6738 PR gdb/20948
6739 * gdb.base/write_mem.exp: New test.
6740 * gdb.base/write_mem.c: Likewise.
6741
ae778caf
TT
67422018-09-23 Tom Tromey <tom@tromey.com>
6743
6744 PR python/18852:
6745 * gdb.python/py-parameter.exp: Add test for parameter that throws
6746 on "set".
6747
fd3ba736
TT
67482018-09-23 Tom Tromey <tom@tromey.com>
6749
6750 PR python/17284:
6751 * gdb.python/py-template.exp (test_template_arg): Add test for
6752 negative template argument number.
6753
39a24317
TT
67542018-09-23 Tom Tromey <tom@tromey.com>
6755
6756 PR python/14062:
6757 * gdb.python/python.exp: Add test for post_event error.
6758
f5769a2c
TT
67592018-09-23 Tom Tromey <tom@tromey.com>
6760
6761 PR python/18170:
6762 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
6763 convert pointers to int and long.
6764
1c1e54f6
TT
67652018-09-23 Tom Tromey <tom@tromey.com>
6766
6767 PR python/20126:
6768 * gdb.python/py-value.exp (test_value_numeric_ops): Add
6769 signed-ness conversion tests.
6770
fb4fa946
TT
67712018-09-23 Tom Tromey <tom@tromey.com>
6772
6773 PR python/18352;
6774 * gdb.python/py-value.exp (test_float_conversion): New proc.
6775 Use it.
6776
a466edac
HAQ
67772018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
6778
6779 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
6780
4ee9b0c5
SL
67812018-09-18 Sandra Loosemore <sandra@codesourcery.com>
6782
6783 * gdb.base/complete-empty.exp: Skip tab-completion tests if
6784 no readline.
6785 * gdb.base/utf8-identifiers.exp: Likewise.
6786 * gdb.cp/cpcompletion.exp: Likewise.
6787 * gdb.linespec/cpcompletion.exp: Likewise.
6788 * gdb.linespec/cpls-abi-tag.exp: Likewise.
6789 * gdb.linespec/cpls-ops.exp: Likewise.
6790
23be8da7
RB
67912018-09-19 Richard Bunt <richard.bunt@arm.com>
6792 Chris January <chris.january@arm.com>
6793
6794 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
6795 * gdb.fortran/short-circuit-argument-list.exp: New file.
6796 * gdb.fortran/short-circuit-argument-list.f90: New test.
6797
5031d0ae
SDJ
67982018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6799
6800 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
6801 "arch=" keyword when executing "-stack-list-frames".
6802
b4c0d1a4
SDJ
68032018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6804
6805 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
6806 "arch=" keyword when executing "-stack-list-frames".
6807
7a6d2b45
SDJ
68082018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6809
6810 * gdb.ada/complete.exp: Expect for "@" when doing "complete
6811 break ada".
6812
8588b356
SM
68132018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
6814
6815 PR python/23669
6816 * gdb.python/python.exp: Test gdb.execute("show commands").
6817
65e65158
TT
68182018-09-16 Tom Tromey <tom@tromey.com>
6819
6820 * gdb.base/new-ui.exp (do_execution_tests): Update.
6821 * gdb.base/dbx.exp (test_breakpoints): Update.
6822
bf326452
AH
68232018-09-14 Alan Hayward <alan.hayward@arm.com>
6824
6825 * lib/gdb.exp (gdb_simple_compile): Add proc.
6826 (is_elf_target): Use gdb_simple_compile.
6827 (skip_altivec_tests): Likewise.
6828 (skip_vsx_tests): Likewise.
6829 (skip_tsx_tests): Likewise.
6830 (skip_btrace_tests): Likewise.
6831 (skip_btrace_pt_tests): Likewise.
6832 (gdb_can_simple_compile): Likewise.
6833 (gdb_has_argv0): Likewise.
6834 (gdb_target_symbol_prefix): Likewise.
6835 (target_supports_scheduler_locking): Likewise.
6836
2361b0fb
TT
68372018-09-13 Tom Tromey <tom@tromey.com>
6838
6839 * Makefile.in (TAGS): Recognize proc_with_prefix and
6840 gdb_caching_proc.
6841
0ae1a321
SM
68422018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6843
6844 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
6845 method.
6846
a40bf0c2
SM
68472018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6848
6849 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
6850 and a few other Inferior properties when the Inferior is no
6851 longer valid.
6852
4a3fe98f
TT
68532018-09-13 Tom Tromey <tom@tromey.com>
6854
6855 PR rust/23650:
6856 * gdb.rust/simple.exp: Add test for enum field access error.
6857
098b2108
TT
68582018-09-13 Tom Tromey <tom@tromey.com>
6859
6860 PR rust/23626:
6861 * gdb.rust/simple.rs (EmptyEnum): New type.
6862 (main): Use it.
6863 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
6864
1256af7d
SM
68652018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6866
6867 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
6868 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
6869 * gdb.python/py-symtab.exp: Update test printing an objfile.
6870
4aa8e6c2
SM
68712018-09-12 Simon Marchi <simon.marchi@ericsson.com>
6872
6873 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
6874 object.
6875
c221b2f7
AH
68762018-09-12 Alan Hayward <alan.hayward@arm.com>
6877
6878 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
6879 (support_complex_tests): Use gdb_can_simple_compile.
6880 (is_ilp32_target): Likewise.
6881 (is_lp64_target): Likewise.
6882 (is_64_target): Likewise.
6883 (is_amd64_regs_target): Likewise.
6884 (is_aarch32_target): Likewise.
6885 (gdb_int128_helper): Likewise.
6886
6f1107b5
JK
68872018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6888
6889 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
6890
1f5d1570
JG
68912018-09-10 Jerome Guitton <guitton@adacore.com>
6892
6893 * gdb.ada/same_component_name: Add test for case of tagged record
6894 with variable-length fields.
6895
cc330e39
XR
68962018-09-10 Xavier Roirand <roirand@adacore.com>
6897
6898 * gdb.ada/access_to_unbounded_array.exp: New testcase.
6899 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
6900 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
6901 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
6902
b9c50e9a
XR
69032018-09-10 Xavier Roirand <roirand@adacore.com>
6904
6905 * gdb.ada/mi_string_access.exp: New testcase.
6906 * gdb.ada/mi_string_access/bar.adb: New file.
6907 * gdb.ada/mi_string_access/pck.adb: New file.
6908 * gdb.ada/mi_string_access/pck.asd: New file.
6909
2963898f
XR
69102018-09-10 Xavier Roirand <roirand@adacore.com>
6911
6912 * gdb.ada/mi_var_union.exp: New testcase.
6913 * gdb.ada/mi_var_union/bar.adb: New file.
6914 * gdb.ada/mi_var_union/pck.adb: New file.
6915 * gdb.ada/mi_var_union/pck.asd: New file.
6916
1aac008f
TT
69172018-09-08 Tom Tromey <tom@tromey.com>
6918
6919 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
6920
332cf4c9
TT
69212018-09-08 Tom Tromey <tom@tromey.com>
6922
6923 PR python/16047:
6924 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
6925 (register_pretty_printers): Register new printer.
6926 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
6927 test.
6928 * gdb.python/py-prettyprint.c (int_type3): New typedef.
6929 (an_int_type3): New global.
6930
424da6cf
JB
69312018-09-08 Joel Brobecker <brobecker@adacore.com>
6932
6933 * gdb.ada/expr_with_funcall: New testcase.
6934
2a62dfa9
JB
69352018-09-08 Joel Brobecker <brobecker@adacore.com>
6936
6937 * gdb.ada/packed_array_assign: New testcase.
6938
96b6697f
AB
69392018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
6940
6941 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
6942 names, and add test prefixes to make test names unique.
6943
e4a62c65
TV
69442018-09-05 Tom de Vries <tdevries@suse.de>
6945
6946 * gdb.dwarf2/varval.exp: Add test.
6947
dd083ee2
GB
69482018-09-04 Gary Benson <gbenson@redhat.com>
6949
6950 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
6951 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
6952
aef9346c
TT
69532018-08-31 Tom Tromey <tom@tromey.com>
6954
6955 * gdb.rust/simple.rs: Rename second variable "v".
6956
c67f2e15
AB
69572018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
6958
6959 * gdb.base/funcargs.c (use_a): New function.
6960 (recurse): Call use_a.
6961
078a0207
KS
69622018-08-29 Keith Seitz <keiths@redhat.com>
6963
6964 * gdb.compile/compile-cplus-anonymous.cc: New file.
6965 * gdb.compile/compile-cplus-anonymous.exp: New file.
6966 * gdb.compile/compile-cplus-array-decay.cc: New file.
6967 * gdb.compile/compile-cplus-array-decay.exp: New file.
6968 * gdb.compile/compile-cplus-inherit.cc: New file.
6969 * gdb.compile/compile-cplus-inherit.exp: New file.
6970 * gdb.compile/compile-cplus-member.cc: New file.
6971 * gdb.compile/compile-cplus-member.exp: New file.
6972 * gdb.compile/compile-cplus-method.cc: New file.
6973 * gdb.compile/compile-cplus-method.exp: New file.
6974 * gdb.compile/compile-cplus-mod.c: "New" file.
6975 * gdb.compile/compile-cplus-namespace.cc: New file.
6976 * gdb.compile/compile-cplus-namespace.exp: New file.
6977 * gdb.compile/compile-cplus-nested.cc: New file.
6978 * gdb.compile/compile-cplus-nested.exp: New file.
6979 * gdb.compile/compile-cplus-print.c: "New" file.
6980 * gdb.compile/compile-cplus-print.exp: "New" file.
6981 * gdb.compile/compile-cplus-virtual.cc: New file.
6982 * gdb.compile/compile-cplus-virtual.exp: New file.
6983 * gdb.compile/compile-cplus.c: "New" file.
6984 * gdb.compile/compile-cplus.exp: "New" file.
6985 * lib/compile-support.exp: New file.
6986
b0f492b9
GB
69872018-08-16 Gary Benson <gbenson@redhat.com>
6988
6989 PR gdb/13000:
6990 * gdb.base/batch-exit-status.exp: New file.
6991 * gdb.base/batch-exit-status.good-commands: Likewise.
6992 * gdb.base/batch-exit-status.bad-commands: Likewise.
6993
36eb4c5f
AH
69942018-08-29 Alan Hayward <alan.hayward@arm.com>
6995
6996 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
6997 (struct struct02): Likewise.
6998 (struct struct03): Likewise.
6999 (struct struct04): Likewise.
7000 (struct struct_01_01): New struct.
7001 (struct struct_01_02): Likewise.
7002 (struct struct_01_03): Likewise.
7003 (struct struct_01_04): Likewise.
7004 (struct struct_02_01): Likewise.
7005 (struct struct_02_02): Likewise.
7006 (struct struct_02_03): Likewise.
7007 (struct struct_02_04): Likewise.
7008 (struct struct_04_01): Likewise.
7009 (struct struct_04_02): Likewise.
7010 (struct struct_04_03): Likewise.
7011 (struct struct_04_04): Likewise.
7012 (struct struct_05_01): Likewise.
7013 (struct struct_05_02): Likewise.
7014 (struct struct_05_03): Likewise.
7015 (struct struct_05_04): Likewise.
7016 (cmp_struct01): Remove function.
7017 (cmp_struct02): Likewise.
7018 (cmp_struct03): Likewise.
7019 (cmp_struct04): Likewise.
7020 (cmp_struct_01_01): Add Function.
7021 (cmp_struct_01_02): Likewise.
7022 (cmp_struct_01_03): Likewise.
7023 (cmp_struct_01_04): Likewise.
7024 (cmp_struct_02_01): Likewise.
7025 (cmp_struct_02_02): Likewise.
7026 (cmp_struct_02_03): Likewise.
7027 (cmp_struct_02_04): Likewise.
7028 (cmp_struct_04_01): Likewise.
7029 (cmp_struct_04_02): Likewise.
7030 (cmp_struct_04_03): Likewise.
7031 (cmp_struct_04_04): Likewise.
7032 (cmp_struct_05_01): Likewise.
7033 (cmp_struct_05_02): Likewise.
7034 (cmp_struct_05_03): Likewise.
7035 (cmp_struct_05_04): Likewise.
7036 (call_all): Add new structs.
7037 * gdb.base/infcall-nested-structs.exp: Likewise.
7038
3bf9c013
JV
70392018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
7040
7041 * gdb.python/py-framefilter-mi.exp: Update regexp to
7042 check for "arch" field in frame output.
7043
450d1e88
KB
70442018-08-23 Kevin Buettner <kevinb@redhat.com>
7045
7046 * gdb.dwarf2/dw2-ranges-func.c: New file.
7047 * gdb.dwarf2/dw2-ranges-func.exp: New file.
7048
ae739fe7
SM
70492018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
7050
7051 * gdb.base/term.exp: Compare terminal settings with values from
7052 the inferior.
7053 * gdb.base/term.c: Get and set terminal settings.
7054
6d52907e
JV
70552018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
7056
7057 * lib/mi-support.exp (mi_expect_stop): Update regexp to
7058 accommodate new "arch" field in frame output.
7059 * gdb.mi/mi-return.exp: Likewise.
7060 * gdb.mi/mi-stack.exp: Likewise.
7061 * gdb.mi/mi-syn-frame.exp: Likewise.
7062 * gdb.mi/user-selected-context-sync.exp: Likewise.
7063
be2d111a
MS
70642018-08-19 Michael Spang <spang@google.com>
7065
7066 PR gdb/11786
7067 * gdb.base/gcore-tls-pie.c: New file.
7068 * gdb.base/gcore-tls-pie.exp: New file.
7069
ae3a7c47
KB
70702018-08-18 Kevin Buettner <kevinb@redhat.com>
7071
7072 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
7073 * gdb.dwarf2/varval.c: New file.
7074 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 7075
2ecae92e
AH
70762018-08-17 Alan Hayward <alan.hayward@arm.com>
7077
7078 PR gdb/18931
7079 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
7080
c1854f1d
KS
70812018-08-16 Keith Seitz <keiths@redhat.com>
7082
7083 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
7084 tests expected to pass.
7085
26fb3983
JV
70862018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
7087
7088 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
7089 -data-disassemble -a.
7090 (test_disassembly_bogus_args): Likewise.
7091
67943c00
AB
70922018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
7093
7094 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
7095
5ff2bbae
AB
70962018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7097
7098 * gdb.base/vla-optimized-out.exp: Add new test.
7099
e5bbcd0f
AB
71002018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7101
7102 * gdb.base/vla-optimized-out-o3.exp: Delete.
7103 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
7104 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
7105 deleted tests.
7106
9d4a934c
AB
71072018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
7108
7109 PR gdb/18050:
7110 * gdb.server/extended-remote-restart.c: New file.
7111 * gdb.server/extended-remote-restart.exp: New file.
7112
045cf012
SM
71132018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
7114
7115 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
7116 "set variable index = 42".
7117
87d6a7aa
SM
71182018-08-07 Simon Marchi <simon.marchi@ericsson.com>
7119
7120 * boards/index-cache-gdb.exp: New file.
7121 * gdb.dwarf2/index-cache.exp: New file.
7122 * gdb.dwarf2/index-cache.c: New file.
7123 * gdb.base/maint.exp: Check if we are using the index cache.
7124
96d68bd4
RO
71252018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7126
7127 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
7128 MAKEFLAGS.
7129
5a699617
RO
71302018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7131
7132 * dg-extract-results.sh: Move to toplevel contrib.
7133 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
7134 * Makefile.in (check-parallel-racy): Likewise.
7135
5bd18990
AB
71362018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
7137
7138 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
7139 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
7140 tests if the target supports scheduler locking.
7141
3fbbcf47
TV
71422018-08-04 Tom de Vries <tdevries@suse.de>
7143
7144 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
7145
3e1d3d8c
TT
71462018-08-02 Tom Tromey <tom@tromey.com>
7147
7148 PR symtab/16842.
7149 * gdb.cp/temargs.exp: Test "info address" of a template
7150 parameter.
7151
5abe0f0c
JV
71522018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
7153
7154 * gdb.python/py-mi-var-info-path-expression.c: New file.
7155 * gdb.python/py-mi-var-info-path-expression.py: New file.
7156 * gdb.python/py-mi-var-info-path-expression.exp: New file.
7157
fb66cde8
SDJ
71582018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
7159
7160 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
7161 error after "cannot resolve name" string.
7162
c708f4d2
AB
71632018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
7164
7165 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
7166 started.
7167 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
7168
37cc0cae
TV
71692018-07-28 Tom de Vries <tdevries@suse.de>
7170
7171 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
7172
63b4ecf7
TV
71732018-07-26 Tom de Vries <tdevries@suse.de>
7174
7175 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
7176
3c3bb058
AB
71772018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
7178
7179 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
7180 is visible.
7181
9e7f3bbb
TV
71822018-07-26 Tom de Vries <tdevries@suse.de>
7183
7184 PR breakpoints/23366
7185 * gdb.base/catch-follow-exec.c: New test.
7186 * gdb.base/catch-follow-exec.exp: New file.
7187
16f808ec
TV
71882018-07-25 Tom de Vries <tdevries@suse.de>
7189
7190 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
7191 vla-optimized-out.c.
7192
d7154a8d
JV
71932018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
7194
7195 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
7196 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
7197
232a0032
TV
71982018-07-20 Tom de Vries <tdevries@suse.de>
7199
7200 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
7201 NOCLONE macro.
7202 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
7203
fbb1d502
TV
72042018-07-19 Tom de Vries <tdevries@suse.de>
7205
7206 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
7207 regular expression.
7208
42dc7699
TV
72092018-07-18 Tom de Vries <tdevries@suse.de>
7210
7211 * gdb.base/vla-optimized-out.c: New test.
7212 * gdb.base/vla-optimized-out.exp: New file.
7213
7f1f7e23
SDJ
72142018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
7215
7216 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
7217 message "No address associated with hostname" when gdbserver
7218 cannot resolve the hostname.
7219
5759ebb3
PW
72202018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7221
7222 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
7223 Add some test prefixes to make tests unique.
7224
3606ccab
PW
72252018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7226
7227 * gdb.base/frameapply.c: New file.
7228 * gdb.base/frameapply.exp: New file.
7229
529c08b2
PW
72302018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7231
7232 * gdb.base/skip.exp: Update expected error message.
7233
c7ab0aef
SDJ
72342018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7235 Jan Kratochvil <jan.kratochvil@redhat.com>
7236 Paul Fertser <fercerpav@gmail.com>
7237 Tsutomu Seki <sekiriki@gmail.com>
7238
7239 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
7240 parameter.
7241 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
7242 by default.
7243 * boards/native-gdbserver.exp: Likewise.
7244 * gdb.server/run-without-local-binary.exp: Improve regexp used
7245 for detecting when a remote debugging connection succeeds.
7246 * gdb.server/server-connect.exp: New file.
7247 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
7248 Do not prefix the port number with ":".
7249 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
7250 support for detecting and using it. Add '$debughost_gdbserver'
7251 to the list of arguments used to start gdbserver. Handle case
7252 when gdbserver cannot resolve a network name.
7253
16ff70dd
SDJ
72542018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7255
7256 PR c++/23373
7257 * gdb.base/ptype-offsets.cc (struct static_member): New
7258 struct.
7259 (main) <stmember>: New variable.
7260 * gdb.base/ptype-offsets.exp: Add test for printing a struct
7261 with a static member in it.
7262
3541979f
AB
72632018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
7264
7265 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
7266 watchpoints enabled and disabled.
7267
c8ad9b9a
AB
72682018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7269
7270 * gdb.base/examine-backward.exp: Still run tests around address
7271 0x0, even if address 0x0 is not readable. Update the pattern for
7272 matching address 0x0 in expected output.
7273
e0e5e971
AB
72742018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
7275
7276 * gdb.base/share-env-with-gdbserver.c (main): Add call to
7277 malloc/free.
7278
1ea5da02
TV
72792018-07-04 Tom de Vries <tdevries@suse.de>
7280
7281 * gdb.dwarf2/dw2-error.exp: Update expected error message.
7282
471b9d15
MR
72832018-07-02 Maciej W. Rozycki <macro@mips.com>
7284
7285 PR tdep/8282
7286 * gdb.arch/mips-disassembler-options.exp: New test.
7287 * gdb.arch/mips-disassembler-options.s: New test source.
7288
75acb486
PA
72892018-06-29 Pedro Alves <palves@redhat.com>
7290
7291 * gdb.threads/names.exp: Adjust expected "info threads" output.
7292
cd2bb709
PA
72932018-06-29 Pedro Alves <palves@redhat.com>
7294
7295 * gdb.opt/inline-break.exp (line number, address): Add "info
7296 break" tests.
7297
991ff292
PA
72982018-06-29 Pedro Alves <palves@redhat.com>
7299
7300 * gdb.opt/inline-break.c (func1): Add "break here" marker.
7301 * gdb.opt/inline-break.exp: Test setting breakpoints by line
7302 number and address and running to them.
7303
356819b6 73042018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
7305
7306 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
7307
2512d7ef
JK
73082018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7309
7310 * lib/compiler.c: Remove executable permission flag.
7311
be1b6474
RB
73122018-06-28 Richard Bunt <richard.bunt@arm.com>
7313
7314 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
7315 code.
7316 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
7317
291f9a96
PT
73182018-06-28 Petr Tesarik <ptesarik@suse.cz>
7319
7320 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
7321
ed6dfe51
PT
73222018-06-28 Petr Tesarik <ptesarik@suse.cz>
7323
7324 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
7325 address argument is omitted.
7326
d4d429d5
PT
73272018-06-28 Petr Tesarik <ptesarik@suse.cz>
7328
7329 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
7330
7ab6656f
OJ
73312018-06-27 Omair Javaid <omair.javaid@linaro.org>
7332
7333 PR gdb/21695
7334 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
7335 * gdb.base/infoline-reloc-main-from-zero.c: New file.
7336
a33ccfc7
TT
73372018-06-26 Tom Tromey <tom@tromey.com>
7338
7339 PR rust/22574:
7340 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
7341 * gdb.rust/simple.rs (struct SimpleLayout): New.
7342
6d72d289
SM
73432018-06-22 Simon Marchi <simon.marchi@ericsson.com>
7344
7345 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
7346 "info registers" output.
7347
8363f9d5
RB
73482018-06-21 Richard Bunt <richard.bunt@arm.com>
7349
7350 * gdb.base/watchpoint-hw-attach.c: New test.
7351 * gdb.base/watchpoint-hw-attach.exp: New file.
7352
f00674fe
SM
73532018-06-20 Simon Marchi <simon.marchi@ericsson.com>
7354
7355 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
7356 through /bin/sh.
7357 * boards/dwarf4-gdb-index.exp: Likewise.
7358 * boards/fission-dwp.exp: Likewise.
7359
1d554008
UW
73602018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
7361
7362 * gdb.base/float128.exp: Add comment and improved fail message
7363 to the failure case of "print large128" test.
7364
d0ac1c44
SM
73652018-06-19 Simon Marchi <simon.marchi@ericsson.com>
7366
7367 * configure.ac: Remove AC_PREREQ.
7368 * configure: Re-generate.
7369
61b04dd0
PA
73702018-06-19 Pedro Alves <palves@redhat.com>
7371
7372 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
7373 (func_extern_caller): New.
7374 (main): Call func_extern_caller.
7375 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
7376 logic change.
7377
f63b508a
SM
73782018-06-18 Weimin Pan <weimin.pan@oracle.com>
7379
7380 PR gdb/16841
7381 * gdb.cp/typedef-base.cc: New file.
7382 * gdb.cp/typedef-base.exp: New file.
7383
0fe3a558
TV
73842018-06-18 Tom de Vries <tdevries@suse.de>
7385
7386 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
7387
7010835a
AB
73882018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7389 Richard Bunt <Richard.Bunt@arm.com>
7390
7391 * gdb.threads/attach-slow-waitpid.c: New file.
7392 * gdb.threads/attach-slow-waitpid.exp: New file.
7393 * gdb.threads/slow-waitpid.c: New file.
7394
14897d65
PA
73952018-06-14 Pedro Alves <palves@redhat.com>
7396
7397 * gdb.base/fork-running-state.c: Include <errno.h>.
7398 (exit_if_relative_exits): New.
7399 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
7400 exits.
7401 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
7402 child exits.
7403
5d9a0608
TV
74042018-06-14 Tom de Vries <tdevries@suse.de>
7405
7406 PR cli/22573
7407 * gdb.base/finish-pretty.c: New test.
7408 * gdb.base/finish-pretty.exp: New file.
7409
11ae5818
PA
74102018-06-14 Pedro Alves <palves@redhat.com>
7411
7412 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
7413 gdb's expected startup output.
7414
1d39de44
PA
74152018-06-14 Pedro Alves <palves@redhat.com>
7416
7417 * lib/selftest-support.exp (selftest_setup): Remove inlined
7418 function handling.
7419
70ee0000
TV
74202018-06-14 Tom de Vries <tdevries@suse.de>
7421
7422 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
7423 matching of breakpoint printing.
7424
11f4b608
TV
74252018-06-13 Tom de Vries <tdevries@suse.de>
7426
7427 PR testsuite/23269
7428 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
7429 (fork_child): ... here, and ...
7430 (fork_parent): ... here.
7431
74322018-06-12 Tom de Vries <tdevries@suse.de>
7433
7434 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
7435
9516f85a
AB
74362018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
7437 Stephen Roberts <stephen.roberts@arm.com>
7438
7439 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
7440 rewrite test to describe action performed, rather than possible
7441 failure.
7442
5045b3d7
GB
74432018-06-08 Gary Benson <gbenson@redhat.com>
7444
7445 * gdb.threads/check-libthread-db.exp: New file.
7446 * gdb.threads/check-libthread-db.c: Likewise.
7447
c61b06a1
TT
74482018-06-05 Tom Tromey <tom@tromey.com>
7449
7450 * gdb.base/default.exp: Update expected "show version" output.
7451
eb6af809
TT
74522018-06-05 Tom Tromey <tom@tromey.com>
7453
7454 PR cli/12326:
7455 * gdb.cp/static-print-quit.exp: Update.
7456 * lib/gdb.exp (pagination_prompt): Update.
7457 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
7458 * gdb.python/python.exp: Update.
7459
178d6a63
JB
74602018-06-04 Joel Brobecker <brobecker@adacore.com>
7461
7462 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
7463
8e817061
JB
74642018-06-01 Joel Brobecker <brobecker@adacore.com>
7465
7466 * gdb.ada/bp_fun_addr: New testcase.
7467
e86ca25f
TT
74682018-06-01 Tom Tromey <tom@tromey.com>
7469
7470 * gdb.xml/tdesc-regs.exp (load_description): Update expected
7471 results.
7472 * gdb.dwarf2/method-ptr.exp: Set language to C++.
7473 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
7474 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
7475 * gdb.base/maint.exp (maint_pass_if): Update.
7476
4b2dfa9d
MR
74772018-05-31 Maciej W. Rozycki <macro@mips.com>
7478
7479 * gdb.base/endian.exp: New test.
7480 * gdb.base/endian.c: New test source.
7481
45f25d6c
AB
74822018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
7483
7484 PR gdb/23203
7485 * gdb.base/bt-selected-frame.c: New file.
7486 * gdb.base/bt-selected-frame.exp: New file.
7487 * lib/gdb.exp (get_current_frame_number): New function.
7488
d9f6d7f8
MR
74892018-05-24 Maciej W. Rozycki <macro@mips.com>
7490 Pedro Alves <palves@redhat.com>
7491
7492 * gdb.threads/tls-core.c: Include <stdlib.h>
7493 (thread_proc): Call `abort'.
7494 * gdb.threads/tls-core.exp: Generate a core with core_find too.
7495 (tls_core_test): New procedure, bits factored out from ...
7496 (top level): ... here. Test both native cores and gcore cores.
7497
ff1cf532
TT
74982018-05-23 Tom Tromey <tom@tromey.com>
7499
7500 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
7501
b98664d3
TT
75022018-05-23 Tom Tromey <tom@tromey.com>
7503
7504 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
7505 symfile_complaints.
7506 (test_short_complaints): Likewise.
7507 (test_empty_complaints): Likewise.
7508 (test_initial_complaints): Update.
7509
4e9668d0
TT
75102018-05-23 Tom Tromey <tom@tromey.com>
7511
7512 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
7513
43ba33c7
TT
75142018-05-23 Tom Tromey <tom@tromey.com>
7515
7516 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
7517 (test_short_complaints): Update.
7518
035522c0
PA
75192018-05-22 Pedro Alves <palves@redhat.com>
7520
7521 * gdb.base/remote.exp: Only gdb_start after compiling the
7522 testcase. Issue "disconnect" before testing "set remote" command
7523 defaults. Issue clean_restart before running to main.
7524
cc0be08f
PA
75252018-05-22 Pedro Alves <palves@redhat.com>
7526
7527 * gdb.base/remote.exp: Adjust expected output of "show remote
7528 memory-write-packet-size". Add tests for "set remote
7529 memory-write-packet-size 0" and "set remote
7530 memory-write-packet-size fixed/limit".
7531
b1b60145
PA
75322018-05-22 Pedro Alves <palves@redhat.com>
7533
7534 PR gdb/22973
7535 * gdb.base/utf8-identifiers.c: New file.
7536 * gdb.base/utf8-identifiers.exp: New file.
7537
0ec848ad
PFC
75382018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7539
7540 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
7541
2c3305f6
PFC
75422018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7543
7544 * gdb.arch/powerpc-vsx-gcore.exp: New file.
7545
ce1e8424
TT
75462018-05-18 Tom Tromey <tom@tromey.com>
7547
7548 * gdb.base/ptype-offsets.exp: Update.
7549
ddfe970e
KS
75502018-05-17 Keith Seitz <keiths@redhat.com>
7551
7552 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
7553 in expected breakpoint stop locations.
7554 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
7555 move to proper scope to test variable values.
7556 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
7557 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
7558 New functions.
7559 (main): Call not_inline_func3.
7560 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
7561 inline_func1, inline_func2, and inline_func3. Test that when each
7562 breakpoint is hit, GDB properly reports both the stop location
7563 and the backtrace. Repeat tests for temporary breakpoints.
7564
0726fcc6
MR
75652018-05-15 Maciej W. Rozycki <macro@mips.com>
7566
7567 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
7568 rather then trying to access it in determining whether the PID
7569 of `gdbserver' could have been retrieved.
7570
8ee22052
AB
75712018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
7572
7573 * gdb.arch/amd64-init-x87-values.S: New file.
7574 * gdb.arch/amd64-init-x87-values.exp: New file.
7575
7785df48
JK
75762018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7577
7578 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
7579
56bcdbea
TT
75802018-05-04 Tom Tromey <tom@tromey.com>
7581
7582 PR python/22730:
7583 * gdb.python/python.exp: Test multi-line execute.
7584
a913fffb
TT
75852018-05-04 Tom Tromey <tom@tromey.com>
7586
7587 PR python/22731:
7588 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
7589
7a2c85f2
TT
75902018-05-04 Tom Tromey <tom@tromey.com>
7591
7592 PR gdb/11750:
7593 * gdb.base/define.exp: Test defining a user command inside a user
7594 command.
7595 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
7596
a3b60e45
JK
75972018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7598 Pedro Alves <palves@redhat.com>
7599
7600 PR breakpoints/19806 and support for PR external/20207.
7601 * gdb.base/watchpoint-unaligned.c: New file.
7602 * gdb.base/watchpoint-unaligned.exp: New file.
7603
45fe4a03
AB
76042018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7605
7606 * gdb.base/maint.exp: Make test names unique, use
7607 test_prefix_command_help to test 'help maint info', and remove
7608 repeated test of 'help maint'.
7609
9be2ae8f
TT
76102018-05-04 Tom Tromey <tom@tromey.com>
7611
7612 PR gdb/22619:
7613 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
7614 behavior.
7615
11859c31
AB
76162018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7617
7618 * gdb.base/maint.exp: Process output from 'maint print registers'
7619 line at a time.
7620
089a9490
AB
76212018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7622
7623 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
7624 timeout.
7625
9b0797e2
AB
76262018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
7627
7628 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
7629 filter pattern.
7630
f6ac5f3d
PA
76312018-05-02 Pedro Alves <palves@redhat.com>
7632
7633 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
7634 to_log_command renames.
7635 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7636
77d3c63b
TT
76372018-05-02 Tom Tromey <tom@tromey.com>
7638
7639 * gdb.python/py-parameter.exp: Set test message.
7640
0489430a
TT
76412018-05-02 Tom Tromey <tom@tromey.com>
7642
7643 PR python/20084:
7644 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
7645 PARAM_ZUINTEGER_UNLIMITED tests.
7646
1632f8ba
DR
76472018-04-28 Dan Robertson <danlrobertson89@gmail.com>
7648
7649 PR rust/23124
7650 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
7651 when casting.
7652
6d7bb824
TT
76532018-04-30 Tom Tromey <tom@tromey.com>
7654
7655 * gdb.python/py-type.exp: Check align attribute.
7656 * gdb.python/py-type.c: New "aligncheck" global.
7657
007e1530
TT
76582018-04-30 Tom Tromey <tom@tromey.com>
7659
7660 PR exp/17095:
7661 * gdb.dwarf2/dw2-align.exp: New file.
7662 * gdb.cp/align.exp: New file.
7663 * gdb.base/align.exp: New file.
7664 * lib/gdb.exp (gdb_int128_helper): New proc.
7665 (has_int128_c, has_int128_cxx): New caching procs.
7666
6873858b
TT
76672018-04-27 Tom Tromey <tom@tromey.com>
7668
7669 PR rust/22545:
7670 * gdb.rust/simple.exp: Add inclusive range tests.
7671
79188d8d
PA
76722018-04-26 Pedro Alves <palves@redhat.com>
7673
7674 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
7675 ifunc breakpoint locations correctly of ifunc breakpoints set
7676 while the program resolves the ifunc.
7677
c7075ad5
PA
76782018-04-26 Pedro Alves <palves@redhat.com>
7679
7680 * gdb.base/gnu-ifunc-final.c: New file.
7681 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
7682 * gdb.base/gnu-ifunc.exp (executable): Delete.
7683 (staticexecutable): Adjust.
7684 (lib_opts, exec_opts): Delete.
7685 (make_binsuffix, build, set-break): New procedures.
7686 (misc_tests): New, with tests factored out from the top level.
7687 (top level): Test different combinations of ifunc resolver name,
7688 resolver with and with debug info, and ifunc target with and
7689 without debug info. Wrap static tests with with_target_prefix.
7690
8388016d
PA
76912018-04-26 Pedro Alves <palves@redhat.com>
7692
7693 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
7694 return type" warnings.
7695
249b5733
PA
76962018-04-25 Pedro Alves <palves@redhat.com>
7697
7698 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
7699 killed".
7700 * gdb.base/kill-after-signal.exp: Likewise.
7701 * gdb.threads/kill.exp: Likewise.
7702
f67c0c91
SDJ
77032018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7704 Sergio Durigan Junior <sergiodj@redhat.com>
7705 Pedro Alves <palves@redhat.com>
7706
7707 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
7708 regexps to expect for '[Inferior ... detached]' as well.
7709 * gdb.base/attach.exp: Likewise.
7710 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
7711 "gdb_continue_to_end".
7712 (test_catch_syscall_with_wrong_args): Likewise.
7713 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
7714 ']'. Don't set 'verbose' on.
7715 * gdb.base/foll-vfork.exp: Likewise.
7716 * gdb.base/fork-print-inferior-events.c: New file.
7717 * gdb.base/fork-print-inferior-events.exp: New file.
7718 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
7719 '[Inferior ... has been killed]' message.
7720 * gdb.base/kill-after-signal.exp: Likewise.
7721 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
7722 detach message.
7723 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
7724 message.
7725 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
7726 regexps to expect for '[Inferior ... detached]' as well.
7727 * gdb.threads/process-dies-while-detaching.exp: Likewise.
7728
0a8ddac4
SM
77292018-04-24 Simon Marchi <simon.marchi@ericsson.com>
7730
7731 PR gdb/23104
7732 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
7733
701adfb0
PA
77342018-04-22 Rajendra SY <rajendra.sy@gmail.com>
7735
7736 PR gdb/23095
7737 * gdb.base/break-probes.exp: Pass shlib_load to
7738 prepare_for_testing. Set normal_bp to r_debug_state if target is
7739 bsd.
7740
d27d16bf
RB
77412018-04-19 Richard Bunt <richard.bunt@arm.com>
7742
7743 * gdb.threads/multiple-successive-infcall.c: New test.
7744 * gdb.threads/multiple-successive-infcall.exp: New file.
7745
a037790e
TT
77462018-04-17 Tom Tromey <tom@tromey.com>
7747
7748 * gdb.rust/simple.rs (Union): New type.
7749 (main): New local "u".
7750 * gdb.rust/simple.exp (test_one_slice): Add new test case.
7751
e3a91079
AA
77522018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7753
7754 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
7755 number information in output of "whereis" command.
7756 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
7757
b744723f
AA
77582018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7759
7760 * gdb.ada/info_types.exp: Adjust expected output to the line
7761 numbers now printed by "info var/func/type".
7762 * gdb.base/completion.exp: Likewise.
7763 * gdb.base/included.exp: Likewise.
7764 * gdb.cp/cp-relocate.exp: Likewise.
7765 * gdb.cp/cplusfuncs.exp: Likewise.
7766 * gdb.cp/namespace.exp: Likewise.
7767 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
7768
4a4495d6
MM
77692018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7770
7771 * gdb.btrace/cpu.exp: New.
7772
1d509aa6
MM
77732018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7774
7775 * gdb.base/step-indirect-call-thunk.exp: New.
7776 * gdb.base/step-indirect-call-thunk.c: New.
7777 * gdb.reverse/step-indirect-call-thunk.exp: New.
7778 * gdb.reverse/step-indirect-call-thunk.c: New.
7779
6295b6da
SM
77802018-04-11 Simon Marchi <simon.marchi@ericsson.com>
7781
7782 * gdb.base/pie-fork.c: New file.
7783 * gdb.base/pie-fork.exp: New file.
7784
50146e70
TT
77852018-04-11 Tom Tromey <tom@tromey.com>
7786
7787 * gdb.rust/simple.exp: Add test for ".." struct initializer.
7788
f50d8a2e
PA
77892018-04-10 Pedro Alves <palves@redhat.com>
7790
7791 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
7792 exits. Instead loop running forever.
7793 (fork_parent): Run forever too.
7794
a0be7a36
SM
77952018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7796
7797 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
7798 mi_continue_to_line.
7799 * gdb.mi/mi-stack.c (callee4): Add comment.
7800
9b73db36
SM
78012018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7802
7803 * gdb.mi/mi-stack.exp: Fix indentation.
7804
c912f608
SM
78052018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7806
7807 PR gdb/22979
7808 * gdb.arch/amd64-osabi.exp: New file.
7809
26540402
SM
78102018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7811
7812 PR gdb/22980
7813 * gdb.base/osabi.exp: New file.
7814
121ad66c 78152018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
7816
7817 * gdb.cp/static-typedef-print.exp: New file.
7818 * gdb.cp/static-typedef-print.cc: New file.
7819
3fcded8f
JB
78202018-03-27 Joel Brobecker <brobecker@adacore.com>
7821
7822 * gdb.ada/varsize_limit: New testcase.
7823
59cc4834
JB
78242018-03-27 Joel Brobecker <brobecker@adacore.com>
7825
7826 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
7827
7828 * gdb.ada/notcplusplus: New testcase.
7829
7830 * gdb.base/c-linkage-name.c: New file.
7831 * gdb.base/c-linkage-name.exp: New testcase.
7832
4ca59a9f
TT
78332018-03-26 Tom Tromey <tom@tromey.com>
7834
7835 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
7836 * gdb.python/py-framefilter.py (name_error): New global.
7837 (ErrorInName.function): Use name_error.
7838
978d6c75
TT
78392018-03-26 Tom Tromey <tom@tromey.com>
7840
7841 PR backtrace/15582:
7842 * gdb.python/py-framefilter.exp: Add "bt hide" test.
7843
b7fee5a3
KS
78442018-03-23 Keith Seitz <keiths@redhat.com>
7845
7846 PR c++/22968
7847 * gdb.cp/subtypes.exp: New file.
7848 * gdb.cp/subtypes.h: New file.
7849 * gdb.cp/subtypes.cc: New file.
7850 * gdb.cp/subtypes-2.cc: New file.
7851
376be529
AB
78522018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7853
7854 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
7855 (done): Call '_exit' not 'exit' to avoid atexit handlers.
7856 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
7857 -nostartfiles when compiling the test. Confirm that all registers
7858 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
7859
066cfa98
AB
78602018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7861
7862 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
7863 option, syntax was wrong anyway.
7864 * gdb.arch/arm-disp-step.exp: Likewise.
7865 * gdb.arch/sparc64-regs.exp: Likewise.
7866 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
7867 option, syntax was wrong anyway, switch to use
7868 prepare_for_testing.
7869 * gdb.arch/i386-disp-step.exp: Likewise.
7870
079670b9
AA
78712018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
7872
7873 * gdb.ada/exec_changed.exp: Replace "target_info exists
7874 use_gdb_stub" by "use_gdb_stub".
7875 * gdb.ada/start.exp: Likewise.
7876 * gdb.base/async-shell.exp: Likewise.
7877 * gdb.base/attach-pie-misread.exp: Likewise.
7878 * gdb.base/attach-wait-input.exp: Likewise.
7879 * gdb.base/break-entry.exp: Likewise.
7880 * gdb.base/break-interp.exp: Likewise.
7881 * gdb.base/dprintf-detach.exp: Likewise.
7882 * gdb.base/nostdlib.exp: Likewise.
7883 * gdb.base/solib-nodir.exp: Likewise.
7884 * gdb.base/statistics.exp: Likewise.
7885 * gdb.base/testenv.exp: Likewise.
7886 * gdb.mi/mi-exec-run.exp: Likewise.
7887 * gdb.mi/mi-start.exp: Likewise.
7888 * gdb.multi/dummy-frame-restore.exp: Likewise.
7889 * gdb.multi/multi-arch-exec.exp: Likewise.
7890 * gdb.multi/multi-arch.exp: Likewise.
7891 * gdb.multi/tids.exp: Likewise.
7892 * gdb.multi/watchpoint-multi.exp: Likewise.
7893 * gdb.python/py-events.exp: Likewise.
7894 * gdb.threads/attach-into-signal.exp: Likewise.
7895 * gdb.threads/attach-stopped.exp: Likewise.
7896 * gdb.threads/threadapply.exp: Likewise.
7897 * lib/selftest-support.exp: Likewise.
7898
26d6cec4
AA
78992018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
7900
7901 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
7902
4ee89e90
SR
79032018-03-20 Stephen Roberts <stephen.roberts@arm.com>
7904
7905 * gdb.perf/template-breakpoints.cc: New file.
7906 * gdb.perf/template-breakpoints.exp: New file.
7907 * gdb.perf/template-breakpoints.py: New file.
7908
92630041
TT
79092018-03-19 Tom Tromey <tom@tromey.com>
7910
7911 * gdb.rust/simple.rs (main): Add local variables field1, field2,
7912 y0.
7913 * gdb.rust/simple.exp: Test bare identifier form of struct
7914 initializer.
7915
76727919
TT
79162018-03-19 Tom Tromey <tom@tromey.com>
7917
7918 * gdb.gdb/observer.exp: Remove.
7919
194ed413
AA
79202018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7921
7922 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
7923 "qualified" option when setting breakpoints.
7924 * gdb.trace/backtrace.exp: Likewise.
7925 * gdb.trace/circ.exp: Likewise.
7926 * gdb.trace/collection.exp: Likewise.
7927 * gdb.trace/disconnected-tracing.exp: Likewise.
7928 * gdb.trace/ftrace-lock.exp: Likewise.
7929 * gdb.trace/ftrace.exp: Likewise.
7930 * gdb.trace/infotrace.exp: Likewise.
7931 * gdb.trace/packetlen.exp: Likewise.
7932 * gdb.trace/passc-dyn.exp: Likewise.
7933 * gdb.trace/qtro.exp: Likewise.
7934 * gdb.trace/read-memory.exp: Likewise.
7935 * gdb.trace/report.exp: Likewise.
7936 * gdb.trace/signal.exp: Likewise.
7937 * gdb.trace/status-stop.exp: Likewise.
7938 * gdb.trace/strace.exp: Likewise.
7939 * gdb.trace/tfind.exp: Likewise.
7940 * gdb.trace/trace-break.exp: Likewise.
7941 * gdb.trace/trace-condition.exp: Likewise.
7942 * gdb.trace/trace-mt.exp: Likewise.
7943 * gdb.trace/tstatus.exp: Likewise.
7944 * gdb.trace/tsv.exp: Likewise.
7945 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7946 * gdb.trace/unavailable.exp: Likewise.
7947 * gdb.trace/while-dyn.exp: Likewise.
7948
8b067d2c
AA
79492018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7950
7951 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
7952 that libinproctrace is copied to the target.
7953
3ae9ce5d
TT
79542018-03-14 Tom Tromey <tom@tromey.com>
7955
7956 PR cli/14977:
7957 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
7958 a null pointer.
7959 * gdb.base/wchar.exp: Likewise.
7960
b8c2339b
TT
79612018-03-14 Tom Tromey <tom@tromey.com>
7962
7963 PR cli/19918:
7964 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
7965 flag.
7966
4872dc46
SM
79672018-03-08 Simon Marchi <simon.marchi@ericsson.com>
7968
7969 PR gdb/22841
7970 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
7971 "target" to remote_exec.
7972
e4fe3756
SM
79732018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
7974
7975 PR gdb/22841
7976 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
7977 ${board}_upload): Remove.
7978
e95a97d4
AA
79792018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
7980
7981 * gdb.cp/watch-cp.cc: New test.
7982 * gdb.cp/watch-cp.exp: New file.
7983
dbbb1059
AB
79842018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7985
7986 * gdb.base/infcall-nested-structs.exp: New file.
7987 * gdb.base/infcall-nested-structs.c: New file.
7988 * gdb.base/float.exp: Add riscv support.
7989
ecc054c0
TP
79902018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
7991
7992 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
7993 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
7994
25e3c82c
SDJ
79952018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
7996
7997 * gdb.server/abspath.exp: New file.
7998 * lib/gdb.exp (with_cwd): New procedure.
7999
3083294d
SM
80002018-02-28 Simon Marchi <simon.marchi@ericsson.com>
8001
8002 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
8003 use it.
8004 (gdb_is_target_remote_prompt): New proc.
8005 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
8006 (gdb_is_target_native): Pass prompt parameter to
8007 gdb_is_target_1.
8008
3275ef47
SM
80092018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
8010
8011 * gdb.base/load-command.c: New file.
8012 * gdb.base/load-command.exp: New file.
8013 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
8014 (gdb_is_target_1): ...this, and generalize for other targets
8015 than just remote.
8016 (gdb_is_target_remote): Use gdb_is_target_1.
8017 (gdb_is_target_native): use gdb_is_target_1.
8018
6893c19a
TT
80192018-02-26 Tom Tromey <tom@tromey.com>
8020
8021 PR python/16497:
8022 * gdb.python/py-framefilter.exp: Update test.
8023
2ddeaf8a
TT
80242018-02-26 Tom Tromey <tom@tromey.com>
8025
8026 * gdb.dwarf2/variant.c: New file.
8027 * gdb.dwarf2/variant.exp: New file.
8028
c9317f21
TT
80292018-02-26 Tom Tromey <tom@tromey.com>
8030
8031 * gdb.rust/simple.exp: Accept more possible results in enum test.
8032
6f6d0c26
SM
80332018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
8034
8035 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
8036 parentheses.
8037
11b03145
MR
80382018-02-23 Maciej W. Rozycki <macro@mips.com>
8039
8040 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
8041 name of a variable: $actual_linejj -> $actual_line.
8042
54a27fe5
JB
80432018-02-21 John Baldwin <jhb@FreeBSD.org>
8044
8045 * gdb.arch/amd64-i386-address.exp: Fix a typo.
8046
de65820c
MM
80472018-02-20 Markus Metzger <markus.t.metzger@intel.com>
8048
8049 * gdb.btrace/buffer-size.exp: Do not force BTS.
8050
980548fd
PA
80512018-02-14 Pedro Alves <palves@redhat.com>
8052
8053 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
8054 getting a "Quit".
8055
c4e12631
MM
80562018-02-09 Markus Metzger <markus.t.metzger@intel.com>
8057
8058 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
8059 Fix test name.
8060
c2e0e465
SM
80612018-02-07 Simon Marchi <simon.marchi@ericsson.com>
8062
8063 * gdb.cp/m-static.exp: Check type of optimized out static
8064 member.
8065
f7216783
AB
80662018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
8067
8068 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
8069 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
8070
0625771b
LS
80712018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
8072 Leszek Swirski <leszeks@google.com>
8073
8074 * gdb.python/py-prettyprint.c
8075 (struct to_string_returns_value_inner,
8076 struct to_string_returns_value_wrapper): New.
8077 (main): Add tsrvw variable.
8078 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
8079 ToStringReturnsValueWrapper): New classes.
8080 (register_pretty_printers): Register new pretty-printers.
8081 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
8082 recursive pretty printer.
8083 * gdb.python/py-mi.exp: Likewise.
8084
59498c30
LS
80852018-02-01 Leszek Swirski <leszeks@google.com>
8086
8087 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
8088 functions with the same name as an include file are parsed
8089 correctly.
8090
d4d38844
YQ
80912018-02-01 Yao Qi <yao.qi@linaro.org>
8092
8093 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
8094 "\[^\r\n\]*".
8095
07e5f5cf
NP
80962018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
8097
8098 * gdb.arch/powerpc-prologue-frame.s: New file.
8099 * gdb.arch/powerpc-prologue-frame.c: Likewise.
8100 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
8101
929b5ad4
JB
81022018-01-31 Joel Brobecker <brobecker@adacore.com>
8103
8104 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
8105
e671cd59
PA
81062018-01-30 Pedro Alves <palves@redhat.com>
8107
8108 PR gdb/13211
8109 * gdb.base/interrupt-daemon.c: New.
8110 * gdb.base/interrupt-daemon.exp: New.
8111 * gdb.multi/multi-term-settings.c: New.
8112 * gdb.multi/multi-term-settings.exp: New.
8113
fc413dc4
JB
81142018-01-30 Joel Brobecker <brobecker@adacore.com>
8115
8116 * gdb.base/break.exp: Save the location where the breakpoint
8117 on break.c:47 was actually inserted when debugging the version
8118 compiled at -O2 and use it in the expected output of the "info
8119 break" test performed soon after.
8120
5c319bb2
PA
81212018-01-22 Pedro Alves <palves@redhat.com>
8122 Sergio Durigan Junior <sergiodj@redhat.com>
8123
8124 * gdb.base/whatis.exp: Add tests for 'set print object on' +
8125 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
8126
a9e40818
JB
81272018-01-22 Joel Brobecker <brobecker@adacore.com>
8128
8129 * gdb.base/break-include.c, gdb.base/break-include.inc,
8130 gdb.base/break-include.exp: New files.
8131 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
8132 line number now being the actual line number where the breakpoint
8133 was inserted.
8134 * gdb.mi/mi-break.exp: Likewise.
8135 * gdb.mi/mi-reverse.exp: Likewise.
8136 * gdb.mi/mi-simplerun.exp: Ditto.
8137
e707fc44
AB
81382018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8139
8140 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
8141 varobj.
8142 * gdb.mi/mi-var-create-rtti.exp: Likewise.
8143
ae451627
AB
81442018-01-21 Don Breazeal <donb@codesourcery.com>
8145 Andrew Burgess <andrew.burgess@embecosm.com>
8146
8147 * gdb.mi/basics.c: Add new global.
8148 * gdb.mi/mi-frame-regs.exp: New file.
8149 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
8150 case.
8151
b1b189e0
AB
81522018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8153
8154 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
8155 non-parameter, and on an unknown symbol.
8156
fcfcc376
TT
81572018-01-19 Tom Tromey <tom@tromey.com>
8158
8159 * gdb.rust/modules.rs (TWENTY_THREE): New global.
8160 * gdb.rust/modules.exp: Add ::-qualified lookup test.
8161
634c1c31
AA
81622018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8163
8164 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
8165 setrlimit and chdir to int.
8166
d6ad07fd
AA
81672018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8168
8169 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
8170 function.
8171 (my_tend): Likewise.
8172 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
8173 rationale of avoiding FP- and vector instructions.
8174
adf8243b
RK
81752018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
8176
8177 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
8178 "info reg" with "\[ \t\]*".
8179 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
8180 "\[ \t\]+".
8181 * gdb.arch/s390-multiarch.exp: Ditto.
8182 * gdb.base/pc-fp.exp: Ditto.
8183 * gdb.reverse/i386-precsave.exp: Ditto.
8184 * gdb.reverse/i386-reverse.exp: Ditto.
8185 * gdb.reverse/i387-env-reverse.exp: Ditto.
8186 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8187
dcc06925
AA
81882018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8189
8190 * lib/gdb.exp (gdb_compile): Re-enable use of
8191 universal_compile_options for languages other than Rust.
8192
25d4fd80
AA
81932018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8194
8195 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
8196
ee7f689e 81972018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
8198
8199 PR gdb/16577
8200 * gdb.base/solib-vanish.exp: New.
8201 * gdb.base/solib-vanish-main.c: New.
8202 * gdb.base/solib-vanish-lib1.c: New.
8203 * gdb.base/solib-vanish-lib2.c: New.
8204
d8447b6b
YQ
82052018-01-17 Yao Qi <yao.qi@linaro.org>
8206
8207 * gdb.compile/compile.exp: Match the address printed for
8208 frame in the output of command "bt".
8209
86d6a90c
TT
82102018-01-15 Tom Tromey <tom@tromey.com>
8211
8212 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
8213 compute sp_reg.
8214
cbcdb1aa
AB
82152018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8216
8217 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
8218 to prepare.
8219 (prepare): Return 0 on error, 1 on success.
8220
eea61984
PA
82212018-01-12 Pedro Alves <palves@redhat.com>
8222
8223 * gdb.base/continue-after-aborted-step-over.c: New.
8224 * gdb.base/continue-after-aborted-step-over.exp: New.
8225
6181e9c2
SM
82262018-01-11 Simon Marchi <simon.marchi@ericsson.com>
8227
8228 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
8229 options when not creating an executable.
8230
3cada740
PA
82312018-01-11 Pedro Alves <palves@redhat.com>
8232
8233 PR remote/22597
8234 * gdb.server/stop-reply-no-thread.c: New file.
8235 * gdb.server/stop-reply-no-thread.exp: New file.
8236
c63d3e8d
PA
82372018-01-10 Pedro Alves <palves@redhat.com>
8238
8239 PR gdb/22670
8240 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
8241 functions too. Test setting breakpoints and printing C functions
8242 with no debug info too.
8243 * gdb.ada/bp_c_mixed_case/qux.c: New file.
8244
d4c2a405
PA
82452018-01-10 Pedro Alves <palves@redhat.com>
8246
8247 PR gdb/22670
8248 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
8249 a fail.
8250
8825213e
PA
82512018-01-10 Pedro Alves <palves@redhat.com>
8252
8253 PR gdb/22670
8254 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
8255
605fd3c6
YQ
82562018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8257
8258 * gdb.server/unittest.exp: Match the output in non-development
8259 mode.
8260
1e5ded6c
YQ
82612018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8262
8263 * gdb.gdb/unittest.exp: Match output in non-development mode.
8264
30066b0b
JB
82652018-01-08 Joel Brobecker <brobecker@adacore.com>
8266
8267 * gdb.ada/access_tagged_param.exp: Relax expected output
8268 for value of "ObjL" in "continue" to pck.inspect breakpoint
8269 test.
8270
04bafb1e
XR
82712018-01-08 Joel Brobecker <brobecker@adacore.com>
8272
9f86398b
JB
8273 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
8274 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 8275
e379cee6
PA
82762018-01-05 Pedro Alves <palves@redhat.com>
8277
8278 PR gdb/18653
8279 * gdb.base/libsegfault.exp: New.
8280
de63c46b
PA
82812018-01-05 Joel Brobecker <brobecker@adacore.com>
8282
8283 PR gdb/22670
8284 * gdb.ada/access_tagged_param.exp: New file.
8285 * gdb.ada/access_tagged_param/foo.adb: New file.
8286
f98fc17b
PA
82872018-01-05 Pedro Alves <palves@redhat.com>
8288
8289 PR gdb/22670
8290 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
8291 exercise lower case too, and to exercise both full matching and
8292 wild matching.
8293
342f8240
JB
82942018-01-05 Joel Brobecker <brobecker@adacore.com>
8295
8296 * gdb.ada/rename_subscript_param: New testcase.
8297
7150d33c
JG
82982018-01-05 Jerome Guitton <guitton@adacore.com>
8299
8300 * gdb.ada/arr_acc_idx_w_gap: New testcase.
8301
cc0e770c
JB
83022018-01-05 Joel Brobecker <brobecker@adacore.com>
8303
8304 * gdb.ada/convvar_comp: New testcase.
8305
672a41aa 83062018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
8307
8308 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
8309 (My_Table): New global variable.
8310 * testsuite/gdb.ada/array_char_idx.exp: Add test.
8311
7365ec2f
JB
83122018-01-04 Joel Brobecker <brobecker@adacore.com>
8313
8314 PR gdb/22670
8315 * gdb.ada/maint_with_ada: New testcase.
8316
289483b6
JB
83172018-01-04 Joel Brobecker <brobecker@adacore.com>
8318
8319 PR gdb/22670
8320 * gdb.ada/bp_c_mixed_case: New testcase.
8321
344420da
JB
83222018-01-04 Joel Brobecker <brobecker@adacore.com>
8323
8324 PR gdb/22670
8325 * gdb.ada/complete.exp: Add "complete break ada" test.
8326
66fc87a0
JB
83272018-01-04 Joel Brobecker <brobecker@adacore.com>
8328
8329 PR gdb/22670
8330 * gdb.ada/info_addr_mixed_case: New testcase.
8331
9f757bf7
XR
83322018-01-03 Xavier Roirand <roirand@adacore.com>
8333
8334 * gdb.ada/excep_handle.exp: New testcase.
8335 * gdb.ada/excep_handle/foo.adb: New file.
8336 * gdb.ada/excep_handle/pck.ads: New file.
8337
bd570f80
JB
83382018-01-03 Joel Brobecker <brobecker@adacore.com>
8339
8340 * gdb.base/step-line.c: Add extra empty line in copyright header.
8341 * gdb.base/step-line.inp: Likewise.
8342
9fe561ab
JB
83432018-01-02 Joel Brobecker <brobecker@adacore.com>
8344
8345 * gdb.ada/dyn_stride.exp: Add slice test.
8346
a405673c
JB
83472018-01-02 Joel Brobecker <brobecker@adacore.com>
8348
8349 * gdb.ada/dyn_stride: New testcase.
8350
cef0f868
SH
83512017-12-27 Stafford Horne <shorne@gmail.com>
8352
8353 * gdb.xml/extra-regs.xml: Add example foo reggroup.
8354 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
8355
b67d92b0
SH
83562017-12-27 Stafford Horne <shorne@gmail.com>
8357
8358 * gdb.base/reggroups.c: New file.
8359 * gdb.base/reggroups.exp: New file.
8360
eccab96d
JB
83612017-12-18 Joel Brobecker <brobecker@adacore.com>
8362
8363 * gdb.dwarf2/ada-valprint-error.c: New file.
8364 * gdb.dwarf2/ada-valprint-error.exp: New file.
8365
0e2da9f0
JB
83662017-12-18 Joel Brobecker <brobecker@adacore.com>
8367
8368 * gdb.ada/assign_arr: New testcase.
8369
cb923fcc
XR
83702017-12-18 Xavier Roirand <roirand@adacore.com>
8371
8372 * gdb.ada/funcall_ptr: New testcase.
8373
7c161838
SDJ
83742017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8375
8376 PR cli/16224
8377 * gdb.base/ptype-offsets.cc: New file.
8378 * gdb.base/ptype-offsets.exp: New file.
8379
1af17fd9
YQ
83802017-12-15 Yao Qi <yao.qi@linaro.org>
8381
8382 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
8383 if XML is disabled.
8384
828d5846
XR
83852017-12-15 Xavier Roirand <roirand@adacore.com>
8386
8387 * gdb.ada/same_component_name: New testcase.
8388
79e8fcaa
JB
83892017-12-14 Joel Brobecker <brobecker@adacore.com>
8390
8391 * gdb.ada/str_binop_equal: New testcase.
8392
e05fa6f9
JB
83932017-12-14 Joel Brobecker <brobecker@adacore.com>
8394
8395 * gdb.ada/task_switch_in_core: New testcase.
8396
b89641ba
SM
83972017-12-13 Simon Marchi <simon.marchi@ericsson.com>
8398
8399 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
8400 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
8401 call test_bkpt_qualified.
8402 (test_bkpt_qualified): New proc.
8403
6892d2e4
PA
84042017-12-13 Pedro Alves <palves@redhat.com>
8405
8406 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
8407 Tighten regexp by matching with an anchor.
8408
a22ecf70
PA
84092017-12-13 Pedro Alves <palves@redhat.com>
8410
8411 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
8412 ("expression with namespace"): New set of tests.
8413 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
8414 (Nested::Test_NS::qux): New.
8415 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
8416 defaults to 'start_quote_char' and 'end_quote_char' parameters.
8417
9937536c
JB
84182017-12-13 Joel Brobecker <brobecker@adacore.com>
8419
8420 * gdb.base/server-del-break.c: New file.
8421 * gdb.base/server-del-break.exp: New file.
8422
fe49c6f5
SH
84232017-12-12 Stafford Horne <shorne@gmail.com>
8424
8425 * gdb.xml/tdesc-regs.exp: Add or1k support.
8426
c3d18620
SH
84272017-12-12 Stafford Horne <shorne@gmail.com>
8428
8429 * gdb.base/bp-permanent.c: Define nop of or1k.
8430
c5f9cfc8
JB
84312017-12-11 Joel Brobecker <brobecker@adacore.com>
8432
8433 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
8434 output with components being reordered.
8435
a9c135fc
JB
84362017-12-11 Joel Brobecker <brobecker@adacore.com>
8437
8438 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
8439 output with components being reordered.
8440
927aa2e7
JK
84412017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8442 Pedro Alves <palves@redhat.com>
8443
8444 * gdb.base/maint.exp (check for .gdb_index): Check also for
8445 .debug_names.
8446 * gdb.dlang/watch-loc.c (.debug_aranges): New.
8447 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
8448 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
8449 (.gdb_index used after symbol reloading): Support also .debug_names.
8450 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
8451
f17d9474
YQ
84522017-12-08 Yao Qi <yao.qi@linaro.org>
8453
8454 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8455 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
8456
a0de8c21
YQ
84572017-12-08 Yao Qi <yao.qi@linaro.org>
8458
8459 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8460 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
8461
a738ea1d
YQ
84622017-12-08 Yao Qi <yao.qi@linaro.org>
8463
8464 * gdb.arch/aarch64-tagged-pointer.c: New file.
8465 * gdb.arch/aarch64-tagged-pointer.exp: New file.
8466
1cd9a73b
SDJ
84672017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
8468
8469 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
8470 "int".
8471
fa6eb693
KS
84722017-12-07 Keith Seitz <keiths@redhat.com>
8473
8474 PR breakpoints/22569
8475 * gdb.linespec/ls-errs.exp: Change expected result of "break
8476 -source this file has spaces.c -line 3".
8477 Check that an explicit source file followed by whitespace is
8478 identified as an invalid explicit location.
8479
883fd55a
KS
84802017-12-07 Keith Seitz <keiths@redhat.com>
8481
8482 * gdb.cp/nested-types.cc: New file.
8483 * gdb.cp/nested-types.exp: New file.
8484 * lib/cp-support.exp: Load data-structures.exp library.
8485 (debug_cp_test_ptype_class): New global.
8486 (cp_ptype_class_verbose, next_line): New procedures.
8487 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
8488 Add and document new return value.
8489 Switch the list of lines to a queue.
8490 Add support for new `type' key for nested type definitions.
8491 Add debugging/troubleshooting messages.
8492 * lib/data-structures.exp: New file.
8493
ec72db3e
SM
84942017-12-07 Simon Marchi <simon.marchi@ericsson.com>
8495
8496 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
8497 with proc_with_prefix, don't use with_test_prefix.
8498
99598d71
TT
84992017-12-07 Tom Tromey <tom@tromey.com>
8500
8501 * gdb.base/break.exp: Add test for empty "commands".
8502
a8806230
YQ
85032017-12-07 Yao Qi <yao.qi@linaro.org>
8504
8505 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
8506 malloc and catch syscall.
8507
824cc835
PM
85082017-12-07 Phil Muldoon <pmuldoon@redhat.com>
8509
e79be6e5 8510 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
8511 tests for explicit locations.
8512
7cc244de
PA
85132017-12-06 Pedro Alves <palves@redhat.com>
8514
8515 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
8516 force-disabling XML descriptions.
8517
50a1fdd5
PA
85182017-12-04 Pedro Alves <palves@redhat.com>
8519
8520 PR gdb/22499
8521 * gdb.arch/amd64-disp-step-avx.S: New file.
8522 * gdb.arch/amd64-disp-step-avx.exp: New file.
8523
f0fb2488
PA
85242017-12-03 Pedro Alves <palves@redhat.com>
8525
8526 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
8527 and <string.h>.
8528 (parent_function): Print distinct messages when waitpid fails, or
8529 the child exits with a signal, or the child exits for an unhandled
8530 reason.
8531 * gdb.threads/process-dies-while-detaching.exp
8532 (detach_and_expect_exit): New 'inf_output_re' parameter and use
8533 it. Wait for both inferior output and GDB's prompt. Use an
8534 indirect spawn id list.
8535 (do_detach): New parameter 'child_exit'. Use it to compute
8536 expected inferior output.
8537 (test_detach, test_detach_watch, test_detach_killed_outside):
8538 Adjust to pass down the expected child exit kind.
8539
97cbe998
SDJ
85402017-12-01 Joel Brobecker <brobecker@adacore.com>
8541 Sergio Durigan Junior <sergiodj@redhat.com>
8542 Pedro Alves <palves@redhat.com>
8543
8544 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
8545
40fc416f
SDJ
85462017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
8547
8548 * gdb.base/relocate.exp: Add tests to guarantee that arguments
8549 to 'symbol-file' and 'add-symbol-file' can be
8550 position-independent.
8551
1cc75e92
YQ
85522017-12-01 Yao Qi <yao.qi@linaro.org>
8553
8554 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
8555 the URL in copyright header.
8556 * gdb.arch/aarch64-fp.exp: Likewise.
8557 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
8558 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
8559 * gdb.base/expand-psymtabs.exp: Likewise.
8560 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
8561 * gdb.fortran/common-block.exp: Likewise.
8562 * gdb.fortran/common-block.f90: Likewise.
8563 * gdb.fortran/logical.exp: Likewise.
8564 * gdb.fortran/vla-datatypes.f90: Likewise.
8565 * gdb.fortran/vla-sub.f90: Likewise.
8566
875fb7a7
JB
85672017-11-30 Joel Brobecker <brobecker@adacore.com>
8568
8569 * gdb.ada/repeat_dyn: New testcase.
8570
6f14765f
UW
85712017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8572
8573 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
8574 Update for changed thread numbering.
8575 * gdb.cell/bt.exp: Update for changed GDB output.
8576
f1af7b94
SM
85772017-11-30 Simon Marchi <simon.marchi@ericsson.com>
8578
8579 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
8580 setting isremote by hand.
8581 * boards/dwarf4-gdb-index.exp: Likewise.
8582 * boards/fission.exp: Likewise.
8583 * boards/stabs.exp: Likewise.
8584
e3919f3e
PA
85852017-11-30 Pedro Alves <palves@redhat.com>
8586
8587 * gdb.linespec/cpls-ops.exp
8588 (check_explicit_skips_function_argument): Extract the underlying
8589 type of size_t instead of hardcoding it.
8590
bd69330d
PA
85912017-11-29 Pedro Alves <palves@redhat.com>
8592
8593 PR c++/19436
8594 * gdb.linespec/cpls-abi-tag.cc: New file.
8595 * gdb.linespec/cpls-abi-tag.exp: New file.
8596
a20714ff
PA
85972017-11-29 Pedro Alves <palves@redhat.com>
8598
8599 * gdb.base/langs.exp: Use -qualified.
8600 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
8601 it.
8602 * gdb.cp/namespace.exp: Use -qualified.
8603 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
8604 (overload-3, template-overload, template-ret-type, const-overload)
8605 (const-overload-quoted, anon-ns, ambiguous-prefix): New
8606 procedures.
8607 (test_driver): Call them.
8608 * gdb.cp/save-bp-qualified.cc: New.
8609 * gdb.cp/save-bp-qualified.exp: New.
8610 * gdb.linespec/explicit.exp: Test -qualified.
8611 * lib/completion-support.exp (completion::explicit_opts_list): Add
8612 "-qualified".
8613 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
8614
f6f1d339
PM
86152017-11-29 Phil Muldoon <pmuldoon@redhat.com>
8616
8617 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
8618
02ca603a
TT
86192017-11-29 Tom Tromey <tom@tromey.com>
8620
8621 * gdb.base/relocate.exp: Update invalid argument test.
8622 Add new tests for invalid arguments.
8623
ed6c0bfb
TP
86242017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8625
8626 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
8627 Return 0 as a long.
8628 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
8629
f106e10e
TP
86302017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8631
8632 * gdb.cp/breakpoint.cc (bar): Set return type to void.
8633 * gdb.cp/psymtab-parameter.cc (func): Likewise.
8634 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
8635 func ().
8636 * gdb.cp/shadow.cc (B.func): Return 0.
8637
10329bb2
JB
86382017-11-27 Joel Brobecker <brobecker@adacore.com>
8639
8640 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
8641 expected output in gdb_expect call to allow the exception
8642 message to be present as well. Fix syntax confusion to avoid
8643 TCL thinking that exception_name is an array.
8644
617cd4bc
UW
86452017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
8646
8647 * gdb.arch/spu-info.c: Include <unistd.h>.
8648 (do_signal_test): Fix broken calls to write.
8649 * gdb.arch/spu-info.exp: Use prepare_for_testing.
8650 Fix checks for empty mailboxes. Update signal tests for corrected
8651 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
8652 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
8653 * gdb.cell/arch.exp: Use standard_output_file.
8654 * gdb.cell/break.exp: Likewise.
8655 * gdb.cell/bt.exp: Likewise.
8656 * gdb.cell/core.exp: Likewise.
8657 * gdb.cell/dwarfaddr.exp: Likewise.
8658 * gdb.cell/ea-cache.exp: Likewise.
8659 * gdb.cell/ea-standalone.exp: Likewise.
8660 * gdb.cell/f-regs.exp: Likewise.
8661 * gdb.cell/fork.exp: Likewise.
8662 * gdb.cell/gcore.exp: Likewise.
8663 * gdb.cell/mem-access.exp: Likewise.
8664 * gdb.cell/ptype.exp: Likewise.
8665 * gdb.cell/registers.exp: Likewise.
8666 * gdb.cell/sizeof.exp: Likewise.
8667 * gdb.cell/solib-symbol.exp: Likewise.
8668 * gdb.cell/solib.exp: Likewise.
617cd4bc 8669
a81aaca0
PA
86702017-11-25 Pedro Alves <palves@redhat.com>
8671
8672 * gdb.base/complete-empty.exp: New file.
8673 * gdb.base/completion.exp: Adjust.
8674
6a3c6ee4
PA
86752017-11-25 Pedro Alves <palves@redhat.com>
8676
8677 * gdb.linespec/cpls-ops.cc: New file.
8678 * gdb.linespec/cpls-ops.exp: New file.
8679 * lib/completion-support.exp (test_complete_prefix_range_re): New,
8680 factored out from ...
8681 (test_complete_prefix_range): ... this.
8682
8955eb2d
PA
86832017-11-24 Pedro Alves <palves@redhat.com>
8684
8685 * gdb.linespec/cpcompletion.exp: New file.
8686 * gdb.linespec/cpls-hyphen.cc: New file.
8687 * gdb.linespec/cpls.cc: New file.
8688 * gdb.linespec/cpls2.cc: New file.
8689 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
8690 test to use test_gdb_complete_unique. Add label completion,
8691 keyword completion and explicit location completion tests.
8692 * lib/completion-support.exp: New file.
8693
e547c119
JB
86942017-11-24 Joel Brobecker <brobecker@adacore.com>
8695
8696 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
8697 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
8698 when hitting an exception catchpoint.
8699
7c3c1aa8
YQ
87002017-11-22 Yao Qi <yao.qi@linaro.org>
8701
8702 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
8703
41bd68f5
SM
87042017-11-22 Simon Marchi <simon.marchi@ericsson.com>
8705
8706 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
8707 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
8708 * gdb.dwarf2/info-locals-optimized-out.c: New file.
8709
1daad298
YQ
87102017-11-22 Yao Qi <yao.qi@linaro.org>
8711
8712 * gdb.base/info-os.exp: Pass pthreads.
8713 * gdb.multi/multi-attach.exp: Likewise.
8714
88465e87
YQ
87152017-11-22 Yao Qi <yao.qi@linaro.org>
8716
8717 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
8718 compiler.
8719
dc196b23
YQ
87202017-11-22 Yao Qi <yao.qi@linaro.org>
8721
8722 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
8723 * gdb.base/break-interp.exp: Likewise.
8724 * gdb.base/jit-attach-pie.exp: Likewise.
8725
2400729e
UW
87262017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8727
8728 * gdb.base/float128.c (large128): New variable.
8729 * gdb.base/float128.exp: Add test to print largest __float128 value.
8730
7a26362d
UW
87312017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8732
8733 * gdb.arch/vsx-regs.exp: Update register content checks.
8734
ed0f4273
UW
87352017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
8736
8737 * gdb.arch/ppc-longdouble.exp: New file.
8738 * gdb.arch/ppc-longdouble.c: Likewise.
8739
a25d69c6
PA
87402017-11-21 Pedro Alves <palves@redhat.com>
8741
8742 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
8743
73fcf641
PA
87442017-11-20 Pedro Alves <palves@redhat.com>
8745
8746 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
8747 (long_double_typedef): New typedefs.
8748 Use DEF on double and long double.
8749 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
8750 cases.
8751 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
8752 and 'long_double_ptr_same_size' locals. Use them to decide
8753 whether cast from array/function to float is valid/invalid.
8754
71a3c369
TT
87552017-11-17 Tom Tromey <tom@tromey.com>
8756
8757 * gdb.rust/traits.rs: New file.
8758 * gdb.rust/traits.exp: New file.
8759
ced9779b
JB
87602017-11-17 Joel Brobecker <brobecker@adacore.com>
8761
8762 * gdb.ada/minsyms: New testcase.
8763
a0922d80
PA
87642017-11-16 Pedro Alves <palves@redhat.com>
8765
8766 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
8767 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
8768
ea04e54c
PA
87692017-11-16 Pedro Alves <palves@redhat.com>
8770
8771 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
8772 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
8773
e849ea89
PA
87742017-11-16 Pedro Alves <palves@redhat.com>
8775
8776 * gdb.server/reconnect-ctrl-c.c: New file.
8777 * gdb.server/reconnect-ctrl-c.exp: New file.
8778
d8ae99a7
PM
87792017-11-16 Phil Muldoon <pmuldoon@redhat.com>
8780
8781 * gdb.python/py-rbreak.exp: New file.
8782 * gdb.python/py-rbreak.c: New file.
8783 * gdb.python/py-rbreak-func2.c: New file.
8784
968a13f8
PA
87852017-11-16 Pedro Alves <palves@redhat.com>
8786
8787 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
8788 pattern.
8789 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
8790 GDB.
8791
71774bc9
SM
87922017-11-15 Simon Marchi <simon.marchi@ericsson.com>
8793
8794 * gdb.tui/completionn.exp (test_tab_completion): Add space in
8795 regex.
8796
ddbb44cf
SM
87972017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
8798
8799 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
8800 test names.
8801
584a564f
PA
88022017-11-09 Pedro Alves <palves@redhat.com>
8803
8804 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
8805 factored out from ...
8806 (top level): ... here, and adjusted to avoid expecting beyond the
8807 prompt in a single gdb_test_multiple.
8808
5ed7a928
PA
88092017-11-09 Pedro Alves <palves@redhat.com>
8810
8811 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
8812 output.
8813 * gdb.server/ext-attach.exp ("kill" test): Likewise.
8814 * gdb.server/ext-restart.exp ("kill" test): Likewise.
8815 * gdb.server/ext-run.exp ("kill" test): Likewise.
8816 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
8817
a60e0738
PA
88182017-11-09 Pedro Alves <palves@redhat.com>
8819
8820 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
8821 match till end of line.
8822
2c88253f
PA
88232017-11-09 Pedro Alves <palves@redhat.com>
8824
8825 * gdb.base/memattr.exp: Tighten regexes to match the end line.
8826
c7a38517
PA
88272017-11-09 Pedro Alves <palves@redhat.com>
8828
8829 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
8830 New procedures, factored out from ...
8831 (top level): ... here, and adjusted to avoid expecting beyond the
8832 prompt in one go.
8833
f29f4b6b
PA
88342017-11-09 Pedro Alves <palves@redhat.com>
8835
8836 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
8837 output. Fix '?' match.
8838
286acbb5
JB
88392017-11-08 Joel Brobecker <brobecker@adacore.com>
8840
8841 * gdb.ada/scoped_watch: New testcase.
8842 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
8843 which is actually correct.
8844 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
8845 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
8846
62d7ae92
PA
88472017-11-08 Pedro Alves <palves@redhat.com>
8848
8849 * gdb.gdb/complaints.exp (test_initial_complaints)
8850 (test_serial_complaints, test_short_complaints): Call
8851 complaint_internal instead of complaint.
8852
280ca31f
DT
88532017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
8854
8855 * gdb.threads/tls-core.c: New file.
8856 * gdb.threads/tls-core.exp: Likewise.
8857
b5ec771e
PA
88582017-11-08 Pedro Alves <palves@redhat.com>
8859
8860 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
8861 (p Exported_Capitalized): New test.
8862 (p exported_capitalized): New test.
8863
a02b41a7
PA
88642017-11-07 Pedro Alves <palves@redhat.com>
8865
8866 * gdb.cp/ena-dis-br-range.exp: Add more tests.
8867
95e95a6d
PA
88682017-11-07 Pedro Alves <palves@redhat.com>
8869
8870 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
8871 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
8872 (disable_invalid, disable_inverted, disable_negative): New
8873 procedures.
8874 ("bad numbers"): New set of tests.
8875
cee62dbd
PA
88762017-11-07 Pedro Alves <palves@redhat.com>
8877
8878 * gdb.cp/ena-dis-br-range.exp: Add tests.
8879
cc638e86
PA
88802017-11-07 Pedro Alves <palves@redhat.com>
8881
8882 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
8883
d0fe4701
XR
88842017-11-07 Xavier Roirand <roirand@adacore.com>
8885 Pedro Alves <palves@redhat.com>
8886
8887 * gdb.base/ena-dis-br.exp: Add reference to
8888 gdb.cp/ena-dis-br-range.exp.
8889 * gdb.cp/ena-dis-br-range.exp: New file.
8890 * gdb.cp/ena-dis-br-range.cc: New file.
8891
46f67f80
PA
88922017-11-06 Pedro Alves <palves@redhat.com>
8893
8894 * gdb.base/attach-non-pgrp-leader.c: New.
8895 * gdb.base/attach-non-pgrp-leader.exp: New.
8896
726e1356
PA
88972017-11-06 Pedro Alves <palves@redhat.com>
8898
8899 * configure.ac: No longer check for termio.h and sgtty.h.
8900 * configure: Regenerate.
8901 * remote-utils.c: Include termios.h instead of gdb_termios.h.
8902 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
8903 Remove termio and sgtty code.
8904
50ab6ace
YQ
89052017-11-03 Yao Qi <yao.qi@linaro.org>
8906
8907 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
8908 in GDB is disabled.
8909
8e68731c
YQ
89102017-11-03 Yao Qi <yao.qi@linaro.org>
8911
8912 * gdb.python/py-thrhandle.exp: Skip it if python is not
8913 enabled.
8914
3a87ae65
SM
89152017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
8916
8917 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
8918 as a breakpoint command.
8919
484d8d36
MD
89202017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
8921
8922 PR python/21213
8923 * gdb.python/py-infthread.exp: Test calling
8924 InferiorThread.inferior () multiple times in a row.
8925
4a27f119
KS
89262017-10-27 Keith Seitz <keiths@redhat.com>
8927
8928 * gdb.opt/inline-break.exp (break_info_1): New procedure.
8929 Test "info break" for every inlined function breakpoint.
8930
bb11dd58
YQ
89312017-10-27 Yao Qi <yao.qi@linaro.org>
8932
8933 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
8934
a43f3893
PF
89352017-10-26 Patrick Frants <osscontribute@gmail.com>
8936
8937 * gdb.cp/classes.exp (test_static_members): Test printing
8938 Outer::instance.
8939 * gdb.cp/classes.c (struct Inner, struct Outer): New.
8940 (Inner::instance, Outer::instance): New.
8941
792ccf00
PA
89422017-10-24 Pedro Alves <palves@redhat.com>
8943
8944 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
8945 extra console" test in two stages.
8946
eb2bfbad
PA
89472017-10-24 Pedro Alves <palves@redhat.com>
8948
8949 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
8950
1f75a651
PA
89512017-10-24 Pedro Alves <palves@redhat.com>
8952
8953 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
8954 loop.
8955
779990d9
PA
89562017-10-24 Pedro Alves <palves@redhat.com>
8957
8958 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
8959 $attempt" and "stoppedtry $stoppedtry" test prefixes.
8960
ad9b8f5d
PA
89612017-10-24 Pedro Alves <palves@redhat.com>
8962
8963 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
8964 parameter and handle it. Don't output read value in test name.
8965
fee6da6e
PA
89662017-10-24 Pedro Alves <palves@redhat.com>
8967
8968 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
8969 custom test name.
8970
10389c2c
PA
89712017-10-24 Pedro Alves <palves@redhat.com>
8972
8973 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
8974 include the unstable output directory name in the test's name.
8975 (initial_setup_simple) <'set args'>: Use custom test name.
8976
a80e65a9
PA
89772017-10-24 Pedro Alves <palves@redhat.com>
8978
8979 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
8980 with explicit test name.
8981
15763a09
PA
89822017-10-20 Pedro Alves <palves@redhat.com>
8983
8984 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
8985 'wait -i'. Use gdb_assert and remote_close.
8986
49a4ce2e
AB
89872017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
8988
8989 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
8990 number from variable rather than hard-coded.
8991
a75868f5
PA
89922017-10-19 Pedro Alves <palves@redhat.com>
8993
8994 * gdb.base/long-inferior-output.c: New file.
8995 * gdb.base/long-inferior-output.exp: New file.
8996
c8ba13ad
KS
89972017-11-18 Keith Seitz <keiths@redhat.com>
8998
8999 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
9000 method.
9001 (main): Call it.
9002 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
9003 Add additional user-defined conversion operator tests.
9004
b27de576
PA
90052017-10-17 Pedro Alves <palves@redhat.com>
9006
9007 * boards/native-stdio-gdbserver.exp: Load "local-board".
9008
8484c955
PA
90092017-10-17 Pedro Alves <palves@redhat.com>
9010
9011 * gdb.base/quit-live.c: New file.
9012 * gdb.base/quit-live.exp: New file.
9013
83d5a34d
KS
90142017-10-16 Keith Seitz <keiths@redhat.com>
9015
9016 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
9017 (class_with_protected_typedef, class_with_private_typedef)
9018 (struct_with_public_typedef, struct_with_protected_typedef)
9019 (struct_with_private_typedef): New classes/structs.
9020 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
9021 typedefs and access specifiers.
9022
739b3f1d
PA
90232017-10-16 Pedro Alves <palves@redhat.com>
9024 Simon Marchi <simon.marchi@polymtl.ca>
9025
9026 * README (Local vs Remote vs Native): New section.
9027 * boards/local-board.exp: New file, with bits factored out from
9028 ...
9029 * boards/native-extended-gdbserver.exp: ... here. Load
9030 "local-board".
9031 * boards/native-gdbserver.exp: Load "local-board".
9032 (${board}_spawn, ${board}_exec): Delete.
9033 * boards/native-stdio-gdbserver.exp: Most contents factored out to
9034 ...
9035 * boards/stdio-gdbserver-base.exp: ... this new file.
9036 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
9037 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
9038 procedure.
9039 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
9040 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
9041 stdio_gdbserver_command.
9042 (${board}_get_remote_address, ${board}_get_comm_port)
9043 (${board}_download, ${board}_upload): Delete.
9044 (get_target_remote_pipe_cmd): New.
9045
fe68b953
SM
90462017-10-16 Simon Marchi <simon.marchi@ericsson.com>
9047
9048 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
9049 test_bkpt_deletion, test_bkpt_cond_and_cmds,
9050 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
9051 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
9052 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
9053 remove with_test_prefix.
9054
300b6685
PA
90552017-10-13 Pedro Alves <palves@redhat.com>
9056
9057 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
9058 * gdb.base/annota1.exp: Use it instead of is_remote.
9059 * gdb.base/annota3.exp: Use it instead of is_remote.
9060 * gdb.cp/annota2.exp: Use it instead of is_remote.
9061 * gdb.cp/annota3.exp: Use it instead of is_remote.
9062 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
9063
50500caf
PA
90642017-10-13 Pedro Alves <palves@redhat.com>
9065
9066 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
9067 (test_num_test_vars, run_and_count_vars, find_env)
9068 (test_set_unset_env, test_inherit_env_var): New procedures.
9069 (top level): Use them.
9070
dad0c6d2
PA
90712017-10-13 Pedro Alves <palves@redhat.com>
9072
9073 * lib/selftest-support.exp (selftest_setup): Extend comments, and
9074 also skip on stub-like targets.
9075
8b0553c1
PA
90762017-10-13 Pedro Alves <palves@redhat.com>
9077
9078 PR gdb/22293
9079 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
9080 (top level): Move some tests to ...
9081 (test_not_found): ... this new procedure.
9082 (top level): Call it.
9083
7594f623
PA
90842017-10-13 Pedro Alves <palves@redhat.com>
9085
9086 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
9087 expect different "info terminal" output if testing with a
9088 non-native target.
9089
ebe3b402
PA
90902017-10-13 Pedro Alves <palves@redhat.com>
9091 Simon Marchi <simon.marchi@polymtl.ca>
9092
9093 PR python/12966
9094 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
9095
42f1b161
PA
90962017-10-13 Pedro Alves <palves@redhat.com>
9097
9098 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
9099 already.
9100
8d6ef72b
PA
91012017-10-13 Pedro Alves <palves@redhat.com>
9102
9103 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
9104 is_remote.
9105
d7bcd5b8
PA
91062017-10-13 Pedro Alves <palves@redhat.com>
9107
9108 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
9109 is_remote.
9110
df479dc6
PA
91112017-10-13 Pedro Alves <palves@redhat.com>
9112
9113 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
9114 is set.
9115 (corefile_test_attach): Likewise. Check can_spawn_for_attach
9116 instead of is_remote.
9117
23fb630a
PA
91182017-10-13 Pedro Alves <palves@redhat.com>
9119
9120 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
9121 (top level): Add comment.
9122
cc77b1dc
PA
91232017-10-13 Pedro Alves <palves@redhat.com>
9124
9125 * gdb.base/remote.exp (top level): Fix comment typo and add
9126 missing return.
9127
27c9e813
PA
91282017-10-13 Pedro Alves <palves@redhat.com>
9129 Simon Marchi <simon.marchi@polymtl.ca>
9130
9131 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
9132 calls and add comments. Skip test if use_gdb_stub is set.
9133 (top level): Use "set cwd" command instead of "cd" command.
9134
5e830d98
PA
91352017-10-13 Pedro Alves <palves@redhat.com>
9136
9137 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
9138 is_remote target check.
9139
f5ca0032
PA
91402017-10-13 Pedro Alves <palves@redhat.com>
9141
9142 * gdb.base/scope.exp: Use build_executable + clean_restart +
9143 gdb_file_cmd instead of prepare_for_testing and no longer skip
9144 "before run" tests on is_remote target boards. Update comments.
9145 * boards/native-extended-gdbserver.exp
9146 (extended_gdbserver_load_last_file): New, factored out from ...
9147 (gdb_load): ... this. Move further below and add comment.
9148 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
9149
8aed1c0d
PA
91502017-10-12 Pedro Alves <palves@redhat.com>
9151
9152 * gdb.base/attach.exp: Remove references to gdb64.
9153 * gdb.base/dbx.exp: Remove references to gdb64.
9154
cfa34c87
SM
91552017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9156 Pedro Alves <palves@redhat.com>
9157
9158 * gdb.base/label.exp: Remove is_remote target check.
9159
9192b7de
PA
91602017-10-12 Pedro Alves <palves@redhat.com>
9161
9162 * gdb.base/auvx.exp (coredir): Update comment.
9163 (top level) <core_works>: Use "set cwd" command instead of "cd"
9164 command.
9165
6bf0052d
PA
91662017-10-12 Pedro Alves <palves@redhat.com>
9167 Simon Marchi <simon.marchi@polymtl.ca>
9168
9169 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
9170 target boards.
9171
e48ef82d
PA
91722017-10-12 Pedro Alves <palves@redhat.com>
9173 Simon Marchi <simon.marchi@polymtl.ca>
9174
9175 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
9176 Instead skip if there's any gdb_protocol set.
9177
8d7aea57
SM
91782017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9179 Pedro Alves <palves@redhat.com>
9180
9181 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
9182
30440677
PA
91832017-10-12 Pedro Alves <palves@redhat.com>
9184 Simon Marchi <simon.marchi@polymtl.ca>
9185
9186 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
9187 instead of on dejagnu remote boards.
9188
4e04f045 91892017-10-12 Pedro Alves <palves@redhat.com>
175654b9 9190 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
9191
9192 * gdb.base/inferior-died.exp: Remove is_remote and isnative
9193 checks. Use build_executable + clean_restart instead of
9194 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
9195 of enabling non-stop after starting gdb.
9196
871a186e
PA
91972017-10-12 Pedro Alves <palves@redhat.com>
9198
9199 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
9200 * gdb.threads/non-ldr-exc-2.exp: Ditto.
9201 * gdb.threads/non-ldr-exc-3.exp: Ditto.
9202 * gdb.threads/non-ldr-exc-4.exp: Ditto.
9203
56d704da
AK
92042017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
9205
9206 * gdb.arch/arc-tdesc-cpu.exp: New file.
9207 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
9208
2f20e312
SM
92092017-10-10 Simon Marchi <simon.marchi@ericsson.com>
9210
9211 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
9212
65630365
PA
92132017-10-10 Pedro Alves <palves@redhat.com>
9214
9215 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
9216 expect CLI output.
9217
bf469271
PA
92182017-10-10 Pedro Alves <palves@redhat.com>
9219
9220 * lib/selftest-support.exp (selftest_setup): Update for
9221 captured_command_loop's prototype change.
9222
777a42f1
PA
92232017-10-09 Pedro Alves <palves@redhat.com>
9224
9225 Test both arch1=>arch2 and arch2=>arch1.
9226
9227 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
9228 (srcfile2, binfile2, march1, march2): Remove globals. Largely
9229 factored out to...
9230 (append_arch1_options, append_arch2_options, append_arch_options)
9231 (build_executables): New procedures.
9232 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
9233 local.
9234 (top level): Add new 'first_arch' testing axis.
9235
cbd2b4e3
PA
92362017-10-09 Pedro Alves <palves@redhat.com>
9237
9238 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
9239 (barrier): New.
9240 (thread_start, all_started): New functions.
9241 (main): Spawn new thread and wait until it is scheduled.
9242 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
9243 option.
9244 (do_test): Add 'selected_thread' parameter. Run to all_started
9245 instead of main. Explicitly set the breakpoint at main. Switch
9246 to the SELECTED_THREAD thread.
9247 (top level): Test handling the exec event with either the main
9248 thread or the second thread selected.
9249
5c9e4427
PA
92502017-10-09 Pedro Alves <palves@redhat.com>
9251
9252 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
9253 logic. Move STOP marker after the value checks.
9254 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
9255 regexp.
9256
b3b7c423
SL
92572017-10-06 Sandra Loosemore <sandra@codesourcery.com>
9258
9259 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
9260
3b4b2f16
UW
92612017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
9262
9263 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
9264 integer-to-dfp conversion.
9265 * gdb.base/dfp-test.exp: Likewise.
9266
5cd63fda
PA
92672017-10-04 Pedro Alves <palves@redhat.com>
9268
9269 * gdb.multi/hangout.c: Include <unistd.h>.
9270 (hangout_loop): New function.
9271 (main): Call alarm. Call hangout_loop in a loop.
9272 * gdb.multi/hello.c: Include <unistd.h>.
9273 (hello_loop): New function.
9274 (main): Call alarm. Call hangout_loop in a loop.
9275 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
9276 inferior with the other selected.
9277
4c71c105
SM
92782017-10-04 Simon Marchi <simon.marchi@ericsson.com>
9279
9280 * gdb.mi/list-thread-groups-available.exp: New file.
9281 * gdb.mi/list-thread-groups-available.c: New file.
9282
bc3b087d
SDJ
92832017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9284
9285 * gdb.base/set-cwd.exp: Make it available on
9286 native-extended-gdbserver.
9287
d092c5a2
SDJ
92882017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9289
9290 * gdb.base/set-cwd.c: New file.
9291 * gdb.base/set-cwd.exp: Likewise.
9292
45320ffa
TT
92932017-10-02 Tom Tromey <tom@tromey.com>
9294
9295 PR rust/22236:
9296 * gdb.rust/simple.rs (main): New variable "fslice".
9297 * gdb.rust/simple.exp: Add slice tests. Update string tests.
9298
b3e3859b
TT
92992017-10-02 Tom Tromey <tom@tromey.com>
9300
9301 * gdb.rust/simple.exp: Test ptype of a slice.
9302
01af5e0d
TT
93032017-10-02 Tom Tromey <tom@tromey.com>
9304
9305 * gdb.rust/simple.exp: Test index of slice.
9306
a9bbfbd8
TT
93072017-09-27 Tom Tromey <tom@tromey.com>
9308
9309 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
9310
df8899e5
TP
93112017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
9312 Pedro Alves <palves@redhat.com>
9313
9314 * gdb.base/compare-sections.exp (get value of read-only section): Read
9315 as unsigned value.
9316 (corrupt read-only section): Likewise and don't set written if patching
9317 failed.
9318
757bf54b
KB
93192017-09-21 Kevin Buettner <kevinb@redhat.com>
9320
9321 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
9322 files.
9323
06871ae8
PA
93242017-09-20 Pedro Alves <palves@redhat.com>
9325
9326 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
9327 symbol names in gdb's output.
9328 * gdb.cp/overload.exp ("list all overloads"): Likewise.
9329
e5f25bc5
PA
93302017-09-20 Pedro Alves <palves@redhat.com>
9331
9332 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
9333 Rename to ...
9334 (test_list_ambiguous_symbol): ... this and add a symbol name
9335 parameter. Adjust.
9336 (test_list_ambiguous_function): Reimplement on top of
9337 test_list_ambiguous_symbol and also test listing ambiguous
9338 variables.
9339 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
9340 (ambiguous_fun): ... this.
9341 (ambiguous_var): New.
9342 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
9343 (ambiguous_fun): ... this.
9344 (ambiguous_var): New.
9345
4e5a4f58
JB
93462017-09-19 John Baldwin <jhb@FreeBSD.org>
9347
9348 * gdb.base/starti.c: New file.
9349 * gdb.base/starti.exp: New file.
9350 * lib/gdb.exp (gdb_starti_cmd): New procedure.
9351
26e53f3e
PA
93522017-09-14 Pedro Alves <palves@redhat.com>
9353
9354 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
9355 (top level): Use it instead of runto.
9356
cb791d59
TT
93572017-09-11 Tom Tromey <tom@tromey.com>
9358
9359 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
9360
7c96f8c1
TT
93612017-09-11 Tom Tromey <tom@tromey.com>
9362
9363 * gdb.python/py-infthread.exp: Add tests for new_thread event.
9364 * gdb.python/py-inferior.exp: Add tests for new inferior events.
9365
469412dd
CW
93662017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
9367
9368 * gdb.fortran/printing-types.exp: New file.
9369 * gdb.fortran/printing-types.exp: New file.
9370
e0f86435
BH
93712017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9372
9373 * gdb.fortran/vla-ptype.exp: Fix typos.
9374 * gdb.fortran/vla-value.exp: Same.
9375
9e9af4be
BH
93762017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9377
9378 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
9379 * gdb.mi/mi-var-child-f.exp: Likewise.
9380 * gdb.mi/mi-vla-fortran.exp: Likewise.
9381
a5ad232b 93822017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
9383 Christoph Weinmann <christoph.t.weinmann@intel.com>
9384 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
9385
9386 * gdb.fortran/ptr-indentation.f90: New file.
9387 * gdb.fortran/ptr-indentation.exp: New file.
9388
5aec60eb
TT
93892017-09-05 Tom Tromey <tom@tromey.com>
9390
9391 PR gdb/22010:
9392 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
9393
8f8f8152
TP
93942017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
9395
9396 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
9397
fbd1b771
JK
93982017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9399
9400 * gdb.threads/tls-nodebug-pie.c: New file.
9401 * gdb.threads/tls-nodebug-pie.exp: New file.
9402
5eb5f850
TT
94032017-09-05 Tom Tromey <tom@tromey.com>
9404
9405 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
9406 for rust.
9407
ae780a21
SM
94082017-09-05 Simon Marchi <simon.marchi@ericsson.com>
9409
9410 * gdb.multi/multi-arch-exec.exp: Test with different
9411 "follow-exec-mode" settings.
9412 (do_test): New procedure.
9413
3693fdb3
PA
94142017-09-04 Pedro Alves <palves@redhat.com>
9415
9416 * gdb.base/func-static.c (S::method const, S::method volatile)
9417 (S::method volatile const): New methods.
9418 (c_s, v_s, cv_s): New instances.
9419 (main): Call method() on them.
9420 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
9421 (cannot_resolve): New procedure.
9422 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
9423 print-quote-unquoted columns.
9424 (do_test): Test printing each scope too.
9425
e68cb8e0
PA
94262017-09-04 Pedro Alves <palves@redhat.com>
9427
9428 * gdb.base/local-static.exp: Also test with
9429 class::method::variable wholly quoted.
9430 * gdb.cp/m-static.exp (class::method::variable): Remove test.
9431
858be34c
PA
94322017-09-04 Pedro Alves <palves@redhat.com>
9433
9434 * gdb.base/local-static.c: New.
9435 * gdb.base/local-static.cc: New.
9436 * gdb.base/local-static.exp: New.
9437
46a4882b
PA
94382017-09-04 Pedro Alves <palves@redhat.com>
9439
9440 * gdb.asm/asm-source.exp: Add casts to int.
9441 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
9442 (dataglobal64_1, dataglobal64_2): New globals.
9443 * gdb.base/nodebug.exp: Test different expressions involving the
9444 new globals, with print, whatis and ptype. Add casts to int.
9445 * gdb.base/solib-display.exp: Add casts to int.
9446 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
9447 * gdb.cp/m-static.exp: Add cast to int.
9448 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
9449 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
9450 tls variable with no debug info without a cast. Test with a cast
9451 to int too.
9452 * gdb.trace/entry-values.exp: Add casts.
9453
2c5a2be1
PA
94542017-09-04 Pedro Alves <palves@redhat.com>
9455
9456 * gdb.base/nodebug.exp: Test that ptype's error about functions
9457 with unknown return type includes the function name too.
9458
7022349d
PA
94592017-09-04 Pedro Alves <palves@redhat.com>
9460
9461 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
9462 return type of munmap in infcall.
9463 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
9464 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
9465 type of ftell in infcall.
9466 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
9467 type of getpid in infcall.
9468 * gdb.base/infcall-exec.exp: Cast return type of execlp in
9469 infcall.
9470 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
9471 Bail on failure to extract the pid.
9472 * gdb.base/nodebug.c: #include <stdint.h>.
9473 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
9474 New functions.
9475 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
9476 Change expected output of print/whatis/ptype with functions with
9477 no debug info. Test all supported languages. Call
9478 test_call_promotion.
9479 * gdb.compile/compile.exp: Adjust expected output to expect
9480 warning.
9481 * gdb.threads/siginfo-threads.exp: Likewise.
9482
54990598
PA
94832017-09-04 Pedro Alves <palves@redhat.com>
9484
9485 * gdb.base/callfuncs.exp (do_function_calls): New parameter
9486 "prototypes". Test calling float functions via prototyped and
9487 unprototyped function pointers.
9488 (perform_all_tests): New parameter "prototypes". Pass it down.
9489 (top level): Pass down "prototypes" parameter to
9490 perform_all_tests.
9491
34d16ea2
SM
94922017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9493
9494 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
9495 Test with nested loops.
9496
9521ecda
SM
94972017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9498
9499 * gdb.base/commands.exp: Call the new procedures.
9500 (loop_break_test, loop_continue_test): New procedures.
9501
80a65e9b
SM
95022017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9503
9504 * gdb.base/commands.exp: Call new procedure.
9505 (define_if_without_arg_test): New procedure.
9506
e439fa14
PA
95072017-09-04 Pedro Alves <palves@redhat.com>
9508
9509 * gdb.base/list-ambiguous.exp: New file.
9510 * gdb.base/list-ambiguous0.c: New file.
9511 * gdb.base/list-ambiguous1.c: New file.
9512 * gdb.base/list.exp (test_list_range): Adjust expected output.
9513
0a2dde4a
SDJ
95142017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
9515
9516 * gdb.base/share-env-with-gdbserver.c: New file.
9517 * gdb.base/share-env-with-gdbserver.exp: Likewise.
9518
5e89eb3a
SM
95192017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9520
9521 * gdb.base/commands.exp (gdbvar_simple_if_test,
9522 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
9523 progvar_simple_if_test, progvar_simple_while_test,
9524 progvar_complex_if_while_test, user_defined_command_test,
9525 user_defined_command_args_eval,
9526 user_defined_command_args_stack_test,
9527 user_defined_command_manyargs_test, bp_deleted_in_command_test,
9528 temporary_breakpoint_commands,
9529 gdb_test_no_prompt, redefine_hook_test,
9530 redefine_backtrace_test): Remove "global gdb_prompt".
9531
fd437cbc
SM
95322017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9533
9534 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
9535 New proc, call it from toplevel.
9536
87215ad1
SDJ
95372017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
9538
9539 PR remote/21852
9540 * gdb.server/normal.c: New file, copied from gdb.base.
9541 * gdb.server/run-without-local-binary.exp: New file.
9542
58afddc6
WP
95432017-08-07 Weimin Pan <weimin.pan@oracle.com>
9544
9545 * gdb.arch/sparc64-adi.exp: New file.
9546 * gdb.arch/sparc64-adi.c: New file.
9547
5277199a
PA
95482017-08-22 Pedro Alves <palves@redhat.com>
9549
9550 * gdb.cp/overload.exp (line_range_pattern): New procedure.
9551 (top level): Add "list all overloads" tests.
9552
14278e1f
TT
95532017-08-22 Tom Tromey <tom@tromey.com>
9554
9555 * gdb.gdb/xfullpath.exp: Remove.
9556
bf223d3e
PA
95572017-08-21 Pedro Alves <palves@redhat.com>
9558
9559 PR gdb/19487
9560 * gdb.base/symbol-alias.c: New.
9561 * gdb.base/symbol-alias2.c: New.
9562 * gdb.base/symbol-alias.exp: New.
9563
c973d0aa
PA
95642017-08-21 Pedro Alves <palves@redhat.com>
9565
9566 * gdb.base/dfp-test.c
9567 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
9568 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
9569 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
9570 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
9571 * gdb.base/whatis-ptype-typedefs.c: New.
9572 * gdb.base/whatis-ptype-typedefs.exp: New.
9573 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
9574 (an_int, an_int_type, an_int_type2): New globals.
9575 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
9576 involving typedefs and cast expressions.
9577 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
9578 (lookup_typedefs_function): New.
9579 (typedefs_pretty_printers_dict): New.
9580 (top level): Register lookup_typedefs_function in
9581 gdb.pretty_printers.
9582
6d580b63
YQ
95832017-08-18 Yao Qi <yao.qi@linaro.org>
9584
9585 * gdb.server/unittest.exp: New.
9586
206726fb
SDJ
95872017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
9588
9589 PR gdb/21954
9590 * gdb.base/environ.exp: Add test to check if 'unset environment'
9591 works.
9592
bf0ec4c2
AA
95932017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9594
9595 * lib/gdb.exp (universal_compile_options): New caching proc.
9596 (gdb_compile): Suppress GCC's coloring of messages.
9597
d6382fff
TT
95982017-08-14 Tom Tromey <tom@tromey.com>
9599
9600 PR gdb/21675:
9601 * gdb.base/printcmds.exp (test_radices): New function.
9602 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
9603 * gdb.base/sizeof.exp (check_valueof): Use p/d.
9604 * lib/gdb.exp (get_integer_valueof): Use p/d.
9605
c2c2dd9f
SM
96062017-08-12 Simon Marchi <simon.marchi@ericsson.com>
9607
9608 * lib/gdb.exp (get_valueof): Don't capture end-of-line
9609 characters.
9610
fdffd6f4
TT
96112017-08-05 Tom Tromey <tom@tromey.com>
9612
9613 * gdb.rust/simple.exp: Allow String to appear in a different
9614 namespace.
9615
27d41eac
YQ
96162017-07-26 Yao Qi <yao.qi@linaro.org>
9617
9618 * gdb.gdb/unittest.exp: Invoke command
9619 "maintenance check xml-descriptions".
9620
031ed05d
AA
96212017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9622
9623 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
9624 calling context.
9625 (hex128): Drop erroneous calculation of parameters.
9626
dcd27ddf
SM
96272017-07-22 Simon Marchi <simon.marchi@ericsson.com>
9628
9629 * gdb.python/py-unwind.exp: Disable stack protection when
9630 building test file.
9631
47e77640
PA
96322017-07-20 Pedro Alves <palves@redhat.com>
9633
9634 * gdb.base/default.exp (set language): Adjust expected output.
9635
62d2a18a
PA
96362017-07-20 Pedro Alves <palves@redhat.com>
9637
9638 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
9639 (test_minsym): ... this, and make static.
9640 (get_pck__foo__bar__minsym): Rename to ...
9641 (get_test_minsym): ... this.
9642 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
9643 symbol names and comments.
9644 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
9645 (get_test_minsym): ... this.
9646 (pck__foo__bar__minsym__2): Rename to ...
9647 (test_minsym): ... this.
9648 (main): Adjust.
9649
c45ec17c
PA
96502017-07-17 Pedro Alves <palves@redhat.com>
9651
9652 * gdb.base/completion.exp: Adjust expected output.
9653 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
9654 the completer works.
9655
c6756f62
PA
96562017-07-17 Pedro Alves <palves@redhat.com>
9657
9658 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
9659
5bd68487
AB
96602017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
9661
9662 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
9663
8880f2a9
TT
96642017-07-14 Tom Tromey <tom@tromey.com>
9665
9666 PR rust/21764:
9667 * gdb.rust/simple.exp: Add tests.
9668
65547233
TT
96692017-07-14 Tom Tromey <tom@tromey.com>
9670
9671 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
9672
8f14146e
PA
96732017-07-14 Pedro Alves <palves@redhat.com>
9674
9675 * gdb.linespec/base/one/thefile.cc (z1): New function.
9676 * gdb.linespec/base/two/thefile.cc (z2): New function.
9677 * gdb.linespec/linespec.exp: Add tests.
9678
b4365d02
AB
96792017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9680
9681 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
9682 to mi_create_breakpoint.
9683
5d2cbaa5
AB
96842017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9685
9686 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
9687 mi_create_breakpoint.
9688
11cb5716
IB
96892017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
9690
9691 * gdb.dlang/demangle.exp: Update for demangling changes.
9692
03278692
TT
96932017-07-09 Tom Tromey <tom@tromey.com>
9694
9695 * gdb.dwarf2/shortpiece.exp: New file.
9696
33c5cd75
DB
96972017-07-06 David Blaikie <dblaikie@gmail.com>
9698
9699 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
9700 built from fissiont-multi-cu{1,2}.c.
9701 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
9702 except putting 'main' and 'func' in separate CUs in the same DWO file.
9703 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
9704 test.
9705 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
9706 test.
9707
8455d262
PA
97082017-07-06 Pedro Alves <palves@redhat.com>
9709
9710 * gdb.python/py-unwind.exp: Test flushregs.
9711
dc4bde35
SDJ
97122017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9713
9714 PR cli/21688
9715 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
9716 tests for alias commands and trailing whitespace.
9717
51ed89aa
SDJ
97182017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9719
9720 PR cli/21688
9721 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
9722 procedure. Call it.
9723
eb17d413
PA
97242017-06-29 Pedro Alves <palves@redhat.com>
9725
9726 * gdb.base/printcmds.exp: Add tests.
9727
41664b45
DG
97282017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
9729
9730 PR gdb/21337
9731 * gdb.base/reread-readsym.exp: New file.
9732 * gdb.base/reread-readsym.c: New file.
9733
75312ae3
KB
97342017-06-21 Kevin Buettner <kevinb@redhat.com>
9735
9736 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
9737 subpattern.
9738
66953522
PB
97392017-06-19 Peter Bergner <bergner@vnet.ibm.com>
9740
9741 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
9742 extended mnemonic.
9743 * gdb.arch/powerpc-power9.s: Likewise.
9744
5524b525
AA
97452017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9746
9747 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
9748 on 32-bit x86 targets. Exploit is_*_target macros where
9749 appropriate.
9750
03c8af18
AA
97512017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9752
9753 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
9754 register pieces.
9755
3bf31011
AA
97562017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9757
9758 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
9759 located in one or more DWARF pieces.
9760
805acca0
AA
97612017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9762
9763 * lib/gdb.exp (get_endianness): New proc.
9764 * gdb.arch/aarch64-fp.exp: Use it.
9765 * gdb.arch/altivec-regs.exp: Likewise.
9766 * gdb.arch/e500-regs.exp: Likewise.
9767 * gdb.arch/vsx-regs.exp: Likewise.
9768 * gdb.base/dump.exp: Likewise.
9769 * gdb.base/funcargs.exp: Likewise.
9770 * gdb.base/gnu_vector.exp: Likewise.
9771 * gdb.dwarf2/formdata16.exp: Likewise.
9772 * gdb.dwarf2/implptrpiece.exp: Likewise.
9773 * gdb.dwarf2/nonvar-access.exp: Likewise.
9774 * gdb.python/py-inferior.exp: Likewise.
9775 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9776
e9352324
AA
97772017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9778
9779 PR gdb/21226
9780 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
9781 stack value pieces are taken from the LSB end.
9782
d5d1163e
AA
97832017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9784
9785 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
9786 variable at nonzero offset.
9787
0567c986
AA
97882017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9789
9790 * gdb.dwarf2/var-access.c: New file.
9791 * gdb.dwarf2/var-access.exp: New test.
9792 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
9793
973e9aab
TT
97942017-06-12 Tom Tromey <tom@tromey.com>
9795
9796 * gdb.dwarf2/formdata16.exp: Add tests.
9797
d9109c80
TT
97982017-06-12 Tom Tromey <tom@tromey.com>
9799
9800 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
9801
30a25466
TT
98022017-06-12 Tom Tromey <tom@tromey.com>
9803
9804 PR exp/16225:
9805 * gdb.reverse/i386-sse-reverse.exp: Update tests.
9806 * gdb.arch/vsx-regs.exp: Update tests.
9807 * gdb.arch/s390-vregs.exp (hex128): New proc.
9808 Update test.
9809 * gdb.arch/altivec-regs.exp: Update tests.
9810
aefd8b33
SDJ
98112017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9812
9813 * gdb.base/startup-with-shell.c: New file.
9814 * gdb.base/startup-with-shell.exp: Likewise.
9815
2090129c
SDJ
98162017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9817
9818 * gdb.server/non-existing-program.exp: Update regex in order to
9819 reflect the fact that gdbserver is now using fork_inferior (with a
9820 shell) to startup the inferior.
9821
8e86a419
SM
98222017-05-30 Simon Marchi <simon.marchi@ericsson.com>
9823
9824 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
9825 support function calls from GDB.
9826
e6cf65f2
TT
98272017-05-21 Tom Tromey <tom@tromey.com>
9828
9829 PR rust/21466:
9830 * gdb.rust/unsized.exp: New file.
9831 * gdb.rust/unsized.rs: New file.
9832
43cc5389
TT
98332017-05-19 Tom Tromey <tom@tromey.com>
9834
9835 PR rust/21484:
9836 * gdb.rust/watch.exp: New file.
9837 * gdb.rust/watch.rs: New file.
9838
ec8df234
TT
98392017-05-18 Tom Tromey <tom@tromey.com>
9840
9841 * gdb.rust/simple.exp: Allow Box to be qualified.
9842
3e3e7fae
TP
98432017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
9844
9845 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
9846
59cc050d
PA
98472017-05-18 Pedro Alves <palves@redhat.com>
9848
9849 * gdb.base/fileio.c (test_write, test_read, test_close)
9850 (test_fstat): Don't print 'ret' in the fail path.
9851
c8f6abd1
PA
98522017-05-18 Pedro Alves <palves@redhat.com>
9853
9854 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
9855 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
9856 (test_system, test_rename, test_unlink, test_time): Change
9857 prototypes.
9858 * gdb.base/fileio.exp (stop_msg): Adjust.
9859
d2a03b77
PA
98602017-05-18 Pedro Alves <palves@redhat.com>
9861
9862 * gdb.base/fileio.c (null_str): New global.
9863 (test_stat): Use it.
9864 * gdb.base/fileio.exp: Remove nowarnings.
9865
0d5c6999
YQ
98662017-05-17 Yao Qi <yao.qi@linaro.org>
9867
9868 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
9869
21873064
YQ
98702017-05-17 Simon Marchi <simon.marchi@ericsson.com>
9871
9872 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
9873 argument command.
9874 (top-level): Invoke test_set_inferior_tty.
9875
d512d31c
PA
98762017-05-04 Pedro Alves <palves@redhat.com>
9877
9878 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
9879 Add parens to print call for Python 3.
9880
90cef2ed
KS
98812017-05-03 Keith Seitz <keiths@redhat.com>
9882
9883 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
9884 (main): Call it.
9885
14f819c8
TW
98862017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9887
9888 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
9889 to prev and next.
9890
913aeadd
TW
98912017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9892
9893 * gdb.python/py-record-btrace.exp: Remove test for
9894 gdb.BtraceInstruction.error.
9895
a3be24ad
TW
98962017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9897
9898 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
9899
ae20e79a
TW
99002017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9901
9902 * gdb.python/py-record-btrace-threads.c: New file.
9903 * gdb.python/py-record-btrace-threads.exp: New file.
9904
45ce1b47
SDJ
99052017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
9906
9907 PR testsuite/8595
9908 * gdb.base/environ.exp: Make test available in all architectures.
9909 Move bits related to "info program" testing to
9910 gdb.base/info-program.exp. Rewrite tests to use the two new
9911 procedures mentione below.
9912 (test_set_show_env_var) New procedure.
9913 (test_set_show_env_var_equal): Likewise.
9914 * gdb.base/info-program.exp: New file.
9915
e15c3eb4
KS
99162017-04-27 Keith Seitz <keiths@redhat.com>
9917
9918 * gdb.cp/oranking.cc (test15): New function.
9919 (main): Call test15 and declare additional variables for testing.
9920 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
9921 "p foo101('abc')" tests.
9922 Add tests for cv qualifier overloads.
9923 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
9924 "lvalue reference overload" test.
9925 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
9926 "print value of f1 on Child&& in f2" test.
9927
3a3fd0fd
PA
99282017-04-19 Pedro Alves <palves@redhat.com>
9929
9930 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
9931 procedure.
9932 (top level): Call it.
9933 * lib/gdb.exp (gdb_define_cmd): New procedure.
9934
53375380
PA
99352017-04-12 Pedro Alves <palves@redhat.com>
9936
9937 PR gdb/21323
9938 * gdb.cp/wide_char_types.c: Include <wchar.h>.
9939 (wchar): New global.
9940 * gdb.cp/wide_char_types.exp (wide_char_types_program)
9941 (do_test_wide_char, wide_char_types_no_program, top level): Add
9942 wchar_t testing.
9943
53e710ac
PA
99442017-04-12 Pedro Alves <palves@redhat.com>
9945
9946 PR c++/21323
9947 * gdb.cp/wide_char_types.c: New file.
9948 * gdb.cp/wide_char_types.exp: New file.
9949
0ad9d8c7
SDJ
99502017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
9951
9952 PR gdb/21352
9953 * gdb.trace/tsv.exp: Add test for "tsave -r".
9954
b1b45502
IB
99552017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
9956
9957 * gdb.dlang/watch-loc.c: New file.
9958 * gdb.dlang/watch-loc.exp: New file.
9959
ec13808e
JK
99602017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9961
9962 * gdb.python/py-section-script.exp (sepdebug): New testcases.
9963
fe5f7374
AK
99642017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9965
9966 * gdb.arch/arc-analyze-prologue.S: New file.
9967 * gdb.arch/arc-analyze-prologue.exp: Likewise.
9968
eea78757
AK
99692017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9970
9971 * gdb.arch/arc-decode-insn.S: New file.
9972 * gdb.arch/arc-decode-insn.exp: Likewise.
9973
5badf10a
IR
99742017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
9975
9976 PR tdep/20928
9977 * gdb.arch/sparc64-regs.exp: New file.
9978 * gdb.arch/sparc64-regs.S: Likewise.
9979
cee59b3f
TW
99802017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
9981
9982 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
9983 and memory view on Python 3.
9984
c0f55cc6
AV
99852017-03-20 Artemiy Volkov <artemiyv@acm.org>
9986 Keith Seitz <keiths@redhat.com>
9987
9988 PR gdb/14441
9989 * gdb.cp/demangle.exp: Add rvalue reference tests.
9990 * gdb.cp/rvalue-ref-casts.cc: New file.
9991 * gdb.cp/rvalue-ref-casts.exp: New file.
9992 * gdb.cp/rvalue-ref-overload.cc: New file.
9993 * gdb.cp/rvalue-ref-overload.exp: New file.
9994 * gdb.cp/rvalue-ref-params.cc: New file.
9995 * gdb.cp/rvalue-ref-params.exp: New file.
9996 * gdb.cp/rvalue-ref-sizeof.cc: New file.
9997 * gdb.cp/rvalue-ref-sizeof.exp: New file.
9998 * gdb.cp/rvalue-ref-types.cc: New file.
9999 * gdb.cp/rvalue-ref-types.exp: New file.
10000 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
10001 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
10002
51457a05
MAL
100032017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10004
10005 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
10006 New procedure.
10007
5b291c04
MAL
100082017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10009
10010 * lib/mi-support.exp (mi_gdb_test): Add additional message
10011 for unexpected output.
10012
59a56148
AA
100132017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10014
10015 * gdb.base/examine-backward.c (Barrier): New character array
10016 constant, to ensure that TestStrings is preceded by a string
10017 terminator.
10018
7942e96e
AA
100192017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10020
10021 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
10022 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
10023 and implicit pointer into such a location.
10024
6ebac3fb
DE
100252017-03-16 Doug Evans <dje@google.com>
10026
10027 * gdb.python/py-lazy-string (pointer): Really add new typedef.
10028
ec3b243d
TP
100292017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
10030
10031 * gdb.cp/m-static.exp: Fix expectation for prototype of
10032 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
10033
100342017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
10035
10036 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
10037 * gdb.guile/scm-lazy-string.c: New file.
10038 * gdb.guile/scm-value.exp: Move lazy string tests to ...
10039 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
10040 for pointer, array, typedef lazy strings.
10041
2cc36e25 100422017-03-16 Doug Evans <dje@google.com>
34b43320
DE
10043
10044 PR python/17728, python/18439, python/18779
10045 * gdb.python/py-value.c (main) Delete locals sptr, sn.
10046 * gdb.python/py-lazy-string.c (pointer): New typedef.
10047 (main): New locals ptr, array, typedef_ptr.
10048 * gdb.python/py-value.exp: Move lazy string tests to ...
10049 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
10050 array, typedef lazy strings.
ec3b243d 10051
0efcde63
AK
100522017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
10053
10054 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
10055 Add optional 'test' parameter.
10056
7978d7c3
SM
100572017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10058
10059 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10060 Skip for versions of DejaGnu < 1.5.
10061
896c0c1e
SM
100622017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10063
10064 * lib/gdb.exp (dejagnu_version): New proc.
10065 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10066 Use dejagnu_version.
10067
5f4d1085
KS
100682017-03-10 Keith Seitz <keiths@redhat.com>
10069
10070 PR c++/8128
10071 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
10072 type from destructor regexps.
10073 Add a branch which actually passes the test.
10074 Adjust "ptype t5i" test names.
10075
1de05205
PA
100762017-03-08 Pedro Alves <palves@redhat.com>
10077
10078 * gdb.base/step-over-exit.exp: Add explicit test message.
10079
c65d6b55
PA
100802017-03-08 Pedro Alves <palves@redhat.com>
10081
10082 PR gdb/18360
10083 * gdb.threads/interrupt-while-step-over.c: New file.
10084 * gdb.threads/interrupt-while-step-over.exp: New file.
10085
2e86a283
PA
100862017-03-08 Pedro Alves <palves@redhat.com>
10087
10088 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
10089 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
10090
25dcbff6
PA
100912017-03-08 Pedro Alves <palves@redhat.com>
10092
10093 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
10094 PKRU as not supported as a PASS.
10095
dc9366eb
PA
100962017-03-08 Pedro Alves <palves@redhat.com>
10097
10098 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
10099 prefix instead of $binfile1/$binfile2.
10100 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
10101 in test message.
10102 * gdb.python/py-completion.exp: Use "load python file" as test
10103 messages instead of unstable path names.
10104
6e5d74e7
PA
101052017-03-08 Pedro Alves <palves@redhat.com>
10106 Jan Kratochvil <jan.kratochvil@redhat.com>
10107
10108 PR cli/21218
10109 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10110 New proc.
10111 (top level): Call it.
10112
9753a2f6
PA
101132017-03-08 Pedro Alves <palves@redhat.com>
10114
10115 PR tui/21216
10116 * gdb.tui/tui-nl-filtered-output.exp: New file.
10117
1a4dd9dd
PA
101182017-03-08 Pedro Alves <palves@redhat.com>
10119
10120 * gdb.base/completion.exp: Move TUI completion tests to ...
10121 * gdb.tui/completion.exp: ... this new file.
10122
7cbbff33
PA
101232017-03-08 Pedro Alves <palves@redhat.com>
10124
10125 * gdb.base/tui-disasm-long-lines.c,
10126 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
10127 gdb.base/tui-layout.exp: Move to ...
10128 * gdb.tui/: ... this new directory.
10129
5f6fd321
PA
101302017-03-07 Pedro Alves <palves@redhat.com>
10131
10132 * gdb.base/tui-layout.c: New file.
10133 * gdb.base/tui-layout.exp: New file.
10134
44959fa8
PA
101352017-03-07 Pedro Alves <palves@redhat.com>
10136
10137 * gdb.base/tui-layout.c: Rename to ...
10138 * gdb.base/tui-disasm-long-lines.c: ... this.
10139 * gdb.base/tui-layout.exp: Rename to ...
10140 * gdb.base/tui-disasm-long-lines.exp: ... this.
10141
f8c4e718
PA
101422017-03-07 Pedro Alves <palves@redhat.com>
10143
10144 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
10145
6dbb839a 101462017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
10147
10148 * i386-mpx-call.c: New file.
10149 * i386-mpx-call.exp: New file.
10150
65b48a81
PB
101512017-02-28 Peter Bergner <bergner@vnet.ibm.com>
10152
10153 * gdb.arch/powerpc-power.exp: Delete test.
10154 * gdb.arch/powerpc-power.s: Likewise.
10155 * gdb.disasm/disassembler-options.exp: New test.
10156 * gdb.arch/powerpc-altivec.exp: Likewise.
10157 * gdb.arch/powerpc-altivec.s: Likewise.
10158 * gdb.arch/powerpc-altivec2.exp: Likewise.
10159 * gdb.arch/powerpc-altivec2.s: Likewise.
10160 * gdb.arch/powerpc-altivec3.exp: Likewise.
10161 * gdb.arch/powerpc-altivec3.s: Likewise.
10162 * gdb.arch/powerpc-power7.exp: Likewise.
10163 * gdb.arch/powerpc-power7.s: Likewise.
10164 * gdb.arch/powerpc-power8.exp: Likewise.
10165 * gdb.arch/powerpc-power8.s: Likewise.
10166 * gdb.arch/powerpc-power9.exp: Likewise.
10167 * gdb.arch/powerpc-power9.s: Likewise.
10168 * gdb.arch/powerpc-vsx.exp: Likewise.
10169 * gdb.arch/powerpc-vsx.s: Likewise.
10170 * gdb.arch/powerpc-vsx2.exp: Likewise.
10171 * gdb.arch/powerpc-vsx2.s: Likewise.
10172 * gdb.arch/powerpc-vsx3.exp: Likewise.
10173 * gdb.arch/powerpc-vsx3.s: Likewise.
10174 * gdb.arch/arm-disassembler-options.exp: Likewise.
10175 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
10176 * gdb.arch/s390-disassembler-options.exp: Likewise.
10177
17cd4947
LM
101782017-02-23 Luis Machado <lgustavo@codesourcery.com>
10179
10180 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
10181 (check_supported_features): ... this. Changed return type to void.
10182 (supports_rdseed): New static global.
10183 (rdseed): Check supports_rdseed.
10184 (initialize): Call check_supported_features.
10185
2039d74e
EBM
101862017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10187
10188 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
10189 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
10190 and lqarx/stqcx.
10191 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
10192 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
10193
a51d7ecf
EBM
101942017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10195
10196 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
10197 uppercase.
10198
0224619f
JK
101992017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10200
10201 * gdb.dwarf2/formdata16.c: New file.
10202 * gdb.dwarf2/formdata16.exp: New file.
10203 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
10204
216f72a1
JK
102052017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10206
10207 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
10208 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
10209 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
10210 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
10211 DW_AT_GNU_*.
10212
43988095
JK
102132017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10214
10215 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
10216
99e8a4f9
SDJ
102172017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
10218
10219 PR gdb/21164
10220 * gdb.base/maint.exp: Add testcases for when the commands do
10221 not have arguments.
10222
b58a8c0c
TP
102232017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
10224
10225 * gdb.cp/chained-calls.exp: Use p instead of P.
10226
4e746bb6
TW
102272017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
10228
10229 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
10230 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
10231
3f77c769
TT
102322017-02-14 Tom Tromey <tom@tromey.com>
10233
10234 PR python/13598:
10235 * gdb.python/py-events.exp: Add before_prompt event tests.
10236
075beec0
AA
102372017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10238
10239 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
10240
bf5f525c
LM
102412017-02-13 Luis Machado <lgustavo@codesourcery.com>
10242
10243 * gdb.linespec/explicit.c (my_unique_function_name): New function.
10244 (main): Call my_unique_function_name.
10245 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
10246 completion of patterns with a single match.
10247 Add missing -re switches to gdb_test_multiple calls.
10248
13a66184
LM
102492017-02-13 Luis Machado <lgustavo@codesourcery.com>
10250
10251 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
10252 return if core file is not recognized.
10253
26a06916
SM
102542017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10255
10256 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
10257 and extra UIs.
10258
b761ca9e
SM
102592017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10260
10261 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
10262 proc_with_prefix.
10263
b964bee0
TT
102642017-02-10 Tom Tromey <tom@tromey.com>
10265
10266 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
10267
18da0c51
MG
102682017-02-10 Martin Galvan <martingalvan@sourceware.org>
10269
10270 PR gdb/21122
10271 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
10272
604c4576
JG
102732017-02-08 Jerome Guitton <guitton@adacore.com>
10274
10275 * gdb.base/define.exp: Add test for command abbreviations
10276 in define.
10277
20b477a7
LM
102782017-02-06 Luis Machado <lgustavo@codesourcery.com>
10279
10280 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
10281 * gdb.reverse/insn-reverse-x86.c: New file.
10282
3f7b46f2
IR
102832017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10284
10285 PR tdep/20936
10286 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
10287
f0fd41c1
TT
102882017-02-03 Tom Tromey <tom@tromey.com>
10289
10290 PR rust/21097:
10291 * gdb.rust/simple.exp: Add new tests.
10292
5be5dbf0
PA
102932017-02-02 Pedro Alves <palves@redhat.com>
10294
10295 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
10296 tests.
10297
7346ef59
AA
102982017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10299
10300 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
10301 taking a 2-byte value out of a 4-byte DWARF implicit value on
10302 big-endian targets.
10303 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
10304 logic. Add test cases for DW_OP_implicit.
10305
787f0025
MM
103062017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10307
10308 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
10309
68777c29
MM
103102017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10311
10312 * gdb.btrace/enable.exp: Call gdb_exit before
10313 skip_gdbserver_tests.
10314
0a1c7e28
MM
103152017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10316
10317 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
10318 GDBFLAGS.
10319
b5ac99b0
MM
103202017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10321
10322 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
10323 the test is skipped.
10324 * gdb.btrace/data.exp: Likewise.
10325 * gdb.btrace/delta.exp: Likewise.
10326 * gdb.btrace/dlopen.exp: Likewise.
10327 * gdb.btrace/enable-running.exp: Likewise.
10328 * gdb.btrace/enable.exp: Likewise.
10329 * gdb.btrace/exception.exp: Likewise.
10330 * gdb.btrace/function_call_history.exp: Likewise.
10331 * gdb.btrace/gcore.exp: Likewise.
10332 * gdb.btrace/instruction_history.exp: Likewise.
10333 * gdb.btrace/multi-thread-step.exp: Likewise.
10334 * gdb.btrace/nohist.exp: Likewise.
10335 * gdb.btrace/non-stop.exp: Likewise.
10336 * gdb.btrace/reconnect.exp: Likewise.
10337 * gdb.btrace/record_goto-step.exp: Likewise.
10338 * gdb.btrace/record_goto.exp: Likewise.
10339 * gdb.btrace/rn-dl-bind.exp: Likewise.
10340 * gdb.btrace/segv.exp: Likewise.
10341 * gdb.btrace/step.exp: Likewise.
10342 * gdb.btrace/stepi.exp: Likewise.
10343 * gdb.btrace/tailcall-only.exp: Likewise.
10344 * gdb.btrace/tailcall.exp: Likewise.
10345 * gdb.btrace/tsx.exp: Likewise.
10346 * gdb.btrace/unknown_functions.exp: Likewise.
10347 * gdb.btrace/vdso.exp: Likewise.
10348
cd4007e4
MM
103492017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10350
10351 * gdb.btrace/enable-running.c: New.
10352 * gdb.btrace/enable-running.exp: New.
10353
2735833d
WT
103542017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
10355
10356 * gdb.arch/amd64-gs_base.c: New file.
10357 * gdb.arch/amd64-gs_base.exp: New file.
10358
b51e1e94
LM
103592017-01-26 Luis Machado <lgustavo@codesourcery.com>
10360
10361 * lib/memory.exp: Remove spurious empty newlines.
10362
72ca0410
SM
103632017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
10364
10365 * gdb.python/py-bad-printers.exp: Load python file using "source".
10366 * gdb.python/py-events.exp: Likewise.
10367 * gdb.python/py-evsignal.exp: Likewise.
10368 * gdb.python/py-evthreads.exp: Likewise.
10369 * gdb.python/py-frame-args.exp: Likewise.
10370 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
10371 * gdb.python/py-framefilter-mi.exp: Likewise.
10372 * gdb.python/py-framefilter.exp: Likewise.
10373 * gdb.python/py-mi.exp: Likewise.
10374 * gdb.python/py-pp-maint.exp: Likewise.
10375 * gdb.python/py-pp-registration.exp: Likewise.
10376 * gdb.python/py-prettyprint.exp: Likewise.
10377 (run_lang_tests): Likewise.
10378 * gdb.python/py-typeprint.exp: Likewise.
10379
e309aa65
LM
103802017-01-26 Luis Machado <lgustavo@codesourcery.com>
10381
10382 * lib/memory.exp: New file.
10383 * lib/gdb.exp: Load memory.exp.
10384 * gdb.base/memattr.exp (delete_memory): Move proc to
10385 lib/memory.exp and rename to delete_memory_regions.
10386 Replace delete_memory with delete_memory_regions.
10387 Cleanup memory regions before tests.
10388 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
10389 before tests.
10390
515aff23
LM
103912017-01-26 Luis Machado <lgustavo@codesourcery.com>
10392
10393 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
10394 files.
10395 (initialize): New function conditionally defined.
10396 (testcases): Move within conditional block.
10397 (main): Call initialize.
10398 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
10399 of gdb.reverse/insn-reverse.c.
10400 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
10401 gdb.reverse/insn-reverse.c.
10402
d8b49cf0
YQ
104032017-01-26 Yao Qi <yao.qi@linaro.org>
10404
10405 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
10406 disassemble on address 0.
10407
f13a9a0c
YQ
104082017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
10409 Yao Qi <yao.qi@linaro.org>
10410
10411 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
10412 * gdb.dwarf2/implptr-64bit.S: Remove.
10413 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
10414 variables in caller's context. Add DW_OP_implicit_value.
10415
5ac95241
YQ
104162017-01-25 Yao Qi <yao.qi@linaro.org>
10417
10418 * lib/dwarf.exp (Dwarf::_location): Handle
10419 DW_OP_GNU_implicit_pointer with proper size.
10420
23e82930
LM
104212017-01-20 Luis Machado <lgustavo@codesourcery.com>
10422
10423 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
10424 and add untested calls.
10425
d334ae25
LM
104262017-01-20 Luis Machado <lgustavo@codesourcery.com>
10427
10428 * gdb.python/python.exp: Check line number against what GDB thinks
10429 the line number is for func1.
10430
f5e6296e
IB
104312017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
10432
10433 * gdb.dlang/debug-expr.exp: New file.
10434
5b362f04
LM
104352016-12-23 Luis Machado <lgustavo@codesourcery.com>
10436
10437 Fix test names for the following files:
10438
10439 * gdb.ada/exec_changed.exp
10440 * gdb.ada/info_types.exp
10441 * gdb.arch/aarch64-atomic-inst.exp
10442 * gdb.arch/aarch64-fp.exp
10443 * gdb.arch/altivec-abi.exp
10444 * gdb.arch/altivec-regs.exp
10445 * gdb.arch/amd64-byte.exp
10446 * gdb.arch/amd64-disp-step.exp
10447 * gdb.arch/amd64-dword.exp
10448 * gdb.arch/amd64-entry-value-inline.exp
10449 * gdb.arch/amd64-entry-value-param.exp
10450 * gdb.arch/amd64-entry-value-paramref.exp
10451 * gdb.arch/amd64-entry-value.exp
10452 * gdb.arch/amd64-i386-address.exp
10453 * gdb.arch/amd64-invalid-stack-middle.exp
10454 * gdb.arch/amd64-invalid-stack-top.exp
10455 * gdb.arch/amd64-optimout-repeat.exp
10456 * gdb.arch/amd64-prologue-skip.exp
10457 * gdb.arch/amd64-prologue-xmm.exp
10458 * gdb.arch/amd64-stap-special-operands.exp
10459 * gdb.arch/amd64-stap-wrong-subexp.exp
10460 * gdb.arch/amd64-tailcall-cxx.exp
10461 * gdb.arch/amd64-tailcall-noret.exp
10462 * gdb.arch/amd64-tailcall-ret.exp
10463 * gdb.arch/amd64-tailcall-self.exp
10464 * gdb.arch/amd64-word.exp
10465 * gdb.arch/arm-bl-branch-dest.exp
10466 * gdb.arch/arm-disp-step.exp
10467 * gdb.arch/arm-neon.exp
10468 * gdb.arch/arm-single-step-kernel-helper.exp
10469 * gdb.arch/avr-flash-qualifier.exp
10470 * gdb.arch/disp-step-insn-reloc.exp
10471 * gdb.arch/e500-abi.exp
10472 * gdb.arch/e500-regs.exp
10473 * gdb.arch/ftrace-insn-reloc.exp
10474 * gdb.arch/i386-avx512.exp
10475 * gdb.arch/i386-bp_permanent.exp
10476 * gdb.arch/i386-byte.exp
10477 * gdb.arch/i386-cfi-notcurrent.exp
10478 * gdb.arch/i386-disp-step.exp
10479 * gdb.arch/i386-dr3-watch.exp
10480 * gdb.arch/i386-float.exp
10481 * gdb.arch/i386-gnu-cfi.exp
10482 * gdb.arch/i386-mpx-map.exp
10483 * gdb.arch/i386-mpx-sigsegv.exp
10484 * gdb.arch/i386-mpx-simple_segv.exp
10485 * gdb.arch/i386-mpx.exp
10486 * gdb.arch/i386-permbkpt.exp
10487 * gdb.arch/i386-prologue.exp
10488 * gdb.arch/i386-signal.exp
10489 * gdb.arch/i386-size-overlap.exp
10490 * gdb.arch/i386-unwind.exp
10491 * gdb.arch/i386-word.exp
10492 * gdb.arch/mips-fcr.exp
10493 * gdb.arch/powerpc-d128-regs.exp
10494 * gdb.arch/powerpc-stackless.exp
10495 * gdb.arch/ppc64-atomic-inst.exp
10496 * gdb.arch/s390-stackless.exp
10497 * gdb.arch/s390-tdbregs.exp
10498 * gdb.arch/s390-vregs.exp
10499 * gdb.arch/sparc-sysstep.exp
10500 * gdb.arch/thumb-bx-pc.exp
10501 * gdb.arch/thumb-singlestep.exp
10502 * gdb.arch/thumb2-it.exp
10503 * gdb.arch/vsx-regs.exp
10504 * gdb.asm/asm-source.exp
10505 * gdb.base/a2-run.exp
10506 * gdb.base/advance.exp
10507 * gdb.base/all-bin.exp
10508 * gdb.base/anon.exp
10509 * gdb.base/args.exp
10510 * gdb.base/arithmet.exp
10511 * gdb.base/async-shell.exp
10512 * gdb.base/async.exp
10513 * gdb.base/attach-pie-noexec.exp
10514 * gdb.base/attach-twice.exp
10515 * gdb.base/auto-load.exp
10516 * gdb.base/bang.exp
10517 * gdb.base/bitfields.exp
10518 * gdb.base/break-always.exp
10519 * gdb.base/break-caller-line.exp
10520 * gdb.base/break-entry.exp
10521 * gdb.base/break-inline.exp
10522 * gdb.base/break-on-linker-gcd-function.exp
10523 * gdb.base/break-probes.exp
10524 * gdb.base/break.exp
10525 * gdb.base/breakpoint-shadow.exp
10526 * gdb.base/call-ar-st.exp
10527 * gdb.base/call-sc.exp
10528 * gdb.base/call-signal-resume.exp
10529 * gdb.base/call-strs.exp
10530 * gdb.base/callfuncs.exp
10531 * gdb.base/catch-fork-static.exp
10532 * gdb.base/catch-gdb-caused-signals.exp
10533 * gdb.base/catch-load.exp
10534 * gdb.base/catch-signal-fork.exp
10535 * gdb.base/catch-signal.exp
10536 * gdb.base/catch-syscall.exp
10537 * gdb.base/charset.exp
10538 * gdb.base/checkpoint.exp
10539 * gdb.base/chng-syms.exp
10540 * gdb.base/code-expr.exp
10541 * gdb.base/code_elim.exp
10542 * gdb.base/commands.exp
10543 * gdb.base/completion.exp
10544 * gdb.base/complex.exp
10545 * gdb.base/cond-expr.exp
10546 * gdb.base/condbreak.exp
10547 * gdb.base/consecutive.exp
10548 * gdb.base/continue-all-already-running.exp
10549 * gdb.base/coredump-filter.exp
10550 * gdb.base/corefile.exp
10551 * gdb.base/dbx.exp
10552 * gdb.base/debug-expr.exp
10553 * gdb.base/define.exp
10554 * gdb.base/del.exp
10555 * gdb.base/disabled-location.exp
10556 * gdb.base/disasm-end-cu.exp
10557 * gdb.base/disasm-optim.exp
10558 * gdb.base/display.exp
10559 * gdb.base/duplicate-bp.exp
10560 * gdb.base/ena-dis-br.exp
10561 * gdb.base/ending-run.exp
10562 * gdb.base/enumval.exp
10563 * gdb.base/environ.exp
10564 * gdb.base/eu-strip-infcall.exp
10565 * gdb.base/eval-avoid-side-effects.exp
10566 * gdb.base/eval-skip.exp
10567 * gdb.base/exitsignal.exp
10568 * gdb.base/expand-psymtabs.exp
10569 * gdb.base/filesym.exp
10570 * gdb.base/find-unmapped.exp
10571 * gdb.base/finish.exp
10572 * gdb.base/float.exp
10573 * gdb.base/foll-exec-mode.exp
10574 * gdb.base/foll-exec.exp
10575 * gdb.base/foll-fork.exp
10576 * gdb.base/fortran-sym-case.exp
10577 * gdb.base/freebpcmd.exp
10578 * gdb.base/func-ptr.exp
10579 * gdb.base/func-ptrs.exp
10580 * gdb.base/funcargs.exp
10581 * gdb.base/gcore-buffer-overflow.exp
10582 * gdb.base/gcore-relro-pie.exp
10583 * gdb.base/gcore-relro.exp
10584 * gdb.base/gcore.exp
10585 * gdb.base/gdb1090.exp
10586 * gdb.base/gdb11530.exp
10587 * gdb.base/gdb11531.exp
10588 * gdb.base/gdb1821.exp
10589 * gdb.base/gdbindex-stabs.exp
10590 * gdb.base/gdbvars.exp
10591 * gdb.base/hbreak.exp
10592 * gdb.base/hbreak2.exp
10593 * gdb.base/included.exp
10594 * gdb.base/infcall-input.exp
10595 * gdb.base/inferior-died.exp
10596 * gdb.base/infnan.exp
10597 * gdb.base/info-macros.exp
10598 * gdb.base/info-os.exp
10599 * gdb.base/info-proc.exp
10600 * gdb.base/info-shared.exp
10601 * gdb.base/info-target.exp
10602 * gdb.base/infoline.exp
10603 * gdb.base/interp.exp
10604 * gdb.base/interrupt.exp
10605 * gdb.base/jit-reader.exp
10606 * gdb.base/jit-simple.exp
10607 * gdb.base/kill-after-signal.exp
10608 * gdb.base/kill-detach-inferiors-cmd.exp
10609 * gdb.base/label.exp
10610 * gdb.base/langs.exp
10611 * gdb.base/ldbl_e308.exp
10612 * gdb.base/line-symtabs.exp
10613 * gdb.base/linespecs.exp
10614 * gdb.base/list.exp
10615 * gdb.base/long_long.exp
10616 * gdb.base/longest-types.exp
10617 * gdb.base/maint.exp
10618 * gdb.base/max-value-size.exp
10619 * gdb.base/memattr.exp
10620 * gdb.base/mips_pro.exp
10621 * gdb.base/morestack.exp
10622 * gdb.base/moribund-step.exp
10623 * gdb.base/multi-forks.exp
10624 * gdb.base/nested-addr.exp
10625 * gdb.base/nextoverexit.exp
10626 * gdb.base/noreturn-finish.exp
10627 * gdb.base/noreturn-return.exp
10628 * gdb.base/nostdlib.exp
10629 * gdb.base/offsets.exp
10630 * gdb.base/opaque.exp
10631 * gdb.base/pc-fp.exp
10632 * gdb.base/permissions.exp
10633 * gdb.base/print-symbol-loading.exp
10634 * gdb.base/prologue-include.exp
10635 * gdb.base/psymtab.exp
10636 * gdb.base/ptype.exp
10637 * gdb.base/random-signal.exp
10638 * gdb.base/randomize.exp
10639 * gdb.base/range-stepping.exp
10640 * gdb.base/readline-ask.exp
10641 * gdb.base/recpar.exp
10642 * gdb.base/recurse.exp
10643 * gdb.base/relational.exp
10644 * gdb.base/restore.exp
10645 * gdb.base/return-nodebug.exp
10646 * gdb.base/return.exp
10647 * gdb.base/run-after-attach.exp
10648 * gdb.base/save-bp.exp
10649 * gdb.base/scope.exp
10650 * gdb.base/sect-cmd.exp
10651 * gdb.base/set-lang-auto.exp
10652 * gdb.base/set-noassign.exp
10653 * gdb.base/setvar.exp
10654 * gdb.base/sigall.exp
10655 * gdb.base/sigbpt.exp
10656 * gdb.base/siginfo-addr.exp
10657 * gdb.base/siginfo-infcall.exp
10658 * gdb.base/siginfo-obj.exp
10659 * gdb.base/siginfo.exp
10660 * gdb.base/signals-state-child.exp
10661 * gdb.base/signest.exp
10662 * gdb.base/sigstep.exp
10663 * gdb.base/sizeof.exp
10664 * gdb.base/skip.exp
10665 * gdb.base/solib-corrupted.exp
10666 * gdb.base/solib-nodir.exp
10667 * gdb.base/solib-search.exp
10668 * gdb.base/stack-checking.exp
10669 * gdb.base/stale-infcall.exp
10670 * gdb.base/stap-probe.exp
10671 * gdb.base/start.exp
10672 * gdb.base/step-break.exp
10673 * gdb.base/step-bt.exp
10674 * gdb.base/step-line.exp
10675 * gdb.base/step-over-exit.exp
10676 * gdb.base/step-over-syscall.exp
10677 * gdb.base/step-resume-infcall.exp
10678 * gdb.base/step-test.exp
10679 * gdb.base/store.exp
10680 * gdb.base/structs3.exp
10681 * gdb.base/sym-file.exp
10682 * gdb.base/symbol-without-target_section.exp
10683 * gdb.base/term.exp
10684 * gdb.base/testenv.exp
10685 * gdb.base/ui-redirect.exp
10686 * gdb.base/until.exp
10687 * gdb.base/unwindonsignal.exp
10688 * gdb.base/value-double-free.exp
10689 * gdb.base/vla-datatypes.exp
10690 * gdb.base/vla-ptr.exp
10691 * gdb.base/vla-sideeffect.exp
10692 * gdb.base/volatile.exp
10693 * gdb.base/watch-cond-infcall.exp
10694 * gdb.base/watch-cond.exp
10695 * gdb.base/watch-non-mem.exp
10696 * gdb.base/watch-read.exp
10697 * gdb.base/watch-vfork.exp
10698 * gdb.base/watchpoint-cond-gone.exp
10699 * gdb.base/watchpoint-delete.exp
10700 * gdb.base/watchpoint-hw-hit-once.exp
10701 * gdb.base/watchpoint-hw.exp
10702 * gdb.base/watchpoint-stops-at-right-insn.exp
10703 * gdb.base/watchpoints.exp
10704 * gdb.base/wchar.exp
10705 * gdb.base/whatis-exp.exp
10706 * gdb.btrace/buffer-size.exp
10707 * gdb.btrace/data.exp
10708 * gdb.btrace/delta.exp
10709 * gdb.btrace/dlopen.exp
10710 * gdb.btrace/enable.exp
10711 * gdb.btrace/exception.exp
10712 * gdb.btrace/function_call_history.exp
10713 * gdb.btrace/gcore.exp
10714 * gdb.btrace/instruction_history.exp
10715 * gdb.btrace/nohist.exp
10716 * gdb.btrace/reconnect.exp
10717 * gdb.btrace/record_goto-step.exp
10718 * gdb.btrace/record_goto.exp
10719 * gdb.btrace/rn-dl-bind.exp
10720 * gdb.btrace/segv.exp
10721 * gdb.btrace/step.exp
10722 * gdb.btrace/stepi.exp
10723 * gdb.btrace/tailcall-only.exp
10724 * gdb.btrace/tailcall.exp
10725 * gdb.btrace/tsx.exp
10726 * gdb.btrace/unknown_functions.exp
10727 * gdb.btrace/vdso.exp
10728 * gdb.compile/compile-ifunc.exp
10729 * gdb.compile/compile-ops.exp
10730 * gdb.compile/compile-print.exp
10731 * gdb.compile/compile-setjmp.exp
10732 * gdb.cp/abstract-origin.exp
10733 * gdb.cp/ambiguous.exp
10734 * gdb.cp/annota2.exp
10735 * gdb.cp/annota3.exp
10736 * gdb.cp/anon-ns.exp
10737 * gdb.cp/anon-struct.exp
10738 * gdb.cp/anon-union.exp
10739 * gdb.cp/arg-reference.exp
10740 * gdb.cp/baseenum.exp
10741 * gdb.cp/bool.exp
10742 * gdb.cp/breakpoint.exp
10743 * gdb.cp/bs15503.exp
10744 * gdb.cp/call-c.exp
10745 * gdb.cp/casts.exp
10746 * gdb.cp/chained-calls.exp
10747 * gdb.cp/class2.exp
10748 * gdb.cp/classes.exp
10749 * gdb.cp/cmpd-minsyms.exp
10750 * gdb.cp/converts.exp
10751 * gdb.cp/cp-relocate.exp
10752 * gdb.cp/cpcompletion.exp
10753 * gdb.cp/cpexprs.exp
10754 * gdb.cp/cplabel.exp
10755 * gdb.cp/cplusfuncs.exp
10756 * gdb.cp/cpsizeof.exp
10757 * gdb.cp/ctti.exp
10758 * gdb.cp/derivation.exp
10759 * gdb.cp/destrprint.exp
10760 * gdb.cp/dispcxx.exp
10761 * gdb.cp/enum-class.exp
10762 * gdb.cp/exception.exp
10763 * gdb.cp/exceptprint.exp
10764 * gdb.cp/expand-psymtabs-cxx.exp
10765 * gdb.cp/expand-sals.exp
10766 * gdb.cp/extern-c.exp
10767 * gdb.cp/filename.exp
10768 * gdb.cp/formatted-ref.exp
10769 * gdb.cp/fpointer.exp
10770 * gdb.cp/gdb1355.exp
10771 * gdb.cp/gdb2495.exp
10772 * gdb.cp/hang.exp
10773 * gdb.cp/impl-this.exp
10774 * gdb.cp/infcall-dlopen.exp
10775 * gdb.cp/inherit.exp
10776 * gdb.cp/iostream.exp
10777 * gdb.cp/koenig.exp
10778 * gdb.cp/local.exp
10779 * gdb.cp/m-data.exp
10780 * gdb.cp/m-static.exp
10781 * gdb.cp/mb-ctor.exp
10782 * gdb.cp/mb-inline.exp
10783 * gdb.cp/mb-templates.exp
10784 * gdb.cp/member-name.exp
10785 * gdb.cp/member-ptr.exp
10786 * gdb.cp/meth-typedefs.exp
10787 * gdb.cp/method.exp
10788 * gdb.cp/method2.exp
10789 * gdb.cp/minsym-fallback.exp
10790 * gdb.cp/misc.exp
10791 * gdb.cp/namelessclass.exp
10792 * gdb.cp/namespace-enum.exp
10793 * gdb.cp/namespace-nested-import.exp
10794 * gdb.cp/namespace.exp
10795 * gdb.cp/nextoverthrow.exp
10796 * gdb.cp/no-dmgl-verbose.exp
10797 * gdb.cp/non-trivial-retval.exp
10798 * gdb.cp/noparam.exp
10799 * gdb.cp/nsdecl.exp
10800 * gdb.cp/nsimport.exp
10801 * gdb.cp/nsnested.exp
10802 * gdb.cp/nsnoimports.exp
10803 * gdb.cp/nsrecurs.exp
10804 * gdb.cp/nsstress.exp
10805 * gdb.cp/nsusing.exp
10806 * gdb.cp/operator.exp
10807 * gdb.cp/oranking.exp
10808 * gdb.cp/overload-const.exp
10809 * gdb.cp/overload.exp
10810 * gdb.cp/ovldbreak.exp
10811 * gdb.cp/ovsrch.exp
10812 * gdb.cp/paren-type.exp
10813 * gdb.cp/parse-lang.exp
10814 * gdb.cp/pass-by-ref.exp
10815 * gdb.cp/pr-1023.exp
10816 * gdb.cp/pr-1210.exp
10817 * gdb.cp/pr-574.exp
10818 * gdb.cp/pr10687.exp
10819 * gdb.cp/pr12028.exp
10820 * gdb.cp/pr17132.exp
10821 * gdb.cp/pr17494.exp
10822 * gdb.cp/pr9067.exp
10823 * gdb.cp/pr9167.exp
10824 * gdb.cp/pr9631.exp
10825 * gdb.cp/printmethod.exp
10826 * gdb.cp/psmang.exp
10827 * gdb.cp/psymtab-parameter.exp
10828 * gdb.cp/ptype-cv-cp.exp
10829 * gdb.cp/ptype-flags.exp
10830 * gdb.cp/re-set-overloaded.exp
10831 * gdb.cp/ref-types.exp
10832 * gdb.cp/rtti.exp
10833 * gdb.cp/scope-err.exp
10834 * gdb.cp/shadow.exp
10835 * gdb.cp/smartp.exp
10836 * gdb.cp/static-method.exp
10837 * gdb.cp/static-print-quit.exp
10838 * gdb.cp/temargs.exp
10839 * gdb.cp/templates.exp
10840 * gdb.cp/try_catch.exp
10841 * gdb.cp/typedef-operator.exp
10842 * gdb.cp/typeid.exp
10843 * gdb.cp/userdef.exp
10844 * gdb.cp/using-crash.exp
10845 * gdb.cp/var-tag.exp
10846 * gdb.cp/virtbase.exp
10847 * gdb.cp/virtfunc.exp
10848 * gdb.cp/virtfunc2.exp
10849 * gdb.cp/vla-cxx.exp
10850 * gdb.disasm/t01_mov.exp
10851 * gdb.disasm/t02_mova.exp
10852 * gdb.disasm/t03_add.exp
10853 * gdb.disasm/t04_sub.exp
10854 * gdb.disasm/t05_cmp.exp
10855 * gdb.disasm/t06_ari2.exp
10856 * gdb.disasm/t07_ari3.exp
10857 * gdb.disasm/t08_or.exp
10858 * gdb.disasm/t09_xor.exp
10859 * gdb.disasm/t10_and.exp
10860 * gdb.disasm/t11_logs.exp
10861 * gdb.disasm/t12_bit.exp
10862 * gdb.disasm/t13_otr.exp
10863 * gdb.dlang/circular.exp
10864 * gdb.dwarf2/arr-stride.exp
10865 * gdb.dwarf2/arr-subrange.exp
10866 * gdb.dwarf2/atomic-type.exp
10867 * gdb.dwarf2/bad-regnum.exp
10868 * gdb.dwarf2/bitfield-parent-optimized-out.exp
10869 * gdb.dwarf2/callframecfa.exp
10870 * gdb.dwarf2/clztest.exp
10871 * gdb.dwarf2/corrupt.exp
10872 * gdb.dwarf2/data-loc.exp
10873 * gdb.dwarf2/dup-psym.exp
10874 * gdb.dwarf2/dw2-anon-mptr.exp
10875 * gdb.dwarf2/dw2-anonymous-func.exp
10876 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
10877 * gdb.dwarf2/dw2-bad-unresolved.exp
10878 * gdb.dwarf2/dw2-basic.exp
10879 * gdb.dwarf2/dw2-canonicalize-type.exp
10880 * gdb.dwarf2/dw2-case-insensitive.exp
10881 * gdb.dwarf2/dw2-common-block.exp
10882 * gdb.dwarf2/dw2-compdir-oldgcc.exp
10883 * gdb.dwarf2/dw2-compressed.exp
10884 * gdb.dwarf2/dw2-const.exp
10885 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
10886 * gdb.dwarf2/dw2-cu-size.exp
10887 * gdb.dwarf2/dw2-dup-frame.exp
10888 * gdb.dwarf2/dw2-entry-value.exp
10889 * gdb.dwarf2/dw2-icycle.exp
10890 * gdb.dwarf2/dw2-ifort-parameter.exp
10891 * gdb.dwarf2/dw2-inline-break.exp
10892 * gdb.dwarf2/dw2-inline-param.exp
10893 * gdb.dwarf2/dw2-intercu.exp
10894 * gdb.dwarf2/dw2-intermix.exp
10895 * gdb.dwarf2/dw2-lexical-block-bare.exp
10896 * gdb.dwarf2/dw2-linkage-name-trust.exp
10897 * gdb.dwarf2/dw2-minsym-in-cu.exp
10898 * gdb.dwarf2/dw2-noloc.exp
10899 * gdb.dwarf2/dw2-op-call.exp
10900 * gdb.dwarf2/dw2-op-out-param.exp
10901 * gdb.dwarf2/dw2-opt-structptr.exp
10902 * gdb.dwarf2/dw2-param-error.exp
10903 * gdb.dwarf2/dw2-producer.exp
10904 * gdb.dwarf2/dw2-ranges-base.exp
10905 * gdb.dwarf2/dw2-ref-missing-frame.exp
10906 * gdb.dwarf2/dw2-reg-undefined.exp
10907 * gdb.dwarf2/dw2-regno-invalid.exp
10908 * gdb.dwarf2/dw2-restore.exp
10909 * gdb.dwarf2/dw2-restrict.exp
10910 * gdb.dwarf2/dw2-single-line-discriminators.exp
10911 * gdb.dwarf2/dw2-strp.exp
10912 * gdb.dwarf2/dw2-undefined-ret-addr.exp
10913 * gdb.dwarf2/dw2-unresolved.exp
10914 * gdb.dwarf2/dw2-var-zero-addr.exp
10915 * gdb.dwarf2/dw4-sig-types.exp
10916 * gdb.dwarf2/dwz.exp
10917 * gdb.dwarf2/dynarr-ptr.exp
10918 * gdb.dwarf2/enum-type.exp
10919 * gdb.dwarf2/gdb-index.exp
10920 * gdb.dwarf2/implptr-64bit.exp
10921 * gdb.dwarf2/implptr-optimized-out.exp
10922 * gdb.dwarf2/implptr.exp
10923 * gdb.dwarf2/implref-array.exp
10924 * gdb.dwarf2/implref-const.exp
10925 * gdb.dwarf2/implref-global.exp
10926 * gdb.dwarf2/implref-struct.exp
10927 * gdb.dwarf2/mac-fileno.exp
10928 * gdb.dwarf2/main-subprogram.exp
10929 * gdb.dwarf2/member-ptr-forwardref.exp
10930 * gdb.dwarf2/method-ptr.exp
10931 * gdb.dwarf2/missing-sig-type.exp
10932 * gdb.dwarf2/nonvar-access.exp
10933 * gdb.dwarf2/opaque-type-lookup.exp
10934 * gdb.dwarf2/pieces-optimized-out.exp
10935 * gdb.dwarf2/pieces.exp
10936 * gdb.dwarf2/pr10770.exp
10937 * gdb.dwarf2/pr13961.exp
10938 * gdb.dwarf2/staticvirtual.exp
10939 * gdb.dwarf2/subrange.exp
10940 * gdb.dwarf2/symtab-producer.exp
10941 * gdb.dwarf2/trace-crash.exp
10942 * gdb.dwarf2/typeddwarf.exp
10943 * gdb.dwarf2/valop.exp
10944 * gdb.dwarf2/watch-notconst.exp
10945 * gdb.fortran/array-element.exp
10946 * gdb.fortran/charset.exp
10947 * gdb.fortran/common-block.exp
10948 * gdb.fortran/complex.exp
10949 * gdb.fortran/derived-type-function.exp
10950 * gdb.fortran/derived-type.exp
10951 * gdb.fortran/logical.exp
10952 * gdb.fortran/module.exp
10953 * gdb.fortran/multi-dim.exp
10954 * gdb.fortran/nested-funcs.exp
10955 * gdb.fortran/print-formatted.exp
10956 * gdb.fortran/subarray.exp
10957 * gdb.fortran/vla-alloc-assoc.exp
10958 * gdb.fortran/vla-datatypes.exp
10959 * gdb.fortran/vla-history.exp
10960 * gdb.fortran/vla-ptr-info.exp
10961 * gdb.fortran/vla-ptype-sub.exp
10962 * gdb.fortran/vla-ptype.exp
10963 * gdb.fortran/vla-sizeof.exp
10964 * gdb.fortran/vla-type.exp
10965 * gdb.fortran/vla-value-sub-arbitrary.exp
10966 * gdb.fortran/vla-value-sub-finish.exp
10967 * gdb.fortran/vla-value-sub.exp
10968 * gdb.fortran/vla-value.exp
10969 * gdb.fortran/whatis_type.exp
10970 * gdb.go/chan.exp
10971 * gdb.go/handcall.exp
10972 * gdb.go/hello.exp
10973 * gdb.go/integers.exp
10974 * gdb.go/methods.exp
10975 * gdb.go/package.exp
10976 * gdb.go/strings.exp
10977 * gdb.go/types.exp
10978 * gdb.go/unsafe.exp
10979 * gdb.guile/scm-arch.exp
10980 * gdb.guile/scm-block.exp
10981 * gdb.guile/scm-breakpoint.exp
10982 * gdb.guile/scm-cmd.exp
10983 * gdb.guile/scm-disasm.exp
10984 * gdb.guile/scm-equal.exp
10985 * gdb.guile/scm-frame-args.exp
10986 * gdb.guile/scm-frame-inline.exp
10987 * gdb.guile/scm-frame.exp
10988 * gdb.guile/scm-iterator.exp
10989 * gdb.guile/scm-math.exp
10990 * gdb.guile/scm-objfile.exp
10991 * gdb.guile/scm-ports.exp
10992 * gdb.guile/scm-symbol.exp
10993 * gdb.guile/scm-symtab.exp
10994 * gdb.guile/scm-value-cc.exp
10995 * gdb.guile/types-module.exp
10996 * gdb.linespec/break-ask.exp
10997 * gdb.linespec/cpexplicit.exp
10998 * gdb.linespec/explicit.exp
10999 * gdb.linespec/keywords.exp
11000 * gdb.linespec/linespec.exp
11001 * gdb.linespec/ls-dollar.exp
11002 * gdb.linespec/ls-errs.exp
11003 * gdb.linespec/skip-two.exp
11004 * gdb.linespec/thread.exp
11005 * gdb.mi/mi-async.exp
11006 * gdb.mi/mi-basics.exp
11007 * gdb.mi/mi-break.exp
11008 * gdb.mi/mi-catch-load.exp
11009 * gdb.mi/mi-cli.exp
11010 * gdb.mi/mi-cmd-param-changed.exp
11011 * gdb.mi/mi-console.exp
11012 * gdb.mi/mi-detach.exp
11013 * gdb.mi/mi-disassemble.exp
11014 * gdb.mi/mi-eval.exp
11015 * gdb.mi/mi-file-transfer.exp
11016 * gdb.mi/mi-file.exp
11017 * gdb.mi/mi-fill-memory.exp
11018 * gdb.mi/mi-inheritance-syntax-error.exp
11019 * gdb.mi/mi-linespec-err-cp.exp
11020 * gdb.mi/mi-logging.exp
11021 * gdb.mi/mi-memory-changed.exp
11022 * gdb.mi/mi-read-memory.exp
11023 * gdb.mi/mi-record-changed.exp
11024 * gdb.mi/mi-reg-undefined.exp
11025 * gdb.mi/mi-regs.exp
11026 * gdb.mi/mi-return.exp
11027 * gdb.mi/mi-reverse.exp
11028 * gdb.mi/mi-simplerun.exp
11029 * gdb.mi/mi-solib.exp
11030 * gdb.mi/mi-stack.exp
11031 * gdb.mi/mi-stepi.exp
11032 * gdb.mi/mi-syn-frame.exp
11033 * gdb.mi/mi-until.exp
11034 * gdb.mi/mi-var-block.exp
11035 * gdb.mi/mi-var-child.exp
11036 * gdb.mi/mi-var-cmd.exp
11037 * gdb.mi/mi-var-cp.exp
11038 * gdb.mi/mi-var-display.exp
11039 * gdb.mi/mi-var-invalidate.exp
11040 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
11041 * gdb.mi/mi-vla-fortran.exp
11042 * gdb.mi/mi-watch.exp
11043 * gdb.mi/mi2-var-child.exp
11044 * gdb.mi/user-selected-context-sync.exp
11045 * gdb.modula2/unbounded-array.exp
11046 * gdb.multi/dummy-frame-restore.exp
11047 * gdb.multi/multi-arch-exec.exp
11048 * gdb.multi/multi-arch.exp
11049 * gdb.multi/tids.exp
11050 * gdb.multi/watchpoint-multi.exp
11051 * gdb.opencl/callfuncs.exp
11052 * gdb.opencl/convs_casts.exp
11053 * gdb.opencl/datatypes.exp
11054 * gdb.opencl/operators.exp
11055 * gdb.opencl/vec_comps.exp
11056 * gdb.opt/clobbered-registers-O2.exp
11057 * gdb.opt/inline-break.exp
11058 * gdb.opt/inline-bt.exp
11059 * gdb.opt/inline-cmds.exp
11060 * gdb.opt/inline-locals.exp
11061 * gdb.pascal/case-insensitive-symbols.exp
11062 * gdb.pascal/floats.exp
11063 * gdb.pascal/gdb11492.exp
11064 * gdb.python/lib-types.exp
11065 * gdb.python/py-arch.exp
11066 * gdb.python/py-as-string.exp
11067 * gdb.python/py-bad-printers.exp
11068 * gdb.python/py-block.exp
11069 * gdb.python/py-breakpoint-create-fail.exp
11070 * gdb.python/py-breakpoint.exp
11071 * gdb.python/py-caller-is.exp
11072 * gdb.python/py-cmd.exp
11073 * gdb.python/py-explore-cc.exp
11074 * gdb.python/py-explore.exp
11075 * gdb.python/py-finish-breakpoint.exp
11076 * gdb.python/py-finish-breakpoint2.exp
11077 * gdb.python/py-frame-args.exp
11078 * gdb.python/py-frame-inline.exp
11079 * gdb.python/py-frame.exp
11080 * gdb.python/py-framefilter-mi.exp
11081 * gdb.python/py-infthread.exp
11082 * gdb.python/py-lazy-string.exp
11083 * gdb.python/py-linetable.exp
11084 * gdb.python/py-mi-events.exp
11085 * gdb.python/py-mi-objfile.exp
11086 * gdb.python/py-mi.exp
11087 * gdb.python/py-objfile.exp
11088 * gdb.python/py-pp-integral.exp
11089 * gdb.python/py-pp-maint.exp
11090 * gdb.python/py-pp-re-notag.exp
11091 * gdb.python/py-pp-registration.exp
11092 * gdb.python/py-recurse-unwind.exp
11093 * gdb.python/py-strfns.exp
11094 * gdb.python/py-symbol.exp
11095 * gdb.python/py-symtab.exp
11096 * gdb.python/py-sync-interp.exp
11097 * gdb.python/py-typeprint.exp
11098 * gdb.python/py-unwind-maint.exp
11099 * gdb.python/py-unwind.exp
11100 * gdb.python/py-value-cc.exp
11101 * gdb.python/py-xmethods.exp
11102 * gdb.reverse/amd64-tailcall-reverse.exp
11103 * gdb.reverse/break-precsave.exp
11104 * gdb.reverse/break-reverse.exp
11105 * gdb.reverse/consecutive-precsave.exp
11106 * gdb.reverse/consecutive-reverse.exp
11107 * gdb.reverse/finish-precsave.exp
11108 * gdb.reverse/finish-reverse-bkpt.exp
11109 * gdb.reverse/finish-reverse.exp
11110 * gdb.reverse/fstatat-reverse.exp
11111 * gdb.reverse/getresuid-reverse.exp
11112 * gdb.reverse/i386-precsave.exp
11113 * gdb.reverse/i386-reverse.exp
11114 * gdb.reverse/i386-sse-reverse.exp
11115 * gdb.reverse/i387-env-reverse.exp
11116 * gdb.reverse/i387-stack-reverse.exp
11117 * gdb.reverse/insn-reverse.exp
11118 * gdb.reverse/machinestate-precsave.exp
11119 * gdb.reverse/machinestate.exp
11120 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11121 * gdb.reverse/pipe-reverse.exp
11122 * gdb.reverse/readv-reverse.exp
11123 * gdb.reverse/recvmsg-reverse.exp
11124 * gdb.reverse/rerun-prec.exp
11125 * gdb.reverse/s390-mvcle.exp
11126 * gdb.reverse/step-precsave.exp
11127 * gdb.reverse/step-reverse.exp
11128 * gdb.reverse/time-reverse.exp
11129 * gdb.reverse/until-precsave.exp
11130 * gdb.reverse/until-reverse.exp
11131 * gdb.reverse/waitpid-reverse.exp
11132 * gdb.reverse/watch-precsave.exp
11133 * gdb.reverse/watch-reverse.exp
11134 * gdb.rust/generics.exp
11135 * gdb.rust/methods.exp
11136 * gdb.rust/modules.exp
11137 * gdb.rust/simple.exp
11138 * gdb.server/connect-with-no-symbol-file.exp
11139 * gdb.server/ext-attach.exp
11140 * gdb.server/ext-restart.exp
11141 * gdb.server/ext-wrapper.exp
11142 * gdb.server/file-transfer.exp
11143 * gdb.server/server-exec-info.exp
11144 * gdb.server/server-kill.exp
11145 * gdb.server/server-mon.exp
11146 * gdb.server/wrapper.exp
11147 * gdb.stabs/exclfwd.exp
11148 * gdb.stabs/gdb11479.exp
11149 * gdb.threads/clone-new-thread-event.exp
11150 * gdb.threads/corethreads.exp
11151 * gdb.threads/current-lwp-dead.exp
11152 * gdb.threads/dlopen-libpthread.exp
11153 * gdb.threads/gcore-thread.exp
11154 * gdb.threads/sigstep-threads.exp
11155 * gdb.threads/watchpoint-fork.exp
11156 * gdb.trace/actions-changed.exp
11157 * gdb.trace/backtrace.exp
11158 * gdb.trace/change-loc.exp
11159 * gdb.trace/circ.exp
11160 * gdb.trace/collection.exp
11161 * gdb.trace/disconnected-tracing.exp
11162 * gdb.trace/ftrace.exp
11163 * gdb.trace/mi-trace-frame-collected.exp
11164 * gdb.trace/mi-trace-unavailable.exp
11165 * gdb.trace/mi-traceframe-changed.exp
11166 * gdb.trace/mi-tsv-changed.exp
11167 * gdb.trace/no-attach-trace.exp
11168 * gdb.trace/passc-dyn.exp
11169 * gdb.trace/qtro.exp
11170 * gdb.trace/range-stepping.exp
11171 * gdb.trace/read-memory.exp
11172 * gdb.trace/save-trace.exp
11173 * gdb.trace/signal.exp
11174 * gdb.trace/status-stop.exp
11175 * gdb.trace/tfile.exp
11176 * gdb.trace/trace-break.exp
11177 * gdb.trace/trace-buffer-size.exp
11178 * gdb.trace/trace-condition.exp
11179 * gdb.trace/tracefile-pseudo-reg.exp
11180 * gdb.trace/tstatus.exp
11181 * gdb.trace/unavailable.exp
11182 * gdb.trace/while-dyn.exp
11183 * gdb.trace/while-stepping.exp
11184
34c41c68
DE
111852016-12-22 Doug Evans <xdje42@gmail.com>
11186
11187 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
11188 and msymbols.
11189
16e69324
YQ
111902016-12-19 Yao Qi <yao.qi@linaro.org>
11191
11192 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
11193 (test_with_self): Don't call do_steps_and_nexts, and remove
11194 code about stepping into xmalloc.
11195
f94f411b
YQ
111962016-12-09 Yao Qi <yao.qi@linaro.org>
11197
11198 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
11199
112002016-12-09 Yao Qi <yao.qi@linaro.org>
11201
11202 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
11203
f1b5deee
PA
112042016-12-09 Pedro Alves <palves@redhat.com>
11205
11206 * gdb.base/all-architectures-0.exp: New file.
11207 * gdb.base/all-architectures-1.exp: New file.
11208 * gdb.base/all-architectures-2.exp: New file.
11209 * gdb.base/all-architectures-3.exp: New file.
11210 * gdb.base/all-architectures-4.exp: New file.
11211 * gdb.base/all-architectures-5.exp: New file.
11212 * gdb.base/all-architectures-6.exp: New file.
11213 * gdb.base/all-architectures-7.exp: New file.
11214 * gdb.base/all-architectures.exp.in: New file.
11215
364ca42e
YQ
112162016-12-09 Yao Qi <yao.qi@linaro.org>
11217
11218 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
11219
107c2d62
LM
112202016-12-02 Luis Machado <lgustavo@codesourcery.com>
11221
11222 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
11223 possible.
11224 Remove useless pattern-matching code.
11225
df3ee9ca
PA
112262016-12-02 Pedro Alves <palves@redhat.com>
11227
11228 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
11229 procedure.
11230 (top level): Call it.
11231
ec835369
PA
112322016-12-02 Pedro Alves <palves@redhat.com>
11233
11234 * gdb.base/commands.exp (user_defined_command_args_stack_test):
11235 New procedure.
11236 (top level): Call it.
11237
01770bbd
PA
112382016-12-02 Pedro Alves <palves@redhat.com>
11239
11240 PR cli/20559
11241 * gdb.base/commands.exp (user_defined_command_args_eval): New
11242 procedure.
11243 (top level): Call it.
11244
008459ea
LM
112452016-12-02 Luis Machado <lgustavo@codesourcery.com>
11246
11247 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
11248 timeout handling.
11249
0c1b455e
TT
112502016-12-02 Tom Tromey <tom@tromey.com>
11251
11252 * gdb.dwarf2/main-subprogram.c: New file.
11253 * gdb.dwarf2/main-subprogram.exp: New file.
11254
018572b8
LM
112552016-12-01 Luis Machado <lgustavo@codesourcery.com>
11256
11257 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
11258 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
11259 gdb_test_no_output for a couple of cases.
11260 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
11261
84c93cd5
LM
112622016-12-01 Luis Machado <lgustavo@codesourcery.com>
11263
11264 Fix test names and standardize compilation error messages throughout
11265 the following files:
11266
11267 * gdb.ada/start.exp
11268 * gdb.arch/alpha-step.exp
11269 * gdb.arch/e500-prologue.exp
11270 * gdb.arch/ftrace-insn-reloc.exp
11271 * gdb.arch/gdb1291.exp
11272 * gdb.arch/gdb1431.exp
11273 * gdb.arch/gdb1558.exp
11274 * gdb.arch/i386-dr3-watch.exp
11275 * gdb.arch/i386-sse-stack-align.exp
11276 * gdb.arch/ia64-breakpoint-shadow.exp
11277 * gdb.arch/pa-nullify.exp
11278 * gdb.arch/powerpc-aix-prologue.exp
11279 * gdb.arch/thumb-bx-pc.exp
11280 * gdb.base/annota1.exp
11281 * gdb.base/annota3.exp
11282 * gdb.base/arrayidx.exp
11283 * gdb.base/assign.exp
11284 * gdb.base/attach.exp
11285 * gdb.base/auxv.exp
11286 * gdb.base/bang.exp
11287 * gdb.base/bfp-test.exp
11288 * gdb.base/bigcore.exp
11289 * gdb.base/bitfields2.exp
11290 * gdb.base/break-fun-addr.exp
11291 * gdb.base/break-probes.exp
11292 * gdb.base/call-rt-st.exp
11293 * gdb.base/callexit.exp
11294 * gdb.base/catch-fork-kill.exp
11295 * gdb.base/charset.exp
11296 * gdb.base/checkpoint.exp
11297 * gdb.base/comprdebug.exp
11298 * gdb.base/constvars.exp
11299 * gdb.base/coredump-filter.exp
11300 * gdb.base/cursal.exp
11301 * gdb.base/cvexpr.exp
11302 * gdb.base/detach.exp
11303 * gdb.base/display.exp
11304 * gdb.base/dmsym.exp
11305 * gdb.base/dprintf-pending.exp
11306 * gdb.base/dso2dso.exp
11307 * gdb.base/dtrace-probe.exp
11308 * gdb.base/dump.exp
11309 * gdb.base/enum_cond.exp
11310 * gdb.base/exe-lock.exp
11311 * gdb.base/exec-invalid-sysroot.exp
11312 * gdb.base/execl-update-breakpoints.exp
11313 * gdb.base/exprs.exp
11314 * gdb.base/fileio.exp
11315 * gdb.base/find.exp
11316 * gdb.base/finish.exp
11317 * gdb.base/fixsection.exp
11318 * gdb.base/foll-vfork.exp
11319 * gdb.base/frame-args.exp
11320 * gdb.base/gcore.exp
11321 * gdb.base/gdb1250.exp
11322 * gdb.base/global-var-nested-by-dso.exp
11323 * gdb.base/gnu-ifunc.exp
11324 * gdb.base/hashline1.exp
11325 * gdb.base/hashline2.exp
11326 * gdb.base/hashline3.exp
11327 * gdb.base/hbreak-in-shr-unsupported.exp
11328 * gdb.base/huge.exp
11329 * gdb.base/infcall-input.exp
11330 * gdb.base/info-fun.exp
11331 * gdb.base/info-shared.exp
11332 * gdb.base/jit-simple.exp
11333 * gdb.base/jit-so.exp
11334 * gdb.base/jit.exp
11335 * gdb.base/jump.exp
11336 * gdb.base/label.exp
11337 * gdb.base/lineinc.exp
11338 * gdb.base/logical.exp
11339 * gdb.base/longjmp.exp
11340 * gdb.base/macscp.exp
11341 * gdb.base/miscexprs.exp
11342 * gdb.base/new-ui-echo.exp
11343 * gdb.base/new-ui-pending-input.exp
11344 * gdb.base/new-ui.exp
11345 * gdb.base/nodebug.exp
11346 * gdb.base/nofield.exp
11347 * gdb.base/offsets.exp
11348 * gdb.base/overlays.exp
11349 * gdb.base/pending.exp
11350 * gdb.base/pointers.exp
11351 * gdb.base/pr11022.exp
11352 * gdb.base/printcmds.exp
11353 * gdb.base/prologue.exp
11354 * gdb.base/ptr-typedef.exp
11355 * gdb.base/realname-expand.exp
11356 * gdb.base/relativedebug.exp
11357 * gdb.base/relocate.exp
11358 * gdb.base/remote.exp
11359 * gdb.base/reread.exp
11360 * gdb.base/return2.exp
11361 * gdb.base/savedregs.exp
11362 * gdb.base/sep.exp
11363 * gdb.base/sepdebug.exp
11364 * gdb.base/sepsymtab.exp
11365 * gdb.base/set-inferior-tty.exp
11366 * gdb.base/setshow.exp
11367 * gdb.base/shlib-call.exp
11368 * gdb.base/sigaltstack.exp
11369 * gdb.base/siginfo-addr.exp
11370 * gdb.base/signals.exp
11371 * gdb.base/signull.exp
11372 * gdb.base/sigrepeat.exp
11373 * gdb.base/so-impl-ld.exp
11374 * gdb.base/solib-display.exp
11375 * gdb.base/solib-overlap.exp
11376 * gdb.base/solib-search.exp
11377 * gdb.base/solib-symbol.exp
11378 * gdb.base/structs.exp
11379 * gdb.base/structs2.exp
11380 * gdb.base/symtab-search-order.exp
11381 * gdb.base/twice.exp
11382 * gdb.base/unload.exp
11383 * gdb.base/varargs.exp
11384 * gdb.base/watchpoint-solib.exp
11385 * gdb.base/watchpoint.exp
11386 * gdb.base/whatis.exp
11387 * gdb.base/wrong_frame_bt_full.exp
11388 * gdb.btrace/dlopen.exp
11389 * gdb.cell/ea-standalone.exp
11390 * gdb.cell/ea-test.exp
11391 * gdb.cp/dispcxx.exp
11392 * gdb.cp/gdb2384.exp
11393 * gdb.cp/method2.exp
11394 * gdb.cp/nextoverthrow.exp
11395 * gdb.cp/pr10728.exp
11396 * gdb.disasm/am33.exp
11397 * gdb.disasm/h8300s.exp
11398 * gdb.disasm/mn10300.exp
11399 * gdb.disasm/sh3.exp
11400 * gdb.dwarf2/dw2-dir-file-name.exp
11401 * gdb.fortran/complex.exp
11402 * gdb.fortran/library-module.exp
11403 * gdb.guile/scm-pretty-print.exp
11404 * gdb.guile/scm-symbol.exp
11405 * gdb.guile/scm-type.exp
11406 * gdb.guile/scm-value.exp
11407 * gdb.linespec/linespec.exp
11408 * gdb.mi/gdb701.exp
11409 * gdb.mi/gdb792.exp
11410 * gdb.mi/mi-breakpoint-changed.exp
11411 * gdb.mi/mi-dprintf-pending.exp
11412 * gdb.mi/mi-dprintf.exp
11413 * gdb.mi/mi-exit-code.exp
11414 * gdb.mi/mi-pending.exp
11415 * gdb.mi/mi-solib.exp
11416 * gdb.mi/new-ui-mi-sync.exp
11417 * gdb.mi/pr11022.exp
11418 * gdb.mi/user-selected-context-sync.exp
11419 * gdb.opt/solib-intra-step.exp
11420 * gdb.python/py-events.exp
11421 * gdb.python/py-finish-breakpoint.exp
11422 * gdb.python/py-mi.exp
11423 * gdb.python/py-prettyprint.exp
11424 * gdb.python/py-shared.exp
11425 * gdb.python/py-symbol.exp
11426 * gdb.python/py-template.exp
11427 * gdb.python/py-type.exp
11428 * gdb.python/py-value.exp
11429 * gdb.reverse/solib-precsave.exp
11430 * gdb.reverse/solib-reverse.exp
11431 * gdb.server/solib-list.exp
11432 * gdb.stabs/weird.exp
11433 * gdb.threads/reconnect-signal.exp
11434 * gdb.threads/stepi-random-signal.exp
11435 * gdb.trace/actions.exp
11436 * gdb.trace/ax.exp
11437 * gdb.trace/backtrace.exp
11438 * gdb.trace/change-loc.exp
11439 * gdb.trace/deltrace.exp
11440 * gdb.trace/ftrace-lock.exp
11441 * gdb.trace/ftrace.exp
11442 * gdb.trace/infotrace.exp
11443 * gdb.trace/mi-tracepoint-changed.exp
11444 * gdb.trace/packetlen.exp
11445 * gdb.trace/passcount.exp
11446 * gdb.trace/pending.exp
11447 * gdb.trace/range-stepping.exp
11448 * gdb.trace/report.exp
11449 * gdb.trace/stap-trace.exp
11450 * gdb.trace/tfind.exp
11451 * gdb.trace/trace-break.exp
11452 * gdb.trace/trace-condition.exp
11453 * gdb.trace/trace-enable-disable.exp
11454 * gdb.trace/trace-mt.exp
11455 * gdb.trace/tracecmd.exp
11456 * gdb.trace/tspeed.exp
11457 * gdb.trace/tsv.exp
11458 * lib/perftest.exp
11459
fb9feb35
LM
114602016-12-01 Luis Machado <lgustavo@codesourcery.com>
11461
11462 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
11463 with gdb_test_no_output.
11464 Use command as test name.
11465
cd2ddb6c
LM
114662016-12-01 Luis Machado <lgustavo@codesourcery.com>
11467
11468 Fix test names starting with uppercase throughout the files.
11469
11470 * gdb.ada/assign_1.exp
11471 * gdb.ada/boolean_expr.exp
11472 * gdb.base/arrayidx.exp
11473 * gdb.base/del.exp
11474 * gdb.base/gcore-buffer-overflow.exp
11475 * gdb.base/testenv.exp
11476 * gdb.compile/compile.exp
11477 * gdb.python/py-framefilter-invalidarg.exp
11478 * gdb.python/py-framefilter.exp
11479
bb95117e
LM
114802016-12-01 Luis Machado <lgustavo@codesourcery.com>
11481
11482 Fix test names starting with uppercase throughout the files.
11483
11484 * gdb.ada/array_return.exp
11485 * gdb.ada/expr_delims.exp
11486 * gdb.ada/mi_dyn_arr.exp
11487 * gdb.ada/mi_interface.exp
11488 * gdb.ada/mi_var_array.exp
11489 * gdb.ada/watch_arg.exp
11490 * gdb.arch/alpha-step.exp
11491 * gdb.arch/altivec-regs.exp
11492 * gdb.arch/e500-regs.exp
11493 * gdb.arch/powerpc-d128-regs.exp
11494 * gdb.base/arrayidx.exp
11495 * gdb.base/break.exp
11496 * gdb.base/checkpoint.exp
11497 * gdb.base/debug-expr.exp
11498 * gdb.base/dmsym.exp
11499 * gdb.base/radix.exp
11500 * gdb.base/sepdebug.exp
11501 * gdb.base/testenv.exp
11502 * gdb.base/watch_thread_num.exp
11503 * gdb.base/watchpoint-cond-gone.exp
11504 * gdb.cell/break.exp
11505 * gdb.cell/ea-cache.exp
11506 * gdb.compile/compile.exp
11507 * gdb.cp/gdb2495.exp
11508 * gdb.gdb/selftest.exp
11509 * gdb.gdb/xfullpath.exp
11510 * gdb.go/hello.exp
11511 * gdb.go/integers.exp
11512 * gdb.objc/basicclass.exp
11513 * gdb.pascal/hello.exp
11514 * gdb.pascal/integers.exp
11515 * gdb.python/py-breakpoint.exp
11516 * gdb.python/py-cmd.exp
11517 * gdb.python/py-linetable.exp
11518 * gdb.python/py-xmethods.exp
11519 * gdb.python/python.exp
11520 * gdb.reverse/consecutive-precsave.exp
11521 * gdb.reverse/finish-precsave.exp
11522 * gdb.reverse/i386-precsave.exp
11523 * gdb.reverse/machinestate-precsave.exp
11524 * gdb.reverse/sigall-precsave.exp
11525 * gdb.reverse/solib-precsave.exp
11526 * gdb.reverse/step-precsave.exp
11527 * gdb.reverse/until-precsave.exp
11528 * gdb.reverse/watch-precsave.exp
11529 * gdb.threads/leader-exit.exp
11530 * gdb.threads/pthreads.exp
11531 * gdb.threads/wp-replication.exp
11532 * gdb.trace/actions.exp
11533 * gdb.trace/mi-tsv-changed.exp
11534 * gdb.trace/tsv.exp
11535
de97fdd4
LM
115362016-12-01 Luis Machado <lgustavo@codesourcery.com>
11537
11538 Fix test names starting with uppercase throughout the files.
11539
11540 * gdb.arch/i386-bp_permanent.exp
11541 * gdb.arch/i386-gnu-cfi.exp
11542 * gdb.base/disasm-end-cu.exp
11543 * gdb.base/macscp.exp
11544 * gdb.base/pending.exp
11545 * gdb.base/watch_thread_num.exp
11546 * gdb.cp/exception.exp
11547 * gdb.cp/gdb2495.exp
11548 * gdb.cp/local.exp
11549 * gdb.python/py-evsignal.exp
11550 * gdb.python/python.exp
11551 * gdb.trace/tracecmd.exp
11552
9f058c10
LM
115532016-12-01 Luis Machado <lgustavo@codesourcery.com>
11554
11555 Fix test names starting with uppercase throughout the files.
11556
11557 * gdb.base/charset.exp
11558 * gdb.base/eval.exp
11559 * gdb.base/multi-forks.exp
11560 * gdb.guile/scm-progspace.exp
11561 * gdb.opencl/datatypes.exp
11562 * gdb.python/py-block.exp
11563 * gdb.python/py-function.exp
11564 * gdb.python/py-symbol.exp
11565 * gdb.python/py-symtab.exp
11566 * gdb.python/py-xmethods.exp
11567 * gdb.reverse/break-precsave.exp
11568 * gdb.reverse/break-reverse.exp
11569 * gdb.reverse/consecutive-precsave.exp
11570 * gdb.reverse/consecutive-reverse.exp
11571 * gdb.reverse/finish-precsave.exp
11572 * gdb.reverse/finish-reverse-bkpt.exp
11573 * gdb.reverse/finish-reverse.exp
11574 * gdb.reverse/fstatat-reverse.exp
11575 * gdb.reverse/getresuid-reverse.exp
11576 * gdb.reverse/i386-precsave.exp
11577 * gdb.reverse/i386-reverse.exp
11578 * gdb.reverse/i386-sse-reverse.exp
11579 * gdb.reverse/i387-stack-reverse.exp
11580 * gdb.reverse/insn-reverse.exp
11581 * gdb.reverse/machinestate-precsave.exp
11582 * gdb.reverse/machinestate.exp
11583 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11584 * gdb.reverse/pipe-reverse.exp
11585 * gdb.reverse/readv-reverse.exp
11586 * gdb.reverse/recvmsg-reverse.exp
11587 * gdb.reverse/rerun-prec.exp
11588 * gdb.reverse/s390-mvcle.exp
11589 * gdb.reverse/sigall-precsave.exp
11590 * gdb.reverse/sigall-reverse.exp
11591 * gdb.reverse/solib-precsave.exp
11592 * gdb.reverse/solib-reverse.exp
11593 * gdb.reverse/step-precsave.exp
11594 * gdb.reverse/step-reverse.exp
11595 * gdb.reverse/time-reverse.exp
11596 * gdb.reverse/until-precsave.exp
11597 * gdb.reverse/until-reverse.exp
11598 * gdb.reverse/waitpid-reverse.exp
11599 * gdb.reverse/watch-precsave.exp
11600 * gdb.reverse/watch-reverse.exp
11601
cdc7edd7
LM
116022016-12-01 Luis Machado <lgustavo@codesourcery.com>
11603
11604 Fix test names starting with uppercase throughout the files.
11605
11606 * gdb.arch/i386-mpx-simple_segv.exp
11607 * gdb.arch/i386-mpx.exp
11608 * gdb.arch/i386-permbkpt.exp
11609 * gdb.arch/pa-nullify.exp
11610 * gdb.arch/powerpc-d128-regs.exp
11611 * gdb.arch/vsx-regs.exp
11612 * gdb.base/bfp-test.exp
11613 * gdb.base/break.exp
11614 * gdb.base/breakpoint-shadow.exp
11615 * gdb.base/callfuncs.exp
11616 * gdb.base/charset.exp
11617 * gdb.base/commands.exp
11618 * gdb.base/completion.exp
11619 * gdb.base/dfp-test.exp
11620 * gdb.base/echo.exp
11621 * gdb.base/ending-run.exp
11622 * gdb.base/eval.exp
11623 * gdb.base/expand-psymtabs.exp
11624 * gdb.base/float128.exp
11625 * gdb.base/floatn.exp
11626 * gdb.base/foll-exec-mode.exp
11627 * gdb.base/gdb1056.exp
11628 * gdb.base/gdb11531.exp
11629 * gdb.base/kill-after-signal.exp
11630 * gdb.base/multi-forks.exp
11631 * gdb.base/overlays.exp
11632 * gdb.base/pending.exp
11633 * gdb.base/sepdebug.exp
11634 * gdb.base/testenv.exp
11635 * gdb.base/valgrind-db-attach.exp
11636 * gdb.base/watch_thread_num.exp
11637 * gdb.base/watchpoint-cond-gone.exp
11638 * gdb.base/watchpoint.exp
11639 * gdb.base/watchpoints.exp
11640 * gdb.cp/arg-reference.exp
11641 * gdb.cp/baseenum.exp
11642 * gdb.cp/operator.exp
11643 * gdb.cp/shadow.exp
11644 * gdb.dwarf2/dw2-op-out-param.exp
11645 * gdb.dwarf2/dw2-reg-undefined.exp
11646 * gdb.go/chan.exp
11647 * gdb.go/hello.exp
11648 * gdb.go/integers.exp
11649 * gdb.go/methods.exp
11650 * gdb.go/package.exp
11651 * gdb.guile/scm-parameter.exp
11652 * gdb.guile/scm-progspace.exp
11653 * gdb.guile/scm-value.exp
11654 * gdb.mi/mi-pending.exp
11655 * gdb.mi/user-selected-context-sync.exp
11656 * gdb.multi/multi-attach.exp
11657 * gdb.multi/tids.exp
11658 * gdb.opt/clobbered-registers-O2.exp
11659 * gdb.pascal/floats.exp
11660 * gdb.pascal/integers.exp
11661 * gdb.python/py-block.exp
11662 * gdb.python/py-events.exp
11663 * gdb.python/py-parameter.exp
11664 * gdb.python/py-symbol.exp
11665 * gdb.python/py-symtab.exp
11666 * gdb.python/py-type.exp
11667 * gdb.python/py-value.exp
11668 * gdb.python/py-xmethods.exp
11669 * gdb.python/python.exp
11670 * gdb.reverse/break-precsave.exp
11671 * gdb.reverse/consecutive-precsave.exp
11672 * gdb.reverse/finish-precsave.exp
11673 * gdb.reverse/i386-precsave.exp
11674 * gdb.reverse/machinestate-precsave.exp
11675 * gdb.reverse/sigall-precsave.exp
11676 * gdb.reverse/solib-precsave.exp
11677 * gdb.reverse/step-precsave.exp
11678 * gdb.reverse/until-precsave.exp
11679 * gdb.reverse/watch-precsave.exp
11680 * gdb.server/ext-attach.exp
11681 * gdb.server/ext-restart.exp
11682 * gdb.server/ext-run.exp
11683 * gdb.server/ext-wrapper.exp
11684 * gdb.stabs/gdb11479.exp
11685 * gdb.stabs/weird.exp
11686 * gdb.threads/attach-many-short-lived-threads.exp
11687 * gdb.threads/kill.exp
11688 * gdb.threads/watchpoint-fork.exp
11689
bc6c7af4
LM
116902016-12-01 Luis Machado <lgustavo@codesourcery.com>
11691
11692 Fix test names starting with uppercase throughout all the files below.
11693
11694 * gdb.ada/array_return.exp
11695 * gdb.ada/catch_ex.exp
11696 * gdb.ada/info_exc.exp
11697 * gdb.ada/mi_catch_ex.exp
11698 * gdb.ada/mi_dyn_arr.exp
11699 * gdb.ada/mi_ex_cond.exp
11700 * gdb.ada/mi_exc_info.exp
11701 * gdb.ada/mi_interface.exp
11702 * gdb.ada/mi_task_arg.exp
11703 * gdb.ada/mi_task_info.exp
11704 * gdb.ada/mi_var_array.exp
11705 * gdb.arch/alpha-step.exp
11706 * gdb.arch/amd64-disp-step.exp
11707 * gdb.arch/arm-disp-step.exp
11708 * gdb.arch/disp-step-insn-reloc.exp
11709 * gdb.arch/e500-prologue.exp
11710 * gdb.arch/ftrace-insn-reloc.exp
11711 * gdb.arch/gdb1558.exp
11712 * gdb.arch/i386-bp_permanent.exp
11713 * gdb.arch/i386-disp-step.exp
11714 * gdb.arch/i386-float.exp
11715 * gdb.arch/i386-gnu-cfi.exp
11716 * gdb.arch/ia64-breakpoint-shadow.exp
11717 * gdb.arch/mips16-thunks.exp
11718 * gdb.arch/pa-nullify.exp
11719 * gdb.arch/powerpc-aix-prologue.exp
11720 * gdb.arch/powerpc-power.exp
11721 * gdb.arch/ppc-dfp.exp
11722 * gdb.arch/s390-tdbregs.exp
11723 * gdb.arch/spu-info.exp
11724 * gdb.arch/spu-ls.exp
11725 * gdb.arch/thumb-bx-pc.exp
11726 * gdb.base/advance.exp
11727 * gdb.base/annota-input-while-running.exp
11728 * gdb.base/arrayidx.exp
11729 * gdb.base/asmlabel.exp
11730 * gdb.base/async.exp
11731 * gdb.base/attach-wait-input.exp
11732 * gdb.base/auto-connect-native-target.exp
11733 * gdb.base/batch-preserve-term-settings.exp
11734 * gdb.base/bfp-test.exp
11735 * gdb.base/bigcore.exp
11736 * gdb.base/bp-permanent.exp
11737 * gdb.base/break-always.exp
11738 * gdb.base/break-fun-addr.exp
11739 * gdb.base/break-idempotent.exp
11740 * gdb.base/break-main-file-remove-fail.exp
11741 * gdb.base/break-probes.exp
11742 * gdb.base/break-unload-file.exp
11743 * gdb.base/break.exp
11744 * gdb.base/call-ar-st.exp
11745 * gdb.base/call-rt-st.exp
11746 * gdb.base/call-sc.exp
11747 * gdb.base/call-signal-resume.exp
11748 * gdb.base/call-strs.exp
11749 * gdb.base/callexit.exp
11750 * gdb.base/callfuncs.exp
11751 * gdb.base/catch-gdb-caused-signals.exp
11752 * gdb.base/catch-signal-siginfo-cond.exp
11753 * gdb.base/catch-syscall.exp
11754 * gdb.base/compare-sections.exp
11755 * gdb.base/cond-eval-mode.exp
11756 * gdb.base/condbreak-call-false.exp
11757 * gdb.base/consecutive-step-over.exp
11758 * gdb.base/cursal.exp
11759 * gdb.base/disabled-location.exp
11760 * gdb.base/disasm-end-cu.exp
11761 * gdb.base/display.exp
11762 * gdb.base/double-prompt-target-event-error.exp
11763 * gdb.base/dprintf-bp-same-addr.exp
11764 * gdb.base/dprintf-detach.exp
11765 * gdb.base/dprintf-next.exp
11766 * gdb.base/dprintf-non-stop.exp
11767 * gdb.base/dprintf-pending.exp
11768 * gdb.base/dso2dso.exp
11769 * gdb.base/ending-run.exp
11770 * gdb.base/enum_cond.exp
11771 * gdb.base/examine-backward.exp
11772 * gdb.base/exe-lock.exp
11773 * gdb.base/exec-invalid-sysroot.exp
11774 * gdb.base/execl-update-breakpoints.exp
11775 * gdb.base/execution-termios.exp
11776 * gdb.base/fileio.exp
11777 * gdb.base/fixsection.exp
11778 * gdb.base/foll-exec-mode.exp
11779 * gdb.base/foll-exec.exp
11780 * gdb.base/fork-running-state.exp
11781 * gdb.base/frame-args.exp
11782 * gdb.base/fullpath-expand.exp
11783 * gdb.base/func-ptr.exp
11784 * gdb.base/gcore-relro-pie.exp
11785 * gdb.base/gdb1090.exp
11786 * gdb.base/gdb1555.exp
11787 * gdb.base/global-var-nested-by-dso.exp
11788 * gdb.base/gnu-ifunc.exp
11789 * gdb.base/hbreak-in-shr-unsupported.exp
11790 * gdb.base/hbreak-unmapped.exp
11791 * gdb.base/hook-stop.exp
11792 * gdb.base/infcall-input.exp
11793 * gdb.base/info-fun.exp
11794 * gdb.base/info-shared.exp
11795 * gdb.base/interrupt-noterm.exp
11796 * gdb.base/jit-so.exp
11797 * gdb.base/jit.exp
11798 * gdb.base/line-symtabs.exp
11799 * gdb.base/list.exp
11800 * gdb.base/longjmp.exp
11801 * gdb.base/macscp.exp
11802 * gdb.base/max-value-size.exp
11803 * gdb.base/nodebug.exp
11804 * gdb.base/nofield.exp
11805 * gdb.base/overlays.exp
11806 * gdb.base/paginate-after-ctrl-c-running.exp
11807 * gdb.base/paginate-bg-execution.exp
11808 * gdb.base/paginate-inferior-exit.exp
11809 * gdb.base/pending.exp
11810 * gdb.base/pr11022.exp
11811 * gdb.base/printcmds.exp
11812 * gdb.base/ptr-typedef.exp
11813 * gdb.base/ptype.exp
11814 * gdb.base/randomize.exp
11815 * gdb.base/range-stepping.exp
11816 * gdb.base/realname-expand.exp
11817 * gdb.base/relativedebug.exp
11818 * gdb.base/remote.exp
11819 * gdb.base/savedregs.exp
11820 * gdb.base/sepdebug.exp
11821 * gdb.base/set-noassign.exp
11822 * gdb.base/shlib-call.exp
11823 * gdb.base/shreloc.exp
11824 * gdb.base/sigaltstack.exp
11825 * gdb.base/sigbpt.exp
11826 * gdb.base/siginfo-addr.exp
11827 * gdb.base/siginfo-obj.exp
11828 * gdb.base/siginfo-thread.exp
11829 * gdb.base/signest.exp
11830 * gdb.base/signull.exp
11831 * gdb.base/sigrepeat.exp
11832 * gdb.base/skip.exp
11833 * gdb.base/so-impl-ld.exp
11834 * gdb.base/solib-corrupted.exp
11835 * gdb.base/solib-disc.exp
11836 * gdb.base/solib-display.exp
11837 * gdb.base/solib-overlap.exp
11838 * gdb.base/solib-search.exp
11839 * gdb.base/solib-symbol.exp
11840 * gdb.base/source-execution.exp
11841 * gdb.base/sss-bp-on-user-bp-2.exp
11842 * gdb.base/sss-bp-on-user-bp.exp
11843 * gdb.base/stack-checking.exp
11844 * gdb.base/stale-infcall.exp
11845 * gdb.base/step-break.exp
11846 * gdb.base/step-line.exp
11847 * gdb.base/step-over-exit.exp
11848 * gdb.base/step-test.exp
11849 * gdb.base/structs.exp
11850 * gdb.base/sym-file.exp
11851 * gdb.base/symtab-search-order.exp
11852 * gdb.base/term.exp
11853 * gdb.base/type-opaque.exp
11854 * gdb.base/unload.exp
11855 * gdb.base/until-nodebug.exp
11856 * gdb.base/until.exp
11857 * gdb.base/unwindonsignal.exp
11858 * gdb.base/watch-cond.exp
11859 * gdb.base/watch-non-mem.exp
11860 * gdb.base/watch_thread_num.exp
11861 * gdb.base/watchpoint-reuse-slot.exp
11862 * gdb.base/watchpoint-solib.exp
11863 * gdb.base/watchpoint.exp
11864 * gdb.btrace/dlopen.exp
11865 * gdb.cell/arch.exp
11866 * gdb.cell/break.exp
11867 * gdb.cell/bt.exp
11868 * gdb.cell/core.exp
11869 * gdb.cell/data.exp
11870 * gdb.cell/dwarfaddr.exp
11871 * gdb.cell/ea-cache.exp
11872 * gdb.cell/ea-standalone.exp
11873 * gdb.cell/ea-test.exp
11874 * gdb.cell/f-regs.exp
11875 * gdb.cell/fork.exp
11876 * gdb.cell/gcore.exp
11877 * gdb.cell/mem-access.exp
11878 * gdb.cell/ptype.exp
11879 * gdb.cell/registers.exp
11880 * gdb.cell/sizeof.exp
11881 * gdb.cell/solib-symbol.exp
11882 * gdb.cell/solib.exp
11883 * gdb.compile/compile-tls.exp
11884 * gdb.cp/exception.exp
11885 * gdb.cp/gdb2495.exp
11886 * gdb.cp/local.exp
11887 * gdb.cp/mb-inline.exp
11888 * gdb.cp/mb-templates.exp
11889 * gdb.cp/pr10687.exp
11890 * gdb.cp/pr9167.exp
11891 * gdb.cp/scope-err.exp
11892 * gdb.cp/templates.exp
11893 * gdb.cp/virtfunc.exp
11894 * gdb.dwarf2/dw2-dir-file-name.exp
11895 * gdb.dwarf2/dw2-single-line-discriminators.exp
11896 * gdb.fortran/complex.exp
11897 * gdb.fortran/library-module.exp
11898 * gdb.guile/guile.exp
11899 * gdb.guile/scm-cmd.exp
11900 * gdb.guile/scm-frame-inline.exp
11901 * gdb.guile/scm-objfile.exp
11902 * gdb.guile/scm-pretty-print.exp
11903 * gdb.guile/scm-symbol.exp
11904 * gdb.guile/scm-type.exp
11905 * gdb.guile/scm-value.exp
11906 * gdb.linespec/keywords.exp
11907 * gdb.linespec/ls-errs.exp
11908 * gdb.linespec/macro-relative.exp
11909 * gdb.linespec/thread.exp
11910 * gdb.mi/mi-breakpoint-changed.exp
11911 * gdb.mi/mi-dprintf-pending.exp
11912 * gdb.mi/mi-fullname-deleted.exp
11913 * gdb.mi/mi-logging.exp
11914 * gdb.mi/mi-pending.exp
11915 * gdb.mi/mi-solib.exp
11916 * gdb.mi/new-ui-mi-sync.exp
11917 * gdb.mi/user-selected-context-sync.exp
11918 * gdb.multi/dummy-frame-restore.exp
11919 * gdb.multi/multi-arch-exec.exp
11920 * gdb.multi/remove-inferiors.exp
11921 * gdb.multi/watchpoint-multi-exit.exp
11922 * gdb.opt/solib-intra-step.exp
11923 * gdb.perf/backtrace.exp
11924 * gdb.perf/single-step.exp
11925 * gdb.perf/skip-command.exp
11926 * gdb.perf/skip-prologue.exp
11927 * gdb.perf/solib.exp
11928 * gdb.python/lib-types.exp
11929 * gdb.python/py-as-string.exp
11930 * gdb.python/py-bad-printers.exp
11931 * gdb.python/py-block.exp
11932 * gdb.python/py-breakpoint.exp
11933 * gdb.python/py-cmd.exp
11934 * gdb.python/py-events.exp
11935 * gdb.python/py-evthreads.exp
11936 * gdb.python/py-finish-breakpoint.exp
11937 * gdb.python/py-finish-breakpoint2.exp
11938 * gdb.python/py-frame-inline.exp
11939 * gdb.python/py-frame.exp
11940 * gdb.python/py-inferior.exp
11941 * gdb.python/py-infthread.exp
11942 * gdb.python/py-mi.exp
11943 * gdb.python/py-objfile.exp
11944 * gdb.python/py-pp-maint.exp
11945 * gdb.python/py-pp-registration.exp
11946 * gdb.python/py-prettyprint.exp
11947 * gdb.python/py-recurse-unwind.exp
11948 * gdb.python/py-shared.exp
11949 * gdb.python/py-symbol.exp
11950 * gdb.python/py-symtab.exp
11951 * gdb.python/py-template.exp
11952 * gdb.python/py-type.exp
11953 * gdb.python/py-unwind-maint.exp
11954 * gdb.python/py-unwind.exp
11955 * gdb.python/py-value.exp
11956 * gdb.python/python.exp
11957 * gdb.reverse/finish-reverse-bkpt.exp
11958 * gdb.reverse/insn-reverse.exp
11959 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11960 * gdb.reverse/solib-precsave.exp
11961 * gdb.reverse/solib-reverse.exp
11962 * gdb.stabs/gdb11479.exp
11963 * gdb.stabs/weird.exp
11964 * gdb.threads/fork-child-threads.exp
11965 * gdb.threads/fork-plus-threads.exp
11966 * gdb.threads/fork-thread-pending.exp
11967 * gdb.threads/forking-threads-plus-breakpoint.exp
11968 * gdb.threads/hand-call-in-threads.exp
11969 * gdb.threads/interrupted-hand-call.exp
11970 * gdb.threads/linux-dp.exp
11971 * gdb.threads/local-watch-wrong-thread.exp
11972 * gdb.threads/next-while-other-thread-longjmps.exp
11973 * gdb.threads/non-ldr-exit.exp
11974 * gdb.threads/pending-step.exp
11975 * gdb.threads/print-threads.exp
11976 * gdb.threads/process-dies-while-detaching.exp
11977 * gdb.threads/process-dies-while-handling-bp.exp
11978 * gdb.threads/pthreads.exp
11979 * gdb.threads/queue-signal.exp
11980 * gdb.threads/reconnect-signal.exp
11981 * gdb.threads/signal-command-handle-nopass.exp
11982 * gdb.threads/signal-command-multiple-signals-pending.exp
11983 * gdb.threads/signal-delivered-right-thread.exp
11984 * gdb.threads/signal-sigtrap.exp
11985 * gdb.threads/sigthread.exp
11986 * gdb.threads/staticthreads.exp
11987 * gdb.threads/stepi-random-signal.exp
11988 * gdb.threads/thread-unwindonsignal.exp
11989 * gdb.threads/thread_check.exp
11990 * gdb.threads/thread_events.exp
11991 * gdb.threads/tid-reuse.exp
11992 * gdb.threads/tls-nodebug.exp
11993 * gdb.threads/tls-shared.exp
11994 * gdb.threads/tls-so_extern.exp
11995 * gdb.threads/tls.exp
11996 * gdb.threads/wp-replication.exp
11997 * gdb.trace/actions-changed.exp
11998 * gdb.trace/actions.exp
11999 * gdb.trace/backtrace.exp
12000 * gdb.trace/change-loc.exp
12001 * gdb.trace/collection.exp
12002 * gdb.trace/deltrace.exp
12003 * gdb.trace/disconnected-tracing.exp
12004 * gdb.trace/entry-values.exp
12005 * gdb.trace/ftrace-lock.exp
12006 * gdb.trace/ftrace.exp
12007 * gdb.trace/infotrace.exp
12008 * gdb.trace/mi-trace-frame-collected.exp
12009 * gdb.trace/mi-trace-unavailable.exp
12010 * gdb.trace/mi-traceframe-changed.exp
12011 * gdb.trace/mi-tracepoint-changed.exp
12012 * gdb.trace/mi-tsv-changed.exp
12013 * gdb.trace/no-attach-trace.exp
12014 * gdb.trace/packetlen.exp
12015 * gdb.trace/passc-dyn.exp
12016 * gdb.trace/passcount.exp
12017 * gdb.trace/pending.exp
12018 * gdb.trace/pr16508.exp
12019 * gdb.trace/qtro.exp
12020 * gdb.trace/range-stepping.exp
12021 * gdb.trace/read-memory.exp
12022 * gdb.trace/report.exp
12023 * gdb.trace/save-trace.exp
12024 * gdb.trace/signal.exp
12025 * gdb.trace/stap-trace.exp
12026 * gdb.trace/status-stop.exp
12027 * gdb.trace/strace.exp
12028 * gdb.trace/tfile.exp
12029 * gdb.trace/tfind.exp
12030 * gdb.trace/trace-break.exp
12031 * gdb.trace/trace-condition.exp
12032 * gdb.trace/trace-enable-disable.exp
12033 * gdb.trace/trace-mt.exp
12034 * gdb.trace/tracecmd.exp
12035 * gdb.trace/tracefile-pseudo-reg.exp
12036 * gdb.trace/tspeed.exp
12037 * gdb.trace/tstatus.exp
12038 * gdb.trace/tsv.exp
12039 * gdb.trace/unavailable.exp
12040 * gdb.trace/while-dyn.exp
12041 * gdb.trace/while-stepping.exp
12042 * lib/gdb-guile.exp
12043 * lib/gdb.exp
12044 * lib/mi-support.exp
12045 * lib/pascal.exp
12046 * lib/perftest.exp
12047 * lib/prelink-support.exp
12048 * lib/selftest-support.exp
12049
ad02e4fe
SM
120502016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
12051
12052 * Makefile.in: Include disable-implicit-rules.mk.
12053
22347e55
AA
120542016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12055
12056 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
12057 non-byte-aligned bit fields.
12058
da5b30da
AA
120592016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12060
12061 PR gdb/12616
12062 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
12063 respects the DW_AT_data_bit_offset attribute.
12064
b593ecca
SM
120652016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
12066
12067 * gdb.base/default.exp: Fix output of "set language".
12068
3b165252
SM
120692016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
12070
12071 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
12072 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
12073 make.
12074 * configure.ac: Remove checks for the make program.
12075 * configure: Re-generate.
12076
1a2f3d7f
KB
120772016-11-16 Kevin Buettner <kevinb@redhat.com>
12078
12079 * gdb.python/py-recurse-unwind.c (main): Add loop.
12080 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
12081 to read_register() and gdb.parse_and_eval(). Make each code
12082 call a separate case that can be individually tested.
12083 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
12084 proc. Call cont_and_backtrace for each of the code paths that
12085 we want to test in the unwinder.
12086
b7f38fda
AA
120872016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
12088
12089 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
12090 the definition of struct S.
12091
1f8db343
CM
120922016-11-11 Catherine Moore <clm@codesourcery.com>
12093
12094 * gdb.base/dump.exp: Identify verilog format dump tests as such.
12095
fad0c9fb
PA
120962016-11-09 Pedro Alves <palves@redhat.com>
12097
12098 * gdb.base/commands.exp (runto_or_return): New procedure.
12099 (gdbvar_simple_if_test, gdbvar_simple_while_test)
12100 (gdbvar_complex_if_while_test, progvar_simple_if_test)
12101 (progvar_simple_while_test, progvar_complex_if_while_test)
12102 (if_while_breakpoint_command_test)
12103 (infrun_breakpoint_command_test, breakpoint_command_test)
12104 (user_defined_command_test, watchpoint_command_test)
12105 (test_command_prompt_position, redefine_hook_test)
12106 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
12107 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
12108 multi_line_input and multi_line. Remove gdb_expect and
12109 gdb_stop_suppressing_tests uses.
12110 * lib/gdb.exp (valnum_re): New global.
12111 (multi_line_input): New procedure.
12112
8354c62c
SM
121132016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
12114
12115 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
12116 Remove.
12117 (test_setup): Define with proc_with_prefix.
12118 (test_cli_inferior): Likewise.
12119 (test_cli_thread): Likewise.
12120 (test_cli_frame): Likewise.
12121 (test_cli_select_frame): Likewise.
12122 (test_cli_up_down): Likewise.
12123 (test_mi_thread_select): Likewise.
12124 (test_mi_stack_select_frame): Likewise.
12125 (test_cli_in_mi_inferior): Likewise.
12126 (test_cli_in_mi_thread): Likewise.
12127 (test_cli_in_mi_frame): Likewise.
12128 (top level): Do not use with_test_prefix_procname.
12129
64f367a2
PA
121302016-11-09 Pedro Alves <palves@redhat.com>
12131
12132 * gdb.base/commands.exp (gdbvar_simple_if_test)
12133 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
12134 (progvar_simple_if_test, progvar_simple_while_test)
12135 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
12136 (infrun_breakpoint_command_test, breakpoint_command_test)
12137 (user_defined_command_test, watchpoint_command_test)
12138 (test_command_prompt_position, deprecated_command_test)
12139 (bp_deleted_in_command, temporary_breakpoint_commands)
12140 (stray_arg0_test, source_file_with_indented_comment)
12141 (recursive_source_test, if_commands_test)
12142 (error_clears_commands_left, redefine_hook_test)
12143 (redefine_backtrace_test): Use proc_with_prefix.
12144 * lib/gdb.exp (proc_with_prefix): New proc.
12145
0bb65f1e
AA
121462016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12147
12148 * gdb.base/tui-layout.c: New file.
12149 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
12150 disassembly window contains very long lines.
12151
7353f247
TT
121522016-11-08 Tom Tromey <tom@tromey.com>
12153
12154 * gdb.python/py-value.exp (test_value_creation): Make "long" test
12155 depend on Python 2.
12156
30a7bb83
TT
121572016-11-08 Tom Tromey <tom@tromey.com>
12158
12159 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
12160 New method.
12161
cdf5a07c
MG
121622016-10-29 Manish Goregaokar <manish@mozilla.com>
12163
2806dc7e 12164 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 12165
51a789c3
MG
121662016-10-27 Manish Goregaokar <manish@mozilla.com>
12167
2806dc7e
PA
12168 * gdb.rust/simple.rs: Add test for univariant enums without
12169 discriminants and for encoded struct-like enums.
51a789c3 12170
f610ab6d
PA
121712016-10-28 Pedro Alves <palves@redhat.com>
12172
12173 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
12174 gdb_test_multiple, tighten regexps and match symtabs and line
12175 tables incrementally.
12176
b129b0ca
LM
121772016-10-28 Luis Machado <lgustavo@codesourcery.com>
12178
12179 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
12180 general.
12181
ecf45d2c
SL
121822016-10-25 Luis Machado <lgustavo@codesourcery.com>
12183
12184 * gdb.base/exec-invalid-sysroot.exp: New file.
12185
b8d38ee4
JK
121862016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12187
12188 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
12189
f90fd8c2
JK
121902016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12191
12192 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
12193
2d2476aa
MR
121942016-10-19 Maciej W. Rozycki <macro@imgtec.com>
12195
2806dc7e
PA
12196 * gdb.base/killed-outside.exp: Remove $options from a call to
12197 `prepare_for_testing'.
2d2476aa 12198
e42b25a0
SM
121992016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12200
12201 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12202 Change test message.
12203
3ccdb432
SM
122042016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12205
12206 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12207 Update comment.
12208
5bad3170
SM
122092016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12210
12211 * gdb.trace/mi-trace-save.exp: New file.
12212
5ad9dba7
YQ
122132016-10-13 Yao Qi <yao.qi@linaro.org>
12214
12215 * gdb.base/code_elim.exp (get_var_address): Remove.
12216 * gdb.base/relocate.exp: Likewise.
12217 * gdb.base/shreloc.exp: Likewise.
12218 * lib/gdb.exp (get_var_address): New.
12219
62df7e21
YQ
122202016-10-13 Yao Qi <yao.qi@linaro.org>
12221
12222 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
12223 floating point tests if $skip_float_test is false.
12224
4dac951e
LM
122252016-10-12 Luis Machado <lgustavo@codesourcery.com>
12226
12227 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
12228 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
12229 argc values.
12230 Add 1 to argc so we guarantee distinct initial/modified argc values.
12231
8f1a8fc4
JK
122322016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12233
12234 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
12235
16c85b5d
JK
122362016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12237
12238 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
12239 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
12240 * gdb.arch/vsx-regs.exp: Likewise.
12241
1d0e042a
YQ
122422016-10-07 Yao Qi <yao.qi@linaro.org>
12243
12244 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
12245
68dadef5
MM
122462016-10-07 Markus Metzger <markus.t.metzger@intel.com>
12247
12248 * gdb.python/python.exp: Test decode_line("*0").
12249
33fa2c6e
DE
122502016-10-06 Doug Evans <dje@google.com>
12251
12252 * gdb.python/py-value.exp (test_value_creation): Add test for large
12253 unsigned 64-bit value.
12254
9c37b5ae
TT
122552016-10-06 Tom Tromey <tom@tromey.com>
12256
12257 * gdb.compile/compile.exp: Change java tests to rust.
12258 * gdb.base/setshow.exp: Change java tests to rust.
12259 * gdb.base/default.exp: Remove java from language list.
12260 * README (Examples): Update language example.
12261 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
12262 test.
12263 * lib/gdb.exp (skip_java_tests): Remove.
12264 * lib/java.exp: Remove.
12265 * gdb.java: Remove.
12266
78b86327
MR
122672016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12268
12269 * gdb.arch/mips-fcr.exp: New test.
12270 * gdb.arch/mips-fcr.c: Source for the new test.
12271
7470adbb
MR
122722016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12273
12274 * gdb.base/solib-disc.exp: Use `standard_output_file'
12275 throughout.
12276
4a556533
PA
122772016-10-06 Pedro Alves <palves@redhat.com>
12278
12279 * gdb.base/jit-simple-dl.c: New file.
12280 * gdb.base/jit-simple-jit.c: New file, factored out from ...
12281 * gdb.base/jit-simple.c: ... this.
12282 * gdb.base/jit-simple.exp (jit_run): Delete.
12283 (build_jit): New proc.
12284 (jit_test_reread): Recompile either the main program or the shared
12285 library, depending on what is being tested. Skip changing address
12286 if caller wants to. Compare before/after addresses. If testing
12287 standalone, explicitly load the binary. Test "maint info
12288 breakpoints".
12289 (top level): Add "standalone vs shared lib" and "change address"
12290 vs "same address" axes.
12291
5a122fbc
PA
122922016-10-06 Pedro Alves <palves@redhat.com>
12293
12294 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
12295 call.
12296 (jit_run): Delete.
12297 (jit_test_reread): Use with_test_prefix. Reload the main binary
12298 explicitly. Compare the before/after addresses of the JIT
12299 descriptor.
12300
ee8da4b8
DE
123012016-08-15 Doug Evans <dje@google.com>
12302
12303 * gdb.xml/extra-regs.xml: Update, end field now required, default type
12304 for single bitfields is bool.
12305 * gdb.xml/tdesc-regs.exp: Ditto.
12306
f389f6fe
JK
123072016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12308
12309 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
12310
fdebf1a4
YQ
123112016-10-05 Yao Qi <yao.qi@linaro.org>
12312
12313 * lib/gdb.exp (support_complex_tests): Return zero if
12314 gdb_skip_float_test return true.
12315
9c36d954 123162016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12317 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
12318
12319 PR gdb/20487
12320 * gdb.mi/user-selected-context-sync.exp: New file.
12321 * gdb.mi/user-selected-context-sync.c: New file.
12322
4034d0ff 123232016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12324 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
12325
12326 PR gdb/20487
12327 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
12328 =thread-select-event check.
12329
a4297203
PB
123302016-09-29 Peter Bergner <bergner@vnet.ibm.com>
12331
12332 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
12333 the compulsory L operand changes.
12334 * gdb.arch/powerpc-power.s: Likewise.
12335
bb805577
JK
123362016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12337
12338 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
12339 * gdb.base/jit-attach-pie.c: New file.
12340 * gdb.base/jit-attach-pie.exp: New file.
12341
6d61dee5
PA
123422016-09-28 Pedro Alves <palves@redhat.com>
12343
12344 * gdb.base/infcall-input.c: New file.
12345 * gdb.base/infcall-input.exp: New file.
12346
f73842fc
YQ
123472016-09-22 Yao Qi <yao.qi@linaro.org>
12348
12349 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
12350 (gdb_exit): Rename it to ...
12351 (gdbserver_gdb_exit): ... Close GDBserver.
12352 (gdb_exit): New proc, call gdbserver_gdb_exit.
12353 (mi_gdb_exit): Likewise.
12354
90681dab
YQ
123552016-09-22 Yao Qi <yao.qi@linaro.org>
12356
12357 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
12358 path.
12359 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
12360 Remove duplication.
12361
9c211fd8
YQ
123622016-09-22 Yao Qi <yao.qi@linaro.org>
12363
12364 * lib/gdbserver-support.exp: Check the existence of
12365 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
12366
ad0a504f
AK
123672016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
12368
12369 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
12370
36cf1806
TT
123712016-09-21 Tom Tromey <tom@tromey.com>
12372
12373 PR gdb/20604:
12374 * gdb.base/quit.exp: New file.
12375
74172ecf
SM
123762016-09-21 Simon Marchi <simon.marchi@ericsson.com>
12377
12378 * .gitignore: New file.
12379
3d0ec882
MR
123802016-09-21 Maciej W. Rozycki <macro@imgtec.com>
12381
12382 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
12383 throughout.
12384
8193adea
AA
123852016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12386
12387 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
12388
d41a5c09
JK
123892016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12390
12391 * gdb.cp/casts.cc (decltype): Move it ...
12392 (main): ... with its call to ...
12393 * gdb.cp/casts03.cc: ... a new file.
12394 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
12395
d2dfe700
JK
123962016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12397
12398 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
12399
e2a92b16
PB
124002016-09-15 Peter Bergner <bergner@vnet.ibm.com>
12401
12402 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
12403 and sync up the test with tests in gas/testsuite/gas/ppc.
12404 * gdb.arch/powerpc-power.exp: Likewise.
12405
49b4de64
JK
124062016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12407
12408 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
12409
2c29df25
SDJ
124102016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
12411 Jan Kratochvil <jan.kratochvil@redhat.com>
12412
12413 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
12414 make m1's definition to be different from m2's. Use 'dummy' as an
12415 argument for probe 'two'.
12416
cc3c2846
JB
124172016-09-10 Jon Beniston <jon@beniston.com>
12418
12419 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
12420 for sim target.
12421
e1b2624a
AA
124222016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12423
12424 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
12425 variable declaration.
12426 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
12427 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
12428 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
12429 received HWCAP as its argument.
12430
4295e285
PA
124312016-09-06 Pedro Alves <palves@redhat.com>
12432
12433 * gdb.base/new-ui-pending-input.c: New file.
12434 * gdb.base/new-ui-pending-input.exp: New file.
12435 * gdb.exp (clear_gdb_spawn_id): New procedure.
12436 (with_spawn_id): Check whether gdb_spawn_id exists before
12437 referencing it. If gdb_spawn_id didn't exist on entry, clear it
12438 on exit.
12439
00d5215e
UW
124402016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12441
12442 * gdb.base/float128.c: New file.
12443 * gdb.base/float128.exp: Likewise.
12444 * gdb.base/floatn.c: Likewise.
12445 * gdb.base/floatn.exp: Likewise.
12446
a9ff5f12
UW
124472016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12448
12449 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
12450
f245535c
PA
124512016-09-05 Pedro Alves <palves@redhat.com>
12452
12453 PR backtrace/19927
12454 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
12455 unwinders are immediately called as side effect of "source" or
12456 "disable unwinder" commands.
12457 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
12458
ae9cf263
YQ
124592016-09-02 Yao Qi <yao.qi@linaro.org>
12460
12461 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
12462 is true and $type is "float" or "double".
12463
27aba047
YQ
124642016-09-02 Yao Qi <yao.qi@linaro.org>
12465
12466 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
12467 true.
12468 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
12469 * gdb.base/call-rt-st.exp: Likewise.
12470 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
12471 return value instead of gdb,skip_float_test.
12472 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
12473 (do_function_calls): Use its return value instead of
12474 gdb,skip_float_test.
12475 * gdb.base/finish.exp: Likewise.
12476 * gdb.base/funcargs.exp: Likewise.
12477 * gdb.base/return.exp: Likewise.
12478 * gdb.base/return2.exp: Likewise.
12479 * gdb.base/varargs.exp: Likewise.
12480 * lib/gdb.exp (gdb_skip_float_test): Change it to
12481 gdb_caching_proc. Detect the broken ptrace on arm-linux.
12482
5af962df
AA
124832016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12484
12485 * gdb.multi/tids.exp: Test "thread apply all".
12486
7fac6910
JK
124872016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12488
12489 * gdb.base/default.exp (tty): Remove.
12490
bb1fe4ac
KB
124912016-08-24 Kevin Buettner <kevinb@redhat.com>
12492
2806dc7e
PA
12493 * gdb.python/py-recurse-unwind.c: New file.
12494 * gdb.python/py-recurse-unwind.py: New file.
12495 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 12496
0a1ddfa6
SM
124972016-08-24 Simon Marchi <simon.marchi@ericsson.com>
12498
12499 * gdb.base/set-inferior-tty.exp: New file.
12500 * gdb.base/set-inferior-tty.c: New file.
12501
d9de1fe3
PA
125022016-08-23 Pedro Alves <palves@redhat.com>
12503
12504 PR gdb/20494
12505 * gdb.base/new-ui-echo.c: New file.
12506 * gdb.base/new-ui-echo.exp: New file.
12507
e9d9abd7
YQ
125082016-08-23 Yao Qi <yao.qi@linaro.org>
12509
12510 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
12511 gdbserver_spawn.
12512 * gdb.server/connect-without-multi-process.exp (do_test):
12513 Likewise.
12514
3589529e
YQ
125152016-08-23 Yao Qi <yao.qi@linaro.org>
12516
12517 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
12518 standalone_txt. Delete gdb_txt and standalone_txt on host
12519 and target. Spawn the binary on target. Copy files from
12520 target to host.
12521
6bb90213
PA
125222016-08-22 Pedro Alves <palves@redhat.com>
12523
12524 PR gdb/20505
12525 * gdb.base/vdso-warning.exp: Test core dumps too. Use
12526 with_test_prefix. Factor out bits to ...
12527 (test_no_vdso): ... this new procedure.
12528
20c2c024
CL
125292016-08-19 Carl Love <cel@us.ibm.com>
12530
12531 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
12532 maintaining separate logic for constructing the output path.
12533 * gdb.arch/powerpc-d128-regs.exp: Likewise.
12534 * gdb.arch/ppc-dfp.exp: Likewise.
12535 * gdb.arch/ppc-fp.exp: Likewise.
12536 * gdb.arch/vsx-regs.exp: Likewise.
12537 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
12538 binprefix for generating the additional binary files.
12539
0646e07d
PA
125402016-08-19 Pedro Alves <palves@redhat.com>
12541
12542 * gdb.trace/mi-trace-frame-collected.exp
12543 (test_trace_frame_collected): On x32, expect two registers.
12544
46da9242
CL
125452016-08-18 Carl Love <cel@us.ibm.com>
12546
12547 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
12548 and sync up the test with tests in gas/testsuite/gas/ppc.
12549 * gdb.arch/powerpc-power.exp: Likewise.
12550
eb2332d7
SM
125512016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12552
12553 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
12554 expected error message.
12555
63c61e04
SM
125562016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12557
12558 * gdb.multi/remove-inferiors.exp: New file.
12559 * gdb.multi/remove-inferiors.c: New file.
12560
7b17065f
YQ
125612016-08-12 Yao Qi <yao.qi@linaro.org>
12562
12563 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
12564 argument list.
12565
01d3dedf
PA
125662016-08-10 Pedro Alves <palves@redhat.com>
12567
12568 PR gdb/19187
12569 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
12570 setup_kfails.
12571
3eb7562a
PA
125722016-08-09 Pedro Alves <palves@redhat.com>
12573 Simon Marchi <simon.marchi@ericsson.com>
12574
12575 PR gdb/20418
12576 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
12577 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
12578
80614914
PA
125792016-08-09 Pedro Alves <palves@redhat.com>
12580
12581 PR mi/20431
12582 * gdb.mi/mi-cmd-error.exp: New file.
12583
f348d89a
PA
125842016-08-09 Pedro Alves <palves@redhat.com>
12585
12586 PR gdb/18653
12587 * gdb.base/signals-state-child.c: New file.
12588 * gdb.base/signals-state-child.exp: New file.
12589 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
12590
e5ca03b4
PA
125912016-08-09 Pedro Alves <palves@redhat.com>
12592
12593 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
12594
282a0691
TT
125952016-08-03 Tom Tromey <tom@tromey.com>
12596
12597 PR python/18565:
12598 * gdb.python/py-frame-inline.exp: Add Frame.function test.
12599
41bfcd63
YQ
126002016-08-01 Yao Qi <yao.qi@linaro.org>
12601
12602 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
12603 variable mode to "multi-process" if $multi_process is 1, otherwise
12604 set it to "single-process".
12605
e3465b24
YQ
126062016-08-01 Yao Qi <yao.qi@linaro.org>
12607
12608 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
12609 * gdb.cp/cpexprs.exp: Likewise.
12610 * gdb.cp/m-static.exp: Likewise.
12611
0b31a4bc
TT
126122016-07-26 Tom Tromey <tom@tromey.com>
12613
12614 PR python/20190:
12615 * gdb.threads/tls.exp (check_thread_local): Add python symbol
12616 test.
12617
e0461dbb
MM
126182016-07-26 Markus Metzger <markus.t.metzger@intel.com>
12619
12620 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
12621 selecting assembly source files.
12622 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
12623 assembly source files.
12624 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
12625 assembly source files.
12626 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
12627 selecting assembly source files.
12628
8194e927
SM
126292016-07-25 Simon Marchi <simon.marchi@ericsson.com>
12630
12631 * gdb.base/new-ui.exp (do_test_invalid_args): New
12632 procedure.
12633
c0272db5
TW
126342016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
12635
12636 * gdb.btrace/reconnect.c: New file.
12637 * gdb.btrace/reconnect.exp: New file.
12638
e3487908
GKB
126392016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
12640
12641 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
12642 to test_catch_syscall_group.
12643 (test_catch_syscall_group): New.
12644
12df5c00
TT
126452016-07-21 Tom Tromey <tom@tromey.com>
12646
12647 * gdb.rust/simple.rs (main): Use empty struct expression.
12648 * gdb.rust/simple.exp: Add tests for empty struct expression.
12649
bae62ee2
YQ
126502016-07-21 Yao Qi <yao.qi@linaro.org>
12651
12652 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
12653 if gdb_skip_xml_test is true on some targets.
12654
b1b53fb3
YQ
126552016-07-21 Yao Qi <yao.qi@linaro.org>
12656
12657 * gdb.server/solib-list.exp: Unset last_loaded_file.
12658
027d97f8
JK
126592016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12660
12661 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
12662 "step into captured_main (args)".
12663
7674d381
JK
126642016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12665
12666 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
12667
72b5d099
JK
126682016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12669
12670 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
12671
1f960ced
PA
126722016-07-19 Pedro Alves <palves@redhat.com>
12673
12674 * gdb.opt/inline-break.exp: Remove optimize=-O2.
12675 * gdb.opt/inline-bt.exp: Likewise.
12676 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
12677 additional_flags=-Winline.
12678 * gdb.opt/inline-locals.exp: Likewise.
12679 * gdb.opt/inline-markers.c (ATTR): Define.
12680 (inlined_fn): Use it.
12681
f25827c1
YQ
126822016-07-19 Yao Qi <yao.qi@linaro.org>
12683
12684 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
12685 (test_with_self): Remove some code. Remove argument executable.
12686 (top-level): Use do_self_tests.
12687
37539ebe
DB
126882016-07-15 Zachary Welch <zwelch@codesourcery.com>
12689 Don Breazeal <donb@codesourcery.com>
12690
12691 * gdb.base/maint.exp: Escape paths used in regular expressions.
12692 * gdb.stabs/weird.exp: Likewise.
12693
dac790e1
TT
126942016-07-13 Tom Tromey <tom@tromey.com>
12695
12696 PR python/15620, PR python/18620:
12697 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
12698 (test_bkpt_events): New procs.
12699
93daf339
TT
127002016-07-13 Tom Tromey <tom@tromey.com>
12701
12702 PR python/17698:
12703 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
12704 test.
12705 (test_watchpoints): Likewise.
12706 (test_bkpt_pending): New proc.
12707
6571a381
TT
127082016-07-13 Tom Tromey <tom@tromey.com>
12709
12710 PR cli/18053:
12711 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
12712 completion test.
12713
e8732474
JK
127142016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12715
12716 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
12717 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
12718 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
12719 f_label.
12720 (g): Rename g_end_lbl to g_label.
12721 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
12722 low_pc and high_pc.
12723 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
12724
e0f3fd7c
TT
127252016-07-12 Tom Tromey <tom@tromey.com>
12726
12727 PR python/19293:
12728 * gdb.python/py-unwind-maint.exp: Update tests.
12729
3cfe46b6
YQ
127302016-07-12 Yao Qi <yao.qi@linaro.org>
12731
12732 * lib/selftest-support.exp (selftest_setup): Match the output
12733 when captured_main is inlined.
12734
4f19a0e6
WT
127352016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
12736
12737 * gdb.fortran/derived-types.exp (result_line, result_line_2):
12738 New variables.
12739 (print this%a, print this%b, print this): New tests.
12740 * gdb.fortran/derived-types.f90 (this): New object and
12741 initialization.
12742
986cf455
SM
127432016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12744
12745 * gdb.ada/arraydim.exp: Remove extra directory level in build
12746 directory.
12747
f0464b23
SM
127482016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12749
12750 * lib/ada.exp: Remove extra directory level in build directory.
12751 * gdb.ada/cond_lang.exp: Likewise.
12752 * gdb.ada/exec_changed.exp: Likewise.
12753 * gdb.ada/lang_switch.exp: Likewise.
12754
42d94011
MG
127552016-07-06 Manish Goregaokar <manish@mozilla.com>
12756
2806dc7e
PA
12757 * simple.rs: Add test for raw pointer subscripting.
12758 * simple.exp: Add test expectations.
42d94011 12759
647c264c
YQ
127602016-07-05 Yao Qi <yao.qi@linaro.org>
12761
12762 * gdb.mi/mi-reverse.exp: Match =record-started output.
12763
20aa2c60
PA
127642016-07-01 Pedro Alves <palves@redhat.com>
12765
12766 * gdb.base/jit-reader.exp (info_registers_current_frame): New
12767 procedure.
12768 (jit_reader_test): Test the jit reader's unwinder.
12769 * gdb.base/jithost.c (jit_function_00_code): New global.
12770 (main): Use memcpy to fill in the mmapped code, instead of poking
12771 bytes manually here.
12772 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
12773 value.
12774 (read_debug_info): Save the function's range.
12775 (read_sp): New function.
12776 (unwind_frame): Use it. Also unwind RBP.
12777 (get_frame_id): Use read_sp.
12778 (gdb_init_reader): Use calloc instead of malloc.
12779 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
12780 parameter. Use gdb_test_multiple.
12781
ced2dffb
PA
127822016-07-01 Pedro Alves <palves@redhat.com>
12783 Antoine Tremblay <antoine.tremblay@ericsson.com>
12784
12785 * gdb.threads/process-dies-while-detaching.c: New file.
12786 * gdb.threads/process-dies-while-detaching.exp: New file.
12787
63000888
PA
127882016-07-01 Pedro Alves <palves@redhat.com>
12789
12790 * gdb.multi/watchpoint-multi-exit.c: New file.
12791 * gdb.multi/watchpoint-multi-exit.exp: New file.
12792
038d4868
PA
127932016-06-30 Pedro Alves <palves@redhat.com>
12794
12795 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
12796 unset inferior_spawn_id.
12797
994e9c83
PA
127982016-06-30 Pedro Alves <palves@redhat.com>
12799
12800 * lib/mi-support.exp (default_mi_gdb_start): Declare global
12801 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
12802
e5653468
YQ
128032016-06-29 Yao Qi <yao.qi@linaro.org>
12804
12805 * gdb.base/return.c: Add copyright header.
12806
803b47e5
TT
128072016-06-29 Tom Tromey <tom@tromey.com>
12808
12809 PR python/20129:
12810 * gdb.python/py-framefilter.exp: Add tests for setting priority
12811 and disabling of non-existent frame filter.
12812
28244707
YQ
128132016-06-29 Yao Qi <yao.qi@linaro.org>
12814
12815 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
12816 0x0f07ff.
12817
a31d2f06
YQ
128182016-06-28 Yao Qi <yao.qi@linaro.org>
12819
12820 * gdb.base/catch-syscall.exp: Remove check on isnative and target
12821 triplets. Start gdb, execute catch syscall, and continue. Check
12822 gdb's output to determine catch syscall is supported.
12823
921d8f54
MG
128242016-06-27 Manish Goregaokar <manish@mozilla.com>
12825
25d49b86
PA
12826 * gdb.rust/simple.rs: Add test for returning unit in a function.
12827 * gdb.rust/simple.exp: Add expectation for functions returning
12828 unit.
921d8f54 12829
f4952523
PMR
128302016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
12831
12832 * gdb.python/py-breakpoint-create-fail.c,
12833 gdb.python/py-breakpoint-create-fail.exp,
12834 gdb.python/py-breakpoint-create-fail.py: New testcase.
12835
fccb08f8
MG
128362016-06-25 Manish Goregaokar <manish@mozilla.com>
12837
12838 PR gdb/20239
12839 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
12840 * gdb.rust/simple.exp: Add test expectations for new NonZero
12841 tests.
fccb08f8 12842
6b850546
DT
128432016-06-24 David Taylor <dtaylor@emc.com>
12844
12845 * gdb.base/offsets.exp: New file.
12846 * gdb.base/offsets.c: New file.
12847
17621150
TT
128482016-06-23 Tom Tromey <tom@tromey.com>
12849
12850 PR gdb/16483:
12851 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
12852 before any filters are loaded.
12853
04d59df6
WT
128542016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
12855
12856 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
12857 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
12858 structs.
12859 * gdb.fortran/derived-type-function.exp: New file.
12860 * gdb.fortran/derived-type-function.f90: New file.
12861
12862
ac69f786
PA
128632016-06-21 Pedro Alves <palves@redhat.com>
12864
12865 * gdb.base/new-ui.exp: New file.
12866 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
12867 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
12868 (with_spawn_id): New procedure.
12869
49940788
PA
128702016-06-21 Pedro Alves <palves@redhat.com>
12871
12872 * gdb.mi/mi-exec-run.exp: New file.
12873
ef274d26
PA
128742016-06-21 Pedro Alves <palves@redhat.com>
12875
12876 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
12877 breakpoint command's output on the main UI.
12878 (test_break): New procedure, factored out from calls in the top
12879 level.
12880 (top level): Use foreach_with_prefix to test MI as main UI and as
12881 separate UI.
12882
468afe6c
PA
128832016-06-21 Pedro Alves <palves@redhat.com>
12884
12885 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
12886 (test_awatch_creation_and_listing)
12887 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
12888 Remove 'type' parameter.
12889 (test_watchpoint_all): New parameter mi_mode. Remove
12890 with_test_prefix.
12891 (top level): Use foreach_with_prefix, and add main/separate UI MI
12892 testing axis.
12893
51f77c37
PA
128942016-06-21 Pedro Alves <palves@redhat.com>
12895
12896 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
12897 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
12898 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
12899 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
12900 (gdb_main_spawn_id, mi_spawn_id): Declare and
12901 comment.
12902 (mi_create_inferior_pty): New procedure,
12903 factored out from default_mi_gdb_start.
12904 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
12905 procedures.
12906 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
12907 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
12908 Use mi_create_inferior_pty.
12909 (mi_gdb_start): Use eval to pass down args list.
12910
8980e177
PA
129112016-06-21 Pedro Alves <palves@redhat.com>
12912
12913 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
12914 * gdb.opt/inline-cmds.exp: Add MI tests.
12915
f38d3ad1
PA
129162016-06-21 Pedro Alves <palves@redhat.com>
12917
12918 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
12919
45db7c09
PA
129202016-06-21 Pedro Alves <palves@redhat.com>
12921
12922 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
12923 (top level): Use it instead of mi_execute_to.
12924
5a069ab3
PA
129252016-06-21 Pedro Alves <palves@redhat.com>
12926
12927 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
12928 (cont_handler_str): New.
12929 (signal_stop_handler): Set stop_handler_str instead of printing to
12930 stdout.
12931 (continue_handler): Set cont_handler_str instead of printing to
12932 stdout.
12933 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
12934 mi_send_resuming_command. Print stop_handler_str and
12935 cont_handler_str instead of expecting the python events print
12936 directly.
12937
2838cc1d
SD
129382016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
12939
12940 * gdb.base/jit-reader.exp: New file.
12941 * gdb.base/jithost.c: New file.
12942 * gdb.base/jithost.h: New file.
12943 * gdb.base/jitreader.c : New file.
12944 * gdb.base/jit-protocol.h: New file.
12945
21a77091
YQ
129462016-06-17 Yao Qi <yao.qi@linaro.org>
12947
12948 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
12949 parameters follow_fork and detach_on_fork. Set follow-fork-mode
12950 and detach-on-fork. Adjust tests.
12951 (top level): Invoke break_cond_on_syscall with combinations of
12952 syscall, follow-fork-mode and detach-on-fork.
12953
f50bf8e5
YQ
129542016-06-17 Yao Qi <yao.qi@linaro.org>
12955
12956 * gdb.base/step-over-exit.c: New.
12957 * gdb.base/step-over-exit.exp: New.
12958
a28d8e50
YTL
129592016-06-17 Yan-Ting Lin <currygt52@gmail.com>
12960
12961 * gdb.base/float.exp: Add target check for nds32*-*-*.
12962 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
12963
cad8e26d
AB
129642016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
12965
12966 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
12967 for unsupported target features.
12968 * gdb.base/call-rt-st.exp: Likewise.
12969 * gdb.base/call-sc.exp: Likewise.
12970 * gdb.base/call-signal-resume.exp: Likewise.
12971 * gdb.base/call-strs.exp: Likewise.
12972 * gdb.base/callexit.exp: Likewise.
12973 * gdb.base/callfuncs.exp: Likewise.
12974 * gdb.base/nodebug.exp: Likewise.
12975 * gdb.base/printcmds.exp: Likewise.
12976 * gdb.base/ptype.exp: Likewise.
12977 * gdb.base/structs.exp: Likewise.
12978 * gdb.base/unwindonsignal.exp: Likewise.
12979 * gdb.cp/gdb2495.exp: Likewise.
12980 * gdb.cp/templates.exp: Likewise.
12981 * gdb.cp/virtfunc.exp: Likewise.
12982 * gdb.threads/hand-call-in-threads.exp: Likewise.
12983 * gdb.threads/interrupted-hand-call.exp: Likewise.
12984 * gdb.threads/thread-unwindonsignal.exp: Likewise.
12985
347dc102
TT
129862016-06-10 Tom Tromey <tom@tromey.com>
12987
12988 PR rust/20110:
12989 * gdb.rust/expr.exp: Add test for integer constant larger than
12990 i32.
12991
5e13cf25
BH
129922016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
12993
12994 * gdb.fortran/nested-funcs.exp: New.
12995 * gdb.fortran/nested-funcs.f90: New.
12996
bb556f1f
TK
129972016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
12998
12999 * gdb.base/examine-backward.c: New file.
13000 * gdb.base/examine-backward.exp: New file.
13001
38b022b4
SM
130022016-06-06 Simon Marchi <simon.marchi@ericsson.com>
13003
13004 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
13005 matching.
13006
1b40ec05
TT
130072016-06-02 Tom Tromey <tom@tromey.com>
13008
13009 PR python/18984:
13010 * gdb.python/py-shared.exp: Add solib_name test.
13011
193bd378
SM
130122016-06-02 Simon Marchi <simon.marchi@ericsson.com>
13013
13014 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
13015
3326303b
MG
130162016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
13017
13018 PR c++/19893
13019 * gdb.dwarf2/implref.exp: Rename to...
13020 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
13021 * gdb.dwarf2/implref-array.c: New file.
13022 * gdb.dwarf2/implref-array.exp: Likewise.
13023 * gdb.dwarf2/implref-global.c: Likewise.
13024 * gdb.dwarf2/implref-global.exp: Likewise.
13025 * gdb.dwarf2/implref-struct.c: Likewise.
13026 * gdb.dwarf2/implref-struct.exp: Likewise.
13027
825c8ef2
AT
130282016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13029
13030 * gdb.trace/trace-condition.exp: Add 64bit tests.
13031
2320162a
AT
130322016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13033
13034 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
13035 bits types.
13036 (main): Adapt to 8 to 64 bits types.
13037 * gdb.trace/trace-condition.exp: Add new tests.
13038
a7818233
AT
130392016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13040
13041 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
13042
0d336466
AT
130432016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13044
13045 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
13046 Move condition tests...
13047 * gdb.trace/trace-condition.exp: Here.
13048
7faeb45a
AT
130492016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13050
13051 * gdb.trace/trace-condition.exp: Add counter-case tests.
13052
e385593e
JK
130532016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13054
13055 PR c++/15231
13056 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
13057 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
13058
744608cc
PA
130592016-05-27 Pedro Alves <palves@redhat.com>
13060
13061 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13062 New procedure.
13063 (top level): Call it, and bail out of DejaGnu is known to be bad.
13064
ac775bf4
AB
130652016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
13066
13067 * gdb.base/whatis.c: Extend the test case.
13068 * gdb.base/whatis.exp: Add additional tests.
13069
2bbad2ea
BH
130702016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13071
13072* gdb.fortran/type.f90: Add pointer variable.
13073* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
13074
8b70175d
BH
130752016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13076
13077 * gdb.fortran/vla-type.exp: Fix testcase name.
13078
86d8a848
BH
130792016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13080
13081 * gdb.fortran/vla-type.exp: Access elements in nested structs.
13082
e188eb36
BH
130832016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13084
13085 * gdb.fortran/type.f90: Add nested structures.
13086 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
13087 * gdb.fortran/derived-type.exp: Adapt expected output.
13088 * gdb.fortran/vla-type.exp: Adapt expected output.
13089
9b2db1fd
BH
130902016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13091
13092 * gdb.fortran/whatis_type.exp: Adapt expected output.
13093
72b17055
BH
130942016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13095
13096 * gdb.fortran/print_type.exp: Fix expected output.
13097 * gdb.fortran/whatis_type.exp: Fix expected output.
13098
3cd81d8d
BH
130992016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13100
13101 * gdb.fortran/whatis_type.exp: Use multi_line.
13102
ddae9462
TT
131032016-05-24 Tom Tromey <tom@tromey.com>
13104
13105 PR python/17386:
13106 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
13107 use value as an index.
13108
1957f6b8
TT
131092016-05-23 Tom Tromey <tom@tromey.com>
13110
13111 PR python/17981:
13112 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
13113 no-breakpoint case.
13114
026a9174
PA
131152016-05-24 Pedro Alves <palves@redhat.com>
13116
13117 PR gdb/19828
13118 * gdb.threads/clone-attach-detach.c: New file.
13119 * gdb.threads/clone-attach-detach.exp: New file.
13120
e70a7231
FR
131212016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
13122
13123 * gdb.base/annota-input-while-running.exp: Fix syntax error.
13124
0f6ed0e0
TT
131252016-05-23 Tom Tromey <tom@tromey.com>
13126
13127 PR python/19438, PR python/18393:
13128 * gdb.python/py-progspace.exp: Add "dir" test.
13129 * gdb.python/py-objfile.exp: Add "dir" test.
13130
ffd19d61
YQ
131312016-05-23 Yao Qi <yao.qi@linaro.org>
13132
13133 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
13134 * gdb.arch/thumb2-it.exp: Likewise.
13135
9e8f9b05
SM
131362016-05-18 Simon Marchi <simon.marchi@ericsson.com>
13137
13138 * gdb.mi/mi-threads-interrupt.c: New file.
13139 * gdb.mi/mi-threads-interrupt.exp: New file.
13140
61c6156d
SM
131412016-05-17 Simon Marchi <simon.marchi@ericsson.com>
13142
13143 PR gdb/18077
13144 * gdb.mi/mi-async-run.exp: New file.
13145 * gdb.mi/mi-async-run.c: New file.
13146
67218854
TT
131472016-05-17 Tom Tromey <tom@tromey.com>
13148 Manish Goregaokar <manishsmail@gmail.com>
13149
13150 * lib/rust-support.exp: New file.
13151 * lib/gdb.exp (skip_rust_tests): New proc.
13152 (build_executable_from_specs): Handle rust.
13153 * lib/future.exp (gdb_find_rustc): New proc.
13154 (gdb_default_target_compile): Handle rust.
13155 * gdb.rust/expr.exp: New file.
13156 * gdb.rust/generics.exp: New file.
13157 * gdb.rust/generics.rs: New file.
13158 * gdb.rust/methods.exp: New file.
13159 * gdb.rust/methods.rs: New file.
13160 * gdb.rust/modules.exp: New file.
13161 * gdb.rust/modules.rs: New file.
13162 * gdb.rust/simple.exp: New file.
13163 * gdb.rust/simple.rs: New file.
13164
c44af4eb
TT
131652016-05-17 Tom Tromey <tom@tromey.com>
13166
13167 * gdb.base/default.exp (set language): Add rust.
13168
dcd1f979
TT
131692016-05-17 Tom Tromey <tom@tromey.com>
13170
13171 * gdb.gdb/unittest.exp: New file.
13172
155b7f57
YQ
131732016-05-16 Yao Qi <yao.qi@linaro.org>
13174
13175 * gdb.base/batch-preserve-term-settings.exp: Remove variable
13176 shell_prompt. Update shell_prompt_re.
13177
8ddd5a6c
DE
131782016-05-12 Doug Evans <dje@google.com>
13179
13180 PR symtab/19999
13181 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
13182 $options when building executable.
13183 * gdb.dwarf2/fission-loclists-pie.S: New file.
13184 * gdb.dwarf2/fission-loclists-pie.exp: New file.
13185
02e370d9
SM
131862016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13187
13188 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
13189 of [is_remote target],
13190
8929ad8b
SM
131912016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13192
13193 * lib/gdb.exp (use_gdb_stub): New procedure.
13194
6c447423
DE
131952016-05-03 Yunlian Jiang <yunlian@google.com>
13196 Doug Evans <dje@google.com>
13197
13198 PR symtab/19914
13199 * gdb.dwarf2/dwp-sepdebug.c: New file.
13200 * gdb.dwarf2/dwp-sepdebug.exp: New file.
13201
444e826c
SM
132022016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13203
13204 * gdb.base/detach.exp: Remove is_remote check.
13205
740feeaa
SM
132062016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13207
13208 * gdb.base/annota-input-while-running.exp: Don't check for
13209 [is_remote target]. Enable annotations after running to main.
13210 Remove unused "set test..." line.
13211
9080ac9d
SM
132122016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13213
13214 * gdb.trace/trace-enable-disable.exp: New file.
13215 * gdb.trace/trace-enable-disable.c: New file.
13216
952ebca5
SM
132172016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13218
13219 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
13220 use it in info sharedlibrary test.
13221 * gdb.trace/ftrace-lock.exp: Likewise.
13222 * gdb.trace/ftrace.exp: Likewise.
13223 * gdb.trace/range-stepping.exp: Likewise.
13224 * gdb.trace/trace-break.exp: Likewise.
13225 * gdb.trace/trace-condition.exp: Likewise.
13226 * gdb.trace/trace-mt.exp: Likewise.
13227
d9019901
SM
132282016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13229
13230 * lib/gdb.exp (gdb_load_shlibs): Rename to...
13231 (gdb_load_shlib): ... this.
13232 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
13233 gdb_load_shlib.
13234 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
13235 * gdb.base/ctxobj.exp: Likewise.
13236 * gdb.base/dprintf-pending.exp: Likewise.
13237 * gdb.base/dso2dso.exp: Likewise.
13238 * gdb.base/fixsection.exp: Likewise.
13239 * gdb.base/gcore-relro.exp: Likewise.
13240 * gdb.base/gdb1555.exp: Likewise.
13241 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13242 * gdb.base/gnu-ifunc.exp: Likewise.
13243 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
13244 * gdb.base/jit-so.exp (one_jit_test): Likewise.
13245 * gdb.base/pending.exp: Likewise.
13246 * gdb.base/print-file-var.exp: Likewise.
13247 * gdb.base/print-symbol-loading.exp: Likewise.
13248 * gdb.base/shlib-call.exp: Likewise.
13249 * gdb.base/shreloc.exp: Likewise.
13250 * gdb.base/so-impl-ld.exp: Likewise.
13251 * gdb.base/solib-disc.exp: Likewise.
13252 * gdb.base/solib-nodir.exp: Likewise.
13253 * gdb.base/solib-overlap.exp: Likewise.
13254 * gdb.base/solib-symbol.exp: Likewise.
13255 * gdb.base/solib-weak.exp (do_test): Likewise.
13256 * gdb.base/sym-file.exp: Likewise.
13257 * gdb.base/symtab-search-order.exp: Likewise.
13258 * gdb.base/type-opaque.exp: Likewise.
13259 * gdb.base/unload.exp: Likewise.
13260 * gdb.base/watchpoint-solib.exp: Likewise.
13261 * gdb.compile/compile.exp: Likewise.
13262 * gdb.cp/gdb2384.exp: Likewise.
13263 * gdb.cp/infcall-dlopen.exp: Likewise.
13264 * gdb.cp/re-set-overloaded.exp: Likewise.
13265 * gdb.fortran/library-module.exp: Likewise.
13266 * gdb.opt/solib-intra-step.exp: Likewise.
13267 * gdb.python/py-finish-breakpoint.exp: Likewise.
13268 * gdb.python/py-shared.exp: Likewise.
13269 * gdb.reverse/solib-precsave.exp: Likewise.
13270 * gdb.reverse/solib-reverse.exp: Likewise.
13271 * gdb.server/solib-list.exp: Likewise.
13272 * gdb.threads/dlopen-libpthread.exp: Likewise.
13273 * gdb.threads/tls-shared.exp: Likewise.
13274 * gdb.threads/tls-so_extern.exp: Likewise.
13275 * gdb.trace/change-loc.exp: Likewise.
13276 * gdb.trace/ftrace-lock.exp: Likewise.
13277 * gdb.trace/ftrace.exp: Likewise.
13278 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
13279 * gdb.trace/pending.exp: Likewise.
13280 * gdb.trace/range-stepping.exp: Likewise.
13281 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
13282 (strace_info_marker): Likewise.
13283 (strace_probe_marker): Likewise.
13284 (strace_trace_on_same_addr): Likewise.
13285 (strace_trace_on_diff_addr): Likewise.
13286 * gdb.trace/trace-break.exp: Likewise.
13287 * gdb.trace/trace-condition.exp: Likewise.
13288 * gdb.trace/trace-mt.exp: Likewise.
13289
fca4cfd9
SM
132902016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13291
13292 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
13293 result of gdb_remote_download.
13294 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
13295 * gdb.base/dso2dso.exp: Likewise.
13296 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13297 * gdb.base/print-file-var.exp: Likewise.
13298 * gdb.base/shlib-call.exp: Likewise.
13299 * gdb.base/shreloc.exp: Likewise.
13300 * gdb.base/solib-overlap.exp: Likewise.
13301 * gdb.base/solib-weak.exp (do_test): Likewise.
13302 * gdb.base/unload.exp: Likewise.
13303
11cf4ffb
YQ
133042016-04-27 Yao Qi <yao.qi@linaro.org>
13305
13306 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
13307 exists.
13308
3e2e34f8
KB
133092016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13310
13311 * vla-type.exp: Print structure from toplevel.
13312
8f07e298
BH
133132016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13314
13315 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
13316 of dynamic types.
13317 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
13318 of dynamic types.
13319
9920b434
BH
133202016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13321
13322 * gdb.fortran/vla-type.f90: New file.
13323 * gdb.fortran/vla-type.exp: New file.
13324
f3abeff5
YQ
133252016-04-25 Yao Qi <yao.qi@linaro.org>
13326
13327 * gdb.base/branch-to-self.c: New file.
13328 * gdb.base/branch-to-self.exp: New file.
13329
0a5d52f0
YQ
133302016-04-22 Yao Qi <yao.qi@linaro.org>
13331
13332 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
13333 more after $hex.
13334
495346f6
YQ
133352016-04-22 Yao Qi <yao.qi@linaro.org>
13336
13337 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
13338 * gdb.base/annota3.exp: Likewise.
13339
4a7e075c
YQ
133402016-04-22 Yao Qi <yao.qi@linaro.org>
13341
13342 * gdb.reverse/step-precsave.exp: Do one step and test program
13343 stops in "callee" and do multiple steps until program goes out
13344 of "callee".
13345 * gdb.reverse/step-reverse.exp: Likewise.
13346
5b061e98
YQ
133472016-04-22 Yao Qi <yao.qi@linaro.org>
13348
13349 * gdb.trace/signal.exp: Also pass if
13350 $tracepoint_hits($i) > $iterations.
13351
5c5dc57f
YQ
133522016-04-22 Yao Qi <yao.qi@linaro.org>
13353
13354 * gdb.trace/signal.c: New file.
13355 * gdb.trace/signal.exp: New file.
13356
a55411b9
DE
133572016-04-19 Doug Evans <xdje42@gmail.com>
13358
13359 * gdb.base/bad-file.exp: New file.
13360
a22df60a
MG
133612016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
13362
13363 * gdb.dwarf2/implref.exp: New file.
13364
0c13f7e5
BH
133652016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13366
13367 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
13368 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
13369 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
13370 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
13371 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
13372 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
13373 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
13374 * lib/fortran.exp (fortran_int4): New procedure.
13375 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
13376 (fortran_logical4): Likewise.
13377
9b9b09e9
BH
133782016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
13379
13380 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
13381
a14d1f4d
BH
133822016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13383
13384 * lib/compiler.c: Add Intel specific preprocessor macros.
13385 * lib/compiler.cc: Likewise.
25d49b86 13386
7d49b1d0
LM
133872016-04-13 Luis Machado <lgustavo@codesourcery.com>
13388
13389 * gdb.server/connect-with-no-symbol-file.c: New file.
13390 * gdb.server/connect-with-no-symbol-file.exp: New file.
13391
8392fa22
SM
133922016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13393
13394 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
13395
8c4c4aeb
SM
133962016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13397
13398 * boards/gdbserver-base.exp (${board}_download): Copy source file to
13399 standard output directory.
13400
45e3745e
AT
134012016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
13402
13403 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
13404
e26b7e41
MM
134052016-04-13 Markus Metzger <markus.t.metzger@intel.com>
13406
13407 * gdb.btrace/instruction_history.c (loop): Add declaration.
13408
8ce09462
AT
134092016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13410
13411 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
13412
2e88a1ea
SM
134132016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
13414
13415 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
13416 parentheses to print.
13417 (continue_handler): Likewise.
13418
f48e22e3
SM
134192016-04-08 Simon Marchi <simon.marchi@ericsson.com>
13420
13421 * gdb.server/solib-list.exp: Remove is_remote check.
13422 Pass shlib= to gdb_compile. Don't link shared library with
13423 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
13424 Run binary filename through "readlink -f" on the target.
13425
096be756
PA
134262016-04-08 Pedro Alves <palves@redhat.com>
13427
13428 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
13429 interpreter filename as argument to gdbserver_spawn.
13430 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13431 Return empty if $last_loaded_file does not exist.
13432
06500533
JK
134332016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13434
13435 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
13436 * gdb.base/jit-main.c: Use exit after usage.
13437
2d35e871
JK
134382016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13439
13440 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
13441 GDBHISTSIZE prior to the tests.
13442 * gdb.base/gdbinit-history.exp: Likewise.
13443
134442016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
13445
13446 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
13447 instead of build_executable. Use gdb_load_shlibs.
13448
c8064e7e
YQ
134492016-04-07 Yao Qi <yao.qi@linaro.org>
13450
13451 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
13452 Execute "si" command.
13453
bde47561
YQ
134542016-04-07 Yao Qi <yao.qi@linaro.org>
13455
13456 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
13457 number instead of the comments on some line.
13458
b16f8a3b
DB
134592016-04-06 Don Breazeal <donb@codesourcery.com>
13460
13461 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
13462 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
13463
c2f901df
SM
134642016-04-06 Simon Marchi <simon.marchi@ericsson.com>
13465
13466 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
13467 standard_output_file. Remove unused binfile variable.
13468
ac17fda0
CU
134692016-04-05 Catalin Udma <catalin.udma@freescale.com>
13470
13471 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
13472 * gdb.python/py-mi-objfile.exp: Match "list main" output
13473 in console format.
13474
03a8c4df
SM
134752016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
13476
13477 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
13478 absolute.
13479
6e774b13
SM
134802016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13481
13482 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
13483 absolute.
13484 * gdb.trace/ftrace.exp: Likewise.
13485 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
13486 targets as well.
13487 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
13488 (gdb_load_shlibs): Copy libraries to test directory when testing
13489 natively. Only set solib-search-path if testing remotely.
13490 * lib/mi-support.exp (mi_load_shlibs): Likewise.
13491
7817ea46
SM
134922016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13493
13494 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
13495 gdb_download. Use it even if the target is not remote.
13496 * gdb.base/jit.exp (compile_jit_test): Likewise.
13497 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
13498 output directory if the destination board is local, otherwise use
13499 the standard remote_download from DejaGnu.
13500 (gdb_download): Remove.
13501 (gdb_load_shlibs): Use gdb_remote_download instead of
13502 gdb_download.
13503 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13504 Use gdb_remote_download instead of gdb_download. Use it even if
13505 the target is not remote.
13506 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
13507 instead of gdb_download.
13508
7beb7f68
SM
135092016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
13510
13511 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
13512 (test_insert_delete_modify): Call mi_load_shlibs before trying to
13513 run.
13514
cc63428a
AV
135152016-04-01 Artemiy Volkov <artemiyv@acm.org>
13516
13517 PR gdb/19820
13518 * gdb.base/printcmds.exp: Add artificial arrays tests.
13519
64cdf930
PA
135202016-03-31 Pedro Alves <palves@redhat.com>
13521
13522 PR gdb/19858
13523 * gdb.base/jit-main.c: Include unistd.h.
13524 (ATTACH): Define to 0 if not already defined.
13525 (wait_for_gdb, mypid): New globals.
13526 (WAIT_FOR_GDB): New macro.
13527 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
13528 some breakpoint locations.
13529 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
13530 New procedures.
13531 (one_jit_test): Add REATTACH parameter, and handle it. Use
13532 continue_to_test_location.
13533 (top level): Test attach, and adjusts calls to one_jit_test.
13534
40dea8cb
PA
135352016-03-31 Pedro Alves <palves@redhat.com>
13536
13537 PR gdb/19858
13538 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
13539 BINSUFFIX parameter, and handle it.
13540 (top level): Adjust calls compile_jit_test.
13541
e7ea3ec7
CU
135422016-03-31 Catalin Udma <catalin.udma@freescale.com>
13543
13544 PR python/19743
13545 * gdb.python/py-mi-events-gdb.py: New file.
13546 * gdb.python/py-mi-events.c: New file.
13547 * gdb.python/py-mi-events.exp: New file.
13548
e6359af3
YQ
135492016-03-30 Yao Qi <yao.qi@linaro.org>
13550
13551 * gdb.reverse/until-precsave.exp: Match function name only.
13552 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
13553 Move malloc to a condition block.
13554 * gdb.reverse/until-reverse.exp: Match function name only.
13555
a4105d04
MK
135562016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
13557
13558 * gdb.trace/ftrace.exp: Set arg0exp for s390.
13559 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
13560 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
13561 variable for GPR 0 instead of assuming it is register 0.
13562 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
13563 * lib/trace-support.exp: Add s390 registers.
13564
bfa6adb9
YQ
135652016-03-29 Yao Qi <yao.qi@linaro.org>
13566
13567 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
13568
1e6697ea
YQ
135692016-03-24 Yao Qi <yao.qi@linaro.org>
13570
13571 * gdb.reverse/break-reverse.exp: Add quotation mark in the
13572 test message.
13573
64bcd522
AA
135742016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13575
13576 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
13577 maintaining separate logic for constructing the output path.
13578
7868401b
DB
135792016-03-16 Don Breazeal <donb@codesourcery.com>
13580
13581 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
13582 Retry fork and waitpid on interrupted system call errors.
13583 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13584 Use with_timeout_factor to increase timeout by factor of 10.
13585
1cafadb4
DB
135862016-03-15 Don Breazeal <donb@codesourcery.com>
13587
13588 * gdb.cp/scope-err.cc: New test program.
13589 * gdb.cp/scope-err.exp: New test script.
13590 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
13591 lines and "set breakpoint here" comment.
13592 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
13593 Fixed some whitespace and format issues.
13594 * gdb.mi/mi-linespec-err-cp.cc: New test program.
13595 * gdb.mi/mi-linespec-err-cp.exp: New test script.
13596
81516450
DE
135972016-03-15 Doug Evans <dje@google.com>
13598
13599 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
13600 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
13601 All callers updated. Add tests for enums, mixed flags register.
13602
aa52b601
DE
136032016-03-15 Doug Evans <dje@google.com>
13604
13605 * gdb.base/skip.c (main): Call test_skip_file_and_function.
13606 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
13607
fa4ff313
SM
136082016-03-14 Simon Marchi <simon.marchi@ericsson.com>
13609
13610 * gdb.base/default.exp: Add $_as_string to the list of expected
13611 convenience functions.
13612
f2403c39
AB
136132016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
13614
13615 * gdb.base/maint.exp: New tests for 'maint info line-table'.
13616
f2f3ccb9
SM
136172016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
13618
13619 * gdb.python/py-as-string.exp: New file.
13620 * gdb.python/py-as-string.c: New file.
13621
00dbd492
PA
136222016-03-09 Pedro Alves <palves@redhat.com>
13623
13624 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
13625 signal" -> "Thread NN received signal" output change.
13626 * gdb.threads/ia64-sigill.exp: Likewise.
13627 * gdb.threads/linux-dp.exp: Likewise.
13628 * gdb.threads/manythreads.exp: Likewise.
13629 * gdb.threads/pending-step.exp: Likewise.
13630 * gdb.threads/print-threads.exp: Likewise.
13631 * gdb.threads/sigstep-threads.exp: Likewise.
13632 * gdb.threads/staticthreads.exp: Likewise.
13633 * gdb.threads/tls.exp: Likewise.
13634
1e6697ea
YQ
136352016-03-09 Pedro Alves <palves@redhat.com>
13636
13637 * gdb.base/command-line-input.exp: New file.
13638
b04fd3be
MK
136392016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13640
13641 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
13642 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
13643 * gdb.trace/pending.exp: Accept leading dot before function name.
13644 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
13645 * lib/trace-support.exp: Set registers for ppc.
13646
98fa59e9
MK
136472016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13648
13649 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
13650 use it for disassembly; accept .main in addition to main in backtrace.
13651
f77198c8
MK
136522016-03-09 Wei-cheng Wang <cole945@gmail.com>
13653 Marcin Kościelnicki <koriakin@0x04.net>
13654
13655 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
13656 (gdb_recursion_test_ptr): New global variable.
13657 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
13658 gdb_recursion_test.
13659 (gdb_c_test): Ditto.
13660
ba84e0da
MK
136612016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13662
13663 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
13664 ordering.
13665
4366d36e
MK
136662016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13667
13668 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
13669 (bar): Add bar_start_lbl label.
13670 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
13671 of foo/bar for emitting DWARF and tracing.
13672
5eb264df
SDJ
136732016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
13674
13675 * analyze-racy-logs.py: Set executable bit.
13676
fb6a751f
SDJ
136772016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
13678
13679 * Makefile.in (DEFAULT_RACY_ITER): New variable.
13680 (CHECK_TARGET_TMP): Likewise.
13681 (check-single-racy): New rule.
13682 (check-parallel-racy): Likewise.
13683 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
13684 (do-check-parallel-racy): New rule.
13685 (check-racy/%.exp): Likewise.
13686 * README (Racy testcases): New section.
13687 * analyze-racy-logs.py: New file.
13688
bdf7e230
DE
136892016-03-03 Doug Evans <dje@google.com>
13690
13691 * gdb.base/skip.exp: Use with_test_prefix.
13692
4719d415
YQ
136932016-03-03 Yao Qi <yao.qi@linaro.org>
13694
13695 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
13696 Invoke step_over_syscall "clone" and break_cond_on_syscall
13697 "clone".
13698 * gdb.base/step-over-clone.c: New file.
13699
ea507862
YQ
137002016-03-03 Yao Qi <yao.qi@linaro.org>
13701
13702 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
13703 code format.
13704
8fc8cbda
YQ
137052016-03-03 Yao Qi <yao.qi@linaro.org>
13706
13707 * gdb.base/disp-step-fork.c: Rename to ...
13708 * gdb.base/step-over-fork.c: ... it. New file.
13709 * gdb.base/disp-step-vfork.c: Rename to ...
13710 * gdb.base/step-over-vfork.c: ... it. New file.
13711 * gdb.base/disp-step-syscall.exp: Rename to ...
13712 * gdb.base/step-over-syscall.exp: ... it. New file.
13713 (disp_step_cross_syscall): Rename to ...
13714 (step_over_syscall): ... it.
13715
92fa70b0
YQ
137162016-03-03 Yao Qi <yao.qi@linaro.org>
13717
13718 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
13719 If target supports condition evaluation on target, invoke
13720 break_cond_on_syscall for fork and vfork.
13721
e197ad3c
YQ
137222016-03-03 Yao Qi <yao.qi@linaro.org>
13723
13724 * gdb.base/disp-step-syscall.exp: Don't invoke
13725 support_displaced_stepping.
13726 (disp_step_cross_syscall): Test with displaced stepping off and
13727 on if supported.
13728
0b47da9f
YQ
137292016-03-03 Yao Qi <yao.qi@linaro.org>
13730
13731 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
13732 proc.
13733 (setup): New proc.
13734 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
13735 and setup.
13736
065ab6dc
BH
137372016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13738
13739 * gdb.fortran/vla-history.exp: Remove breakpoint.
13740
07e448ad 137412016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13742
25d49b86
PA
13743 * gdb.fortran/vla-history.exp: Lookup array elements and printing
13744 exceeds timeout.
07e448ad 13745
9ac2d526 137462016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13747
25d49b86
PA
13748 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
13749 breakpoint.
9ac2d526 13750
17807369
BH
137512016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13752
13753 * gdb.mi/vla.f90: Nullify pointer after declaration.
13754
86e501af
PA
137552016-03-01 Pedro Alves <palves@redhat.com>
13756
13757 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
13758
1e903e32
PA
137592016-03-01 Pedro Alves <palves@redhat.com>
13760
13761 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
13762 before anything else.
13763 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
13764 _GNU_SOURCE here.
13765 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
13766 before anything else.
13767 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
13768
6ccb54e2
PA
137692016-03-01 Pedro Alves <palves@redhat.com>
13770
13771 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
13772
30ca9da1
YQ
137732016-03-01 Yao Qi <yao.qi@linaro.org>
13774
13775 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
13776 prepare_for_testing.
13777
dc856b38
YQ
137782016-03-01 Yao Qi <yao.qi@linaro.org>
13779
13780 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
13781
4a932159
AA
137822016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13783
13784 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
13785 manually constructing the output path.
13786
f2489477
AA
137872016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13788
13789 * gdb.arch/s390-stackless.S: New.
13790 * gdb.arch/s390-stackless.exp: New.
13791
38899f16
IB
137922016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
13793
13794 * gdb.dlang/circular.c: New file.
13795 * gdb.dlang/circular.exp: New file.
13796
9fde51ed
YQ
137972016-02-26 Yao Qi <yao.qi@linaro.org>
13798
13799 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
13800 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
13801 (testcases): Update.
13802
ce90fefe
YQ
138032016-02-26 Yao Qi <yao.qi@linaro.org>
13804
13805 * gdb.reverse/aarch64.c: Rename to ...
13806 * gdb.reverse/insn-reverse.c: ... it.
13807 * gdb.reverse/aarch64.exp: Rename to ...
13808 * gdb.reverse/insn-reverse.exp: ... it.
13809
3263bceb
YQ
138102016-02-26 Yao Qi <yao.qi@linaro.org>
13811
13812 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
13813 (testcase_ftype): New.
13814 (testcases): New array.
13815 (n_testcases): New.
13816 (main): Call each element in testcases.
13817 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
13818 (read_testcase): New.
13819 Do the tests in a loop.
13820
6cb59ff1
YQ
138212016-02-25 Yao Qi <yao.qi@linaro.org>
13822
13823 * gdb.base/branches.c: Remove.
13824
ae91f625
MK
138252016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13826
13827 PR gdb/13808
13828 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
13829
678b48b7
MK
138302016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13831
13832 * gdb.trace/ftrace.exp: Remove unnecessary target check.
13833
7337a6f2
MK
138342016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13835
13836 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
13837 change x86_64 call_insn to 'callq'.
13838
861ca91f
AT
138392016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13840
13841 * gdb.trace/tfile-avx.c: Move to...
13842 * gdb.trace/tracefile-pseudo-reg.c: Here.
13843 * gdb.trace/tfile-avx.exp: Move to...
13844 * gdb.trace/tracefile-pseudo-reg.exp: Here.
13845
bf74e428
GB
138462016-02-24 Gary Benson <gbenson@redhat.com>
13847
13848 * gdb.base/attach-pie-noexec.exp: Do not expect an error
13849 message on attach.
13850
cce0e923
DE
138512016-02-23 Doug Evans <dje@google.com>
13852
13853 * gdb.base/skip.c (test_skip): New function.
13854 (end_test_skip_file_and_function): New function.
13855 (test_skip_file_and_function): New function.
13856 * gdb.base/skip1.c (test_skip): New function.
13857 (skip1_test_skip_file_and_function): New function.
13858 * gdb.base/skip.exp: Add tests for new skip options.
13859 * gdb.base/skip-solib.exp: Update expected output.
13860 * gdb.perf/skip-command.cc: New file.
13861 * gdb.perf/skip-command.exp: New file.
13862 * gdb.perf/skip-command.py: New file.
13863
4000e47e
MK
138642016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
13865
13866 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
13867 info registers pattern.
13868
24f75ead
IB
138692016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
13870
13871 * lib/future.exp: Add D support.
13872 (gdb_find_gdc): New proc.
13873 (gdb_default_target_compile): Add D support.
13874
fbb7bcbe
WW
138752016-02-18 Wei-cheng Wang <cole945@gmail.com>
13876
13877 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
13878 user+system time.
13879 (trace_speed_test): Determine the iteration count for a time
13880 between 15..30 seconds.
13881
012b3a21
WT
138822016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
13883
13884 * gdb.arch/i386-mpx-sigsegv.c: New file.
13885 * gdb.arch/i386-mpx-sigsegv.exp: New file.
13886 * gdb.arch/i386-mpx-simple_segv.c: New file.
13887 * gdb.arch/i386-mpx-simple_segv.exp: New file.
13888
2d5189bd
YQ
138892016-02-18 Yao Qi <yao.qi@linaro.org>
13890
13891 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13892 Don't call setup_kfail.
13893
40fb20d0
YQ
138942016-02-18 Yao Qi <yao.qi@linaro.org>
13895
13896 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13897 Set "set breakpoint condition-evaluation" per $cond_bp_target.
13898
21b1f8d2
DE
138992016-02-16 Doug Evans <dje@google.com>
13900
13901 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
13902 * gdb.base/skip1.c: Ditto.
13903 * gdb.base/skip.exp: Whitespace cleanup.
13904
4041ed77
DB
139052016-02-16 Don Breazeal <donb@codesourcery.com>
13906
13907 PR remote/19496
13908 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13909 Remove kfail for PR remote/19496.
13910
c4ef31bf
SM
139112016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13912
13913 * lib/gdb.exp (standard_temp_file): Return a path specific to
13914 the runtest invocation.
13915
266b65b3
SM
139162016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13917
13918 * gdb.trace/save-trace.exp: Change relative path to be in the
13919 standard output directory.
13920
a7a0a6a9
JK
139212016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13922
13923 * gdb.arch/i386-prologue.c: Add missing prototypes.
13924
c99dbb42
JK
139252016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13926
13927 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
13928 * gdb.arch/i386-prologue.exp: Likewise.
13929 * gdb.arch/i386-size.exp: Likewise.
13930
aa480355
SM
139312016-02-15 Simon Marchi <simon.marchi@ericsson.com>
13932
13933 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
13934 define object file path.
13935 * gdb.btrace/gcore.exp: Use standard_output_file to define core
13936 file path.
13937 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
13938 standard_output_file to define binfile.
13939
ba881f50
JK
139402016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13941
13942 Fix compatibility with recent gfortran-5.3.1.
13943 * gdb.fortran/vla-history.exp (print vla1 allocated)
13944 (print vla2 allocated, print $2, print $3): Remove
13945 (print $4): Rename to ...
13946 (print $2): ... here.
13947 (print $9): Rename to ...
13948 (print $5): ... here.
13949 (print $10): Rename to ...
13950 (print $6): ... here.
13951 * gdb.fortran/vla.f90: Add pvla initialization.
13952
e9fb005c
JK
139532016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13954
13955 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
13956 New test.
13957 * gdb.fortran/vla-value-sub.exp: Likewise.
13958
e44e00ff
MK
139592016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
13960
13961 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
13962
97e94151
SM
139632016-02-12 Simon Marchi <simon.marchi@ericsson.com>
13964
13965 * i386-biarch-core.exp: Define corefile using
13966 standard_output_file.
13967
01113bc1
YQ
139682016-02-12 Yao Qi <yao.qi@linaro.org>
13969
13970 * gdb.arch/arm-single-step-kernel-helper.c: New.
13971 * gdb.arch/arm-single-step-kernel-helper.exp: New.
13972
33b4777c
MM
139732016-02-12 Markus Metzger <markus.t.metzger@intel.com>
13974
13975 * gdb.btrace/tailcall-only.exp: New.
13976 * gdb.btrace/tailcall-only.c: New.
13977 * gdb.btrace/x86_64-tailcall-only.S: New.
13978 * gdb.btrace/i686-tailcall-only.S: New.
13979
acc23c11
PA
139802016-02-11 Pedro Alves <palves@redhat.com>
13981
13982 * README (Parallel testing): Add missing double quotes.
13983
e352bf0a
PA
139842016-02-11 Pedro Alves <palves@redhat.com>
13985
13986 * README (Parallel testing): New section.
13987 (GDB_PARALLEL): Rewrite.
13988 (FORCE_PARALLEL): Document.
13989
9f5fed78
MK
139902016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
13991
13992 * gdb.trace/tfile-avx.c: New test.
13993 * gdb.trace/tfile-avx.exp: New test.
13994
9ef9e6a6
KS
139952016-02-09 Keith Seitz <keiths@redhat.com>
13996
13997 PR breakpoints/19546
13998 * gdb.base/infcall-exec.c: New file.
13999 * gdb.base/infcall-exec2.c: New file.
14000 * gdb.base/infcall-exec.exp: New file.
14001
a96e36da
KS
140022016-02-09 Keith Seitz <keiths@redhat.com>
14003
14004 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
14005 (toplevel): Call test_bkpt_address.
14006
9f61929f
KS
140072016-02-09 Keith Seitz <keiths@redhat.com>
14008
14009 PR python/19506
14010 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
14011 (toplevel): Call test_bkpt_address.
14012
1e94266c
SM
140132016-02-09 Simon Marchi <simon.marchi@ericsson.com>
14014
14015 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
14016 to AC_OUTPUT.
14017 * configure: Regenerate.
14018
2a7f3dff
PA
140192016-02-09 Pedro Alves <palves@redhat.com>
14020
14021 PR breakpoints/19548
14022 * gdb.base/execl-update-breakpoints.c (some_function): New
14023 function.
14024 (main): Call it.
14025 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
14026 Tighten expected GDB output.
14027
2151ccc5
SM
140282016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14029
14030 * Makefile.in (ALL_SUBDIRS): Remove.
14031 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
14032 (distclean maintainer-clean realclean): Likewise.
14033 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
14034 * configure: Regenerate.
14035 * gdb.ada/Makefile.in: Delete.
14036 * gdb.arch/Makefile.in: Likewise.
14037 * gdb.asm/Makefile.in: Likewise.
14038 * gdb.base/Makefile.in: Likewise.
14039 * gdb.btrace/Makefile.in: Likewise.
14040 * gdb.cell/Makefile.in: Likewise.
14041 * gdb.compile/Makefile.in: Likewise.
14042 * gdb.cp/Makefile.in: Likewise.
14043 * gdb.disasm/Makefile.in: Likewise.
14044 * gdb.dlang/Makefile.in: Likewise.
14045 * gdb.dwarf2/Makefile.in: Likewise.
14046 * gdb.fortran/Makefile.in: Likewise.
14047 * gdb.gdb/Makefile.in: Likewise.
14048 * gdb.go/Makefile.in: Likewise.
14049 * gdb.guile/Makefile.in: Likewise.
14050 * gdb.java/Makefile.in: Likewise.
14051 * gdb.linespec/Makefile.in: Likewise.
14052 * gdb.mi/Makefile.in: Likewise.
14053 * gdb.modula2/Makefile.in: Likewise.
14054 * gdb.multi/Makefile.in: Likewise.
14055 * gdb.objc/Makefile.in: Likewise.
14056 * gdb.opencl/Makefile.in: Likewise.
14057 * gdb.opt/Makefile.in: Likewise.
14058 * gdb.pascal/Makefile.in: Likewise.
14059 * gdb.perf/Makefile.in: Likewise.
14060 * gdb.python/Makefile.in: Likewise.
14061 * gdb.reverse/Makefile.in: Likewise.
14062 * gdb.server/Makefile.in: Likewise.
14063 * gdb.stabs/Makefile.in: Likewise.
14064 * gdb.threads/Makefile.in: Likewise.
14065 * gdb.trace/Makefile.in: Likewise.
14066 * gdb.xml/Makefile.in: Likewise.
14067 * lib/gdb.exp (make_gdb_parallel_path): Add check for
14068 GDB_PARALLEL.
14069 (standard_output_file): Remove check for GDB_PARALLEL, always
14070 return path in outputs/$subdir/$testname.
14071
437277d4
SM
140722016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14073
14074 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
14075 (site.exp): Assign abs_srcdir to tcl's srcdir.
14076
31d913c7
YQ
140772016-02-04 Yao Qi <yao.qi@linaro.org>
14078
14079 * gdb.base/foll-exec-mode.c: Include limits.h.
14080 (main): Add parameters argc and argv. Get directory from
14081 argv[0].
14082 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
14083 compilation.
14084 * gdb.base/foll-exec.c: Include limits.h.
14085 (main): Add parameters argc and argv.
14086 Get directory from argv[0].
14087 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
14088 Adjust tests on the number of lines as source code changed.
14089 * gdb.base/foll-vfork-exit.c: Include limits.h.
14090 (main): Add one line of statement before vfork.
14091 * gdb.base/foll-vfork.c: Include limits.h and string.h.
14092 (main): Add parameters argc and argv. Get directory from
14093 argv[0].
14094 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
14095 (setup_gdb): Set tbreak to skip some source lines.
14096 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
14097 (main): Add parameters argc and argv. Get directory from
14098 argv[0].
14099 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
14100 compilation.
14101 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
14102 (main): Add parameters argc and argv. Get directory from
14103 argv[0].
14104 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
14105 compilation.
14106
9482b9fb
DE
141072016-02-01 Doug Evans <dje@google.com>
14108
14109 * gdb.base/skip.exp: Clean up multiple references to same test name.
14110
6b2e4f10
PA
141112016-02-01 Pedro Alves <palves@redhat.com>
14112
ccb6afd6 14113 PR remote/19496
6b2e4f10
PA
14114 * gdb.threads/forking-threads-plus-breakpoint.exp
14115 (displaced_stepping_supported): New global.
14116 (probe_displaced_stepping_support): New procedure.
14117 (do_test): Add 'displaced' parameter, and use it.
14118 (top level): Check for displaced stepping support. Add displaced
14119 stepping on/off testing axis.
14120
37a8db1a
AB
141212016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14122
14123 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
14124 pointer. Don't perform further tests on the unassociated pointer
14125 if the first test fails.
14126
5fdf6324
AB
141272016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14128
14129 * gdb.base/max-value-size.c: New file.
14130 * gdb.base/max-value-size.exp: New file.
14131 * gdb.base/huge.exp: Disable max-value-size for this test.
14132
935c6144
IB
141332016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
14134
14135 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14136
7fe8399d
YQ
141372016-01-28 Yao Qi <yao.qi@linaro.org>
14138
14139 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
14140
a2077e25
PA
141412016-01-25 Pedro Alves <palves@redhat.com>
14142
14143 PR threads/19461
14144 * gdb.base/fork-running-state.c: New file.
14145 * gdb.base/fork-running-state.exp: New file.
14146
1d2736d4
PA
141472016-01-25 Pedro Alves <palves@redhat.com>
14148
14149 PR gdb/19494
14150 * gdb.base/catch-fork-kill.c: New file.
14151 * gdb.base/catch-fork-kill.exp: New file.
14152
f1da4b11
PA
141532016-01-25 Pedro Alves <palves@redhat.com>
14154
14155 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
14156 Delete, moved to lib/gdb.exp.
14157 * gdb.threads/forking-threads-plus-breakpoint.exp
14158 (foreach_with_prefix): Likewise.
14159 * gdb.threads/process-dies-while-handling-bp.exp
14160 (foreach_with_prefix): Likewise.
14161 * lib/gdb.exp (foreach_with_prefix): New procedure.
14162
45f38546
MK
141632016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
14164
14165 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
14166 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
14167
dc29a1ce
MK
141682016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
14169
14170 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
14171 endian targets.
14172
092127d7
JK
141732016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14174 Pedro Alves <palves@redhat.com>
14175
14176 Fix testsuite compatibility with Guile.
14177 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
14178 number.
14179
31d765d3
JK
141802016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14181
14182 Fix testsuite compatibility with Guile.
14183 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
14184 (thread 1): New test for backtrace through signal handler.
14185
1ac78c04
YQ
141862016-01-22 Yao Qi <yao.qi@linaro.org>
14187
14188 PR testsuite/19491
14189 * gdb.base/multi-forks.c: Include
14190 ../lib/unbuffer_output.c
14191 (main): Call gdb_unbuffer_output.
14192
4f5946a8
DE
141932016-01-21 Doug Evans <dje@google.com>
14194
14195 * lib/ada.exp (gdb_compile_ada): Fix typo.
14196
305e13e6
JB
141972016-01-21 Joel Brobecker <brobecker@adacore.com>
14198
14199 * gdb.base/break-fun-addr.exp: New file.
14200 * gdb.base/break-fun-addr1.c: New file.
14201 * gdb.base/break-fun-addr2.c: New file.
14202
5f5dfff6
SM
142032016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
14204
14205 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
14206 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
14207 enum flag values.
14208
fd356fa2
AA
142092016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14210
14211 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
14212 when GDB can not set the vector return value. Add more comments
14213 for clarification.
14214
9df22175
AT
142152016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
14216
14217 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
14218 command.
14219
41d1845e
SM
142202016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14221
14222 * Makefile.in (DO_RUNTEST): Add --status and update usages.
14223
01ac6840
SM
142242016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14225
14226 * Makefile.in (check-single): Pass --status to runtest.
14227 (check/%.exp): Likewise.
14228
142292016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14230
14231 * Makefile.in (check-parallel): Propagate return code from make
14232 do-check-parallel.
14233
bd0a71fa
MK
142342016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
14235
14236 * gdb.trace/ftrace.exp: Fix expected message on continue.
14237 * gdb.trace/pending.exp: Fix expected message on continue.
14238 * gdb.trace/trace-break.exp: Fix expected message on continue.
14239
8bcbad33
SM
142402016-01-18 Simon Marchi <simon.marchi@ericsson.com>
14241
14242 * lib/gdb.exp (gdb_test): Remove unused global references.
14243
f303dbd6
PA
142442016-01-18 Pedro Alves <palves@redhat.com>
14245
14246 * gdb.base/async-shell.exp: Adjust expected output.
14247 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
14248 * gdb.base/siginfo-thread.exp: Adjust expected output.
14249 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
14250 * gdb.java/jnpe.exp: Adjust expected output.
14251 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
14252 * gdb.threads/continue-pending-status.exp: Adjust expected output.
14253 * gdb.threads/leader-exit.exp: Adjust expected output.
14254 * gdb.threads/manythreads.exp: Adjust expected output.
14255 * gdb.threads/pthreads.exp: Adjust expected output.
14256 * gdb.threads/schedlock.exp: Adjust expected output.
14257 * gdb.threads/siginfo-threads.exp: Adjust expected output.
14258 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
14259 expected output.
14260 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
14261 output.
14262 * gdb.threads/sigthread.exp: Adjust expected output.
14263 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
14264
b2789696
YQ
142652016-01-18 Yao Qi <yao.qi@linaro.org>
14266
14267 * gdb.guile/scm-section-script.c: Replace @progbits with
14268 %progbits.
14269 * gdb.python/py-section-script.c: Likewise.
14270
71ef29a8
PA
142712016-01-15 Pedro Alves <palves@redhat.com>
14272
14273 * gdb.multi/tids.exp: Test star wildcard ranges.
14274
3f5b7598
PA
142752016-01-15 Pedro Alves <palves@redhat.com>
14276
14277 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
14278 command from "thread apply" invocation.
14279 (thr_apply_info_thr_invalid): Default the expected output to the
14280 input tid list.
14281 (top level): Add tests that use convenience variables. Add tests
14282 for "thread apply" with a valid TID list, but missing the command.
14283
663f6d42
PA
142842016-01-13 Pedro Alves <palves@redhat.com>
14285
14286 * gdb.base/default.exp: Expect $_gthread as well.
14287 * gdb.multi/tids.exp: Test $_gthread.
14288 * gdb.threads/thread-specific.exp: Test $_gthread.
14289
c84f6bbf
PA
142902016-01-13 Pedro Alves <palves@redhat.com>
14291
14292 * gdb.multi/tids.exp: Test "info threads -gid".
14293
22a02324
PA
142942016-01-13 Pedro Alves <palves@redhat.com>
14295
14296 * gdb.multi/tids.exp: Test InferiorThread.global_num and
14297 Breakpoint.thread.
14298 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
14299
5d5658a1
PA
143002016-01-07 Pedro Alves <palves@redhat.com>
14301
14302 * gdb.base/break.exp: Adjust to output changes.
14303 * gdb.base/hbreak2.exp: Likewise.
14304 * gdb.base/sepdebug.exp: Likewise.
14305 * gdb.base/watch_thread_num.exp: Likewise.
14306 * gdb.linespec/keywords.exp: Likewise.
14307 * gdb.multi/info-threads.exp: Likewise.
14308 * gdb.threads/thread-find.exp: Likewise.
14309 * gdb.multi/tids.c: New file.
14310 * gdb.multi/tids.exp: New file.
14311
84654457
PA
143122016-01-13 Pedro Alves <palves@redhat.com>
14313
14314 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
14315
e3940304
PA
143162016-01-13 Pedro Alves <palves@redhat.com>
14317
14318 * gdb.base/default.exp: Expect $_inferior as well.
14319 * gdb.multi/base.exp: Test $_inferior.
14320
a911d87a
PA
143212016-01-13 Pedro Alves <palves@redhat.com>
14322
14323 PR breakpoints/19388
14324 * gdb.base/catch-signal-siginfo-cond.c: New file.
14325 * gdb.base/catch-signal-siginfo-cond.exp: New file.
14326
82075af2
JS
143272016-01-12 Josh Stone <jistone@redhat.com>
14328 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14329
14330 * gdb.base/catch-syscall.c (do_execve): New variable.
14331 (main): Conditionally trigger an execve.
14332 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
14333 (test_catch_syscall_execve): New, check entry/return across execve.
14334 (do_syscall_tests): Call test_catch_syscall_execve.
14335
e46eeedd
PA
143362016-01-12 Pedro Alves <palves@redhat.com>
14337
14338 * gdb.base/random-signal.exp (do_test): New procedure, with body
14339 of testcase moved in.
14340
01d8c27e
JK
143412016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14342 Pedro Alves <palves@redhat.com>
14343
14344 * gdb.base/funcargs.exp (finish from indirectly called function):
14345 Reintroduce the case for 'First'.
14346
9a706302
JK
143472016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14348 Pedro Alves <palves@redhat.com>
14349
14350 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14351 (tcatch_vfork_then_child_follow_exec)
14352 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
14353 identification.
14354
c0ecb95f
JK
143552016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14356
14357 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
14358 and repeats to unlimited.
14359 * gdb.python/py-value.exp: Likewise.
14360 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
14361 and repeats to unlimited.
14362
6cfc1fcb
JK
143632016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14364
14365 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
14366 and reordering the functions.
14367 * gdb.multi/hangout.c: Likewise.
14368 * gdb.multi/hello.c: Likewise.
14369
582a1b00
SM
143702016-01-08 Simon Marchi <simon.marchi@ericsson.com>
14371
14372 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
14373 absolute.
14374 (SingleStatisticTestResult.report): Use dict.keys instead of
14375 dict.iterkeys.
14376
79bc59cb
PA
143772016-01-06 Pedro Alves <palves@redhat.com>
14378
14379 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
14380
43368e1d
MM
143812016-01-04 Markus Metzger <markus.t.metzger@intel.com>
14382
14383 * gdb.btrace/dlopen.exp: New.
14384 * gdb.btrace/dlopen.c: New.
14385 * gdb.btrace/dlopen-dso.c: New.
14386
79fad5b8
SL
143872015-12-25 Sandra Loosemore <sandra@codesourcery.com>
14388
14389 * lib/gdb.exp (gdb_test): Update comments to clarify that the
14390 PATTERN argument is optional.
14391
ab8314b3
JB
143922015-12-24 Joel Brobecker <brobecker@adacore.com>
14393
14394 * lib/ada.exp (target_compile_ada_from_dir): New function.
14395 (gdb_compile_ada): Reimplement avoiding the use of project files.
14396 * gdb.ada/gnat_ada.gpr: Delete.
14397 * gdb.ada/cond_lang.exp: Adjust test to make path before
14398 filename optional.
14399 * gdb.ada/small_reg_param.exp: Likewise.
14400
fe33faff
SM
144012015-12-22 Simon Marchi <simon.marchi@ericsson.com>
14402
14403 * gdb.base/foll-vork.exp: Remove HP-UX special case.
14404
6d265cb4
TP
144052015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
14406
14407 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
14408 case.
14409
10125099
SM
144102015-12-21 Simon Marchi <simon.marchi@ericsson.com>
14411
14412 * gdb.base/break.exp: Remove dead code.
14413 * gdb.base/sepdebug.exp: Likewise.
14414
3ca22649
SM
144152015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14416
14417 * gdb.asm/asm-source.exp: Remove HP-UX references.
14418 * gdb.base/annota1.exp: Likewise.
14419 * gdb.base/annota3.exp: Likewise.
14420 * gdb.base/attach.exp: Likewise.
14421 * gdb.base/bigcore.exp: Likewise.
14422 * gdb.base/break.exp: Likewise.
14423 * gdb.base/call-ar-st.exp: Likewise.
14424 * gdb.base/callfuncs.exp: Likewise.
14425 * gdb.base/catch-fork-static.exp: Likewise.
14426 * gdb.base/display.exp: Likewise.
14427 * gdb.base/foll-exec-mode.exp: Likewise.
14428 * gdb.base/foll-exec.exp: Likewise.
14429 * gdb.base/foll-fork.exp: Likewise.
14430 * gdb.base/foll-vfork.exp: Likewise.
14431 * gdb.base/funcargs.exp: Likewise.
14432 * gdb.base/hbreak2.exp: Likewise.
14433 * gdb.base/inferior-died.exp: Likewise.
14434 * gdb.base/interrupt.exp: Likewise.
14435 * gdb.base/multi-forks.exp: Likewise.
14436 * gdb.base/nodebug.exp: Likewise.
14437 * gdb.base/sepdebug.exp: Likewise.
14438 * gdb.base/solib1.c: Likewise.
14439 * gdb.base/step-test.exp: Likewise.
14440 * gdb.mi/non-stop.c: Likewise.
14441 * gdb.mi/pthreads.c: Likewise.
14442 * gdb.multi/bkpt-multi-exec.ex: Likewise.
14443 * gdb.threads/pthreads.c: Likewise.
14444 * gdb.threads/staticthreads.exp: Likewise.
14445 * lib/future.exp: Likewise.
14446 * lib/gdb.exp: Likewise.
14447 * gdb.base/so-indr-cl.c: Remove.
14448 * gdb.base/so-indr-cl.exp: Likewise.
14449 * gdb.base/solib.c: Likewise.
14450 * gdb.base/solib.exp: Likewise.
14451 * gdb.base/solib2.c: Likewise.
14452
b6304613
SM
144532015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14454
14455 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
14456 * gdb.base/call-ar-st.exp: Likewise.
14457 * gdb.base/callfuncs.exp: Likewise.
14458 * gdb.base/condbreak.exp: Likewise.
14459 * gdb.base/constvars.exp: Likewise.
14460 * gdb.base/hbreak2.exp: Likewise.
14461 * gdb.base/langs.exp: Likewise.
14462 * gdb.base/list.exp: Likewise.
14463 * gdb.base/long_long.exp: Likewise.
14464 * gdb.base/ptype.exp: Likewise.
14465 * gdb.base/scope.exp: Likewise.
14466 * gdb.base/signals.exp: Likewise.
14467 * gdb.base/so-impl-ld.exp: Likewise.
14468 * gdb.base/varargs.exp: Likewise.
14469 * gdb.base/volatile.exp: Likewise.
14470 * gdb.base/whatis.exp: Likewise.
14471 * gdb.cp/cplusfuncs.exp: Likewise.
14472 * gdb.cp/inherit.exp: Likewise.
14473 * gdb.cp/local.exp: Likewise.
14474 * gdb.cp/member-ptr.exp: Likewise.
14475 * gdb.cp/method.exp: Likewise.
14476 * gdb.cp/overload.exp: Likewise.
14477 * gdb.cp/templates.exp: Likewise.
14478 * gdb.stabs/weird.exp: Likewise.
14479 * lib/compiler.c: Likewise.
14480 * lib/compiler.cc: Likewise.
14481 * lib/cp-support.exp: Likewise.
14482 * lib/gdb.exp: Likewise.
14483
bf401b07
SM
144842015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
14485
14486 * configure.ac: Remove HP-UX case.
14487 * configure: Regenerate.
14488
aff9c0f8
SM
144892015-12-18 Simon Marchi <simon.marchi@ericsson.com>
14490
14491 * lib/gdb.exp (gdb_compile): Add function doc.
14492
a6904d5a
PA
144932015-12-17 Pedro Alves <palves@redhat.com>
14494
14495 PR threads/19354
14496 * gdb.multi/info-threads.exp: New file.
14497
a22279dd
YQ
144982015-12-15 Yao Qi <yao.qi@linaro.org>
14499
14500 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
14501 is aarch64*-*-*.
14502
0588c796
SL
145032015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14504
14505 * gdb.base/history-duplicates.exp: Skip if no readline support.
14506
5d978e17
SL
145072015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14508
14509 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
14510
7e763b86
SL
145112015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14512
14513 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
14514
87a3a92c
SL
145152015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14516
14517 * gdb.base/completion.exp: Skip tests that interrupt GDB with
14518 ctrl-C if nointerrupts target property is set.
14519 * gdb.base/double-prompt-target-event-error.exp: Likewise.
14520 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
14521 * gdb.base/paginate-bg-execution.exp: Likewise.
14522 * gdb.base/paginate-execution-startup.exp: Likewise.
14523 * gdb.base/random-signal.exp: Likewise.
14524 * gdb.base/range-stepping.exp: Likewise.
14525 * gdb.cp/annota2.exp: Likewise.
14526 * gdb.cp/annota3.exp: Likewise.
14527 * gdb.gdb/selftest.exp: Likewise.
14528 * gdb.threads/continue-pending-status.exp: Likewise.
14529 * gdb.threads/leader-exit.exp: Likewise.
14530 * gdb.threads/manythreads.exp: Likewise.
14531 * gdb.threads/pthreads.exp: Likewise.
14532 * gdb.threads/schedlock.exp: Likewise.
14533 * gdb.threads/sigthread.exp: Likewise.
14534
a8f077dc
DB
145352015-12-11 Don Breazeal <donb@codesourcery.com>
14536
14537 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
14538 remote.
14539 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
14540 * gdb.base/foll-exec.exp (main): Enable for target remote.
14541 * gdb.base/foll-fork.exp (main): Likewise.
14542 * gdb.base/foll-vfork.exp (main): Likewise.
14543 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
14544 (proc continue_to_exit_bp_loc): Use clean_restart.
14545 * gdb.base/pie-execl.exp (main): Disable for target remote.
14546 * gdb.base/watch-vfork.exp (main): Enable for target remote.
14547 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
14548 * gdb.threads/execl.exp (main): Likewise.
14549 * gdb.threads/fork-child-threads.exp (main): Likewise.
14550 * gdb.threads/fork-plus-threads.exp (main): Disable for target
14551 remote.
14552 * gdb.threads/fork-thread-pending.exp (main): Enable for target
14553 remote.
14554 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
14555 pid.tid style ptids, instead of just tid.
14556 * gdb.threads/thread-execl.exp (main): Enable for target remote.
14557 * gdb.threads/watchpoint-fork.exp (main): Likewise.
14558 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
14559 ptids, instead of just tid.
14560
3b2464a8
AB
145612015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14562
14563 * gdb.base/list.exp (test_list_forward): Add end of file error
14564 test.
14565 (test_repeat_list_command): Add end of file error test.
14566 (test_list_backwards): Add beginning of file error test.
14567
a0def019
AB
145682015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14569
14570 * gdb.base/list.exp (test_list_invalid_args): New function,
14571 defined, and called.
14572
5c000dff
AB
145732015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14574
14575 * gdb.base/list.exp (test_list): Make test names unique.
14576
f1637ebe
YQ
145772015-12-11 Yao Qi <yao.qi@linaro.org>
14578
14579 * gdb.base/coremaker2.c: Remove.
14580
36d6fc0a
PA
145812015-12-10 Pedro Alves <palves@redhat.com>
14582
14583 * gdb.multi/base.exp: Remove stale "spaces" references.
14584
762f7747
PA
145852015-12-10 Pedro Alves <palves@redhat.com>
14586
14587 * gdb.multi/base.exp: Don't use nowarnings.
14588 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
14589 * gdb.multi/hangout.c: Include stdio.h.
14590 * gdb.multi/hello.c: Include stdlib.h.
14591 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
14592 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
14593 * gdb.multi/multi-arch.exp: Don't use nowarnings.
14594
28d2bfb9
AB
145952015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
14596
14597 * gdb.dwarf2/dw2-ranges-base.c: New file.
14598 * gdb.dwarf2/dw2-ranges-base.exp: New file.
14599 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
14600 support additional line table, and debug ranges generation.
14601 (Dwarf::ranges): New function, generate .debug_ranges.
14602 (Dwarf::lines): Support generating simple line table programs.
14603 (Dwarf::assemble): Initialise new namespace variables.
14604
5fc2beac
KB
146052015-12-09 Kevin Buettner <kevinb@redhat.com>
14606
14607 * gdb.base/async.exp (proc test_background): Add case for
14608 asynchronous execution not supported.
14609
1c35a88f
LM
146102015-12-09 Luis Machado <lgustavo@codesourcery.com>
14611
14612 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
14613 format and change test names to make them unique.
14614
b593e3d9
RK
146152015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
14616 Pedro Alves <pedro@redhat.com>
14617
14618 PR gdb/18702
14619 Add checking of floatformats setup on x86_64 hosts.
14620 * gdb.arch/i386-float.S (main): Load bigval and smallval.
14621 (smallval, bigval): New labels/constants.
14622 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
14623 float" after loading bigval and smallval.
14624
d72413e6
PMR
146252015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
14626
14627 * gdb.ada/fun_overload_menu.exp: New testcase.
14628 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
14629
ece66d65
JS
146302015-12-04 Josh Stone <jistone@redhat.com>
14631
14632 * gdb.base/catch-fork-static.exp: New.
14633
41d0efca
YQ
146342015-12-03 Yao Qi <yao.qi@linaro.org>
14635
14636 * gdb.base/sizeof.c: Don't include stdio.h and
14637 ../lib/unbuffer_output.c.
14638 (main): New variable 'size' and 'value'. Remove printf and
14639 gdb_unbuffer_output. Assign return value to size and value.
14640 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
14641 at the beginning.
14642 (check_sizeof): Check the result by printing variable 'size'.
14643 (check_valueof): Check the result by printing variable 'value'.
14644
99fd02d9
YQ
146452015-12-01 Yao Qi <yao.qi@linaro.org>
14646
14647 * gdb.base/disp-step-syscall.exp: Define syscall instruction
14648 for aarch64*-*-linux* target.
14649
f2faf941
PA
146502015-11-30 Pedro Alves <palves@redhat.com>
14651
14652 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
14653
04bf20c5
PA
146542015-11-30 Pedro Alves <palves@redhat.com>
14655
14656 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
14657 Handle non-stop mode vCont replies.
14658
09df4675
PA
146592015-11-30 Pedro Alves <palves@redhat.com>
14660
14661 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
14662 prepare_for_testing. Start gdb with "set non-stop on" appended to
14663 GDBFLAGS. Lax expected stop output.
14664
58b584af
YQ
146652015-11-27 Yao Qi <yao.qi@linaro.org>
14666
14667 * gdb.arch/arm-neon.exp: New.
14668 * gdb.arch/arm-neon.c: New.
14669
dfcb77a8
YQ
146702015-11-27 Yao Qi <yao.qi@linaro.org>
14671
14672 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
14673
88e8ec1b
YQ
146742015-11-27 Yao Qi <yao.qi@linaro.org>
14675
14676 * gdb.cp/annota2.exp: Allow multiple occurrences of the
14677 frames-invalid annotation.
14678
bfde72c2
YQ
146792015-11-27 Yao Qi <yao.qi@linaro.org>
14680
14681 * gdb.cp/annota2.exp: Use ${frames_invalid}.
14682
f6512a69
SM
146832015-11-26 Simon Marchi <simon.marchi@ericsson.com>
14684
14685 * gdb.threads/names.exp: New file.
14686 * gdb.threads/names.c: New file.
14687 * README: Mention gdb,no_thread_names.
14688
46a3515b
MM
146892015-11-26 Markus Metzger <markus.t.metzger@intel.com>
14690
14691 PR 19297
14692 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
14693 support" error.
14694
62147a22
PA
146952015-11-24 Pedro Alves <palves@redhat.com>
14696
14697 PR 17539
14698 * gdb.base/display.exp: Expect displays to be sorted in ascending
14699 order. Use multi_line.
14700 * gdb.base/solib-display.exp: Likewise.
14701
2f341b6e
PA
147022015-11-24 Pedro Alves <palves@redhat.com>
14703
14704 PR 17539
25d49b86
PA
14705 * gdb.base/display.exp: Expect displays to be sorted in ascending
14706 order. Use multi_line.
14707 * gdb.base/solib-display.exp: Likewise.
2f341b6e 14708
7e0aa6aa
PA
147092015-11-24 Pedro Alves <palves@redhat.com>
14710
14711 PR 17539
14712 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
14713 threads in ascending order.
14714 * gdb.base/foll-fork.exp: Likewise.
14715 * gdb.base/foll-vfork.exp: Likewise.
14716 * gdb.base/multi-forks.exp: Likewise.
14717 * gdb.mi/mi-nonstop.exp: Likewise.
14718 * gdb.mi/mi-nsintrall.exp: Likewise.
14719 * gdb.multi/base.exp: Likewise.
14720 * gdb.multi/multi-arch.exp: Likewise.
14721 * gdb.python/py-inferior.exp: Likewise.
14722 * gdb.threads/break-while-running.exp: Likewise.
14723 * gdb.threads/execl.exp: Likewise.
14724 * gdb.threads/gcore-thread.exp: Likewise.
14725 * gdb.threads/info-threads-cur-sal.exp: Likewise.
14726 * gdb.threads/kill.exp: Likewise.
14727 * gdb.threads/linux-dp.exp: Likewise.
14728 * gdb.threads/multiple-step-overs.exp: Likewise.
14729 * gdb.threads/next-bp-other-thread.exp: Likewise.
14730 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
14731 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
14732 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
14733 * gdb.threads/thread-find.exp: Likewise.
14734 * gdb.threads/tls.exp: Likewise.
14735 * lib/mi-support.exp (mi_reverse_list): Delete.
14736 (mi_check_thread_states): No longer reverse list.
14737
2cc57ad8
PA
147382015-11-24 Pedro Alves <palves@redhat.com>
14739
14740 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
14741 use lowercase.
14742
c93e8391
SM
147432015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14744
14745 * gdb.trace/actions.c: Include trace-common.h.
14746 (main): Add a location for a fast tracepoint.
14747 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
14748 the normal tracepoints.
14749 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
14750
045ccf91
SM
147512015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14752
14753 * save-trace.exp: Factor out code to these...
14754 (gdb_save_tracepoints): New.
14755 (gdb_load_tracepoints): New.
14756 (do_save_load_test): New.
14757
5506f9f6
KB
147582015-11-23 Kevin Buettner <kevinb@redhat.com>
14759
14760 * gdb.base/asmlabel.exp: New test.
14761 * gdb.base/asmlabel.c: New test case.
14762
16c3b12f
JB
147632015-11-23 Joel Brobecker <brobecker@adacore.com>
14764
14765 * gdb.base/wrong_frame_bt_full-main.c: New file.
14766 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
14767 * gdb.base/wrong_frame_bt_full.exp: New file.
14768
155bfbd3
JB
147692015-11-23 Joel Brobecker <brobecker@adacore.com>
14770
14771 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
14772
bb097445
JM
147732015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14774
206853a0 14775 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
14776 pstate register when comparing registers values in
14777 sparc64-*-linux-gnu targets to avoid spurious differences.
14778
9c88ed8f
JM
147792015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14780
206853a0 14781 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 14782
96161e25
SL
147832015-11-19 Sandra Loosemore <sandra@codesourcery.com>
14784
14785 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
14786 as type argument to gdb_compile.
14787 * gdb.base/nested-subp2.exp: Likewise.
14788 * gdb.base/nested-subp3.exp: Likewise.
14789
340c2830
DV
147902015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
14791
14792 * lib/dwarf.exp (_note): Fix left shift of negative value.
14793 * gdb.trace/trace-condition.exp: Likewise.
14794
c1862d0f
YQ
147952015-11-13 Yao Qi <yao.qi@linaro.org>
14796
14797 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
14798 comments about d10v.
14799 (test_scalar_returns): Likewise.
14800 * gdb.base/d10v.ld: Remove.
14801 * gdb.base/overlays.exp: Remove the target triplet checking for
14802 d10v-*-*.
14803 * gdb.base/structs.exp (test_struct_returns): Remove the
14804 comments about d10v.
14805 (test_struct_calls): Likewise.
14806
77ae9c19
YQ
148072015-11-13 Yao Qi <yao.qi@linaro.org>
14808
14809 * gdb.base/gnu_vector.exp: Check the return value by "p res".
14810 * gdb.base/gnu_vector.c: Don't include stdio.h.
14811 (main): Don't print res and call add_some_intvecs.
14812
430e004e
MK
148132015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
14814
14815 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
14816 macro.
14817 (func5): Removed.
14818 (func4): Use FAST_TRACEPOINT_LABEL.
14819 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
14820 macro.
14821 (func): Removed.
14822 (thread_function): Use FAST_TRACEPOINT_LABEL.
14823 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
14824 (func): Remove.
14825 (marker): Use FAST_TRACEPOINT_LABEL.
14826 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
14827 (pendfunc1): Remove.
14828 (pendfunc): Use FAST_TRACEPOINT_LABEL.
14829 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
14830 (foo): Remove.
14831 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
14832 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
14833 macro.
14834 (func): Remove.
14835 (marker): Use FAST_TRACEPOINT_LABEL.
14836 * gdb.trace/trace-common.h: New header.
14837 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
14838 macro.
14839 (func): Remove.
14840 (marker): Use FAST_TRACEPOINT_LABEL.
14841 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
14842 (func): Remove.
14843 (thread_function): Use FAST_TRACEPOINT_LABEL.
14844
6e7675a7
MK
148452015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
14846
14847 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
14848 in front.
14849 * gdb.trace/change-loc.exp: Use global pcreg definition.
14850 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
14851 * gdb.trace/entry-values.exp: Use global spreg definition, add $
14852 in front.
14853 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
14854 * gdb.trace/pending.exp: Likewise.
14855 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
14856 * gdb.trace/trace-break.exp: Likewise.
14857 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
14858 in front.
14859 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
14860 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
14861 in front.
14862 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
14863
dddc0e16
JB
148642015-11-09 Joel Brobecker <brobecker@adacore.com>
14865
14866 * gdb.ada/fin_fun_out: New testcase.
14867
c6f0b406
KB
148682015-11-07 Kevin Buettner <kevinb@redhat.com>
14869
14870 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
14871 value associated with DW_AT_byte_size.
14872 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
14873 constants for DW_AT_byte_size, DW_AT_lower_bound, and
14874 DW_AT_upper_bound.
14875
f01dcfd9
KB
148762015-11-07 Kevin Buettner <kevinb@redhat.com>
14877
14878 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
14879 (gdb_target_symbol_prefix_flags): Define in terms of _asm
14880 version.
14881 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
14882 gdb.dwarf2/dw2-canonicalize-type.exp,
14883 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
14884 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
14885 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
14886 provided by gdb_target_symbol_prefix_flags_asm.
14887 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
14888 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
14889 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
14890 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
14891 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
14892 macros where needed). Use this macro for symbols which require
14893 the prefix provided by SYMBOL_PREFIX.
14894
2223449a
KB
148952015-11-05 Kevin Buettner <kevinb@redhat.com>
14896
14897 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
14898 New procs.
14899 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
14900 representing expressions, of more than one list element.
14901 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
14902 to prepend linker symbol prefix to f.
14903 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
14904 table_1 and table_2.
14905 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
14906 Likewise, for f and g.
14907 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
14908 for ptr.
14909 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
14910 for main.
14911 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
14912 table_1_ptr and table_2_ptr.
14913
6f2f1a3a
JK
149142015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14915 Joel Brobecker <brobecker@adacore.com>
14916
14917 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
14918
566c56c9
MK
149192015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
14920
14921 * gdb.reverse/s390-mvcle.c: New test.
14922 * gdb.reverse/s390-mvcle.exp: New file.
14923 * lib/gdb.exp: Enable reverse tests on s390*-linux.
14924
d5f0636b
MK
149252015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14926
14927 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
14928
7ad8b86c
MK
149292015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14930
14931 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
14932 reaching marker2.
14933 * gdb.reverse/getresuid-reverse.exp: Likewise.
14934 * gdb.reverse/pipe-reverse.exp: Likewise.
14935 * gdb.reverse/readv-reverse.exp: Likewise.
14936 * gdb.reverse/recvmsg-reverse.exp: Likewise.
14937 * gdb.reverse/time-reverse.exp: Likewise.
14938 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
14939
4081c0f1
YQ
149402015-10-30 Yao Qi <yao.qi@linaro.org>
14941
14942 * gdb.threads/wp-replication.c (watch_count_done): Remove.
14943 (empty_cycle): Remove.
14944 (main): Don't call empty_cycle. Don't use watch_count_done.
14945 * gdb.threads/wp-replication.exp: Don't set breakpoint on
14946 empty_cycle. Rewrite the code counting HW watchpoints.
14947
452b4ba5
MK
149482015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
14949
14950 * gdb.reverse/fstatat-reverse.c: New test.
14951 * gdb.reverse/fstatat-reverse.exp: New file.
14952 * gdb.reverse/getresuid-reverse.c: New test.
14953 * gdb.reverse/getresuid-reverse.exp: New file.
14954 * gdb.reverse/pipe-reverse.c: New test.
14955 * gdb.reverse/pipe-reverse.exp: New file.
14956 * gdb.reverse/readv-reverse.c: New test.
14957 * gdb.reverse/readv-reverse.exp: New file.
14958 * gdb.reverse/recvmsg-reverse.c: New test.
14959 * gdb.reverse/recvmsg-reverse.exp: New file.
14960 * gdb.reverse/time-reverse.c: New test.
14961 * gdb.reverse/time-reverse.exp: New file.
14962 * gdb.reverse/waitpid-reverse.c: New test.
14963 * gdb.reverse/waitpid-reverse.exp: New file.
14964
5e2e7507
JK
149652015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14966
14967 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
14968
0fde2c53
DE
149692015-10-26 Doug Evans <dje@google.com>
14970
14971 PR symtab/17391
14972 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
14973 * gdb.dwarf2/bad-regnum.c: New file.
14974 * gdb.dwarf2/bad-regnum.exp: New file.
14975
1a70ae97
DE
149762015-10-26 Doug Evans <dje@google.com>
14977
14978 PR python/18938
14979 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
14980 file.
14981
27dc26ab
JK
149822015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14983
14984 * gdb.compile/compile.exp (compile code globalvar): Update expectation
14985 for a change by "Mention language in compile error message".
14986
bed91f4d
SM
149872015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
14988
14989 PR python/18073
14990 * gdb.python/py-type.c (C::a_method): New.
14991 (C::a_const_method): New.
14992 (C::a_static_method): New.
14993 (a_function): New.
14994 * gdb.python/py-type.exp (test_fields): Test getting fields
14995 from function and method.
14996
3f2f83dd
KB
149972015-10-21 Keven Boell <keven.boell@intel.com>
14998
14999 * gdb.fortran/vla-alloc-assoc.exp: New file.
15000 * gdb.fortran/vla-datatypes.exp: New file.
15001 * gdb.fortran/vla-datatypes.f90: New file.
15002 * gdb.fortran/vla-history.exp: New file.
15003 * gdb.fortran/vla-ptype-sub.exp: New file.
15004 * gdb.fortran/vla-ptype.exp: New file.
15005 * gdb.fortran/vla-sizeof.exp: New file.
15006 * gdb.fortran/vla-sub.f90: New file.
15007 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
15008 * gdb.fortran/vla-value-sub-finish.exp: New file.
15009 * gdb.fortran/vla-value-sub.exp: New file.
15010 * gdb.fortran/vla-value.exp: New file.
15011 * gdb.fortran/vla-ptr-info.exp: New file.
15012 * gdb.mi/mi-vla-fortran.exp: New file.
15013 * gdb.mi/vla.f90: New file.
15014
27145d50
SL
150152015-10-21 Sandra Loosemore <sandra@codesourcery.com>
15016
15017 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
15018 of hardwired timeout value.
15019
5f3ff4f8
JK
150202015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15021 Pedro Alves <palves@redhat.com>
15022
15023 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
15024 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
15025
bfd09d20
JS
150262015-10-19 Josh Stone <jistone@redhat.com>
15027
15028 * gdb.base/catch-syscall.c: Include <sched.h>.
15029 (unknown_syscall): New variable.
15030 (main): Trigger a vfork and an unknown syscall.
15031 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
15032 (unknown_syscall_number): Likewise.
15033 (check_call_to_syscall): Accept an optional syscall pattern.
15034 (check_return_from_syscall): Likewise.
15035 (check_continue): Likewise.
15036 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
15037 (test_catch_syscall_skipping_return): New test toggling off 'catch
15038 syscall' to step over the syscall return, then toggling back on.
15039 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
15040 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
15041 (do_syscall_tests): Call test_catch_syscall_without_args and
15042 test_catch_syscall_mid_vfork.
15043 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
15044 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
15045
b32b93c6
AS
150462015-10-19 Andrew Stubbs <ams@codesourcery.com>
15047
15048 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
15049 print g_vE): Add new pass patterns.
15050 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
15051 print various symbol names for vptr fields.
15052
9d622bda
AB
150532015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
15054
15055 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
15056 results.
15057
0fd8ac1c
YQ
150582015-10-12 Yao Qi <yao.qi@linaro.org>
15059
15060 * gdb.arch/disp-step-insn-reloc.exp: New test case.
15061
34240514
YQ
150622015-10-12 Yao Qi <yao.qi@linaro.org>
15063
15064 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
15065 is aarch64*-*-linux*.
15066
8240f442
YQ
150672015-10-12 Yao Qi <yao.qi@linaro.org>
15068
15069 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
15070 (can_relocate_bcond_true): ... it.
15071 (can_relocate_bcond_false): New function.
15072 (foo): Likewise.
15073 (can_relocate_bl): Likewise.
15074 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
15075 can_relocate_bl.
15076
2520f728
PMR
150772015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
15078
15079 * gdb.base/nested-addr.c: New file.
15080 * gdb.base/nested-addr.exp: New testcase.
15081
abcef95a
MM
150822015-10-09 Markus Metzger <markus.t.metzger@intel.com>
15083
15084 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
15085 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
15086 its output. Ignore the output of "record goto begin" and instead
15087 check that GDB is replaying.
15088
145e3ddb
PA
150892015-10-09 Pedro Alves <palves@redhat.com>
15090
15091 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
15092 (top level): Use it in the run with no args test.
15093
d5d8c4e1
IB
150942015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
15095
15096 * gdb.dlang/properties.exp: New file.
15097
06e635ef
SL
150982015-10-02 Sandra Loosemore <sandra@codesourcery.com>
15099
15100 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
15101 whether or not address 0x1000 is mapped on the target.
15102
e019fd1d
SM
151032015-09-30 Simon Marchi <simon.marchi@ericsson.com>
15104
15105 * gdb.python/py-type.exp: Do not run tests if binaries fail to
15106 build.
15107
77ba2a67
MM
151082015-09-30 Markus Metzger <markus.t.metzger@intel.com>
15109
15110 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
15111 instruction-history test.
15112
c60eb31f
DE
151132015-09-28 Doug Evans <dje@google.com>
15114
15115 * gdb.base/gcore.c (array_func): Add reference to static_array.
15116
9a3c8263
SM
151172015-09-25 Simon Marchi <simon.marchi@ericsson.com>
15118
15119 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
15120 source line.
15121
9720e656
SL
151222015-09-24 Sandra Loosemore <sandra@codesourcery.com>
15123
15124 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
15125 short or char as base type.
15126
938d3bf2
SL
151272015-09-23 Sandra Loosemore <sandra@codesourcery.com>
15128
15129 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
15130 to allow any size enum.
15131
e6c2c623
PMR
151322015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
15133
15134 * gdb.ada/array_ptr_renaming.exp: New testcase.
15135 * gdb.ada/array_ptr_renaming/foo.adb: New file.
15136 * gdb.ada/array_ptr_renaming/pack.ads: New file.
15137
06da0f77
PL
151382015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15139
15140 * gdb.trace/ftrace-lock.c: New file.
15141 * gdb.trace/ftrace-lock.exp: New file.
15142
4f51c22a
PL
151432015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15144
15145 * gdb.arch/insn-reloc.c: New file.
15146 * gdb.arch/ftrace-insn-reloc.exp: New file.
15147
7041adf4
PL
151482015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15149
15150 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
15151 instruction.
15152 * gdb.trace/pendshr1.c (pendfunc): Likewise.
15153 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
15154 * gdb.trace/range-stepping.c: Likewise.
15155 * gdb.trace/trace-break.c: Likewise.
15156 * gdb.trace/trace-mt.c (thread_function): Likewise.
15157 * gdb.trace/ftrace.c (marker): Likewise.
15158 * gdb.trace/trace-condition.c (marker): Likewise.
15159 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
15160 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
15161 is_aarch64_target.
15162
015d2e7e
DE
151632015-09-18 Doug Evans <xdje42@gmail.com>
15164
15165 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
15166 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
15167
26b188a2
SL
151682015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15169
15170 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
15171 the breakpoint.
15172
79dc332b
SL
151732015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15174
15175 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
15176 the pending breakpoint. Remove timeout override for "Run till
15177 MI pending breakpoint on pendfunc3 on thread 2" test.
15178
f57929f2
SL
151792015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15180
15181 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
15182 filename pattern.
15183
3f469b17
SL
151842015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15185
15186 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
15187 in breakpoint filename pattern.
15188
515b89b3
SL
151892015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15190
7800dbe4
SL
15191 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
15192
151932015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15194
515b89b3
SL
15195 * gdb.linespec/explicit.exp: Check for readline support for
15196 tab-completion tests. Fix obvious typo.
15197
d2939ba2
MM
151982015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15199
15200 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
15201 and replay.
15202
cbb55fa7
MM
152032015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15204
15205 * gdb.btrace/non-stop.c: New.
15206 * gdb.btrace/non-stop.exp: New.
15207
43691ca1
PL
152082015-09-17 Pierre Langlois <pierre.langlois@arm.com>
15209 Yao Qi <yao.qi@linaro.org>
15210
15211 * gdb.trace/trace-condition.c: New file.
15212 * gdb.trace/trace-condition.exp: New file.
15213
d78908cf
WW
152142015-09-16 Wei-cheng Wang <cole945@gmail.com>
15215
15216 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
15217 for testing bytecode compilation.
15218
1ed415e2
PA
152192015-09-16 Pedro Alves <palves@redhat.com>
15220 Sandra Loosemore <sandra@codesourcery.com>
15221
15222 * gdb.threads/non-stop-fair-events.c (timeout): New global.
15223 (SECONDS): Redefine.
15224 (main): Call pthread_kill and alarm early.
15225 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
15226 support.
15227 (test): If the target can't hardware step and doesn't support
15228 displaced stepping, increase the timeout.
15229
d136eff5
PA
152302015-09-16 Pedro Alves <palves@redhat.com>
15231
15232 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
15233 (enable_debug): New procedures.
15234 (test): Use them. Bail out if waiting for threads fails.
15235 (top level): Bail out if a test fails.
15236
991f019c
YQ
152372015-09-16 Yao Qi <yao.qi@linaro.org>
15238
15239 * gdb.asm/asm-source.exp: Set asm-arch for
15240 aarch64*-*-* target.
15241 * gdb.asm/aarch64.inc: New file.
15242
bfca584f
PMR
152432015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
15244
15245 * gdb.ada/array_of_variable_length.exp: New testcase.
15246 * gdb.ada/array_of_variable_length/foo.adb: New file.
15247 * gdb.ada/array_of_variable_length/pck.adb: New file.
15248 * gdb.ada/array_of_variable_length/pck.ads: New file.
15249
b326e587
DE
152502015-09-15 Doug Evans <dje@google.com>
15251
15252 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
15253 of function static local variable.
15254
5382cfab
PW
152552015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15256
15257 * gdb.threads/tls-so_extern.exp: New test file.
15258 * gdb.threads/tls-so_extern.c: New test file.
15259 * gdb.threads/tls-so_extern_main.c: New test file.
15260
141c5cc4
JK
152612015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15262
15263 * gdb.opt/solib-intra-step-lib.c: New file.
15264 * gdb.opt/solib-intra-step-main.c: New file.
15265 * gdb.opt/solib-intra-step.exp: New file.
15266
d15dcecd
PA
152672015-09-15 Pedro Alves <palves@redhat.com>
15268
15269 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
15270 gdb_continue_to_breakpoint instead of gdb_test_multiple.
15271
4c2f2a79
PA
152722015-09-14 Pedro Alves <palves@redhat.com>
15273
15274 * gdb.base/hook-stop-continue.c: Delete.
15275 * gdb.base/hook-stop-continue.exp: Delete.
15276 * gdb.base/hook-stop-frame.c: Delete.
15277 * gdb.base/hook-stop-frame.exp: Delete.
15278 * gdb.base/hook-stop.c: New file.
15279 * gdb.base/hook-stop.exp: New file.
15280
919e6dbe
PMR
152812015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
15282
15283 * gdb.ada/access_to_packed_array.exp: New testcase.
15284 * gdb.ada/access_to_packed_array/foo.adb: New file.
15285 * gdb.ada/access_to_packed_array/pack.adb: New file.
15286 * gdb.ada/access_to_packed_array/pack.ads: New file.
15287
157280a4
MM
152882015-09-14 Markus Metzger <markus.t.metzger@intel.com>
15289
15290 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
15291 buffer size test.
15292
2fd33e94
DB
152932015-09-11 Don Breazeal <donb@codesourcery.com>
15294
15295 * gdb.base/foll-exec.c: Add copyright header. Fix
15296 formatting issues.
15297 * gdb.base/foll-exec.exp (zap_session): Delete proc.
15298 (do_exec_tests): Use clean_restart in place of zap_session,
15299 and for test initialization. Fix formatting issues. Use
15300 fail in place of perror.
15301 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
15302 an expect statement to match an expression with output from
15303 the program under debug.
15304 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
15305 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
15306 * gdb.threads/non-ldr-exc-2.exp: Likewise.
15307 * gdb.threads/non-ldr-exc-3.exp: Likewise.
15308 * gdb.threads/non-ldr-exc-4.exp: Likewise.
15309
e70b6e8e
DE
153102015-09-09 Doug Evans <dje@google.com>
15311
15312 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
15313
7a551a51
DE
153142015-09-09 Doug Evans <dje@google.com>
15315
15316 * gdb.base/pie-execl.exp: Fix result test of build_executable.
15317
4c666f84
DE
153182015-09-09 Doug Evans <dje@google.com>
15319
15320 * gdb.base/savedregs.exp: Fix typo.
15321
243a9253
PA
153222015-09-09 Pedro Alves <palves@redhat.com>
15323
15324 * gdb.mi/mi-cli.exp: Add CLI finish tests.
15325
c0fa8fbd
SL
153262015-09-08 Sandra Loosemore <sandra@codesourcery.com>
15327
15328 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
15329 command actually switches threads. Give up on remaining
15330 tests if target fails to stop at breakpoint.
15331
cd7c1778
PMR
153322015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
15333
15334 * gdb.ada/funcall_char.exp: New testcase.
15335 * gdb.ada/funcall_char/foo.adb: New file.
15336
dc5c8746
PMR
153372015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
15338
15339 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
15340 expected outputs. Add two testcases for completing ambiguous
15341 functions.
15342 * gdb.ada/complete/aux_pck.adb: New file.
15343 * gdb.ada/complete/aux_pck.ads: New file.
15344 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
15345 Ambiguous_Func functions.
15346 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
15347 * gdb.ada/complete/pck.adb: Likewise.
15348
4e83a1e7
UW
153492015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
15350
15351 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
15352 failures to run the test program under GDB.
15353
8ce74153
LM
153542015-08-26 Luis Machado <lgustavo@codesourcery.com>
15355
15356 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
15357 to C.
15358
e9756d52
PP
153592015-08-26 Patrick Palka <patrick@parcs.ath.cx>
15360
15361 * gdb.base/run-after-attach.exp: New test file.
15362 * gdb.base/run-after-attach.c: New test file.
15363
8d37573b
DB
153642015-08-26 Don Breazeal <donb@codesourcery.com>
15365
15366 * gdb.base/foll-exec-2.c: New test program.
15367 * gdb.base/foll-exec-2.exp: New test.
15368
63e43d3a
PMR
153692015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
15370
15371 * gdb.base/nested-subp1.exp: New file.
15372 * gdb.base/nested-subp1.c: New file.
15373 * gdb.base/nested-subp2.exp: New file.
15374 * gdb.base/nested-subp2.c: New file.
15375 * gdb.base/nested-subp3.exp: New file.
15376 * gdb.base/nested-subp3.c: New file.
15377
3d40fbb5
PA
153782015-08-24 Pedro Alves <palves@redhat.com>
15379
15380 * gdb.server/connect-without-multi-process.c: New file.
15381 * gdb.server/connect-without-multi-process.exp: New file.
15382
4422ac93
LM
153832015-08-24 Luis Machado <lgustavo@codesourcery.com>
15384
15385 * gdb.opt/inline-markers.c: Make z int.
15386
91dddb86
LM
153872015-08-24 Luis Machado <lgustavo@codesourcery.com>
15388
15389 * gdb.opt/inline-markers.c: Make z volatile.
15390
a48847ee
LM
153912015-08-24 Luis Machado <lgustavo@codesourcery.com>
15392
15393 * gdb.opt/inline-bt.c: New volatile global z.
15394 * gdb.opt/inline-cmds.c: Likewise.
15395 * gdb.opt/inline-locals.c: Likewise.
15396 * gdb.opt/inline-markers.c: New extern global z.
15397 (marker): Use z.
15398 (inline_fn): Likewise.
15399
0ebbc52b
PA
154002015-08-24 Pedro Alves <palves@redhat.com>
15401
15402 * config/m32r-stub.exp: Remove file.
15403 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
15404 * gdb.base/call-rt-st.exp: Likewise.
15405 * gdb.base/call-strs.exp: Likewise.
15406 * gdb.base/default.exp: Remove references to h8300-*-hms and
15407 *-*-udi*.
15408 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
15409
77c365df
AA
154102015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15411
15412 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
15413 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
15414 and "return" use KFAIL when GDB can not read/write the vector
15415 return value.
15416
4313b8c0
GB
154172015-08-21 Gary Benson <gbenson@redhat.com>
15418
15419 * gdb.trace/pending.exp: Cope with remote transfer warnings.
15420
0e433b32
PA
154212015-08-20 Pedro Alves <palves@redhat.com>
15422
15423 * gdb.server/solib-list.exp: No longer expect an interior stop in
15424 non-stop mode.
15425
221e1a37
PA
154262015-08-20 Pedro Alves <palves@redhat.com>
15427
15428 * gdb.server/connect-stopped-target.c: New file.
15429 * gdb.server/connect-stopped-target.exp: New file.
15430
40e3ad0e
PA
154312015-08-20 Pedro Alves <palves@redhat.com>
15432
15433 * gdb.dwarf2/comp-unit-lang.exp: New file.
15434 * gdb.dwarf2/comp-unit-lang.c: New file.
15435
af39b327
PMR
154362015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
15437
15438 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
15439 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
15440
7d45c7c3 154412015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 15442
7d45c7c3
KB
15443 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
15444 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
15445
4d6cceb4
DE
154462015-08-18 Doug Evans <dje@google.com>
15447 Adrian Sendroiu <adrian.sendroiu@freescale.com>
15448
15449 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
15450 skip_python_tests. New arg prompt_regexp.
15451 (skip_python_tests): New function.
15452 * lib/mi-support.exp (mi_skip_python_tests): New function.
15453 * gdb.python/py-mi-objfile-gdb.py: New file.
15454 * gdb.python/py-mi-objfile.c: New file.
15455 * gdb.python/py-mi-objfile.exp: New file.
15456
ad89c2aa
KS
154572015-08-17 Keith Seitz <keiths@redhat.com>
15458
15459 * gdb.linespec/explicit.exp: Move strace test from here ...
15460 * gdb.trace/strace.exp: ... to here.
15461
e3ae3c43
PP
154622015-08-15 Patrick Palka <patrick@parcs.ath.cx>
15463
15464 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
15465 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
15466
604b2636
DE
154672015-08-14 Doug Evans <xdje42@gmail.com>
15468
15469 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
15470 inferior before selecting a new file.
15471
6ff0ba5f
DE
154722015-08-14 Doug Evans <xdje42@gmail.com>
15473
15474 * gdb.mi/mi-disassemble.exp: Update.
15475 * gdb.base/disasm-optim.S: New file.
15476 * gdb.base/disasm-optim.c: New file.
15477 * gdb.base/disasm-optim.h: New file.
15478 * gdb.base/disasm-optim.exp: New file.
15479
9ca98f92
KS
154802015-08-14 Keith Seitz <keiths@redhat.com>
15481
15482 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
15483 "evaluated-by".
15484
52bbc560
JB
154852015-08-13 Joel Brobecker <brobecker@adacore.com>
15486
15487 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
15488
5d8c3ed3
PMR
154892015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
15490
15491 * gdb.ada/fun_renaming.exp: New testcase.
15492 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
15493 * gdb.ada/fun_renaming/pack.adb: New file.
15494 * gdb.ada/fun_renaming/pack.ads: New file.
15495
ea8812bc
KS
154962015-08-12 Keith Seitz <keiths@redhat.com>
15497
15498 * gdb.base/dso2dso.exp: Pass basename of source file in call to
15499 gdb_get_line_number.
15500
4dafcdeb
JB
155012015-08-12 Joel Brobecker <brobecker@adacore.com>
15502
15503 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
15504 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
15505 gdb.base/dso2dso.exp: New files.
15506
5ba32597
SDJ
155072015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
15508 Pedro Alves <palves@redhat.com>
15509 Keith Seitz <keiths@redhat.com>
15510
15511 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
15512 GDBFLAGS.
15513
b6dafabf
PP
155142015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15515
15516 * gdb.base/gdbhistsize-history.exp
15517 (test_histsize_history_setting): Use save_vars.
15518 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15519 Use save_vars.
15520 (test_no_truncation_of_unlimited_history_file): Use save_vars.
15521 * gdb.base/readline.exp: Use save_vars.
15522
abe8e607
PP
155232015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15524
15525 * lib/gdb.exp (save_vars): New proc.
15526
629500fa
KS
155272015-08-11 Keith Seitz <keiths@redhat.com>
15528
15529 * gdb.base/help.exp: Update help_breakpoint_text.
15530
eb8c4e2e
KS
155312015-08-11 Keith Seitz <keiths@redhat.com>
15532
15533 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
15534 (at toplevel): Call test_explicit_breakpoints.
15535 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
15536 breakpoints.
15537 * lib/mi-support.exp (mi_make_breakpoint): Add support for
15538 breakpoint conditions, "-cond".
15539
87f0e720
KS
155402015-08-11 Keith Seitz <keiths@redhat.com>
15541
15542 * gdb.linespec/3explicit.c: New file.
15543 * gdb.linespec/cpexplicit.cc: New file.
15544 * gdb.linespec/cpexplicit.exp: New file.
15545 * gdb.linespec/explicit.c: New file.
15546 * gdb.linespec/explicit.exp: New file.
15547 * gdb.linespec/explicit2.c: New file.
15548 * gdb.linespec/ls-errs.exp: Add explicit location tests.
15549 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
15550 before using in the matching pattern.
15551 Clarify that `prefix' is a regular expression.
15552
f00aae0f
KS
155532015-08-11 Keith Seitz <keiths@redhat.com>
15554
15555 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
15556 test.
15557 Add tests for missing ",FMT" and ",".
15558
e27852be
DE
155592015-08-10 Doug Evans <dje@google.com>
15560 Keith Seitz <keiths@redhat.com>
15561
15562 PR gdb/17960
15563 * gdb.base/completion.exp: Add location completer tests.
15564
7f03bd92
PA
155652015-08-07 Pedro Alves <palves@redhat.com>
15566
15567 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
15568 tests here.
15569 (top level): Run do_test with and without displaced stepping.
15570
3fc8eb30
PA
155712015-08-07 Pedro Alves <palves@redhat.com>
15572
15573 * gdb.base/valgrind-disp-step.c: New file.
15574 * gdb.base/valgrind-disp-step.exp: New file.
15575
d4569d7b
PA
155762015-08-07 Pedro Alves <palves@redhat.com>
15577
15578 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
15579 Delete function.
15580 (main): Add alarm. Run an infinite loop instead of calling
15581 wait_threads.
15582 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
15583 comment.
15584 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
15585 Delete function.
15586 (main): Add alarm. Run an infinite loop instead of calling
15587 wait_threads.
15588 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
15589 comment.
15590
e1316e60
PA
155912015-08-07 Pedro Alves <palves@redhat.com>
15592
15593 * gdb.base/checkpoint-ns.exp: New file.
15594 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
15595 standard_testfile.
15596
da8c46d2
MM
155972015-08-07 Markus Metzger <markus.t.metzger@intel.com>
15598
15599 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
15600 * gdb.btrace/instruction_history.exp: Update.
15601 * gdb.btrace/tsx.exp: New.
15602 * gdb.btrace/tsx.c: New.
15603
de1c2c52
PA
156042015-08-06 Pedro Alves <palves@redhat.com>
15605
15606 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
15607 increase timeout.
15608 * gdb.reverse/until-precsave.exp: Bump timeouts.
15609
782e0bf4
PA
156102015-08-06 Pedro Alves <palves@redhat.com>
15611
15612 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
15613
83e97ed0
PA
156142015-08-06 Pedro Alves <palves@redhat.com>
15615
15616 PR gdb/18749
15617 * gdb.threads/process-dies-while-handling-bp.c: New file.
15618 * gdb.threads/process-dies-while-handling-bp.exp: New file.
15619
863d01bd
PA
156202015-08-06 Pedro Alves <palves@redhat.com>
15621
15622 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
15623 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
15624
0a39bb32
PA
156252015-08-05 Pedro Alves <palves@redhat.com>
15626
15627 * gdb.threads/next-while-other-thread-longjmps.c: New file.
15628 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
15629
ee2d2b10
SL
156302015-08-03 Sandra Loosemore <sandra@codesourcery.com>
15631
15632 * gdb.base/bp-permanent.exp: Report test as unsupported if
15633 the target cannot stop at the permanent breakpoint.
15634
4e1bdb00
DE
156352015-08-03 Doug Evans <dje@google.com>
15636
15637 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
15638 10000.
15639
3d338901
DE
156402015-08-03 Doug Evans <dje@google.com>
15641
15642 * Makefile.in (workers/%.worker, build-perf): New rule.
15643 (GDB_PERFTEST_MODE): New variable.
15644 (check-perf): Use it.
15645 (clean): Clean up gdb.perf parallel build subdirs.
15646 * lib/build-piece.exp: New file.
15647 * lib/gdb.exp (make_gdb_parallel_path): New function
15648 (standard_output_file, standard_temp_file): Call it.
15649 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15650 of $GDB_PARALLEL.
15651 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
15652
af061d3e
DE
156532015-08-03 Doug Evans <dje@google.com>
15654
8e1afc81 15655 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
15656 (LOG_FILE_NAME): New global.
15657 (TextReporter.__init__): Initialize self.txt_sum.
15658 (TextReporter.report): Add support for multiple data-points.
15659 Move report to perftest.sum, put raw data in perftest.log.
15660 (TextReporter.start): Open sum and log files.
15661 (TextReporter.end): Close sum and log files.
8e1afc81
DE
15662 * gdb.perf/lib/perftest/testresult.py
15663 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 15664
2c8c5d37
PA
156652015-07-31 Pedro Alves <palves@redhat.com>
15666
15667 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
15668 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15669 kill_wait_spawned_process instead of explicit "kill -9".
15670 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
15671 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15672 kill_wait_spawned_process.
15673 * gdb.base/attach-twice.exp: Likewise.
15674 * gdb.base/attach.exp: Likewise.
15675 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
15676 gdb_test_multiple.
15677 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
15678 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15679 kill_wait_spawned_process.
15680 * gdb.base/valgrind-infcall.exp: Likewise.
15681 * gdb.multi/multi-attach.exp: Likewise.
15682 * gdb.python/py-prompt.exp: Likewise.
15683 * gdb.python/py-sync-interp.exp: Likewise.
15684 * gdb.server/ext-attach.exp: Likewise.
15685 * gdb.threads/attach-into-signal.exp (corefunc): Use
15686 spawn_wait_for_attach, spawn_id_get_pid and
15687 kill_wait_spawned_process.
15688 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
15689 spawn_wait_for_attach returning a spawn id instead of a pid. Use
15690 spawn_id_get_pid and kill_wait_spawned_process.
15691 * gdb.threads/attach-stopped.exp (corefunc): Use
15692 spawn_wait_for_attach, spawn_id_get_pid and
15693 kill_wait_spawned_process.
15694 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
15695 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15696 kill_wait_spawned_process instead of explicit "kill -9".
15697 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
15698 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
15699 (spawn_wait_for_attach): Use spawn instead of exec to spawn
15700 processes. Don't map cygwin/windows pids here. Now returns a
15701 spawn id list.
15702
032a0fca
SL
157032015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15704
15705 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
15706 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
15707 correct patch.
15708
61a934ca
SL
157092015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15710
15711 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
15712
4bc4d428
SL
157132015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15714
15715 Reapply:
15716 2014-05-21 Mark Wielaard <mjw@redhat.com>
15717
15718 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15719
998d452a
PA
157202015-07-30 Pedro Alves <palves@redhat.com>
15721
15722 * linux-low.c (handle_extended_wait): Set the child's last
15723 reported status to TARGET_WAITKIND_STOPPED.
15724
69dde7dc
PA
157252015-07-30 Pedro Alves <palves@redhat.com>
15726
15727 PR threads/18600
15728 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
15729 only shows inferior 1.
15730
4dd63d48
PA
157312015-07-30 Simon Marchi <simon.marchi@ericsson.com>
15732 Pedro Alves <palves@redhat.com>
15733
15734 PR threads/18600
15735 * gdb.threads/fork-plus-threads.c: New file.
15736 * gdb.threads/fork-plus-threads.exp: New file.
15737
d618e4c5
PP
157382015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15739
15740 * gdb.base/batch-preserve-term-settings.exp
15741 (test_terminal_settings_preserved_after_cli_exit): Use
15742 send_quit_command.
15743
1eef6428
PA
157442015-07-29 Pedro Alves <palves@redhat.com>
15745 Don Breazeal <donb@codesourcery.com>
15746
15747 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
15748 output from both inferior_spawn_id and gdb_spawn_id.
15749
7da5b897
SDJ
157502015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15751
15752 * gdb.threads/attach-into-signal.exp (corefunc): Use
15753 with_test_prefix on nested loops, uniquefying the test messages.
15754
dac804df
SDJ
157552015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15756
15757 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
15758 commit.
15759
06265e53
PP
157602015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15761
15762 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
15763 New proc.
15764 (test_terminal_settings_preserved_after_sigterm): New test.
15765
18206ca3
PP
157662015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15767
15768 * gdb.base/batch-preserve-term-settings.exp
15769 (test_terminal_settings_preserved_after_cli_exit): New test.
15770
90074d11
PP
157712015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15772
15773 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
15774 manipulation of saved_gdbflags.
15775 (test_terminal_settings_preserved): Remove global declaration of
15776 the unused variable pagination_prompt. Remove manipulation of
15777 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
15778 GDBFLAGS.
15779
eb1a7902
PA
157802015-07-29 Pedro Alves <palves@redhat.com>
15781
15782 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
15783
8b75dd3b
PA
157842015-07-29 Pedro Alves <palves@redhat.com>
15785
15786 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
15787 at the top.
15788
dedad4e3
PA
157892015-07-29 Pedro Alves <palves@redhat.com>
15790
15791 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
15792 (main): Call gdb_unbuffer_output.
15793 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
15794 (main): Call gdb_unbuffer_output.
15795 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
15796 (main): Call gdb_unbuffer_output.
15797 * gdb.base/call-strs.exp: Adjust to step over the
15798 gdb_unbuffer_output call.
15799 * gdb.base/catch-gdb-caused-signals.c: Include
15800 "../lib/unbuffer_output.c".
15801 (main): Call gdb_unbuffer_output.
15802 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
15803 (main): Call gdb_unbuffer_output.
15804 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
15805 (main): Call gdb_unbuffer_output.
15806 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
15807 (main): Call gdb_unbuffer_output.
15808 * gdb.base/shlib-call.exp: Adjust to step over the
15809 gdb_unbuffer_output call.
15810 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
15811 (main): Call gdb_unbuffer_output.
15812 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
15813 (main): Call gdb_unbuffer_output.
15814 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
15815 (main): Rename to ...
15816 (test): ... this.
15817 (main): Reimplement.
15818 * gdb.base/varargs.exp: Run to test instead of to main.
15819 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15820 (main): Call gdb_unbuffer_output.
15821
58789a91
PA
158222015-07-29 Pedro Alves <palves@redhat.com>
15823
15824 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
15825 factore out from mi_continue_dprintf. For call-style dprintfs,
15826 expect dprintf output out of $inferior_spawn_id.
15827 (mi_continue_dprintf): Use mi_expect_dprintf.
15828 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15829 (main): Call gdb_unbuffer_output.
15830
e8376742
PA
158312015-07-29 Pedro Alves <palves@redhat.com>
15832
15833 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
15834 (default_mi_gdb_start): Set inferior_spawn_id instead of
15835 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
15836 gdb_spawn_id.
15837 (mi_gdb_test): Always expect inferior output from both
15838 $inferior_spawn_id and $gdb_spawn_id.
15839
08280010
PA
158402015-07-29 Pedro Alves <palves@redhat.com>
15841
15842 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
15843 send_inferior and $inferior_spawn_id.
15844
4d30e432
PA
158452015-07-29 Pedro Alves <palves@redhat.com>
15846
15847 * gdb.gdb/complaints.exp (test_initial_complaints)
15848 (test_serial_complaints, test_short_complaints): Use
15849 gdb_test_stdio.
15850 (test_empty_complaint): Handle $inferior_spawn_id !=
15851 $gdb_spawn_id.
15852
0d30a335
PA
158532015-07-29 Pedro Alves <palves@redhat.com>
15854
15855 * gdb.base/varargs.exp: Use gdb_test_stdio.
15856
39413b29
PA
158572015-07-29 Pedro Alves <palves@redhat.com>
15858
15859 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
15860
7cb000a9
PA
158612015-07-29 Pedro Alves <palves@redhat.com>
15862
15863 * gdb.base/ending-run.exp: Use gdb_test_stdio.
15864
d7b8ac82
PA
158652015-07-29 Pedro Alves <palves@redhat.com>
15866
15867 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
15868 parameter into two new parameters, "inf_result" and "gdb_result".
15869 Expect inferior output and gdb output from $inferior_spawn_id and
15870 $gdb_spawn_id, respectively. Adjust all callers.
15871
789c3a0c
PA
158722015-07-29 Pedro Alves <palves@redhat.com>
15873
15874 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
15875 of gdb_test_sequence.
15876
77e760c3
PA
158772015-07-29 Pedro Alves <palves@redhat.com>
15878
15879 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
15880 (saw_spurious_output): Expect inferior output from
15881 $inferior_spawn_id. Use gdb_test_stdio.
15882
8396d2cd
PA
158832015-07-29 Pedro Alves <palves@redhat.com>
15884
15885 * gdb.base/dprintf.exp: Use standard_testfile. Change
15886 prepare_for_testing call.
15887 (srcfile): Don't set.
15888 (restart): New procedure.
15889 (test_dprintf): New procecure, use to continue over dprintfs.
15890 (test_call, test_agent): New procedures, tests moved here.
15891 Restart gdb and recreate dprintfs. Adjust expected output.
15892
2051d61f
PA
158932015-07-29 Pedro Alves <palves@redhat.com>
15894
15895 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
15896
452397af
PA
158972015-07-29 Pedro Alves <palves@redhat.com>
15898
15899 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
15900
8aed9555
PA
159012015-07-29 Pedro Alves <palves@redhat.com>
15902
15903 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
15904 gdb_test_stdio.
15905
188a61b4
PA
159062015-07-29 Pedro Alves <palves@redhat.com>
15907
15908 * lib/gdb.exp (gdb_test_stdio): New procedure.
15909
12264a45
PA
159102015-07-29 Pedro Alves <palves@redhat.com>
15911
15912 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
15913
23ffc893
PA
159142015-07-29 Pedro Alves <palves@redhat.com>
15915
15916 * gdb.base/call-signal-resume.exp: Remove check for
15917 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
15918 * gdb.base/unwindonsignal.exp: Likewise.
15919 * gdb.base/call-signals.c (gen_signal): Remove printf call.
15920 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
15921
65566918
PA
159222015-07-29 Pedro Alves <palves@redhat.com>
15923
15924 * gdb.base/siginfo-addr.c (pass): New function.
15925 (handler): Call it iff si_addr is correct.
15926 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
15927 Set a breakpoint at "pass" and continue to it.
15928
d60a9221
SDJ
159292015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
15930
15931 * gdb.python/py-objfile.exp: Make some tests have unique names.
15932 * gdb.python/py-pp-registration.exp: Likewise.
15933
bde40b8f
PA
159342015-07-28 Pedro Alves <palves@redhat.com>
15935
15936 * gdb.server/server-exec-info.exp: Issue a "disconnect".
15937
13e1dec8
SM
159382015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15939
15940 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
15941
da33c9a7
SM
159422015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15943
15944 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
15945
077836f7
PP
159462015-07-27 Patrick Palka <patrick@parcs.ath.cx>
15947
15948 * gdb.base/gdb-sigterm-2.exp: New test.
15949
b8cc7b2e
DE
159502015-07-25 Doug Evans <xdje42@gmail.com>
15951
15952 Revert:
15953 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15954 (workers/%.worker, build-perf): New rule.
15955 (GDB_PERFTEST_MODE): New variable.
15956 (check-perf): Use it.
15957 (clean): Clean up gdb.perf parallel build subdirs.
15958 * lib/build-piece.exp: New file.
15959 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15960 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15961 name.
15962 (standard_temp_file): Ditto.
15963 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15964 of $GDB_PARALLEL.
15965
c8bd4544
DE
159662015-07-24 Doug Evans <dje@google.com>
15967
15968 * gdb.perf/lib/perftest/utils.py: New file.
15969 * gdb.perf/gm-hello.cc: New file.
15970 * gdb.perf/gm-pervasive-typedef.cc: New file.
15971 * gdb.perf/gm-pervasive-typedef.h: New file.
15972 * gdb.perf/gm-std.cc: New file.
15973 * gdb.perf/gm-std.h: New file.
15974 * gdb.perf/gm-use-cerr.cc: New file.
15975 * gdb.perf/gm-utils.h: New file.
15976 * gdb.perf/gmonster-null-lookup.py: New file.
15977 * gdb.perf/gmonster-pervasive-typedef.py: New file.
15978 * gdb.perf/gmonster-print-cerr.py: New file.
15979 * gdb.perf/gmonster-ptype-string.py: New file.
15980 * gdb.perf/gmonster-runto-main.py: New file.
15981 * gdb.perf/gmonster-select-file.py: New file.
15982 * gdb.perf/gmonster1-null-lookup.exp: New file.
15983 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
15984 * gdb.perf/gmonster1-print-cerr.exp: New file.
15985 * gdb.perf/gmonster1-ptype-string.exp: New file.
15986 * gdb.perf/gmonster1-runto-main.exp: New file.
15987 * gdb.perf/gmonster1-select-file.exp: New file.
15988 * gdb.perf/gmonster1.cc: New file.
15989 * gdb.perf/gmonster1.exp: New file.
15990 * gdb.perf/gmonster2-null-lookup.exp: New file.
15991 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
15992 * gdb.perf/gmonster2-print-cerr.exp: New file.
15993 * gdb.perf/gmonster2-ptype-string.exp: New file.
15994 * gdb.perf/gmonster2-runto-main.exp: New file.
15995 * gdb.perf/gmonster2-select-file.exp: New file.
15996 * gdb.perf/gmonster2.cc: New file.
15997 * gdb.perf/gmonster2.exp: New file.
15998
6eab34f3
DE
159992015-07-24 Doug Evans <dje@google.com>
16000
16001 * gdb.perf/README: New file.
16002 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
16003 * lib/gen-perf-test.exp: New file.
16004
63738bfd
DE
160052015-07-24 Doug Evans <dje@google.com>
16006
16007 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
16008 (PerfTest::startup): New function.
16009 (PerfTest::run): Return result of calling body.
16010 (PerfTest::assemble): Rewrite.
16011 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
16012 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
16013 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
16014 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
16015 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
16016
7b606f95
DE
160172015-07-24 Doug Evans <dje@google.com>
16018
16019 * lib/gdb.exp (clean_restart): Make executable optional.
16020
a97b16b8
DE
160212015-07-24 Doug Evans <dje@google.com>
16022
16023 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
16024 compiler_info references.
16025 * gdb.cp/temargs.exp: Ditto.
16026 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
16027 (get_compiler_info): Early exit if already computed. Set compiler_info
16028 to "unknown" if there was a problem.
16029 (test_compiler_info): Add function comment. Call get_compiler_info.
16030
35baa57f
DE
160312015-07-24 Doug Evans <dje@google.com>
16032
16033 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16034 (workers/%.worker, build-perf): New rule.
16035 (GDB_PERFTEST_MODE): New variable.
16036 (check-perf): Use it.
16037 (clean): Clean up gdb.perf parallel build subdirs.
16038 * lib/build-piece.exp: New file.
16039 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16040 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16041 name.
16042 (standard_temp_file): Ditto.
16043 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16044 of $GDB_PARALLEL.
16045
6ebea266
DE
160462015-07-24 Doug Evans <dje@google.com>
16047
16048 * lib/future.exp (gdb_default_target_compile): New option
16049 "early_flags".
16050 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
16051 --as-needed.
16052
1e76a7e9
SDJ
160532015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
16054
16055 * gdb.base/catch-syscall.exp: Call gdb_exit before
16056 gdb_skip_xml_test.
16057
5068630a
PA
160582015-07-24 Pedro Alves <palves@redhat.com>
16059
16060 * gdb.python/py-events.exp: Accept output between the stop event
16061 and the prompt.
16062 * gdb.python/py-evsignal.exp: Likewise.
16063 * gdb.python/py-evthreads.exp: Likewise.
16064
77598427
PA
160652015-07-24 Pedro Alves <palves@redhat.com>
16066
16067 PR gdb/18717
16068 * gdb.threads/non-ldr-exit.c: New file.
16069 * gdb.threads/non-ldr-exit.exp: New file.
16070
11e6c98f
YQ
160712015-07-24 Yao Qi <yao.qi@linaro.org>
16072
16073 * gdb.server/ext-wrapper.exp: Test --wrapper option when
16074 restarting process.
16075
51aee833
YQ
160762015-07-24 Yao Qi <yao.qi@linaro.org>
16077
16078 * gdb.server/ext-restart.exp: New file.
16079
8cfe207c
YQ
160802015-07-24 Yao Qi <yao.qi@linaro.org>
16081
16082 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
16083 argument options.
16084 * gdb.server/ext-wrapper.exp: New file.
16085
cc12ce38
DE
160862015-07-23 Doug Evans <dje@google.com>
16087
16088 * gdb.dwarf2/dw2-dummy-cu.S: New file.
16089 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
16090
d0d84780
PMR
160912015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
16092
16093 * gdb.ada/var_arr_typedef.exp: New testcase.
16094 * gdb.ada/var_arr_typedef/pack.adb: New file.
16095 * gdb.ada/var_arr_typedef/pack.ads: New file.
16096 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
16097
8b558f79
JB
160982015-07-20 Joel Brobecker <brobecker@adacore.com>
16099
16100 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
16101
775a3298
JK
161022015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16103
16104 * gdb.arch/i386-biarch-core.exp: Replace istarget
16105 by "complete set gnutarget". Remove expectation for the "core-file"
16106 command.
16107
db1ff28b
JK
161082015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16109
16110 Revert the previous commit:
16111 Tests for validate symbol file using build-id.
16112
0a94970d
JK
161132015-07-15 Aleksandar Ristovski <aristovski@qnx.com
16114
16115 Tests for validate symbol file using build-id.
16116 * gdb.base/solib-mismatch-lib.c: New file.
16117 * gdb.base/solib-mismatch-libmod.c: New file.
16118 * gdb.base/solib-mismatch.c: New file.
16119 * gdb.base/solib-mismatch.exp: New file.
16120
03346981
SL
161212015-07-15 Sandra Loosemore <sandra@codesourcery.com>
16122
16123 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
16124 nios2-*-linux*.
16125 * gdb.base/sigbpt.exp (stepi_out): Likewise.
16126 * gdb.base/siginfo.exp: Likewise.
16127 * gdb.base/sigstep.exp (advance, advancei): Likewise.
16128
42422cc7
PL
161292015-07-15 Pierre Langlois <pierre.langlois@arm.com>
16130
16131 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
16132 Move it to ...
16133 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
16134 ... here.
16135 * gdb.trace/range-stepping.exp: Check that the target supports
16136 range stepping.
16137
cfa68bae
JK
161382015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16139
16140 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
16141
8ffdba26
PA
161422015-07-14 Pedro Alves <palves@redhat.com>
16143
16144 * gdb.base/killed-outside.exp: New file.
16145 * gdb.base/killed-outside.c: New file.
16146
218a5a11
JK
161472015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16148
16149 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
16150 (n at main): New.
16151 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
16152
e03ed3c6
AA
161532015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16154
16155 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
16156 infcall tests instead of setting up for KFAIL.
16157
485668e5
MM
161582015-07-10 Markus Metzger <markus.t.metzger@intel.com>
16159
16160 * gdb.btrace/record_goto-step.exp: New.
16161
08464196
JK
161622015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16163
16164 PR compile/18484
16165 * gdb.compile/compile.c (struct struct_type): Add volatile to
16166 selffield's type.
16167 * gdb.compile/compile.exp
16168 (compile code struct_object.selffield = &struct_object): Skip further
16169 struct_object tests if this one xfails.
16170
bcf5c1d9
RC
161712015-07-08 Robert O'Callahan <robert@ocallahan.org>
16172
16173 PR exp/18617
16174 * gdb.trace/ax.exp: Add test.
16175
4931af25
YQ
161762015-07-07 Yao Qi <yao.qi@linaro.org>
16177
16178 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
16179 instead of istarget "aarch64*-*-*".
16180 * gdb.arch/aarch64-fp.exp: Likewise.
16181 * gdb.base/float.exp: Likewise.
16182 * gdb.reverse/aarch64.exp: Likewise.
16183 * lib/gdb.exp (is_aarch64_target): New proc.
16184
9fcf688e
YQ
161852015-07-07 Yao Qi <yao.qi@linaro.org>
16186
16187 * lib/gdb.exp (is_aarch32_target): New proc.
16188 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
16189 instead of "istarget "arm*-*-*"".
16190 * gdb.arch/arm-disp-step.exp: Likewise.
16191 * gdb.arch/thumb-bx-pc.exp: Likewise.
16192 * gdb.arch/thumb-prologue.exp: Likewise.
16193 * gdb.arch/thumb-singlestep.exp: Likewise.
16194 * gdb.base/disp-step-syscall.exp: Likewise.
16195 * gdb.base/float.exp: Likewise.
16196
fbd8d50d
YQ
161972015-07-07 Yao Qi <yao.qi@linaro.org>
16198
16199 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
16200 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
16201
71be1fdc
YQ
162022015-07-07 Yao Qi <yao.qi@linaro.org>
16203
16204 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
16205 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
16206 if it exists.
16207 * gdb.multi/multi-arch.exp: Likewise.
16208
3e221d36
SM
162092015-07-07 Simon Marchi <simon.marchi@ericsson.com>
16210
16211 * gdb.python/py-lazy-string.exp: Add missing parentheses to
16212 print.
16213
d441430b
YQ
162142015-07-07 Yao Qi <yao.qi@linaro.org>
16215
16216 * gdb.arch/thumb-singlestep.exp: Do one more single step.
16217
06f810bd
MG
162182015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
16219
16220 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
16221 '[' and ']' characters.
16222
5e61e7c0
IB
162232015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
16224
16225 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16226
28bf096c
PA
162272015-06-29 Pedro Alves <palves@redhat.com>
16228
16229 PR threads/18127
16230 * gdb.threads/hand-call-new-thread.c: New file.
16231 * gdb.threads/hand-call-new-thread.c: New file.
16232
ee93cd5e
KS
162332015-06-26 Keith Seitz <keiths@redhat.com>
16234 Doug Evans <dje@google.com>
16235
16236 PR 16253
16237 * gdb.cp/var-tag-2.cc: New file.
16238 * gdb.cp/var-tag-3.cc: New file.
16239 * gdb.cp/var-tag-4.cc: New file.
16240 * gdb.cp/var-tag.cc: New file.
16241 * gdb.cp/var-tag.exp: New file.
16242
fc637f04
PP
162432015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16244
16245 * gdb.base/history-duplicates.exp: New test.
16246
2e52ae68
PP
162472015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16248
16249 * gdb.base/completion.exp: Test the completion of the "focus"
16250 command.
16251
6e22494e
JK
162522015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16253
16254 * gdb.arch/amd64-prologue-skip.S: New file.
16255 * gdb.arch/amd64-prologue-skip.exp: New file.
16256
bf7b9cd9
SM
162572015-06-25 Simon Marchi <simon.marchi@ericsson.com>
16258
16259 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
16260 is_address_zero_readable check.
16261
201e8dfd
PB
162622015-06-24 Peter Bergner <bergner@vnet.ibm.com>
16263
16264 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
16265 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
16266
5cd867b4
YQ
162672015-06-24 Yao Qi <yao.qi@linaro.org>
16268
16269 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
16270 linux targets.
16271
4d7be007
YQ
162722015-06-24 Yao Qi <yao.qi@linaro.org>
16273
16274 * lib/gdb.exp (supports_get_siginfo_type): New proc.
16275 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
16276 * gdb.base/siginfo-thread.exp: Likewise.
16277
07fcd301
YQ
162782015-06-22 Yao Qi <yao.qi@linaro.org>
16279
16280 * boards/remote-gdbserver-on-localhost.exp: Add comments.
16281
52042a00
YQ
162822015-06-22 Yao Qi <yao.qi@linaro.org>
16283
16284 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
16285 aarch64*-*-*.
16286 (skip_hw_watchpoint_tests): Likewise.
16287
74bd41ce
PP
162882015-06-18 Patrick Palka <patrick@parcs.ath.cx>
16289
16290 * gdb.base/gdbinit-history.exp: Test the interaction between
16291 setting GDBHISTSIZE and setting the history size via .gdbinit.
16292
bc460514
PP
162932015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16294
16295 PR gdb/16999
16296 * gdb.base/gdbhistsize-history.exp: New test.
16297
b58c513b
PP
162982015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16299
16300 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
16301 with GDBHISTSIZE.
16302 * gdb.base/readline.exp: Likewise.
16303
92046791
YQ
163042015-06-17 Yao Qi <yao.qi@linaro.org>
16305
16306 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
16307 line.
16308
2093d2d3
PP
163092015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16310
16311 * gdb.base/gdbinit-history.exp: Add test case to check that
16312 an unlimited history file does not get truncated on exit.
16313
e6c693af
AA
163142015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16315
16316 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
16317 (VECTOR): New macro. Use it...
16318 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
16319 ...for these typedefs.
16320 (int8, char1, int1, double1): New typedefs.
16321 (struct just_int2, struct two_int2): New structures.
16322 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
16323 (add_structvecs, add_singlevecs): New functions.
16324 (main): Call add_some_intvecs twice.
16325 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
16326 the compile and exit upon failure. Try compiling for the "native"
16327 architecture. Test inferior function calls with vector arguments
16328 and vector return value handling with "finish" and "return".
16329
c74f7d1c
JT
163302015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
16331
16332 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
16333 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
16334 PE file.
16335 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
16336
98aa42ee
AT
163372015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16338
16339 PR breakpoints/16465
16340 * gdb.mi/mi-dprintf-pending.c: New file.
16341 * gdb.mi/mi-dprintf-pending.exp: New test.
16342 * gdb.mi/mi-dprintf-pendshr.c: New file.
16343
7d73c23c 163442015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 16345 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
16346
16347 * gdb.arch/i386-mpx-map.c: New file.
16348 * gdb.arch/i386-mpx-map.exp: New File.
16349
163502015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16351
16352 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
16353 * gdb.arch/i386-mpx.exp: Indentation fixed.
16354
163552015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16356
16357 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
16358 function and improved indentation.
16359 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
16360 gdb_test_multiple. Added additional tests to skip the test.
16361
163622015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16363
16364 * gdb.arch/i386-avx512.c: Change path in include file.
16365 * gdb.arch/i386-avx512.exp: Change include dir path
16366 compilation flag.
16367 * gdb.arch/i386-mpx.c: Change path in include file.
16368 * gdb.arch/i386-mpx.exp: Change include dir path compilation
16369 flag.
16370
d5eba19a
JK
163712015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16372
16373 * gdb.compile/compile-print.exp (compile print *vararray@3)
16374 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
16375
7f361056
JK
163762015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16377
16378 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
16379 (do not keep jit in memory): ... this.
16380 (expect 5): Change it to ...
16381 (expect no 5): ... this.
16382
3b462ec2
SM
163832015-06-02 Simon Marchi <simon.marchi@ericsson.com>
16384
16385 PR gdb/15564
16386 * gdb.mi/mi-detach.exp: New file.
16387
e0619de6
JK
163882015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16389
16390 PR symtab/18392
16391 * gdb.arch/amd64-tailcall-self.S: New file.
16392 * gdb.arch/amd64-tailcall-self.c: New file.
16393 * gdb.arch/amd64-tailcall-self.exp: New file.
16394
e970cb34
DB
163952015-05-28 Don Breazeal <donb@codesourcery.com>
16396
16397 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
16398 tests for remote targets by checking is_target_gdbserver.
16399
b2e2f908
DE
164002015-05-27 Doug Evans <dje@google.com>
16401
16402 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
16403 * gdb.dwarf2/opaque-type-lookup.c: New file.
16404 * gdb.dwarf2/opaque-type-lookup.exp: New file.
16405
82c7be31
DE
164062015-05-26 Doug Evans <dje@google.com>
16407
16408 * gdb.cp/iostream.cc: New file.
16409 * gdb.cp/iostream.exp: New file.
16410
b4f54984
DE
164112015-05-26 Doug Evans <dje@google.com>
16412
16413 * gdb.dwarf2/dw2-op-call.exp: Update.
16414 * gdb.dwarf2/dw4-sig-types.exp: Update.
16415 * gdb.dwarf2/implptr.exp: Update.
16416 * gdb.mi/mi-cmd-param-changed.exp: Update.
16417
4ea6efe9
DE
164182015-05-26 Doug Evans <dje@google.com>
16419
16420 * gdb.python/py-lazy-string.c: New file.
16421 * gdb.python/py-lazy-string.exp: New file.
16422 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
16423 (main): Update. Add estring3.
16424 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
16425 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
16426
f6bb7db3
YQ
164272015-05-26 Omair Javaid <omair.javaid@linaro.org>
16428 Yao Qi <yao.qi@linaro.org>
16429
16430 * gdb.reverse/aarch64.c: New.
16431 * gdb.reverse/aarch64.exp: New.
16432
a81bfbd0
OJ
164332015-05-26 Omair Javaid <omair.javaid@linaro.org>
16434
25d49b86
PA
16435 * lib/gdb.exp (supports_process_record): Return true for
16436 aarch64*-linux*.
a81bfbd0
OJ
16437 (supports_reverse): Likewise.
16438
158bf1b4
PP
164392015-05-22 Patrick Palka <patrick@parcs.ath.cx>
16440
16441 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16442 Use with_test_prefix.
16443
a0145030
AB
164442015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
16445
16446 * gdb.base/completion.exp: Add test for completion of layout
16447 names.
16448
ebe3b578
AB
164492015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
16450
16451 * lib/gdb.exp (skip_tui_tests): New proc.
16452 * gdb.base/tui-layout.exp: Check skip_tui_tests.
16453
84204ed7
PA
164542015-05-19 Pedro Alves <palves@redhat.com>
16455
16456 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16457 Save the whole env array instead of just HOME. Unset HISTSIZE in
16458 the environment while testing. Restore whole environment
16459 afterwards.
16460
37442ce1
DE
164612015-05-16 Doug Evans <xdje42@gmail.com>
16462
16463 * gdb.guile/scm-ports.c: New file.
16464 * gdb.guile/scm-ports.exp: Add memory port tests.
16465
36de76f9
JK
164662015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16467
16468 * gdb.compile/compile-print.c: New file.
16469 * gdb.compile/compile-print.exp: New file.
16470
3a9558c4
JK
164712015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16472
16473 * gdb.compile/compile-ops.exp: Cast param to void.
16474 * gdb.compile/compile.exp: Complete type for _gdb_expr.
16475 (compile code struct_object.selffield = &struct_object): Add xfail.
16476
aa715135
JG
164772015-05-15 Joel Brobecker <brobecker@adacore.com>
16478
16479 * gdb.ada/arr_enum_with_gap: New testcase.
16480
931e5bc3
JG
164812015-05-15 Joel Brobecker <brobecker@adacore.com>
16482
16483 * gdb.ada/byte_packed_arr: New testcase.
16484
9cd4d857
JB
164852015-05-15 Joel Brobecker <brobecker@adacore.com>
16486
16487 * gdb.ada/pckd_neg: New testcase.
16488
ebfd00d2
PP
164892015-05-13 Patrick Palka <patrick@parcs.ath.cx>
16490
16491 PR gdb/17820
16492 * gdb.base/gdbinit-history.exp: New test.
16493 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
16494 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
16495
4c082a81
SC
164962015-05-09 Siva Chandra Reddy <sivachandra@google.com>
16497
16498 * gdb.python/py-xmethods.cc: Enhance test case.
16499 * gdb.python/py-xmethods.exp: New tests.
16500 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
16501 function.
16502 (B_indexoper): Likewise.
16503 (global_dm_list) : Add new xmethod worker functions.
16504
f7797074
SDJ
165052015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
16506
16507 * gdb.base/coredump-filter.exp: Correctly unset
16508 "coredump_var_addr" array.
16509
a4674e4e
PA
165102015-05-08 Pedro Alves <palves@redhat.com>
16511
16512 * gdb.server/non-existing-program.exp: Unset spawn_id.
16513
df2eb078
SC
165142015-05-08 Siva Chandra Reddy <sivachandra@google.com>
16515
16516 PR python/18291
16517 * gdb.python/py-xmethods.exp: Add tests.
16518
422349a3
YQ
165192015-05-08 Yao Qi <yao.qi@linaro.org>
16520
16521 PR gdb/18208
16522 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
16523 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
16524 function set_coredump_filter, and remove remote_exec call.
16525 Remove argument ipid. Callers update.
16526 (top level): Don't get inferior's PID.
16527
63fc80ce
AA
165282015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
16529
16530 * gdb.base/watch_thread_num.exp: Skip test on targets without
16531 access watchpoints.
16532
80ad801e
PA
165332015-05-06 Pedro Alves <palves@redhat.com>
16534
16535 PR server/18081
16536 * gdb.server/non-existing-program.exp: New file.
16537
0fa7fe50
JB
165382015-05-05 Joel Brobecker <brobecker@adacore.com>
16539
16540 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
16541
3ea89b92
PMR
165422015-05-05 Joel Brobecker <brobecker@adacore.com>
16543
16544 * gdb.ada/out_of_line_in_inlined: New testcase.
16545
87b8eff0
JB
165462015-05-05 Joel Brobecker <brobecker@adacore.com>
16547
16548 * gdb.ada/var_rec_arr: New testcase.
16549
5fccc635
YQ
165502015-04-30 Yao Qi <yao.qi@linaro.org>
16551
16552 * gdb.base/break-idempotent.exp: If
16553 skip_hw_watchpoint_multi_tests returns true, skip the tests
16554 on "rwatch" and "awatch".
16555
42d38f42
YQ
165562015-04-30 Yao Qi <yao.qi@linaro.org>
16557
16558 * gdb.base/relativedebug.exp: Invoke gdb command
16559 "info sharedlibrary", and if libc.so doesn't have debug info,
16560 skip the test.
16561
2ce1cdbf
DE
165622015-04-29 Doug Evans <dje@google.com>
16563
16564 * gdb.python/py-xmethods.exp: Add ptype tests.
16565 * gdb.python/py-xmethods.py (E_method_char_worker): Add
16566 get_result_type method.
16567
f24a38c5
LM
165682015-04-29 Luis Machado <lgustavo@codesourcery.com>
16569
16570 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
16571 the target does not support hardware watchpoints.
16572
ecbf2b3c
LM
165732015-04-29 Luis Machado <lgustavo@codesourcery.com>
16574
16575 * gdb.base/break-always.exp: Abort testing if writing to memory
16576 causes an error.
16577
34f5f757
DE
165782015-04-28 Doug Evans <dje@google.com>
16579
16580 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
16581 * gdb.python/py-pp-registration.exp: ... here. New file.
16582 * gdb.python/py-pp-registration.c: New file.
16583 * gdb.python/py-pp-registration.py: New file.
16584
69b4374a
DE
165852015-04-28 Doug Evans <dje@google.com>
16586
16587 * gdb.python/py-bad-printers.c: New file.
16588 * gdb.python/py-bad-printers.py: New file.
16589 * gdb.python/py-bad-printers.exp: New file.
16590
59fb7612
SS
165912015-04-28 Sasha Smundak <asmundak@google.com>
16592
16593 * gdb.python/py-type.exp: New test.
16594
2631b16a
AW
165952015-04-28 Andy Wingo <wingo@igalia.com>
16596
16597 * gdb.python/py-parameter.exp:
16598 * gdb.guile/scm-parameter.exp: Escape the path that we are
16599 matching against, as it might contain characters that are special
16600 to regular expressions.
16601
460efde1
JB
166022015-04-27 Joel Brobecker <brobecker@adacore.com>
16603
16604 * gdb.ada/rec_comp: New testcase.
16605
2d369d8e
SDJ
166062015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
16607
16608 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
16609 before using it.
16610
cf75d6c3
AB
166112015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
16612
16613 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
16614 new tests for verilog output.
16615
8dbe7ca5
YQ
166162015-04-24 Yao Qi <yao.qi@linaro.org>
16617
16618 * boards/remote-gdbserver-on-localhost.exp: New file.
16619
4ef9fb2f
PA
166202015-04-23 Pedro Alves <palves@redhat.com>
16621
16622 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
16623 $inferior_spawn_id instead of $inferior_spawn_id directly. On
16624 "end of file", remove $inferior_spawn_id from the indirect list.
16625
0a803169
PA
166262015-04-23 Pedro Alves <palves@redhat.com>
16627
16628 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
16629
749ef8f8
PA
166302015-04-23 Pedro Alves <palves@redhat.com>
16631
16632 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
16633 on $any_spawn_id instead of only on $gdb_spawn_id.
16634
8aae4344
PM
166352015-04-21 Pierre Muller <muller@sourceware.org>
16636
16637 PR pascal/17815
16638 * lib/pascal.exp (gpc_compile): Add new option "class".
16639 (fpc_compile): Likewise.
16640 * gdb.pascal/case-insensitive-symbols.pas: New file.
16641 * gdb.pascal/case-insensitive-symbols.exp: New file.
16642
1586c8fb
GB
166432015-04-20 Gary Benson <gbenson@redhat.com>
16644
16645 * gdb.base/attach.exp: Fix three extended remote failures.
16646
1b6e6f5c
GB
166472015-04-17 Gary Benson <gbenson@redhat.com>
16648
16649 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
16650 the main executable over the remote protocol.
16651
e797481d
PA
166522015-04-16 Pedro Alves <palves@redhat.com>
16653
16654 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
16655 a new gdbserver if gdbserver_reconnect_p is set.
16656
1ca99c42
PA
166572015-04-16 Pedro Alves <palves@redhat.com>
16658
16659 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
16660 is set, don't exit gdbserver.
16661
af9fd6f8
AA
166622015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16663
16664 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
16665 appropriate .insn, such that an older assembler can be used.
16666 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
16667 the z/Architecture instruction set on 31-bit targets as well.
16668
04ff1e61
AA
166692015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16670
16671 * gdb.go/handcall.exp: Remove all logic related to the first
16672 breakpoint and rely on go_runto_main instead.
16673 * gdb.go/strings.exp: Likewise.
16674 * gdb.go/unsafe.exp: Likewise.
16675 * gdb.go/hello.exp: Likewise. Also rename the remaining
16676 breakpoint marker to "breakpoint 1".
16677 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
16678 * gdb.go/strings.go: Likewise.
16679 * gdb.go/unsafe.go: Likewise.
16680 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
16681 "set breakpoint 2 here" and rename the remaining breakpoint marker
16682 to "breakpoint 1".
16683
40d2f8d6
SM
166842015-04-15 Simon Marchi <simon.marchi@ericsson.com>
16685
16686 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
16687 if itertools.imap is not present.
16688 * gdb.python/py-objfile.exp: Add parentheses.
16689 * gdb.python/py-type.exp: Same.
16690 * gdb.python/py-unwind-maint.py: Same.
16691
8cbc97c6
YQ
166922015-04-15 Yao Qi <yao.qi@linaro.org>
16693
16694 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
16695 of ":$ptr_size" and set its form explicitly.
16696
45fd756c
YQ
166972015-04-15 Pedro Alves <palves@redhat.com>
16698 Yao Qi <yao.qi@linaro.org>
16699
16700 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
16701 timeout by factor of 4.
16702 (test_regular_watch): Likewise.
16703 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
16704 * gdb.reverse/sigall-reverse.exp: Likewise.
16705 * gdb.reverse/until-precsave.exp: Likewise.
16706 * lib/gdb.exp (with_timeout_factor): New proc.
16707 (gdb_expect): Move some code to ...
16708 (get_largest_timeout): ... here. New procedure.
16709
9e811bc3
LM
167102015-04-14 Luis Machado <lgustavo@codesourcery.com>
16711
16712 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
16713
0ff6fcb2
LM
167142015-04-13 Luis Machado <lgustavo@codesourcery.com>
16715
16716 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
16717 to write to the .text section.
16718
7578d5f7
LM
167192015-04-13 Luis Machado <lgustavo@codesourcery.com>
16720
16721 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
16722 Handle the case of targets that do not provide PID information.
16723
2efe15c4
YQ
167242015-04-13 Yao Qi <yao.qi@linaro.org>
16725
16726 * lib/gdbserver-support.exp (gdb_exit): Catch exception
16727 and use expect instead of gdb_expect.
16728
8cd8f2f8
SDJ
167292015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
16730
16731 * gdb.base/coredump-filter.exp: Rename variable "addr" to
16732 "coredump_var_addr" to avoid naming conflict with other testcases.
16733
9ee41772
PA
167342015-04-10 Pedro Alves <palves@redhat.com>
16735
16736 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
16737 gdb_test_sequence and gdb_assert.
16738
07473109
PA
167392015-04-10 Pedro Alves <palves@redhat.com>
16740
16741 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
16742 test messages that don't include the breakpoint address.
16743
de3db44c
YQ
167442015-04-10 Yao Qi <yao.qi@linaro.org>
16745
16746 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
16747 false for some offset and width combinations which aren't
16748 supported by linux kernel.
16749
c79d856c
PA
167502015-04-10 Pedro Alves <palves@redhat.com>
16751
16752 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
16753 procedure, factored out from ...
16754 (top level): ... here. Add "set displaced-stepping" testing axis.
16755 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
16756 parameter "displaced". Use it.
16757 (top level): Use foreach and add "set displaced-stepping" testing
16758 axis.
16759
ebc90b50
PA
167602015-04-10 Pedro Alves <palves@redhat.com>
16761
16762 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
16763 Remove comment.
16764 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
16765 both the address of the instruction that triggers the watchpoint
16766 and the address of the instruction immediately after, and use
16767 those addresses for the test. Fix comment.
16768
8f572e5c
PA
167692015-04-10 Pedro Alves <palves@redhat.com>
16770
16771 * gdb.base/sigstep.exp (breakpoint_to_handler)
16772 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
16773 Test "backtrace" in handler.
16774 (breakpoint_over_handler): New parameter 'displaced'. Use it.
16775 (top level): Add new "displaced" test axis to
16776 breakpoint_to_handler, breakpoint_to_handler_entry and
16777 breakpoint_over_handler.
16778
8d707a12
PA
167792015-04-10 Pedro Alves <palves@redhat.com>
16780
16781 PR gdb/18216
16782 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
16783
ef713951
YQ
167842015-04-10 Yao Qi <yao.qi@linaro.org>
16785
16786 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
16787 (test_add_rn_pc): New function.
16788 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
16789 (top level): Invoke test_add_rn_pc.
16790
906d60cf
PA
167912015-04-10 Pedro Alves <palves@redhat.com>
16792
16793 PR gdb/13858
16794 * gdb.base/step-over-no-symbols.exp: New file.
16795
f2983cc3
AW
167962015-04-09 Andy Wingo <wingo@igalia.com>
16797
16798 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
16799 after the Python tests.
16800
6d62641c
SDJ
168012015-04-08 Keith Seitz <keiths@redhat.com>
16802
16803 PR python/16699
16804 * gdb.python/py-completion.exp: New tests for completion.
16805 * gdb.python/py-completion.py (CompleteLimit1): New class.
16806 (CompleteLimit2): Likewise.
16807 (CompleteLimit3): Likewise.
16808 (CompleteLimit4): Likewise.
16809 (CompleteLimit5): Likewise.
16810 (CompleteLimit6): Likewise.
16811 (CompleteLimit7): Likewise.
16812
f3770638
PA
168132015-04-08 Pedro Alves <palves@redhat.com>
16814
16815 PR gdb/18214
16816 PR gdb/18216
16817 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
16818 function.
16819 (main): Install it as SIGUSR1 handler.
16820 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
16821 parameter. Always use "setup" as prefix. Toggle "set
16822 displaced-stepping" off/on depending on global. Don't switch to
16823 thread 1 here.
16824 (top level): Add displaced stepping "off/on" test axis. Update
16825 "setup" calls. Wrap each subtest with with_test_prefix. Test
16826 continuing with a queued signal in each thread.
16827
4496bed7
PA
168282015-04-08 Pedro Alves <palves@redhat.com>
16829
16830 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
16831 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
16832 gdb_breakpoint instead of gdb_test that doesn't expect anything.
16833 Return early if running to main fails.
16834 * gdb.trace/while-stepping.exp: Likewise.
16835
b97fde92
PA
168362015-04-07 Pedro Alves <palves@redhat.com>
16837
16838 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
16839 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
16840 interact with inferior program.
16841
f71c18e7
PA
168422015-04-07 Pedro Alves <palves@redhat.com>
16843
16844 * lib/gdb.exp (inferior_spawn_id): New global.
16845 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
16846 spawn id after processing the user code.
16847 (default_gdb_start): Set inferior_spawn_id.
16848 (send_inferior): New procedure.
16849 * lib/gdbserver-support.exp (gdbserver_start): Set
16850 inferior_spawn_id.
16851 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
16852
6423214f
PA
168532015-04-07 Pedro Alves <palves@redhat.com>
16854
16855 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
16856 * lib/gdbserver-support.exp (gdbserver_start): Make
16857 $server_spawn_id global.
16858 (gdbserver_start): Don't wait for gdbserver's spawn id with
16859 expect_background.
16860 (close_gdbserver): New procedure.
16861 (gdb_exit): Rename the default version and reimplement.
16862
71c0ee8c
PA
168632015-04-07 Pedro Alves <palves@redhat.com>
16864
72f4393d 16865 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
16866 append the substituted item, not the original item.
16867
203bc29b
PA
168682015-04-07 Pedro Alves <palves@redhat.com>
16869
16870 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
16871 gdb_expect.
16872
508a3ddf
PA
168732015-04-07 Pedro Alves <palves@redhat.com>
16874
16875 * gdb.base/interrupt.exp: Don't handle the case of the inferior
16876 output appearing once only.
16877
9f6dbe2b
PA
168782015-04-07 Pedro Alves <palves@redhat.com>
16879
16880 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
16881 that doesn't expect anything. Return early if running to main
16882 fails.
16883
337532fa
YQ
168842015-04-07 Yao Qi <yao.qi@linaro.org>
16885
16886 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
16887 (child_function): Call alarm.
16888 (main): Move call to alarm into the loop.
16889 * gdb.threads/non-stop-fair-events.exp: Build program with
16890 -DTIMEOUT=$timeout.
16891
01b622d4
DE
168922015-04-06 Doug Evans <xdje42@gmail.com>
16893
16894 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
16895 Fix dest parameter to board_info.
16896 (fpc_compile): Ditto.
16897 (gdb_compile_pascal): Rename dest arg to destfile.
16898
961f4160
PMR
168992015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
16900
16901 * gdb.ada/funcall_ref.exp: New file.
16902 * gdb.ada/funcall_ref/foo.adb: New file.
16903
cafda597
YQ
169042015-04-02 Yao Qi <yao.qi@linaro.org>
16905
16906 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
16907 is remote.
16908
fed040c6
GB
169092015-04-02 Gary Benson <gbenson@redhat.com>
16910
16911 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
16912
d11916aa
SS
169132015-04-01 Sasha Smundak <asmundak@google.com>
16914
16915 * gdb.python/py-unwind-maint.c: New file.
16916 * gdb.python/py-unwind-maint.exp: New test.
16917 * gdb.python/py-unwind-maint.py: New file.
16918 * gdb.python/py-unwind.c: New file.
16919 * gdb.python/py-unwind.exp: New test.
16920 * gdb.python/py-unwind.py: New test.
16921
a1471180
PA
169222015-04-01 Pedro Alves <palves@redhat.com>
16923
16924 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
16925 to fail instead of non-existent $test.
16926
0bbeccb1
PA
169272015-04-01 Pedro Alves <palves@redhat.com>
16928
16929 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
16930 GDBFLAGS if not empty.
16931
3c724c8c
PMR
169322015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
16933
16934 * gdb.ada/complete.exp: Remove "multi_line".
16935 * gdb.ada/info_exc.exp: Remove "multi_line".
16936 * gdb.ada/packed_tagged.exp: Remove "multi_line".
16937 * gdb.ada/ptype_field.exp: Remove "multi_line".
16938 * gdb.ada/sym_print_name.exp: Remove "multi_line".
16939 * gdb.ada/tagged.exp: Remove "multi_line".
16940 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
16941 [multi_line ...]
16942 * gdb.btrace/delta.exp: Likewise.
16943 * gdb.btrace/exception.exp: Likewise.
16944 * gdb.btrace/function_call_history.exp: Likewise.
16945 * gdb.btrace/instruction_history.exp: Likewise.
16946 * gdb.btrace/nohist.exp: Likewise.
16947 * gdb.btrace/record_goto.exp: Likewise.
16948 * gdb.btrace/segv.exp: Likewise.
16949 * gdb.btrace/stepi.exp: Likewise.
16950 * gdb.btrace/tailcall.exp: Likewise.
16951 * gdb.btrace/unknown_functions.exp: Likewise.
16952 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
16953 * lib/gdb.exp: Add the "multi_line" helper.
16954
4eec2deb
PA
169552015-04-01 Pedro Alves <palves@redhat.com>
16956
16957 * gdb.threads/tid-reuse.c: New file.
16958 * gdb.threads/tid-reuse.exp: New file.
16959
df8411da
SDJ
169602015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
16961
16962 PR corefiles/16092
16963 * gdb.base/coredump-filter.c: New file.
16964 * gdb.base/coredump-filter.exp: Likewise.
16965
6ef37366
PM
169662015-03-27 Petr Machata <pmachata@redhat.com>
16967
16968 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
16969 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
16970 (Dwarf::assemble): Initialize them.
16971 (Dwarf::lines): New function.
16972
7ec911b0
JT
169732015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
16974
16975 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
16976 SYMBOL_PREFIX for x86_64-*-cygwin.
16977
ff908ebf
AW
169782015-03-26 Andy Wingo <wingo@igalia.com>
16979
16980 PR symtab/18148
16981 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
16982 const_value but not a location.
16983 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
16984 location defined in non-main CUs are visible.
16985
6d5f0679
YQ
169862015-03-26 Yao Qi <yao.qi@linaro.org>
16987
16988 PR testsuite/18139
16989 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
16990 Add a line number entry for the same line.
16991 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
16992 Add a line number entry for the same line.
16993
2898689b
YQ
169942015-03-26 Yao Qi <yao.qi@linaro.org>
16995
16996 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
16997 .int 0.
16998 (func): Likewise. Add .Lfunc_1 label.
16999 Use .Lfunc_1 label.
17000 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
17001 .int 0.
17002 (func): Likewise.
17003 Use .Lfunc_1 label.
17004
85180498
YQ
170052015-03-26 Yao Qi <yao.qi@linaro.org>
17006
17007 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
17008 Call gdb_compile instead to compile each .s files without debug
17009 information.
17010
8aa08a8d
YQ
170112015-03-26 Yao Qi <yao.qi@linaro.org>
17012
17013 * gdb.base/savedregs.exp (process_saved_regs): Make
17014 "Saved registers:" optional in the pattern.
17015
66849923
MM
170162015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17017
17018 * gdb.btrace/next.exp: Merged into step.exp.
17019 * gdb.btrace/finish.exp: Merged into step.exp.
17020 * gdb.btrace/nexti.exp: Merged into stepi.exp.
17021 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
17022 "record goto" and checking the exact replay position.
17023 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
17024 check for "Recording format" in "info record" output.
17025 * gdb.btrace/record_goto.exp: Choose test file based on target.
17026 * gdb.btrace/x86-record_goto.S: Renamed into ...
17027 * gdb.btrace/x86_64-record_goto.S: ... this.
17028 * gdb.btrace/i686-record_goto.S: New.
17029 * gdb.btrace/x86-tailcall.S: Renamed into ...
17030 * gdb.btrace/x86_64-tailcall.S: ... this.
17031 * gdb.btrace/i686-tailcall.S: New.
17032 * gdb.btrace/x86-tailcall.c: Renamed into ...
17033 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
17034 separate statements. Update test.
17035 * gdb.btrace/delta.exp: Use record_goto.c as test file.
17036 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
17037 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
17038 * gdb.btrace/tailcall.exp: Choose test file based on target.
17039 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
17040
11cc1b74
MM
170412015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17042
17043 * gdb.btrace/exception.exp: Increase BTS buffer size.
17044
a25d8bf9
PA
170452015-03-24 Pedro Alves <palves@redhat.com>
17046
17047 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
17048
856e7dd6
PA
170492015-03-24 Pedro Alves <palves@redhat.com>
17050
17051 * gdb.threads/schedlock.exp (test_step): No longer expect that
17052 "set scheduler-locking step" with "next" over a function call runs
17053 threads unlocked.
17054
ad235a41
AT
170552015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17056
17057 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
17058
15630549
AT
170592015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17060
17061 PR breakpoints/16466
17062 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
17063 * gdb.mi/mi-pending.c (thread_func): New function.
17064 (int main): Add threading support required.
17065 * gdb.mi/mi-pending.exp: Add tests for this issue.
17066 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
17067 (pendfunc2): Remove stdio dependency.
17068 * gdb.mi/mi-pendshr2.c: New file.
17069
693dca06
KS
170702015-03-23 Keith Seitz <keiths@redhat.com>
17071
17072 * gdb.linespec/keywords.c: New file.
17073 * gdb.linespec/keywords.exp: New file.
17074
7e993ebf
KS
170752015-03-23 Keith Seitz <keiths@redhat.com>
17076
17077 PR gdb/18021
17078 * gdb.dwarf2/staticvirtual.exp: New test.
17079
bc23328c
JK
170802015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17081
17082 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
17083 * README: Remove HP-UX and gdb.hp.
17084 (configuration):
17085 * configure: Regenerate.
17086 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
17087 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
17088 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
17089 gdb.hp/gdb.defects/Makefile.
17090 * gdb.hp/Makefile.in: File deleted.
17091 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
17092 * gdb.hp/gdb.aCC/optimize.c: File deleted.
17093 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
17094 * gdb.hp/gdb.aCC/run.c: File deleted.
17095 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
17096 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
17097 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
17098 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
17099 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
17100 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
17101 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
17102 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
17103 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
17104 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
17105 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
17106 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
17107 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
17108 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
17109 * gdb.hp/gdb.base-hp/reg.s: File deleted.
17110 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
17111 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
17112 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
17113 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
17114 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
17115 * gdb.hp/gdb.compat/Makefile.in: File deleted.
17116 * gdb.hp/gdb.compat/average.c: File deleted.
17117 * gdb.hp/gdb.compat/sum.c: File deleted.
17118 * gdb.hp/gdb.compat/xdb.c: File deleted.
17119 * gdb.hp/gdb.compat/xdb0.c: File deleted.
17120 * gdb.hp/gdb.compat/xdb0.h: File deleted.
17121 * gdb.hp/gdb.compat/xdb1.c: File deleted.
17122 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
17123 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
17124 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
17125 * gdb.hp/gdb.defects/Makefile.in: File deleted.
17126 * gdb.hp/gdb.defects/bs14602.c: File deleted.
17127 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
17128 * gdb.hp/gdb.defects/solib-d.c: File deleted.
17129 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
17130 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
17131 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
17132 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
17133 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
17134 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
17135 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
17136 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
17137 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
17138 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
17139 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
17140 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
17141 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
17142 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
17143 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
17144 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
17145 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
17146 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
17147 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
17148 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
17149 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
17150 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
17151 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
17152 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
17153 * gdb.hp/tools/odump: File deleted.
17154
8bf3b159
PA
171552015-03-19 Pedro Alves <palves@redhat.com>
17156
17157 * gdb.threads/continue-pending-status.exp (saw_thread_2)
17158 (saw_thread_3): New globals.
17159 (top level): Increment them when an event for the corresponding
17160 thread is seen.
17161 (no thread starvation): New test.
17162
eb54c8bf
PA
171632015-03-19 Pedro Alves <palves@redhat.com>
17164
17165 * gdb.threads/continue-pending-status.c: New file.
17166 * gdb.threads/continue-pending-status.exp: New file.
17167
32d2e5d6
PA
171682015-03-18 Pedro Alves <palves@redhat.com>
17169
17170 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
17171 Use gdb_is_target_remote instead of is_remote. Use
17172 gdb_test_multiple instead of gdb_expect. Exit early if
17173 gdb_test_multiple hits its internal matches. Tighten stepi tests
17174 expected output. Fail on exit with any signal, instead of just
17175 SIGILL.
17176
f68f11b7
YQ
171772015-03-18 Yao Qi <yao.qi@linaro.org>
17178
17179 PR tdep/18107
17180 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
17181 variable.
17182 * gdb.base/catch-syscall.exp: Don't skip it on
17183 aarch64*-*-linux* target. Remove elements in all_syscalls.
17184 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
17185 target.
17186 (setup_all_syscalls): New proc.
17187
ca5fd19b
YQ
171882015-03-16 Yao Qi <yao.qi@linaro.org>
17189
17190 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
17191 (top level): Skip tests if valid_addr_p returns false for
17192 $cmd1 or $cmd2.
17193
85642ba0
AW
171942015-03-11 Andy Wingo <wingo@igalia.com>
17195
17196 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
17197
e03f9645
YQ
171982015-03-11 Yao Qi <yao.qi@linaro.org>
17199
17200 * gdb.base/catch-syscall.exp: Fix typo in comments.
17201
5d0962b2
YQ
172022015-03-11 Yao Qi <yao.qi@linaro.org>
17203
17204 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
17205
b2df3cef
PA
172062015-03-09 Pedro Alves <palves@redhat.com>
17207
17208 * dg-extract-results.py: Delete.
17209
ef878e53
PA
172102015-03-09 Pedro Alves <palves@redhat.com>
17211
17212 Merge dg-extract-results.sh from GCC upstream (r218843).
17213
17214 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
17215 * dg-extract-results.sh: Use --text with grep to avoid issues with
17216 binary files. Fall back to cat -v, if that doesn't work.
17217
9494d219
PA
172182015-03-05 Pedro Alves <palves@redhat.com>
17219
17220 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
17221
a8d9763a
SM
172222015-03-04 Simon Marchi <simon.marchi@ericsson.com>
17223
17224 * lib/mi-support.exp (mi_expect_interrupt): Accept
17225 alternative event for when in all-stop mode.
17226
be9957b8
PA
172272015-03-04 Pedro Alves <palves@redhat.com>
17228
17229 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
17230
d57be0f4 172312015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
17232
17233 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
17234
c214c7cf
AA
172352015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17236
17237 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
17238 regexps for GDB's current line display, accept a hex address
17239 preceding the line number.
17240
6d74a497
AA
172412015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17242
17243 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
17244 the 'arch1' variable for "s390*-linux*" targets.
17245
511aee7c
PA
172462015-03-04 Pedro Alves <palves@redhat.com>
17247
17248 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
17249 (main): Pass missing retval argument to pthread_join call.
17250
95e50b27
PA
172512015-03-02 Pedro Alves <palves@redhat.com>
17252
17253 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
17254 (top level): Call do_test with non-stop as well.
17255
28054d69
PA
172562015-03-02 Pedro Alves <palves@redhat.com>
17257
17258 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
17259 -1.
17260
4fa5d7b4
AA
172612015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17262
17263 * gdb.arch/s390-vregs.exp: New test.
17264 * gdb.arch/s390-vregs.S: New file.
17265
97c18565
PA
172662015-02-27 Pedro Alves <palves@redhat.com>
17267
17268 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
17269 call to catch_command_errors.
17270 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
17271 catch_command_errors.
17272
a37bfa30
PA
172732015-02-27 Pedro Alves <palves@redhat.com>
17274
17275 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
17276 "true" for boolean result.
17277 * gdb.gdb/selftest.exp (test_with_self): Also accept full
17278 prototype of main.
17279
6f98576f
PA
172802015-02-27 Pedro Alves <palves@redhat.com>
17281
17282 * lib/unbuffer_output.c: New file.
17283 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
17284 (main): Call gdb_unbuffer_output.
17285
eba5ab56
YQ
172862015-02-27 Yao Qi <yao.qi@linaro.org>
17287
17288 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
17289 target.
17290
0def5aaa
DE
172912015-02-26 Doug Evans <dje@google.com>
17292
17293 * gdb.cp/class2.cc (Dbase, D): New classes.
17294 (main): New local delta.
17295 * gdb.cp/class2.exp: Test printing delta.
17296 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
17297 (dynbar): New global.
17298 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
17299
081a1c2c
JK
173002015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17301
17302 * gdb.compile/compile-ifunc.c: New file.
17303 * gdb.compile/compile-ifunc.exp: New file.
17304
2f41223f
AT
173052015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
17306
17307 * gdb.base/structs.exp: Check for correct struct on finish.
17308
03eddd80
YQ
173092015-02-26 Yao Qi <yao.qi@linaro.org>
17310
17311 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
17312 is zero.
17313
80c57053
JK
173142015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17315
17316 * gdb.arch/cordic.ko.bz2: New file.
17317 * gdb.arch/cordic.ko.debug.bz2: New file.
17318 * gdb.arch/ppc64-symtab-cordic.exp: New file.
17319
21613c12
YQ
173202015-02-25 Yao Qi <yao.qi@linaro.org>
17321
17322 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
17323 aarch64*-*-* target.
17324
d8b901ed
PA
173252015-02-23 Pedro Alves <palves@redhat.com>
17326
17327 * lib/gdb.exp (delete_breakpoints): Rewrite using
17328 gdb_test_multiple.
17329
e5b85ead
PA
173302015-02-23 Pedro Alves <palves@redhat.com>
17331
17332 * gdb.base/info-os.c: Include stdlib.h.
17333
85c3a371
DE
173342015-02-22 Doug Evans <xdje42@gmail.com>
17335
17336 PR symtab/17855
17337 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
17338 is read after symbols have been re-read.
17339 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
17340 * gdb.ada/exec_changed/second.adb (Second): Ditto.
17341
96553a0c
DE
173422015-02-21 Doug Evans <dje@google.com>
17343
17344 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
17345
97a0c697
JK
173462015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17347
17348 PR corefiles/17808
17349 * gdb.arch/i386-biarch-core.core.bz2: New file.
17350 * gdb.arch/i386-biarch-core.exp: New file.
17351
a47cd6e9
PA
173522015-02-21 Pedro Alves <palves@redhat.com>
17353
17354 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
17355 runto_main fails.
17356
c5facdc4
PA
173572015-02-20 Pedro Alves <palves@redhat.com>
17358
17359 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
17360 info probes.
17361
2db9a427
PA
173622015-02-20 Pedro Alves <palves@redhat.com>
17363
17364 * gdb.threads/multi-create-ns-info-thr.exp: New file.
17365
60fb7e9e
PA
173662015-02-20 Pedro Alves <palves@redhat.com>
17367
17368 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
17369 clean_restart before gdb_target_supports_trace.
17370
5c5019c2
PA
173712015-02-20 Pedro Alves <palves@redhat.com>
17372
17373 PR threads/18006
17374 * gdb.threads/clone-thread_db.c: New file.
17375 * gdb.threads/clone-thread_db.exp: New file.
17376
c9587f88
AT
173772015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
17378
17379 PR breakpoints/16812
17380 * gdb.base/catch-gdb-caused-signals.c: New file.
17381 * gdb.base/catch-gdb-caused-signals.exp: New file.
17382
f6a88844
JM
173832015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
17384
17385 * configure: Regenerated.
17386 * configure.ac: Use GDB_AC_TRANSFORM.
17387 * aclocal.m4: sinclude ../transform.m4.
17388
497c491b
JM
173892015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17390
17391 * lib/dtrace.exp: New file.
17392 * gdb.base/dtrace-probe.exp: Likewise.
17393 * gdb.base/dtrace-probe.d: Likewise.
17394 * gdb.base/dtrace-probe.c: Likewise.
17395 * lib/pdtrace.in: Likewise.
17396 * configure.ac: Output variables with the transformed names of
17397 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
17398 * configure: Regenerated.
17399
03e98035
JM
174002015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17401
17402 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
17403 expected message when trying to access $_probe_* convenience
17404 variables while not on a probe.
17405
63cc30e9
JK
174062015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17407
17408 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
17409
0703599a
PA
174102015-02-11 Pedro Alves <pedro@codesourcery.com>
17411
17412 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
17413 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
17414
7e60a48e
DE
174152015-02-10 Doug Evans <xdje42@gmail.com>
17416
17417 * lib/gdb.exp (gdb_load): Always return a result.
17418
01b088bc
PA
174192015-02-10 Pedro Alves <palves@redhat.com>
17420
17421 * gdb.threads/signal-sigtrap.c: New file.
17422 * gdb.threads/signal-sigtrap.exp: New file.
17423
b05ec7a5
AT
174242015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
17425
17426 * gdb.trace/no-attach-trace.c: New file.
17427 * gdb.trace/no-attach-trace.exp: New file.
17428
a2c2acaf
MW
174292015-02-09 Mark Wielaard <mjw@redhat.com>
17430
17431 * gdb.dwarf2/atomic.c: New file.
17432 * gdb.dwarf2/atomic-type.exp: Likewise.
17433
31fd9caa
MM
174342015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17435
17436 * gdb.btrace/buffer-size.exp: Update "info record" output.
17437 * gdb.btrace/delta.exp: Update "info record" output.
17438 * gdb.btrace/enable.exp: Update "info record" output.
17439 * gdb.btrace/finish.exp: Update "info record" output.
17440 * gdb.btrace/instruction_history.exp: Update "info record" output.
17441 * gdb.btrace/next.exp: Update "info record" output.
17442 * gdb.btrace/nexti.exp: Update "info record" output.
17443 * gdb.btrace/step.exp: Update "info record" output.
17444 * gdb.btrace/stepi.exp: Update "info record" output.
17445 * gdb.btrace/nohist.exp: Update "info record" output.
17446
d33501a5
MM
174472015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17448
17449 * gdb.btrace/buffer-size: New.
17450
f4abbc16
MM
174512015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17452
17453 * gdb.btrace/delta.exp: Update "info record" output.
17454 * gdb.btrace/enable.exp: Update "info record" output.
17455 * gdb.btrace/finish.exp: Update "info record" output.
17456 * gdb.btrace/instruction_history.exp: Update "info record" output.
17457 * gdb.btrace/next.exp: Update "info record" output.
17458 * gdb.btrace/nexti.exp: Update "info record" output.
17459 * gdb.btrace/step.exp: Update "info record" output.
17460 * gdb.btrace/stepi.exp: Update "info record" output.
17461 * gdb.btrace/nohist.exp: Update "info record" output.
17462
b9d61307
SM
174632015-02-06 Simon Marchi <simon.marchi@ericsson.com>
17464
17465 PR gdb/15678
17466 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
17467
e584fdbc
PA
174682015-02-06 Pedro Alves <palves@redhat.com>
17469
17470 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
17471 macro.
17472 (seconds_left, again): New globals.
17473 (main): Wait seconds_left in a 1-second sleep loop instead of
17474 sleeping 180 seconds. If 'again' is set, reset the seconds
17475 counter.
17476 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
17477 'again' in the inferior before detaching. Print the seconds left.
17478 (options): New global.
17479 (top level): Build program with -DTIMEOUT=$timeout.
17480
77f41761
PA
174812015-02-06 Pedro Alves <palves@redhat.com>
17482
17483 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
17484 determine how many seconds to pass to 'alarm'.
17485 * gdb.base/gdb-sigterm.exp (top level): Build program with
17486 -DTIMEOUT=$timeout.
17487 (do_test): Return success/failure indication. Add more verbose
17488 logging. Don't fail if 200 single steps are seen. Instead, fail
17489 when the test times out.
17490 (passes): New global.
17491 (top level): Break the testing loop if testing fails on any
17492 iteration. Use gdb_assert.
17493
b9394193
DB
174942015-02-04 Don Breazeal <donb@codesourcery.com>
17495
17496 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
17497 and initialize them.
17498 (ipc_cleanup): New function.
17499 (main): Don't declare shmid, semid, and msqid. Add a call to
17500 atexit so that we call ipc_cleanup on exit.
17501
42d9e528
PA
175022015-02-04 Pedro Alves <palves@redhat.com>
17503
17504 * boards/native-extended-gdbserver.exp: Remove any target variant
17505 specifications from the board name before clearing the isremote
17506 flag from board_info.
17507
ae6ae975
DE
175082015-01-31 Doug Evans <xdje42@gmail.com>
17509
17510 * gdb.base/maint.exp <maint print type argc>: Update expected output.
17511
cfb069a8
GB
175122015-01-31 Gary Benson <gbenson@redhat.com>
17513
17514 * gdb.base/completion.exp: Disable completion limiting for
17515 existing tests. Add new tests to check completion limiting.
17516 * gdb.linespec/ls-errs.exp: Disable completion limiting.
17517
5dd31d79
DE
175182015-01-31 Doug Evans <xdje42@gmail.com>
17519
17520 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
17521
9f050062
DE
175222015-01-31 Doug Evans <xdje42@gmail.com>
17523
17524 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
17525 entries. Duplicate file section script entries.
17526 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
17527 inlined entries. Add test for safe-path rejection.
17528 * gdb.python/py-section-script.c: Add duplicate inlined section script
17529 entries. Duplicate file section script entries.
17530 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
17531 inlined entries. Add test for safe-path rejection.
17532
df25ebbd
JB
175332015-01-29 Joel Brobecker <brobecker@adacore.com>
17534
17535 * gdb.ada/disc_arr_bound: New testcase.
17536
4a0ca9ec
JB
175372015-01-29 Joel Brobecker <brobecker@adacore.com>
17538
17539 * gdb.ada/mi_var_array: New testcase.
17540
3a8b707a
DE
175412015-01-27 Doug Evans <dje@google.com>
17542
17543 * gdb.python/py-objfile.exp: Add tests for objfile.username.
17544 Add test for objfile.filename, objfile.username after objfile
17545 has been unloaded.
17546
f8313f6e
JB
175472015-01-26 Joel Brobecker <brobecker@adacore.com>
17548
17549 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
17550 the second test to print the name attribute of value
17551 returned by the call to gdb.lookup_type, and adjust
17552 the expected output accordingly.
17553
37bc665e
MW
175542015-01-25 Mark Wielaard <mjw@redhat.com>
17555
17556 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
17557 * gdb.base/disp-step-fork.c: Include unistd.h.
17558 * gdb.base/siginfo-obj.c: Include stdio.h.
17559 * gdb.base/siginfo-thread.c: Likewise.
17560 * gdb.mi/non-stop.c: Include unistd.h.
17561 * gdb.mi/nsthrexec.c: Include stdio.h.
17562 * gdb.mi/pthreads.c: Include unistd.h.
17563 * gdb.modula2/unbounded1.c (main): Declare returns int.
17564 * gdb.reverse/consecutive-reverse.c: Likewise.
17565 * gdb.threads/create-fail.c: Include unistd.h.
17566 * gdb.threads/killed.c: Likewise.
17567 * gdb.threads/linux-dp.c: Likewise.
17568 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
17569 * gdb.threads/non-ldr-exc-2.c: Likewise.
17570 * gdb.threads/non-ldr-exc-3.c: Likewise.
17571 * gdb.threads/non-ldr-exc-4.c: Likewise.
17572 * gdb.threads/pthreads.c: Include unistd.h.
17573 (main): Declare returns int.
17574 * gdb.threads/tls-main.c (foo): New declaration.
17575 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
17576
f7e5394d
SM
175772015-01-23 Simon Marchi <simon.marchi@ericsson.com>
17578
17579 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
17580 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
17581
743649fd
MW
175822015-01-15 Mark Wielaard <mjw@redhat.com>
17583
17584 * gdb.base/noreturn-return.c: New file.
17585 * gdb.base/noreturn-return.exp: New file.
17586 * gdb.base/noreturn-finish.c: New file.
17587 * gdb.base/noreturn-finish.exp: New file.
17588
198297aa
PA
175892015-01-23 Pedro Alves <palves@redhat.com>
17590
17591 * gdb.threads/continue-pending-after-query.c: New file.
17592 * gdb.threads/continue-pending-after-query.exp: New file.
17593
717cf30c
AG
175942015-01-22 Anders Granlund <anders.granlund@ericsson.com>
17595 Simon Marchi <simon.marchi@ericsson.com>
17596
17597 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
17598 * gdb.base/valgrind-db-attach.exp: Same.
17599 * gdb.base/valgrind-infcall.exp: Same.
17600 * lib/mi-support.exp (default_mi_gdb_start): Same.
17601 * lib/prompt.exp (default_prompt_gdb_start): Same.
17602 * lib/gdb.exp (default_gdb_spawn): Same.
17603 (gdb_interact): New.
17604
17605
4b62a76e
JK
176062015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17607
17608 * gdb.compile/compile.exp (pointer to jit function): New test.
17609
b4cdae6f
WW
176102015-01-17 Wei-cheng Wang <cole945@gmail.com>
17611
17612 * lib/gdb.exp (supports_process_record): Return true for
17613 powerpc*-*-linux*.
17614 (supports_reverse): Likewise.
17615
d221e7ef
DB
176162015-01-15 Don Breazeal <donb@codesourcery.com>
17617
17618 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
17619 instead of checking whether the target board is remote and
17620 use spawn_wait_for_attach instead of exec/sleep.
17621 * gdb.base/attach-twice.exp: Likewise.
17622
bafffb51
JB
176232015-01-15 Joel Brobecker <brobecker@adacore.com>
17624
17625 * gdb.ada/var_arr_attrs: New testcase.
17626
5589af0e
PA
176272015-01-14 Pedro Alves <palves@redhat.com>
17628 Joel Brobecker <brobecker@adacore.com>
17629
17630 PR gdb/17525
17631 * gdb.base/bp-cmds-execution-x-script.c: New file.
17632 * gdb.base/bp-cmds-execution-x-script.exp: New file.
17633 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
17634
6c400b59
PA
176352015-01-14 Pedro Alves <palves@redhat.com>
17636
17637 PR cli/17828
17638 * gdb.base/batch-preserve-term-settings.c: New file.
17639 * gdb.base/batch-preserve-term-settings.exp: New file.
17640
e02c96a7
DE
176412015-01-13 Doug Evans <dje@google.com>
17642
17643 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
17644 binary.
17645
576fd14c
JB
176462015-01-13 Joel Brobecker <brobecker@adacore.com>
17647
17648 * Makefile.in (clean mostlyclean): Do not delete *.py.
17649
04dccad0
JB
176502015-01-13 Joel Brobecker <brobecker@adacore.com>
17651
17652 * gdb.python/py-lookup-type.exp: New file.
17653
3d230f71
PA
176542015-01-12 Pedro Alves <palves@redhat.com>
17655
17656 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
17657 restore GDBFLAGS before returning.
17658
7e67715d
JK
176592015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17660
17661 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
17662 is_amd64_regs_target and is_x86_like_target.
17663
f2e0d4b4
DE
176642015-01-11 Doug Evans <xdje42@gmail.com>
17665
17666 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
17667 is given without an explicit form.
17668 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
17669 attributes.
17670 * gdb.dwarf/corrupt.exp: Ditto.
17671 * gdb.dwarf2/enum-type.exp: Ditto.
17672 * gdb.trace/entry-values.exp: Ditto.
17673 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
17674
439250fb
DE
176752015-01-11 Doug Evans <xdje42@gmail.com>
17676
17677 PR gdb/15830
17678 * gdb.base/maint.exp: Remove references to "maint demangle".
17679 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
17680 Add tests for explicitly specifying language to demangle.
17681 * gdb.dlang/demangle.exp: Ditto.
17682
ede9f622
PA
176832015-01-09 Pedro Alves <palves@redhat.com>
17684
17685 * gdb.threads/non-stop-fair-events.c: New file.
17686 * gdb.threads/non-stop-fair-events.exp: New file.
17687
a7b796db
PA
176882015-01-09 Pedro Alves <palves@redhat.com>
17689
17690 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
17691 the global scope. Set a breakpoint after all threads are started
17692 rather than stepping over two source lines. Expect the prompt.
17693 * gdb.base/watch_thread_num.c (threads_started_barrier): New
17694 global.
17695 (NUM): Now 15.
17696 (main): Use threads_started_barrier to wait for all threads to
17697 start. Main thread no longer calls thread_function. Exit after
17698 180 seconds.
17699 (loop): New function.
17700 (thread_function): Wait on threads_started_barrier barrier. Call
17701 'loop' at each iteration.
17702 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
17703 threads have started, instead of hardcoding number of "next"
17704 steps. Use an access watchpoint instead of a write watchpoint.
17705
9665ffdd
PA
177062015-01-09 Pedro Alves <palves@redhat.com>
17707
17708 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
17709 (thread_func): Wait on barrier.
17710 (main): Wait for all threads to start before stopping GDB.
17711 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
17712 global.
17713 (thread1_func, thread2_func): Wait on barrier.
17714 (main): Wait for all threads to start before stopping GDB.
17715 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
17716 New global.
17717 (thread1_func, thread2_func): Wait on barrier.
17718 (main): Wait for all threads to start before stopping GDB.
17719
c945a99f
PA
177202015-01-09 Pedro Alves <palves@redhat.com>
17721
17722 * gdb.threads/attach-many-short-lived-threads.c: New file.
17723 * gdb.threads/attach-many-short-lived-threads.exp: New file.
17724
c1a747c1
PA
177252014-01-09 Pedro Alves <palves@redhat.com>
17726
17727 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
17728 instead of to thread 2.
17729 * gdb.threads/signal-command-multiple-signals-pending.c (main):
17730 Add barrier around each pthread_create call instead of around all
17731 calls.
17732 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
17733 Set a break on thread_function and have the child threads hit it
17734 one at at a time.
17735
60b3033e
PA
177362015-01-09 Pedro Alves <palves@redhat.com>
17737
17738 * lib/gdb.exp (can_spawn_for_attach): New procedure.
17739 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
17740 false.
17741 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
17742 checking whether the target board is remote.
17743 * gdb.multi/multi-attach.exp: Likewise.
17744 * gdb.python/py-sync-interp.exp: Likewise.
17745 * gdb.server/ext-attach.exp: Likewise.
17746 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
17747 tests that need to attach, instead of checking whether the target
17748 board is remote at the top of the file.
17749
acc018ac
YQ
177502015-01-08 Yao Qi <yao@codesourcery.com>
17751
17752 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
17753
50a18af8
JK
177542015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17755
17756 Fix testcase compilation.
17757 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
17758
8503d6e1
JB
177592015-01-06 Joel Brobecker <brobecker@adacore.com>
17760
17761 * gdb.python/py-type.exp: Add a couple test about empty
17762 array creation, and negative-length array creation.
17763
cc73dbcc
DE
177642015-01-02 Doug Evans <xdje42@gmail.com>
17765
17766 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
17767
0300bbc7
DE
177682015-01-02 Doug Evans <dje@google.com>
17769
17770 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
17771
9d85a0ec
YQ
177722014-12-29 Yao Qi <yao@codesourcery.com>
17773
17774 * gdb.trace/entry-values.exp: Update comments. Rename variable
17775 bar_call_foo to returned_from_foo.
17776
87186c6a
MMN
177772014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
17778
17779 PR gdb/17394
17780 * gdb.linespec/break-asm-file.c: New file.
17781 * gdb.linespec/break-asm-file.exp: New file.
17782 * gdb.linespec/break-asm-file0.s: New file.
17783 * gdb.linespec/break-asm-file1.s: New file.
17784
1bab7383
YQ
177852014-12-18 Nigel Stephens <nigel@mips.com>
17786 Maciej W. Rozycki <macro@codesourcery.com>
17787
17788 * gdb.base/float.exp: Handle the new output from "info float" on
17789 MIPS targets.
17790
1bc1068a
JK
177912014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17792
17793 Fix MinGW compilation.
17794 * gdb.compile/compile-ops.exp: Update untested message if
17795 !skip_compile_feature_tests.
17796 * gdb.compile/compile-setjmp.exp: Likewise.
17797 * gdb.compile/compile-tls.exp: Likewise.
17798 * gdb.compile/compile.exp: Likewise.
17799 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
17800 supported on this host".
17801
b6615d10
DE
178022014-12-16 Doug Evans <xdje42@gmail.com>
17803
17804 * boards/stabs.exp: New file.
17805
25dda427
AA
178062014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
17807
17808 * gdb.base/completion.exp: Adjust to format changes of "maint
17809 print user-registers".
17810
bf330350
CU
178112014-12-16 Catalin Udma <catalin.udma@freescale.com>
17812
17813 PR server/17457
17814 * gdb.arch/aarch64-fp.c: New file.
17815 * gdb.arch/aarch64-fp.exp: New file.
17816
395cf596
SDJ
178172014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
17818
17819 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
17820 r210637, r210913, r211666, r215400, r215817).
17821
17822 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
17823 * dg-extract-results.py: New file.
17824 * dg-extract-results.sh: Use it if the environment seems
17825 suitable.
17826
17827 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
17828
17829 * dg-extract-results.py (parse_run): Handle warnings that
17830 are printed before a test harness is run.
17831
17832 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
17833
17834 * dg-extract-results.py (Named): Remove __cmp__ method.
17835 (output_variation): Use a key to sort variation.harnesses.
17836
17837 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
17838
17839 * dg-extract-results.py: For Python 3, force sys.stdout to
17840 handle surrogate escape sequences.
17841 (safe_open): New function.
17842 (output_segment, main): Use it.
17843
17844 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
17845
17846 * dg-extract-results.py (Prog.result_re): Include options
17847 in test name.
17848
17849 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
17850
17851 * dg-extract-results.py (output_variation): Always sort if
17852 do_sum.
17853
e882ef3c
SM
178542014-12-15 Simon Marchi <simon.marchi@ericsson.com>
17855
17856 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
17857 as long as we get pagination notifications.
17858
4992aa20
JM
178592014-12-15 Jason Merrill <jason@redhat.com>
17860
17861 * Makefile.in (check-gdb.%): Restore.
17862 * README: Mention it.
17863
c1b5a1a6
JB
178642014-12-13 Joel Brobecker <brobecker@adacore.com>
17865
17866 * gdb.ada/str_uninit: New testcase.
17867
5537b577
JK
178682014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17869
17870 PR symtab/17642
17871 * gdb.base/vla-stub-define.c: New file.
17872 * gdb.base/vla-stub.c: New file.
17873 * gdb.base/vla-stub.exp: New file.
17874
bb2ec1b3
TT
178752014-12-12 Phil Muldoon <pmuldoon@redhat.com>
17876 Jan Kratochvil <jan.kratochvil@redhat.com>
17877 Tom Tromey <tromey@redhat.com>
17878
17879 * configure.ac: Add gdb.compile/.
17880 * configure: Regenerate.
17881 * gdb.compile/Makefile.in: New file.
17882 * gdb.compile/compile-ops.exp: New file.
17883 * gdb.compile/compile-ops.c: New file.
17884 * gdb.compile/compile-tls.c: New file.
17885 * gdb.compile/compile-tls.exp: New file.
17886 * gdb.compile/compile-constvar.S: New file.
17887 * gdb.compile/compile-constvar.c: New file.
17888 * gdb.compile/compile-mod.c: New file.
17889 * gdb.compile/compile-nodebug.c: New file.
17890 * gdb.compile/compile-setjmp-mod.c: New file.
17891 * gdb.compile/compile-setjmp.c: New file.
17892 * gdb.compile/compile-setjmp.exp: New file.
17893 * gdb.compile/compile-shlib.c: New file.
17894 * gdb.compile/compile.c: New file.
17895 * gdb.compile/compile.exp: New file.
17896 * lib/gdb.exp (skip_compile_feature_tests): New proc.
17897
4ff709eb
TT
178982014-12-12 Tom Tromey <tromey@redhat.com>
17899
17900 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
17901 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
17902
6dddd6a5
DE
179032014-12-12 Doug Evans <dje@google.com>
17904
17905 * lib/gdb-python.exp (get_python_valueof): New function.
17906 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
17907
71c24708
AA
179082014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17909
17910 * gdb.base/completion.exp: Add test for completion of "info
17911 registers ".
17912
3e29f34a
MR
179132014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
17914
17915 * gdb.base/func-ptrs.c: New file.
17916 * gdb.base/func-ptrs.exp: New file.
17917
fc126975
SM
179182014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17919
17920 PR breakpoints/17012
17921 * gdb.base/dprintf-detach.c: New file.
17922 * gdb.base/dprintf-detach.exp: New file.
17923
0a46d518
SM
179242014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17925
17926 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
17927 * lib/gdb.exp (target_is_gdbserver): New procedure.
17928
a0be3e44
DE
179292014-12-08 Doug Evans <dje@google.com>
17930
17931 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
17932
df1b803a
YQ
179332014-12-05 Yao Qi <yao@codesourcery.com>
17934
17935 * gdb.guile/scm-error.exp: Remove the third argument to
17936 gdb_remote_download.
17937 * gdb.guile/scm-frame-args.exp: Likewise.
17938 * gdb.guile/scm-section-script.exp: Likewise.
17939
ddb9f679
YQ
179402014-12-05 Yao Qi <yao@codesourcery.com>
17941
17942 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
17943
86e4ed39
DE
179442014-12-04 Doug Evans <dje@google.com>
17945
17946 * gdb.python/py-objfile.exp: Add tests for
17947 objfile.add_separate_debug_file.
17948
7c50a931
DE
179492014-12-04 Doug Evans <dje@google.com>
17950
17951 * lib/gdb.exp (get_build_id): New function.
17952 (build_id_debug_filename_get): Rewrite to use it.
17953 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
17954
621661e3
MR
179552014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
17956
17957 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
17958 `method(long)', not just 0x0.
17959 * gdb.cp/nsalias.exp: Align code labels to 4.
17960 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
17961 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
17962 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
17963 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
17964 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
17965 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
17966
29f0c3b7
DE
179672014-12-02 Doug Evans <dje@google.com>
17968
e1e061e7 17969 PR symtab/17602
29f0c3b7 17970 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 17971 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
17972 * gdb.cp/anon-ns.exp: Update.
17973
162078c8
NB
179742014-12-02 Nick Bull <nicholaspbull@gmail.com>
17975
17976 * gdb.python/py-events.py (inferior_call_handler): New.
17977 (register_changed_handler, memory_changed_handler): New.
17978 (test_events.invoke): Register new handlers.
17979 * gdb.python/py-events.exp: Add tests for inferior call,
17980 memory_changed and register_changed events.
17981
fdb09caf
AA
179822014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17983
17984 * gdb.base/execl-update-breakpoints.exp: Specify the link address
17985 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
17986 if the linker doesn't understand this.
17987
55cfb2c4
SM
179882014-12-01 Simon Marchi <simon.marchi@ericsson.com>
17989
17990 * gdb.python/python.exp: Change expected reply to help().
17991
9e8cd6df
YQ
179922014-12-01 Yao Qi <yao@codesourcery.com>
17993
17994 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
17995 AC_CONFIG_SUBDIRS(gdb.gdbtk).
17996 * configure: Re-generated.
17997
6c659fc2
SC
179982014-11-28 Siva Chandra Reddy <sivachandra@google.com>
17999
18000 * gdb.cp/chained-calls.cc: New file.
18001 * gdb.cp/chained-calls.exp: New file.
18002 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
18003
d7fc3181
SM
180042014-11-28 Simon Marchi <simon.marchi@ericsson.com>
18005
18006 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
18007 * gdb.dwarf2/symtab-producer.exp: Same.
18008 * gdb.gdb/python-interrupts.exp: Same.
18009 * gdb.gdb/python-selftest.exp: Same.
18010 * gdb.python/py-linetable.exp: Same.
18011 * gdb.python/py-type.exp: Same.
18012 * gdb.python/py-value-cc.exp: Same.
18013 * gdb.python/py-value.exp: Same.
18014
10e79639
YQ
180152014-11-28 Yao Qi <yao@codesourcery.com>
18016
18017 * gdb.base/break-probes.exp: Match library name prefixed with
18018 sysroot.
18019
f28a0564
SM
180202014-11-27 Simon Marchi <simon.marchi@ericsson.com>
18021
18022 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
18023 test expected output. Add parentheses for the call to print.
18024 Remove L suffix from integers.
18025
3fe1ce1d
DE
180262014-11-26 Doug Evans <dje@google.com>
18027
18028 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
18029
84429e27
YQ
180302014-11-22 Yao Qi <yao@codesourcery.com>
18031
18032 * gdb.trace/entry-values.c: Remove asms.
18033 (foo): Add foo_label.
18034 (bar): Add bar_label.
18035 * gdb.trace/entry-values.exp: Remove code computing foo's
18036 length and bar's length.
18037 (Dwarf::assemble): Invoke function_range for bar and use
18038 MACRO_AT_func for foo.
18039
26741859
YQ
180402014-11-22 Yao Qi <yao@codesourcery.com>
18041
18042 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
18043 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
18044 Use .Lgcc43_procstart instead of gcc43.
18045
45e44d27
JB
180462014-11-21 Joel Brobecker <brobecker@adacore.com>
18047
18048 * gdb.ada/n_arr_bound: New testcase.
18049
458c8db8
SDJ
180502014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
18051
18052 PR breakpoints/10737
18053 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
18054 test_catch_syscall_multi_arch.
18055 (test_catch_syscall_multi_arch): New function.
18056
43f3e411
DE
180572014-11-20 Doug Evans <xdje42@gmail.com>
18058
18059 * gdb.base/maint.exp: Update expected output.
18060
0d7b2549
AA
180612014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
18062
18063 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
18064 4-byte instruction on S390.
18065
8908fca5
JB
180662014-11-19 Joel Brobecker <brobecker@adacore.com>
18067
18068 * gdb.ada/arr_arr: New testcase.
18069
4a46959e
JB
180702014-11-19 Joel Brobecker <brobecker@adacore.com>
18071
18072 * gdb.ada/pkd_arr_elem: New Testcase.
18073
470e2f4e
LM
180742014-11-18 Luis Machado <lgustavo@codesourcery.com>
18075
18076 * gdb.reverse/break-precsave: Expect completion message for
18077 core file reads.
18078 * gdb.reverse/consecutive-precsave.exp: Likewise.
18079 * gdb.reverse/finish-precsave.exp: Likewise.
18080 * gdb.reverse/i386-precsave.exp: Likewise.
18081 * gdb.reverse/machinestate-precsave.exp: Likewise.
18082 * gdb.reverse/sigall-precsave.exp: Likewise.
18083 * gdb.reverse/solib-precsave.exp: Likewise.
18084 * gdb.reverse/step-precsave.exp: Likewise.
18085 * gdb.reverse/until-precsave.exp: Likewise.
18086 * gdb.reverse/watch-precsave.exp: Likewise.
18087
a267f3ad
AA
180882014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18089
18090 * gdb.base/bp-permanent.c: Include unistd.h.
18091 * gdb.python/py-framefilter-mi.c (main): Add return type.
18092 * gdb.python/py-framefilter.c (main): Likewise.
18093 * gdb.trace/actions-changed.c (main): Likewise.
18094
12084a9a
AA
180952014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18096
18097 * gdb.mi/until.c: Add eye-catchers.
18098 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
18099 line numbers.
18100
dc7e1a77
AA
181012014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18102
18103 * gdb.base/condbreak.exp: Drop references to removed non-prototype
18104 function header variants in break1.c.
18105 * gdb.base/ena-dis-br.exp: Likewise.
18106 * gdb.base/hbreak2.exp: Likewise.
18107 * gdb.reverse/until-precsave.exp: Drop references to removed
18108 non-prototype function header variants in ur1.c.
18109 * gdb.reverse/until-reverse.exp: Likewise.
18110
41c77605
PM
181112014-11-17 Petr Machata <pmachata@redhat.com>
18112
18113 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
18114 ${_cu_offset_size} bytes abbrev offset.
18115
34248c3a
DE
181162014-11-15 Doug Evans <xdje42@gmail.com>
18117
18118 PR symtab/17559
18119 * gdb.base/line-symtabs.exp: New file.
18120 * gdb.base/line-symtabs.c: New file.
18121 * gdb.base/line-symtabs.h: New file.
18122
646da059
YQ
181232014-11-14 Yao Qi <yao@codesourcery.com>
18124
18125 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
18126 (func): Add label func_label.
18127 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
18128 Replace low_pc and high_pc with MACRO_AT_range.
18129 Replace name, low_pc and high_pc with MACRO_AT_func.
18130
9301ebe6
YQ
181312014-11-14 Yao Qi <yao@codesourcery.com>
18132
18133 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
18134 Replace name, low_pc and high_pc with MACRO_AT_func.
18135
f166b542
YQ
181362014-11-14 Yao Qi <yao@codesourcery.com>
18137
18138 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
18139 produce debug information.
18140 * gdb.dwarf2/implptr-optimized-out.S: Removed.
18141
0f6e71e3
YQ
181422014-11-14 Yao Qi <yao@codesourcery.com>
18143
18144 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
18145 object and get function length.
18146 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
18147 with MACRO_AT_func.
18148 (top-level): Replace gdb_compile and clean_restart with
18149 prepare_for_testing.
18150 * gdb.dwarf2/main.c (main): Add label main_label.
18151
876c4df9
YQ
181522014-11-14 Yao Qi <yao@codesourcery.com>
18153
18154 * lib/dwarf.exp (function_range): New procedure.
18155 (Dwarf::_handle_macro_at_func): New procedure.
18156 (Dwarf::_handle_macro_at_range): New procedure.
18157 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
18158
02ad9cf1
YQ
181592014-11-14 Yao Qi <yao@codesourcery.com>
18160
18161 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
18162 (_handle_attribute): New procedure.
18163
a59add0c
AA
181642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18165
18166 * gdb.ada/cond_lang/foo.c (callme): Add return type.
18167 * gdb.base/call-sc.c (zed): Likewise.
18168 * gdb.base/checkpoint.c (main): Likewise.
18169 * gdb.base/dump.c (main): Likewise.
18170 * gdb.base/gcore.c (main): Likewise.
18171 * gdb.base/huge.c (main): Likewise.
18172 * gdb.base/multi-forks.c (main): Likewise.
18173 * gdb.base/pr10179-a.c (main): Likewise.
18174 * gdb.base/savedregs.c (main): Likewise.
18175 * gdb.base/sigaltstack.c (main): Likewise.
18176 * gdb.base/siginfo.c (main): Likewise.
18177 * gdb.base/structs.c (zed): Likewise.
18178 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
18179 * gdb.mi/mi-syn-frame.c (main): Likewise.
18180 * gdb.mi/until.c (foo, main): Likewise.
18181 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
18182 * gdb.base/solib-weak.c (foo): Declare.
18183 * gdb.base/attach-twice.c: Include stdio.h.
18184 * gdb.base/weaklib1.c: Likewise.
18185 * gdb.base/weaklib2.c: Likewise.
18186 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
18187 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
18188 unistd.h.
18189 * gdb.base/attach-pie-misread.c: Include stdlib.h.
18190 * gdb.mi/mi-exit-code.c: Likewise.
18191 * gdb.base/break-interp-lib.c: Include string.h.
18192 * gdb.base/coremaker.c: Likewise.
18193 * gdb.base/testenv.c: Likewise.
18194 * gdb.python/py-finish-breakpoint.c: Likewise.
18195 * gdb.base/inferior-died.c: Include sys/wait.h.
18196 * gdb.base/fileio.c: Include time.h.
18197 * gdb.base/async-shell.c: Include unistd.h.
18198 * gdb.base/dprintf-non-stop.c: Likewise.
18199 * gdb.base/info-os.c: Likewise.
18200 * gdb.mi/mi-console.c: Likewise.
18201 * gdb.mi/watch-nonstop.c: Likewise.
18202 * gdb.python/py-events.c: Likewise.
18203 * gdb.base/async.c (baz): Move up before its invocation.
18204 * gdb.base/code_elim2.c (my_global_func): Likewise.
18205 * gdb.base/skip-solib-lib.c (multiply): Likewise.
18206 * gdb.base/advance.c (func2): Likewise.
18207
3b5d5997
AA
182082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18209
18210 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
18211 variant.
18212 * gdb.base/annota3.c: Likewise.
18213 * gdb.base/async.c: Likewise.
18214 * gdb.base/average.c: Likewise.
18215 * gdb.base/call-ar-st.c: Likewise.
18216 * gdb.base/call-rt-st.c: Likewise.
18217 * gdb.base/call-sc.c: Likewise.
18218 * gdb.base/call-strs.c: Likewise.
18219 * gdb.base/ending-run.c: Likewise.
18220 * gdb.base/execd-prog.c: Likewise.
18221 * gdb.base/exprs.c: Likewise.
18222 * gdb.base/foll-exec.c: Likewise.
18223 * gdb.base/foll-fork.c: Likewise.
18224 * gdb.base/foll-vfork.c: Likewise.
18225 * gdb.base/funcargs.c: Likewise.
18226 * gdb.base/gcore.c: Likewise.
18227 * gdb.base/jump.c: Likewise.
18228 * gdb.base/langs0.c: Likewise.
18229 * gdb.base/langs1.c: Likewise.
18230 * gdb.base/langs2.c: Likewise.
18231 * gdb.base/mips_pro.c: Likewise.
18232 * gdb.base/nodebug.c: Likewise.
18233 * gdb.base/opaque0.c: Likewise.
18234 * gdb.base/opaque1.c: Likewise.
18235 * gdb.base/recurse.c: Likewise.
18236 * gdb.base/run.c: Likewise.
18237 * gdb.base/scope0.c: Likewise.
18238 * gdb.base/scope1.c: Likewise.
18239 * gdb.base/setshow.c: Likewise.
18240 * gdb.base/setvar.c: Likewise.
18241 * gdb.base/shmain.c: Likewise.
18242 * gdb.base/shr1.c: Likewise.
18243 * gdb.base/shr2.c: Likewise.
18244 * gdb.base/sigall.c: Likewise.
18245 * gdb.base/signals.c: Likewise.
18246 * gdb.base/so-indr-cl.c: Likewise.
18247 * gdb.base/solib2.c: Likewise.
18248 * gdb.base/structs.c: Likewise.
18249 * gdb.base/sum.c: Likewise.
18250 * gdb.base/vforked-prog.c: Likewise.
18251 * gdb.base/watchpoint.c: Likewise.
18252 * gdb.reverse/shr2.c: Likewise.
18253 * gdb.reverse/until-reverse.c: Likewise.
18254 * gdb.reverse/ur1.c: Likewise.
18255 * gdb.reverse/watch-reverse.c: Likewise.
18256
066a77c5
AA
182572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18258
18259 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
18260 variant.
18261 * gdb.base/sepdebug.exp: Drop references to removed code.
18262
4f204ea5
AA
182632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18264
18265 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
18266 variant. Preserve original line numbering.
18267 * gdb.base/list1.c: Likewise.
18268
3b377a3a
AA
182692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18270
18271 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
18272 variant.
18273 * gdb.base/break1.c: Likewise.
18274 * gdb.base/break.exp: Drop references to removed code.
18275
e444df73
AA
182762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18277
18278 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
18279 variant.
18280
8008f2a7
AA
182812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18282
18283 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
18284
a5a06887
AA
182852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18286
18287 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
18288 logic into perform_all_tests() and invoke it with and without
18289 function header prototypes.
18290 (do_function_calls): Remove conditional XFAIL for PR 5318.
18291 (rerun_and_prepare): Remove duplicate code.
18292 (perform_all_tests): New. Main logic moved here.
18293
44dba9b9
AA
182942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18295
18296 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
18297 code guarded by #ifdef NO_PROTOTYPES.
18298 (t_double_many_args): Likewise.
18299 (DEF_FUNC_MANY_ARGS_1): Likewise.
18300 (DEF_FUNC_VALUES_1): Likewise.
18301 (t_structs_ldc): Renamed from t_structs_fc in conditional code
18302 guarded by #ifdef PROTOTYPES.
18303
d1fbcd56
AA
183042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18305
18306 * gdb.mi/mi-console.c: Add eye-catcher.
18307 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
18308 instead of literal line number.
18309
b0e59b8f
AA
183102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18311
18312 * gdb.base/shr2.c: Add eye-catcher.
18313 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
18314 line number.
18315
78f98cca
AA
183162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18317
18318 * gdb.base/jump.c: Add eye-catchers.
18319 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
18320 numbers.
18321
58fa2af0
AA
183222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18323
18324 * gdb.base/execd-prog.c: Add eye-catchers.
18325 * gdb.base/foll-exec.c: Likewise.
18326 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
18327 line numbers.
18328
04e5059b
AA
183292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18330
18331 * gdb.base/ending-run.c: Add eye-catchers.
18332 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
18333 literal line numbers.
18334
dbfdb174
AA
183352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18336
18337 * gdb.base/call-rt-st.c: Add eye-catchers.
18338 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
18339 literal line numbers.
18340
888a2ade
AA
183412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18342
18343 * gdb.base/call-ar-st.c: Add eye-catchers.
18344 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
18345 literal line numbers.
18346
6acc2dde
AA
183472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18348
18349 * gdb.base/average.c: Add eye-catchers.
18350 * gdb.base/sum.c: Likewise.
18351 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
18352 regexps dynamically.
18353
9ecfcd1d
AA
183542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18355
18356 * gdb.base/solib1.c: Add eye-catchers.
18357 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
18358 literal line numbers.
18359
78708b7c
PA
183602014-11-12 Pedro Alves <palves@redhat.com>
18361
18362 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
18363 leader has exited.
18364
af48d08f
PA
183652014-11-12 Pedro Alves <palves@redhat.com>
18366
18367 * gdb.arch/i386-bp_permanent.c: New file.
18368 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
18369 (srcfile): Set to i386-bp_permanent.c.
18370 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
18371 that stepi does not execute the 'leave' instruction, instead of
18372 testing it does execute.
18373 * gdb.base/bp-permanent.c: New file.
18374 * gdb.base/bp-permanent.exp: New file.
18375
af3768e9
DE
183762014-11-10 Doug Evans <xdje42@gmail.com>
18377
18378 PR symtab/17564
18379 * gdb.base/symtab-search-order.exp: New file.
18380 * gdb.base/symtab-search-order.c: New file.
18381 * gdb.base/symtab-search-order-1.c: New file.
18382 * gdb.base/symtab-search-order-shlib-1.c: New file.
18383
9de00a4a
PA
183842014-11-07 Pedro Alves <palves@redhat.com>
18385
18386 PR gdb/17511
18387 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
18388 i?86-*-linux*.
18389
e0f52461
SC
183902014-11-03 Siva Chandra Reddy <sivachandra@google.com>
18391
18392 PR c++/17494
18393 * gdb.cp/pr17494.cc: New file.
18394 * gdb.cp/pr17494.exp: New file.
18395
6ce8c980
YQ
183962014-11-02 Yao Qi <yao@codesourcery.com>
18397
18398 * gdb.python/python.exp: Get working directory and match the
18399 output of "set extended-prompt \\w " with it.
18400
02be9a71
DE
184012014-10-30 Doug Evans <dje@google.com>
18402
18403 * gdb.python/py-objfile.exp: Add tests for setting random attributes
18404 in objfiles.
18405 * gdb.python/py-progspace.exp: Add tests for setting random attributes
18406 in progspaces.
18407
3bdff46b
LM
184082014-10-30 Janis Johnson <janisjo@codesourcery.com>
18409
18410 * gdb.base/fullpath-expand.exp: Skip for a remote host.
18411 * gdb.base/realname-expand.exp: Likewise.
18412 * gdb.linespec/macro-relative.exp: Likewise.
18413
ab917dfb
PA
184142014-10-29 Pedro Alves <palves@redhat.com>
18415
18416 PR gdb/17408
18417 * gdb.threads/schedlock.c (some_function): New function.
18418 (call_function): New global.
18419 (MAYBE_CALL_SOME_FUNCTION): New macro.
18420 (thread_function): Call it.
18421 * gdb.threads/schedlock.exp (get_args): Add description parameter,
18422 and use it instead of a global counter. Adjust all callers.
18423 (get_current_thread): Use "find current thread" for test message
18424 here rather than having all callers pass down the same string.
18425 (goto_loop): New procedure, factored out from ...
18426 (my_continue): ... this.
18427 (step_ten_loops): Change parameter from test message to command to
18428 use. Adjust.
18429 (list_count): Delete global.
18430 (check_result): New procedure, factored out from duplicate top
18431 level code.
18432 (continue tests): Wrap in with_test_prefix.
18433 (test_step): New procedure, factored out from duplicate top level
18434 code.
18435 (top level): Test "step" in combination with all scheduler-locking
18436 modes. Test "next" in combination with all scheduler-locking
18437 modes, and in combination with stepping over a function call or
18438 not.
18439 * gdb.threads/next-bp-other-thread.c: New file.
18440 * gdb.threads/next-bp-other-thread.exp: New file.
18441
d3d4baed
PA
184422014-10-29 Pedro Alves <palves@redhat.com>
18443
18444 PR python/17372
18445 * gdb.python/python.exp: Test a multi-line command that spawns
18446 interactive Python.
18447 * gdb.base/multi-line-starts-subshell.exp: New file.
18448
563e8d85
YQ
184492014-10-29 Yao Qi <yao@codesourcery.com>
18450
18451 * gdb.base/fileio.exp: Make directories on host.
18452
0ea4d52e
YQ
184532014-10-29 Yao Qi <yao@codesourcery.com>
18454
18455 * gdb.base/fileio.c (test_write): Close the file.
18456
7f5ef605
PA
184572014-10-28 Pedro Alves <palves@redhat.com>
18458
18459 PR gdb/12623
18460 * gdb.base/sigstep.c (no_handler): New global.
18461 (main): If 'no_handler is true, set the signal handlers to
18462 SIG_IGN.
18463 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
18464 with_sw_watch and no_handler parameters. Handle them.
18465 (top level) <stepping over handler when stopped at a breakpoint
18466 test>: Add a test axis for testing with a software watchpoint, and
18467 another for testing with the signal handler set to SIG_IGN.
18468 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
18469 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
18470
abbdbd03
PA
184712014-10-28 Pedro Alves <palves@redhat.com>
18472
18473 PR gdb/17511
18474 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
18475 * gdb.base/sigstep.exp (other_handler_location): New global.
18476 (advance): Support stepping into the signal handler, and running
18477 commands while in the handler.
18478 (in_handler_map): New global.
18479 (top level): In the advance test, add combinations for getting
18480 into the handler with stepping commands, and for running commands
18481 in the handler. Add comment descripting the advancei tests.
18482
1df4399f
PA
184832014-10-28 Pedro Alves <palves@redhat.com>
18484
18485 * gdb.base/sigstep.exp: Use build_executable instead of
18486 prepare_for_testing.
18487 (top level): Move code that starts GDB, runs to main and creates a
18488 display to ...
18489 (restart): ... this new procedure.
18490 (top level): Move backtrace from signal handler test to ...
18491 (validate_backtrace): ... this new procedure.
18492 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
18493 with_test_prefix. Always restart GDB.
18494 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
18495 with_test_prefix. Always restart GDB. No need to delete
18496 breakpoints after the test.
18497 (test_skip_handler): Remove prefix parameter.
18498 (skip_over_handler, breakpoint_to_handler)
18499 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
18500 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
18501 restart GDB. No need to delete breakpoints after the test.
18502 (top level): Use foreach to call the test procedures with
18503 different commands.
18504
a5b6e449
PA
185052014-10-28 Pedro Alves <palves@redhat.com>
18506
18507 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
18508 instead of GNATS numbers.
18509 * gdb.base/sigbpt.exp: Likewise.
18510 * gdb.base/siginfo.exp: Likewise.
18511 * gdb.base/sigstep.exp: Likewise.
18512
e5f8a7cc
PA
185132014-10-27 Pedro Alves <palves@redhat.com>
18514
18515 * gdb.base/sigstep.c (dummy): New global.
18516 (main): Issue a couple writes to the new global.
18517 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
18518 procedures.
18519 (skip_over_handler): Use test_skip_handler.
18520 (top level): Call skip_over_handler for stepi and nexti too.
18521 (breakpoint_over_handler): Use test_skip_handler.
18522 (top level): Call breakpoint_over_handler for stepi and nexti too.
18523
763905a3
YQ
185242014-10-27 Yao Qi <yao@codesourcery.com>
18525
18526 * gdb.trace/tfile.c (adjust_function_address)
18527 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
18528 function descriptor.
18529
6f259a23
DB
185302014-10-24 Don Breazeal <donb@codesourcery.com>
18531
18532 * gdb.base/foll-fork.exp (test_follow_fork,
18533 catch_fork_child_follow): Check for updated fork messages emitted
18534 from infrun.c.
18535 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
18536 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
18537 vfork_and_exec_child_follow_through_step): Check for updated vfork
18538 messages emitted from infrun.c.
18539
09dd9a69
PA
185402014-10-24 Pedro Alves <palves@redhat.com>
18541
18542 * gdb.base/corefile.exp: Remove references to ultrix.
18543 * gdb.base/interrupt.exp: Likewise.
18544 * gdb.base/whatis.exp: Likewise.
18545 * gdb.gdb/selftest.exp: Likewise.
18546 * gdb.threads/manythreads.exp: Likewise.
18547 * gdb.threads/print-threads.exp: Likewise.
18548 * gdb.threads/pthreads.exp:: Likewise.
18549 * gdb.threads/schedlock.exp: Likewise.
18550
3433cfa5
SC
185512014-10-24 Siva Chandra Reddy <sivachandra@google.com>
18552
18553 * gdb.cp/non-trivial-retval.cc: Add a test case.
18554 * gdb.cp/non-trivial-retval.exp: Add a test.
18555
092f880b
YQ
185562014-10-20 Yao Qi <yao@codesourcery.com>
18557
18558 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
18559 * gdb.python/py-objfile-script-gdb.py: New file.
18560 * gdb.python/py-objfile-script.exp: Update reference to
18561 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
18562 of remote_download. Remove the dest file.
18563
acbdb7f3
YQ
185642014-10-20 Yao Qi <yao@codesourcery.com>
18565
18566 * gdb.base/checkpoint.exp: Don't remove file copied on host.
18567 * gdb.base/step-line.exp: Likewise.
18568 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18569 * gdb.dwarf2/dw2-basic.exp: Likewise.
18570 * gdb.dwarf2/dw2-compressed.exp: Likewise.
18571 * gdb.dwarf2/dw2-filename.exp: Likewise.
18572 * gdb.dwarf2/dw2-intercu.exp: Likewise.
18573 * gdb.dwarf2/dw2-intermix.exp: Likewise.
18574 * gdb.dwarf2/dw2-producer.exp: Likewise.
18575 * gdb.dwarf2/mac-fileno.exp: Likewise.
18576 * gdb.python/py-frame-args.exp: Likewise.
18577 * gdb.python/py-framefilter.exp: Likewise.
18578 * gdb.python/py-mi.exp: Likewise.
18579 * gdb.python/py-objfile-script.exp: Likewise
18580 * gdb.python/py-pp-integral.exp: Likewise.
18581 * gdb.python/py-pp-re-notag.exp: Likewise.
18582 * gdb.python/py-prettyprint.exp: Likewise.
18583 * gdb.python/py-section-script.exp: Likewise.
18584 * gdb.python/py-typeprint.exp: Likewise.
18585 * gdb.python/py-xmethods.exp: Likewise.
18586 * gdb.stabs/weird.exp: Likewise.
18587 * gdb.xml/tdesc-regs.exp: Likewise.
18588
bd286a29
KCY
185892014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
18590
18591 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
18592 (out_cu): Use addr_len for the size of addresses.
18593 (out_line): Likewise. Size DW_LNE_set_address instruction
18594 according to addr_len.
18595 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
18596 (FUNC): Add START_INSNS to definition.
18597
673dc4a0
YQ
185982014-10-18 Yao Qi <yao@codesourcery.com>
18599
18600 * gdb.base/argv0-symlink.exp: Check argv[0] value if
18601 gdb_has_argv0 return true.
18602 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
18603 check [target_info exists noargs], check [gdb_has_argv0]
18604 instead.
18605 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18606 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
18607 procedures.
18608
4ffbba72
DE
186092014-10-17 Doug Evans <dje@google.com>
18610
18611 * gdb.python/py-events.exp: Update expected output for clear_objfiles
18612 event.
18613 * gdb.python/py-events.py: Add clear_objfiles event.
18614
d096d8c1
DE
186152014-10-17 Doug Evans <dje@google.com>
18616
18617 * gdb.python/py-objfile.exp: Test progspace attribute.
18618
a80db015
LM
186192014-10-17 Luis Machado <lgustavo@codesourcery.com>
18620
18621 * gdb.guile/scm-breakpoint.exp: Do not assume any
18622 directory separators when matching source file paths.
18623 * gdb.python/py-breakpoint.exp: Likewise.
18624 * gdb.reverse/break-precsave.exp: Likewise.
18625 * gdb.reverse/break-reverse.exp: Likewise.
18626 * gdb.reverse/consecutive-precsave.exp: Likewise.
18627 * gdb.reverse/finish-precsave.exp: Likewise.
18628 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
18629 * gdb.reverse/finish-reverse.exp: Likewise.
18630 * gdb.reverse/i386-precsave.exp: Likewise.
18631 * gdb.reverse/i387-env-reverse.exp: Likewise.
18632 * gdb.reverse/i387-stack-reverse.exp: Likewise.
18633 * gdb.reverse/machinestate-precsave.exp: Likewise.
18634 * gdb.reverse/machinestate.exp: Likewise.
18635 * gdb.reverse/sigall-precsave.exp: Likewise.
18636 * gdb.reverse/solib-precsave.exp: Likewise.
18637 * gdb.reverse/step-precsave.exp: Likewise.
18638 * gdb.reverse/until-precsave.exp: Likewise.
18639 * gdb.reverse/watch-precsave.exp: Likewise.
18640 * gdb.reverse/watch-reverse.exp: Likewise.
18641
b22089ab
YQ
186422014-10-17 Yao Qi <yao@codesourcery.com>
18643
18644 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
18645 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
18646
6c4486e6
PA
186472014-10-17 Pedro Alves <palves@redhat.com>
18648
18649 PR gdb/17471
18650 * gdb.base/bg-execution-repeat.c: New file.
18651 * gdb.base/bg-execution-repeat.exp: New file.
18652
0ff33695
PA
186532014-10-17 Pedro Alves <palves@redhat.com>
18654
18655 PR gdb/17300
18656 * gdb.base/continue-all-already-running.c: New file.
18657 * gdb.base/continue-all-already-running.exp: New file.
18658
6fdebc3d
PA
186592014-10-17 Pedro Alves <palves@redhat.com>
18660
18661 PR gdb/17472
18662 * gdb.base/annota-input-while-running.c: New file.
18663 * gdb.base/annota-input-while-running.exp: New file.
18664
32a8097b
PA
186652014-10-17 Pedro Alves <palves@redhat.com>
18666
18667 * gdb.base/callfuncs.exp: emove references to osf.
18668 * gdb.base/sigall.exp: Likewise.
18669 * gdb.gdb/selftest.exp: Likewise.
18670 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18671 * gdb.mi/non-stop.c: Likewise.
18672 * gdb.mi/pthreads.c: Likewise.
18673 * gdb.reverse/sigall-precsave.exp: Likewise.
18674 * gdb.reverse/sigall-reverse.exp: Likewise.
18675 * gdb.threads/pthreads.c: Likewise.
18676 * gdb.threads/pthreads.exp: Likewise.
18677
7a3517ff
YQ
186782014-10-17 Yao Qi <yao@codesourcery.com>
18679
18680 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
18681 check 'target_info exists noargs'.
18682 (test_command_prompt_position): Likewise.
18683 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
18684 Remove "set args".
18685 (progvar_simple_while_test): Likewise.
18686 (progvar_complex_if_while_test): Likewise.
18687 (if_while_breakpoint_command_test): Likewise.
18688 (infrun_breakpoint_command_test): Likewise.
18689 (breakpoint_command_test): Likewise.
18690 (watchpoint_command_test): Likewise.
18691 (bp_deleted_in_command_test): Likewise.
18692 (temporary_breakpoint_commands): Likewise.
18693
bb99c472
YQ
186942014-10-16 Yao Qi <yao@codesourcery.com>
18695
18696 * gdb.base/remotetimeout.exp: Remove noargs checking.
18697
7c16b83e
PA
186982014-10-15 Pedro Alves <palves@redhat.com>
18699
18700 PR breakpoints/9649
18701 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
18702 * gdb.base/breakpoint-in-ro-region.exp
18703 (probe_target_hardware_step): New procedure.
18704 (top level): Probe hardware stepping and hardware breakpoint
18705 support. Test stepping through a read-only region, with both
18706 "breakpoint auto-hw" on and off and both "always-inserted" on and
18707 off.
18708
35a49624
IB
187092014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
18710
18711 * gdb.dlang/demangle.exp: Update for demangling changes.
18712
2d1c107c
SC
187132014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18714
18715 * gdb.cp/non-trivial-retval.cc: Add new test cases.
18716 * gdb.cp/non-trivial-retval.exp: Add new tests.
18717
778811d5
SC
187182014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18719
18720 PR c++/13403
18721 PR c++/15154
18722 * gdb.cp/non-trivial-retval.cc: New file.
18723 * gdb.cp/non-trivial-retval.exp: New file.
18724
10c5f0a8
YQ
187252014-10-15 Yao Qi <yao@codesourcery.com>
18726
18727 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
18728 remote host.
18729
65d7b369
YQ
187302014-10-15 Yao Qi <yao@codesourcery.com>
18731
18732 * gdb.python/py-symbol.exp: Match file base name if host is
18733 remote, otherwise match file name with dir name.
18734 * gdb.python/py-symtab.exp: Likewise.
18735 * gdb.python/python.exp: Likewise.
18736
46dc1394
YQ
187372014-10-15 Yao Qi <yao@codesourcery.com>
18738
18739 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
18740 pattern.
18741 * gdb.python/py-symtab.exp: Likewise.
18742 * gdb.python/python.exp: Remove trailing ".*". Fix typo
18743 locationn.
18744
c40cc657
JB
187452014-10-14 Joel Brobecker <brobecker@adacore.com>
18746
18747 * gdb.ada/addr_arith: New testcase.
18748
2abf49e1
MR
187492014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
18750
18751 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
18752 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
18753 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
18754 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
18755
f7088df3
SDJ
187562014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
18757
18758 * gdb.arch/stap-eval-lang-ada.S: Likewise.
18759 * gdb.arch/stap-eval-lang-ada.c: Likewise.
18760 * gdb.arch/stap-eval-lang-ada.exp: New file.
18761
4dc06805
YQ
187622014-10-14 Yao Qi <yao@codesourcery.com>
18763
18764 * gdb.mi/mi-var-child.c (nothing1): New function.
18765 (nothing2): New function.
18766 (do_children_tests): Set function pointers by nothing1 and
18767 nothing2.
18768 * gdb.mi/mi-var-child.exp: Step over new added statements.
18769 Update test to match the new output.
18770 * gdb.mi/var-cmd.c (nothing1): New function.
18771 (nothing2): New function.
18772 (do_children_tests): Set function pointers by nothing1 and
18773 nothing2.
18774 * gdb.mi/mi-var-display.exp: Update test to match output.
18775 Step to the line specified by $line_dct_nothing.
18776 Increase the number of lines to step.
18777
46a93de2
YQ
187782014-10-14 Yao Qi <yao@codesourcery.com>
18779
18780 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
18781 tests.
18782 * gdb.mi/mi2-var-child.exp: Likewise.
18783
14ea52ee
DE
187842014-10-13 Doug Evans <dje@google.com>
18785
18786 * gdb.python/py-objfile.exp: Change name of file name test.
18787
e5c6e92b
DE
187882014-10-13 Doug Evans <dje@google.com>
18789
18790 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
18791 from the start of the CU.
18792
c780cc2f
JK
187932014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18794 Yao Qi <yao@codesourcery.com>
18795
18796 Fix "save breakpoints" for "catch" command.
18797 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
18798 Remove -nonewline. Match also the added "main" line.
18799
99894e11
JK
188002014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18801
18802 Fix "save breakpoints" for "disable $bpnum" command.
18803 * gdb.base/save-bp.c (main): Add label.
18804 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
18805
6e1ac5a3
JK
188062014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18807
18808 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
18809
754dd2b0
YQ
188102014-10-11 Yao Qi <yao@codesourcery.com>
18811
18812 * gdb.server/server-kill.exp: Execute command
18813 "set remote trace-status-packet on" before "tstatus".
18814
f90183d7
YQ
188152014-10-11 Yao Qi <yao@codesourcery.com>
18816
18817 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
18818 (main): Call getppid.
18819 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
18820 and continue to it. Read variable "server_pid".
18821
bf40a607
YQ
188222014-10-11 Yao Qi <yao@codesourcery.com>
18823
18824 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
18825
052ca370
YQ
188262014-10-11 Yao Qi <yao@codesourcery.com>
18827
18828 * gdb.threads/thread-find.exp: Don't execute command
18829 "info threads".
18830 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
18831 * gdb.threads/linux-dp.exp: Don't check the condition
18832 $threads_created equals to zero.
18833
3831839c
PA
188342014-10-10 Pedro Alves <palves@redhat.com>
18835
18836 * gdb.base/bigcore.exp: Remove references to IRIX.
18837 * gdb.base/funcargs.exp: Likewise.
18838 * gdb.base/interrupt.exp: Likewise.
18839 * gdb.base/mips_pro.exp: Likewise.
18840 * gdb.base/nodebug.exp: Likewise.
18841 * gdb.base/setvar.exp: Likewise.
18842 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
18843
8b9a549d
PA
188442014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18845 Pedro Alves <palves@redhat.com>
18846
18847 PR symtab/14466
18848 * gdb.base/vdso-warning.c: New file.
18849 * gdb.base/vdso-warning.exp: New file.
18850
d48ba5e8
DE
188512014-10-02 Doug Evans <dje@google.com>
18852
18853 * gdb.base/structs.c (main): Don't run forever.
18854
2278c276
PA
188552014-10-02 Pedro Alves <palves@redhat.com>
18856
18857 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
18858 (top level) <stop threads 1, stop threads 2>: Use it.
18859
b57bacec
PA
188602014-10-02 Pedro Alves <palves@redhat.com>
18861
18862 * gdb.threads/break-while-running.exp (test): Add new
18863 'update_thread_list' argument. Skip "info threads" if false.
18864 (top level): Add new 'update_thread_list' axis.
18865
13fd3ff3
PA
188662014-10-02 Pedro Alves <palves@redhat.com>
18867
18868 PR breakpoints/17431
18869 * gdb.base/execl-update-breakpoints.c: New file.
18870 * gdb.base/execl-update-breakpoints.exp: New file.
18871
0fec99e8
PA
188722014-10-01 Pedro Alves <palves@redhat.com>
18873
18874 * gdb.base/breakpoint-in-ro-region.c: New file.
18875 * gdb.base/breakpoint-in-ro-region.exp: New file.
18876
2ddf4301
SM
188772014-10-01 Simon Marchi <simon.marchi@ericsson.com>
18878
18879 * gdb.mi/mi-exit-code.exp: New file.
18880 * gdb.mi/mi-exit-code.c: New file.
18881
6a5f3f43
YQ
188822014-09-30 Yao Qi <yao@codesourcery.com>
18883
18884 * lib/prelink-support.exp (build_executable_own_libs): Error if
18885 the target isn't native.
18886
345bcc73
YQ
188872014-09-30 Yao Qi <yao@codesourcery.com>
18888
18889 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
18890 false.
18891
a25a5a45
PA
188922014-09-22 Pedro Alves <palves@redhat.com>
18893
18894 * gdb.threads/break-while-running.exp: New file.
18895 * gdb.threads/break-while-running.c: New file.
18896
00ba3162
YQ
188972014-09-19 Yao Qi <yao@codesourcery.com>
18898
18899 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
18900 Invoke test. Restart GDB with --readnow and invoke test again.
18901
c3b7b696
YQ
189022014-09-19 Yao Qi <yao@codesourcery.com>
18903
18904 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
18905 proc set_breakpoint_on_gcd_function. Invoke
18906 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
18907 invoke set_breakpoint_on_gcd_function again.
18908
2b4fd423
DE
189092014-09-18 Doug Evans <dje@google.com>
18910
18911 * gdb.dwarf2/symtab-producer.exp: New file.
18912
a5947601
SDJ
189132014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18914
18915 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
18916 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
18917 * gdb.base/global-var-nested-by-dso.c: Likewise.
18918 * gdb.base/global-var-nested-by-dso.exp: Likewise.
18919
91c19059
SDJ
189202014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18921 Pedro Alves <palves@redhat.com>
18922
18923 * gdb.base/watch-bitfields.exp: Pass string other than test file
18924 name to prepare_for_testing.
18925 (watch): New procedure.
18926 (expect_watchpoint): Use with_test_prefix.
18927 (top level): Factor out tests to ...
18928 (test_watch_location, test_regular_watch): ... these new
18929 procedures, and use with_test_prefix and gdb_continue_to_end.
18930
bb9d5f81
PP
189312014-09-16 Patrick Palka <patrick@parcs.ath.cx>
18932
18933 PR breakpoints/12526
18934 * gdb.base/watch-bitfields.exp: New file.
18935 * gdb.base/watch-bitfields.c: New file.
18936
635856f5
PA
189372014-09-16 Pedro Alves <palves@redhat.com>
18938
18939 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
18940 software and hardware addresses, not software address against
18941 itself.
18942
7280ceea
PA
189432014-09-16 Pedro Alves <palves@redhat.com>
18944
18945 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
18946 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
18947
428b16bd
PA
189482014-09-16 Pedro Alves <palves@redhat.com>
18949
18950 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
18951 files.
18952 * gdb.base/a2-run.exp: Remove all code guarded by istarget
18953 "*-*-vxworks*" throughout.
18954 * gdb.base/break.exp: Likewise.
18955 * gdb.base/default.exp: Likewise.
18956 * gdb.base/scope.exp: Likewise.
18957 * gdb.base/sepdebug.exp: Likewise.
18958 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
18959 throughout.
18960 * gdb.base/run.c: Likewise.
18961 * gdb.base/sepdebug.c: Likewise.
18962 * gdb.hp/gdb.aCC/run.c: Likewise.
18963 * gdb.reverse/until-reverse.c: Likewise.
18964 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
18965
666d413c
YQ
189662014-09-16 Yao Qi <yao@codesourcery.com>
18967
18968 * boards/local-remote-host-native.exp: New file.
18969
57cbd724
DE
189702014-09-14 Doug Evans <xdje42@gmail.com>
18971
18972 * gdb.threads/queue-signal.c (thread_count): New variable.
18973 (thread_count_mutex, thread_count_condvar): New variables.
18974 (incr_thread_count, wait_all_threads_running): New functions.
18975 (main): Wait for all threads to be in their thread functions.
18976
81219e53
DE
189772014-09-13 Doug Evans <xdje42@gmail.com>
18978
18979 * gdb.threads/queue-signal.c: New file.
18980 * gdb.threads/queue-signal.exp: New file.
18981
3714cea7
DE
189822014-09-13 Doug Evans <xdje42@gmail.com>
18983
18984 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
18985 be consistent with what default_gdb_init uses.
18986 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
18987 the plain text of the prompt. Add some logging printfs.
18988 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
18989
fa43b1d7
PA
189902014-09-12 Pedro Alves <palves@redhat.com>
18991
18992 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
18993 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
18994 * gdb.arch/i386-size-overlap.exp: Likewise.
18995 * gdb.arch/i386-size.exp: Likewise.
18996 * gdb.arch/i386-unwind.exp: Likewise.
18997 * gdb.base/a2-run.exp: Likewise.
18998 * gdb.base/break.exp: Likewise.
18999 * gdb.base/charset.exp: Likewise.
19000 * gdb.base/chng-syms.exp: Likewise.
19001 * gdb.base/commands.exp: Likewise.
19002 * gdb.base/dbx.exp: Likewise.
19003 * gdb.base/find.exp: Likewise.
19004 * gdb.base/funcargs.exp: Likewise.
19005 * gdb.base/jit-simple.exp: Likewise.
19006 * gdb.base/reread.exp: Likewise.
19007 * gdb.base/sepdebug.exp: Likewise.
19008 * gdb.base/step-bt.exp: Likewise.
19009 * gdb.cp/mb-inline.exp: Likewise.
19010 * gdb.cp/mb-templates.exp: Likewise.
19011 * gdb.objc/basicclass.exp: Likewise.
19012 * gdb.threads/killed.exp: Likewise.
19013
9d9bf2df
EBM
190142014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19015
19016 PR tdep/17379
19017 * gdb.arch/powerpc-stackless.S: New file.
19018 * gdb.arch/powerpc-stackless.exp: New file.
19019
1cf2f1b0
JK
190202014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19021
19022 * gdb.base/attach.c: Include unistd.h.
19023 (main): Call alarm. Add label postloop.
19024 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
19025 gdb_breakpoint, gdb_continue_to_breakpoint.
19026 (test_command_line_attach_run): Kill ${testpid} in one exit path.
19027
98880d46
PA
190282014-09-11 Pedro Alves <palves@redhat.com>
19029
19030 PR gdb/17347
19031 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
19032 * gdb.base/attach.exp (test_command_line_attach_run): New
19033 procedure.
19034 (top level): Call it.
19035
4c92ff2c
PA
190362014-09-11 Pedro Alves <palves@redhat.com>
19037
19038 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
19039 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
19040 (do_command_attach_tests): Use spawn_wait_for_attach.
19041 * gdb.base/solib-overlap.exp: Likewise.
19042 * gdb.multi/multi-attach.exp: Likewise.
19043 * gdb.python/py-prompt.exp: Likewise.
19044 * gdb.python/py-sync-interp.exp: Likewise.
19045 * gdb.server/ext-attach.exp: Likewise.
19046
3adc1a7d
GKB
190472014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
19048
19049 * gdb.fortran/array-element.exp: Remove unexpected "continue"
19050 command in testcase. Simplify testcase.
19051
96334934
JB
190522014-09-10 Joel Brobecker <brobecker@adacore.com>
19053
19054 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
19055
eb479039
JB
190562014-09-10 Joel Brobecker <brobecker@adacore.com>
19057
19058 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
19059
deede10c
JB
190602014-09-10 Joel Brobecker <brobecker@adacore.com>
19061
19062 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
19063
7828a5f5
JB
190642014-09-10 Joel Brobecker <brobecker@adacore.com>
19065
19066 * gdb.dwarf2/dynarr-ptr.c: New file.
19067 * gdb.dwarf2/dynarr-ptr.exp: New file.
19068
33aeebcf
MR
190692014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19070
19071 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
19072 of 30 rather than hardcoding 120 for a slow test case. Take the
19073 `gdb,timeout' target setting into account for this calculation.
19074 Don't extend the timeout for the test cases that don't need it.
19075
7b415901
MR
190762014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19077
19078 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
19079 a factor of 2 for a slow test case. Take the `gdb,timeout'
19080 target setting into account for this calculation.
19081 * gdb.reverse/until-precsave.exp: Increase the timeout by
19082 a factor of 15 and 3 respectively rather than adding 120
19083 for a pair of slow test cases. Take the `gdb,timeout'
19084 target setting into account for this calculation.
19085
4a40f85a
MR
190862014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19087
19088 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
19089 timeout, don't pass one down to gdb_expect.
19090 (gdb_expect): Rework timeout selection.
19091
09635af7
MR
190922014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19093
19094 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
19095 exception on timeout.
19096 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
19097 (gdbserver_start_extended): Catch any `gdbserver_start' error
19098 exceptions.
19099 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
19100 * lib/mi-support.exp (mi_gdb_target_load): Catch any
19101 `gdbserver_gdb_load' error exceptions.
19102
2bdd10b7
MR
191032014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19104
19105 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
19106 120 on waiting for the TCP socket to open.
19107
316935f0
DE
191082014-09-09 Doug Evans <xdje42@gmail.com>
19109
19110 * gdb.base/default.exp (show_conv_list): Add _caller_is,
19111 _caller_matches, _any_caller_is, _any_caller_matches.
19112
83740597
DE
191132014-09-09 Doug Evans <xdje42@gmail.com>
19114
19115 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
19116
4c122fc3
YQ
191172014-09-09 Yao Qi <yao@codesourcery.com>
19118
19119 * gdb.mi/mi-var-display.exp: Set print symbol off.
19120
a9f116cb
GKB
191212014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
19122
19123 PR gdb/17035
19124 * gdb.base/commands.exp: Add tests to verify user-defined
19125 commands with empty bodies.
19126 * gdb.python/py-cmd.exp: Test that we don't show user-defined
19127 python commands in `show user command`.
19128 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
19129 scheme commands in `show user command`.
19130
c75bd3a2
JK
191312014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19132
19133 PR python/17355
19134 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
19135 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
19136 * gdb.python/py-framefilter-invalidarg.exp: New file.
19137 * gdb.python/py-framefilter-invalidarg.py: New file.
19138
faa42425
DE
191392014-09-06 Doug Evans <xdje42@gmail.com>
19140
19141 PR 15276
19142 * gdb.python/py-caller-is.c: New file.
19143 * gdb.python/py-caller-is.exp: New file.
19144
474ca4f6
SDJ
191452014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
19146
19147 PR gdb/17235
19148 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
19149 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
19150
eb0b0463
SDJ
191512014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
19152
19153 PR fortran/17237
19154 * gdb.fortran/print-formatted.exp: New file.
19155 * gdb.fortran/print-formatted.f90: Likewise.
19156
5f3b99cf
SS
191572014-09-03 Sasha Smundak <asmundak@google.com>
19158
19159 * gdb.python/py-frame.exp: Test Frame.read_register.
19160
7d793aa9
SDJ
191612014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
19162
19163 PR python/16699
19164 * gdb.python/py-completion.exp: New file.
19165 * gdb.python/py-completion.py: Likewise.
19166
fb0576e9
DE
191672014-08-28 Doug Evans <dje@google.com>
19168
19169 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
19170 eax,etc. are live with values set by gdb and thus the compiler can't
19171 use them.
19172 * gdb.arch/i386-pseudo.c (main): Ditto.
19173
ee92b0dd
DE
191742014-08-27 Doug Evans <dje@google.com>
19175
19176 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
19177
6649db35
DE
191782014-08-25 Doug Evans <dje@google.com>
19179
19180 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
19181 (main): Ditto.
19182
564b7600
DE
191832014-08-25 Doug Evans <dje@google.com>
19184
19185 * gdb.threads/thread-execl.exp: #include <stdio.h>.
19186
3881fb67
YQ
191872014-08-24 Yao Qi <yao@codesourcery.com>
19188
19189 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
19190 symbol off.
19191 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
19192
a05a36a5
DE
191932014-08-22 Doug Evans <dje@google.com>
19194
19195 PR 17276
19196 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
19197 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
19198 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
19199
7c343b48
YQ
192002014-08-22 Yao Qi <yao@codesourcery.com>
19201
19202 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
19203 * gdb.python/py-finish-breakpoint2.exp: Likewise.
19204 * gdb.python/python.exp: Likewise. Use .py file on the host
19205 instead of the build.
19206
22fd09ae
JK
192072014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19208
19209 * gdb.threads/gcore-stale-thread.c: New file.
19210 * gdb.threads/gcore-stale-thread.exp: New file.
19211
a8454a7c
PA
192122014-08-21 Pedro Alves <palves@redhat.com>
19213
19214 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
19215 * gdb.base/gcore-relro-pie.exp: Likewise.
19216 * gdb.base/gcore-relro.exp: Likewise.
19217 * gdb.base/gcore.exp: Likewise.
19218 * gdb.base/print-symbol-loading.exp: Likewise.
19219 * gdb.threads/gcore-thread.exp: Likewise.
19220 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
19221
2a31c623
PA
192222014-08-20 Pedro Alves <palves@redhat.com>
19223 Jan Kratochvil <jan.kratochvil@redhat.com>
19224
19225 * Makefile.in (EXTRA_RULES, CC): New variables, get from
19226 configure.
19227 (EXPECT): Handle READ1 being set.
19228 (all): Depend on EXTRA_RULES.
19229 (check-read1, expect-read1, read1.so, read1): New rules.
19230 * README (Testsuite Parameters): Document the READ1 make variable.
19231 (Race detection): New section.
19232 * configure: Regenerate.
19233 * configure.ac: If build==host==target, and running under a
19234 GNU/glibc system, add read1 to the extra Makefile rules.
19235 (EXTRA_RULES): AC_SUBST it.
19236 * lib/read1.c: New file.
19237
d36430db
JB
192382014-08-20 Joel Brobecker <brobecker@adacore.com>
19239
19240 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
19241 the handling of variables declared as a typedef to an array
19242 which a DW_AT_data_location attribute.
19243
9a0dc9e3
PA
192442014-08-19 Andrew Burgess <aburgess@broadcom.com>
19245 Pedro Alves <palves@redhat.com>
19246
19247 PR symtab/14604
19248 PR symtab/14605
19249 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
19250 gdb_test.
19251
0718a8da
PA
192522014-08-19 Pedro Alves <palves@redhat.com>
19253
19254 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
19255
13b448cd
YQ
192562014-08-19 Yao Qi <yao@codesourcery.com>
19257
19258 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
19259 right line.
19260
1cbf5077
DB
192612014-08-18 David Blaikie <dblaikie@gmail.com>
19262
19263 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
19264
bf0fae19
JB
192652014-08-18 Joel Brobecker <brobecker@adacore.com>
19266
19267 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
19268 attribute in array range.
19269
3c8c5dcc
JB
192702014-08-18 Joel Brobecker <brobecker@adacore.com>
19271
19272 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
19273
e66d4446
SC
192742014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19275
19276 PR c++/17132
19277 * gdb.cp/pr17132.cc: New file.
19278 * gdb.cp/pr17132.exp: New file.
19279
940df408
SC
192802014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19281
19282 * gdb.python/py-xmethods.py (A_getarrayind)
19283 (E_method_char_worker.__call__, E_method_int_worker.__call__):
19284 Use 'print' with function call syntax.
19285 (E_method_matcher.match): Fix tab vs space indentation mixup.
19286
ebcc6c3a
YQ
192872014-08-15 Yao Qi <yao@codesourcery.com>
19288
19289 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
19290 false.
19291
775e0f04
YQ
192922014-08-15 Yao Qi <yao@codesourcery.com>
19293
19294 * gdb.cp/casts.exp: Set print symbol off.
19295 * gdb.cp/class2.exp: Likewise.
19296 * gdb.cp/overload.exp: Likewise.
19297 * gdb.cp/templates.exp: Likewise.
19298
d769e349
DE
192992014-08-11 Doug Evans <dje@google.com>
19300
19301 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
19302 (test_load_shlib): Update.
19303
20c6f1e1
YQ
193042014-08-09 Yao Qi <yao@codesourcery.com>
19305
19306 * gdb.base/display.exp: Invoke is_address_zero_readable.
19307 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
19308 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19309 * gdb.base/hbreak-unmapped.exp: Return if
19310 is_address_zero_readable returns true.
19311 * gdb.base/signest.exp: Likewise.
19312 * gdb.base/signull.exp: Likewise.
19313 * gdb.base/sigbpt.exp: Likewise.
19314 * gdb.guile/scm-disasm.exp: Do the test if
19315 is_address_zero_readable returns false.
19316 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
19317 * gdb.python/py-arch.exp: Likewise.
19318 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
19319 * lib/gdb.exp (is_address_zero_readable): New proc.
19320
5792e8e3
YQ
193212014-08-09 Yao Qi <yao@codesourcery.com>
19322
19323 PR testsuite/13443
19324 * gdb.mi/mi-var-display.exp: Make test messages unique.
19325
3cecbbbe
TT
193262014-08-04 Tom Tromey <tromey@redhat.com>
19327
19328 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
19329 target 0".
19330
00b51ff5
TT
193312014-08-04 Tom Tromey <tromey@redhat.com>
19332
19333 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
19334 "target_resume".
19335
6908c509
JB
193362014-08-01 Joel Brobecker <brobecker@adacore.com>
19337
19338 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
19339 inner_vla_struct_object_size.
19340 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
19341 as xfail.
19342
cc6563d2
PA
193432014-07-30 Pedro Alves <palves@redhat.com>
19344
19345 * gdb.threads/signal-command-handle-nopass.exp (test): Add
19346 comment.
19347
7e09a223
YQ
193482014-07-29 Yao Qi <yao@codesourcery.com>
19349
19350 PR gdb/17206
19351 * gdb.base/until-nodebug.exp: New.
19352
7ebdbe92
DE
193532014-07-28 Doug Evans <xdje42@gmail.com>
19354
19355 PR guile/17203
19356 * gdb.guile/scm-parameter.exp: Add tests for trying to create
19357 previously existing parameter, and previously ambiguously spelled
19358 parameter.
19359
fdb1adc6
WN
193602014-07-28 Will Newton <will.newton@linaro.org>
19361
19362 * gdb.base/varargs.exp: Remove KFAILs for ARM.
19363
186fcde0
DE
193642014-07-26 Ludovic Courtès <ludo@gnu.org>
19365 Doug Evans <xdje42@gmail.com>
19366
19367 PR guile/17146
19368 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
19369
70509625
PA
193702014-07-25 Pedro Alves <palves@redhat.com>
19371
19372 * gdb.threads/signal-command-handle-nopass.c: New file.
19373 * gdb.threads/signal-command-handle-nopass.exp: New file.
19374 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
19375 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
19376 * gdb.threads/signal-delivered-right-thread.c: New file.
19377 * gdb.threads/signal-delivered-right-thread.exp: New file.
19378
c3f814a1
PA
193792014-07-25 Pedro Alves <palves@redhat.com>
19380
19381 * gdb.base/double-prompt-target-event-error.exp
19382 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
19383 match.
19384 (cancel_pagination_in_target_event): Rework double prompt
19385 detection.
19386 * gdb.base/paginate-after-ctrl-c-running.exp
19387 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
19388 <return>' match.
19389 * gdb.base/paginate-bg-execution.exp
19390 (test_bg_execution_pagination_return)
19391 (test_bg_execution_pagination_cancel): Remove '-notransfer
19392 <return>' matches.
19393 * gdb.base/paginate-execution-startup.exp
19394 (test_fg_execution_pagination_return)
19395 (test_fg_execution_pagination_cancel): Remove '-notransfer
19396 <return>' matches.
19397 * gdb.base/paginate-inferior-exit.exp
19398 (test_paginate_inferior_exited): Remove '-notransfer <return>'
19399 match.
19400 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
19401 * lib/gdb.exp (pagination_prompt): Run text through
19402 string_to_regexp.
19403 (gdb_test_multiple): Match $pagination_prompt instead of
19404 "<return>".
19405 (string_to_regexp): Move to lib/gdb-utils.exp.
19406
e214cf6c
JK
194072014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19408
19409 * gdb.arch/amd64-entry-value-paramref.S: New file.
19410 * gdb.arch/amd64-entry-value-paramref.cc: New file.
19411 * gdb.arch/amd64-entry-value-paramref.exp: New file.
19412 * gdb.arch/amd64-optimout-repeat.S: New file.
19413 * gdb.arch/amd64-optimout-repeat.c: New file.
19414 * gdb.arch/amd64-optimout-repeat.exp: New file.
19415
17d0c5c8
JK
194162014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19417
19418 PR gdb/17170
19419 * gdb.base/statistics.exp: New file.
19420
b8b8facf
DE
194212014-07-17 Doug Evans <dje@google.com>
19422
74b49205 19423 PR gdb/17170
b8b8facf
DE
19424 * gdb.base/maint.exp: Update testing of per-command stats.
19425
1b5d0ab3
PA
194262014-07-16 Pedro Alves <palves@redhat.com>
19427
19428 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
19429 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
19430 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
19431 (tfile_write_buf): New functions.
19432 (add_memory_block): Rewrite using the above.
19433 (adjust_function_address): New function.
19434 (FUNCTION_ADDRESS): New macro.
19435 (write_basic_trace_file): Remove short_x local, and use
19436 tfile_write_16. Change type of func_addr local to unsigned long
19437 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
19438 here. Cast argument of add_memory_block to char pointer.
19439 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
19440 (main): Remove parameters.
19441 * gdb.trace/tfile.exp: Remove nowarnings.
19442
4d974e88
SM
194432014-07-15 Simon Marchi <simon.marchi@ericsson.com>
19444
19445 * gdb.base/debug-expr.exp: Test string evaluation with
19446 "debug expression" on.
19447
41e99568
PA
194482014-07-15 Pedro Alves <palves@redhat.com>
19449
19450 * gdb.base/reread.exp: Use clean_restart.
19451
487d9753
PL
194522014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
19453
19454 * gdb.arch/avr-flash-qualifer.c: New.
19455 * gdb.arch/avr-flash-qualifer.exp: New.
19456
cc1c52ad
PA
194572014-07-14 Pedro Alves <palves@redhat.com>
19458
19459 * gdb.base/paginate-after-ctrl-c-running.c: New file.
19460 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
19461
1e973570
PA
194622014-07-14 Pedro Alves <palves@redhat.com>
19463
19464 * gdb.base/double-prompt-target-event-error.c: New file.
19465 * gdb.base/double-prompt-target-event-error.exp: New file.
19466
93d6eb10
PA
194672014-07-14 Pedro Alves <palves@redhat.com>
19468
19469 PR gdb/17072
19470 * gdb.base/paginate-inferior-exit.c: New file.
19471 * gdb.base/paginate-inferior-exit.exp: New file.
19472
0017922d
PA
194732014-07-14 Pedro Alves <palves@redhat.com>
19474
19475 PR gdb/17072
19476 * gdb.base/paginate-bg-execution.c: New file.
19477 * gdb.base/paginate-bg-execution.exp: New file.
19478
94696ad3
PA
194792014-07-14 Pedro Alves <palves@redhat.com>
19480
19481 PR gdb/17072
19482 * gdb.base/paginate-execution-startup.c: New file.
19483 * gdb.base/paginate-execution-startup.exp: New file.
19484 * lib/gdb.exp (pagination_prompt): New global.
19485 (default_gdb_spawn): New procedure, factored out from
19486 default_gdb_spawn.
19487 (default_gdb_start): Adjust to call default_gdb_spawn.
19488 (gdb_spawn): New procedure.
19489
bd293940
PA
194902014-07-14 Pedro Alves <palves@redhat.com>
19491
19492 * lib/gdb.exp (gdb_assert): New procedure.
19493 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
19494
c933f875
PA
194952014-07-14 Pedro Alves <palves@redhat.com>
19496
19497 * gdb.base/execution-termios.c: New file.
19498 * gdb.base/execution-termios.exp: New file.
19499
d98b7a16
TT
195002014-07-14 Tom Tromey <tromey@redhat.com>
19501
19502 * gdb.cp/vla-cxx.cc: New file.
19503 * gdb.cp/vla-cxx.exp: New file.
19504
548740d6
TT
195052014-07-14 Tom Tromey <tromey@redhat.com>
19506
19507 * gdb.reverse/rerun-prec.c: New file.
19508 * gdb.reverse/rerun-prec.exp: New file.
19509
a25eb028
MR
195102014-07-12 Maciej W. Rozycki <macro@mips.com>
19511 Maciej W. Rozycki <macro@codesourcery.com>
19512
19513 * lib/gdb-utils.exp: New file.
19514 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
19515 inline `gdb_init_command' processing.
19516 (gdb_start_cmd): Likewise.
19517 * lib/mi-support.exp (mi_run_cmd): Likewise.
19518 * README: Document `gdb_init_command' and `gdb_init_commands'.
19519
218c2655
JK
195202014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19521
19522 Fix false FAIL running under a very long directory name.
19523 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
19524 and "set print elements 10000". Twice.
19525
5401fde3
YQ
195262014-07-11 Yao Qi <yao@codesourcery.com>
19527
19528 * gdb.base/exprs.exp: "set print symbol off".
19529
e76126e8
PA
195302014-07-11 Pedro Alves <palves@redhat.com>
19531
19532 * gdb.threads/kill.c: New file.
19533 * gdb.threads/kill.exp: New file.
19534
2d6f0de6
YQ
195352014-07-10 Yao Qi <yao@codesourcery.com>
19536
19537 * gdb.trace/tfile.c (write_basic_trace_file)
19538 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
19539 address written to trace file.
19540
7180e04a
PA
195412014-07-09 Pedro Alves <palves@redhat.com>
19542
19543 * gdb.base/attach-wait-input.exp: New file.
19544 * gdb.base/attach-wait-input.c: New file.
19545
9a9a7608
AB
195462014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
19547
19548 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
19549 setting up test structures.
19550 (main): Call new test function.
19551 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
19552 test function, continue into test function and walk test
19553 structures.
19554
161ac41e
YQ
195552014-07-02 Yao Qi <yao@codesourcery.com>
19556
19557 * gdb.trace/entry-values.c: Define labels 'foo_start' and
19558 'bar_start' at the beginning of functions 'foo' and 'bar'
19559 respectively.
19560 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
19561 instead of 'foo' and 'bar'.
19562
1f267ae3
MM
195632014-07-08 Markus Metzger <markus.t.metzger@intel.com>
19564
19565 * gdb.btrace/segv.exp: New.
19566 * gdb.btrace/segv.c: New.
19567
2b239efb
LM
195682014-07-02 Luis Machado <lgustavo@codesourcery.com>
19569
19570 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
19571 instruction.
19572
cf363f18
MW
195732014-06-30 Mark Wielaard <mjw@redhat.com>
19574
19575 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
19576 vulture, vilify, villar): New volatile array constants.
19577 (vindictive, vegetation): New const volatile array constants.
19578 * gdb.base/volatile.exp: Test volatile and const volatile array
19579 types.
19580
aebf9d24
AA
195812014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
19582
19583 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
19584 target lacks support for awatch, rwatch, or hbreak.
19585
b67a2c6f
YQ
195862014-06-27 Yao Qi <yao@codesourcery.com>
19587
19588 * gdb.multi/dummy-frame-restore.exp: New.
19589 * gdb.multi/dummy-frame-restore.c: New.
19590
aef92902
MM
195912014-06-25 Markus Metzger <markus.t.metzger@intel.com>
19592
19593 * gdb.btrace/gcore.exp: New.
19594
8e9db26e
PA
195952014-06-23 Pedro Alves <palves@redhat.com>
19596
19597 * gdb.base/watchpoint-reuse-slot.c: New file.
19598 * gdb.base/watchpoint-reuse-slot.exp: New file.
19599
70afc5b7
SC
196002014-06-23 Siva Chandra Reddy <sivachandra@google.com>
19601
19602 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
19603 progspace's filename in 'info', 'enable' and 'disable' command
19604 tests.
19605
b972bd9c
JK
196062014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
19607
19608 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
19609 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19610 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
19611
125f8a3d
GB
196122014-06-20 Gary Benson <gbenson@redhat.com>
19613
19614 * gdb.arch/i386-avx.exp: Fix include file location.
19615 * gdb.arch/i386-sse.exp: Likewise.
19616
3ed9baed
IB
196172014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
19618
19619 * gdb.dlang/expression.exp: New file.
19620
034f788c
PA
196212014-06-19 Pedro Alves <palves@redhat.com>
19622
19623 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
19624 out from ...
19625 (top level): ... here. Iterate running tests under different
19626 scheduler-locking settings.
19627
45371d0c
LM
196282014-06-18 Luis Machado <lgustavo@codesourcery.com>
19629
19630 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
19631 to DW_FORM_addr and use non-zero addresses.
19632
5d376983
SC
196332014-06-18 Siva Chandra Reddy <sivachandra@google.com>
19634
19635 PR gdb/17017
19636 * gdb.python/py-xmethods.cc: Add global function call counters and
19637 increment them in their respective functions. Remove "cout"
19638 statements.
19639 * gdb.python/py-xmethods.exp: Make tests check the global function
19640 call counters instead of depending on inferior IO.
19641
a1aa2221
LM
196422014-06-18 Don Breazeal <donb@codesourcery.com>
19643
19644 * gdb.base/foll-fork.exp (default_fork_parent_follow):
19645 Deleted procedure.
19646 (explicit_fork_parent_follow): Deleted procedure.
19647 (explicit_fork_child_follow): Deleted procedure.
19648 (test_follow_fork): New procedure.
19649 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 19650 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
19651 procedure calls.
19652
0fc05997
YQ
196532014-06-17 Yao Qi <yao@codesourcery.com>
19654
19655 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
19656 CP1252.
19657
70795c52
LM
196582014-06-17 Luis Machado <lgustavo@codesourcery.com>
19659
19660 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
19661 Initialize ptr and S explicitly.
19662 (skip_type_update_when_not_use_rtti_test): Likewise.
19663
6be47f0c
KS
196642014-06-16 Keith Seitz <keiths@redhat.com>
19665
19666 PR mi/15863
19667 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
19668 the inferior is started.
19669
d03de421
PA
196702014-06-16 Pedro Alves <palves@redhat.com>
19671
19672 * gdb.base/break-main-file-remove-fail.c: New file.
19673 * gdb.base/break-main-file-remove-fail.exp: New file.
19674 * gdb.base/break-unload-file.exp: Use build_executable instead of
19675 prepare_for_testing.
19676 (test_break): New parameter "initial_load". Handle it.
19677 (top level): Add initial_load cmdline/file axis.
19678
f9579b99
TT
196792014-06-12 Tom Tromey <tromey@redhat.com>
19680
19681 * gdb.base/completion.exp: Don't use directory name in test.
19682
3657956b
GB
196832014-06-09 Gary Benson <gbenson@redhat.com>
19684
19685 * gdb.base/sigall.c [Functions to send signals]: Reorder to
19686 separate the always-available ANSI-standard signals from the
19687 signals that require checking.
19688 (main): Likewise.
19689 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
19690 Likewise.
19691 (main): Likewise.
19692
4186eb54
KS
196932014-06-07 Keith Seitz <keiths@redhat.com>
19694
19695 Revert:
19696 PR c++/16253
19697 * gdb.cp/var-tag.cc: New file.
19698 * gdb.cp/var-tag.exp: New file.
19699 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19700 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19701 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19702 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19703
25326a28 197042014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
19705
19706 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
19707
829155c9
PA
197082014-06-06 Pedro Alves <palves@redhat.com>
19709
19710 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
19711 in target debug output instead of looking at RSP packets,
19712 disabling the test on any target that uses hardware stepping.
19713 Update comments.
19714
61c8d22e
PA
197152014-06-06 Pedro Alves <palves@redhat.com>
19716
19717 * gdb.base/break-unload-file.exp: Fix typo.
19718
d9a47287
YQ
197192014-06-06 Yao Qi <yao@codesourcery.com>
19720
19721 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
19722 from "jit_function" to "^jit_function".
19723
e5e01dbf
YQ
197242014-06-06 Yao Qi <yao@codesourcery.com>
19725
19726 * gdb.base/async.c (foo): Add one statement.
19727 * gdb.base/async.exp: Get the next instruction address and
19728 match the output of "nexti" by instruction address. Match
19729 the hex address in the output of "finish".
19730
73ba372c
GB
197312014-06-06 Gary Benson <gbenson@redhat.com>
19732
19733 * gdb.base/call-signals.c: Remove preprocessor conditionals
19734 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
19735 SIGSEGV and SIGTERM.
19736 * gdb.base/sigall.c: Likewise.
19737 * gdb.base/unwindonsignal.c: Likewise.
19738 * gdb.reverse/sigall-reverse.c: Likewise.
19739
831517df
YQ
197402014-06-06 Yao Qi <yao@codesourcery.com>
19741
19742 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
19743 readable, skip the test.
19744
b8b91e98
YQ
197452014-06-06 Yao Qi <yao@codesourcery.com>
19746
19747 * gdb.threads/staticthreads.c (thread_function): Move the line
19748 setting breakpoint on forward.
19749 * gdb.threads/staticthreads.exp: Update comments.
19750
fb934770
LC
197512014-06-05 Ludovic Courtès <ludo@gnu.org>
19752
19753 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
19754 "history-append! type error".
19755
6ef284bd
SM
197562014-06-05 Simon Marchi <simon.marchi@ericsson.com>
19757
19758 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
19759 erroneous dprintf expected input.
19760
a872e241
DE
197612014-06-04 Doug Evans <xdje42@gmail.com>
19762
19763 * gdb.guile/scm-generics.exp: Delete.
19764
16f691fb
DE
197652014-06-04 Doug Evans <xdje42@gmail.com>
19766
19767 * gdb.guile/scm-breakpoint.exp: Update.
19768 Add tests for breakpoint registration.
19769
012370f6
TT
197702014-06-04 Tom Tromey <tromey@redhat.com>
19771
19772 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
19773 VLA-in-union.
19774 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
19775 inner_vla_struct, vla_union types. Initialize objects of those
19776 types and compute their sizes.
19777
9f5a4cef
HZ
197782014-06-04 Nathan Sidwell <nathan@codesourcery.com>
19779 Hui Zhu <hui@codesourcery.com>
19780
19781 * gdb.base/fileio.exp: Add test for shell not available as well as
19782 available.
19783 * gdb.base/fileio.c (test_system): Check for shell twice.
19784
90a45c4d
YQ
197852014-06-04 Yao Qi <yao@codesourcery.com>
19786
19787 * gdb.base/auto-connect-native-target.exp: Remove redundant
19788 space from the regexp pattern.
19789
70017e41
YQ
197902014-06-04 Yao Qi <yao@codesourcery.com>
19791
19792 * gdb.base/default.exp: Replace "child" with "native" in
19793 regexp pattern.
19794
883964a7
SC
197952014-06-03 Siva Chandra Reddy <sivachandra@google.com>
19796
19797 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
19798 * gdb.python/py-xmethods.exp: New tests to test xmethods.
19799 * gdb.python/py-xmethods.py: Python script supporting the
19800 new testcase and tests.
19801
ef370185
JB
198022014-06-03 Joel Brobecker <brobecker@adacore.com>
19803 Pedro Alves <palves@redhat.com>
19804
19805 PR breakpoints/17000
19806 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
19807 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
19808
1e2ccb61
BM
198092014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
19810
19811 * gdb.base/subst.exp: Add tests to verify partial path matching
19812 output.
19813
c6ec5ab2
PA
198142014-06-03 Pedro Alves <palves@redhat.com>
19815
19816 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
19817 target that doesn't use software single-stepping.
19818
835c559f
PA
198192014-06-03 Pedro Alves <palves@redhat.com>
19820
19821 PR breakpoints/17000
19822 * gdb.base/sss-bp-on-user-bp-2.c: New file.
19823 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
19824
06eb1586
DE
198252014-06-02 Doug Evans <xdje42@gmail.com>
19826
19827 * gdb.guile/scm-parameter.exp: New file.
19828
e698b8c4
DE
198292014-06-02 Doug Evans <xdje42@gmail.com>
19830
19831 * gdb.guile/scm-cmd.c: New file.
19832 * gdb.guile/scm-cmd.exp: New file.
19833
ded03782
DE
198342014-06-02 Doug Evans <xdje42@gmail.com>
19835
19836 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
19837 pretty-printer lookup.
19838 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
19839 (make-pp_s-printer): Call it.
19840 (make-pretty-printer-from-dict): New function.
19841 (lookup-pretty-printer-maker-from-dict): New function.
19842 (*pretty-printer*): Simplify.
19843 (make-objfile-pp_s-printer): New function.
19844 (install-objfile-pretty-printers!): New function.
19845 (make-progspace-pp_s-printer): New function.
19846 (install-progspace-pretty-printers!): New function.
19847 * gdb.guile/scm-progspace.c: New file.
19848 * gdb.guile/scm-progspace.exp: New file.
19849
41fac0cf
PA
198502014-06-02 Pedro Alves <palves@redhat.com>
19851
19852 * gdb.base/dprintf-bp-same-addr.c: New file.
19853 * gdb.base/dprintf-bp-same-addr.exp: New file.
19854
96ae5695
EBM
198552014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19856
19857 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
19858 * gdb.arch/powerpc-power.s: Likewise.
19859
da02b3a8
JB
198602014-06-02 Joel Brobecker <brobecker@adacore.com>
19861
19862 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
19863
c72b2e7b
YQ
198642014-06-01 Yao Qi <yao@codesourcery.com>
19865
19866 * gdb.base/watchpoint.exp (test_watch_location): Check null
19867 pointer can be dereferenced. If not, do the test, otherwise
19868 skip it.
19869
53e8a631
AB
198702014-05-30 Andrew Burgess <aburgess@broadcom.com>
19871
19872 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
19873 results.
19874 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
19875
938f0e2f
AB
198762014-05-30 Andrew Burgess <aburgess@broadcom.com>
19877
19878 * gdb.arch/amd64-invalid-stack-middle.S: New file.
19879 * gdb.arch/amd64-invalid-stack-middle.c: New file.
19880 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
19881 * gdb.arch/amd64-invalid-stack-top.c: New file.
19882 * gdb.arch/amd64-invalid-stack-top.exp: New file.
19883
9ba6657a
PA
198842014-05-30 Pedro Alves <palves@redhat.com>
19885
19886 PR breakpoints/17000
19887 * gdb.base/sss-bp-on-user-bp.c: New file.
19888 * gdb.base/sss-bp-on-user-bp.exp: New file.
19889
522c09bf
DB
198902014-05-30 David Blaikie <dblaikie@gmail.com>
19891
19892 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
19893 gnu_inline semantics via attribute.
19894 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
19895 source explicitly specifies the required semantics.
19896
bf4ef81e
MR
198972014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
19898
19899 * gdb.reverse/sigall-reverse.exp: Fix a typo.
19900
329ea579
PA
199012014-05-29 Pedro Alves <palves@redhat.com>
19902 Tom Tromey <tromey@redhat.com>
19903
19904 * gdb.base/async-shell.exp: Don't enable target-async.
19905 * gdb.base/async.exp
19906 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
19907 parameter. Adjust.
19908 (top level): Don't test with "target-async".
19909 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
19910 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
19911 * gdb.base/inferior-died.exp: Don't enable target-async.
19912 * gdb.base/interrupt-noterm.exp: Likewise.
19913 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
19914 * gdb.mi/mi-nonstop-exit.exp: Likewise.
19915 * gdb.mi/mi-nonstop.exp: Likewise.
19916 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
19917 * gdb.mi/mi-nsintrall.exp: Likewise.
19918 * gdb.mi/mi-nsmoribund.exp: Likewise.
19919 * gdb.mi/mi-nsthrexec.exp: Likewise.
19920 * gdb.mi/mi-watch-nonstop.exp: Likewise.
19921 * gdb.multi/watchpoint-multi.exp: Adjust comment.
19922 * gdb.python/py-evsignal.exp: Don't enable target-async.
19923 * gdb.python/py-evthreads.exp: Likewise.
19924 * gdb.python/py-prompt.exp: Likewise.
19925 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
19926 * gdb.server/solib-list.exp: Don't enable target-async.
19927 * gdb.threads/thread-specific-bp.exp: Likewise.
19928 * lib/mi-support.exp: Adjust to use mi-async.
19929
fd664c91
PA
199302014-05-29 Pedro Alves <palves@redhat.com>
19931
19932 PR gdb/13860
19933 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
19934 reason, even in sync mode.
19935
251bde03
PA
199362014-05-29 Pedro Alves <palves@redhat.com>
19937 Hui Zhu <hui@codesourcery.com>
19938
19939 PR PR15693
19940 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
19941 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
19942 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
19943 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
19944
7f3c0343
JB
199452014-05-28 Joel Brobecker <brobecker@adacore.com>
19946
19947 * config/monitor.exp (gdb_target_monitor): Replace use of
19948 "set remotebaud" by "set serial baud".
19949
b2715b27
AW
199502014-05-26 Andy Wingo <wingo@igalia.com>
19951
19952 * gdb.guile/scm-breakpoint.exp:
19953 * gdb.guile/scm-gsmob.exp: Update to use plain old object
19954 properties instead of gdb-object-properties.
19955
498a4489
YQ
199562014-05-26 Yao Qi <yao@codesourcery.com>
19957
19958 * gdb.server/no-thread-db.exp: Specify source file name
19959 explicitly when setting a breakpoint.
19960
589fdceb
MM
199612014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19962
19963 * gdb.btrace/vdso.c: New.
19964 * gdb.btrace/vdso.exp: New.
19965
e9089e05
MM
199662014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19967
19968 * gdb.base/gcore.exp (capture_command_output): Move ...
19969 * lib/gdb.exp (capture_command_output): ... here.
19970
67b5c0c1
MM
199712014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19972
19973 * gdb.btrace/data.exp: Test memory access during btrace replay.
19974
a2199296
SM
199752014-05-22 Simon Marchi <simon.marchi@ericsson.com>
19976
19977 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
19978
17b2616c
PA
199792014-05-21 Pedro Alves <palves@redhat.com>
19980
19981 PR gdb/13860
19982 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
19983 (top level): Test that output related to execution commands is
19984 sent to the console with CLI commands, but not with MI commands.
19985 Test that breakpoint events are always mirrored to the console.
19986 Also expect the new source line to be output after a "next" in
19987 async mode too. Make it a pass/fail test.
19988 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
19989 output.
19990 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
19991
5166082f
PA
199922014-05-21 Pedro Alves <palves@redhat.com>
19993
19994 * gdb.base/list.exp (build_pattern, test_list): New procedures.
19995 Use them to test variations of "list" after reaching a breakpoint.
19996 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
19997 Test "list" with listsize 10 after reaching a breakpoint.
19998 * gdb.python/python.exp (decode_line current location line
19999 number): Adjust expected line number.
20000
2f25d70f
SM
200012014-05-21 Simon Marchi <simon.marchi@ericsson.com>
20002
20003 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
20004 behavior for $args, pass it directly to "run".
20005
ff604a67
MR
200062014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
20007
20008 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
20009 30000 to 65536.
20010
6a3cb8e8
PA
200112014-05-21 Pedro Alves <palves@redhat.com>
20012
20013 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
20014 auto-connect-native-target off".
20015 * gdb.base/auto-connect-native-target.c: New file.
20016 * gdb.base/auto-connect-native-target.exp: New file.
20017
4ebfc96e
PA
200182014-05-21 Pedro Alves <palves@redhat.com>
20019
20020 * gdb.base/default.exp: Test "target native" instead of "target
20021 child".
20022
36d46afb
MW
200232014-05-21 Mark Wielaard <mjw@redhat.com>
20024
20025 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
20026
5876f503
JK
200272014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20028
20029 Fix TLS access for -static -pthread.
20030 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
20031 <HAVE_TLS> (thread_function, main): Initialize it.
20032 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
20033 Add clean_restart.
20034 <$have_tls != "">: Check TLSVAR.
20035
0256a6ac
PA
200362014-05-21 Pedro Alves <palves@redhat.com>
20037
20038 * gdb.base/dcache-line-read-error.c: New.
20039 * gdb.base/dcache-line-read-error.exp: New.
20040
936d2992
PA
200412014-05-20 Pedro Alves <palves@redhat.com>
20042
20043 * gdb.base/compare-sections.c: New file.
20044 * gdb.base/compare-sections.exp: New file.
20045
802e8e6d
PA
200462014-05-20 Pedro Alves <palves@redhat.com>
20047
20048 * gdb.base/break-idempotent.c: New file.
20049 * gdb.base/break-idempotent.exp: New file.
20050
e59fa00f
MM
200512014-05-20 Markus Metzger <markus.t.metzger@intel.com>
20052
20053 * gdb.btrace/nohist.exp: New.
20054
8b696e31
YQ
200552014-05-20 Yao Qi <yao@codesourcery.com>
20056
20057 * lib/gdb.exp (gdb_init): Set timeout if test file is under
20058 gdb.reverse directory and gdb_reverse_timeout exists in board
20059 setting.
20060 * README: Document gdb_reverse_timeout.
20061
73c9764f
YQ
200622014-05-20 Yao Qi <yao@codesourcery.com>
20063
20064 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
20065 'test_file_name'. Treat args as a string instead of a list.
20066 (gdb_init): Rename argument 'args' by 'test_file_name'.
20067
f1f4348a
JK
200682014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
20069
20070 * gdb.arch/powerpc-power.exp: New file.
20071 * gdb.arch/powerpc-power.s: New file.
20072
0dbe70ce
DE
200732014-05-16 Doug Evans <dje@google.com>
20074
20075 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
20076 * gdb.base/completion.exp: Check that all expected files exist
20077 before doing file completion.
0dbe70ce 20078
8d551b02
DE
200792014-05-16 Doug Evans <dje@google.com>
20080
20081 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
20082 Update.
20083 (do_syscall_tests_without_xml): Update.
20084
73eb7709
PA
200852014-05-16 Pedro Alves <palves@redhat.com>
20086
20087 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
20088 instead of "unknown output after running".
20089
3fae92fc
YQ
200902014-05-16 Yao Qi <yao@codesourcery.com>
20091
20092 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
20093 file1.txt from host at the end.
20094 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20095
c2b2ccc5
DE
200962014-05-15 Doug Evans <dje@google.com>
20097
20098 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
20099 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
20100 loading file. Add test for TU lookup.
20101
8c217a4b
SM
201022014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20103
20104 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
20105 calling "-exec-arguments" or "set args" before running the
20106 inferior.
20107
3deb39c6
SM
201082014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20109
20110 * lib/mi-support.exp (mi_expect_stop): Expect message for
20111 inferiors that exit with non-zero exit code.
20112
71a79f8c
YQ
201132014-05-14 Yao Qi <yao@codesourcery.com>
20114
20115 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
20116 match absolute path on remote host.
20117 (test_file_list_exec_source_files): Remove "/" from the
20118 pattern.
20119
f23fcd46
YQ
201202014-05-14 Yao Qi <yao@codesourcery.com>
20121
20122 * boards/local-remote-host-notty.exp (${board}_file): New
20123 proc.
20124
9404b58f
KM
201252014-05-07 Kyle McMartin <kyle@redhat.com>
20126
20127 Pushed by Joel Brobecker <brobecker@adacore.com>.
20128 * gdb.arch/aarch64-atomic-inst.c: New file.
20129 * gdb.arch/aarch64-atomic-inst.exp: New file.
20130
5e45f04c
YQ
201312014-05-07 Yao Qi <yao@codesourcery.com>
20132
20133 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
20134 in current context" too.
20135
c888a17d
KS
201362014-05-05 Keith Seitz <keiths@redhat.com>
20137
20138 * gdb.linespec/ls-dollar.exp: Add test for linespec
20139 file:convenience_variable.
20140
290a839c
YQ
201412014-05-05 Yao Qi <yao@codesourcery.com>
20142
20143 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
20144 traceframes into tfile and ctf trace files. Read data from
20145 trace file and test collected data.
20146 (gdb_collect_locals_test): Likewise.
20147 (gdb_unavailable_registers_test): Likewise.
20148 (gdb_unavailable_floats): Likewise.
20149 (gdb_collect_globals_test): Likewise.
20150 (top-level): Append "ctf" to trace_file_targets if GDB
20151 supports.
20152
b5262cd0
YQ
201532014-05-05 Yao Qi <yao@codesourcery.com>
20154
20155 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
20156 code to ...
20157 (gdb_collect_args_test_1): ... it. New proc.
20158 (gdb_collect_locals_test): Move some code to ...
20159 (gdb_collect_locals_test_1): ... it. New proc.
20160 (gdb_unavailable_registers_test): Move some code to ...
20161 (gdb_unavailable_registers_test_1): ... it. New proc.
20162 (gdb_unavailable_floats): Move some code to ...
20163 (gdb_unavailable_floats_1): ... it. New proc.
20164
30a1e6cc
SDJ
201652014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20166
20167 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
20168 probes to test for bitness recognition.
20169 * gdb.arch/amd64-stap-optional-prefix.exp
20170 (test_probe_value_without_reg): New procedure.
20171 Add code to test for different kinds of bitness.
20172
f33da99a
SDJ
201732014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20174
20175 PR breakpoints/16889
20176 * gdb.arch/amd64-stap-optional-prefix.S: New file.
20177 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20178
5b80f00d
PA
201792014-05-01 Pedro Alves <palves@redhat.com>
20180
20181 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
20182 gdb_file_cmd if no file is specified.
20183 * boards/native-extended-gdbserver.exp (gdb_load): Use the
20184 last_loaded_file to set the remote exec-file.
20185
f8c2a73c
PA
201862014-05-01 Pedro Alves <palves@redhat.com>
20187
20188 * boards/local-remote-host.exp: New file.
20189
be6e8ac7
PA
201902014-05-01 Pedro Alves <palves@redhat.com>
20191
20192 * boards/local-remote-host.exp: Rename to ...
20193 * boards/local-remote-host-notty.exp: ... this.
20194
cac0dc8f
JB
201952014-04-28 Joel Brobecker <brobecker@adacore.com>
20196
20197 * gdb.ada/dyn_arrayidx: New testcase.
20198
9730e6cc
YQ
201992014-04-26 Yao Qi <yao@codesourcery.com>
20200
20201 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
20202 and compute the length of function main. Save it in
20203 $main_length.
20204 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
20205 (top-level): Use gdb_compile to compile objects into
20206 executable and restart GDB. Remove invocation to
20207 prepare_for_testing.
20208
7ae1a6a6
PA
202092014-04-25 Simon Marchi <simon.marchi@ericsson.com>
20210 Pedro Alves <palves@redhat.com>
20211
20212 PR server/16255
20213 * gdb.multi/multi-attach.c: New file.
20214 * gdb.multi/multi-attach.exp: New file.
20215
4082afcc
PA
202162014-04-25 Pedro Alves <palves@redhat.com>
20217
20218 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
20219 user.
20220 (top level): Test that "set remote conditional-breakpoints-packet
20221 off" works as intended.
20222 * gdb.base/dprintf.exp: Test that "set remote
20223 breakpoint-commands-packet off" works as intended.
20224 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
20225 New function.
20226 (top level): Call it.
20227 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
20228 remote fast-tracepoints-packet off" works as intended.
20229 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
20230 * lib/gdb.exp (gdb_is_target_remote): ... here.
20231
2abc3f8d
DB
202322014-04-24 David Blaikie <dblaikie@gmail.com>
20233
20234 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
20235 ensure clang would not discard them.
20236 * gdb.base/gdbvars.c: Ditto.
20237 * gdb.base/memattr.c: Ditto.
20238 * gdb.base/whatis.c: Ditto.
20239 * gdb.python/py-prettyprint.c: Ditto.
20240 * gdb.trace/actions.c: Ditto.
20241 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
20242 ensure clang would not discard it.
20243
bfd39632
DB
202442014-04-24 David Blaikie <dblaikie@gmail.com>
20245
20246 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
20247 clang to emit the full definition of type required by the test
20248 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
20249
22842ff6
DB
202502014-04-24 David Blaikie <dblaikie@gmail.com>
20251
20252 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
20253 coax Clang into emitting the definition of the type.
20254 * gdb.cp/pr10728-x.h (y): Ditto.
20255 * gdb.cp/pr10728-y.cc (y): Ditto.
20256
c2e827ad
DB
202572014-04-24 David Blaikie <dblaikie@gmail.com>
20258
20259 * gdb.base/label.exp: XFAIL label related tests under Clang.
20260 * gdb.cp/cplabel.exp: Ditto.
20261 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
20262 under Clang those using labels.
20263
4c2d33e7
YQ
202642014-04-25 Yao Qi <yao@codesourcery.com>
20265
20266 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
20267 double_label.
20268 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
20269 partial_label and double_label.
20270
56083b99
DB
202712014-04-24 David Blaikie <dblaikie@gmail.com>
20272
20273 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
20274
25d4e99d
DB
202752014-04-24 David Blaikie <dblaikie@gmail.com>
20276
20277 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
20278 of the function to work across GCC and Clang.
20279 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
20280 pointer types (const void ** const V void **).
20281
01f9f808
MS
202822014-04-24 Michael Sturm <michael.sturm@mintel.com>
20283 Walfred Tedeschi <walfred.tedeschi@intel.com>
20284
20285 * Makefile.in (EXECUTABLES): Added i386-avx512.
20286 * gdb.arch/i386-avx512.c: New file.
20287 * gdb.arch/i386-avx512.exp: Likewise.
20288
4b48d439
KS
202892014-04-23 Keith Seitz <keiths@redhat.com>
20290
20291 * lib/mi-support.exp (mi_list_breakpoints): Delete.
20292 (mi_make_breakpoint_table): New procedure.
20293 (mi_create_breakpoint): Use mi_make_breakpoint
20294 and return the result.
20295 (mi_make_breakpoint): New procedure.
20296 (mi_build_kv_pairs): New procedure.
20297
20298 * gdb.mi/mi-break.exp: Remove unused globals,
20299 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
20300 All callers updated.
20301 * gdb.mi/mi-dprintf.exp: Use variable to track command
20302 number.
20303 Update all callers of mi_create_breakpoint and use
20304 mi_make_breakpoint_table.
20305 Remove any unused global variables.
20306 * gdb.mi/mi-nonstop.exp: Likewise.
20307 * gdb.mi/mi-nsintrall.exp: Likewise.
20308 * gdb.mi/mi-nsmoribund.exp: Likewise.
20309 * gdb.mi/mi-nsthrexec.exp: Likewise.
20310 * gdb.mi/mi-reverse.exp: Likewise.
20311 * gdb.mi/mi-simplerun.exp: Likewise.
20312 * gdb.mi/mi-stepn.exp: Likewise.
20313 * gdb.mi/mi-syn-frame.exp: Likewise.
20314 * gdb.mi/mi-until.exp: Likewise.
20315 * gdb.mi/mi-var-cp.exp: Likewise.
20316 * gdb.mi/mi-var-display.exp: Likewise.
20317 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
20318 * gdb.mi/mi2-var-child.exp: Likewise.
20319 * gdb.mi/mi-vla-c99.exp: Likewise.
20320 * lib/mi-support.exp: Likewise.
20321
20322 From Ian Lance Taylor <iant@cygnus.com>:
20323 * lib/gdb.exp (parse_args): New procedure.
20324
08351840
PA
203252014-04-23 Pedro Alves <palves@redhat.com>
20326
20327 * gdb.base/break-unload-file.c: New file.
20328 * gdb.base/break-unload-file.exp: New file.
20329 * gdb.base/sym-file-lib.c (baz): New function.
20330 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
20331 field.
20332 (load): Store the segment's mapped size.
20333 (unload): New function.
20334 (unload_shlib): New function.
20335 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
20336 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
20337 set a breakpoint at baz, and call it.
20338 * gdb.base/sym-file.exp: New tests for stale breakpoint
20339 instructions.
20340
076855f9
PA
203412014-04-23 Pedro Alves <palves@redhat.com>
20342
20343 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
20344 * gdb.base/hbreak-in-shr-unsupported.c: New file.
20345 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
20346 * gdb.base/hbreak-unmapped.c: New file.
20347 * gdb.base/hbreak-unmapped.exp: New file.
20348 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
20349 * lib/gdb.exp (gdb_is_target_remote): ... here.
20350
483805cf
PA
203512014-04-22 Pedro Alves <palves@redhat.com>
20352
20353 * gdb.base/consecutive-step-over.c: New file.
20354 * gdb.base/consecutive-step-over.exp: New file.
20355
06d97543
PA
203562014-04-22 Pedro Alves <palves@redhat.com>
20357
20358 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
20359 instead of send_gdb/gdb_expect.
20360
b4429ea2
YQ
203612014-04-22 Yao Qi <yao@codesourcery.com>
20362
20363 * lib/trace-support.exp (generate_tracefile): New procedure.
20364 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
20365 return 0.
20366 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
20367 if generate_tracefile returns 1.
20368
51d48146
PA
203692014-04-18 Tom Tromey <palves@redhat.com>
20370 Pedro alves <tromey@redhat.com>
20371
20372 PR backtrace/15558
20373 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
20374 with a backtrace limit.
20375 * gdb.python/py-frame-inline.exp: Test running to an inline
20376 function with a backtrace limit, and printing the newest frame.
20377 * gdb.python/py-frame-inline.c (main): Call f.
20378
bd1dce5f
MS
203792014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20380
20381 * gdb.java/jnpe.exp: Drop srcdir from untested path.
20382
40d1a503
MS
203832014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20384
20385 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
20386 Drop prefix from unsupported source file path.
20387
389b98f7
YQ
203882014-04-17 Yao Qi <yao@codesourcery.com>
20389
20390 * lib/gdb.exp (with_target_charset): New proc.
20391 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
20392 with_target_charset.
20393 (test_print_strings): Likewise.
20394 (test_repeat_bytes): Likewise.
20395 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
20396 for some tests.
20397
22869d73
KS
203982014-04-16 Keith Seitz <keiths@redhat.com>
20399
20400 PR gdb/15827
20401 * gdb.dwarf2/corrupt.c: New file.
20402 * gdb.dwarf2/corrupt.exp: New file.
20403
c4f87ca6
KS
204042014-04-16 Keith Seitz <keiths@redhat.com>
20405
20406 PR c++/16597
20407 * gdb.cp/namelessclass.cc: New file.
20408 * gdb.cp/namelessclass.exp: New file.
20409 * gdb.cp/namelessclass.S: New file.
20410
ab19de87
DE
204112014-04-16 Doug Evans <dje@google.com>
20412
20413 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
20414 Add comment.
20415 (gdbserver_default_get_comm_port): New function.
20416 (gdbserver_start): Check if board file provided
20417 "gdbserver,get_comm_port" and use it if so.
20418 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
20419 (gdb,socketport): Set to "stdio".
20420 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
20421 (stdio_gdbserver_template): Delete.
20422 (${board}_get_remote_address): Update.
20423 (${board}_build_remote_cmd): Delete.
20424 (${board}_get_comm_port): New function.
20425 (${board}_spawn): Update.
20426 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
20427 Delete.
20428 (${board}_get_remote_address): Update.
20429 (${board}_get_comm_port): New function.
20430
fc98a809
AB
204312014-04-16 Andrew Burgess <aburgess@broadcom.com>
20432
20433 * gdb.base/memattr.exp: Improve regexps to handle memory regions
20434 appearing in any order.
20435
87fd9e6e
DE
204362014-04-15 Doug Evans <dje@google.com>
20437
20438 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
20439 uninitialized value of "description".
20440
099fc3ea
KS
204412014-04-15 Keith Seitz <keiths@redhat.com>
20442
20443 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
20444 Remove unused globals.
20445 (test_running_the_program): Likewise.
20446 (test_controlled_execution): Likewise.
20447 (test_controlling_breakpoints): Likewise.
20448 (test_program_termination): Likewise.
20449
5da151d4
KS
204502014-04-15 Keith Seitz <keiths@redhat.com>
20451
20452 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
20453 unused globals.
20454 (test_rbreak_creation_and_listing): Likewise.
20455 (test_ignore_count): Likewise.
20456 (test_error): Likewise.
20457
35e5d2f0
PA
204582014-04-15 Pedro Alves <palves@redhat.com>
20459
20460 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
20461 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
20462 sym-file-loader.c.
20463 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20464 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20465 to sym-file-loader.c.
20466 (struct library): Forward declare.
20467 (load_shlib, lookup_function): Change prototypes.
20468 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20469 (translate_offset): Remove declarations.
20470 (get_text_addr): New declaration.
20471 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
20472 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
20473 sym-file-loader.h.
20474 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20475 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20476 here from sym-file-loader.h.
20477 (struct library): New structure.
20478 (load_shlib, lookup_function): Change prototypes and adjust to
20479 work with a struct library.
20480 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20481 (translate_offset): Make static.
20482 (get_text_addr): New function.
20483 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
20484
eb4c1710
PA
204852014-04-15 Pedro Alves <palves@redhat.com>
20486
20487 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
20488
2d1baf52
PA
204892014-04-15 Pedro Alves <palves@redhat.com>
20490
20491 * gdb.base/sym-file-loader.c: Include <limits.h>.
20492 (SELF_LINK): New define.
20493 (get_origin): New function.
20494 (load_shlib): Use it.
20495 * gdb.base/sym-file.exp: Don't early return if the target is
20496 remote. Use runto_main, and issue fail is that fails. Use
20497 gdb_load_shlibs.
20498 (shlib_name): Delete.
20499 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
20500
7dd6df01
PA
205012014-04-15 Pedro Alves <palves@redhat.com>
20502
20503 * gdb.base/sym-file.exp: Remove regex characters from test
20504 message. Don't refer to breakpoint numbers in test messages.
20505
b50c8614
KS
205062014-04-14 Keith Seitz <keiths@redhat.com>
20507
20508 PR c++/16253
20509 * gdb.cp/var-tag.cc: New file.
20510 * gdb.cp/var-tag.exp: New file.
20511 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20512 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20513 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20514 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20515
3d567982
TT
205162014-04-14 Tom Tromey <tromey@redhat.com>
20517
20518 * gdb.cp/classes.exp (test_enums): Handle underlying type.
20519 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
20520 type.
20521 * gdb.cp/enum-class.exp: New file.
20522 * gdb.cp/enum-class.cc: New file.
20523
0626fc76
TT
205242014-04-14 Tom Tromey <tromey@redhat.com>
20525
20526 * gdb.dwarf2/enum-type.exp: New file.
20527
dca325b3
SA
205282014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20529
20530 * gdb.mi/mi-vla-c99.exp: New file.
20531 * gdb.mi/vla.c: New file.
20532
5854b38a
SA
205332014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20534
20535 * gdb.base/vla-datatypes.c: New file.
20536 * gdb.base/vla-datatypes.exp: New file.
20537
463bb957
SA
205382014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20539
20540 * gdb.base/vla-ptr.c: New file.
20541 * gdb.base/vla-ptr.exp: New file.
20542
3dd170be
SA
205432014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20544
20545 * gdb.dwarf2/count.exp: New file.
20546
5ecaaa66
SA
205472014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20548
20549 * gdb.base/vla-sideeffect.c: New file.
20550 * gdb.base/vla-sideeffect.exp: New file.
20551
41f1ada5
DB
205522014-04-14 David Blaikie <dblaikie@gmail.com>
20553
20554 * gdb.mi/non-stop.c: Add return value for non-void function return
20555 statement.
20556 * gdb.threads/staticthreads.c: Ditto.
20557
0be03e84
DE
205582014-04-12 Siva Chandra Reddy <sivachandra@google.com>
20559 Doug Evans <xdje42@gmail.com>
20560
20561 * gdb.guile/scm-value.c: Improve test case.
20562 * gdb.guile/scm-value.exp: Add new test.
20563
f180a1fb
DB
205642014-04-11 David Blaikie <dblaikie@gmail.com>
20565
20566 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
20567 override Clang's default.
20568
6b662e19
JB
205692014-04-11 Joel Brobecker <brobecker@adacore.com>
20570
20571 Revert the following changes (regressions):
20572
20573 * gdb.base/vla-sideeffect.c: New file.
20574 * gdb.base/vla-sideeffect.exp: New file.
20575
20576 * gdb.dwarf2/count.exp: New file.
20577
20578 * gdb.base/vla-multi.c: New file.
20579 * gdb.base/vla-multi.exp: New file.
20580
20581 * gdb.base/vla-ptr.c: New file.
20582 * gdb.base/vla-ptr.exp: New file.
20583
20584 * gdb.base/vla-datatypes.c: New file.
20585 * gdb.base/vla-datatypes.exp: New file.
20586
20587 * gdb.mi/mi-vla-c99.exp: New file.
20588 * gdb.mi/vla.c: New file.
20589
245a5f0b
KS
205902014-04-11 Keith Seitz <keiths@redhat.com>
20591
20592 PR c++/16675
20593 * gdb.cp/cpsizeof.exp: New file.
20594 * gdb.cp/cpsizeof.cc: New file.
20595
58a84dcf
SA
205962014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20597
191a8a90
JB
20598 * gdb.mi/mi-vla-c99.exp: New file.
20599 * gdb.mi/vla.c: New file.
58a84dcf 20600
c8655f75
SA
206012014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20602
20603 * gdb.base/vla-datatypes.c: New file.
20604 * gdb.base/vla-datatypes.exp: New file.
20605
024e13b4
SA
206062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20607
20608 * gdb.base/vla-ptr.c: New file.
20609 * gdb.base/vla-ptr.exp: New file.
20610
1a237e0e
SA
206112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20612
20613 * gdb.base/vla-multi.c: New file.
20614 * gdb.base/vla-multi.exp: New file.
20615
504f3432
SA
206162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20617
20618 * gdb.dwarf2/count.exp: New file.
20619
3bce8237
SA
206202014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20621
191a8a90
JB
20622 * gdb.base/vla-sideeffect.c: New file.
20623 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 20624
322f9c21
YQ
206252014-04-11 Yao Qi <yao@codesourcery.com>
20626
20627 * gdb.base/completion.exp: Check file exists before running tests
20628 on file completion.
20629
d708bcd1
PA
206302014-04-10 Pedro Alves <palves@redhat.com>
20631
20632 * gdb.base/cond-eval-mode.c: New file.
20633 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
20634 prepare_for_testing to build the new file. Check result of
20635 runto_main.
20636 (test_break, test_watch): New procedures.
20637 (top level): Use them.
20638
ae1d2761
PM
206392014-04-08 Pierre Muller <muller@sourceware.org>
20640
20641 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
20642 Ctrl-V use for mingw hosts.
20643
7af389b8
SC
206442014-04-07 Siva Chandra Reddy <sivachandra@google.com>
20645
20646 * gdb.python/py-value.c: Improve test case.
20647 * gdb.python/py-value.exp: Add new test.
20648
5e703181
DE
206492014-04-07 David Blaikie <dblaikie@gmail.com>
20650
20651 * lib/compiler.c: Identify the clang compiler.
20652 * lib/compiler.cc: Ditto.
20653
9810b410
YQ
206542014-04-03 Yao Qi <yao@codesourcery.com>
20655
20656 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
20657
98d1b8dc
AB
206582014-04-01 Anton Blanchard <anton@samba.org>
20659
20660 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
20661 messages unique.
20662
3114cea1
AB
206632014-04-01 Anton Blanchard <anton@samba.org>
20664
20665 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
20666 prepare_for_testing.
20667
62f7182c
AB
206682014-04-01 Anton Blanchard <anton@samba.org>
20669
20670 * gdb.arch/ppc64-atomic-inst.c: Remove.
20671 * gdb.arch/ppc64-atomic-inst.S: New file.
20672 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
20673
770e7fc7
DE
206742014-03-31 Doug Evans <dje@google.com>
20675
20676 * gdb.base/print-symbol-loading-lib.c: New file.
20677 * gdb.base/print-symbol-loading-main.c: New file.
20678 * gdb.base/print-symbol-loading.exp: New file.
20679
46e2bafa
YQ
206802014-03-31 Yao Qi <yao@codesourcery.com>
20681
20682 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
20683
8776cfe9
JB
206842014-03-28 Joel Brobecker <brobecker@adacore.com>
20685
20686 * gdb.ada/mi_dyn_arr: New testcase.
20687
5d1ef361
DE
206882014-03-27 Doug Evans <dje@google.com>
20689
20690 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
20691
b5bee914
YQ
206922014-03-27 Yao Qi <yao@codesourcery.com>
20693
20694 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
20695 if target is nios2-*-*.
20696
0d4d0e77
YQ
206972014-03-26 Yao Qi <yao@codesourcery.com>
20698
20699 * lib/gdb.exp (readline_is_used): New proc.
20700 * gdb.base/completion.exp: Move tests on command complete up.
20701 Skip the rest of tests if readline is not used.
20702 * gdb.ada/complete.exp: Skp the test if readline is not
20703 used.
20704 * gdb.base/filesym.exp: Likewise.
20705 * gdb.base/macscp.exp: Likewise.
20706 * gdb.base/readline-ask.exp: Likewise.
20707 * gdb.base/readline.exp: Likewise.
20708 * gdb.python/py-cmd.exp: Likewise.
20709 * gdb.trace/tfile.exp: Likewise.
20710
29361eee
YQ
207112014-03-26 Yao Qi <yao@codesourcery.com>
20712
20713 * gdb.base/macscp.exp: Fix code format issues.
20714
bc9a5525
UW
207152014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
20716
20717 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
20718 * gdb.asm/powerpc64le.inc: New file.
20719
d3839ede
PA
207202014-03-25 Pedro Alves <palves@redhat.com>
20721 Doug Evans <dje@google.com>
20722
20723 * gdb.base/source-execution.c: New file.
20724 * gdb.base/source-execution.exp: New file.
20725 * gdb.base/source-execution.gdb: New file.
20726
01672a57
DE
207272014-03-24 Doug Evans <dje@google.com>
20728
20729 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
20730 using fission.
20731
88bbeca9
HZ
207322014-03-24 Hui Zhu <hui@codesourcery.com>
20733 Pedro Alves <palves@redhat.com>
20734
20735 PR breakpoints/16101
20736 * gdb.base/dprintf.exp: Use unsupported rather than changing the
20737 test pass/fail messages. Detect missing support for dprintf when
20738 breakpoints are actually inserted.
20739 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
20740 breakpoints are actually inserted.
20741 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
20742 fails.
20743
d2348791
JK
207442014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
20745
20746 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
20747
feef67ab
DE
207482014-03-22 Doug Evans <xdje42@gmail.com>
20749
20750 * gdb.python/python.exp (python not supported): Verify multi-line
20751 python command issues an error.
25d743f9 20752 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 20753 guile command issues an error.
feef67ab 20754
ecebef6a
MR
207552014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
20756
20757 * gdb.threads/thread-specific.exp: Handle the lack of usable
20758 $this_breakpoint and $this_thread.
20759
ccdd1909
HZ
207602014-03-21 Hui Zhu <hui@codesourcery.com>
20761
20762 * gdb.base/attach.exp (do_command_attach_tests): New.
20763
beb460e8
PA
207642014-03-20 Tom Tromey <tromey@redhat.com>
20765 Pedro Alves <palves@redhat.com>
20766
20767 PR cli/15718
20768 * gdb.base/condbreak-call-false.c: New file.
20769 * gdb.base/condbreak-call-false.exp: New file.
20770
40acf43a
PA
207712014-03-20 Pedro Alves <palves@redhat.com>
20772
20773 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
20774 Delete.
20775 (block_signals, unblock_signals): Delete.
20776 (child_function_2, main): Remove references to deleted variable
20777 and functions.
20778
9f5e1e02
PA
207792014-03-20 Pedro Alves <palves@redhat.com>
20780
20781 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
20782 Use pthread_kill to signal thread 2.
20783 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20784 Adjust to make the test send itself a signal rather than using the
20785 host's "kill" command.
20786
99619bea
PA
207872014-03-20 Pedro Alves <palves@redhat.com>
20788
20789 * gdb.threads/multiple-step-overs.c: New file.
20790 * gdb.threads/multiple-step-overs.exp: New file.
20791 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20792 Adjust expected infrun debug output.
20793
2adfaa28
PA
207942014-03-20 Pedro Alves <palves@redhat.com>
20795
20796 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
20797 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
20798
31e77af2
PA
207992014-03-20 Pedro Alves <palves@redhat.com>
20800
20801 PR breakpoints/7143
20802 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
20803 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
20804 of gdb_test_multiple.
20805 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
20806 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
20807
b9f437de
PA
208082014-03-20 Pedro Alves <palves@redhat.com>
20809
20810 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
20811 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
20812
05adc73e
PA
208132014-03-19 Pedro Alves <palves@redhat.com>
20814
20815 * gdb.base/async.exp: Remove early return.
20816
6048b950
PA
208172014-03-19 Pedro Alves <palves@redhat.com>
20818
20819 * gdb.base/async.exp (step& tests): Pass explicit test messages.
20820
8bcfb00a
PA
208212014-03-19 Pedro Alves <palves@redhat.com>
20822
20823 * gdb.base/async.exp (test_background): Expect \r\n after
20824 "completed." in the fail pattern.
20825
884e37dc
PA
208262014-03-19 Pedro Alves <palves@redhat.com>
20827
20828 * gdb.base/async.exp (test_background): New procedure.
20829 Use it for all background execution command tests.
20830
148e57e2
PA
208312014-03-19 Pedro Alves <palves@redhat.com>
20832
20833 * gdb.base/async.exp: Use prepare_for_testing.
20834
f48088c7
PA
208352014-03-19 Pedro Alves <palves@redhat.com>
20836
20837 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
20838 the same line.
20839
e2f6c966
PA
208402014-03-19 Pedro Alves <palves@redhat.com>
20841
20842 * gdb.base/async.c (main): Add "jump here" and "until here" line
20843 marker comments.
20844 * gdb.base/async.exp (jump_here): New global.
20845 (jump& test): Use it.
20846 (until_here): New global.
20847 (until& test): Use it.
20848
c30568d4
PA
208492014-03-19 Pedro Alves <palves@redhat.com>
20850
20851 * gdb.base/async.exp: Don't frob gdb_protocol.
20852
0172b6a7
DE
208532014-03-18 Doug Evans <xdje42@gmail.com>
20854
20855 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
20856 Fix spelling of exec-done-display.
20857
06c868a8
JK
208582014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
20859
20860 PR gdb/15358
20861 * gdb.base/gdb-sigterm.c: New file.
20862 * gdb.base/gdb-sigterm.exp: New file.
20863
0c7e1a46
PA
208642014-03-18 Pedro Alves <palves@redhat.com>
20865
20866 PR gdb/13860
20867 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
20868 * lib/mi-support.exp (mi_expect_stop): Add special handling for
20869 solib-event.
20870
f7c77d93
JB
208712014-03-17 Joel Brobecker <brobecker@adacore.com>
20872
20873 * gdb.ada/pckd_arr_ren: New testcase.
20874
5a1e8c7a
DE
208752014-03-13 Doug Evans <xdje42@gmail.com>
20876
20877 PR guile/16612
20878 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
20879 collect after discarding symbols.
20880
350e1a76
DE
208812014-03-13 Ludovic Courtès <ludo@gnu.org>
20882 Doug Evans <xdje42@gmail.com>
20883
20884 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
20885 to history survives a gc.
20886
a69900ae
PA
208872014-03-13 Pedro Alves <palves@redhat.com>
20888
20889 * gdb.base/default.exp: Don't test "target procfs".
20890
5db9f0bd
PA
208912014-03-13 Pedro Alves <palves@redhat.com>
20892
20893 * gdb.base/default.exp: Update "target child" and "target procfs"
20894 tests to not expect "Unix".
20895
b3ccfe11
TT
208962014-03-12 Tom Tromey <tromey@redhat.com>
20897
20898 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
20899 New procs. Add target-async tests.
20900 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
20901 Add target-async tests.
20902
646f4417
AA
209032014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20904
20905 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
20906 'func_start' and 'func_end' for the beginning and end of the
20907 function code, respectively.
20908 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
20909 'func_end' instead of 'func' and 'main'.
20910
288c211f
AA
209112014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20912
20913 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
20914 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
20915 generate the debug info assembler source.
20916
e0c0f156
AA
209172014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20918
20919 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
20920 * gdb.dwarf2/arr-subrange.exp: Likewise.
20921 * gdb.dwarf2/dwz.exp: Likewise.
20922 * gdb.dwarf2/method-ptr.exp: Likewise.
20923 * gdb.dwarf2/missing-sig-type.exp: Likewise.
20924 * gdb.dwarf2/subrange.exp: Likewise.
20925 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
20926 * gdb.dwarf2/implptrpiece.exp: Likewise.
20927 * gdb.dwarf2/nostaticblock.exp: Likewise.
20928
0e5c4555
AA
209292014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20930
20931 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
20932 directory to absolute path name arguments.
20933
5ec18f2b
JG
209342014-03-10 Joel Brobecker <brobecker@adacore.com>
20935
20936 * gdb.ada/tagged_access: New testcase.
20937
847fc4f2
MM
209382014-03-07 Markus Metzger <markus.t.metzger@intel.com>
20939
20940 * gdb.btrace/data.exp: Update expected output.
20941
cc3da688
YQ
209422014-03-06 Yao Qi <yao@codesourcery.com>
20943
20944 * gdb.trace/pr16508.exp: New file.
20945
0f26cec1
PA
209462014-03-05 Pedro Alves <palves@redhat.com>
20947
20948 PR gdb/16575
20949 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
20950 procedure.
20951 (top level): Adjust to use it. Add tests that exercise breakpoint
20952 interaction with the code-cache.
20953
7a5a839f
LC
209542014-02-26 Ludovic Courtès <ludo@gnu.org>
20955
20956 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
20957 test for 'history-append!'.
20958
31aa7e4e
JB
209592014-02-26 Joel Brobecker <brobecker@adacore.com>
20960
20961 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
20962 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
20963 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
20964 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
20965 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
20966 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
20967
1b588015
JB
209682014-02-26 Joel Brobecker <brobecker@adacore.com>
20969
20970 * testsuite/gdb.python/py-pp-re-notag.c: New file.
20971 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
20972 * testsuite/gdb.python/py-pp-re-notag.p: New file.
20973
55426c9d
JB
209742014-02-26 Joel Brobecker <brobecker@adacore.com>
20975
20976 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
20977
dc53a7ad
JB
209782014-02-26 Joel Brobecker <brobecker@adacore.com>
20979
20980 * gdb.dwarf2/arr-stride.c: New file.
20981 * gdb.dwarf2/arr-stride.exp: New file.
20982
12ab52e9
PA
209832014-02-26 Pedro Alves <palves@redhat.com>
20984
20985 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
20986 that won't ever trigger. Make sure that GDB reports the correct
20987 breakpoint that caused the stop.
20988
849c862e
JK
209892014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20990
20991 PR gdb/16626
20992 * gdb.base/auto-load-script: New file.
20993 * gdb.base/auto-load.c: New file.
20994 * gdb.base/auto-load.exp: New file.
20995
71b7d793
JK
20996 PR gdb/16626
20997 * gdb.base/auto-load.exp: Fix out-of-srctree run.
20998
e2f0d509
JK
209992014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21000
21001 Fix dw2-icycle.exp -fsanitize=address GDB crash.
21002 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
21003
50cc37c8
DE
210042014-02-24 Doug Evans <dje@google.com>
21005
21006 * lib/gdb.exp (run_on_host): Log error output if program fails.
21007
ea4758f2
PA
210082014-02-21 Pedro Alves <palves@redhat.com>
21009
21010 * gdb.threads/step-after-sr-lock.c: Rename to ...
21011 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
21012 * gdb.threads/step-after-sr-lock.exp: Rename to ...
21013 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21014 ... this.
21015
d7b30f67
SDJ
210162014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
21017
21018 PR tdep/16397
21019 * gdb.arch/amd64-stap-special-operands.exp: New file.
21020 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
21021 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
21022 * gdb.arch/amd64-stap-triplet.S: Likewise.
21023 * gdb.arch/amd64-stap-triplet.c: Likewise.
21024
83deb43f
JB
210252014-02-20 Joel Brobecker <brobecker@adacore.com>
21026
21027 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
21028 in .section pseudo-op.
21029
adde2bff
DE
210302014-02-20 lin zuojian <manjian2006@gmail.com>
21031 Joel Brobecker <brobecker@adacore.com>
21032 Doug Evans <xdje42@gmail.com>
21033
21034 PR symtab/16581
21035 * gdb.dwarf2/dw2-icycle.S: New file.
21036 * gdb.dwarf2/dw2-icycle.c: New file.
21037 * gdb.dwarf2/dw2-icycle.exp: New file.
21038
f7bd0f78
SC
210392014-02-19 Siva Chandra Reddy <sivachandra@google.com>
21040
21041 * gdb.python/py-value-cc.cc: Improve test case to enable testing
21042 operations on gdb.Value objects.
21043 * gdb.python/py-value-cc.exp: Add new test to test operations on
21044 gdb.Value objects.
21045
c17ef0d5
DE
210462014-02-18 Doug Evans <dje@google.com>
21047
21048 * Makefile.in (TESTS): New variable.
21049 (expanded_tests, expanded_tests_or_none): New variables
21050 (check-single): Pass $(expanded_tests_or_none) to runtest.
21051 (check-parallel): Only run tests in $(TESTS) if non-empty.
21052 (check/no-matching-tests-found): New rule.
21053 * README: Document TESTS makefile variable.
21054
5dd3176f
DE
210552014-02-18 Doug Evans <dje@google.com>
21056
21057 * Makefile.in (check-parallel): rm -rf outputs temp.
21058
0b10be4f
JK
210592014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21060
21061 Fix "ERROR: no fileid for" in the testsuite.
21062 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
21063
85f224e7
DE
210642014-02-12 Doug Evans <dje@google.com>
21065
21066 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
21067 (MISCELLANEOUS): New variable.
21068 (clean): rm -rf $(MISCELLANEOUS).
21069 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
21070 dwp live in the same directory as symlinks, with each symlink pointed
21071 to a differently named file in a different directory.
21072
149b30ff
DE
210732014-02-11 Doug Evans <dje@google.com>
21074
21075 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
21076 of Tcl file commands.
21077
1dfdac32
MK
210782014-02-10 Mark Kettenis <kettenis@gnu.org>
21079
21080 * gdb.threads/step-after-sr-lock.exp: Avoid executing
21081 "kill -SIGUSR1 -1".
21082
aa4fb036
JB
210832014-02-10 Joel Brobecker <brobecker@adacore.com>
21084
21085 * gdb.ada/tick_length_array_enum_idx: New testcase.
21086
ed3ef339
DE
210872014-02-10 Doug Evans <xdje42@gmail.com>
21088
21089 * configure.ac (AC_OUTPUT): Add gdb.guile.
21090 * configure: Regenerate.
21091 * lib/gdb-guile.exp: New file.
21092 * lib/gdb.exp (get_target_charset): New function.
21093 * gdb.base/help.exp: Update expected output from "apropos apropos".
21094 * gdb.guile/Makefile.in: New file.
21095 * gdb.guile/guile.exp: New file.
21096 * gdb.guile/scm-arch.c: New file.
21097 * gdb.guile/scm-arch.exp: New file.
21098 * gdb.guile/scm-block.c: New file.
21099 * gdb.guile/scm-block.exp: New file.
21100 * gdb.guile/scm-breakpoint.c: New file.
21101 * gdb.guile/scm-breakpoint.exp: New file.
21102 * gdb.guile/scm-disasm.c: New file.
21103 * gdb.guile/scm-disasm.exp: New file.
21104 * gdb.guile/scm-equal.c: New file.
21105 * gdb.guile/scm-equal.exp: New file.
21106 * gdb.guile/scm-error.exp: New file.
21107 * gdb.guile/scm-error.scm: New file.
21108 * gdb.guile/scm-frame-args.c: New file.
21109 * gdb.guile/scm-frame-args.exp: New file.
21110 * gdb.guile/scm-frame-args.scm: New file.
21111 * gdb.guile/scm-frame-inline.c: New file.
21112 * gdb.guile/scm-frame-inline.exp: New file.
21113 * gdb.guile/scm-frame.c: New file.
21114 * gdb.guile/scm-frame.exp: New file.
21115 * gdb.guile/scm-generics.exp: New file.
21116 * gdb.guile/scm-gsmob.exp: New file.
21117 * gdb.guile/scm-iterator.c: New file.
21118 * gdb.guile/scm-iterator.exp: New file.
21119 * gdb.guile/scm-math.c: New file.
21120 * gdb.guile/scm-math.exp: New file.
21121 * gdb.guile/scm-objfile-script-gdb.in: New file.
21122 * gdb.guile/scm-objfile-script.c: New file.
21123 * gdb.guile/scm-objfile-script.exp: New file.
21124 * gdb.guile/scm-objfile.c: New file.
21125 * gdb.guile/scm-objfile.exp: New file.
21126 * gdb.guile/scm-ports.exp: New file.
21127 * gdb.guile/scm-pretty-print.c: New file.
21128 * gdb.guile/scm-pretty-print.exp: New file.
21129 * gdb.guile/scm-pretty-print.scm: New file.
21130 * gdb.guile/scm-section-script.c: New file.
21131 * gdb.guile/scm-section-script.exp: New file.
21132 * gdb.guile/scm-section-script.scm: New file.
21133 * gdb.guile/scm-symbol.c: New file.
21134 * gdb.guile/scm-symbol.exp: New file.
21135 * gdb.guile/scm-symtab-2.c: New file.
21136 * gdb.guile/scm-symtab.c: New file.
21137 * gdb.guile/scm-symtab.exp: New file.
21138 * gdb.guile/scm-type.c: New file.
21139 * gdb.guile/scm-type.exp: New file.
21140 * gdb.guile/scm-value-cc.cc: New file.
21141 * gdb.guile/scm-value-cc.exp: New file.
21142 * gdb.guile/scm-value.c: New file.
21143 * gdb.guile/scm-value.exp: New file.
21144 * gdb.guile/source2.scm: New file.
21145 * gdb.guile/types-module.cc: New file.
21146 * gdb.guile/types-module.exp: New file.
21147
7026a7c1
YQ
211482014-02-10 Yao Qi <yao@codesourcery.com>
21149
21150 PR testsuite/16543
21151 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
21152 * configure: Regenerated.
21153 * Makefile.in: New file.
21154
6c466447
AS
211552014-02-08 Andreas Schwab <schwab@linux-m68k.org>
21156
21157 * gdb.python/py-framefilter.exp: Fix typo.
21158
6e854735
YQ
211592014-02-08 Yao Qi <yao@codesourcery.com>
21160
21161 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
21162 that no =breakpoint-modified is emitted when breakpoints are
21163 modified through MI commands.
21164
d137e6dc
PA
211652014-02-07 Pedro Alves <pedro@codesourcery.com>
21166 Pedro Alves <palves@redhat.com>
21167
21168 * gdb.threads/step-after-sr-lock.c: New file.
21169 * gdb.threads/step-after-sr-lock.exp: New file.
21170
b5ee5a50
PA
211712014-02-07 Pedro Alves <palves@redhat.com>
21172
21173 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
21174
3c77faf3
JK
211752014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
21176
21177 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
21178 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
21179
6dddc817
DE
211802014-02-06 Doug Evans <xdje42@gmail.com>
21181
21182 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
21183 output.
21184
21185 * gdb.gdb/python-interrupts.exp: New file.
21186
de7b2893
YQ
211872014-02-05 Yao Qi <yao@codesourcery.com>
21188
21189 * gdb.trace/report.exp (use_collected_data): Test the output
21190 of "info threads" and "info inferiors".
21191
66d032ac
YQ
211922014-02-05 Yao Qi <yao@codesourcery.com>
21193
21194 Revert this patch:
21195
21196 2013-05-24 Yao Qi <yao@codesourcery.com>
21197
21198 * gdb.trace/tfile.exp: Test inferior and thread.
21199
591a12a1
UW
212002014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21201
21202 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
21203 on a function.
21204 * gdb.base/step-bt.c: Call hello via function pointer to make
21205 sure its first instruction is executed on powerpc64le-linux.
21206
0ff3e01f
UW
212072014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21208
21209 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
21210
084ee545
UW
212112014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21212
21213 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
21214 of the test patterns for use on little-endian systems.
21215
6ed14ff3
UW
212162014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21217
21218 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
21219 (decimal_vector): Fix for little-endian.
21220
401e27fd
JM
212212014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
21222
21223 * gdb.arch/sparc-sysstep.exp: New file.
21224 * gdb.arch/sparc-sysstep.c: Likewise.
21225
21226 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
21227
8b924729
EBM
212282014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21229
21230 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
21231
fb151210
JB
212322014-01-23 Tom Tromey <tromey@redhat.com>
21233
21234 * gdb.ada/array_char_idx: New testcase.
21235
0740f8d8
TT
212362014-01-23 Tom Tromey <tromey@redhat.com>
21237
21238 PR python/16487:
21239 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
21240 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
21241 classes.
21242
21909fa1
TT
212432014-01-23 Tom Tromey <tromey@redhat.com>
21244
21245 PR python/16491:
21246 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
21247 string from an inferior frame.
21248 * gdb.python/py-framefilter-mi.exp: Update.
21249
87ce2a04
DE
212502014-01-22 Doug Evans <dje@google.com>
21251
21252 * gdb.server/server-mon.exp: Add tests for "set debug-format".
21253
237b092b
AA
212542014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21255
21256 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
21257
d674a709
AA
212582014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21259
21260 * gdb.trace/entry-values.exp: Remove excess space character from
21261 regex patterns. Handle s390 call instruction.
21262
20fa3390
AA
212632014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21264
21265 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
21266 define "*_start" label. Make "name" static.
21267 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
21268 ${name} by references to ${name}_start.
21269
78466714
AA
212702014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21271
21272 * gdb.base/info-macros.exp: Remove "debug" from the compile
21273 options.
21274
ec9f644a
IB
212752014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21276
21277 * gdb.dlang/demangle.exp: New file.
21278
94b1b47e
IB
212792014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21280
21281 * gdb.dlang/primitive-types.exp: New file.
21282
7f420862
IB
212832014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21284
21285 * configure.ac: Create gdb.dlang/Makefile.
21286 * configure: Regenerate.
21287 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
21288 * gdb.dlang/Makefile.in: New file.
21289 * lib/d-support.exp: New file.
21290 * lib/gdb.exp (skip_d_tests): New proc.
21291
52834460
MM
212922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21293
21294 * gdb.btrace/delta.exp: Check reverse stepi.
21295 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
21296 * gdb.btrace/finish.exp: New.
21297 * gdb.btrace/next.exp: New.
21298 * gdb.btrace/nexti.exp: New.
21299 * gdb.btrace/record_goto.c: Add comments.
21300 * gdb.btrace/step.exp: New.
21301 * gdb.btrace/stepi.exp: New.
21302 * gdb.btrace/multi-thread-step.c: New.
21303 * gdb.btrace/multi-thread-step.exp: New.
21304 * gdb.btrace/rn-dl-bind.c: New.
21305 * gdb.btrace/rn-dl-bind.exp: New.
21306 * gdb.btrace/data.c: New.
21307 * gdb.btrace/data.exp: New.
21308 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21309
6e07b1d2
MM
213102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21311
21312 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
21313 * gdb.btrace/exception.exp: Update.
21314 * gdb.btrace/instruction_history.exp: Update.
21315 * gdb.btrace/record_goto.exp: Update.
21316 * gdb.btrace/tailcall.exp: Update.
21317 * gdb.btrace/unknown_functions.exp: Update.
21318 * gdb.btrace/delta.exp: New.
21319
0b722aec
MM
213202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21321
21322 * gdb.btrace/record_goto.exp: Add backtrace test.
21323 * gdb.btrace/tailcall.exp: Add backtrace test.
21324
066ce621
MM
213252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21326
21327 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
21328 * gdb.btrace/record_goto.c: New.
21329 * gdb.btrace/record_goto.exp: New.
21330 * gdb.btrace/x86-record_goto.S: New.
21331
0688d04e
MM
213322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21333
21334 * gdb.btrace/function_call_history.exp: Update tests.
21335 * gdb.btrace/instruction_history.exp: Update tests.
21336
8710b709
MM
213372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21338
21339 * gdb.btrace/function_call_history.exp: Fix expected field
21340 order for "record function-call-history".
21341 Add new tests for "record function-call-history /c".
21342 * gdb.btrace/exception.cc: New.
21343 * gdb.btrace/exception.exp: New.
21344 * gdb.btrace/tailcall.exp: New.
21345 * gdb.btrace/x86-tailcall.S: New.
21346 * gdb.btrace/x86-tailcall.c: New.
21347 * gdb.btrace/unknown_functions.c: New.
21348 * gdb.btrace/unknown_functions.exp: New.
21349 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21350
5de9129b
MM
213512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21352
21353 * gdb.btrace/instruction_history.exp: Update.
21354 * gdb.btrace/function_call_history.exp: Update.
21355
23a7fe75
MM
213562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21357
21358 * gdb.btrace/function_call_history.exp: Fix expected function
21359 trace.
21360 * gdb.btrace/instruction_history.exp: Initialize traced.
21361 Remove traced_functions.
21362
724c7dd8
MM
213632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21364
21365 * gdb.btrace/function_call_history.exp: Update
21366 * gdb.btrace/instruction_history.exp: Update.
21367
6d78d93b
MM
213682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21369
21370 * gdb.btrace/enable.exp: Update expected text.
21371
93a360cc
OJ
213722014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
21373
21374 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
21375 bytes.
21376
3772b53f
MR
213772014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
21378
21379 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
21380
596662fa
OJ
213812014-01-15 Omair Javaid <omair.javaid@linaro.org>
21382
21383 * lib/gdb.exp (supports_process_record): Return true for
21384 arm*-linux*. (supports_reverse): Likewise.
21385
b5b08fb4
SC
213862014-01-13 Siva Chandra Reddy <sivachandra@google.com>
21387
21388 PR python/15464
21389 PR python/16113
21390 * gdb.python/py-type.c: Enhance test case.
21391 * gdb.python/py-value-cc.cc: Likewise
21392 * gdb.python/py-type.exp: Add new tests.
21393 * gdb.python/py-value-cc.exp: Likewise
21394
52d7fb13
AA
213952014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
21396 Pedro Alves <palves@redhat.com>
21397
21398 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
21399 Make "name" extern.
21400 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
21401 references to ${name}_start by references to ${name}.
21402
a2cd8cfe
JB
214032014-01-10 Joel Brobecker <brobecker@adacore.com>
21404
21405 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
21406
4e23fced
JB
214072014-01-10 Joel Brobecker <brobecker@adacore.com>
21408
21409 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
21410
c6a9e42c
PA
214112014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
21412 Pedro Alves <palves@redhat.com>
21413
21414 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 21415 mi_gdb_target_load.
c6a9e42c 21416
b7ea362b
PA
214172014-01-08 Pedro Alves <palves@redhat.com>
21418
21419 * gdb.threads/reconnect-signal.c: New file.
21420 * gdb.threads/reconnect-signal.exp: New file.
21421
5e3f4fab
EBM
214222014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21423
21424 * gdb.base/source-dir.exp: New file.
21425
79301218
JB
214262014-01-07 Joel Brobecker <brobecker@adacore.com>
21427
21428 * gdb.ada/mi_interface: New testcase.
21429
8e355c5d
JB
214302014-01-07 Joel Brobecker <brobecker@adacore.com>
21431
21432 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
21433 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
21434 gdb.ada/pp-rec-component/pck.ads: New files.
21435
c0d48811
JB
214362014-01-07 Joel Brobecker <brobecker@adacore.com>
21437
21438 * gdb.python/py-pp-integral.c: New file.
21439 * gdb.python/py-pp-integral.py: New file.
21440 * gdb.python/py-pp-integral.exp: New file.
21441
17b609c3 21442For older changes see ChangeLog-1993-2013.
c906108c 21443\f
8d8cb839
EZ
21444;; Local Variables:
21445;; mode: change-log
21446;; left-margin: 8
21447;; fill-column: 74
21448;; version-control: never
21449;; End:
902f2ccb 21450
b811d2c2 21451 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
21452 Copying and distribution of this file, with or without modification,
21453 are permitted provided the copyright notice and this notice are preserved.
This page took 3.918154 seconds and 4 git commands to generate.