Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e34a209e
TV
12021-09-03 Tom de Vries <tdevries@suse.de>
2
3 * gdb.gdb/complaints.exp: Use untested if clear_complaints cannot
4 be found.
5
5c177fed
TV
62021-09-03 Tom de Vries <tdevries@suse.de>
7
8 * lib/selftest-support.exp: Emit untested when not being able to set
9 breakpoint.
10
c52e9db3
TV
112021-09-01 Tom de Vries <tdevries@suse.de>
12
13 PR testsuite/28298
14 * gdb.dwarf2/fission-base.S: Use DWO instead of XSTR(DWO).
15 * gdb.dwarf2/fission-loclists-pie.S: Same.
16 * gdb.dwarf2/fission-loclists.S: Same.
17 * gdb.dwarf2/fission-reread.S: Same.
18 * gdb.dwarf2/fission-base.exp: Use additional_flags=-DDWO=\"$dwo\".
19 * gdb.dwarf2/fission-loclists-pie.exp: Same.
20 * gdb.dwarf2/fission-loclists.exp: Same.
21 * gdb.dwarf2/fission-reread.exp: Same.
22
351b63ec
TV
232021-09-01 Tom de Vries <tdevries@suse.de>
24
25 * gdb.fortran/call-no-debug.exp: Avoid shared lib symbols for
26 find_mangled_name calls.
27
e1652de2
TV
282021-08-30 Tom de Vries <tdevries@suse.de>
29
30 PR cli/28290
31 * gdb.base/batch-exit-status.exp: Add gdb '' and gdb '' '' tests.
32
2840a186
TV
332021-08-23 Tom de Vries <tdevries@suse.de>
34
35 PR gdb/26880
36 * gdb.base/non-executable.exp: New file.
37
a656ee08
TV
382021-08-06 Simon Marchi <simon.marchi@polymtl.ca>
39 Tom de Vries <tdevries@suse.de>
40
41 PR symtab/28004
42 * gdb.dwarf2/dw2-zero-range-shlib.c: New test.
43 * gdb.dwarf2/dw2-zero-range.c: New test.
44 * gdb.dwarf2/dw2-zero-range.exp: New file.
45
3e5ec878
TT
462021-08-02 Tom Tromey <tromey@adacore.com>
47
48 PR varobj/28131
49 * gdb.python/py-mi-var-info-path-expression.exp: Add regression
50 test.
51
86271cfa
TBA
522021-07-26 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
53
54 PR gdb/28076
55 * gdb.mi/mi-break.exp: Add more tests to check clearing the
56 breakpoint condition.
57
5924fafa
TV
582021-07-22 Tom de Vries <tdevries@suse.de>
59
60 * gdb.ada/formatted_ref.exp: Add xfail for PR gcc/101575.
61 * gdb.ada/iwide.exp: Same.
62 * gdb.ada/pkd_arr_elem.exp: Same.
63
f08513e8
TV
642021-07-22 Tom de Vries <tdevries@suse.de>
65
66 * gdb.cp/step-and-next-inline.cc (tree_check, get_alias_set, main):
67 Tag closing brace with comment.
68 * gdb.cp/step-and-next-inline.h: Update to keep identical with
69 step-and-next-inline.cc.
70 * gdb.cp/step-and-next-inline.exp: Issue extra next when required.
71
0e9c2a33
TV
722021-07-21 Tom de Vries <tdevries@suse.de>
73
74 * lib/gdb.exp (gcc_major_version): New proc.
75 * gdb.base/ptype-offsets.cc: Define static member static_member::Empty.
76 * gdb.cp/templates.exp: Define static member using -DGCC_BUG.
77 * gdb.cp/m-static.exp: Add
78 additional_flags=-fno-eliminate-unused-debug-types.
79 * gdb.cp/pr-574.exp: Same.
80 * gdb.cp/pr9167.exp: Same.
81
f26101b1
TV
822021-07-21 Tom de Vries <tdevries@suse.de>
83
84 * gdb.ada/arrayptr.exp: Add KFAILs for PR20991 and PR28115.
85 * gdb.ada/exprs.exp: Add KFAILs for PR20991.
86 * gdb.ada/packed_array_assign.exp: Same.
87
e22715ce
TT
882021-07-19 Tom Tromey <tromey@adacore.com>
89
90 PR gdb/28093
91 * gdb.base/langs.exp: Add tests.
92
26e27615
TV
932021-07-14 Tom de Vries <tdevries@suse.de>
94
95 * lib/gdb.exp (have_index): New proc.
96 * gdb.base/gold-gdb-index.exp: Use have_index.
97
97c5ca8c
PA
982021-07-13 Pedro Alves <pedro@palves.net>
99
100 PR gdb/28080
101 * gdb.base/detach-sysroot-target.exp: New.
102 * gdb.base/detach-sysroot-target.c: New.
103
58a136f3
TV
1042021-07-13 Tom de Vries <tdevries@suse.de>
105
106 PR testsuite/27690
107 * gdb.threads/check-libthread-db.exp: Update patterns for glibc 2.33.
108
1bdfa2b1
SM
1092021-07-13 Simon Marchi <simon.marchi@polymtl.ca>
110
111 * gdb.mi/interrupt-thread-group.c: New.
112 * gdb.mi/interrupt-thread-group.exp: New.
113
d6771741
TV
1142021-07-12 Tom de Vries <tdevries@suse.de>
115
116 PR testsuite/28057
117 * gdb.btrace/tsx.exp: Add pattern for system with tsx disabled in
118 microcode.
119
29119da4
TV
1202021-07-12 Tom de Vries <tdevries@suse.de>
121
122 * lib/mi-support.exp (mi_readnow): New proc.
123 * gdb.mi/mi-info-sources.exp: Use nosharedlibrary. Update patterns.
124 Skip tests for readnow. Use "maint expand-symtabs".
125
732236a7
TV
1262021-07-08 Tom de Vries <tdevries@suse.de>
127
128 * gdb.guile/scm-breakpoint.exp: Make additional "ERROR: " prefix in
129 exception printing optional.
130
8043d65b
SM
1312021-07-06 Simon Marchi <simon.marchi@polymtl.ca>
132
133 * configure.ac: Restore.
134 * configure: Re-generate.
135 * aclocal.m4: Re-generate.
136 * Makefile.in (distclean): Add config.status.
137 (Makefile): Adjust paths.
138 (lib/pdtrace): Adjust paths.
139 (config.status): Add.
140
52e44e8d
TV
1412021-07-06 Tom de Vries <tdevries@suse.de>
142
143 * gdb.fortran/ptype-on-functions.exp: Allow both $integer8 and
144 $integer4 for size of string length.
145
05c06f31
PA
1462021-07-01 Pedro Alves <pedro@palves.net>
147
148 PR mi/15729
149 PR gdb/13463
150 * gdb.base/access-mem-running.c: New.
151 * gdb.base/access-mem-running.exp: New.
152 * gdb.threads/access-mem-running-thread-exit.c: New.
153 * gdb.threads/access-mem-running-thread-exit.exp: New.
154
a05a883f
SM
1552021-06-29 Simon Marchi <simon.marchi@polymtl.ca>
156
157 * gdb.dwarf2/dw2-reg-undefined.exp: Update regexp.
158
bd742128
AB
1592021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
160
161 * gdb.base/info_sources_2-header.h: New file.
162 * gdb.base/info_sources_2-lib.c: New file.
163 * gdb.base/info_sources_2-test.c: New file.
164 * gdb.base/info_sources_2.exp: New file.
165
1fb1ce02
AB
1662021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
167
168 * gdb.mi/mi-info-sources.exp: Add additional tests.
169
0e350a05
AB
1702021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
171
172 * gdb.dwarf2/dw2-filename.exp: Update expected results.
173 * gdb.mi/mi-file.exp: Likewise.
174 * gdb.mi/mi-info-sources-base.c: New file.
175 * gdb.mi/mi-info-sources.c: New file.
176 * gdb.mi/mi-info-sources.exp: New file.
177
d038ce48
AB
1782021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
179
180 * gdb.cp/method-call-in-c.cc (struct foo_type): Add static member
181 function static_method.
182 (global_var): New global.
183 (main): Use new static_method to ensure it is compiled in.
184 * gdb.cp/method-call-in-c.exp: Test calls to static member
185 function.
186
13221aec
AB
1872021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
188
189 PR gdb/27994
190 * gdb.cp/method-call-in-c.cc (struct foo_type): Add operator+=,
191 change initial value of var member variable.
192 (main): Make use of foo_type's operator+=.
193 * gdb.cp/method-call-in-c.exp: Test use of operator+=.
194
79bd4d34
AB
1952021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
196
197 PR gdb/27994
198 * gdb.cp/method-call-in-c.cc: New file.
199 * gdb.cp/method-call-in-c.exp: New file.
200
3da4c644
TT
2012021-06-25 Tom Tromey <tom@tromey.com>
202
203 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): Add "style"
204 parameter.
205 * gdb.rust/dwindex.exp: New file.
206 * gdb.rust/dwindex.rs: New file.
207
6b95f5ad
AB
2082021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
209
210 * gdb.python/py-breakpoint.c (do_throw): New function.
211 (main): Call do_throw.
212 * gdb.python/py-breakpoint.exp (test_catchpoints): New proc.
213
08080f97
AB
2142021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
215
216 * gdb.guile/scm-breakpoint.exp (test_catchpoints): New proc.
217
81b327aa
AB
2182021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
219
220 * gdb.guile/scm-breakpoint.exp (test_watchpoints): Add new tests.
221
202054ae
CL
222gdb/testsuite/ChangeLog
2232021-06-25 Carl Love <cel@us.ibm.com>
224
225 * gdb.arch/powerpc-plxv-norel.exp: Add call to skip_power_isa_3_1_tests.
226 * lib/gdb.exp(skip_power_isa_3_1_tests): New gdb_caching_proc test.
227
67470e9d
TT
2282021-06-25 Tom Tromey <tromey@adacore.com>
229
230 * gdb.ada/py_range.exp: Add type name test cases.
231
013270a1
TV
2322021-06-24 Tom de Vries <tdevries@suse.de>
233
234 * gdb.base/info-macros.exp: Add <EOL> after trailing whitespace in
235 test names.
236
657dcee4
TV
2372021-06-24 Tom de Vries <tdevries@suse.de>
238
239 * gdb.base/argv0-symlink.exp: Use with_test_prefix.
240
2dd865d7
TV
2412021-06-23 Tom de Vries <tdevries@suse.de>
242
243 * lib/gdb.exp (gdb_test_lines): Rewrite to accept single
244 multiline tcl regexp.
245 * gdb.base/info-types.exp.tcl: Update. Make empty line at end of
246 regexp optional.
247 * gdb.base/info-macros.exp: Update.
248 * gdb.cp/cplusfuncs.exp: Update.
249
80d1206d
AS
2502021-06-22 Andreas Schwab <schwab@suse.de>
251
252 PR symtab/27999
253 * lib/dwarf.exp (start_end): New proc inside loclists.
254 * gdb.dwarf2/loclists-start-end.exp: New file.
255 * gdb.dwarf2/loclists-start-end.c: New file.
256
e5b77106
TV
2572021-06-22 Tom de Vries <tdevries@suse.de>
258
259 * gdb.dwarf2/imported-unit-c.exp: New file.
260
80dc83fd
AB
2612021-06-22 Andrew Burgess <andrew.burgess@embecosm.com>
262
263 * gdb.server/server-kill.exp: Introduce global kill_pid_of, and
264 make use of this in prepare to select which pid we should kill.
265 Run all the tests twice with a different kill_pid_of value.
266 (prepare): Make use of kill_pid_of.
267 (test_stepi): New proc.
268
d52b8007
AB
2692021-06-21 Andrew Burgess <andrew.burgess@embecosm.com>
270
271 * gdb.python/py-frame.exp: Add Frame.level tests.
272 * gdb.python/py-pending-frame-level.c: New file.
273 * gdb.python/py-pending-frame-level.exp: New file.
274 * gdb.python/py-pending-frame-level.py: New file.
275
61e2dde2
AB
2762021-06-21 Andrew Burgess <andrew.burgess@embecosm.com>
277
278 * gdb.python/py-unwind-user-regs.c: New file.
279 * gdb.python/py-unwind-user-regs.exp: New file.
280 * gdb.python/py-unwind-user-regs.py: New file.
281
ff5404f5
CL
2822021-06-17 Carl Love <cel@us.ibm.com>
283
284 * gdb.arch/powerpc-power8.exp(bctar, bctarl): Update mnemonics
285 to bgetar and bgetarl.
286 * gdb.arch/powerpc-power8.s((bctar, bctarl): Update comments
287 for mnemonics to bgetar and bnstarl.
288
18263be7
SM
2892021-06-17 Simon Marchi <simon.marchi@efficios.com>
290
291 * gdb.base/args.exp: Check target, KFAIL if remote.
292 (args_test): Add parameter and use it.
293
d30e3263
SM
2942021-06-17 Simon Marchi <simon.marchi@efficios.com>
295
296 * gdb.base/args.exp: Remove trailing parenthesis in test names.
297
c4ddc1da
SM
2982021-06-17 Simon Marchi <simon.marchi@efficios.com>
299
300 * gdb.base/args.exp: Use $old_gdbflags in all tests.
301
18b5aade
SM
3022021-06-17 Simon Marchi <simon.marchi@efficios.com>
303
304 * gdb.base/args.exp: Use save_vars.
305
c9923e71
PA
3062021-06-14 Pedro Alves <pedro@palves.net>
307
308 * gdb.base/annota1.exp: Build list using [list] instead of {}.
309 Tell [join] to join with no character. Build expected pattern in
310 separate variable instead of in the -re expression directly.
311
b8bd29a1
KB
3122021-06-11 Kevin Buettner <kevinb@redhat.com>
313
314 * gdb.mi/mi-sym-info.exp (114-symbol-info-function test): Increase
315 timeout.
316
72c4daa3
KB
3172021-06-11 Kevin Buettner <kevinb@redhat.com>
318
319 * gdb.base/print-symbol-loading.exp (proc test_load_shlib):
320 Allow "Symbols already loaded for..." messages.
321
4cc2e606
KB
3222021-06-11 Kevin Buettner <kevinb@redhat.com>
323
324 * gdb.base/execl-update-breakpoints.exp: Add regular
325 expression for optionally matching output related to
326 libthread_db.
327 * gdb.base/fork-print-inferior-events.exp: Likewise.
328
db77748b
FW
3292021-06-11 Felix Willgerodt <felix.willgerodt@intel.com>
330
331 * gdb.mi/array.f: Convert into...
332 * gdb.mi/array.f90: ...this.
333 * gdb.mi/mi-var-child-f.exp: Use array.f90.
334
48ec4c05
TT
3352021-06-11 Tom Tromey <tom@tromey.com>
336
337 PR rust/23427
338 * lib/rust-support.exp (rust_compiler_version): New caching proc.
339 * gdb.rust/rawids.exp: New file.
340 * gdb.rust/rawids.rs: New file.
341
46f263cc
SM
3422021-06-10 Simon Marchi <simon.marchi@polymtl.ca>
343
344 * lib/gdb.exp (default_gdb_exit): Unset gdb_tty_name.
345 (spawn_capture_tty_name): New, override builtin spawn.
346 (default_gdb_spawn): Capture GDB's TTY name.
347 * lib/tuiterm.exp (tuiterm_spawn): Remove.
348 (tuiterm_env_init, tuiterm_env_finish): Remove spawn override.
349 (Term) <resize>: Use new variable name.
350 (tuiterm_env_init, tuiterm_env_finish): Remove.
351 (tuiterm_env): Don't call tuiterm_env_init and register
352 tuiterm_env_finish in gdb_finish_hooks.
353 (gdb_finish_hooks): Remove.
354 (gdb_finish): Don't call finish hooks.
355
6179e5f1
TV
3562021-06-10 Tom de Vries <tdevries@suse.de>
357
358 * gdb.mi/user-selected-context-sync.c (child_sub_function, main):
359 Rewrite while (1) using dummy loop body.
360
4bdd1a06
BK
3612021-06-10 Bhuvanendra Kumar N <Bhuvanendra.KumarN@amd.com>
362
363 * gdb.base/foll-exec.c: convert the multi-line function call into
364 single line.
365
36695cf8
TV
3662021-06-10 Tom de Vries <tdevries@suse.de>
367
368 * lib/cp-support.exp (cp_test_ptype_class): Break up regexp.
369 * gdb.cp/nested-types.exp: Remove usage of read1 timeout factor.
370
0cc809fa
TV
3712021-06-10 Tom de Vries <tdevries@suse.de>
372
373 * gdb.cp/cplusfuncs.exp (info_func_regexp): Use gdb_test_lines.
374
c70fdc45
TT
3752021-06-09 Tom Tromey <tromey@adacore.com>
376
377 * README (Example): Update read1 example.
378
d0a3c757
SM
3792021-06-09 Simon Marchi <simon.marchi@polymtl.ca>
380
381 * lib/tuiterm.exp (Term) <_check_box>: Improve logging.
382
f9e59d06
LS
3832021-06-08 Lancelot Six <lsix@lancelotsix.com>
384
385 * gdb.base/premature-dummy-frame-removal.py (TestUnwinder): Use
386 'is None' instead of '== None' and 'is not None' instead of
387 '!= None'.
388 * gdb.python/py-frame-args.py (lookup_function): Same.
389 * gdb.python/py-framefilter-invalidarg.py (Reverse_Function): Same.
390 * gdb.python/py-framefilter.py (Reverse_Function): Same.
391 * gdb.python/py-nested-maps.py (lookup_function): Same.
392 * gdb.python/py-objfile-script-gdb.py (lookup_function): Same.
393 * gdb.python/py-prettyprint.py (lookup_function): Same.
394 * gdb.python/py-section-script.py (lookup_function): Same.
395 * gdb.python/py-unwind-inline.py (dummy_unwinder): Same.
396 * gdb.python/python.exp: Same.
397 * gdb.rust/pp.py (lookup_function): Same.
398
fdae5c22
TV
3992021-06-08 Tom de Vries <tdevries@suse.de>
400
401 * lib/gdb.exp (multi_line): Require more than one argument.
402 * gdb.base/gdbinit-history.exp: Update multi_line call.
403 * gdb.base/jit-reader.exp: Remove multi_line call.
404 * gdb.fortran/dynamic-ptype-whatis.exp: Same.
405
c3cfd9eb
TV
4062021-06-08 Tom de Vries <tdevries@suse.de>
407
408 * gdb.base/info-types.exp.tcl (match_line, gdb_test_lines): Move ...
409 * lib/gdb.exp: ... here.
410 * gdb.base/info-macros.exp: Use gdb_test_lines.
411
58f076c6
TV
4122021-06-08 Tom de Vries <tdevries@suse.de>
413
414 * gdb.base/info-types.exp.tcl (match_line): Handle --any.
415 (gdb_test_lines): Factor out of ...
416 (run_test): ... here.
417
4c5d7c03
TV
4182021-06-08 Tom de Vries <tdevries@suse.de>
419
420 * gdb.base/batch-preserve-term-settings.exp (spawn_shell): Fix
421 matching of initial prompt.
422
4a11703a
TV
4232021-06-08 Tom de Vries <tdevries@suse.de>
424
425 * gdb.threads/multi-create-ns-info-thr.exp: Limit breakpoint regexp to
426 one line.
427
ac6c175e
TV
4282021-06-08 Tom de Vries <tdevries@suse.de>
429
430 * gdb.base/sect-cmd.exp: Use gdb_test. Use -wrap "". Fix
431 test name.
432
25ff4de7
TV
4332021-06-08 Tom de Vries <tdevries@suse.de>
434
435 * gdb.base/sect-cmd.exp: Fix saw_section_address_line regexp.
436
cfc75767
SM
4372021-06-07 Simon Marchi <simon.marchi@polymtl.ca>
438
439 * gdb.base/continue-all-already-running.exp: Call fail if can't
440 run to main.
441
a12a15e7
AB
4422021-06-07 Andrew Burgess <andrew.burgess@embecosm.com>
443
444 PR gdb/27847
445 * gdb.dwarf2/dw2-weird-type-len.c: New file.
446 * gdb.dwarf2/dw2-weird-type-len.exp: New file.
447
f1854e35
SM
4482021-06-07 Simon Marchi <simon.marchi@polymtl.ca>
449
450 * gdb.base/attach.exp (test_command_line_attach_run): Use
451 proc_with_prefix.
452
b0e2f96b
TV
4532021-06-07 Tom de Vries <tdevries@suse.de>
454
455 PR testsuite/27908
456 * gdb.base/run-attach-while-running.exp (test): Don't match prompt
457 after attach using '$gdb_prompt $'.
458
409cac34
TV
4592021-06-07 Tom de Vries <tdevries@suse.de>
460
461 * gdb.base/info-types.exp.tcl: Remove "File .*" matching from regexp
462 matching state machine.
463
bc37aacd
TV
4642021-06-07 Tom de Vries <tdevries@suse.de>
465
466 * gdb.base/new-ui-pending-input.exp
467 (test_command_line_new_ui_pending_input): Fix regexp for "initial
468 prompt on extra console".
469
7ee8c127
TV
4702021-06-07 Tom de Vries <tdevries@suse.de>
471
472 * gdb.base/info-types.exp.tcl (run_test): Move "random line" regexp
473 up.
474
921b2bc7
SM
4752021-06-06 Simon Marchi <simon.marchi@efficios.com>
476
477 * gdb.server/stop-reply-no-thread-multi.exp: Clear sysroot when
478 host and target are local.
479
ad4bd975
HD
4802021-06-05 Hannes Domani <ssbssa@yahoo.de>
481
482 * gdb.python/py-symbol.exp: Fix tests for Python 3.
483
ae61ef2c
SV
4842021-06-05 Shahab Vahedi <shahab@synopsys.com>
485
486 * gdb.arch/arc-disassembler-options.exp: New test.
487 * gdb.arch/arc-disassembler-options.s: New test source.
488
386de171
TT
4892021-06-04 Tom Tromey <tromey@adacore.com>
490
491 * gdb.ada/array_of_symbolic_length.exp: New file.
492 * gdb.ada/array_of_symbolic_length/foo.adb: New file.
493 * gdb.ada/array_of_symbolic_length/gl.adb: New file.
494 * gdb.ada/array_of_symbolic_length/gl.ads: New file.
495 * gdb.ada/array_of_symbolic_length/pck.adb: New file.
496 * gdb.ada/array_of_symbolic_length/pck.ads: New file.
497
df5bc734
MH
4982021-06-03 Magne Hov <mhov@undo.io>
499
500 PR python/27841
501 * gdb.python/py-events.exp: Extend inferior exit tests.
502 * gdb.python/py-events.py: Print inferior exit PID.
503
6ac5237c
HD
5042021-06-03 Hannes Domani <ssbssa@yahoo.de>
505
506 * gdb.python/py-symbol.exp: Test symbol constants.
507
60be64b3
BE
5082021-06-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
509
510 * gdb.dwarf2/per-bfd-sharing.exp: Fix temp-dir leakage.
511
170960e8
CL
5122021-06-02 Carl Love <cel@us.ibm.com>
513
514 * gdb.threads/threadapply.c: Add global mybarrier.
515 (main): Add pthread_barrier_init.
516 (thread_function): Replace while loop with myp increment and
517 pthread_barrier_wait.
518
f2d42111
AB
5192021-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
520
521 * lib/gdb.exp (gdb_compile): Only add the -J option when using a
522 gcc based Fortran compiler, for example, flang does not support
523 this option.
524
8a222a6b
AB
5252021-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
526
527 * lib/fortran.exp (fortran_int8): Escape '*' in pattern.
528
2adf1781
TT
5292021-06-01 Tom Tromey <tromey@adacore.com>
530
531 * Makefile.in (all): Don't print anything.
532 ($(abs_builddir)/site.exp site.exp): Use $(ECHO_GEN).
533 (expect-read1): Likewise.
534 (read1.so): Use $(ECHO_CC).
535 Include silent-rules.mk.
536
f99d1d37
TT
5372021-06-01 Tom Tromey <tromey@adacore.com>
538
539 * aclocal.m4, configure.ac, configure: Remove.
540 * Makefile.in (EXTRA_RULES): Remove.
541 ($(abs_builddir)/site.exp site.exp): Don't depend on
542 config.status.
543 (distclean maintainer-clean realclean, Makefile): Update.
544 (config.status): Remove target.
545 (lib/pdtrace): New target.
546 (all): Don't depend on EXTRA_RULES.
547 (check-read1): Depend on read1.so, expect-read1.
548
17d305ef
TV
5492021-06-01 Tom de Vries <tdevries@suse.de>
550
551 PR symtab/26096
552 * gdb.cp/cold-clone.cc: New test.
553 * gdb.cp/cold-clone.exp: New file.
554
b97eff8f
AB
5552021-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
556
557 * gdb.gdb/unittest.c: New file.
558 * gdb.gdb/unittest.exp: Run with and without a binary file loaded
559 into GDB.
560
b4b3e2de
AB
5612021-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
562
563 * gdb.base/premature-dummy-frame-removal.c: New file.
564 * gdb.base/premature-dummy-frame-removal.exp: New file.
565 * gdb.base/premature-dummy-frame-removal.py: New file.
566
d5a6313e
SM
5672021-05-27 Simon Marchi <simon.marchi@polymtl.ca>
568
569 * gdb.base/reverse-init-functions.exp: New.
570
248f7165
TV
5712021-05-27 Tom de Vries <tdevries@suse.de>
572
573 PR symtab/27919
574 PR testsuite/27920
575 * gdb.dwarf2/dw2-dummy-cu.exp: Use maint expand-symtabs instead of
576 -readnow.
577
e453275c
TV
5782021-05-27 Tom de Vries <tdevries@suse.de>
579
580 PR testsuite/27921
581 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Rename to ...
582 (local_add_gdb_index): ... this.
583
778ae9cc
TV
5842021-05-21 Tom de Vries <tdevries@suse.de>
585
586 PR testsuite/25047
587 * boards/cc-with-gnu-debuglink.exp: New file.
588
ca43e660
TBA
5892021-05-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
590
591 * gdb.dwarf2/dw2-inline-with-lexical-scope.c (func): Replace
592 a dead code with an assignment to a global var. Fix a
593 whitespacing problem around an assignment operator.
594
7f2b8718
WS
5952021-05-19 Will Schmidt <will_schmidt@vnet.ibm.com>
596
597 * gdb.arch/powerpc64-prologue.c: New test to exercise prologues
598 for the powerpc64 LE target.
599 * gdb.arch/powerpc-prologue.exp: Test Harness.
600
d9211df2
AB
6012021-05-19 Andrew Burgess <andrew.burgess@embecosm.com>
602
603 * gdb.guile/scm-pretty-print.exp: Add test names to resolve
604 duplicate test names.
605
2129a942
TV
6062021-05-19 Tom de Vries <tdevries@suse.de>
607
608 * gdb.base/info-types.exp.tcl: Scan info types output line-by-line.
609
5277208d
SM
6102021-05-17 Simon Marchi <simon.marchi@polymtl.ca>
611
612 * gdb.python/py-framefilter-gdb.py.in: Rename to:
613 * gdb.python/py-framefilter-gdb.py: ... this.
614 * gdb.python/py-framefilter-invalidarg-gdb.py.in: Rename to:
615 * gdb.python/py-framefilter-invalidarg-gdb.py: ... this.
616
91e159e9
SM
6172021-05-17 Simon Marchi <simon.marchi@polymtl.ca>
618
619 * gdb.python/py-framefilter-gdb.py.in: Re-format.
620 * gdb.python/py-framefilter-invalidarg-gdb.py.in: Re-format.
621
467f8eb2
BK
6222021-05-17 Bhuvanendra Kumar N <Bhuvanendra.KumarN@amd.com>
623
624 * gdb.base/class-allocatable-array.exp: Modified test for clang.
625
ea11a98d
WP
6262021-05-16 Weimin Pan <weimin.pan@oracle.com>
627
628 * gdb.ctf/funcreturn.exp: New file.
629 * gdb.ctf/whatis.c: Copy from gdb.base.
630
887e7158
TT
6312021-05-14 Tom Tromey <tom@tromey.com>
632
633 * gdb.rust/pp.exp: New file.
634 * gdb.rust/pp.py: New file.
635 * gdb.rust/pp.rs: New file.
636
f8eec398
BE
6372021-05-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
638
639 * gdb.base/index-cache.exp: Cleanup $cache_dir/*.gdb-index and
640 remove the directory.
641 * gdb.dwarf2/per-bfd-sharing.exp: Likewise.
642
55789354
TBA
6432021-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
644
645 * gdb.python/py-inferior.exp: Add test cases for 'connection_num'.
646
ecf25064
KC
6472021-05-14 Kent Cheung <kent.cheung@arm.com>
648 Andrew Burgess <andrew.burgess@embecosm.com>
649
650 * gdb.python/py-format-string.c: Added a variable to test.
651 * gdb.python/py-format-string.exp: Check string representation is
652 printed at appropriate max_depth settings.
653 * gdb.python/py-nested-maps.exp: Likewise.
654 * gdb.guile/scm-pretty-print.exp: Add additional tests.
655
bab9eb49 6562021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
4a0a0bd2
AB
657
658 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Give some tests
659 unique names, also wrap proc body in with_test_prefix.
660
bab9eb49 6612021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
62f2f198
AB
662
663 * gdb.guile/scm-frame-args.exp: Add with_test_prefix to resolve
664 duplicate test names.
665 * gdb.guile/scm-parameter.exp: Provide test names to avoid
666 duplicate names based on the command being run.
667 * gdb.guile/scm-symbol.exp: Extend test name to make it unique.
668 * gdb.guile/scm-type.exp (restart_gdb): Don't print PASS line when
669 loading a support module.
670 (test_equality): Update test name to match the actual test, making
671 the name unique in the process.
672 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test names
673 to resolve duplicate tests.
674 (test_inferior_function_call): Likewise.
675 (test_subscript_regression): Likewise.
676
bab9eb49 6772021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
5c6f801d
AB
678
679 * lib/guile.exp (gdb_scm_load_file): Use empty test name to
680 silence PASS lines.
681 (gdb_install_guile_module): Likewise.
682
ee35ce82
GB
6832021-05-12 George Barrett <bob@bob131.so>
684
685 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for
686 value-const-value.
687
9d4fc61d
GB
6882021-05-12 George Barrett <bob@bob131.so>
689
690 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for
691 value-reference-value. Add test for value-rvalue-reference-value.
692
5048549a
TV
6932021-05-11 Tom de Vries <tdevries@suse.de>
694
695 * gdb.base/watch_thread_num.exp: Fix "set debug infrun 1" FAILs.
696 Add "set debug infrun 1" commented out.
697
2302f963
TV
6982021-05-11 Tom de Vries <tdevries@suse.de>
699
700 * gdb.base/gdb-sigterm.exp: Fix exp_continue regexp.
701
abb894a4
BK
7022021-05-11 Bhuvanendra Kumar <Bhuvanendra.KumarN@amd.com>
703
704 * gdb.fortran/array-element.exp: Breakpoint location is modified.
705
db1f6cd6
LS
7062021-05-10 Lancelot Six <lsix@lancelotsix.com>
707
708 PR gdb/27614
709 * gdb.dwarf2/gdb-add-index-symlink.exp: New test.
710
9344937b
AB
7112021-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
712
713 * gdb.guile/guile.exp: Don't use the source directory as a
714 temporary HOME directory.
715
0709cf68
SM
7162021-05-10 Simon Marchi <simon.marchi@polymtl.ca>
717
718 * gdb.arch/amd64-osabi.exp (test_osabi_none): Use the
719 parameters.
720
1845e254
AB
7212021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
722
723 * gdb.guile/guile.exp: Add an extra test.
724
a3237c7c
AB
7252021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
726
727 * gdb.base/ptype-offsets.exp: Replace use of send_gdb with
728 gdb_test_no_output.
729
13123da8
SM
7302021-05-07 Simon Marchi <simon.marchi@polymtl.ca>
731
732 * Re-format all Python files using black.
733 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust.
734
0618ecf6
AB
7352021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
736
737 * gdb.guile/scm-breakpoint.exp (test_watchpoints): Print the
738 watchpoint object before and after registering it with GDB.
739
a7ed4ea6
AB
7402021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
741
742 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Convert to
743 'proc_with_prefix', remove use of 'with_test_prefix', and
744 reindent.
745 (test_bkpt_deletion): Likewise.
746 (test_bkpt_cond_and_cmds): Likewise.
747 (test_bkpt_invisible): Likewise.
748 (test_watchpoints): Likewise.
749 (test_bkpt_internal): Likewise.
750 (test_bkpt_eval_funcs): Likewise.
751 (test_bkpt_registration): Likewise.
752 (test_bkpt_address): Convert to 'proc_with_prefix'.
753 (test_bkpt_probe): Likewise.
754
7ebbaa1c
AB
7552021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
756
757 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Extend test
758 names to avoid duplicates.
759 (test_bkpt_cond_and_cmds): Likewise.
760 (test_bkpt_eval_funcs): Likewise.
761
79aabb73
TBA
7622021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
763
764 * gdb.mi/mi-break.exp (test_forced_conditions): Add a test
765 for the -break-condition command's "--force" flag.
766
10e578d7
TBA
7672021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
768
769 * gdb.mi/mi-break.exp (test_forced_conditions): New proc that
770 is called by the test.
771
2f000c80
TV
7722021-05-05 Tom de Vries <tdevries@suse.de>
773
774 * gdb.threads/detach-step-over.exp: Do exp_continue when encountering
775 "Reading symbols" or "Expanding full symbols" lines. Using timeout
776 factor of 2 for attach.
777
09f83f79
TV
7782021-05-05 Tom de Vries <tdevries@suse.de>
779
780 * gdb.threads/fork-plus-threads.exp: Handle "New LWP <n>" and
781 "LWP <n> exited" messages.
782
fa94b3a7
SM
7832021-05-04 Simon Marchi <simon.marchi@polymtl.ca>
784
785 * gdb.python/py-type.exp (test_fields): Test calling fields on
786 an int type.
787
858c8f2c
SM
7882021-05-04 Simon Marchi <simon.marchi@efficios.com>
789
790 * gdb.python/flexible-array-member.exp: Adjust expected range
791 value for member declared with 0 size. Test accessing range
792 tuple through range type.
793
d389a1a7
AB
7942021-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
795
796 PR testsuite/27788
797 * gdb.python/py-startup-opt.exp (test_python_settings): Change the
798 expected results when environment variable PYTHONDONTWRITEBYTECODE
799 is set.
800
2869ac4b
TT
8012021-04-30 Tom Tromey <tromey@adacore.com>
802
803 * gdb.ada/enum_idx_packed/pck.ads (My_Enum, My_Array_Type)
804 (Confused_Array): New types.
805 * gdb.ada/enum_idx_packed/foo.adb (Confused_Array): New variable.
806 * gdb.ada/enum_idx_packed.exp: Add new tests.
807
5536f0cc
TV
8082021-04-30 Tom de Vries <tdevries@suse.de>
809
810 * gdb.mi/mi-sym-info.exp: Add with_timeout_factor, and increase
811 existing timeout factors.
812
7f7f284d
TV
8132021-04-30 Tom de Vries <tdevries@suse.de>
814
815 * gdb.mi/mi-sym-info.exp: Remove duplicate test.
816
3f334074
TV
8172021-04-29 Tom de Vries <tdevries@suse.de>
818
819 PR testsuite/27786
820 * lib/valgrind.exp (vgdb_start): Use set_remotetimeout. Increase
821 remotetimeout to 4.
822
db2534b7
TT
8232021-04-28 Tom Tromey <tromey@adacore.com>
824
825 * gdb.ada/null_overload.exp: New file.
826 * gdb.ada/null_overload/foo.adb: New file.
827
edeaceda
AB
8282021-04-28 Andrew Burgess <andrew.burgess@embecosm.com>
829
830 * gdb.python/py-startup-opt.exp: New file.
831
b9f90c72
LM
8322021-04-27 Luis Machado <luis.machado@linaro.org>
833
834 * gdb.base/maint.exp: Drop a pattern that is not needed.
835 * lib/gdb.exp (readnow): Match line-by-line.
836
4b62a30d
LM
8372021-04-27 Luis Machado <luis.machado@linaro.org>
838
839 * gdb.xml/tdesc-reload.exp: Pass -lbl.
840
2c473def
MW
8412021-04-27 Michael Weghorn <m.weghorn@posteo.de>
842 Simon Marchi <simon.marchi@polymtl.ca>
843
844 * gdb.python/libpy-autoloaded-pretty-printers-in-newobjfile-event.so-gdb.py: New test.
845 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.cc: New test.
846 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.h: New test.
847 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-main.cc: New test.
848 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp: New test.
849 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.py: New test.
850
e8b6c1da
TT
8512021-04-26 Tom Tromey <tromey@adacore.com>
852
853 PR gdb/27743:
854 * gdb.dwarf2/imported-unit-bp.exp: New file.
855 * gdb.dwarf2/imported-unit-bp-main.c: New file.
856 * gdb.dwarf2/imported-unit-bp-alt.c: New file.
857
bea3329b
SM
8582021-04-26 Simon Marchi <simon.marchi@polymtl.ca>
859
860 PR gdb/27773
861 * gdb.base/dump.exp: Test dump to non-existent dir.
862
21f91785
LM
8632021-04-26 Luis Machado <luis.machado@linaro.org>
864
865 * gdb.arch/aarch64-dbreg-contents.c (set_watchpoint): Fix arch level
866 comparison.
867
fbb46296
LS
8682021-04-25 Lancelot Six <lsix@lancelotsix.com>
869
870 PR gdb/22640
871 * gdb.base/ptype-offsets.exp: Add tests to verify the behavior
872 of 'ptype/ox' and 'ptype/od'. Check that 'set print type hex'
873 changes the default behavior of 'ptype/o'. Update to take into
874 account new horizontal layout.
875 * gdb.rust/simple.exp: Update ptype test to check new horizontal
876 layout.
877 * gdb.rust/union.exp: Same.
878
9fc29955
AB
8792021-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
880
881 * gdb.base/info_sources.exp: Add new tests.
882
432ce4cf
TT
8832021-04-22 Tom Tromey <tom@tromey.com>
884
885 * gdb.base/ptype-offsets.cc (struct empty_member): New.
886 (main): Use empty_member.
887 * gdb.base/ptype-offsets.exp: Add new test.
888
a87caa6d
SM
8892021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
890
891 * gdb.python/flexible-array-member.exp: Add check for Python
892 support.
893
e25d6d93
SM
8942021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
895
896 PR gdb/27757
897 * gdb.python/flexible-array-member.c: New test.
898 * gdb.python/flexible-array-member.exp: New test.
899 * gdb.guile/scm-type.exp (test_range): Add test for flexible
900 array member.
901 * gdb.guile/scm-type.c (struct flex_member): New.
902 (main): Use it.
903
22f80c0f
TT
9042021-04-22 Tom Tromey <tom@tromey.com>
905
906 * gdb.rust/modules.exp: Add checks for syntax errors.
907 * gdb.rust/expr.exp: Add checks for syntax errors.
908 * gdb.rust/simple.exp: Add checks for syntax errors.
909
6d5702a5
CL
9102021-04-21 Carl Love <cel@us.ibm.com>
911
912 * gdb.base/valgrind-bt.exp: Add gdb_test "break main".
913 Update expected string for gdb_test "bt".
914
915 * lib/valgrind.exp: Add set remotetimeout 3.
916 Increase vgdb wait from 1 to 2.
917 Add max-invoke-ms option to vgdb command line.
918
10a636cc
TBA
9192021-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
920
921 * gdb.mi/mi-break.exp: Extend with checks for invalid breakpoint
922 conditions.
923
98e713ab
SM
9242021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
925 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
926
927 * gdb.mi/mi-break.exp: Fix the duplicate test names.
928
525174e8
FW
9292021-04-20 Felix Willgerodt <felix.willgerodt@intel.com>
930
931 * gdb.base/address_space_qualifier.exp: New file.
932
392e0bcc
TT
9332021-04-19 Tom Tromey <tromey@adacore.com>
934
935 PR gdb/27742:
936 * gdb.opt/inline-locals.exp: Update kfail patterns.
937
da314dd3
TT
9382021-04-17 Tom Tromey <tom@tromey.com>
939
940 * gdb.dwarf2/gdb-index-nodebug.exp: New file.
941
3cbc7ac3
TT
9422021-04-16 Tom Tromey <tom@tromey.com>
943
944 * gdb.rust/simple.exp: Change error text.
945 * gdb.rust/expr.exp: Change error text.
946
458620aa
TT
9472021-04-16 Tom Tromey <tom@tromey.com>
948
949 * gdb.rust/simple.exp: Add parens to 'as' test.
950
321d0cd7
SM
9512021-04-16 Simon Marchi <simon.marchi@efficios.com>
952
953 * boards/simavr.exp: Set debug_flags.
954
1b6b755e
LM
9552021-04-16 Luis Machado <luis.machado@linaro.org>
956
957 * gdb.dwarf2/dw2-bfloat16.exp: New file.
958
fd5c30cd
AB
9592021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
960
961 * gdb.python/py-parameter.exp: Give a test a proper name to avoid
962 including a path in the test name.
963
41f14dc8
SM
9642021-04-15 Simon Marchi <simon.marchi@polymtl.ca>
965
966 * gdb.threads/fork-plus-threads.exp: Use foreach_with_prefix.
967
a15a276b
TT
9682021-04-15 Tom Tromey <tromey@adacore.com>
969
970 * gdb.dwarf2/arr-stride.exp: Add test.
971
5809fbf2
TT
9722021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
973
974 * gdb.base/startup-file.exp: Add more tests.
975
92e4e97a
AB
9762021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
977
978 PR cli/25956
979 * gdb.base/early-init-file.c: New file.
980 * gdb.base/early-init-file.exp: New file.
981 * lib/gdb-utils.exp (style): Handle style 'none'.
982
fcc99c42
TBA
9832021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
984
985 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use
986 @DW_INL_declared_inlined for the inline attribute.
987
34dc0f95
TBA
9882021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
989
990 * gdb.opt/inline-locals.c (scoped): New function.
991 (main): Call 'scoped'.
992 * gdb.opt/inline-locals.exp: Update with "info locals" tests
993 for scoped variables.
994 * gdb.dwarf2/dw2-inline-with-lexical-scope.c: New file.
995 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: New file.
996
ac4d323e
TBA
9972021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
998
999 * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op.
1000
6b142048
WS
10012021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
1002
1003 * gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords.
1004
82d9b280 10052021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
c8a37944
WS
1006
1007 * gdb.arch/powerpc-plxv-nonrel.s: Testcase using
1008 non-relative plxv instructions.
1009 * gdb.arch/powerpc-plxv-nonrel.exp: Testcase harness.
1010
10112021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
82d9b280 1012
e3d528d7
WS
1013 PR gdb/27525
1014 * gdb/testsuite/gdb.arch/powerpc-addpcis.exp: Testcase harness to
1015 exercise single-stepping over subpcis,lnia,addpcis instructions
1016 with displacement.
1017 * gdb/testsuite/gdb.arch/powerpc-addpcis.s: Testcase with stream
1018 of addpcis/lnia/subpcis instructions.
1019 * gdb/testsuite/gdb.arch/powerpc-lnia.exp: Testcase harness to
1020 exercise single-stepping over lnia instructions with displacement.
1021 * gdb/testsuite/gdb.arch/powerpc-lnia.s: Testcase with stream of
1022 lnia instructions.
1023
10242021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
1025
82d9b280
WS
1026 * gdb.arch/powerpc-power10.s: New test for instructions.
1027 * gdb.arch/powerpc-power10.exp: Harness to run the test.
1028
6ba4cb84
CL
10292021-4-12 Carl Love <cel@us.ibm.com>
1030
1031 * gdb.arch/vsx-vsr-float128.c: New test file.
1032 * gdb.arch/vsx-vsr-float128.exp: New expect file.
1033
9d8f3022
MM
10342021-04-12 Markus Metzger <markus.t.metzger@intel.com>
1035
1036 * gdb.btrace/reconnect.exp: Relax expected stepi output.
1037
dc2b480f
WP
10382021-04-07 Weimin Pan <weimin.pan@oracle.com>
1039
1040 * gdb.base/ctf-ptype.c: Add struct link containing a forward
1041 reference type.
1042 * gdb.base/ctf-ptype.exp: Add "ptype struct link".
1043
0a703a4c
AB
10442021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1045
1046 * gdb.fortran/dynamic-ptype-whatis.exp: New file.
1047 * gdb.fortran/dynamic-ptype-whatis.f90: New file.
1048
30ab3586
AB
10492021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1050
1051 * gdb.cp/rvalue-ref-params.cc (f3): New function.
1052 (f4): New function.
1053 (global_int): New global variable.
1054 (global_float): Likeiwse.
1055 (main): Call both new functions.
1056 * gdb.cp/rvalue-ref-params.exp: Add new tests.
1057
56d467f4
CT
10582021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1059
1060 * gdb.dwarf2/fission-relative-dwo.c: New file.
1061 * gdb.dwarf2/fission-relative-dwo.exp: New file.
1062
61dee722
AB
10632021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1064
1065 * gdb.dwarf2/fission-absolute-dwo.c: New file.
1066 * gdb.dwarf2/fission-absolute-dwo.exp: New file.
1067 * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files
1068 instead of build_executable_from_fission_assembler.
1069 * gdb.dwarf2/fission-loclists-pie.exp: Likewise.
1070 * gdb.dwarf2/fission-loclists.exp: Likewise.
1071
1072 * gdb.dwarf2/fission-multi-cu.S: Delete file.
1073 * gdb.dwarf2/fission-multi-cu.c: New file based on old
1074 fission-multi-cu1.c and fission-multi-cu2.c files.
1075 * gdb.dwarf2/fission-multi-cu1.c: Delete file.
1076 * gdb.dwarf2/fission-multi-cu2.c: Delete file.
1077 * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler.
1078 * gdb.dwarf2/fission-reread.exp: Likewise.
1079 * lib/dwarf.exp (extract_dwo_information): New proc.
1080 (strip_dwo_information): New proc.
1081 (build_executable_and_dwo_files): New proc.
1082 (build_executable_from_fission_assembler): Delete.
1083 (Dwarf::_debug_addr_index): New variable.
1084 (Dwarf::_cu_is_fission): New variable.
1085 (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index.
1086 (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base.
1087 (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index
1088 if this is a fission CU.
1089 (Dwarf::_location): Handle DW_OP_GNU_addr_index.
1090 (Dwarf::debug_addr_label): New proc.
1091 (Dwarf::cu): Initialise _cu_is_fission.
1092 (Dwarf::tu): Likewise.
1093 (Dwarf::assemble): Initialise _debug_addr_index.
1094
1fd999d9
AB
10952021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1096
1097 * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test.
1098
79c02443
AB
10992021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1100
1101 * gdb.python/py-parameter.exp: Add test for reading data-directory
1102 using gdb.parameter API.
1103
340d00fb
TV
11042021-04-06 Tom de Vries <tdevries@suse.de>
1105
1106 PR breakpoints/25884
1107 * gdb.opt/inline-cmds.exp: Remove kfail.
1108
043bcbaf
TV
11092021-04-06 Tom de Vries <tdevries@suse.de>
1110
1111 PR testsuite/27691
1112 * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core
1113 file "".
1114
ac628a06
EB
11152021-04-01 Egeyar Bagcioglu <egeyar@gmail.com>
1116
1117 * lib/pdtrace.in: Fix obvious typo.
1118
3f49d080
TT
11192021-03-31 Tom Tromey <tromey@adacore.com>
1120
1121 * lib/dwarf.exp (Dwarf::_get_args): New proc.
1122 (Dwarf::_location): Use it.
1123
cfcbd506
TV
11242021-03-31 Tom de Vries <tdevries@suse.de>
1125
1126 PR testsuite/27667
1127 * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS.
1128
8a91fbdf
SM
11292021-03-30 Simon Marchi <simon.marchi@polymtl.ca>
1130
1131 PR gdb/27541
1132 * gdb.base/index-cache-load-twice.exp: Remove.
1133 * gdb.base/index-cache-load-twice.c: Remove.
1134 * gdb.dwarf2/per-bfd-sharing.exp: New.
1135 * gdb.dwarf2/per-bfd-sharing.c: New.
1136
b953e703
TV
11372021-03-30 Tom de Vries <tdevries@suse.de>
1138
1139 PR testsuite/27604
1140 * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator.
1141
aa33ea68
TBA
11422021-03-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1143
1144 * gdb.mi/user-selected-context-sync.exp: Spin on a variable in
1145 the infinite loop to avoid a Clang bug.
1146
99066782
WS
11472021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
1148
1149 * gdb.arch/powerpc-disassembler-options.exp: Extend some test
1150 names for uniqueness.
1151 * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
1152 uniqueness.
1153
b1f3973b
AB
11542021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1155
1156 * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
1157 member.
1158 (make_container): Initialise is_array_p.
1159 * gdb.python/py-prettyprint.exp: Add new tests.
1160 * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
1161 Check is_array_p and possibly return 'array'.
1162
3c2dcf90
AB
11632021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1164
1165 * gdb.cp/breakpoint.exp: Extend test names to make them unique.
1166 * gdb.cp/casts.exp: Give tests unique names.
1167 * gdb.cp/filename.exp: Likewise.
1168 * gdb.cp/gdb2495.exp: Likewise.
1169 * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
1170 * gdb.cp/misc.exp: Rename test to make it unique.
1171 * gdb.cp/nsnested.exp: Give tests unique names.
1172 * gdb.cp/ovldbreak.exp: Likewise.
1173 * gdb.cp/pr17494.exp: Rename test to reflect what is actually
1174 being tested. This also removes the duplicate test name.
1175 * gdb.cp/ref-types.exp: Likewise.
1176 * gdb.cp/temargs.exp: Likewise.
1177
6b78370d
AB
11782021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1179
1180 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
1181 square brackets in test.
1182
baecbb3d
AB
11832021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1184
1185 * gdb.cp/maint.exp (test_first_component): Run more tests with a
1186 variable number of spaces, this removes the duplicate testing of
1187 'operator ->' which existed before.
1188
6e892297
AB
11892021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1190
1191 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
1192 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
1193 duplicates, and also to avoid having a string inside parentheses
1194 at the end of test names.
1195
ac45a6ca
AB
11962021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1197
1198 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
1199 Avoid repeated uses of 'runto', and instread just progress once
1200 through the test stopping at different breakpoints. Give comments
1201 a capital letter and full stop. Give duplicate tests unique names.
1202
323fd5b9
PA
12032021-03-25 Pedro Alves <pedro@palves.net>
1204
1205 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
1206 "target_non_stop" parameter and use it.
1207 (top level): Add "maint set target-non-stop on/off" testing axis.
1208
ba3c61fc
AB
12092021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
1210
1211 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
1212 gdb_test_multiple.
1213
bf0aecce
LM
12142021-03-24 Luis Machado <luis.machado@linaro.org>
1215
1216 * gdb.arch/aarch64-mte.c: New file.
1217 * gdb.arch/aarch64-mte.exp: New test.
1218 * gdb.base/memtag.c: New file.
1219 * gdb.base/memtag.exp: New test.
1220 * lib/gdb.exp (supports_memtag): New function.
1221
bef382e6
LM
12222021-03-24 Luis Machado <luis.machado@linaro.org>
1223
1224 * gdb.base/options.exp: Adjust for new print options.
1225 * gdb.base/with.exp: Likewise.
1226
702cf3f5
AB
12272021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
1228
1229 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
1230 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
1231
1e7fcccb
AB
12322021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
1233
1234 * gdb.dwarf2/dw2-using-debug-str.c: New file.
1235 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
1236 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
1237 not .debug_string.
1238
4829711b
TT
12392021-03-20 Tom Tromey <tom@tromey.com>
1240
1241 * gdb.base/maint.exp: Update "maint print statistics" output.
1242
e0d6d274
KB
12432021-03-19 Kevin Buettner <kevinb@redhat.com>
1244
1245 * lib/gdbserver-support.exp (gdbserver_exit): Use the
1246 "-nowait" flag when waiting for gdbserver to exit.
1247
a088215a
SST
12482021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
1249
1250 * gdb.base/info-macros.exp: Append -fdebug-macro to
1251 additional_flags for clang.
1252 * gdb.base/macscp.exp: Likewise.
1253 * gdb.base/style.exp: Likewise.
1254 * gdb.linespec/macro-relative.exp: Likewise.
1255
d0c99a23
SM
12562021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
1257 Pedro Alves <pedro@palves.net>
1258
1259 * gdb.base/run-attach-while-running.exp: New.
1260 * gdb.base/run-attach-while-running.c: New.
1261
7807d76a
AB
12622021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
1263
1264 * gdb.python/py-framefilter-addr.c: New file.
1265 * gdb.python/py-framefilter-addr.exp: New file.
1266 * gdb.python/py-framefilter-addr.py: New file.
1267
f302f9e2
AB
12682021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
1269
1270 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
1271 Make use of $gdb_test_name instead of creating a separate $test
1272 variable.
1273 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
1274 adding a '($name)' at the end of each test. This also catches the
1275 one place where '($name)' was missing, and so caused a duplicate
1276 test name.
1277 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
1278 duplicate test names based on the command being tested.
1279 * gdb.threads/signal-command-multiple-signals-pending.exp:
1280 Likewise.
1281 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
1282 avoid duplicate testnames when a test script uses this proc and
1283 also gdb_compile_pthreads.
1284 * lib/prelink-support.exp (build_executable_own_libs): Use
1285 with_test_prefix to avoid duplicate test names when we call
1286 build_executable twice.
1287
6813ceb0
TT
12882021-03-15 Tom Tromey <tromey@adacore.com>
1289
1290 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
1291
3b5c4de0
TT
12922021-03-15 Tom Tromey <tromey@adacore.com>
1293
1294 * gdb.ada/varsize_limit.exp: Add new test.
1295 * gdb.ada/varsize_limit/vsizelim.adb: Update.
1296
c04da66c
TT
12972021-03-15 Tom Tromey <tromey@adacore.com>
1298
1299 * gdb.ada/operator_call/twovecs.ads: New file.
1300 * gdb.ada/operator_call/twovecs.adb: New file.
1301 * gdb.ada/operator_call/opcall.adb: New file.
1302 * gdb.ada/operator_call.exp: New file.
1303
1ac74522
TT
13042021-03-15 Tom Tromey <tromey@adacore.com>
1305
1306 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
1307 * gdb.ada/enums_overload/enums_overload.ads: New file.
1308 * gdb.ada/enums_overload/enums_overload.adb: New file.
1309 * gdb.ada/enums_overload.exp: New file.
1310
207582c0
TT
13112021-03-15 Tom Tromey <tromey@adacore.com>
1312
1313 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
1314 Declare.
1315 * gdb.ada/assign_arr/target_wrapper.adb: New file.
1316 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
1317 Call Put.
1318 * gdb.ada/assign_arr.exp: Update.
1319
ba6a0ef3
AB
13202021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
1321
1322 * gdb.python/py-auto-load-chaining-f1.c: New file.
1323 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
1324 * gdb.python/py-auto-load-chaining-f2.c: New file.
1325 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
1326 * gdb.python/py-auto-load-chaining.c: New file.
1327 * gdb.python/py-auto-load-chaining.exp: New file.
1328
7f99d636
AB
13292021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1330
1331 * gdb.python/py-bad-printers.exp: Extend test names to make them
1332 unique.
1333 * gdb.python/py-events.exp: Likewise.
1334 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1335 * gdb.python/py-frame-inline.exp: Likewise.
1336 * gdb.python/py-frame.exp: Likewise.
1337 * gdb.python/py-infthread.exp: Likewise.
1338
323b848c
AB
13392021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1340
1341 * gdb.python/py-value-cc.exp: Remove a duplicate test.
1342
8a4efb36
AB
13432021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1344
1345 * gdb.python/lib-types.exp: Update the test to check the correct
1346 python variable.
1347
66bb1dd9
AB
13482021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1349
1350 * gdb.python/py-explore-cc.exp: Extend test names to make them
1351 unique.
1352
0125fabc
AB
13532021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1354
1355 * gdb.python/py-lookup-type.exp: Remove duplicate test.
1356
79d04157
AB
13572021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1358
1359 * gdb.python/py-symtab.exp: Extend test names to make them
1360 unique.
1361
e3e48d8f
AB
13622021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1363
1364 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
1365 names unique.
1366
2cb60e74
AB
13672021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1368
1369 * gdb.python/py-block.exp: Give tests unique names.
1370
8b12ded4
AB
13712021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1372
1373 * gdb.python/py-pp-maint.exp: Extend test names to make them
1374 unique.
1375
93598ea4
AB
13762021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1377
1378 * gdb.python/py-explore.exp: Add with_test_prefix to make test
1379 names unique.
1380
f35d6971
AB
13812021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1382
1383 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
1384
22d3e7f6
AB
13852021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1386
1387 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
1388 names unique.
1389
5fc5a1b8
AB
13902021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1391
1392 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
1393 test names unique.
1394
e3141a4d
AB
13952021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1396
1397 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
1398 unique.
1399
ccdc02ed
TT
14002021-03-09 Tom Tromey <tromey@adacore.com>
1401
1402 * gdb.base/cast-call.exp: New file.
1403 * gdb.base/cast-call.c: New file.
1404
fbb1aace
AB
14052021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
1406
1407 * gdb.gdb/python-helper.exp: New file.
1408
611aa09d
FW
14092020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
1410
1411 * gdb.fortran/intrinsics.exp: Add LOC tests.
1412
eef32f59
AB
14132021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
1414
1415 * gdb.fortran/shape.exp: New file.
1416 * gdb.fortran/shape.f90: New file.
1417
7ba155b3
AB
14182021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
1419
1420 * gdb.fortran/size.exp: New file.
1421 * gdb.fortran/size.f90: New file.
1422
e14816a8
AB
14232021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
1424
1425 * gdb.fortran/rank.exp: New file.
1426 * gdb.fortran/rank.f90: New file.
1427
d308ba78
TT
14282021-03-08 Tom Tromey <tom@tromey.com>
1429
1430 * gdb.fortran/debug-expr.exp: Update tests.
1431
d182f279
TT
14322021-03-08 Tom Tromey <tom@tromey.com>
1433
1434 * gdb.base/debug-expr.exp: Update expected dump output.
1435
a7308ce0
TT
14362021-03-06 Tom Tromey <tom@tromey.com>
1437
1438 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
1439 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
1440 * gdb.dwarf2/dwznolink.exp: New file.
1441
b0a8c2ff
MW
14422021-03-05 Mark Wielaard <mark@klomp.org>
1443
1444 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
1445
844be3f2
WP
14462021-03-06 Weimin Pan <weimin.pan@oracle.com>
1447
1448 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
1449
82333781
MM
14502021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1451
1452 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
1453
32c52999
MM
14542021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1455
1456 * gdb.btrace/non-stop.exp: Adjust expected source lines.
1457
26ed1478
MM
14582021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1459
1460 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
1461
d2c5f24e
MM
14622021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1463
1464 * gdb.btrace/exception.cc (main): Update test source.
1465 * gdb.btrace/exception.exp: Update patterns.
1466 * gdb.btrace/function_call_history.exp: Likewise.
1467
c7c7253a
MM
14682021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1469
1470 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
1471
f0778fc1
MM
14722021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1473
1474 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
1475 reverse-continue to breakpoint.
1476
e71dbd03
MM
14772021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1478
1479 * gdb.btrace/delta.exp: Remove instruction-history and
1480 function-call-history checks.
1481
b93a3ed0
MM
14822021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1483
1484 * README (Note): Add nopie_ldflag.
1485 * lib/gdb.exp (gdb_compile): Extend nopie handling.
1486
bbcdf9ab
TT
14872021-03-02 Tom Tromey <tromey@adacore.com>
1488
1489 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
1490 encodings.
1491
bb3a4efe
LS
14922021-02-27 Lancelot Six <lsix@lancelotix.com>
1493
1494 PR gdb/27393
1495 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
1496
1497
573dc0cc
TT
14982021-02-26 Tom Tromey <tom@tromey.com>
1499
1500 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
1501
f8218786
JV
15022021-02-26 Jan Vrany <jan.vrany@labware.com>
1503
1504 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1505 Remove trailing \n from expected output.
1506
cb51b708
MM
15072021-02-26 Markus Metzger <markus.t.metzger@intel.com>
1508
1509 * lib/gdb.exp (use_gdb_stub): Extend comment.
1510
64d38fdd
JM
15112021-02-25 Jan Matyas <jmatyas@codasip.com>
1512
1513 PR gdb/26819
1514 * gdb.server/stop-reply-no-thread.exp: Add two test
1515 scenarios that cover remote targets which do not have
1516 the concept of threads.
1517
d4ff3cbf
AB
15182021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1519
1520 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
1521
68337b8b
AB
15222021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1523
1524 PR fortran/26155
1525 * gdb.fortran/call-no-debug-func.f90: New file.
1526 * gdb.fortran/call-no-debug-prog.f90: New file.
1527 * gdb.fortran/call-no-debug.exp: New file.
1528
faeb9f13
AB
15292021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1530
1531 * gdb.fortran/associated.exp: New file.
1532 * gdb.fortran/associated.f90: New file.
1533
170f4b23
AB
15342021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1535
1536 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
1537
dd80d750
AB
15382021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1539
1540 * gdb.base/sect-cmd.exp: Update expected results.
1541
b91919ac
AB
15422021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1543
1544 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
1545 techniques. Enable the test for all targets.
1546
02a79309
AB
15472021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1548
1549 * gdb.base/maint-info-sections.exp: Add new tests.
1550 (check_maint_info_target_sections_output): New proc.
1551
895b7b4e
AB
15522021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1553
1554 * gdb.arch/riscv-default-tdesc.exp: New file.
1555
bc3c0632
AB
15562021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1557
1558 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
1559
acde2092
AB
15602021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
1561
1562 * gdb.arch/i386-biarch-core.exp: Add target check.
1563
7d2e5095
AKS
15642021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1565
1566 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
1567
96df3e28
AB
15682021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
1569
1570 * gdb.fortran/allocated.exp: New file.
1571 * gdb.fortran/allocated.f90: New file.
1572
a1670b72
AB
15732021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1574
1575 * gdb.fortran/lbound-ubound.exp: Remove old comment.
1576
bf3386f0
AB
15772021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1578
1579 * gdb.base/maint-info-sections.exp: Update expected output, and
1580 add additional tests. Again.
1581
4790db14
AB
15822021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1583
1584 * gdb.base/maint-info-sections.exp: Update expected output, and
1585 add additional tests.
1586
f4be6772
AB
15872021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1588
1589 * gdb.base/maint-info-sections.exp: New file, content is moved
1590 from gdb.base/maint.exp and cleaned up to use latest testsuite
1591 techniques.
1592 * gdb.base/maint.exp: Tests moved out to
1593 gdb.base/maint-info-sections.exp.
1594
25ad1e83
SM
15952021-02-10 Simon Marchi <simon.marchi@efficios.com>
1596
1597 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
1598 GDBFLAGS.
1599
e92c8eb8
AB
16002021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
1601
1602 * gdb.fortran/lbound-ubound.F90: New file.
1603 * gdb.fortran/lbound-ubound.exp: New file.
1604
ee4c3d88
TV
16052021-02-10 Tom de Vries <tdevries@suse.de>
1606
1607 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
1608 "Restore saved setting of complaints".
1609
cf2b2075
TV
16102021-02-09 Tom de Vries <tdevries@suse.de>
1611
1612 PR symtab/27341
1613 * lib/gdb.exp (with_complaints): New proc, factored out of ...
1614 (gdb_load_no_complaints): ... here.
1615 * gdb.fortran/function-calls.exp: Add test-case.
1616
b61f7811
HAQ
16172021-02-09 Abid Qadeer <abidh@codesourcery.com>
1618
1619 * gdb.threads/signal-command-handle-nopass.exp: Call
1620 'standard_testfile' before using 'testfile'.
1621 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
1622 * gdb.threads/signal-delivered-right-thread.exp: Likewise
1623 * gdb.threads/signal-sigtrap.exp: Likewise
1624
3d4aae48
LM
16252021-02-08 Luis Machado <luis.machado@linaro.org>
1626
1627 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
1628
4001d90d
TV
16292021-02-08 Tom de Vries <tdevries@suse.de>
1630
1631 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
1632
29db1eb3
AB
16332021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1634
1635 * gdb.python/tui-window-disabled.c: New file.
1636 * gdb.python/tui-window-disabled.exp: New file.
1637 * gdb.python/tui-window-disabled.py: New file.
1638
e0c23e11
AB
16392021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1640
1641 * gdb.python/tui-window.exp: Add new tests.
1642 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
1643 TestWindow object into global the_window.
1644 <remote_title>: New method.
1645 (delete_window_title): New function.
1646
1cf23996
AB
16472021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1648
1649 * gdb.tui/winheight.exp: Add more tests.
1650
2708dbbd
AB
16512021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1652
1653 * gdb.python/py-framefilter.exp: Update expected results.
1654 * gdb.python/python.exp: Update expected results.
1655
cd074e04
AB
16562021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1657
1658 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
1659 about bug in GDB, update expected results, and add more tests.
1660
5fb97639
AB
16612021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1662
1663 * gdb.tui/scroll.exp: New file.
1664 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
1665 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
1666 remaining lines up.
1667 (Term::check_region_contents): New proc.
1668 (Term::check_box_contents): Use check_region_contents.
1669
c0e56745
TV
16702021-02-06 Tom de Vries <tdevries@suse.de>
1671
1672 PR testsuite/26922
1673 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
1674 scrolling.
1675
0e857c82
TV
16762021-02-05 Tom de Vries <tdevries@suse.de>
1677
1678 PR breakpoints/27313
1679 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
1680 rejected.
1681
a22ec6e8
TV
16822021-02-05 Tom de Vries <tdevries@suse.de>
1683
1684 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
1685 * gdb.fortran/mixed-lang-stack.exp: Same.
1686
ae710496
TV
16872021-02-05 Tom de Vries <tdevries@suse.de>
1688
1689 PR exp/27265
1690 * gdb.base/complex-parts.exp: Add tests.
1691
d3b54e63
TV
16922021-02-05 Tom de Vries <tdevries@suse.de>
1693
1694 PR symtab/27307
1695 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
1696
3eccb1c8
SV
16972021-02-04 Shahab Vahedi <shahab@synopsys.com>
1698
1699 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
1700
a71501e2
PA
17012021-02-03 Pedro Alves <pedro@palves.net>
1702
1703 * gdb.threads/detach-step-over.c: New file.
1704 * gdb.threads/detach-step-over.exp: New file.
1705
92234eb1
PA
17062021-02-03 Pedro Alves <pedro@palves.net>
1707
1708 * gdb.threads/attach-non-stop.c: New file.
1709 * gdb.threads/attach-non-stop.exp: New file.
1710
2e3773ff
LS
17112021-02-02 Lancelot SIX <lsix@lancelotsix.com>
1712
1713 * gdb.base/inferior-noarg.c: New test.
1714 * gdb.base/inferior-noarg.exp: New test.
1715
e0bd9202
SM
17162021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
1717
1718 * gdb.base/scope.exp: Use proc_with_prefix.
1719
9307efbe
SM
17202021-02-02 Simon Marchi <simon.marchi@efficios.com>
1721
1722 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
1723 table proc.
1724 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
1725 .debug_rnglists table without offset array.
1726 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1727 .debug_loclists table without offset array.
1728
2b0c7f41
SM
17292021-02-02 Simon Marchi <simon.marchi@efficios.com>
1730
1731 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
1732 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
1733 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1734 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
1735 attribute
1736
ecfda20d
SM
17372021-02-02 Simon Marchi <simon.marchi@efficios.com>
1738
1739 PR gdb/26813
1740 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
1741 (loclists): New proc.
1742 * gdb.dwarf2/loclists-multiple-cus.c: New.
1743 * gdb.dwarf2/loclists-multiple-cus.exp: New.
1744 * gdb.dwarf2/loclists-sec-offset.c: New.
1745 * gdb.dwarf2/loclists-sec-offset.exp: New.
1746
6b0933da
SM
17472021-02-02 Simon Marchi <simon.marchi@efficios.com>
1748
1749 * lib/dwarf.exp (_location): Add parameters.
1750 (_handle_DW_FORM): Adjust.
1751
962effa7
SM
17522021-02-02 Simon Marchi <simon.marchi@efficios.com>
1753
1754 PR gdb/26813
1755 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
1756 (cu): Generate header for DWARF 5.
1757 (rnglists): New proc.
1758 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
1759 * gdb.dwarf2/rnglists-sec-offset.exp: New.
1760
2bd3e4b8
TV
17612021-02-02 Tom de Vries <tdevries@suse.de>
1762
1763 PR symtab/24620
1764 * gdb.dwarf2/fission-reread.exp: Add test-case.
1765
c39c8637
TV
17662021-02-01 Tom de Vries <tdevries@suse.de>
1767
1768 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
1769 * gdb.dwarf2/fission-loclists-pie.S: Same.
1770 * gdb.dwarf2/fission-loclists.S: Same.
1771 * gdb.dwarf2/fission-multi-cu.S: Same.
1772 * gdb.dwarf2/fission-reread.S: Same.
1773 * gdb.dwarf2/fission-base.exp: Use DWO.
1774 * gdb.dwarf2/fission-loclists-pie.exp: Same.
1775 * gdb.dwarf2/fission-loclists.exp: Same.
1776 * gdb.dwarf2/fission-multi-cu.exp: Same.
1777 * gdb.dwarf2/fission-reread.exp: Same.
1778
ebde6f2d
TV
17792021-01-29 Tom de Vries <tdevries@suse.de>
1780
1781 PR breakpoints/26063
1782 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
1783 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
1784
620ec3ca
TV
17852021-01-29 Tom de Vries <tdevries@suse.de>
1786
1787 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
1788
cdeba395
TV
17892021-01-28 Tom de Vries <tdevries@suse.de>
1790
1791 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
1792 in the backtrace, and use that in the rest of the test instead of
1793 hardcoded constant 3. Use "frame" instead of "up" for robustness.
1794
c47b145e
TV
17952021-01-28 Tom de Vries <tdevries@suse.de>
1796
1797 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
1798 * gdb.arch/i386-sse-stack-align.c: Same.
1799 * gdb.arch/i386-sse-stack-align.exp: Same.
1800
47918cca
AB
18012021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1802
1803 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
1804
2f985dd1
TV
18052021-01-28 Tom de Vries <tdevries@suse.de>
1806
1807 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
1808
22efa3d3
TV
18092021-01-28 Tom de Vries <tdevries@suse.de>
1810
1811 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
1812 "maint info line-table". Make PASS pattern more specific. Make
1813 FAIL pattern work for -m32.
1814
59b59f08
LS
18152021-01-27 Lancelot SIX <lsix@lancelotsix.com>
1816
1817 PR gdb/27133
1818 * gdb.base/ui-redirect.exp: Add test case that ensures that
1819 redirecting both logging and debug does not cause gdb to crash.
1820
1821
807f647c
MM
18222021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
1823
1824 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
1825
4ca40594
TV
18262021-01-26 Tom de Vries <tdevries@suse.de>
1827
1828 * gdb.threads/killed-outside.exp: Allow regular output.
1829
d0021af3
TV
18302021-01-26 Tom de Vries <tdevries@suse.de>
1831
1832 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
1833
9f6c202e
TV
18342021-01-25 Tom de Vries <tdevries@suse.de>
1835
1836 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
1837 * lib/gdb.exp: Use gdb_load_no_complaints.
1838
a625a8c9
TT
18392021-01-25 Tom Tromey <tromey@adacore.com>
1840
1841 * gdb.ada/fixed_points.exp: Add regression test.
1842 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
1843 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
1844
19184910
TT
18452021-01-25 Tom Tromey <tromey@adacore.com>
1846
1847 * gdb.ada/local-enum.exp: Add enumerator resolution test.
1848
acd6125f
TT
18492021-01-25 Tom Tromey <tromey@adacore.com>
1850
1851 * gdb.ada/local-enum.exp: New file.
1852 * gdb.ada/local-enum/local.adb: New file.
1853
1af4c9c4
TT
18542021-01-23 Tom Tromey <tom@tromey.com>
1855
1856 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
1857
705646c0
BE
18582021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
1859
1860 * gdb.base/line65535.exp: Fix test expectation.
1861
0ac85db5
SM
18622021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1863
1864 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
1865 suppression.
1866 (default_gdb_exit): Likewise.
1867 (default_gdb_spawn): Likewise.
1868 (send_gdb): Likewise.
1869 (gdb_expect): Likewise.
1870 (gdb_expect_list): Likewise.
1871 (default_gdb_init): Likewise.
1872 (gdb_suppress_entire_file): Remove.
1873 (gdb_suppress_tests): Remove.
1874 (gdb_stop_suppressing_tests): Remove.
1875 (gdb_clear_suppressed): Remove.
1876 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
1877 related to test suppression.
1878 (default_mi_gdb_start): Likewise.
1879 (mi_gdb_reinitialize_dir): Likewise.
1880 (mi_gdb_test): Likewise.
1881 (mi_run_cmd_full): Likewise.
1882 (mi_runto_helper): Likewise.
1883 (mi_execute_to): Likewise.
1884 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1885 * gdb.base/bitfields.exp: Likewise.
1886 * gdb.base/bitfields2.exp: Likewise.
1887 * gdb.base/break.exp: Likewise.
1888 * gdb.base/call-sc.exp: Likewise.
1889 * gdb.base/callfuncs.exp: Likewise.
1890 * gdb.base/dfp-test.exp: Likewise.
1891 * gdb.base/endian.exp: Likewise.
1892 * gdb.base/exprs.exp: Likewise.
1893 * gdb.base/funcargs.exp: Likewise.
1894 * gdb.base/hbreak2.exp: Likewise.
1895 * gdb.base/recurse.exp: Likewise.
1896 * gdb.base/scope.exp: Likewise.
1897 * gdb.base/sepdebug.exp: Likewise.
1898 * gdb.base/structs.exp: Likewise.
1899 * gdb.base/until.exp: Likewise.
1900 * gdb.cp/misc.exp: Likewise.
1901
9d2d8a16
AB
19022021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1903
1904 PR cli/25956
1905 * gdb.base/style.exp (run_style_tests): Add version string test.
1906 (test_startup_version_string): Use version style name.
1907 * lib/gdb-utils.exp (style): Handle version style name.
1908
e7b43072
AB
19092021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1910
1911 * gdb.base/style.exp (limited_style): New proc.
1912 (clean_restart_and_disable): New proc.
1913 (run_style_tests): New proc. Most of the old tests from this file
1914 are now in this proc.
1915 (test_startup_version_string): New proc. Reamining test from the
1916 old file is in this proc.
1917
2189c312
SM
19182021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1919
1920 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1921 Adjust to "set debug remote" changes.
1922
cd211c75
LM
19232021-01-21 Luis Machado <luis.machado@linaro.org>
1924
1925 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
1926 message.
1927
730af663
SM
19282021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1929
1930 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
1931
325d39e4
HD
19322021-01-21 Hannes Domani <ssbssa@yahoo.de>
1933
1934 PR python/19151
1935 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
1936
c3e96aa7
SM
19372021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1938
1939 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
1940
6571ffc6
SM
19412021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1942
1943 * lib/tuiterm.exp: Add links in comments.
1944
7c794afd
TV
19452021-01-20 Tom de Vries <tdevries@suse.de>
1946
1947 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
1948 offset.
1949
1402665c
TV
19502021-01-20 Tom de Vries <tdevries@suse.de>
1951
1952 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
1953
6f52fdf4
SDJ
19542021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
1955
1956 * gdb.arch/amd64-stap-expressions.S: New file.
1957 * gdb.arch/amd64-stap-expressions.exp: New file.
1958
14852123
TV
19592021-01-19 Tom de Vries <tdevries@suse.de>
1960
1961 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
1962 sequence.
1963
0c4e2c6c
TV
19642021-01-19 Tom de Vries <tdevries@suse.de>
1965
1966 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
1967
02baa133
AB
19682021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
1969
1970 * gdb.fortran/array-slices.exp (run_test): Avoid including
1971 addresses in test names.
1972
10f92414
TV
19732021-01-15 Tom de Vries <tdevries@suse.de>
1974
1975 PR testsuite/26997
1976 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
1977 when adding sizeof.
1978
116d0cf1
TV
19792021-01-14 Tom de Vries <tdevries@suse.de>
1980
1981 PR testsuite/24590
1982 * gdb.base/style.exp: Handle shorter argv in frame command output.
1983
8f66807b
AB
19842021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1985
1986 PR gdb/26819
1987 * gdb.server/stop-reply-no-thread-multi.c: New file.
1988 * gdb.server/stop-reply-no-thread-multi.exp: New file.
1989
3f94e588
TV
19902021-01-12 Tom de Vries <tdevries@suse.de>
1991
1992 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
1993 (main): Remove call to have_mpx.
1994 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
1995 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
1996 (main): Remote call to have_mpx.
1997 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
1998 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
1999 (main): Remove call to have_mpx.
2000 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
2001 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
2002 (main): Remove call to have_mpx.
2003 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
2004 * gdb.arch/i386-mpx.c (have_mpx): Remove.
2005 (main): Remote call to have_mpx.
2006 * gdb.arch/i386-mpx.exp: Use have_mpx.
2007 * lib/gdb.exp (have_mpx): New proc.
2008
5291fe3c
SP
20092021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2010
2011 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
2012
18bfb505
TV
20132021-01-12 Tom de Vries <tdevries@suse.de>
2014
2015 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
2016
ce38f5ed
AB
20172021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2018
2019 * gdb.fortran/debug-expr.exp: Add new tests.
2020
7c654b71
AB
20212021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2022
2023 * gdb.fortran/dot-ops.exp: Add new tests.
2024
10dadadc
TV
20252021-01-11 Tom de Vries <tdevries@suse.de>
2026
2027 PR testsuite/26968
2028 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
2029 Move insn setting $eax to before probe point.
2030
66beed02
TT
20312021-01-09 Tom Tromey <tom@tromey.com>
2032
2033 * gdb.trace/ax.exp: Do not require an "ext".
2034
8fc48b79
TT
20352021-01-08 Tom Tromey <tromey@adacore.com>
2036
2037 * gdb.ada/voidctx/pck.adb: New file.
2038 * gdb.ada/voidctx/pck.ads: New file.
2039 * gdb.ada/voidctx/voidctx.adb: New file.
2040 * gdb.ada/voidctx.exp: New file.
2041
6abd4cf2
SM
20422021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
2043
2044 PR gdb/27157
2045 * gdb.base/empty-host-env-vars.exp: New test.
2046
d00f0868
AB
20472021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
2048
2049 * gdb.base/completion.exp: Add a new test.
2050
3c8c6de2
AB
20512021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
2052
2053 * gdb.fortran/intvar-dynamic-types.exp: New file.
2054 * gdb.fortran/intvar-dynamic-types.f90: New file.
2055
e3436813
AB
20562021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
2057
2058 * gdb.fortran/intvar-array.exp: New file.
2059 * gdb.fortran/intvar-array.f90: New file.
2060
d4813f10
TT
20612021-01-07 Tom Tromey <tromey@adacore.com>
2062
2063 * gdb.ada/assign_arr.exp: Add 'others' test.
2064
b49180ac
TT
20652021-01-06 Tom Tromey <tromey@adacore.com>
2066
2067 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
2068 (FP4_Type): New type.
2069 (FP4_Var): New variable.
2070 * gdb.ada/fixed_points/fixed_points.adb: Update.
2071 * gdb.ada/fixed_points.exp: Add tests for binary operators.
2072
3c55062c
SM
20732021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
2074
2075 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
2076 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2077 Pass prompt containing debug print to gdb_test_sequence.
2078
e4ad960a
TV
20792021-01-04 Tom de Vries <tdevries@suse.de>
2080
2081 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
2082
3ec3145c
SM
20832021-01-04 Simon Marchi <simon.marchi@efficios.com>
2084
2085
2086
8dc558a0
SM
20872021-01-04 Simon Marchi <simon.marchi@efficios.com>
2088
2089 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
2090 * gdb.server/connect-without-multi-process.exp: Likewise.
2091 * gdb.server/exit-multiple-threads.exp: Likewise.
2092 * gdb.server/ext-attach.exp: Likewise.
2093 * gdb.server/ext-restart.exp: Likewise.
2094 * gdb.server/ext-run.exp: Likewise.
2095 * gdb.server/ext-wrapper.exp: Likewise.
2096 * gdb.server/multi-ui-errors.exp: Likewise.
2097 * gdb.server/no-thread-db.exp: Likewise.
2098 * gdb.server/reconnect-ctrl-c.exp: Likewise.
2099 * gdb.server/run-without-local-binary.exp: Likewise.
2100 * gdb.server/server-kill.exp: Likewise.
2101 * gdb.server/server-run.exp: Likewise.
2102 * gdb.server/solib-list.exp: Likewise.
2103 * gdb.server/stop-reply-no-thread.exp: Likewise.
2104 * gdb.server/wrapper.exp: Likewise.
2105 * gdb.server/sysroot.exp: Increase timeout when testing the
2106 target: sysroot.
2107
d8387cc8
SM
21082021-01-04 Simon Marchi <simon.marchi@efficios.com>
2109
2110 * gdb.server/server-run.exp: Use clean_restart.
2111
5169ae34
SM
21122021-01-04 Simon Marchi <simon.marchi@efficios.com>
2113
2114 * gdb.server/ext-run.exp: Use clean_restart.
2115
7b0ff8a2
SM
21162021-01-04 Simon Marchi <simon.marchi@efficios.com>
2117
2118 * gdb.server/stop-reply-no-thread.exp: Use build_executable
2119 instead of prepare_for_testing.
2120
a754fbdf
SM
21212021-01-04 Simon Marchi <simon.marchi@efficios.com>
2122
2123 * gdb.server/solib-list.exp: Use clean_restart.
2124
c5e71b33
TV
21252021-01-04 Tom de Vries <tdevries@suse.de>
2126
2127 * gdb.base/morestack.c: Remove printf.
2128 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
2129
9b243007
TT
21302020-12-31 Tom Tromey <tom@tromey.com>
2131
2132 * gdb.rust/simple.exp: Update output for Rust 1.49.
2133
4ff509e7
BE
21342020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
2135
2136 * gdb.cp/step-and-next-inline.exp: Fix test case.
2137
391750c3
SM
21382020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
2139
2140 * gdb.python/py-frame-args.exp: De-duplicate test names.
2141
b7874836
AB
21422020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2143
2144 PR gdb/27059
2145 * gdb.dwarf2/dyn-type-unallocated.c: New file.
2146 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
2147
e1ff6226
PW
21482020-12-21 Peter Waller <p@pwaller.net>
2149
2150 * gdb.base/style-interp-exec-mi.exp: New.
2151 * gdb.base/style-interp-exec-mi.c: New.
2152
ca01f1bf
SM
21532020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2154
2155 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
2156 gdb_test. Use proc_with_prefix.
2157
0fe69a94
MM
21582020-12-21 Markus Metzger <markus.t.metzger@intel.com>
2159
2160 * gdb.btrace/exception.exp: Build with nopie.
2161 * gdb.btrace/function_call_history.exp: Likewise.
2162 * gdb.btrace/unknown_functions.exp: Likewise.
2163
806e7575
MM
21642020-12-21 Markus Metzger <markus.t.metzger@intel.com>
2165
2166 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
2167
493d2172
MM
21682020-12-21 Markus Metzger <markus.t.metzger@intel.com>
2169
2170 * gdb.python/py-record-btrace.exp: Make test names unique.
2171 * gdb.python/py-record-full.exp: Likewise.
2172
1a1c0afc
MM
21732020-12-21 Markus Metzger <markus.t.metzger@intel.com>
2174
2175 * gdb.btrace/data.exp: Make test names unique.
2176 * gdb.btrace/delta.exp: Likewise.
2177 * gdb.btrace/enable.exp: Likewise.
2178 * gdb.btrace/function_call_history.exp: Likewise.
2179 * gdb.btrace/nohist.exp: Likewise.
2180 * gdb.btrace/non-stop.exp: Likewise.
2181 * gdb.btrace/rn-dl-bind.exp: Likewise.
2182 * gdb.btrace/step.exp: Likewise.
2183 * gdb.btrace/stepi.exp: Likewise.
2184 * gdb.btrace/tailcall.exp: Likewise.
2185
98d837f0
MM
21862020-12-21 Markus Metzger <markus.t.metzger@intel.com>
2187
2188 * gdb.btrace/enable.exp: Update error message.
2189 * gdb.btrace/multi-inferior.exp: Likewise.
2190 * gdb.btrace/reconnect.exp: Likewise.
2191 * gdb.python/py-record-btrace.exp: Likewise.
2192 * gdb.python/py-record-full.exp: Likewise.
2193
c541fa7c
TV
21942020-12-20 Tom de Vries <tdevries@suse.de>
2195
2196 * lib/gdb.exp (save_target_board_info): New proc.
2197 (gdb_compile_shlib): Use save_target_board_info.
2198
60108e47
TV
21992020-12-19 Tom de Vries <tdevries@suse.de>
2200
2201 * lib/gdb.exp (supports_scalar_storage_order_attribute)
2202 (supports_gnuc): New proc.
2203 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
2204 test_compiler_info calls. Add unsupported message.
2205 * gdb.base/endianity.c: Use TEST_SSO.
2206
fa639f55
HD
22072020-12-19 Hannes Domani <ssbssa@yahoo.de>
2208
2209 PR exp/27070
2210 * gdb.python/compare-enum-type-a.c: New test.
2211 * gdb.python/compare-enum-type-b.c: New test.
2212 * gdb.python/compare-enum-type.exp: New file.
2213 * gdb.python/compare-enum-type.h: New test.
2214
4aea001f
HD
22152020-12-18 Hannes Domani <ssbssa@yahoo.de>
2216
2217 * gdb.python/py-format-string.exp: Add tests for address keyword.
2218
b3f9469b
HD
22192020-12-18 Hannes Domani <ssbssa@yahoo.de>
2220
2221 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
2222
86ef42bd
TT
22232020-12-18 Tom Tromey <tromey@adacore.com>
2224
2225 * gdb.ada/fixed_points.exp: Also run with
2226 -fgnat-encodings=minimal. Update expected output.
2227
93df4a1d
SM
22282020-12-16 Simon Marchi <simon.marchi@efficios.com>
2229
2230 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
2231 * gdb.base/continue-all-already-running.exp: Likewise.
2232 * gdb.base/moribund-step.exp: Likewise.
2233 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
2234
592995fa
TV
22352020-12-16 Tom de Vries <tdevries@suse.de>
2236
2237 * gdb.base/batch-preserve-term-settings.exp:
2238
1e61189d
TV
22392020-12-16 Tom de Vries <tdevries@suse.de>
2240
2241 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
2242 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
2243
19007d95
LM
22442020-12-16 Luis Machado <luis.machado@linaro.org>
2245
2246 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
2247 pointer-based memory accesses.
2248 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
2249 hw watchpoint cases.
2250
a33fc9ae
RK
22512020-12-15 Rae Kim <rae.kim@gmail.com>
2252
2253 * gdb.base/document.exp: New test.
2254
0e5ad442
TT
22552020-12-15 Tom Tromey <tromey@adacore.com>
2256
2257 * gdb.base/style.exp: Add deprecation tests.
2258
60598dbd
SM
22592020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
2260
2261 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
2262
8cd6d968
MW
22632020-12-14 Mark Wielaard <mark@klomp.org>
2264
2265 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
2266 specially, set attr_form_comment to the actual FORM string used.
2267
eab9267c
MW
22682020-12-14 Mark Wielaard <mark@klomp.org>
2269
2270 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
2271 _constants(SPECIAL_expr) here, but set it...
2272 (Dwarf::cu): ...here based on _cu_version.
2273
2f413264
TV
22742020-12-14 Tom de Vries <tdevries@suse.de>
2275
2276 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
2277 pass -fPIC.
2278 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
2279 * gdb.base/break-probes.exp: Same.
2280 * gdb.base/ctxobj.exp: Same.
2281 * gdb.base/dso2dso.exp: Same.
2282 * gdb.base/global-var-nested-by-dso.exp: Same.
2283 * gdb.base/info-shared.exp: Same.
2284 * gdb.base/jit-reader-simple.exp: Same.
2285 * gdb.base/print-file-var.exp: Same.
2286 * gdb.base/skip-solib.exp: Same.
2287 * gdb.btrace/dlopen.exp: Same.
2288
18f1cb1f
TV
22892020-12-14 Tom de Vries <tdevries@suse.de>
2290
2291 PR testsuite/26963
2292 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
2293
519155c9
TV
22942020-12-14 Tom de Vries <tdevries@suse.de>
2295
2296 PR testsuite/26962
2297 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
2298 cast it to its declared type".
2299
153f6e6c
TV
23002020-12-14 Tom de Vries <tdevries@suse.de>
2301
2302 PR testsuite/26951
2303 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
2304 shell prompt.
2305
86b44259
TT
23062020-12-14 Tom Tromey <tromey@adacore.com>
2307
2308 * gdb.ada/nested.exp: Add new tests.
2309 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
2310
e26624c6
TT
23112020-12-14 Tom Tromey <tromey@adacore.com>
2312
2313 * gdb.dwarf2/ada-thick-pointer.exp: New file.
2314
a3bdae4e
TT
23152020-12-14 Tom Tromey <tromey@adacore.com>
2316
2317 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
2318
862fcbd8
TV
23192020-12-13 Tom de Vries <tdevries@suse.de>
2320
2321 PR testsuite/26953
2322 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
2323 attribute support if compiler doesn't support it.
2324
a406a98e
TV
23252020-12-13 Tom de Vries <tdevries@suse.de>
2326
2327 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
2328 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
2329 source to shared lib. Add ada to options.
2330
5d7e6ed0
TV
23312020-12-13 Tom de Vries <tdevries@suse.de>
2332
2333 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
2334 calling gnatbind and gnatlink.
2335
ee9812a0
AB
23362020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
2337
2338 * gdb.base/dcache-flush.c: New file.
2339 * gdb.base/dcache-flush.exp: New file.
2340
50a5f187
AB
23412020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
2342
2343 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
2344 commands.
2345 * gdb.base/killed-outside.exp: Likewise.
2346 * gdb.opt/inline-bt.exp: Likewise.
2347 * gdb.perf/gmonster-null-lookup.py: Likewise.
2348 * gdb.perf/gmonster-print-cerr.py: Likewise.
2349 * gdb.perf/gmonster-ptype-string.py: Likewise.
2350 * gdb.python/py-unwind.exp: Likewise.
2351
19c659f1
AB
23522020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2353
2354 * gdb.base/commands.exp: Update expected results.
2355
9ef6d4a1
AB
23562020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2357
2358 PR cli/15104
2359 * gdb.base/commands.exp: Add additional tests.
2360 * gdb.base/completion.exp: Add additional tests.
2361
1536146f
AB
23622020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2363
2364 * gdb.base/completion.exp: Add additional tests.
2365
346e7e19
TV
23662020-12-11 Tom de Vries <tdevries@suse.de>
2367
2368 PR testsuite/26991
2369 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
2370 violations by setting bounds registers if the bounds are passed in the
2371 Bounds Table.
2372
9cd7a95a
TV
23732020-12-11 Tom de Vries <tdevries@suse.de>
2374
2375 PR testsuite/26954
2376 * gdb.base/float128.exp: Detect and handle no mpfr support.
2377
4483a8e7
SM
23782020-12-10 Simon Marchi <simon.marchi@efficios.com>
2379
2380 PR gdb/24694
2381 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
2382 calls.
2383
10067028
TV
23842020-12-10 Tom de Vries <tdevries@suse.de>
2385
2386 PR testsuite/26947
2387 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
2388 braces for tcl 8.5 and earlier.
2389
5b56203a
SM
23902020-12-09 Simon Marchi <simon.marchi@efficios.com>
2391
2392 PR 26875, PR 26901
2393 * gdb.base/flexible-array-member.c: New test.
2394 * gdb.base/flexible-array-member.exp: New test.
2395
b46551b2
TV
23962020-12-08 Tom de Vries <tdevries@suse.de>
2397
2398 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
2399 using is_amd64_regs_target.
2400
8439f446
TV
24012020-12-08 Tom de Vries <tdevries@suse.de>
2402
2403 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
2404 self_id.
2405
bc545da7
PA
24062020-12-07 Pedro Alves <pedro@palves.net>
2407
2408 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
2409 'additional_flags' variable.
2410
1f58f6c2
TBA
24112020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2412
2413 * gdb.linespec/explicit.exp: Extend with a test to check completing
2414 '-' after seemingly complete options.
2415
5759831a
TBA
24162020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2417
2418 * gdb.linespec/keywords.exp: Add tests to check positional
2419 flexibility of "-force-condition".
2420
21e051b3
TBA
24212020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2422
2423 * gdb.base/bp-cmds-run-with-ex.c: New file.
2424 * gdb.base/bp-cmds-run-with-ex.exp: New file.
2425 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
2426 * gdb.gdb/python-interrupts.exp: Update the call to
2427 'catch_command_errors' with the new argument.
2428 * gdb.gdb/python-selftest.exp: Ditto.
2429
187b041e
SM
24302020-12-04 Simon Marchi <simon.marchi@efficios.com>
2431
2432 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
2433 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
2434 * gdb.threads/non-stop-fair-events.exp: Likewise.
2435
3b7a962d
SM
24362020-12-04 Simon Marchi <simon.marchi@efficios.com>
2437
2438 * gdb.threads/step-over-exec.exp: New.
2439 * gdb.threads/step-over-exec.c: New.
2440 * gdb.threads/step-over-exec-execd.c: New.
2441 * lib/my-syscalls.S: New.
2442 * lib/my-syscalls.h: New.
2443
e633b117
SM
24442020-12-04 Simon Marchi <simon.marchi@efficios.com>
2445
2446 * lib/dwarf.exp (declare_labels): Use name as text if text is
2447 not provided.
2448
67748e0f
TV
24492020-12-04 Tom de Vries <tdevries@suse.de>
2450
2451 PR testsuite/26990
2452 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
2453 are unsupported.
2454
a8d13675
TV
24552020-12-04 Tom de Vries <tdevries@suse.de>
2456
2457 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
2458 clause.
2459
f17727b3
TV
24602020-12-04 Tom de Vries <tdevries@suse.de>
2461
2462 * gdb.reverse/insn-reverse.exp: Fix count handling.
2463
a1499830
TV
24642020-12-04 Tom de Vries <tdevries@suse.de>
2465
2466 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
2467 __x86_64__.
2468
9c027c2f
TV
24692020-12-04 Tom de Vries <tdevries@suse.de>
2470
2471 * gdb.reverse/insn-reverse.c (test_nr): New var.
2472 (usage, parse_args): New function.
2473 (main): Call parse_args. Only run test for test_nr.
2474 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
2475 and bail out. Run subtests individually, using an inferior arg
2476 specifying the subtest.
2477
533b2ae0
AB
24782020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
2479
2480 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
2481
e4502042
AB
24822020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
2483
2484 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
2485 update test to use this.
2486
f55a9a37
SM
24872020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
2488
2489 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
2490
0a6155a0
SM
24912020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
2492
2493 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
2494 (do_test): Don't use with_test_prefix.
2495 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
2496 (do_test): Don't use with_test_prefix.
2497 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
2498 (do_test): Don't use with_test_prefix.
2499 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
2500 (do_test): Don't use with_test_prefix.
2501
4d56d64a
SM
25022020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
2503
2504 * gdb.threads/non-ldr-exit.exp: Fix comment.
2505
54e75f29
AB
25062020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2507
2508 * gdb.xml/maint-xml-dump-03.xml: New file.
2509
7ce05d21
TV
25102020-11-30 Tom de Vries <tdevries@suse.de>
2511
2512 PR symtab/26905
2513 * gdb.dwarf2/count.exp: Remove kfails.
2514
50757f95
TBA
25152020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2516
2517 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
2518 indices.
2519
4afa9fd9
JB
25202020-11-24 Joel Brobecker <brobecker@adacore.com>
2521
2522 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
2523 the "ptype pck__fp1_range_var" test for the module-2 and pascal
2524 languages. Remove the associated setup_xfail.
2525
15a491af
SM
25262020-11-23 Simon Marchi <simon.marchi@efficios.com>
2527
2528 * lib/gdb.exp (gdb_assert): Show error message on error.
2529
891615f0
TV
25302020-11-23 Tom de Vries <tdevries@suse.de>
2531
2532 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
2533 * gdb.ada/mod_from_name.exp: Same.
2534 * gdb.ada/pckd_arr_ren.exp: Same.
2535
19922582
SM
25362020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2537
2538 * gdb.base/template.exp: New.
2539 * gdb.base/template.c: New.
2540
117c628d
GB
25412020-11-22 Gary Benson <gbenson@redhat.com>
2542
2543 PR gdb/26905
2544 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
2545 is defined using a DW_AT_count which references another DIE.
2546
da39d3ba
TV
25472020-11-21 Tom de Vries <tdevries@suse.de>
2548
2549 * gdb.base/vla-ptr.exp: Add XFAIL.
2550
a5c641b5
AB
25512020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2552
2553 * gdb.fortran/array-slices-bad.exp: New file.
2554 * gdb.fortran/array-slices-bad.f90: New file.
2555 * gdb.fortran/array-slices-sub-slices.exp: New file.
2556 * gdb.fortran/array-slices-sub-slices.f90: New file.
2557 * gdb.fortran/array-slices.exp: Rewrite tests.
2558 * gdb.fortran/array-slices.f90: Rewrite tests.
2559 * gdb.fortran/vla-sizeof.exp: Correct expected results.
2560
a15a5258
AB
25612020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2562
2563 * gdb.base/completion.exp: Add new completion tests.
2564
7cb2893d
SM
25652020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
2566
2567 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
2568 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2569 * gdb.mi/mi-nsintrall.exp: Likewise.
2570 * gdb.mi/mi-nsmoribund.exp: Likewise.
2571 * gdb.mi/mi-nsthrexec.exp: Likewise.
2572 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2573
cf144ec8
SM
25742020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
2575
2576 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
2577 of perror.
2578
6b6a3e05
JM
25792020-11-18 Joseph Myers <joseph@codesourcery.com>
2580
2581 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
2582 $arg.exe exists but $arg does not.
2583
811bdca0
GB
25842020-11-17 Gary Benson <gbenson@redhat.com>
2585
2586 * gdb.trace/trace-common.h (x86_trace_dummy): Add
2587 __attribute__ ((used)).
2588
c72e3136
AB
25892020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
2590
2591 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
2592
037d7135
AB
25932020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
2594
2595 * gdb.base/completion.exp: Add new tests.
2596
119e99bb
TT
25972020-11-16 Tom Tromey <tromey@adacore.com>
2598
2599 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
2600 tests.
2601
b74dbc20
JB
26022020-11-15 Joel Brobecker <brobecker@adacore.com>
2603
2604 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
2605 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
2606 (main): Add reference to pck__fp1_var2.
2607 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
2608
0a12719e
JB
26092020-11-15 Joel Brobecker <brobecker@adacore.com>
2610
2611 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
2612
0c9150e4
JB
26132020-11-15 Joel Brobecker <brobecker@adacore.com>
2614
2615 * gdb.ada/fixed_points.exp: Add ptype tests.
2616 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
2617
b26daff9
JB
26182020-11-15 Joel Brobecker <brobecker@adacore.com>
2619
2620 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
2621
09584414
JB
26222020-11-15 Joel Brobecker <brobecker@adacore.com>
2623
2624 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
2625 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
2626 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
2627 New files.
2628 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
2629
2630 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
2631 New files.
2632
9dd02fc0
AB
26332020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
2634
2635 PR cli/26879
2636 * gdb.fortran/completion.exp: New file.
2637 * gdb.fortran/completion.f90: New file.
2638
5643c500
JM
26392020-11-12 Joseph Myers <joseph@codesourcery.com>
2640
2641 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
2642 but $arg does not.
2643
7bea47f0
AB
26442020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
2645
2646 * gdb.fortran/types.exp: Add more tests.
2647
1f2624a3
TT
26482020-11-12 Tom Tromey <tom@tromey.com>
2649
2650 PR rust/26799:
2651 * gdb.rust/traits.exp: Remove kfails.
2652
9e74f0ae
GB
26532020-11-12 Gary Benson <gbenson@redhat.com>
2654
2655 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
2656 statement.
2657
acb994fa
SM
26582020-11-11 Simon Marchi <simon.marchi@efficios.com>
2659
2660 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
2661 always-inserted" axis.
2662 (do_test): Add breakpoint_always_inserted parameter.
2663
95016fd2
TT
26642020-11-10 Tom Tromey <tromey@adacore.com>
2665
2666 * gdb.ada/bias.exp: Update.
2667 * gdb.ada/bias/bias.adb (X): Change value.
2668
83100a74
GB
26692020-11-10 Gary Benson <gbenson@redhat.com>
2670
2671 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
2672 regexp fragment in parentheses to prevent false matching.
2673
6ff174a7
GB
26742020-11-10 Gary Benson <gbenson@redhat.com>
2675
2676 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
2677
eb24648c
GB
26782020-11-10 Gary Benson <gbenson@redhat.com>
2679
2680 * gdb.cp/step-and-next-inline.exp: Only require
2681 -gstatement-frontiers when building with GCC.
2682 Only setup KFAIL's for GCC issues when using
2683 a GCC-built executable.
2684
86775fab
AB
26852020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
2686
2687 * gdb.base/debug-expr.c: Add extra function to allow for an
2688 additional test.
2689 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
2690 to this proc with gdb_test_debug_expr. Add an extra test.
2691 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
2692 to this proc with gdb_test_debug_expr, give the tests names
2693 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
2694 calls to this proc with gdb_test_debug_expr, give the tests names
2695 * gdb.fortran/debug-expr.exp: New file.
2696 * gdb.fortran/debug-expr.f90: New file.
2697 * lib/gdb.exp (gdb_test_debug_expr): New proc.
2698
a1945bd4
SM
26992020-11-06 Simon Marchi <simon.marchi@efficios.com>
2700
2701 * lib/dwarf.exp (ranges): Handle "base" and "range" as
2702 proceduresu.
2703 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
2704 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
2705 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
2706 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
2707 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
2708 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
2709 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
2710 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
2711
9c91c725
TT
27122020-11-04 Tom Tromey <tromey@adacore.com>
2713
2714 * gdb.ada/funcall_ref.exp: Update.
2715 * gdb.ada/var_rec_arr.exp: Update.
2716
8d9fd3a1
TT
27172020-11-04 Tom Tromey <tromey@adacore.com>
2718
2719 * gdb.ada/rec_ptype.exp: New file.
2720 * gdb.ada/rec_ptype/main.adb: New file.
2721 * gdb.ada/rec_ptype/p.ads: New file.
2722
d8f62e84
TT
27232020-11-04 Tom Tromey <tromey@adacore.com>
2724
2725 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
2726 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
2727 (PT_Full): New variable.
2728 * gdb.ada/tick_length_array_enum_idx/pck.adb
2729 (Full_PT): New type.
2730
7ff5b937
TT
27312020-11-04 Tom Tromey <tromey@adacore.com>
2732
2733 * gdb.ada/array_of_variant.exp: New file.
2734 * gdb.ada/array_of_variant/p.adb: New file.
2735 * gdb.ada/array_of_variant/pck.ads: New file.
2736 * gdb.ada/array_of_variant/pck.adb: New file.
2737
10f6a3ad
TT
27382020-11-04 Tom Tromey <tromey@adacore.com>
2739
2740 * gdb.ada/enum_idx_packed.exp: Add test.
2741 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
2742 New variable.
2743 * gdb.ada/enum_idx_packed/pck.ads (Short)
2744 (Multi_Dimension, Multi_Dimension_Access): New types.
2745
b72795a8
TT
27462020-11-04 Tom Tromey <tromey@adacore.com>
2747
2748 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
2749
24aa1b02
TT
27502020-11-04 Tom Tromey <tromey@adacore.com>
2751
2752 * gdb.ada/set_pckd_arr_elt.exp: Also test
2753 -fgnat-encodings=minimal. Add tests.
2754 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
2755 Call Update_Small a second time.
2756 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
2757 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
2758 (Variant_Access): New types.
2759 (New_Variant): Declare.
2760
c9a28cbe
TT
27612020-11-04 Tom Tromey <tromey@adacore.com>
2762
2763 * gdb.ada/mod_from_name.exp: Test printing slice.
2764
57567375
TT
27652020-11-04 Tom Tromey <tromey@adacore.com>
2766
2767 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
2768 values.
2769 * gdb.ada/access_to_unbounded_array.exp: Test different
2770 -fgnat-encodings values.
2771 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
2772 values.
2773 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
2774 values.
2775 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
2776 values.
2777 * gdb.ada/array_of_variable_length.exp: Test different
2778 -fgnat-encodings values.
2779 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
2780 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
2781 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
2782 change.
2783 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
2784 values.
2785 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
2786 * gdb.ada/out_of_line_in_inlined.exp: Test different
2787 -fgnat-encodings values.
2788 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
2789 values.
2790 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
2791 values.
2792 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
2793 -fgnat-encodings values.
2794 * gdb.ada/variant_record_packed_array.exp: Test different
2795 -fgnat-encodings values.
2796
a7400e44
TT
27972020-11-04 Tom Tromey <tromey@adacore.com>
2798
2799 * gdb.ada/enum_idx_packed.exp: Add tests.
2800 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
2801 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
2802 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
2803 declarations.
2804
c40907bf
TV
28052020-11-03 Tom de Vries <tdevries@suse.de>
2806
2807 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
2808 terminator comments.
2809 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
2810 terminator.
2811
f468977a
SM
28122020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
2813
2814 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
2815 integer format test with regexp.
2816
1c2bec19
GB
28172020-11-02 Gary Benson <gbenson@redhat.com>
2818
2819 * gdb.base/print-file-var.exp (test): Separate compiler and
2820 linker options, and build using build_executable_from_specs
2821 to accommodate this.
2822
6539a36d
GB
28232020-11-02 Gary Benson <gbenson@redhat.com>
2824
2825 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
2826 for .c files compiled as C++ with Clang if any shared
2827 libraries are specified.
2828
7ea44a51
GB
28292020-11-02 Gary Benson <gbenson@redhat.com>
2830
2831 * lib/attributes.h: New header.
2832 * gdb.base/backtrace.c: Include the above. Replace
2833 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
2834 * gdb.base/infcall-nested-structs.c: Likewise.
2835 * gdb.base/vla-optimized-out.c: Likewise.
2836
ab8f783d
TV
28372020-11-02 Tom de Vries <tdevries@suse.de>
2838
2839 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
2840
d77c9224
JB
28412020-11-01 Joel Brobecker <brobecker@adacore.com>
2842
2843 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
2844 System.Min_Int and System.Max_Int with smaller hardcoded
2845 constants.
2846
0e5b0dd0
SM
28472020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2848
2849 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
2850 * configure: Re-generate.
2851
136821d9
SM
28522020-10-30 Simon Marchi <simon.marchi@efficios.com>
2853
2854 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
2855 expected output.
2856
b78b3a29
TBA
28572020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2858
2859 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
2860 behavior.
2861 * gdb.base/paginate-bg-execution.exp: Ditto.
2862 * gdb.base/paginate-inferior-exit.exp: Ditto.
2863 * gdb.base/double-prompt-target-event-error.c: Remove.
2864 * gdb.base/double-prompt-target-event-error.exp: Remove.
2865
cfaa8f76
TBA
28662020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2867
2868 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
2869 inferiors' and 'detach inferiors' do not change the current
2870 inferior.
2871
0ad0e70c
TV
28722020-10-29 Tom de Vries <tdevries@suse.de>
2873
2874 * gdb.threads/tls.exp: Fix DUPLICATEs.
2875
99cc6b2a
TV
28762020-10-28 Tom de Vries <tdevries@suse.de>
2877
2878 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
2879
efe9b873
TV
28802020-10-28 Tom de Vries <tdevries@suse.de>
2881
2882 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
2883 * gdb.base/reread.exp: Same.
2884
6b68fd45
TV
28852020-10-28 Tom de Vries <tdevries@suse.de>
2886
2887 * lib/gdb.exp (readnow): Handle arg.
2888 * gdb.rust/traits.exp: Add KFAILs for -readnow.
2889
32a5f98a
TV
28902020-10-28 Tom de Vries <tdevries@suse.de>
2891
2892 * gdb.base/relocate.exp: Update regexp for -readnow.
2893
f93b8760
TV
28942020-10-28 Tom de Vries <tdevries@suse.de>
2895
2896 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
2897 -readnow.
2898
1b00ef06
TV
28992020-10-28 Tom de Vries <tdevries@suse.de>
2900
2901 PR symtab/26772
2902 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
2903 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
2904
364bb903
TV
29052020-10-28 Tom de Vries <tdevries@suse.de>
2906
2907 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
2908 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
2909 complaint during file command for -readnow.
2910
445a033f
TV
29112020-10-28 Tom de Vries <tdevries@suse.de>
2912
2913 * gdb.cp/nsalias.exp: Fix typo in test name.
2914
fdd67a42
TV
29152020-10-28 Tom de Vries <tdevries@suse.de>
2916
2917 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
2918
706baf4c
TV
29192020-10-28 Tom de Vries <tdevries@suse.de>
2920
2921 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
2922 -readnow.
2923
b448cca5
TV
29242020-10-27 Tom de Vries <tdevries@suse.de>
2925
2926 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
2927
5868da03
TV
29282020-10-27 Tom de Vries <tdevries@suse.de>
2929
2930 * gdb.base/maint.exp: Update for -readnow.
2931
06db6ec3
TV
29322020-10-27 Tom de Vries <tdevries@suse.de>
2933
2934 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
2935 -readnow.
2936
934a1764
GB
29372020-10-14 Gary Benson <gbenson@redhat.com>
2938
2939 * gdb.python/py-format-string.exp (test_deref_refs): Treat
2940 "_vptr$Base" as correct, in addition to "_vptr.Base".
2941 (test_mixed): Likewise.
2942
0bf21fbd
GB
29432020-10-27 Gary Benson <gbenson@redhat.com>
2944
2945 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
2946 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
2947
b1d4d8d1
TBA
29482020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2949
2950 * gdb.base/condbreak.exp: Update the completion tests to
2951 consider the '-force' flag.
2952
bd24c5d6
TV
29532020-10-27 Tom de Vries <tdevries@suse.de>
2954
2955 * gdb.base/list-ambiguous-readnow.exp: New file.
2956
733d554a
TBA
29572020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2958
2959 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
2960 the condition.
2961 * gdb.linespec/cpcompletion.exp: Update to consider the
2962 '-force-condition' keyword.
2963 * gdb.linespec/explicit.exp: Ditto.
2964 * lib/completion-support.exp: Ditto.
2965
b5fa468f
TBA
29662020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2967
2968 * gdb.base/condbreak-multi-context.cc: New file.
2969 * gdb.base/condbreak-multi-context.exp: New file.
2970
b3247276
TT
29712020-10-26 Tom Tromey <tom@tromey.com>
2972
2973 * lib/mi-support.exp (default_mi_gdb_start): Call
2974 gdb_stdin_log_init.
2975 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
2976 subtract one from gdb_instances.
2977 (gdb_stdin_log_write): Flush in_file.
2978
1c47ec3e
TV
29792020-10-26 Tom de Vries <tdevries@suse.de>
2980
2981 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
2982
6390859c
TT
29832020-10-26 Tom Tromey <tromey@adacore.com>
2984
2985 * gdb.ada/unsigned_range/foo.adb: New file.
2986 * gdb.ada/unsigned_range/pack.adb: New file.
2987 * gdb.ada/unsigned_range/pack.ads: New file.
2988 * gdb.ada/unsigned_range.exp: New file.
2989
55c3ad88
TV
29902020-10-26 Tom de Vries <tdevries@suse.de>
2991
2992 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
2993
1612c4bb
TV
29942020-10-26 Tom de Vries <tdevries@suse.de>
2995
2996 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
2997 for CU.
2998 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
2999
7d72802b
TV
30002020-10-23 Tom de Vries <tdevries@suse.de>
3001
3002 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
3003 DW_FORM_string.
3004 (Dwarf::_default_form): New proc.
3005 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
3006 guessed.
3007
9476b583
TV
30082020-10-23 Tom de Vries <tdevries@suse.de>
3009
3010 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
3011 * gdb.dwarf2/atomic-type.exp: Same.
3012 * gdb.dwarf2/bad-regnum.exp: Same.
3013 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3014 * gdb.dwarf2/dw2-align.exp: Same.
3015 * gdb.dwarf2/dw2-bad-elf.exp: Same.
3016 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3017 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
3018 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
3019 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3020 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
3021 * gdb.dwarf2/enum-type.exp: Same.
3022 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
3023 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3024 * gdb.dwarf2/main-subprogram.exp: Same.
3025 * gdb.dwarf2/missing-type-name.exp: Same.
3026 * gdb.dwarf2/nonvar-access.exp: Same.
3027 * gdb.dwarf2/typedef-void-finish.exp: Same.
3028 * gdb.dwarf2/var-access.exp: Same.
3029 * gdb.dwarf2/void-type.exp: Same.
3030
4a636814
SM
30312020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
3032
3033 PR gdb/26693
3034 * gdb.dwarf2/template-specification-full-name.exp: New test.
3035
557fc257
LM
30362020-10-22 Luis Machado <luis.machado@linaro.org>
3037
3038 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
3039 expected an offset from the function.
3040 * gdb.base/msym-bp.exp (test): Likewise.
3041
6b4c676c
AB
30422020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
3043
3044 * gdb.fortran/array-slices.exp: Add a new test.
3045
98cec4f6
GB
30462020-10-21 Gary Benson <gbenson@redhat.com>
3047
3048 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
3049 fullname test with Clang. Also expand comments generally.
3050
ae86f581
TV
30512020-10-20 Tom de Vries <tdevries@suse.de>
3052
3053 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
3054
8c161360
TV
30552020-10-20 Tom de Vries <tdevries@suse.de>
3056
3057 * gdb.dwarf2/arr-stride.c: Remove.
3058 * gdb.dwarf2/arr-stride.exp: Use main.c.
3059 * gdb.dwarf2/arr-subrange.c: Remove.
3060 * gdb.dwarf2/arr-subrange.exp: Use main.c.
3061 * gdb.dwarf2/bad-regnum.c: Remove.
3062 * gdb.dwarf2/bad-regnum.exp: Use main.c.
3063 * gdb.dwarf2/corrupt.c: Remove.
3064 * gdb.dwarf2/corrupt.exp: Use main.c.
3065 * gdb.dwarf2/dw2-bad-elf.c: Remove.
3066 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
3067 * gdb.dwarf2/dw2-icycle.c: Remove.
3068 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
3069 * gdb.dwarf2/formdata16.c: Remove.
3070 * gdb.dwarf2/formdata16.exp: Use main.c.
3071 * gdb.dwarf2/implptrconst.c: Remove.
3072 * gdb.dwarf2/implptrconst.exp: Use main.c.
3073 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
3074 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
3075 * gdb.dwarf2/opaque-type-lookup.c: Remove.
3076 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
3077
9c2412ec
TV
30782020-10-20 Tom de Vries <tdevries@suse.de>
3079
3080 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
3081 file.
3082 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
3083
0cd2ad78
TV
30842020-10-20 Tom de Vries <tdevries@suse.de>
3085
3086 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
3087 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
3088 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
3089 * gdb.dwarf2/dw2-ranges-base.exp: Same.
3090 * gdb.dwarf2/dw2-ranges.exp: Same.
3091 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
3092 * gdb.dwarf2/var-access.exp: Same.
3093
22cc388e
TT
30942020-10-19 Tom Tromey <tromey@adacore.com>
3095
3096 PR tui/26719
3097 * gdb.tui/list.exp: Check source window contents after focus
3098 change.
3099
520596f2
TV
31002020-10-17 Tom de Vries <tdevries@suse.de>
3101
3102 PR symtab/26317
3103 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
3104
d1c8a76d
TV
31052020-10-17 Tom de Vries <tdevries@suse.de>
3106
3107 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
3108 as suffix.
3109 * gdb.dwarf2/atomic.c: Rename to ...
3110 * gdb.dwarf2/atomic-type.c: ... this.
3111 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
3112 * gdb.dwarf2/dw2-ranges-2.c: ... this.
3113 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
3114 * gdb.dwarf2/dw2-ranges-3.c: ... this.
3115 * gdb.dwarf2/fission-mix2.c: Rename to ...
3116 * gdb.dwarf2/fission-mix-2.c: ... this.
3117 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
3118 standard_testfile.
3119 * gdb.dwarf2/ada-valprint-error.exp: Same.
3120 * gdb.dwarf2/arr-stride.exp: Same.
3121 * gdb.dwarf2/arr-subrange.exp: Same.
3122 * gdb.dwarf2/atomic-type.exp: Same.
3123 * gdb.dwarf2/bad-regnum.exp: Same.
3124 * gdb.dwarf2/break-inline-psymtab.exp: Same.
3125 * gdb.dwarf2/clang-debug-names-2.exp: Same.
3126 * gdb.dwarf2/clang-debug-names.exp: Same.
3127 * gdb.dwarf2/comp-unit-lang.exp: Same.
3128 * gdb.dwarf2/corrupt.exp: Same.
3129 * gdb.dwarf2/count.exp: Same.
3130 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3131 * gdb.dwarf2/data-loc.exp: Same.
3132 * gdb.dwarf2/dw2-align.exp: Same.
3133 * gdb.dwarf2/dw2-bad-elf.exp: Same.
3134 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3135 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
3136 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
3137 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
3138 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3139 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
3140 * gdb.dwarf2/dw2-inline-param.exp: Same.
3141 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3142 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3143 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3144 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3145 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
3146 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
3147 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3148 * gdb.dwarf2/dw2-param-error.exp: Same.
3149 * gdb.dwarf2/dw2-ranges-base.exp: Same.
3150 * gdb.dwarf2/dw2-ranges.exp: Same.
3151 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
3152 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
3153 * gdb.dwarf2/dw4-sig-types.exp: Same.
3154 * gdb.dwarf2/dynarr-ptr.exp: Same.
3155 * gdb.dwarf2/enum-type.exp: Same.
3156 * gdb.dwarf2/fission-mix.exp: Same.
3157 * gdb.dwarf2/formdata16.exp: Same.
3158 * gdb.dwarf2/implptrconst.exp: Same.
3159 * gdb.dwarf2/implptrpiece.exp: Same.
3160 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3161 * gdb.dwarf2/main-subprogram.exp: Same.
3162 * gdb.dwarf2/method-ptr.exp: Same.
3163 * gdb.dwarf2/missing-sig-type.exp: Same.
3164 * gdb.dwarf2/nonvar-access.exp: Same.
3165 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3166 * gdb.dwarf2/shortpiece.exp: Same.
3167 * gdb.dwarf2/staticvirtual.exp: Same.
3168 * gdb.dwarf2/subrange.exp: Same.
3169 * gdb.dwarf2/symtab-producer.exp: Same.
3170 * gdb.dwarf2/typedef-void-finish.exp: Same.
3171 * gdb.dwarf2/var-access.exp: Same.
3172 * gdb.dwarf2/variant.exp: Same.
3173 * gdb.dwarf2/void-type.exp: Same.
3174 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
3175 dw2-ranges-main.c.
3176 * gdb.dwarf2/dw2-ranges-main.c: Remove.
3177
472d09c1
TV
31782020-10-16 Tom de Vries <tdevries@suse.de>
3179
3180 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
3181
afe75f6d
TV
31822020-10-16 Tom de Vries <tdevries@suse.de>
3183
3184 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
3185
8c8bd0ba
TV
31862020-10-14 Tom de Vries <tdevries@suse.de>
3187
3188 PR testsuite/26732
3189 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
3190 scenario 2.
3191 * gdb.ada/mi_catch_ex_hand.exp: Same.
3192
b75d55d4
PA
31932020-10-13 Pedro Alves <pedro@palves.net>
3194
3195 * lib/mi-support.exp (mi_clean_restart): New.
3196 (mi_run_to_main): Delete.
3197 All callers adjust to use mi_clean_restart / mi_runto_main.
3198
e777225b
PA
31992020-10-13 Pedro Alves <pedro@palves.net>
3200
3201 * config/monitor.exp: Use "list -q".
3202 * gdb.arch/gdb1558.exp: Use "break -q".
3203 * gdb.arch/i386-permbkpt.exp: Use "break -q".
3204 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
3205 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
3206 * gdb.base/commands.exp: Use "break -q".
3207 * gdb.base/condbreak.exp: Use "break -q".
3208 * gdb.base/ctf-ptype.exp: Use "list -q".
3209 * gdb.base/define.exp: Use "break -q".
3210 * gdb.base/del.exp: Use "break -q".
3211 * gdb.base/fullname.exp: Use "break -q".
3212 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
3213 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
3214 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
3215 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
3216 "hbreak -q".
3217 * gdb.base/included.exp: Use "list -q".
3218 * gdb.base/label.exp: Use "break -q".
3219 * gdb.base/lineinc.exp: Use "break -q".
3220 * gdb.base/list.exp: Use "list -q".
3221 * gdb.base/macscp.exp: Use "list -q".
3222 * gdb.base/pending.exp: Use "break -q".
3223 * gdb.base/prologue-include.exp: Use "break -q".
3224 * gdb.base/ptype.exp: Use "list -q".
3225 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
3226 * gdb.base/server-del-break.exp: Use "break -q".
3227 * gdb.base/style.exp: Use "break -q".
3228 * gdb.base/symbol-without-target_section.exp: Use "list -q".
3229 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
3230 * gdb.cp/exception.exp: Use "tbreak -q".
3231 * gdb.dwarf2/dw2-error.exp: Use "break -q".
3232 * gdb.dwarf2/fission-mix.exp: Use "break -q".
3233 * gdb.dwarf2/fission-reread.exp: Use "break -q".
3234 * gdb.dwarf2/pr13961.exp: Use "break -q".
3235 * gdb.linespec/explicit.exp: Use "list -q".
3236 * gdb.linespec/linespec.exp: Use "break -q".
3237 * gdb.mi/mi-simplerun.exp: Use "--qualified".
3238 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
3239 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
3240 * gdb.server/connect-without-multi-process.exp: Use "break -q".
3241 * gdb.trace/change-loc.exp: Use "break -q".
3242 * gdb.trace/pending.exp: Use "break -q".
3243 * gdb.tui/basic.exp: Use "list -q".
3244 * gdb.tui/list-before.exp: Use "list -q".
3245 * gdb.tui/list.exp: Use "list -q".
3246 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
3247
8abd8ee8
PA
32482020-10-13 Pedro Alves <pedro@palves.net>
3249
3250 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
3251 saved breakpoints file.
3252 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
3253 inspecting breakpoint list.
3254 * lib/gdb.exp (runto_main): Add "qualified" to options.
3255 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
3256 and handle it.
3257 (mi_runto_main): Pass 1 as qualified argument.
3258
f71e6719
PA
32592020-10-13 Pedro Alves <pedro@palves.net>
3260
3261 * lib/mi-support.exp (mi_runto_main): New proc.
3262 (mi_run_to_main): Use it.
3263 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
3264 * gdb.mi/mi-var-cmd.exp: Likewise.
3265 * gdb.mi/mi-var-invalidate.exp: Likewise.
3266 * mi-var-list-children-invalid-grandchild.exp: Likewise.
3267 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3268 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3269 * gdb.mi/user-selected-context-sync.exp: Likewise.
3270 * gdb.opt/inline-cmds.exp: Likewise.
3271 * gdb.python/py-framefilter-mi.exp: Likewise.
3272 * gdb.python/py-mi.exp: Likewise.
3273
50441f0f
PA
32742020-10-13 Pedro Alves <pedro@palves.net>
3275
3276 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
3277 "runto main".
3278 * gdb.ada/small_reg_param.exp: Likewise.
3279 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3280 * gdb.base/annota1.exp: Likewise.
3281 * gdb.base/anon.exp: Likewise.
3282 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
3283 * gdb.base/dprintf-non-stop.exp: Likewise.
3284 * gdb.base/dprintf.exp: Likewise.
3285 * gdb.base/gdb11530.exp: Likewise.
3286 * gdb.base/gdb11531.exp: Likewise.
3287 * gdb.base/gnu_vector.exp: Likewise.
3288 * gdb.base/interrupt-noterm.exp: Likewise.
3289 * gdb.base/memattr.exp: Likewise.
3290 * gdb.base/step-over-syscall.exp: Likewise.
3291 * gdb.base/watch-cond-infcall.exp: Likewise.
3292 * gdb.base/watch-read.exp: Likewise.
3293 * gdb.base/watch-vfork.exp: Likewise.
3294 * gdb.base/watch_thread_num.exp: Likewise.
3295 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
3296 * gdb.guile/scm-frame-inline.exp: Likewise.
3297 * gdb.linespec/explicit.exp: Likewise.
3298 * gdb.opt/inline-break.exp: Likewise.
3299 * gdb.python/py-frame-inline.exp: Likewise.
3300 * gdb.reverse/break-precsave.exp: Likewise.
3301 * gdb.reverse/break-reverse.exp: Likewise.
3302 * gdb.reverse/consecutive-precsave.exp: Likewise.
3303 * gdb.reverse/consecutive-reverse.exp: Likewise.
3304 * gdb.reverse/finish-precsave.exp: Likewise.
3305 * gdb.reverse/finish-reverse.exp: Likewise.
3306 * gdb.reverse/fstatat-reverse.exp: Likewise.
3307 * gdb.reverse/getresuid-reverse.exp: Likewise.
3308 * gdb.reverse/i386-precsave.exp: Likewise.
3309 * gdb.reverse/i386-reverse.exp: Likewise.
3310 * gdb.reverse/i386-sse-reverse.exp: Likewise.
3311 * gdb.reverse/i387-env-reverse.exp: Likewise.
3312 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3313 * gdb.reverse/insn-reverse.exp: Likewise.
3314 * gdb.reverse/machinestate-precsave.exp: Likewise.
3315 * gdb.reverse/machinestate.exp: Likewise.
3316 * gdb.reverse/pipe-reverse.exp: Likewise.
3317 * gdb.reverse/readv-reverse.exp: Likewise.
3318 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3319 * gdb.reverse/rerun-prec.exp: Likewise.
3320 * gdb.reverse/s390-mvcle.exp: Likewise.
3321 * gdb.reverse/solib-precsave.exp: Likewise.
3322 * gdb.reverse/solib-reverse.exp: Likewise.
3323 * gdb.reverse/step-precsave.exp: Likewise.
3324 * gdb.reverse/step-reverse.exp: Likewise.
3325 * gdb.reverse/time-reverse.exp: Likewise.
3326 * gdb.reverse/until-precsave.exp: Likewise.
3327 * gdb.reverse/until-reverse.exp: Likewise.
3328 * gdb.reverse/waitpid-reverse.exp: Likewise.
3329 * gdb.reverse/watch-precsave.exp: Likewise.
3330 * gdb.reverse/watch-reverse.exp: Likewise.
3331 * gdb.threads/kill.exp: Likewise.
3332 * gdb.threads/tid-reuse.exp: Likewise.
3333
d3a07122
SM
33342020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
3335
3336 PR gdb/26642
3337 * gdb.base/maint-target-async-off.c: New test.
3338 * gdb.base/maint-target-async-off.exp: New test.
3339
c65c6c42
AM
33402020-10-13 Alan Modra <amodra@gmail.com>
3341
3342 * gdb.arch/powerpc-altivec.s,
3343 * gdb.arch/powerpc-power7.s,
3344 * gdb.arch/powerpc-power8.s,
3345 * gdb.arch/powerpc-power9.s,
3346 * gdb.arch/powerpc-vsx.s,
3347 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
3348 * gdb.arch/powerpc-altivec.exp,
3349 * gdb.arch/powerpc-power7.exp,
3350 * gdb.arch/powerpc-power8.exp,
3351 * gdb.arch/powerpc-power9.exp,
3352 * gdb.arch/powerpc-vsx.exp,
3353 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
3354 disassembly of mfvsrd/mtvsrd.
3355
f4a0f710
AM
33562020-10-13 Alan Modra <amodra@gmail.com>
3357
3358 * gdb.arch/arm-disassembler-options.exp: Adjust expected
3359 "target architecture" output.
3360 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3361 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3362 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
3363 * gdb.arch/s390-disassembler-options.exp: Likewise.
3364
87a37e5e
PA
33652020-10-12 Pedro Alves <pedro@palves.net>
3366
3367 PR exp/26602
3368 PR c++/26550
3369 * gdb.cp/ambiguous.cc (marker1): Delete.
3370 (main): Initialize all the fields of the locals. Replace marker1
3371 call with a "set breakpoint here" marker.
3372 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
3373 instead of running to marker1. Add tests printing all the
3374 variables and all the fields of the variables.
3375 (test_ambiguous): New proc, expecting the new GDB output when a
3376 field access is ambiguous. Change all "warning: X ambiguous"
3377 tests to use it.
3378
71e1b6b0
GB
33792020-10-12 Gary Benson <gbenson@redhat.com>
3380
3381 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
3382 * gdb.base/msym-bp-2.c (foo): Likewise.
3383 * gdb.base/msym-lang.c (foo): Likewise.
3384 * gdb.base/msym-lang-main.c (foo): Likewise.
3385 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
3386 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
3387 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
3388 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
3389 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
3390 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
3391 * gdb.python/py-objfile.c (static_var): Likewise.
3392 * gdb.python/py-symbol.c (rr): Likewise.
3393 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
3394 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
3395
9370fd51
AB
33962020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
3397
3398 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
3399 output of backtrace.
3400
7c184d33
TT
34012020-10-09 Tom Tromey <tromey@adacore.com>
3402
3403 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
3404 (Rec): Add field. Fix range.
3405 * gdb.ada/scalar_storage.exp: Update.
3406
3d87245c
HD
34072020-10-09 Hannes Domani <ssbssa@yahoo.de>
3408
3409 PR exp/26714
3410 * gdb.base/printcmds.exp: Add tests for void results.
3411
f5c4b229
JV
34122020-10-09 Jan Vrany <jan.vrany@labware.com>
3413
3414 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
3415 is emmited for both 'set directories' and 'directory' commands.
3416
b2701685
TT
34172020-10-08 Tom Tromey <tom@tromey.com>
3418
3419 * gdb.base/style.exp: Check that "main"'s name is styled.
3420
e86efb33
TT
34212020-10-07 Tom Tromey <tromey@adacore.com>
3422
3423 * gdb.base/find.exp: Rename some tests.
3424
30897591
GB
34252020-10-06 Gary Benson <gbenson@redhat.com>
3426
3427 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
3428 * gdb.base/list1.c (unused): Likewise.
3429
ced4a4c1
GB
34302020-10-06 Gary Benson <gbenson@redhat.com>
3431
3432 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
3433 __attribute__ ((used)).
3434 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
3435
ed3bdac4
AB
34362020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
3437
3438 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
3439 make use of regions throughout.
3440 * gdb.base/overlays.exp: Enclose string with variableds in "..",
3441 not {...}.
3442 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
3443
cd096ec8
HD
34442020-10-05 Hannes Domani <ssbssa@yahoo.de>
3445
3446 * gdb.base/call-sc.c: Fix return struct on stack test case.
3447 * gdb.base/call-sc.exp: Likewise.
3448
3ee6f75d
GB
34492020-10-02 Gary Benson <gbenson@redhat.com>
3450
3451 * README: Fix "paralell".
3452
f65825ec
GB
34532020-09-30 Gary Benson <gbenson@redhat.com>
3454
3455 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
3456 Convert directive to lowercase.
3457 (.Labbrev1_begin): Add missing label.
3458 (abbrev code 0x1): Remove DW_AT_stmt_list.
3459 (.Ldie_b): Likewise.
3460
5f278258
TT
34612020-09-27 Tom Tromey <tom@tromey.com>
3462
3463 * gdb.tui/new-layout.exp: Use with_test_prefix.
3464
8f9929bb
GR
34652020-09-26 Gareth Rees <grees@undo.io> (tiny change)
3466
3467 PR python/26586
3468 * gdb.python/python.exp: add test cases for the from_tty
3469 argument to gdb.execute.
3470
c20c017b
GB
34712020-09-25 Gary Benson <gbenson@redhat.com>
3472
3473 * gdb.base/infcall-nested-structs.exp.tcl: Add
3474 additional_flags=-Wno-tautological-compare for C++
3475 tests when compiling using Clang.
3476
68d654af
GB
34772020-09-25 Gary Benson <gbenson@redhat.com>
3478
3479 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
3480 for .c files.
3481
b551a89f
TT
34822020-09-24 Tom Tromey <tromey@adacore.com>
3483
3484 PR tui/26638:
3485 * gdb.tui/list.exp: Check output of "focus next".
3486
20a5fcbd
TT
34872020-09-23 Tom Tromey <tom@tromey.com>
3488
3489 * gdb.dwarf2/intbits.exp: New file.
3490 * gdb.dwarf2/intbits.c: New file.
3491
b167e53f
PA
34922020-09-20 Pedro Alves <pedro@palves.net>
3493
3494 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
3495 spawn_id before calling remote_close. Close secondary MI channel.
3496
dbc49e9f
PA
34972020-09-20 Pedro Alves <pedro@palves.net>
3498
3499 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
3500 fails.
3501
c8d5abea
AB
35022020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
3503
3504 * gdb.fortran/array-slices.exp: Update expected results.
3505 * gdb.fortran/class-allocatable-array.exp: Likewise.
3506 * gdb.fortran/multi-dim.exp: Likewise.
3507 * gdb.fortran/vla-type.exp: Likewise.
3508 * gdb.mi/mi-vla-fortran.exp: Likewise.
3509
14f9473c
VC
35102020-09-18 Victor Collod <vcollod@nvidia.com>
3511
3512 PR gdb/26635
3513 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
3514 compatible with i386, and move it to...
3515 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
3516 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
3517 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
3518
e8ef12b9
PA
35192020-09-18 Pedro Alves <pedro@palves.net>
3520
3521 PR gdb/26631
3522 * gdb.multi/multi-target-thread-find.exp: New file.
3523
e11daf7a
PA
35242020-09-18 Pedro Alves <pedro@palves.net>
3525
3526 * gdb.multi/multi-target-continue.exp: New file, factored out from
3527 multi-target.exp.
3528 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
3529 multi-target.exp.
3530 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
3531 multi-target.exp.
3532 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
3533 multi-target.exp.
3534 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
3535 multi-target.exp.
3536 * gdb.multi/multi-target.exp.tcl: New file, factored out from
3537 multi-target.exp.
3538 * gdb.multi/multi-target.exp: Delete.
3539
d0edc2b8
AB
35402020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3541
3542 * gdb.fortran/array-slices.exp: Add missing message data.
3543
7474326c
PA
35442020-09-17 Pedro Alves <pedro@palves.net>
3545
3546 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
3547
dd23068d
PA
35482020-09-17 Pedro Alves <pedro@palves.net>
3549
3550 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
3551 full prototype.
3552
0640a543
PA
35532020-09-17 Pedro Alves <pedro@palves.net>
3554
3555 * gdb.python/py-as-string.c: Add cast.
3556
ef0cdbc1
PA
35572020-09-17 Pedro Alves <pedro@palves.net>
3558
3559 * gdb.base/sizeof.c (fill): Add cast.
3560
3a5eeb8b
PA
35612020-09-17 Pedro Alves <pedro@palves.net>
3562
3563 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
3564
a8129512
PA
35652020-09-17 Pedro Alves <pedro@palves.net>
3566
3567 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
3568 linkage name.
3569 * gdb.base/prologue.exp: Use print /d.
3570 * gdb.base/symbol-alias.exp: Handle C++ output.
3571 * gdb.base/symbol-alias2.c: Handle C++ output.
3572 [__cplusplus] (func): Explicitly specify linkage name.
3573
a83cdcb6
PA
35742020-09-17 Pedro Alves <pedro@palves.net>
3575
3576 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
3577 (struct my_key_t): ... this. Adjust all references.
3578 (struct value_t): Rename to ...
3579 (struct my_value_t): ... this. Adjust all references.
3580 (create_map, add_map_element, create_map_map)
3581 (add_map_map_element): Add casts.
3582
d4bcee5c
PA
35832020-09-17 Pedro Alves <pedro@palves.net>
3584
3585 * gdb.python/py-framefilter-mi.c (funca): Add casts.
3586 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
3587
81f90489
PA
35882020-09-17 Pedro Alves <pedro@palves.net>
3589
3590 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
3591
0a229804
PA
35922020-09-17 Pedro Alves <pedro@palves.net>
3593
3594 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
3595 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
3596 (charfoo, intfoo): Define full prototype.
3597 * gdb.base/ptype1.c (charfoo): Define full prototype.
3598 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
3599 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
3600
c3e5138d
PA
36012020-09-17 Pedro Alves <pedro@palves.net>
3602
3603 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
3604 Don't define.
3605 (utf_32_string): Compile for both C and C++.
3606 * gdb.base/charset.exp: Use "print /d".
3607
151fdbad
PA
36082020-09-17 Pedro Alves <pedro@palves.net>
3609
3610 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
3611 (nullptr): Rename to ...
3612 (null_ptr): ... this.
3613 * gdb.base/watchpoint.exp: Adjust to rename.
3614
18a25b64
PA
36152020-09-17 Pedro Alves <pedro@palves.net>
3616
3617 * gdb.base/printcmds.c (three, flag_enum_without_zero)
3618 (three_not_flag): Add casts.
3619
11fac337
PA
36202020-09-17 Pedro Alves <pedro@palves.net>
3621
3622 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
3623 char array.
3624 (main): Add references to Barrier, TestStrings, TestStringsH and
3625 TestStringsW.
3626 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
3627 and expect a full prototype in C++.
3628
52626c58
PA
36292020-09-17 Pedro Alves <pedro@palves.net>
3630
3631 * gdb.base/nested-addr.c (main): Add cast.
3632 * gdb.base/nested-addr.exp: Use "print /d".
3633
52bb0902
PA
36342020-09-17 Pedro Alves <pedro@palves.net>
3635
3636 * gdb.base/break.exp (func): New. Use it throughout when
3637 expecting a function name.
3638
73e18ac9
PA
36392020-09-17 Pedro Alves <pedro@palves.net>
3640
3641 * gdb.base/display.exp: Issue "set print asm-demangle on".
3642
c8b18808
PA
36432020-09-17 Pedro Alves <pedro@palves.net>
3644
3645 * gdb.base/find.c: Include <string.h>.
3646 (init_bufs): Add cast.
3647 * gdb.base/find.exp: Issue "set print asm-demangle on".
3648
fe830662
TT
36492020-09-16 Tom Tromey <tromey@adacore.com>
3650
3651 PR gdb/26598:
3652 * gdb.base/skipcxx.exp: New file.
3653 * gdb.base/skipcxx.cc: New file.
3654
945ff6e2
TV
36552020-09-16 Tom de Vries <tdevries@suse.de>
3656
3657 PR testsuite/26617
3658 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
3659 WITH_DEBUG_SECTIONS is defined.
3660 (xstr, str): New macro.
3661 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
3662 to get start and size of _Dmain.
3663 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
3664 using additional_flags.
3665
da1df1db
TBA
36662020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3667
3668 * gdb.base/bp-cmds-sourced-script.c: New file.
3669 * gdb.base/bp-cmds-sourced-script.exp: New test.
3670 * gdb.base/bp-cmds-sourced-script.gdb: New file.
3671
337882d4
TV
36722020-09-16 Tom de Vries <tdevries@suse.de>
3673
3674 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
3675 get the gdb prompt after issuing "monitor exit".
3676
7361f908
TV
36772020-09-16 Tom de Vries <tdevries@suse.de>
3678
3679 PR testsuite/26624
3680 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
3681
4d91ddd3
TV
36822020-09-16 Tom de Vries <tdevries@suse.de>
3683
3684 PR testsuite/26618
3685 * gdb.tui/new-layout.exp: Escape unbalanced braces.
3686
08cc37dd
TT
36872020-09-15 Tom Tromey <tromey@adacore.com>
3688
3689 PR rust/26197:
3690 * lib/rust-support.exp (rust_llvm_version): New proc.
3691 * gdb.rust/simple.exp: Check rust_llvm_version.
3692
ee6372f2
TV
36932020-09-14 Tom de Vries <tdevries@suse.de>
3694
3695 * gdb.rust/traits.exp: Fix PATH warning.
3696
dc3a371e
PA
36972020-09-13 Pedro Alves <pedro@palves.net>
3698
3699 * gdb.base/catch-follow-exec.c (main): Add explicit return
3700 statement.
3701 * gdb.base/catch-signal.c (main): Likewise.
3702 * gdb.base/condbreak-call-false.c (main): Likewise.
3703 * gdb.base/consecutive.c (main): Add explicit return
3704 statement and return type.
3705 * gdb.base/cursal.c (main): Add explicit return statement.
3706 * gdb.base/cvexpr.c (main): Likewise.
3707 * gdb.base/display.c (main): Add explicit return statement and
3708 return type.
3709 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
3710 * gdb.base/endianity.c (main): Likewise.
3711 * gdb.base/execd-prog.c (main): Likewise.
3712 * gdb.base/gdb1090.c (main): Likewise.
3713 * gdb.base/info_qt.c (main): Likewise.
3714 * gdb.base/lineinc.c (main): Likewise.
3715 * gdb.base/load-command.c (main): Likewise.
3716 * gdb.base/macscp1.c (main): Likewise.
3717 * gdb.base/pr10179-a.c (main): Likewise.
3718 * gdb.base/quit-live.c (main): Likewise.
3719 * gdb.base/scope0.c (main): Likewise.
3720 * gdb.base/settings.c (main): Likewise.
3721 * gdb.base/stack-checking.c (main): Return int.
3722 * gdb.base/varargs.c (main): Add explicit return statement.
3723 * gdb.cp/ambiguous.cc (main): Likewise.
3724 * gdb.cp/anon-struct.cc (main): Likewise.
3725 * gdb.cp/anon-union.cc (main): Likewise.
3726 * gdb.cp/bool.cc (main): Likewise.
3727 * gdb.cp/bs15503.cc (main): Likewise.
3728 * gdb.cp/cplusfuncs.cc (main): Likewise.
3729 * gdb.cp/cttiadd.cc (main): Likewise.
3730 * gdb.cp/extern-c.cc (main): Likewise.
3731 * gdb.cp/filename.cc (main): Likewise.
3732 * gdb.cp/formatted-ref.cc (main): Likewise.
3733 * gdb.cp/mb-ctor.cc (main): Likewise.
3734 * gdb.cp/member-ptr.cc (main): Likewise.
3735 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
3736 * gdb.cp/overload-const.cc (main): Likewise.
3737 * gdb.cp/paren-type.cc (main): Likewise.
3738 * gdb.cp/parse-lang.cc (main): Likewise.
3739 * gdb.cp/pr-1023.cc (main): Likewise.
3740 * gdb.cp/psmang1.cc (main): Likewise.
3741 * gdb.cp/readnow-language.cc (main): Likewise.
3742 * gdb.cp/ref-params.cc (main): Likewise.
3743 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
3744 * gdb.cp/virtbase2.cc (main): Likewise.
3745 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
3746 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
3747 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
3748 * gdb.mi/mi-console.c (main): Likewise.
3749 * gdb.mi/mi-read-memory.c (main): Likewise.
3750 * gdb.modula2/multidim.c (main): Likewise.
3751 * gdb.opt/inline-small-func.c (main): Likewise.
3752 * gdb.python/py-rbreak.c (main): Likewise.
3753 * gdb.stabs/exclfwd1.c (main): Likewise.
3754 * gdb.trace/qtro.c (main): Likewise.
3755
af26601c
PA
37562020-09-13 Pedro Alves <pedro@palves.net>
3757
3758 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
3759 instead of getenv.
3760
2f4b83cd
PA
37612020-09-13 Pedro Alves <pedro@palves.net>
3762
3763 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
3764 instead of spawning GDB with remote_spawn.
3765 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
3766 gdb_spawn instead of spawning GDB with remote_spawn.
3767
c49da0e4
PA
37682020-09-13 Pedro Alves <pedro@palves.net>
3769
3770 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
3771 file and add calls to first and second.
3772 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
3773 add call to f.
3774
6791b117
PA
37752020-09-13 Pedro Alves <pedro@palves.net>
3776
3777 * gdb.mi/mi-break-qualified.cc: New file.
3778 * gdb.mi/mi-break-qualified.exp: New file.
3779 * lib/mi-support.exp (mi_create_breakpoint_multi)
3780 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
3781 procedures.
3782 (mi_create_breakpoint_1): New, factored out from
3783 mi_create_breakpoint.
3784
3b8d4c5c
PA
37852020-09-13 Pedro Alves <pedro@palves.net>
3786
3787 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
3788 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
3789 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
3790 (register_class): Delete.
3791 (main): Don't call register_class.
3792
d5f96005
PA
37932020-09-13 Pedro Alves <pedro@palves.net>
3794
3795 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
3796 (do_tests): Remove "calling method for small class" test.
3797 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
3798 (register_class): Delete.
3799 (main): Don't call register_class.
3800 * gdb.cp/call-method-register.exp: New file, based on bits removed
3801 from classes.exp.
3802 * gdb.cp/call-method-register.cc: New file, based on bits removed
3803 from classes.cc.
3804
77f2120b
PA
38052020-09-13 Pedro Alves <pedro@palves.net>
3806
3807 * gdb.base/msym-bp-2.c: New.
3808 * gdb.base/msym-bp-shl-lib.c: New file.
3809 * gdb.base/msym-bp-shl-main-2.c: New file.
3810 * gdb.base/msym-bp-shl-main.c: New file.
3811 * gdb.base/msym-bp-shl.exp: New file.
3812 * gdb.base/msym-bp.c: New file.
3813 * gdb.base/msym-bp.exp: New file.
3814
32aea73e
JB
38152020-09-13 Joel Brobecker <brobecker@adacore.com>
3816
3817 * gdb.base/default.exp: Change $_gdb_major to 11.
3818
2a67f09d
FW
38192020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
3820 Felix Willgerodt <Felix.Willgerodt@intel.com>
3821
3822 * x86-avx512bf16.c: New file.
3823 * x86-avx512bf16.exp: Likewise.
3824 * lib/gdb.exp (skip_avx512bf16_tests): New function.
3825
ad570dd7
TV
38262020-09-11 Tom de Vries <tdevries@suse.de>
3827
3828 PR exp/26602
3829 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
3830
a56f7391
TBA
38312020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3832
3833 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
3834
918619e5
AM
38352020-09-10 Alan Modra <amodra@gmail.com>
3836
3837 PR 26597
3838 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
3839
cac1e71d
TV
38402020-09-08 Tom de Vries <tdevries@suse.de>
3841
3842 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
3843 after gdb_starti_cmd.
3844
c5cd900e
AKS
38452020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3846
3847 * lib/fortran.exp (fortran_complex8): New proc.
3848 (fortran_complex16): New proc.
3849 * gdb.fortran/complex.exp: Use routines from fortran.exp
3850 * gdb.fortran/pointer-to-pointer.exp: Likewise.
3851 * gdb.fortran/vla-ptr-info.exp: Likewise.
3852
8f5c6526
TV
38532020-09-03 Tom de Vries <tdevries@suse.de>
3854
3855 PR breakpoint/26546
3856 * gdb.base/label-without-address.exp: Runto main first.
3857
02c6f3f1
TT
38582020-09-02 Tom Tromey <tromey@adacore.com>
3859
3860 * gdb.ada/mi_var_access.exp: Test children of access variable.
3861 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
3862 * gdb.ada/mi_var_array.exp: Update.
3863
efe24f05
KB
38642020-08-31 Kevin Buettner <kevinb@redhat.com>
3865
3866 * gdb.base/corefile.exp (warning-free): XFAIL test when running
3867 on docker w/ AUFS storage driver.
3868
973695d6
KB
38692020-08-31 Kevin Buettner <kevinb@redhat.com>
3870
3871 * gdb.base/corefile2.exp (renamed binfile): New tests.
3872
f3bd50f1
SM
38732020-08-31 Simon Marchi <simon.marchi@efficios.com>
3874
3875 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
3876
22b9b4b0
SL
38772020-08-31 Simon Marchi <simon.marchi@efficios.com>
3878
3879 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
3880 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
3881
8efaf6b3
SM
38822020-08-31 Simon Marchi <simon.marchi@efficios.com>
3883
3884 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
3885 output, printing a "not saved" value from history and printing a
3886 convenience variable created from a "not saved" value.
3887
e840f2e3
TV
38882020-08-31 Tom de Vries <tdevries@suse.de>
3889
3890 * gdb.base/eh_return.exp: Use nopie.
3891
8f57f343
PA
38922020-08-28 Pedro Alves <pedro@palves.net>
3893
3894 * gdb.base/advance-until-multiple-locations.exp
3895 (advance_overload, until_overload): Adjust to match the
3896 frame/function header instead of the source line text.
3897
626d2320
TV
38982020-08-28 Tom de Vries <tdevries@suse.de>
3899
3900 * gdb.base/label-without-address.c: New test.
3901 * gdb.base/label-without-address.exp: New file.
3902
df631783
PA
39032020-08-27 Pedro Alves <pedro@palves.net>
3904
3905 PR gdb/26523
3906 PR gdb/26524
3907 * gdb.base/advance-until-multiple-locations.cc: New.
3908 * gdb.base/advance-until-multiple-locations.exp: New.
3909
48b076bb
SM
39102020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
3911
3912 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
3913
c2015ce4
AB
39142020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3915
3916 * gdb.arch/amd64-byte.exp: Make test names unique, use
3917 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3918 * gdb.arch/amd64-dword.exp: Likewise.
3919 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
3920 * gdb.arch/amd64-stap-special-operands.exp: Make test names
3921 unique.
3922 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
3923 * gdb.arch/amd64-word.exp: Make test names unique, use
3924 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3925 * gdb.arch/i386-byte.exp: Make test names unique, use
3926 gdb_breakpoint.
3927 * gdb.arch/i386-word.exp: Likewise.
3928
995d3a19
SV
39292020-08-25 Shahab Vahedi <shahab@synopsys.com>
3930
3931 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
3932
8cac2b31
SM
39332020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
3934
3935 PR gdb/26532
3936 * gdb.threads/stepi-random-signal.exp: Update pattern.
3937
2bc19622
SM
39382020-08-25 Simon Marchi <simon.marchi@efficios.com>
3939
3940 PR gdb/26532
3941 * gdb.base/ui-redirect.exp: Update pattern.
3942
b04aa1fc
GB
39432020-08-25 Gary Benson <gbenson@redhat.com>
3944
3945 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
3946 when compiling with clang.
8571e9c8 3947 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 3948
9f68b453
GB
39492020-08-25 Gary Benson <gbenson@redhat.com>
3950
3951 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
3952 Add additional_flags=-Wno-inaccessible-base when compiling
3953 with GCC >= 10.1 or clang. Add additional_flags=-w when
3954 compiling with GCC < 10.
3955
3945d2d7
GM
39562020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
3957
3958 PR m2/26372
fc5d6901
SM
3959 * gdb.modula2/multidim.c: New file.
3960 * gdb.modula2/multidim.exp: New file.
3945d2d7 3961
60122dbe
SM
39622020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
3963
3964 * lib/gdb.exp (runto): Always emit fail on internal error.
3965
1eb8556f
SM
39662020-08-24 Simon Marchi <simon.marchi@efficios.com>
3967
3968 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
3969 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3970 Likewise.
3971 * gdb.threads/stepi-random-signal.exp: Likewise.
3972
33bf4c5c
TBA
39732020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3974
3975 * gdb.base/print-file-var.exp: Fix typo "breapoint".
3976 * gdb.trace/strace.exp: Ditto.
3977
c2fd7fae
AKS
39782020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3979
3980 * gdb.fortran/vla-type.exp: Skip commands not required for
3981 the Flang compiled binaries after prologue fix.
3982
326afb72
TT
39832020-08-17 Tom de Vries <tdevries@suse.de>
3984 Tom Tromey <tromey@adacore.com>
3985
3986 PR rust/26197:
3987 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
3988
3ae7ab99
TT
39892020-08-17 Tom Tromey <tromey@adacore.com>
3990
3991 * gdb.ada/mi_var_access.exp: New file.
3992 * gdb.ada/mi_var_access/mi_access.adb: New file.
3993 * gdb.ada/mi_var_access/pck.adb: New file.
3994 * gdb.ada/mi_var_access/pck.ads: New file.
3995
f569c1c5
TV
39962020-08-16 Tom de Vries <tdevries@suse.de>
3997
3998 PR gdb/25350
3999 * gdb.base/eh_return.c: New test.
4000 * gdb.base/eh_return.exp: New file.
4001
3d11c30a
TV
40022020-08-15 Tom de Vries <tdevries@suse.de>
4003
4004 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
4005 (mixed_func_1d_): Use fortran_charlen_t in decl.
4006
547ce8f0
TV
40072020-08-15 Tom de Vries <tdevries@suse.de>
4008
4009 PR backtrace/26390
4010 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
4011 Update expected pattern.
4012
a54a7f13
PA
40132020-08-13 Pedro Alves <pedro@palves.net>
4014
4015 * gdb.fortran/complex.exp: Check skip_fortran_tests.
4016 * gdb.fortran/library-module.exp: Likewise.
4017 * gdb.fortran/logical.exp: Likewise.
4018 * gdb.fortran/module.exp: Likewise.
4019 * gdb.fortran/print_type.exp: Likewise.
4020 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4021 * gdb.fortran/vla-datatypes.exp: Likewise.
4022 * gdb.fortran/vla-history.exp: Likewise.
4023 * gdb.fortran/vla-ptr-info.exp: Likewise.
4024 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4025 * gdb.fortran/vla-ptype.exp: Likewise.
4026 * gdb.fortran/vla-sizeof.exp: Likewise.
4027 * gdb.fortran/vla-type.exp: Likewise.
4028 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4029 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4030 * gdb.fortran/vla-value-sub.exp: Likewise.
4031 * gdb.fortran/vla-value.exp: Likewise.
4032
7a82e903
PA
40332020-08-13 Pedro Alves <pedro@palves.net>
4034
4035 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
4036 * gdb.ada/access_to_packed_array.exp: Likewise.
4037 * gdb.ada/access_to_unbounded_array.exp: Likewise.
4038 * gdb.ada/addr_arith.exp: Likewise.
4039 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
4040 * gdb.ada/arr_arr.exp: Likewise.
4041 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
4042 * gdb.ada/array_bounds.exp: Likewise.
4043 * gdb.ada/array_of_variable_length.exp: Likewise.
4044 * gdb.ada/array_ptr_renaming.exp: Likewise.
4045 * gdb.ada/array_subscript_addr.exp: Likewise.
4046 * gdb.ada/arraydim.exp: Likewise.
4047 * gdb.ada/arrayparam.exp: Likewise.
4048 * gdb.ada/arrayptr.exp: Likewise.
4049 * gdb.ada/assign_1.exp: Likewise.
4050 * gdb.ada/assign_arr.exp: Likewise.
4051 * gdb.ada/atomic_enum.exp: Likewise.
4052 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4053 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
4054 * gdb.ada/bias.exp: Likewise.
4055 * gdb.ada/boolean_expr.exp: Likewise.
4056 * gdb.ada/bp_c_mixed_case.exp: Likewise.
4057 * gdb.ada/bp_enum_homonym.exp: Likewise.
4058 * gdb.ada/bp_inlined_func.exp: Likewise.
4059 * gdb.ada/bp_on_var.exp: Likewise.
4060 * gdb.ada/bp_range_type.exp: Likewise.
4061 * gdb.ada/bp_reset.exp: Likewise.
4062 * gdb.ada/call_pn.exp: Likewise.
4063 * gdb.ada/catch_assert_if.exp: Likewise.
4064 * gdb.ada/catch_ex.exp: Likewise.
4065 * gdb.ada/catch_ex_std.exp: Likewise.
4066 * gdb.ada/char_enum.exp: Likewise.
4067 * gdb.ada/char_param.exp: Likewise.
4068 * gdb.ada/complete.exp: Likewise.
4069 * gdb.ada/cond_lang.exp: Likewise.
4070 * gdb.ada/convvar_comp.exp: Likewise.
4071 * gdb.ada/dgopt.exp: Likewise.
4072 * gdb.ada/disc_arr_bound.exp: Likewise.
4073 * gdb.ada/display_nested.exp: Likewise.
4074 * gdb.ada/dot_all.exp: Likewise.
4075 * gdb.ada/dyn_loc.exp: Likewise.
4076 * gdb.ada/dyn_stride.exp: Likewise.
4077 * gdb.ada/excep_handle.exp: Likewise.
4078 * gdb.ada/expr_delims.exp: Likewise.
4079 * gdb.ada/expr_with_funcall.exp: Likewise.
4080 * gdb.ada/exprs.exp: Likewise.
4081 * gdb.ada/fin_fun_out.exp: Likewise.
4082 * gdb.ada/fixed_cmp.exp: Likewise.
4083 * gdb.ada/formatted_ref.exp: Likewise.
4084 * gdb.ada/frame_arg_lang.exp: Likewise.
4085 * gdb.ada/frame_args.exp: Likewise.
4086 * gdb.ada/fullname_bp.exp: Likewise.
4087 * gdb.ada/fun_addr.exp: Likewise.
4088 * gdb.ada/fun_in_declare.exp: Likewise.
4089 * gdb.ada/fun_overload_menu.exp: Likewise.
4090 * gdb.ada/fun_renaming.exp: Likewise.
4091 * gdb.ada/funcall_char.exp: Likewise.
4092 * gdb.ada/funcall_param.exp: Likewise.
4093 * gdb.ada/funcall_ptr.exp: Likewise.
4094 * gdb.ada/funcall_ref.exp: Likewise.
4095 * gdb.ada/homonym.exp: Likewise.
4096 * gdb.ada/info_addr_mixed_case.exp: Likewise.
4097 * gdb.ada/info_auto_lang.exp: Likewise.
4098 * gdb.ada/info_exc.exp: Likewise.
4099 * gdb.ada/info_types.exp: Likewise.
4100 * gdb.ada/int_deref.exp: Likewise.
4101 * gdb.ada/interface.exp: Likewise.
4102 * gdb.ada/iwide.exp: Likewise.
4103 * gdb.ada/lang_switch.exp: Likewise.
4104 * gdb.ada/length_cond.exp: Likewise.
4105 * gdb.ada/maint_with_ada.exp: Likewise.
4106 * gdb.ada/mi_catch_assert.exp: Likewise.
4107 * gdb.ada/mi_catch_ex.exp: Likewise.
4108 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
4109 * gdb.ada/mi_dyn_arr.exp: Likewise.
4110 * gdb.ada/mi_ex_cond.exp: Likewise.
4111 * gdb.ada/mi_exc_info.exp: Likewise.
4112 * gdb.ada/mi_interface.exp: Likewise.
4113 * gdb.ada/mi_prot.exp: Likewise.
4114 * gdb.ada/mi_ref_changeable.exp: Likewise.
4115 * gdb.ada/mi_string_access.exp: Likewise.
4116 * gdb.ada/mi_task_arg.exp: Likewise.
4117 * gdb.ada/mi_task_info.exp: Likewise.
4118 * gdb.ada/mi_var_array.exp: Likewise.
4119 * gdb.ada/mi_var_union.exp: Likewise.
4120 * gdb.ada/mi_variant.exp: Likewise.
4121 * gdb.ada/minsyms.exp: Likewise.
4122 * gdb.ada/mod_from_name.exp: Likewise.
4123 * gdb.ada/nested.exp: Likewise.
4124 * gdb.ada/null_array.exp: Likewise.
4125 * gdb.ada/optim_drec.exp: Likewise.
4126 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
4127 * gdb.ada/packed_array_assign.exp: Likewise.
4128 * gdb.ada/packed_tagged.exp: Likewise.
4129 * gdb.ada/pp-rec-component.exp: Likewise.
4130 * gdb.ada/print_chars.exp: Likewise.
4131 * gdb.ada/print_pc.exp: Likewise.
4132 * gdb.ada/ptr_typedef.exp: Likewise.
4133 * gdb.ada/ptype_arith_binop.exp: Likewise.
4134 * gdb.ada/ptype_array.exp: Likewise.
4135 * gdb.ada/ptype_field.exp: Likewise.
4136 * gdb.ada/ptype_tagged_param.exp: Likewise.
4137 * gdb.ada/ptype_union.exp: Likewise.
4138 * gdb.ada/py_range.exp: Likewise.
4139 * gdb.ada/py_taft.exp: Likewise.
4140 * gdb.ada/rdv_wait.exp: Likewise.
4141 * gdb.ada/rec_comp.exp: Likewise.
4142 * gdb.ada/rec_return.exp: Likewise.
4143 * gdb.ada/ref_param.exp: Likewise.
4144 * gdb.ada/ref_tick_size.exp: Likewise.
4145 * gdb.ada/rename_subscript_param.exp: Likewise.
4146 * gdb.ada/repeat_dyn.exp: Likewise.
4147 * gdb.ada/same_component_name.exp: Likewise.
4148 * gdb.ada/same_enum.exp: Likewise.
4149 * gdb.ada/scalar_storage.exp: Likewise.
4150 * gdb.ada/set_wstr.exp: Likewise.
4151 * gdb.ada/small_reg_param.exp: Likewise.
4152 * gdb.ada/str_binop_equal.exp: Likewise.
4153 * gdb.ada/str_ref_cmp.exp: Likewise.
4154 * gdb.ada/str_uninit.exp: Likewise.
4155 * gdb.ada/sub_variant.exp: Likewise.
4156 * gdb.ada/sym_print_name.exp: Likewise.
4157 * gdb.ada/taft_type.exp: Likewise.
4158 * gdb.ada/tagged.exp: Likewise.
4159 * gdb.ada/tagged_access.exp: Likewise.
4160 * gdb.ada/task_bp.exp: Likewise.
4161 * gdb.ada/task_switch_in_core.exp: Likewise.
4162 * gdb.ada/tasks.exp: Likewise.
4163 * gdb.ada/tick_last_segv.exp: Likewise.
4164 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
4165 * gdb.ada/type_coercion.exp: Likewise.
4166 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4167 * gdb.ada/unchecked_union.exp: Likewise.
4168 * gdb.ada/uninitialized_vars.exp: Likewise.
4169 * gdb.ada/var_arr_attrs.exp: Likewise.
4170 * gdb.ada/var_arr_typedef.exp: Likewise.
4171 * gdb.ada/var_rec_arr.exp: Likewise.
4172 * gdb.ada/variant-record.exp: Likewise.
4173 * gdb.ada/variant.exp: Likewise.
4174 * gdb.ada/variant_record_packed_array.exp: Likewise.
4175 * gdb.ada/varsize_limit.exp: Likewise.
4176 * gdb.ada/whatis_array_val.exp: Likewise.
4177 * gdb.ada/widewide.exp: Likewise.
4178 * gdb.ada/win_fu_syms.exp: Likewise.
4179
41802020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
4181
4182 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
4183
10c381b5
AB
41842020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
4185
4186 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
4187 unset the array variable.
4188
8f34b746
TV
41892020-08-03 Tom de Vries <tdevries@suse.de>
4190
4191 PR symtab/26333
4192 * lib/dwarf.exp (DW_LNE_user): New proc.
4193 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
4194 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
4195
0245e136
KB
41962020-07-31 Kevin Buettner <kevinb@redhat.com>
4197
4198 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
4199 to 'uintptr_t'
4200 (inttypes.h): Include.
4201
9ef1ec5d
KB
42022020-07-31 Kevin Buettner <kevinb@redhat.com>
4203
4204 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
4205 (C5_24k): Delete.
4206 (C5_8k, C5_64k, C5_256k): New macros.
4207 (buf_ro): Allocate 256 KiB of initialized data.
4208
4c55e970
TBA
42092020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4210
4211 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
4212 that attempt to overwrite an existing condition with a condition
4213 that fails parsing and also with a condition that parses fine
4214 but contains junk at the end.
4215
1e620590
TBA
42162020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4217
4218 * gdb.base/condbreak-bad.c: New test.
4219 * gdb.base/condbreak-bad.exp: New file.
4220
e12dcc50
TV
42212020-07-30 Tom de Vries <tdevries@suse.de>
4222
4223 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
4224 out of ...
4225 (GDBInfoModuleSymbols::check_entry): ... here.
4226 (GDBInfoModuleSymbols::check_optional_entry): New proc.
4227 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
4228 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
4229
6cc64caa
TV
42302020-07-30 Tom de Vries <tdevries@suse.de>
4231
4232 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
4233 "__class_some_module_Number_t" optional.
4234
90fd07fc
TV
42352020-07-29 Tom de Vries <tdevries@suse.de>
4236
4237 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
4238 multiple locations.
4239
f5c79e97
TV
42402020-07-29 Tom de Vries <tdevries@suse.de>
4241
4242 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
4243 rather than function name.
4244
f75a0693
AB
42452020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4246
4247 PR symtab/26270:
4248 * gdb.cp/disasm-func-name.cc: New file.
4249 * gdb.cp/disasm-func-name.exp: New file.
4250
4888741a
TT
42512020-07-28 Tom Tromey <tromey@adacore.com>
4252
4253 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
4254 'varval' location.
4255
43d5901d
AB
42562020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4257
4258 * gdb.python/py-unwind.py: Update to make use of a register
4259 descriptor.
4260
14fa8fb3
AB
42612020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4262
4263 * gdb.python/py-arch-reg-names.exp: Add additional tests.
4264
e79eb02f
AB
42652020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
4266
4267 PR fortran/23051
4268 PR fortran/26139
4269 * gdb.fortran/class-allocatable-array.exp: New file.
4270 * gdb.fortran/class-allocatable-array.f90: New file.
4271 * gdb.fortran/pointer-to-pointer.exp: New file.
4272 * gdb.fortran/pointer-to-pointer.f90: New file.
4273
876518dd
TV
42742020-07-25 Tom de Vries <tdevries@suse.de>
4275
4276 PR symtab/26243
4277 * gdb.dwarf2/dw2-line-number-zero.c: New test.
4278 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
4279
6dcfb80a
TV
42802020-07-24 Tom de Vries <tdevries@suse.de>
4281
4282 PR testsuite/26293
4283 * gdb.ada/mi_prot.exp: Require gnatmake-8.
4284
e7bc9db8
PA
42852020-07-23 Pedro Alves <pedro@palves.net>
4286
4287 * gdb.server/server-kill.exp (prepare): New, factored out from the
4288 top level.
4289 (kill_server): New.
4290 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
4291 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
4292
78344df7
AB
42932020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
4294
4295 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
4296
25dfed24
SL
42972020-07-22 Sandra Loosemore <sandra@codesourcery.com>
4298
4299 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
4300 Initialize to empty string at top level.
4301 (gdb_wrapper_init): Revert check for file existence on build.
4302 Build the wrapper in its default place, not a build-specific
4303 location. When host == build, make the pathname absolute.
4304 (gdb_compile): Delete leftover declaration of
4305 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
4306 string instead of uninitialized.
4307
7da515fd
KB
43082020-07-22 Kevin Buettner <kevinb@redhat.com>
4309
4310 * gdb.base/corefile2.exp: New file.
4311 * gdb.base/coremaker2.exp: New file.
4312
9c5ec5c2
KB
43132020-07-22 Kevin Buettner <kevinb@redhat.com>
4314
4315 * gdb.base/coredump-filter.exp: Add second
4316 non-Private-Shared-Anon-File test.
4317 (test_disasm): Rename binfile for test which is expected
4318 to fail.
4319
f9e233c9
KB
43202020-07-22 Kevin Buettner <kevinb@redhat.com>
4321
4322 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
4323 data in core file".
4324 * gdb.base/coremaker.c (buf2ro): New global.
4325 (mmapdata): Add a read-only mmap mapping.
4326
94c265d7
KB
43272020-07-22 Kevin Buettner <kevinb@redhat.com>
4328
4329 PR corefiles/25631
4330 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
4331 New test.
4332 * gdb.base/coremaker.c (buf3): New global.
4333 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
4334 flags.
4335
43362020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
4337
4338 * gdb.base/coremaker.c (filler_ro): New global constant.
4339
32fa152e
TT
43402020-07-22 Tom Tromey <tromey@adacore.com>
4341
4342 * gdb.ada/mi_prot.exp: New file.
4343 * gdb.ada/mi_prot/pkg.adb: New file.
4344 * gdb.ada/mi_prot/pkg.ads: New file.
4345 * gdb.ada/mi_prot/prot.adb: New file.
4346
c8474dc3
TBA
43472020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4348
4349 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
4350 loads two JITers.
4351
baf8791e
AB
43522020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
4353
4354 * gdb.python/py-arch-reg-groups.exp: Additional tests.
4355
f7306dac
AB
43562020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
4357
4358 * gdb.python/py-arch-reg-names.exp: Additional tests.
4359
6d3d6e4b
TV
43602020-07-21 Tom de Vries <tdevries@suse.de>
4361
4362 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
4363 breakpoint locations".
4364 * gdb.reverse/solib-reverse.exp: Same.
4365
803d0592
TV
43662020-07-21 Tom de Vries <tdevries@suse.de>
4367
4368 * gdb.reverse/step-reverse.c (callee): Merge statements.
4369
e9bdc510
TV
43702020-07-21 Tom de Vries <tdevries@suse.de>
4371
4372 * gdb.fortran/info-modules.exp (info module variables): Allow missing
4373 line numbers for some variables.
4374
f0f9e75a
TV
43752020-07-21 Tom de Vries <tdevries@suse.de>
4376
4377 * gdb.opt/inline-locals.c (init_array): New func.
4378 (func1): Use init_array.
4379 * gdb.opt/inline-locals.exp: Update pattern.
4380
bd460ecb
TV
43812020-07-21 Tom de Vries <tdevries@suse.de>
4382
4383 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
4384 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
4385
ae5369e7
LC
43862020-07-20 Ludovic Courtès <ludo@gnu.org>
4387
4388 * gdb.guile/source2.scm: Add #f first argument to 'format'.
4389 * gdb.guile/types-module.exp: Remove "ERROR:" from
4390 regexps since Guile 3.0 no longer prints that.
4391
68cf161c
LC
43922020-07-20 Ludovic Courtès <ludo@gnu.org>
4393
4394 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
4395 error regexp to match on Guile 2.2.
4396
c14b4913
GB
43972020-07-20 Gary Benson <gbenson@redhat.com>
4398
4399 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
4400 with clang.
4401
b243ba58
TV
44022020-07-20 Tom de Vries <tdevries@suse.de>
4403
4404 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
4405 (omp_set_lock_in_order): New function.
4406 (single_scope, multi_scope, nested_func, nested_parallel): Use
4407 omp_set_lock_in_order and omp_unset_lock.
4408 (main): Init and destroy lock and lock2.
4409
c06ad8b5
TV
44102020-07-20 Tom de Vries <tdevries@suse.de>
4411
4412 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
4413
6e22f117
TV
44142020-07-20 Tom de Vries <tdevries@suse.de>
4415
4416 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
4417
33176ea7
TV
44182020-07-17 Tom de Vries <tdevries@suse.de>
4419
4420 * gdb.base/valgrind-infcall-2.c: New test.
4421 * gdb.base/valgrind-infcall-2.exp: New file.
4422 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
4423
90c3ec2d
TV
44242020-07-17 Tom de Vries <tdevries@suse.de>
4425
4426 * gdb.dlang/circular.c (found): Use found_label as label name.
4427 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
4428 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
4429 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
4430 * gdb.dwarf2/ada-linkage-name.exp: Same.
4431 * gdb.dwarf2/arr-subrange.exp: Same.
4432 * gdb.dwarf2/atomic-type.exp: Same.
4433 * gdb.dwarf2/comp-unit-lang.exp: Same.
4434 * gdb.dwarf2/cpp-linkage-name.exp: Same.
4435 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
4436 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
4437 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
4438 * gdb.dwarf2/implptr-64bit.exp: Same.
4439 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
4440 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
4441 * gdb.dwarf2/imported-unit.exp: Same.
4442 * gdb.dwarf2/main-subprogram.exp: Same.
4443 * gdb.dwarf2/missing-type-name.exp: Same.
4444 * gdb.dwarf2/nonvar-access.exp: Same.
4445 * gdb.dwarf2/struct-with-sig.exp: Same.
4446 * gdb.dwarf2/typedef-void-finish.exp: Same.
4447 * gdb.dwarf2/void-type.exp: Same.
4448
10da644d
TV
44492020-07-17 Tom de Vries <tdevries@suse.de>
4450
4451 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
4452 src parameter.
4453 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
4454 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
4455 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
4456 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
4457 * gdb.dwarf2/dwz.exp: Same.
4458 * gdb.dwarf2/implptr-optimized-out.exp: Same.
4459 * gdb.dwarf2/implref-array.exp: Same.
4460 * gdb.dwarf2/implref-const.exp: Same.
4461 * gdb.dwarf2/implref-global.exp: Same.
4462 * gdb.dwarf2/implref-struct.exp: Same.
4463 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
4464 * gdb.dwarf2/opaque-type-lookup.exp: Same.
4465 * gdb.dwarf2/var-access.exp: Same.
4466 * gdb.dwarf2/varval.exp: Same.
4467 * gdb.trace/entry-values.exp: Same.
4468
315e6afc
TV
44692020-07-17 Tom de Vries <tdevries@suse.de>
4470
4471 * lib/dwarf.exp (Dwarf::extern): Remove.
4472 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
4473 * gdb.dlang/circular.exp: Same.
4474 * gdb.dwarf2/comp-unit-lang.exp: Same.
4475 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
4476 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
4477 * gdb.dwarf2/dwz.exp: Same.
4478 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
4479 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
4480 * gdb.dwarf2/imported-unit.exp: Same.
4481 * gdb.dwarf2/opaque-type-lookup.exp: Same.
4482
5597c940
SL
44832020-07-16 Sandra Loosemore <sandra@codesourcery.com>
4484
4485 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
4486 Use double quotes instead of single quotes.
4487
d0ce17d8
CT
44882020-07-16 Caroline Tice <cmtice@google.com>
4489
4490 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
4491 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
4492
853772cc
TV
44932020-07-16 Tom de Vries <tdevries@suse.de>
4494
4495 * lib/dwarf.exp (program): Initialize _line.
4496 (DW_LNE_end_sequence): Reinitialize _line.
4497 (DW_LNS_advance_line): Update _line.
4498 (line): New proc.
4499 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
4500 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
4501 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
4502 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
4503 * gdb.dwarf2/dw2-is-stmt.exp: Same.
4504 * gdb.dwarf2/dw2-ranges-func.exp: Same.
4505
fe07b572
AB
45062020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
4507
4508 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
4509 generic.
4510
52781cce
TV
45112020-07-15 Tom de Vries <tdevries@suse.de>
4512
4513 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
4514 is_amd64_regs_target.
4515
3dcc261c
AB
45162020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
4517
4518 * gdb.fortran/ptype-on-functions.exp: Add more tests.
4519 * gdb.fortran/ptype-on-functions.f90: Likewise.
4520
054a0959
SM
45212020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
4522
4523 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
4524 values in documentation for addr_size to 4 and 8.
4525
ccb9eba6
AB
45262020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
4527
4528 * gdb.arch/amd64-osabi.exp: Update.
4529 * gdb.arch/arm-disassembler-options.exp: Update.
4530 * gdb.arch/powerpc-disassembler-options.exp: Update.
4531 * gdb.arch/ppc64-symtab-cordic.exp: Update.
4532 * gdb.arch/s390-disassembler-options.exp: Update.
4533 * gdb.base/all-architectures.exp.tcl: Update.
4534 * gdb.base/attach-pie-noexec.exp: Update.
4535 * gdb.base/catch-syscall.exp: Update.
4536 * gdb.xml/tdesc-arch.exp: Update.
4537
025a39a7
TV
45382020-07-14 Tom de Vries <tdevries@suse.de>
4539
4540 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
4541 (local_gettid): ... this.
4542 (fn): Update.
4543
74e4b667
SL
45442020-07-13 Sandra Loosemore <sandra@codesourcery.com>
4545
4546 * gdb.base/info_sources.exp: Skip directory match tests on
4547 remote hosts.
4548
f413dd74
GB
45492020-07-13 Gary Benson <gbenson@redhat.com>
4550
4551 * gdb.base/savedregs.exp (caller): Use parentheses to
4552 make expected expression evaluation ordering explicit.
4553
915771bb
GB
45542020-07-13 Gary Benson <gbenson@redhat.com>
4555
4556 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
4557
2a122642
GB
45582020-07-13 Gary Benson <gbenson@redhat.com>
4559
4560 * gdb.base/bigcore.c (main): Use a volatile pointer when
4561 attempting to trigger a SIGSEGV.
4562 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
4563 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
4564 * gdb.base/savedregs.c (thrower): Likewise.
4565 * gdb.mi/mi-syn-frame.c (bar): Likewise.
4566
3f00c730
GB
45672020-07-13 Gary Benson <gbenson@redhat.com>
4568
4569 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
4570 defining and using VLA structure fields into...
4571 * gdb.base/vla-struct-fields.c: New file.
4572 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
4573 tests into...
4574 * gdb.base/vla-struct-fields.exp: New file.
4575
963eeee4
TV
45762020-07-13 Tom de Vries <tdevries@suse.de>
4577
4578 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
4579 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
4580 * gdb.base/gold-gdb-index.exp: Same.
4581 * gdb.base/morestack.exp: Same.
4582
0ed35c9a
DX
45832020-07-11 Daniel Xu <dxu@dxuuu.xyz>
4584
4585 PR rust/26121
4586 * gdb.rust/modules.rs: Prevent linker from discarding test
4587 symbol.
4588
4fdba23d
PA
45892020-07-10 Pedro Alves <pedro@palves.net>
4590
4591 PR gdb/26199
4592 * gdb.multi/multi-target.c (exit_thread): New.
4593 (thread_start): Break loop if EXIT_THREAD.
4594 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
4595 (top level) Call test_no_resumed.
4596
15f3b077
TT
45972020-07-08 Tom Tromey <tromey@adacore.com>
4598
4599 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
4600 * gdb.ada/catch_ex.exp: Examine catchpoint text.
4601
9fc501fd
AB
46022020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4603
4604 PR python/22748
4605 * gdb.opt/inline-frame-tailcall.c: New file.
4606 * gdb.opt/inline-frame-tailcall.exp: New file.
4607 * gdb.python/py-unwind-inline.c: New file.
4608 * gdb.python/py-unwind-inline.exp: New file.
4609 * gdb.python/py-unwind-inline.py: New file.
4610
64cb3757
AB
46112020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4612
4613 * gdb.python/py-arch-reg-groups.exp: New file.
4614
0f767f94
AB
46152020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4616
4617 * gdb.python/py-arch-reg-names.exp: New file.
4618
87dbc774
AB
46192020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4620
4621 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
4622 gdb.PendingFrame.architecture method.
4623
d8cc8af6
TV
46242020-07-06 Tom de Vries <tdevries@suse.de>
4625
4626 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
4627
3c8ea5be
PA
46282020-07-03 Pedro Alves <palves@redhat.com>
4629
4630 * gdb.base/structs2.c (main): Adjust second parem_reg call to
4631 explicitly write negative numbers.
4632 * gdb.base/structs2.exp: Adjust expected output.
4633
bf90c83a
PA
46342020-07-03 Pedro Alves <palves@redhat.com>
4635
4636 * gdb.base/charset.c (init_string): Change all char parameters to
4637 unsigned char parameters.
4638
2eb82157
PA
46392020-07-03 Pedro Alves <palves@redhat.com>
4640
4641 * gdb.base/call-sc.exp (start_scalars_test): Use
4642 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4643 * gdb.base/overlays.c: Remove references to PARAMS.
4644 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
4645 * gdb.base/reread.exp: Don't set 'prototypes' global.
4646 * gdb.base/structs.exp (start_structs_test): Use
4647 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4648 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
4649 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4650 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
4651 call.
4652 * gdb.base/varargs.exp: Don't set 'prototypes' global.
4653
9adda7af
PA
46542020-07-03 Pedro Alves <palves@redhat.com>
4655
4656 * gdb.base/m32rovly.c: Delete.
4657 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
4658
2a17c803
PW
46592020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4660
4661 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
4662 of gdb_py_test_multiple.
4663 * gdb.python/py-cmd.exp: Likewise.
4664 * gdb.python/py-events.exp: Likewise.
4665 * gdb.python/py-function.exp: Likewise.
4666 * gdb.python/py-inferior.exp: Likewise.
4667 * gdb.python/py-infthread.exp: Likewise.
4668 * gdb.python/py-linetable.exp: Likewise.
4669 * gdb.python/py-parameter.exp: Likewise.
4670 * gdb.python/py-value.exp: Likewise.
4671
b011fe1a
TV
46722020-06-30 Tom de Vries <tdevries@suse.de>
4673
4674 PR testsuite/26175
4675 * lib/future.exp (gdb_default_target_compile): Detect and handle
4676 early_flags.
4677
df5b8876
SM
46782020-06-29 Simon Marchi <simon.marchi@efficios.com>
4679
4680 * boards/simavr.exp (gdb_load): Catch errors when closing
4681 previous connection. Close connection, wait for process and
4682 unset simavr_spawn_id on failure.
4683
a3ca48cd
TV
46842020-06-29 Tom de Vries <tdevries@suse.de>
4685
4686 * lib/gdb.exp (unknown): Make test-case unresolved.
4687
b0237c0e
TV
46882020-06-29 Tom de Vries <tdevries@suse.de>
4689
4690 PR gdb/25475
4691 * gdb.server/solib-list.exp: Verify that the symbol reload
4692 confirmation question is asked.
4693
c0b3b3bd
PW
46942020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4695
4696 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
4697 have a input seq nr in each pass message.
fe4c3d43 4698 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
4699 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
4700 * gdb.python/python.exp: Make test names unique,
4701 use gdb_test_multiline instead of gdb_py_test_multiple,
4702 use $gdb_test_name.
4703 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
4704
1776e3e5
NA
47052020-06-26 Nick Alcock <nick.alcock@oracle.com>
4706
4707 * configure.ac: Add --enable-libctf.
4708 * aclocal.m4: sinclude ../config/enable.m4.
4709 * Makefile.in (site.exp): Add enable_libctf to site.exp.
4710 * lib/gdb.exp (skip_ctf_tests): Use it.
4711 * gdb.base/ctf-constvars.exp: Error message tweak.
4712 * gdb.base/ctf-ptype.exp: Likewise.
4713 * configure: Regenerate.
4714
f53b3eeb
GB
47152020-06-26 Gary Benson <gbenson@redhat.com>
4716
4717 * gdb.cp/try_catch.cc: Include string.h.
4718 (main): Replace comparison against string literal with
4719 strcmp, avoiding build failure with -Wstring-compare.
4720 Add "marker test-complete".
4721 * gdb.cp/try_catch.exp: Run the test to the above marker,
4722 then verify that the value of "test" is still true.
4723
6d74da72
AB
47242020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4725
4726 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
4727
2e52d038
AB
47282020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4729
4730 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4731
3b9fce96
AB
47322020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4733
4734 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
4735 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
4736 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
4737 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
4738 * gdb.arch/riscv-tdesc-loading.exp: New file.
4739
ed69cbc8
AB
47402020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4741
4742 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4743
767a879e
AB
47442020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4745
4746 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
4747 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
4748 * gdb.arch/riscv-tdesc-regs.c: New file.
4749 * gdb.arch/riscv-tdesc-regs.exp: New file.
4750
221db974
PA
47512020-06-24 Pedro Alves <palves@redhat.com>
4752
4753 * gdb.arch/amd64-entry-value-paramref.exp: Use
4754 prepare_for_testing_full and don't pass "c++" for the .S file
4755 build spec.
4756 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
4757 $options, since it's an assembly file. Remove -Wno-deprecated.
4758 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
4759 compiling C++ programs.
4760
331733cd
PA
47612020-06-24 Pedro Alves <palves@redhat.com>
4762
4763 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
4764 Clang, add "-Wno-unknown-warning-option" to the options.
4765
caa7fd04
AB
47662020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
4767
4768 * gdb.xml/tdesc-reload.c: New file.
4769 * gdb.xml/tdesc-reload.exp: New file.
4770 * gdb.xml/maint-xml-dump-01.xml: New file.
4771 * gdb.xml/maint-xml-dump-02.xml: New file.
4772 * gdb.xml/maint-xml-dump.exp: New file.
4773
bb8d1260
SL
47742020-06-23 Sandra Loosemore <sandra@codesourcery.com>
4775
4776 * lib/completion-support.exp (test_gdb_completion_offers_commands):
4777 Adjust for omitted commands when TUI is disabled.
4778
7e4b9c4c
GB
47792020-06-23 Gary Benson <gbenson@redhat.com>
4780 Pedro Alves <palves@redhat.com>
4781
4782 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
4783 * gdb.cp/nsimport.cc: Likewise.
4784 * gdb.cp/nsnested.cc: Likewise.
4785 * gdb.cp/nsnoimports.cc: Likewise.
4786 * gdb.cp/nsusing.cc: Likewise.
4787 * gdb.cp/smartp.cc: Likewise.
4788 * gdb.python/py-pp-integral.c: Likewise.
4789 * gdb.python/py-pp-re-notag.c: Likewise.
4790
2e573c0a
GB
47912020-06-23 Gary Benson <gbenson@redhat.com>
4792
4793 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
4794 * gdb.cp/nsimport.cc: Likewise.
4795 * gdb.cp/nsnested.cc: Likewise.
4796 * gdb.cp/nsnoimports.cc: Likewise.
4797 * gdb.cp/nsusing.cc: Likewise.
4798 * gdb.cp/smartp.cc: Likewise.
4799 * gdb.python/py-pp-integral.c: Likewise.
4800 * gdb.python/py-pp-re-notag.c: Likewise.
4801
746ebfe8
PW
48022020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4803
4804 * gdb.base/default-args.exp: New test.
4805 * gdb.base/default-args.c: New file.
4806 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
4807 * gdb.base/default.exp: Update to new help text.
4808 * gdb.base/help.exp: Likewise.
4809 * gdb.base/page.exp: Likewise.
4810 * gdb.base/style.exp: Likewise.
4811 * gdb.guile/guile.exp: Likewise.
4812 * gdb.python/python.exp: Likewise.
4813
e822f2cd
SL
48142020-06-22 Sandra Loosemore <sandra@codesourcery.com>
4815
4816 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
4817 remote host. Fix search path syntax on Windows host.
4818
48e9cc84
PW
48192020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4820
4821 * gdb.base/attach.exp: Test priority of 'exec-file' changed
4822 over 'exec-file-mismatch'.
4823 * gdb.base/attach.c: Mark should_exit volatile.
4824 * gdb.base/attach2.c: Likewise. Add a comment explaining
4825 why the sleep cannot be big.
4826 * gdb.base/attach3.c: New file.
4827
160f8a8f
SL
48282020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4829
4830 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
4831 prefix optional.
4832
4d91c2a4
SL
48332020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4834
4835 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
4836 for remote host.
4837
87f83f20
SL
48382020-06-19 Sandra Loosemore <sandra@codesourcery.com>
4839 Hafiz Abid Qadeer <abidh@codesourcery.com>
4840
4841 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
4842 file sent to remote host.
4843 (top level): Allow int32_t as type of 32-bit register.
4844
37ab8655
TV
48452020-06-19 Tom de Vries <tdevries@suse.de>
4846
4847 * lib/gdb.exp (gdb_note): New proc.
4848 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
4849 (gdb_default_target_compile): ... here. Only call
4850 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
4851 (use_gdb_compile): Change to array.
4852 (toplevel): Update sets of use_gdb_compile to specify language.
4853 Warn about default_target_compile override. Store dejagnu's version
4854 of default_target_compile in dejagnu_default_target_compile.
4855
a8a56685
TV
48562020-06-18 Tom de Vries <tdevries@suse.de>
4857
4858 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
4859 (default_gdb_init): ... here.
4860
581bea2c
SL
48612020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4862
4863 Fix TUI support checks in gdb.tui tests.
4864
4865 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
4866 just say UNSUPPORTED.
4867 * gdb.tui/corefile-run.exp: Likewise.
4868 * gdb.tui/empty.exp: Likewise.
4869 * gdb.tui/list-before.exp: Likewise.
4870 * gdb.tui/list.exp: Likewise.
4871 * gdb.tui/main.exp: Likewise.
4872 * gdb.tui/regs.exp: Likewise.
4873 * gdb.tui/resize.exp: Likewise.
4874 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
4875 * gdb.tui/tui-layout-asm.exp: Likewise.
4876 * gdb.tui/tui-missing-src.exp: Likewise.
4877 * gdb.tui/winheight.exp: Likewise.
4878 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
4879
05e682e3
SL
48802020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4881
4882 Fix TCL error in gdb.python/py-format-string.exp.
4883
4884 * gdb.python/py-format-string.exp: Move test for python support
4885 earlier, out of function body.
4886
efb763a5
SM
48872020-06-15 Simon Marchi <simon.marchi@efficios.com>
4888
4889 * gdb.base/index-cache-load-twice.c: New.
4890 * gdb.base/index-cache-load-twice.exp: New.
4891
43327b20
KS
48922020-06-17 Keith Seitz <keiths@redhat.com>
4893
99cf27cf 4894 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
4895 when executing "gdb --configuration".
4896
081e778c
TV
48972020-06-17 Tom de Vries <tdevries@suse.de>
4898
4899 * lib/gdb.exp (gdb_tcl_unknown): New proc.
4900 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
4901 conditional on presence of gdb_tcl_unknown.
4902 (gdb_finish): Make override undo conditional on presence of
4903 gdb_tcl_unknown.
4904
d2d1ea20
TT
49052020-06-16 Tom Tromey <tom@tromey.com>
4906
4907 * gdb.python/tui-window.py (failwin): New function. Register it
4908 as a TUI window type.
4909 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
4910
c802e8a7
GB
49112020-06-16 Gary Benson <gbenson@redhat.com>
4912
4913 * gdb.python/py-nested-maps.c (create_map): Add missing return
4914 value.
4915 (create_map_map): Likewise.
4916
ff08abb8
TBA
49172020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4918
4919 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
4920 variable.
4921 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
4922 and use the already-defined 'options' variable.
4923
a29d5112
AB
49242020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4925 Tom de Vries <tdevries@suse.de>
4926
4927 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
4928 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
4929 (gdb_setup_known_globals): New proc.
4930 (gdb_cleanup_globals): New proc.
4931 * lib/gdb.exp (load_lib): New override proc.
4932 (gdb_stdin_log_init): Set var in_file as persistent global.
4933 * lib/pascal.exp (gdb_stdin_log_init): Set vars
4934 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
4935 fpc_compiler as persistent global.
4936
8c74a764
TV
49372020-06-12 Tom de Vries <tdevries@suse.de>
4938
4939 * lib/tuiterm.exp (spawn): Rename to ...
4940 (tui_spawn): ... this.
4941 (toplevel): Move rename of spawn ...
4942 (gdb_init_tuiterm): ... here. New proc.
4943 (gdb_finish_tuiterm): New proc.
4944 * lib/gdb.exp (gdb_finish_hooks): New global var.
4945 (gdb_finish): Handle gdb_finish_hooks.
4946 (tuiterm_env): New proc.
4947 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
4948 tuiterm_env.
4949 * gdb.tui/basic.exp: Same.
4950 * gdb.tui/corefile-run.exp: Same.
4951 * gdb.tui/empty.exp: Same.
4952 * gdb.tui/list-before.exp: Same.
4953 * gdb.tui/list.exp: Same.
4954 * gdb.tui/main.exp: Same.
4955 * gdb.tui/new-layout.exp: Same.
4956 * gdb.tui/regs.exp: Same.
4957 * gdb.tui/resize.exp: Same.
4958 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
4959 * gdb.tui/tui-layout-asm.exp: Same.
4960 * gdb.tui/tui-missing-src.exp: Same.
4961 * gdb.tui/winheight.exp: Same.
4962
26783bce
TV
49632020-06-12 Tom de Vries <tdevries@suse.de>
4964
4965 PR testsuite/26110
4966 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
4967 (gdb_finish): Reinstall dejagnu's override of ::unknown.
4968
2b4e6a3f
TT
49692020-06-11 Tom Tromey <tom@tromey.com>
4970
4971 PR gdb/18318:
4972 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
4973 floating point tests.
4974
2f33032a
KS
49752020-06-11 Keith Seitz <keiths@redhat.com>
4976
4977 PR gdb/21356
4978 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
4979 vla_struct.
4980 Add new struct vla_typedef and union vla_typedef_union and
4981 corresponding instantiation objects.
4982 Initialize new objects.
4983 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
4984 and vla_typedef_union_object.
4985 Fixup type for vla_struct_object.
4986
a8baf0a3
TV
49872020-06-11 Tom de Vries <tdevries@suse.de>
4988
4989 * lib/gdb.exp (with_override): New proc, factored out of ...
4990 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
4991
7ab96794
TV
49922020-06-10 Tom de Vries <tdevries@suse.de>
4993
4994 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
4995
cab5c3b7
SM
49962020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
4997
4998 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
4999 parameter, update callers.
5000
f8c41851
SM
50012020-06-04 Simon Marchi <simon.marchi@efficios.com>
5002
5003 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
5004 * gdb.dwarf2/share-psymtabs-bt.c: New file.
5005 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
5006
1c07a73f
TV
50072020-06-04 Tom de Vries <tdevries@suse.de>
5008
5009 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
5010
95146b5d
TV
50112020-06-04 Tom de Vries <tdevries@suse.de>
5012
5013 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
5014 exp_continue.
5015
0cfcd4f0
TV
50162020-06-04 Tom de Vries <tdevries@suse.de>
5017
5018 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
5019
f9b5d5ea
TV
50202020-06-03 Tom de Vries <tdevries@suse.de>
5021
5022 PR symtab/26046
5023 * gdb.cp/breakpoint-locs-2.cc: New test.
5024 * gdb.cp/breakpoint-locs.cc: New test.
5025 * gdb.cp/breakpoint-locs.exp: New file.
5026 * gdb.cp/breakpoint-locs.h: New test.
5027
5144dfba
TV
50282020-06-03 Tom de Vries <tdevries@suse.de>
5029
5030 PR testsuite/25609
5031 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
5032 value of global verbose.
5033 * gdb.base/jit-elf.exp: Same.
5034 * gdb.base/jit-reader.exp: Same.
5035
621eacdf
TV
50362020-06-02 Tom de Vries <tdevries@suse.de>
5037
5038 * gdb.dwarf2/multidictionary.exp: Don't use
5039 gdb_spawn_with_cmdline_opts.
5040
1313c56e
AB
50412020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
5042
5043 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
5044 use_header case.
5045 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
5046 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
5047 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
5048 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
5049 * gdb.dwarf2/dw2-inline-header.c: New file.
5050 * gdb.dwarf2/dw2-inline-header.h: New file.
5051
f68f85b5
PA
50522020-05-30 Pedro Alves <palves@redhat.com>
5053
5054 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
5055 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
5056
678048e8
GB
50572020-05-29 Gary Benson <gbenson@redhat.com>
5058
5059 * gdb.compile/compile-cplus.exp (additional_flags): Also
5060 set when building with clang.
5061 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
5062 when building with clang.
5063
9fcafd23
GB
50642020-05-29 Gary Benson <gbenson@redhat.com>
5065
5066 * gdb.arch/i386-avx.exp (additional_flags): Also set when
5067 building with clang.
5068 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
5069
735d5a07
GB
50702020-05-29 Gary Benson <gbenson@redhat.com>
5071
5072 * gdb.cp/koenig.exp (prepare_for_testing): Add
5073 additional_flags=-Wno-unused-comparison.
5074 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
5075
4ad2c6a0
GB
50762020-05-28 Gary Benson <gbenson@redhat.com>
5077
5078 * gdb.base/sigaltstack.c (catcher): Add default case to switch
5079 statement.
5080
09fe663e
GB
50812020-05-28 Gary Benson <gbenson@redhat.com>
5082
5083 * gdb.cp/classes.exp (prepare_for_testing): Add
5084 additional_flags=-Wno-deprecated-register.
5085 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
5086 * gdb.cp/misc.exp: Likewise.
5087
cee00f17
GB
50882020-05-28 Gary Benson <gbenson@redhat.com>
5089
5090 * gdb.linespec/cpls-ops.cc (dummy): New static global.
5091 (test_op_new::operator new): Add return statement.
5092 (test_op_new_array::operator new[]): Likewise.
5093
636edd00
PA
50942020-05-27 Pedro Alves <palves@redhat.com>
5095
5096 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
5097 check. Use test_gdb_complete_unique instead of
5098 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
5099 test_gdb_complete_multiple instead of
5100 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
5101
c2b75043
LM
51022020-05-27 Luis Machado <luis.machado@linaro.org>
5103
5104 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
5105 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
5106 * gdb.arch/arm-disassembler-options.exp: Likewise.
5107 * gdb.arch/arm-disp-step.exp: Likewise.
5108 * gdb.arch/thumb-prologue.exp: Likewise.
5109 * gdb.base/async.exp: Likewise.
5110 * gdb.base/auxv.exp: Likewise.
5111 * gdb.base/complex-parts.exp: Likewise.
5112 * gdb.base/ena-dis-br.exp: Likewise.
5113 * gdb.base/foll-exec.exp: Likewise.
5114 * gdb.base/permissions.exp: Likewise.
5115 * gdb.base/relocate.exp: Likewise.
5116 * gdb.base/return2.exp: Likewise.
5117 * gdb.base/sigbpt.exp: Likewise.
5118 * gdb.base/siginfo-obj.exp: Likewise.
5119 * gdb.cp/converts.exp: Likewise.
5120 * gdb.cp/exceptprint.exp: Likewise.
5121 * gdb.cp/inherit.exp: Likewise.
5122 * gdb.cp/nsnoimports.exp: Likewise.
5123 * gdb.cp/virtbase2.exp: Likewise.
5124 * gdb.mi/mi-var-cmd.exp: Likewise.
5125 * gdb.mi/var-cmd.c: Likewise.
5126
53a47a3e
TT
51272020-05-26 Tom Tromey <tromey@adacore.com>
5128
5129 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
5130
0bc2354b
TT
51312020-05-26 Tom Tromey <tromey@adacore.com>
5132
5133 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
5134 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
5135 type.
5136 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
5137 variable.
5138
0db49895
CBG
51392020-05-26 Christian Biesinger <cbiesinger@google.com>
5140
5141 * Makefile.in: Use = instead of == for the test command
5142 for portability.
5143
40d22035
TV
51442020-05-26 Tom de Vries <tdevries@suse.de>
5145
5146 * gdb.base/gold-gdb-index-2.c: New test.
5147 * gdb.base/gold-gdb-index.c: New test.
5148 * gdb.base/gold-gdb-index.exp: New file.
5149 * gdb.base/gold-gdb-index.h: New test.
5150
043e2e02
TV
51512020-05-25 Tom de Vries <tdevries@suse.de>
5152
5153 * boards/gold-gdb-index.exp: New file.
5154
462f72c5
SM
51552020-05-25 Simon Marchi <simon.marchi@efficios.com>
5156
5157 * boards/simavr.exp: New file.
5158
6cf66e76
SM
51592020-05-25 Simon Marchi <simon.marchi@efficios.com>
5160
5161 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
5162 * gdb.base/inferior-args.exp: New file.
5163 * gdb.base/inferior-args.c: New file.
5164
75d04512
SM
51652020-05-25 Simon Marchi <simon.marchi@efficios.com>
5166
5167 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
5168 inferior_args. Pass it to gdb_reload.
5169 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
5170 inferior_args.
5171 (gdb_reload): Add inferior_args argument.
5172 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
5173 pass it to gdbserver_run.
5174 * boards/native-gdbserver.exp: Do not set noargs.
5175 * boards/native-extended-gdbserver.exp (gdb_reload): Add
5176 inferior_args argument.
5177 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
5178 * gdb.base/a2-run.exp: Check for use_gdb_stub.
5179 * gdb.base/args.exp: Likewise.
5180
42cf1844
TV
51812020-05-25 Tom de Vries <tdevries@suse.de>
5182
5183 * lib/gdb.exp (exec_is_pie): Add comment.
5184
8f7d38ef
TV
51852020-05-25 Tom de Vries <tdevries@suse.de>
5186
5187 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
5188 instead of $binfile in the untested message.
5189
465e1b0f
TV
51902020-05-25 Tom de Vries <tdevries@suse.de>
5191
5192 PR testsuite/26031
5193 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
5194
3c5a0e02
TV
51952020-05-25 Tom de Vries <tdevries@suse.de>
5196
5197 * boards/gold.exp: New file.
5198
0a4f5f8c
TT
51992020-05-23 Tom Tromey <tom@tromey.com>
5200
5201 * gdb.base/style.exp: Remove completion styling test.
5202 * lib/gdb-utils.exp (style): Remove completion styles.
5203
eca1f90c
TT
52042020-05-23 Tom Tromey <tom@tromey.com>
5205
5206 * gdb.base/style.exp: Add completion styling test.
5207 * lib/gdb-utils.exp (style): Add completion styles.
5208
7c13f4e8
AB
52092020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
5210
5211 * gdb.base/annota1.exp: Update expected results.
5212 * gdb.cp/annota2.exp: Update expected results, remove duplicate
5213 test name.
5214 * gdb.cp/annota3.exp: Update expected results.
5215
41977d16
SM
52162020-05-20 Simon Marchi <simon.marchi@efficios.com>
5217
5218 PR gdb/26016
5219 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
5220 against MAP_FAILED.
5221 * gdb.base/coremaker.c (mmapdata): Likewise.
5222 * gdb.base/jit-reader-host.c (main): Likewise.
5223 * gdb.base/sym-file-loader.c (load): Likewise.
5224 (load_shlib): Likewise.
5225
b4757f2e
TT
52262020-05-20 Tom Tromey <tromey@adacore.com>
5227
5228 * gdb.ada/array_char_idx.exp: Recognize initialized array.
5229
9a0bacfb
TV
52302020-05-20 Tom de Vries <tdevries@suse.de>
5231
5232 PR symtab/25833
5233 * gdb.base/with-mf-inc.c: New test.
5234 * gdb.base/with-mf-main.c: New test.
5235 * gdb.base/with-mf.exp: New file.
5236
76571211
TT
52372020-05-19 Tom Tromey <tromey@adacore.com>
5238
5239 * gdb.rust/simple.exp: Restore missing test result.
5240
4cd9f3d5
TV
52412020-05-19 Tom de Vries <tdevries@suse.de>
5242
5243 * gdb.base/gdb-caching-proc.exp: Fix typo.
5244
7d874253
TT
52452020-05-19 Tom Tromey <tromey@adacore.com>
5246
5247 * gdb.rust/simple.exp: Add some test descriptions.
5248 (test_one_slice): Use with_test_prefix.
5249
1d727695
TV
52502020-05-18 Tom de Vries <tdevries@suse.de>
5251
5252 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
5253
7f32a4d5
PA
52542020-05-17 Pedro Alves <palves@redhat.com>
5255
5256 PR gdb/25741
5257 * gdb.base/hw-sw-break-same-address.exp: New file.
5258
7cfd74cf
PA
52592020-05-16 Pedro Alves <palves@redhat.com>
5260
5261 * gdb.multi/multi-re-run.exp (test_re_run): Switch
5262 LAST_LOADED_FILE accordingly.
5263
57b4f16e
PW
52642020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5265
5266 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
5267
7c05caf7
PW
52682020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5269
5270 * gdb.base/help.exp: Test apropos and help for commands
5271 having aliases. Fixed comments not starting with an
5272 upper-case letter or not finishing with a dot.
5273
7aa1b46f
PW
52742020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5275
3b3aaacb
PW
5276 * gdb.base/alias.exp: Update help output check.
5277
57b4f16e 52782020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 5279
7aa1b46f
PW
5280 * gdb.base/default.exp: Update output following fixes.
5281
0605465f
PW
52822020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5283
5284 * gdb.base/alias.exp: Test aliases starting with a prefix of
5285 another alias.
5286
86e4e63d
GB
52872020-05-15 Gary Benson <gbenson@redhat.com>
5288
5289 * gdb.base/info-os.c (main): Add return statement.
5290 * gdb.base/info_minsym.c (minsym_fun): Likewise.
5291 * gdb.base/large-frame-2.c (func): Likewise.
5292 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
5293 * gdb.base/pr10179-b.c (foo2): Likewise.
5294 * gdb.base/valgrind-disp-step.c (foo): Likewise.
5295 * gdb.base/watch-cond.c (func): Likewise.
5296 * gdb.multi/goodbye.c (verylongfun): Likewise.
5297 * gdb.multi/hello.c (commonfun): Likewise.
5298 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
5299 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
5300 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
5301 Likewise.
5302 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
5303 * gdb.threads/interrupt-while-step-over.c (child_function):
5304 Likewise.
5305 * gdb.trace/actions-changed.c (end): Likewise.
5306
163df4df
GB
53072020-05-15 Gary Benson <gbenson@redhat.com>
5308
5309 * gdb.opencl/callfuncs.exp: Report when test skipped.
5310 * gdb.opencl/convs_casts.exp: Likewise.
5311 * gdb.opencl/datatypes.exp: Likewise.
5312 * gdb.opencl/operators.exp: Likewise.
5313 * gdb.opencl/vec_comps.exp: Likewise.
5314
6dbc505a
TV
53152020-05-15 Tom de Vries <tdevries@suse.de>
5316
5317 * gdb.base/align.exp.in: Rename to ...
5318 * gdb.base/align.exp.tcl: ... this.
5319 * gdb.base/align-c++.exp: Update.
5320 * gdb.base/align-c.exp: Update.
5321 * gdb.base/all-architectures.exp.in: Rename to ...
5322 * gdb.base/all-architectures.exp: ... this.
5323 * gdb.base/all-architectures-0.exp: Update.
5324 * gdb.base/all-architectures-1.exp: Update.
5325 * gdb.base/all-architectures-2.exp: Update.
5326 * gdb.base/all-architectures-3.exp: Update.
5327 * gdb.base/all-architectures-4.exp: Update.
5328 * gdb.base/all-architectures-5.exp: Update.
5329 * gdb.base/all-architectures-6.exp: Update.
5330 * gdb.base/all-architectures-7.exp: Update.
5331 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
5332 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
5333 * gdb.base/infcall-nested-structs-c++.exp: Update.
5334 * gdb.base/infcall-nested-structs-c.exp: Update.
5335 * gdb.base/info-types.exp.in: Rename to ...
5336 * gdb.base/info-types.exp.tcl: ... this.
5337 * gdb.base/info-types-c++.exp: Update.
5338 * gdb.base/info-types-c.exp: Update.
5339 * gdb.base/max-depth.exp.in: Rename to ...
5340 * gdb.base/max-depth.exp.tcl: ... this.
5341 * gdb.base/max-depth-c++.exp: Update.
5342 * gdb.base/max-depth-c.exp: Update.
5343 * gdb.cp/cpexprs.exp.in: Rename to ...
5344 * gdb.cp/cpexprs.exp.tcl: ... this.
5345 * gdb.cp/cpexprs-debug-types.exp: Update.
5346 * gdb.cp/cpexprs.exp: Update.
5347 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
5348 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
5349 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
5350 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
5351 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
5352 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
5353 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
5354 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
5355 * gdb.dwarf2/clang-debug-names-2.exp: Update.
5356 * gdb.dwarf2/clang-debug-names.exp: Update.
5357
d1034d78
AB
53582020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
5359
5360 * lib/check-test-names.exp: Remove code that prevents this file
5361 loading when tests are run in parallel.
5362
3c5c3649
PA
53632020-05-15 Pedro Alves <palves@redhat.com>
5364
5365 * gdb.multi/multi-kill.exp (start_inferior): Remove
5366 'testpid' parameter. Refer to namespace variable directly.
5367 (testpid): Declare as namespace variable.
5368
272c36b8
PA
53692020-05-15 Pedro Alves <palves@redhat.com>
5370
5371 * gdb.multi/multi-kill.exp: Wrap in namespace.
5372 (start_inferior): Add TESTPID parameter. Use it instead of the
5373 testpid global.
5374 (top level): Define empty TESTPID array, and pass it down to
5375 start_inferior.
5376
02eba61a
TV
53772020-05-14 Tom de Vries <tdevries@suse.de>
5378
5379 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
5380 output.
5381
971a3747
TV
53822020-05-14 Tom de Vries <tdevries@suse.de>
5383
5384 * gdb.base/align.exp: Split into ...
5385 * gdb.base/align.exp.in: ...
5386 * gdb.base/align-c++.exp: ...
5387 * gdb.base/align-c.exp: ... these.
5388 * gdb.base/infcall-nested-structs.exp: Split into ...
5389 * gdb.base/infcall-nested-structs.exp.in: ...
5390 * gdb.base/infcall-nested-structs-c++.exp: ...
5391 * gdb.base/infcall-nested-structs-c.exp: ... these.
5392 * gdb.base/info-types.exp: Split into ...
5393 * gdb.base/info-types.exp.in: ...
5394 * gdb.base/info-types-c++.exp: ...
5395 * gdb.base/info-types-c.exp: ... these.
5396 * gdb.base/max-depth.exp: Split into ...
5397 * gdb.base/max-depth.exp.in: ...
5398 * gdb.base/max-depth-c++.exp: ...
5399 * gdb.base/max-depth-c.exp: ... these.
5400 * gdb.cp/infcall-nodebug.exp: Split into ...
5401 * gdb.cp/infcall-nodebug.exp.in: ...
5402 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
5403 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
5404 * gdb.cp/infcall-nodebug-c-d0.exp: ...
5405 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
5406
a05575d3
TBA
54072020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5408 Pedro Alves <palves@redhat.com>
5409
5410 * gdb.multi/multi-exit.c: New file.
5411 * gdb.multi/multi-exit.exp: New file.
5412 * gdb.multi/multi-kill.c: New file.
5413 * gdb.multi/multi-kill.exp: New file.
5414
6ad82919
TBA
54152020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5416
5417 * gdb.base/annota1.exp: Update the expected output.
5418 * gdb.cp/annota2.exp: Ditto.
5419
843f4d93
AB
54202020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
5421
5422 * lib/check-test-names.exp: Disable when testing is being run in
5423 parallel.
5424
c7c66341
TV
54252020-05-12 Tom de Vries <tdevries@suse.de>
5426
5427 * gdb.base/jit-elf.exp: Fix string concat.
5428
1b59ca1c
TV
54292020-05-12 Tom de Vries <tdevries@suse.de>
5430
5431 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
5432 messages.
5433
b4991d29
TV
54342020-05-12 Tom de Vries <tdevries@suse.de>
5435
5436 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
5437
dbb0ab10
TV
54382020-05-12 Tom de Vries <tdevries@suse.de>
5439
5440 * gdb.ada/catch_ex.exp: Use with_test_prefix.
5441 * gdb.ada/mi_catch_ex.exp: Same.
5442 * gdb.ada/mi_catch_ex_hand.exp: Same.
5443
7549fed8
TV
54442020-05-12 Tom de Vries <tdevries@suse.de>
5445
5446 * gdb.fortran/complex.exp: Use with_test_prefix.
5447
af2d5cd8
TV
54482020-05-12 Tom de Vries <tdevries@suse.de>
5449
5450 * gdb.trace/passcount.exp: Fix test-names.
5451
7c121311
TV
54522020-05-12 Tom de Vries <tdevries@suse.de>
5453
5454 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
5455
c9f3b40e
TV
54562020-05-12 Tom de Vries <tdevries@suse.de>
5457
5458 * gdb.gdb/complaints.exp: Use with_test_prefix.
5459 * gdb.xml/tdesc-regs.exp: Same.
5460 * gdb.opt/inline-locals.exp: Fix test name.
5461
111b33f0
TV
54622020-05-12 Tom de Vries <tdevries@suse.de>
5463
5464 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
5465 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
5466 * gdb.dwarf2/implref-struct.exp: Same.
5467 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
5468 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
5469
ebf47080
SM
54702020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
5471
5472 * gdb.base/jit-so.exp (one_jit_test): Change test name.
5473
d30dcd12
AB
54742020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
5475
5476 * lib/check-test-names.exp (all_test_names): New module variable.
5477 (counts): Add 'duplicates' field.
5478 (_check_duplicates): New procedure.
5479 (check): Also check for duplicates.
5480 (do_log_summary): Print duplicates count.
5481 (do_reset_vars): Reset counter for duplicate test names, and
5482 discard all know test names.
5483
34584c09
AB
54842020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
5485
5486 * lib/gdb.exp: Include check-test-names.exp library.
5487 * lib/check-test-names.exp: New file.
5488
e0002117
TV
54892020-05-11 Tom de Vries <tdevries@suse.de>
5490
5491 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
5492
53f539a3
KS
54932020-05-11 Keith Seitz <keiths@redhat.com>
5494
5495 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
5496
113ee09a
TV
54972020-05-11 Tom de Vries <tdevries@suse.de>
5498
5499 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
5500 * gdb.cp/cpexprs.exp.in: .. here.
5501 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
5502 cpexprs.exp.
5503
ba3e70b0
KS
55042020-05-11 Keith Seitz <keiths@redhat.com>
5505
5506 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
5507 test names.
5508 * gdb.ada/arrayptr.exp: Likewise.
5509 * gdb.ada/assign_arr.exp: Likewise.
5510 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
5511 * gdb.ada/bp_on_var.exp: Likewise.
5512 * gdb.ada/call_pn.exp: Likewise.
5513 * gdb.ada/complete.exp: Likewise.
5514 * gdb.ada/fun_overload_menu.exp: Likewise.
5515 * gdb.ada/funcall_param.exp: Likewise.
5516 * gdb.ada/funcall_ref.exp: Likewise.
5517 * gdb.ada/packed_array_assign.exp: Likewise.
5518 * gdb.ada/same_component_name.exp: Likewise.
5519 * gdb.ada/type_coercion.exp: Likewise.
5520 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
5521 * gdb.ada/variant_record_packed_array.exp: Likewise.
5522
3ee6bb11
TV
55232020-05-11 Tom de Vries <tdevries@suse.de>
5524
5525 PR symtab/25941
5526 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
5527 out of ...
5528 * gdb.dwarf2/clang-debug-names.exp: ... here.
5529 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
5530 clang-debug-names.exp.in.
5531 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
5532 * gdb.dwarf2/clang-debug-names-2.c: New test.
5533
86cd6bc8
AKS
55342020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5535
5536 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
5537 (fortran_runto_main): New Proc, fortran version of runto_main.
5538 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
5539 * gdb.fortran/array-bounds.exp: Likewise.
5540 * gdb.fortran/array-slices.exp: Likewise.
5541 * gdb.fortran/block-data.exp: Likewise.
5542 * gdb.fortran/charset.exp: Likewise.
5543 * gdb.fortran/common-block.exp: Likewise.
5544 * gdb.fortran/complex.exp: Likewise.
5545 * gdb.fortran/derived-type-function.exp: Likewise.
5546 * gdb.fortran/derived-type.exp: Likewise.
5547 * gdb.fortran/info-modules.exp: Likewise.
5548 * gdb.fortran/info-types.exp: Likewise.
5549 * gdb.fortran/intrinsics.exp: Likewise.
5550 * gdb.fortran/library-module.exp: Likewise.
5551 * gdb.fortran/logical.exp: Likewise.
5552 * gdb.fortran/max-depth.exp: Likewise.
5553 * gdb.fortran/module.exp: Likewise.
5554 * gdb.fortran/multi-dim.exp: Likewise.
5555 * gdb.fortran/nested-funcs.exp: Likewise.
5556 * gdb.fortran/print-formatted.exp: Likewise.
5557 * gdb.fortran/print_type.exp: Likewise.
5558 * gdb.fortran/printing-types.exp: Likewise.
5559 * gdb.fortran/ptr-indentation.exp: Likewise.
5560 * gdb.fortran/ptype-on-functions.exp: Likewise.
5561 * gdb.fortran/subarray.exp: Likewise.
5562 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
5563 * gdb.fortran/vla-datatypes.exp: Likewise.
5564 * gdb.fortran/vla-history.exp: Likewise.
5565 * gdb.fortran/vla-ptr-info.exp: Likewise.
5566 * gdb.fortran/vla-ptype-sub.exp: Likewise.
5567 * gdb.fortran/vla-ptype.exp: Likewise.
5568 * gdb.fortran/vla-sizeof.exp: Likewise.
5569 * gdb.fortran/vla-type.exp: Likewise.
5570 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
5571 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
5572 * gdb.fortran/vla-value-sub.exp: Likewise.
5573 * gdb.fortran/vla-value.exp: Likewise.
5574 * gdb.fortran/whatis_type.exp: Likewise.
5575 * gdb.mi/mi-var-child-f.exp: Likewise.
5576
6dc55ce9 55772020-05-09 Tom de Vries <tdevries@suse.de>
5578
5579 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
5580
283cb58c
TV
55812020-05-08 Tom de Vries <tdevries@suse.de>
5582
5583 * gdb.dwarf2/clang-debug-names.c: New test.
5584 * gdb.dwarf2/clang-debug-names.exp: New file.
5585
ac4a4f1c
SM
55862020-05-06 Simon Marchi <simon.marchi@efficios.com>
5587
5588 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
5589 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
5590
24fe640b
TV
55912020-05-06 Tom de Vries <tdevries@suse.de>
5592
5593 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
5594 breakpoint is at a "recommended breakpoint location".
5595 * gdb.reverse/consecutive-reverse.exp: Same.
5596
0d8683a3
TV
55972020-05-06 Tom de Vries <tdevries@suse.de>
5598
5599 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
5600 address.
5601
b8983c46
TV
56022020-05-06 Tom de Vries <tdevries@suse.de>
5603
5604 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
5605
abf6d805
TV
56062020-05-06 Tom de Vries <tdevries@suse.de>
5607
5608 * gdb.base/store.exp (check_set, up_set): Allowing missing location
5609 info for r.
5610
0fc2a808
TV
56112020-05-06 Tom de Vries <tdevries@suse.de>
5612
5613 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
5614 necessary.
5615
873dd427
TV
56162020-05-06 Tom de Vries <tdevries@suse.de>
5617
5618 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
5619 void.
5620
7c99e7e2
TV
56212020-05-06 Tom de Vries <tdevries@suse.de>
5622
5623 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
5624 of ...
5625 * gdb.base/async.exp: ... here.
5626 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
5627 "recommended breakpoint location".
5628
6173d6a6
TV
56292020-05-06 Tom de Vries <tdevries@suse.de>
5630
5631 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
5632
6015a067
TV
56332020-05-04 Tom de Vries <tdevries@suse.de>
5634
5635 * gdb.base/async.exp: Check whether instruction addresses are a
5636 "recommended breakpoint location".
5637
3b6acaee
TT
56382020-05-03 Tom Tromey <tom@tromey.com>
5639
5640 * gdb.base/sepdebug.exp: Remove "catch" test.
5641 * gdb.base/break.exp: Remove "catch" test.
5642 * gdb.base/default.exp: Update expected output.
5643
5beb4d17
TV
56442020-05-02 Tom de Vries <tdevries@suse.de>
5645
5646 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
5647 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
5648 * gdb.arch/i386-mpx-map.exp: Same.
5649 * gdb.arch/i386-mpx-sigsegv.exp: Same.
5650 * gdb.arch/i386-mpx-simple_segv.exp: Same.
5651 * gdb.arch/i386-mpx.exp: Same.
5652
8caf140d
TV
56532020-05-02 Tom de Vries <tdevries@suse.de>
5654
5655 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
5656
693196cb
TV
56572020-05-01 Tom de Vries <tdevries@suse.de>
5658
5659 * gdb.ada/operator_bp.exp: Allow more than required amount of
5660 breakpoint.
5661
53ae0aa9
TV
56622020-05-01 Tom de Vries <tdevries@suse.de>
5663
5664 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
5665
ee9d1e5f
HD
56662020-04-30 Hannes Domani <ssbssa@yahoo.de>
5667
5668 PR gdb/18706
5669 * gdb.cp/stub-array-size.cc: New test.
5670 * gdb.cp/stub-array-size.exp: New file.
5671 * gdb.cp/stub-array-size.h: New test.
5672 * gdb.cp/stub-array-size2.cc: New test.
5673
d5cf82c0
HD
56742020-04-30 Hannes Domani <ssbssa@yahoo.de>
5675
5676 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
5677 output to the new format.
5678
42e165c3
SM
56792020-04-29 Simon Marchi <simon.marchi@efficios.com>
5680
5681 * gdb.base/break.exp: Use with_test_prefix.
5682
6e4e3fe1
TV
56832020-04-29 Tom de Vries <tdevries@suse.de>
5684
5685 * lib/gdb.exp (debug_types): New proc.
5686 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
5687 * gdb.python/py-symtab.exp: Same.
5688
d642b692
HD
56892020-04-29 Hannes Domani <ssbssa@yahoo.de>
5690
5691 PR gdb/17320
5692 * gdb.base/pretty-array.c: New test.
5693 * gdb.base/pretty-array.exp: New file.
5694
ea90f227
TV
56952020-04-29 Tom de Vries <tdevries@suse.de>
5696
5697 PR symtab/25889
5698 * gdb.cp/cpexprs.exp: Adapt for inclusion.
5699 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
5700 and include cpexprs.exp.
5701
a65189c9
TV
57022020-04-28 Mark Williams <mark@myosotissp.com>
5703
5704 PR gdb/24480
5705 * dw4-toplevel-types.exp: Test for top level types.
5706 * dw4-toplevel-types.cc: Test for top level types.
5707
32d1f47a
TBA
57082020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5709
5710 * gdb.threads/stop-with-handle.exp: Fix typo in comment
5711 (theads -> threads).
5712
56a4f5a1
TV
57132020-04-28 Tom de Vries <tdevries@suse.de>
5714
5715 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
5716
0b2f8a3b
TV
57172020-04-28 Tom de Vries <tdevries@suse.de>
5718
5719 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
5720
5390c717
TV
57212020-04-28 Tom de Vries <tdevries@suse.de>
5722
5723 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
5724
15cd93d0
TV
57252020-04-28 Tom de Vries <tdevries@suse.de>
5726
5727 * gdb.dwarf2/main-foo.c: New test.
5728 * gdb.dwarf2/struct-with-sig.exp: New file.
5729
d472f0fb
TV
57302020-04-25 Tom de Vries <tdevries@suse.de>
5731
5732 * boards/debug-types.exp: New file.
5733
8d840e05
AB
57342020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
5735
5736 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
5737
bcfe6157
TT
57382020-04-24 Tom Tromey <tom@tromey.com>
5739
5740 PR symtab/12707:
5741 * gdb.python/py-symbol.exp: Update expected results for
5742 linkage_name test.
5743 * gdb.cp/print-demangle.exp: New file.
5744 * gdb.base/c-linkage-name.exp: Fix test.
5745 * gdb.guile/scm-symbol.exp: Update expected results for
5746 linkage_name test.
5747
f049a313
TT
57482020-04-24 Tom Tromey <tom@tromey.com>
5749
5750 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
5751 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
5752 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
5753 assembler.
5754
7cf28874
TV
57552020-04-24 Tom de Vries <tdevries@suse.de>
5756
5757 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
5758 C++.
5759
dac2fef7
TT
57602020-04-24 Tom Tromey <tromey@adacore.com>
5761
5762 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
5763 values.
5764 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
5765 values. Update test for minimal encodings.
5766 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
5767 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
5768 values. Update test for minimal encodings.
5769
1acda803
TT
57702020-04-24 Tom Tromey <tromey@adacore.com>
5771
5772 PR python/23662:
5773 * gdb.ada/variant.exp: Add Python checks.
5774 * gdb.rust/simple.exp: Add dynamic type checks.
5775
adfb9815
TT
57762020-04-24 Tom Tromey <tromey@adacore.com>
5777
5778 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
5779 Make array type matching more lax.
5780 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
5781 * gdb.ada/mi_variant.exp: New file.
5782 * gdb.ada/mi_variant/pck.ads: New file.
5783 * gdb.ada/mi_variant/pkg.adb: New file.
5784 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
5785 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
5786
7d79de9a
TT
57872020-04-24 Tom Tromey <tromey@adacore.com>
5788
5789 * gdb.ada/variant.exp: Add dynamic field offset tests.
5790 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
5791 * gdb.ada/variant/pkg.adb: Add new variables.
5792
f8e89861
TT
57932020-04-24 Tom Tromey <tromey@adacore.com>
5794
5795 * gdb.ada/variant.exp: New file
5796 * gdb.ada/variant/pkg.adb: New file
5797 * gdb.ada/variant/pck.adb: New file
5798
86e887ae
TV
57992020-04-24 Tom de Vries <tdevries@suse.de>
5800
5801 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
5802
88428775
TV
58032020-04-24 Tom de Vries <tdevries@suse.de>
5804
5805 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
5806 flags.
5807
4e86f6e7
TV
58082020-04-24 Tom de Vries <tdevries@suse.de>
5809
5810 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
5811
2016d3e6
TV
58122020-04-24 Tom de Vries <tdevries@suse.de>
5813
5814 * lib/gdb.exp (default_gdb_start): Handle eof.
5815 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
5816 failure.
5817 * gdb.base/readnever.exp: Handle clean_restart failure.
5818
70bc38f5
TV
58192020-04-23 Tom de Vries <tdevries@suse.de>
5820
5821 * gdb.base/decl-before-def.exp: Run to main and print a again.
5822
de82891c
TV
58232020-04-23 Tom de Vries <tdevries@suse.de>
5824
5825 * gdb.base/decl-before-def-decl.c: New test.
5826 * gdb.base/decl-before-def-def.c: New test.
5827 * gdb.base/decl-before-def.exp: New file.
5828
96038148
TV
58292020-04-23 Tom de Vries <tdevries@suse.de>
5830
5831 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
5832
54ac3df1
TV
58332020-04-22 Tom de Vries <tdevries@suse.de>
5834
5835 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
5836 debug_info_offset.
5837 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
5838 before $objsfile in the line line.
5839
714534e1
TV
58402020-04-22 Tom de Vries <tdevries@suse.de>
5841
5842 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
5843
16a7dbf4
MS
58442020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5845
5846 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
5847 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
5848 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
5849 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
5850 * gdb.base/jit-protocol.h: Update definitions to match all usage
5851 contexts.
5852
58532020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5854
5855 * gdb.base: Rename all jit related test and source files.
5856
58572020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5858
5859 * gdb.base/jit-reader.exp: Relax register output check.
5860
317d2668
TV
58612020-04-22 Tom de Vries <tdevries@suse.de>
5862
5863 PR symtab/25764
5864 * gdb.base/psym-external-decl-2.c: New test.
5865 * gdb.base/psym-external-decl.c: New test.
5866 * gdb.base/psym-external-decl.exp: New file.
5867 * gdb.threads/tls.exp: Add PR25807 kfail.
5868
eea9e357
TV
58692020-04-22 Tom de Vries <tdevries@suse.de>
5870
5871 PR symtab/25801
5872 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
5873 in "info source" output.
5874
3d5afab3
TV
58752020-04-22 Tom de Vries <tdevries@suse.de>
5876
5877 PR symtab/25700
5878 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
5879 symtab for imported_unit.c.
5880
b32102f6
GB
58812020-04-21 Gary Benson <gbenson@redhat.com>
5882
5883 * gdb.base/advance.c (func): New argument, to match call site.
5884 (func2, func3): Add return statements.
5885
d43b7a2d
TBA
58862020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5887
5888 * gdb.multi/run-only-second-inf.c: New file.
5889 * gdb.multi/run-only-second-inf.exp: New file.
5890
d89edf9b
MM
58912020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5892
5893 * gdb.btrace/multi-inferior.c: New test.
5894 * gdb.btrace/multi-inferior.exp: New file.
5895
1a476b6d
MM
58962020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5897
5898 * gdb.btrace/enable-new-thread.c: New test.
5899 * gdb.btrace/enable-new-thread.exp: New file.
5900
4778a5f8
TV
59012020-04-21 Tom de Vries <tdevries@suse.de>
5902
5903 PR gdb/25471
5904 * gdb.threads/killed-outside.c: New test.
5905 * gdb.threads/killed-outside.exp: New file.
5906
9b2c992c
GB
59072020-04-20 Gary Benson <gbenson@redhat.com>
5908
5909 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
5910 * gdb.base/nested-subp2.exp: Likewise.
5911 * gdb.base/nested-subp3.exp: Likewise.
5912
b5d1d6f7
GB
59132020-04-20 Gary Benson <gbenson@redhat.com>
5914
5915 * gdb.base/nested-subp1.exp: Disable test when using clang.
5916 * gdb.base/nested-subp2.exp: Likewise.
5917 * gdb.base/nested-subp3.exp: Likewise.
5918
25230285
GB
59192020-04-20 Gary Benson <gbenson@redhat.com>
5920
5921 * gdb.cp/exception.cc: Fix compilation error with clang.
5922
fa93cc8f
GB
59232020-04-20 Gary Benson <gbenson@redhat.com>
5924
809730f3 5925 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 5926
e0c45f30
GB
59272020-04-20 Gary Benson <gbenson@redhat.com>
5928
5929 * gdb.base/jit-main.c: Fix compilation error with clang.
5930
4ddfec93
KR
59312020-04-17 Kamil Rytarowski <n54@gmx.com>
5932
5933 * gdb.base/attach-twice.c: Include "sys/types.h".
5934 (PTRACE_ATTACH): Add fallback definition.
5935 (main): Pass `0' to the 4th argument of `ptrace'.
5936
2bed205e
KR
59372020-04-17 Kamil Rytarowski <n54@gmx.com>
5938
5939 * gdb.base/fork-running-state.c: Include "signal.h".
5940
0743fc83
TT
59412020-04-17 Tom Tromey <tromey@adacore.com>
5942
5943 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
5944 Update tests.
5945 * gdb.btrace/cpu.exp: Update tests.
5946 * gdb.base/maint.exp: Update tests.
5947 * gdb.base/default.exp: Update tests.
5948 * gdb.base/completion.exp: Update tests.
5949
efba5c23
TV
59502020-04-16 Tom de Vries <tdevries@suse.de>
5951
5952 PR symtab/25791
5953 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
5954 (ensure_gdb_index): and factor out and move ...
5955 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
5956 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
5957
d191d716
TV
59582020-04-16 Tom de Vries <tdevries@suse.de>
5959
5960 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
5961 loading exec.
5962
99f1bc6a
AB
59632020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
5964
5965 * gdb.base/many-completions.exp: New file.
5966
194d088f
TV
59672020-04-14 Tom de Vries <tdevries@suse.de>
5968
5969 PR symtab/25718
5970 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
5971
c1a66c06
TV
59722020-04-14 Tom de Vries <tdevries@suse.de>
5973
5974 PR symtab/25720
5975 * gdb.base/maint-expand-symbols-header-file.c: New test.
5976 * gdb.base/maint-expand-symbols-header-file.exp: New file.
5977 * gdb.base/maint-expand-symbols-header-file.h: New test.
5978
21b0982c
AB
59792020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
5980
5981 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
5982 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
5983 get_func_info.
5984 (get_func_info): Delete.
5985 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
5986 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
5987 * lib/dwarf.exp (get_func_info): New function.
5988
dd1cab06
TV
59892020-04-13 Tom de Vries <tdevries@suse.de>
5990
5991 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
5992 to what find_gnatmake does.
5993
71ea2b6b
TV
59942020-04-10 Tom de Vries <tdevries@suse.de>
5995
5996 * gdb.base/style.exp: Expect "Expanding full symbols" message for
5997 -readnow.
5998
bdfc1e8a
TV
59992020-04-10 Tom de Vries <tdevries@suse.de>
6000
6001 PR cli/25808
6002 * gdb.base/style.c: Add leading newlines.
6003 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
6004 Check listing of main's one-line body.
6005
14ca8ecf
TV
60062020-04-08 Tom de Vries <tdevries@suse.de>
6007
6008 * lib/gdb.exp (psymtabs_p): New proc.
6009 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
6010 importing unit" unsupported if there are no partial symbols.
6011
e21d048f
TV
60122020-04-08 Tom de Vries <tdevries@suse.de>
6013
6014 PR testsuite/25760
6015 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
6016
25c11aca
TV
60172020-04-07 Tom de Vries <tdevries@suse.de>
6018
6019 PR symtab/25796
6020 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
6021
5707e24b
TV
60222020-04-07 Tom de Vries <tdevries@suse.de>
6023
6024 * gdb.base/check-psymtab.c: New test.
6025 * gdb.base/check-psymtab.exp: New file.
6026
6ee448cc
TT
60272020-04-06 Tom Tromey <tromey@adacore.com>
6028
6029 * gdb.ada/variant-record/proc.adb: New file.
6030 * gdb.ada/variant-record/value.adb: New file.
6031 * gdb.ada/variant-record/value.s: New file.
6032 * gdb.ada/variant-record.exp: New file.
6033
9e7c9a03
HD
60342020-04-03 Hannes Domani <ssbssa@yahoo.de>
6035
6036 PR gdb/25325
6037 * gdb.cp/typed-enum.cc: New test.
6038 * gdb.cp/typed-enum.exp: New file.
6039
c90d28ac
AB
60402020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
6041
6042 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
6043 * gdb.dwarf2/dw2-inline-small-func.c: New file.
6044 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
6045 * gdb.dwarf2/dw2-inline-small-func.h: New file.
6046 * gdb.opt/inline-small-func.c: New file.
6047 * gdb.opt/inline-small-func.exp: New file.
6048 * gdb.opt/inline-small-func.h: New file.
6049
34e9a9fa
AB
60502020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
6051
6052 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
6053 function.
6054
6a354911
AB
60552020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
6056
6057 * lib/dwarf.exp (function_range): Allow compiler options to be
6058 specified.
6059
880d9777
TV
60602020-04-02 Tom de Vries <tdevries@suse.de>
6061
6062 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
6063 __attribute__((always_inline)).
6064 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
6065
f32682ea
TV
60662020-04-02 Tom de Vries <tdevries@suse.de>
6067
6068 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
6069 (gdbserver_gdb_exit): ... here. Add timeout warning.
6070 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
6071 (connect_target_extended_remote): Append new server_spawn_id to
6072 server_spawn_ids.
6073 (cleanup): New proc.
6074 (setup, <toplevel>): Call cleanup.
6075
d3214198
TV
60762020-04-02 Tom de Vries <tdevries@suse.de>
6077
6078 * gdb.base/main-psymtab.exp: New file.
6079
cc77ed24
TV
60802020-04-02 Tom de Vries <tdevries@suse.de>
6081
6082 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
6083
3638a098
TT
60842020-04-01 Tom Tromey <tom@tromey.com>
6085
6086 * gdb.base/complex-parts.exp: Add type tests.
6087
c34e8714
TT
60882020-04-01 Tom Tromey <tom@tromey.com>
6089
6090 * gdb.base/complex-parts.exp: Add arithmetic tests.
6091
981c08ce
TT
60922020-04-01 Tom Tromey <tom@tromey.com>
6093
6094 * gdb.compile/compile.exp: Update.
6095 * gdb.compile/compile-cplus.exp: Update.
6096 * gdb.base/varargs.exp: Update.
6097 * gdb.base/floatn.exp: Update.
6098 * gdb.base/endianity.exp: Update.
6099 * gdb.base/callfuncs.exp (do_function_calls): Update.
6100 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
6101 (complex_float_integral_args): Update.
6102 * gdb.base/complex.exp: Update.
6103 * gdb.base/complex-parts.exp: Update.
6104
3d1cfd43
TT
61052020-04-01 Tom Tromey <tromey@adacore.com>
6106
6107 * gdb.rust/union.rs: New file.
6108 * gdb.rust/union.exp: New file.
6109 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
6110 (main): Update.
6111 * gdb.rust/simple.exp: Move union tests to union.exp.
6112
e033dfa9
TT
61132020-04-01 Tom Tromey <tromey@adacore.com>
6114
6115 * gdb.rust/simple.rs (main): Remove "y0".
6116
53cccef1
TBA
61172020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6118
6119 * gdb.multi/stop-all-on-exit.c: New test.
6120 * gdb.multi/stop-all-on-exit.exp: New file.
6121
60e22c1e
HD
61222020-04-01 Hannes Domani <ssbssa@yahoo.de>
6123
6124 PR gdb/24789
6125 * gdb.cp/misc.cc: Add integer reference variable.
6126 * gdb.cp/misc.exp: Add test.
6127
e139a727
TBA
61282020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6129
6130 * gdb.server/stop-reply-no-thread.exp: Enhance the test
6131 scenario to cover execution until the end and also the case
6132
16b0db75
TV
61332020-03-31 Tom de Vries <tdevries@suse.de>
6134
6135 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
6136 c. Use "maint info symtabs" to check symtab expansion.
6137
c0502da6
TV
61382020-03-30 Tom de Vries <tdevries@suse.de>
6139
6140 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
6141 unsupported.
6142 (verify_psymtab_expanded): Move ...
6143 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
6144 test.
6145 (readnow): New proc.
6146
5935fd15
AB
61472020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6148
6149 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
6150 with $hex.
6151
1773be9e
TT
61522020-03-20 Tom Tromey <tromey@adacore.com>
6153
6154 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
6155
70304be9
TT
61562020-03-20 Tom Tromey <tromey@adacore.com>
6157
6158 * gdb.ada/sub_variant/subv.adb: New file.
6159 * gdb.ada/sub_variant.exp: New file.
6160
0dd7b8f7
TV
61612020-03-20 Tom de Vries <tdevries@suse.de>
6162
6163 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
6164 first break fails.
6165 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
6166
cada5fc9
AB
61672020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
6168
6169 * gdb.server/exit-multiple-threads.c: New file.
6170 * gdb.server/exit-multiple-threads.exp: New file.
6171
6b8c53f2
AB
61722020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
6173
6174 * gdb.fortran/mixed-lang-stack.c: New file.
6175 * gdb.fortran/mixed-lang-stack.cpp: New file.
6176 * gdb.fortran/mixed-lang-stack.exp: New file.
6177 * gdb.fortran/mixed-lang-stack.f90: New file.
6178
19a2740f
AB
61792020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
6180
6181 * gdb.linespec/cp-completion-aliases.cc: New file.
6182 * gdb.linespec/cp-completion-aliases.exp: New file.
6183
d8c8b848
TV
61842020-03-19 Tom de Vries <tdevries@suse.de>
6185
6186 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
6187 more precise.
6188
a9933ccf
TV
61892020-03-18 Tom de Vries <tdevries@suse.de>
6190
6191 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
6192 * gdb.dwarf2/break-inline-psymtab.c: New test.
6193 * gdb.dwarf2/break-inline-psymtab.exp: New file.
6194
2f89101f
TV
61952020-03-16 Tom de Vries <tdevries@suse.de>
6196
6197 * lib/cache.exp (gdb_do_cache): Add and handle local variables
6198 cache_verify and cache_verify_proc.
6199
6b9374f1
TV
62002020-03-15 Tom de Vries <tdevries@suse.de>
6201
6202 * gdb.server/solib-list.exp: Handle
6203 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
6204
eaeaf44c
TV
62052020-03-15 Tom de Vries <tdevries@suse.de>
6206
6207 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
6208 objfiles".
6209
3293bbaf
TT
62102020-03-14 Tom Tromey <tom@tromey.com>
6211
6212 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
6213
ab44624c
TV
62142020-03-14 Tom de Vries <tdevries@suse.de>
6215
6216 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
6217
54c43825
TV
62182020-03-14 Tom de Vries <tdevries@suse.de>
6219
6220 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
6221 result in line-by-line fashion.
6222
2ac70237
TV
62232020-03-14 Tom de Vries <tdevries@suse.de>
6224
6225 * lib/gdb.exp (supports_statement_frontiers): New proc.
6226 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
6227
09546b56
TV
62282020-03-14 Tom de Vries <tdevries@suse.de>
6229
6230 * gdb.base/printcmds.exp: Add missing quoting for "print
6231 teststring2".
6232
a1f6a07c
TT
62332020-03-13 Tom Tromey <tom@tromey.com>
6234
6235 * gdb.base/printcmds.exp (test_print_strings): Add regression
6236 test.
6237 * gdb.base/printcmds.c (charptr): New typedef.
6238 (teststring2): New global.
6239
1b83d09c
AB
62402020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
6241
6242 * gdb.base/break-interp.exp: Use the tail of the filename, not the
6243 full path in the test name.
6244 (test_ld): Add some with_test_prefix blocks to make test names
6245 unique.
6246
2d61316c
TV
62472020-03-13 Tom de Vries <tdevries@suse.de>
6248
6249 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
6250
2e9145ac
TV
62512020-03-13 Tom de Vries <tdevries@suse.de>
6252
6253 * gdb.mi/mi-sym-info.exp: Make matching more precise.
6254
96c7f873
TV
62552020-03-13 Tom de Vries <tdevries@suse.de>
6256
6257 PR symtab/25646
6258 * gdb.dwarf2/imported-unit.exp: Add test.
6259
49ba92c0
TV
62602020-03-13 Tom de Vries <tdevries@suse.de>
6261
6262 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
6263 (var1, var2): New variable.
6264 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
6265 matching symbols.
6266
301b21e0
TV
62672020-03-13 Tom de Vries <tdevries@suse.de>
6268
6269 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
6270 (Term::command): Use prompt prefix.
6271 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
6272 * gdb.tui/tui-layout-asm-short-prog.exp: Use
6273 command_no_prompt_prefix instead of prefix.
6274 * gdb.tui/tui-layout-asm.exp: Same.
6275
3f512721
SM
62762020-03-12 Simon Marchi <simon.marchi@efficios.com>
6277
6278 * gdb.base/break-interp.exp: Use foreach_with_prefix.
6279
40310f30
SM
62802020-03-12 Simon Marchi <simon.marchi@efficios.com>
6281
6282 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
6283 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
6284 on" while stepping over the test instruction, match printed
6285 message.
6286
09252140
TV
62872020-03-12 Tom de Vries <tdevries@suse.de>
6288
6289 * gdb.base/info-types.exp: Use exp_continue during matching of output
6290 of "info types".
6291
14e9c72c
TV
62922020-03-12 Tom de Vries <tdevries@suse.de>
6293
6294 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
6295
e515d67e
TV
62962020-03-12 Tom de Vries <tdevries@suse.de>
6297
6298 * gdb.fortran/module.exp: Use exp_continue during matching of output
6299 of "info variable -n".
6300
307eafd8
TV
63012020-03-12 Tom de Vries <tdevries@suse.de>
6302
6303 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
6304 gdb.dwarf2/dw2-ranges-base.c.
6305
9a2de3fc
TV
63062020-03-12 Tom de Vries <tdevries@suse.de>
6307
6308 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
6309 in presence of GLIBC debuginfo.
6310
3217502e
TV
63112020-03-12 Tom de Vries <tdevries@suse.de>
6312
6313 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
6314 $core.
6315
1281424c
TV
63162020-03-12 Tom de Vries <tdevries@suse.de>
6317
6318 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
6319 more precise.
6320
038b97fc
SM
63212020-03-11 Simon Marchi <simon.marchi@efficios.com>
6322
6323 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
6324 from Unix to Windows path.
6325
5308d1e7
TV
63262020-03-11 Tom de Vries <tdevries@suse.de>
6327
6328 * gdb.ada/minsyms.exp: Set language to ada.
6329
f870f78f
TV
63302020-03-11 Tom de Vries <tdevries@suse.de>
6331
6332 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
6333
5a13315d
TV
63342020-03-11 Tom de Vries <tdevries@suse.de>
6335
6336 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
6337
976862ed
TT
63382020-03-11 Tom Tromey <tromey@adacore.com>
6339
6340 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
6341
7462c383
TV
63422020-03-11 Tom de Vries <tdevries@suse.de>
6343
6344 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
6345
1c6c46a0
TV
63462020-03-11 Tom de Vries <tdevries@suse.de>
6347
6348 * gdb.base/break-interp.exp: Limit verbose scope.
6349
44f41bb7
TV
63502020-03-11 Tom de Vries <tdevries@suse.de>
6351
6352 * gdb.fortran/logical.f90: Define variable with character type.
6353 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
6354
b76f3a42
TV
63552020-03-11 Tom de Vries <tdevries@suse.de>
6356
6357 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
6358
1c33af77
TV
63592020-03-11 Tom de Vries <tdevries@suse.de>
6360
6361 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
6362 symtabs.
6363
8c95582d
AB
63642020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
6365 Bernd Edlinger <bernd.edlinger@hotmail.de>
6366
6367 * gdb.cp/step-and-next-inline.cc: New file.
6368 * gdb.cp/step-and-next-inline.exp: New file.
6369 * gdb.cp/step-and-next-inline.h: New file.
6370 * gdb.dwarf2/dw2-is-stmt.c: New file.
6371 * gdb.dwarf2/dw2-is-stmt.exp: New file.
6372 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
6373 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
6374 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
6375
cecf8547
AB
63762020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
6377
6378 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
6379 is-stmt flag in the line table.
6380
0ba678c9
TV
63812020-03-09 Tom de Vries <tdevries@suse.de>
6382
6383 * lib/gdb.exp (cached_file): Create cache dir.
6384
72fbdf83
TV
63852020-03-07 Tom de Vries <tdevries@suse.de>
6386
6387 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
6388 * gdb.cp/rvalue-ref-params.exp: Same.
6389
436b5e99
TV
63902020-03-06 Tom de Vries <tdevries@suse.de>
6391
6392 * lib/gdb.exp (tentative_rename, cached_file): New proc.
6393 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
6394
09f2921c
TV
63952020-03-06 Tom de Vries <tdevries@suse.de>
6396
6397 * README: Fix "the the".
6398 * gdb.base/dprintf.exp: Same.
6399
50a3cc5d
TV
64002020-03-05 Tom de Vries <tdevries@suse.de>
6401
6402 * gdb.base/maint.exp: Update "main print statistics" expected output.
6403
0a709cba
AKS
64042020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
6405
6406 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
6407 (fortran_int8): Likewise.
6408 (fortran_real4): Likewise.
6409 (fortran_real8): Likewise.
6410 (fortran_complex4): Likewise.
6411 (fortran_logical4): Likewise.
6412 (fortran_character1): Likewise.
6413
5e5d66b6
AB
64142020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
6415
6416 * gdb.fortran/logical.exp: Add tests that any non-zero value is
6417 printed as true.
6418
7b973adc
SDJ
64192020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
6420
6421 * gdb.base/printcmds.exp: Add test to verify printf of a
6422 variable holding an address.
6423
478e490a
TV
64242020-03-03 Tom de Vries <tdevries@suse.de>
6425
6426 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
6427
1ef44e86
TV
64282020-03-03 Tom de Vries <tdevries@suse.de>
6429
6430 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
6431 gdb_test_multiple call.
6432
b98cc2cf
TV
64332020-03-03 Tom de Vries <tdevries@suse.de>
6434
6435 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
6436 gdb_test_multiple calls.
6437
63e163f2
AB
64382020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
6439
6440 * gdb.base/default.exp: Remove test of 'set history filename'.
6441 * gdb.base/gdbinit-history.exp: Add tests for setting the history
6442 filename to the empty string.
6443 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
6444 and GDBHISTSIZE.
6445
24ed6739
AB
64462020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
6447
6448 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
6449 disabled.
6450
590003dc 64512020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 6452 Tom de Vries <tdevries@suse.de>
590003dc
TV
6453
6454 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
6455 -prompt prefix, before user_code argument. Add -lbl option likewise.
6456 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
6457 (gdb_is_target_1): Add -prompt prefix and move to before user_code
6458 argument.
6459 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
6460 have "\r\n" at start-of-line, instead of at end-of-line.
6461
f5e46084
SM
64622020-02-28 Simon Marchi <simon.marchi@efficios.com>
6463
6464 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
6465 libinproctrace.so.
6466
f7a7000d
LM
64672020-02-28 Luis Machado <luis.machado@linaro.org>
6468
6469 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
6470 to "p/x".
6471
718e0816
LM
64722020-02-28 Luis Machado <luis.machado@linaro.org>
6473
6474 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
6475 asm/ptrace.h and error.h.
6476
13c3a74a
TV
64772020-02-28 Tom de Vries <tdevries@suse.de>
6478
6479 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
6480 (struct wrapper, do_something, mundane/symada__cS): Move ...
6481 * gdb.base/c-linkage-name-2.c: ... here. New source file.
6482 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
6483 Update "print symada__cS before partial symtab expansion" regexp.
6484 Update breakpoint location. Flush symbol cache after expansion.
6485
85d2d5bb
LM
64862020-02-28 Luis Machado <luis.machado@linaro.org>
6487
6488 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
6489
3608f86c
TV
64902020-02-27 Tom de Vries <tdevries@suse.de>
6491
6492 * config/sid.exp: Remove unused globals.
6493 * gdb.base/attach.exp: Same.
6494 * gdb.base/catch-load.exp: Same.
6495 * gdb.base/dbx.exp: Same.
6496 * lib/gdb.exp: Same.
6497 * lib/mi-support.exp: Same.
6498 * lib/prompt.exp: Same.
6499
c8d4f6df
TV
65002020-02-27 Tom de Vries <tdevries@suse.de>
6501
6502 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
6503 not set.
6504
0d79cdc4
AM
65052020-02-26 Aaron Merey <amerey@redhat.com>
6506
6507 * gdb.debuginfod: New directory for debuginfod tests.
6508 * gdb.debuginfod/main.c: New test file.
6509 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
6510
0dce4280
TV
65112020-02-26 Tom de Vries <tdevries@suse.de>
6512
6513 PR gdb/25603
6514 * gdb.base/persistent-lang.cc: New test.
6515 * gdb.base/persistent-lang.exp: New file.
6516
9e80cfa1
AB
65172020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
6518
6519 * gdb.fortran/derived-type-striding.exp: Add a new test.
6520 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
6521 new test.
6522
2078dbb2
AB
65232020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
6524
6525 * gdb.base/cached-source-file.exp: Avoid source file paths in test
6526 names.
6527
70d49700
TV
65282020-02-25 Tom de Vries <tdevries@suse.de>
6529
6530 PR go/18926
6531 * gdb.go/methods.exp: Remove gcc/93866 xfail.
6532
a88ef40d
TV
65332020-02-24 Tom de Vries <tdevries@suse.de>
6534
6535 PR gdb/25592
6536 * gdb.base/info-locals-unused-static-var.c: New test.
6537 * gdb.base/info-locals-unused-static-var.exp: New file.
6538
01b1af32
TT
65392020-02-22 Tom Tromey <tom@tromey.com>
6540
6541 * gdb.python/tui-window.exp: New file.
6542 * gdb.python/tui-window.py: New file.
6543
7c043ba6
TT
65442020-02-22 Tom Tromey <tom@tromey.com>
6545
6546 PR tui/17850:
6547 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
6548 tests.
6549
c22fef7e
TT
65502020-02-22 Tom Tromey <tom@tromey.com>
6551
6552 * gdb.tui/new-layout.exp: Add sub-layout tests.
6553
ee325b61
TT
65542020-02-22 Tom Tromey <tom@tromey.com>
6555
6556 * gdb.tui/new-layout.exp: New file.
6557
3f0cbb04
TT
65582020-02-22 Tom Tromey <tom@tromey.com>
6559
6560 * gdb.rust/rust-style.rs: New file.
6561 * gdb.rust/rust-style.exp: New file.
6562 * gdb.base/style.exp: Test structure printing.
6563 * gdb.base/style.c (struct some_struct): New type.
6564 (enum etype): New type.
6565 (struct_value): New global.
6566
75525152
TV
65672020-02-21 Tom de Vries <tdevries@suse.de>
6568
6569 PR go/18926
6570 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
6571 Remove blanket xfails. Use message argument for gdb_breakpoint.
6572 Make continuing to breakpoint test conditional on setting breakpoint.
6573 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
6574 DW_AT_name attribute. Add xfail for GCC PR93866.
6575
bd360d30
AB
65762020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
6577
6578 * gdb.dwarf2/cpp-linkage-name.c: New file.
6579 * gdb.dwarf2/cpp-linkage-name.exp: New file.
6580
c7adb09f 65812020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
6582
6583 * lib/gdb.exp (gdb_wrapper_init): Reset
6584 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
6585 not exist.
6586
a9c79803
TV
65872020-02-20 Tom de Vries <tdevries@suse.de>
6588
6589 PR go/17018
6590 * gdb.go/hello.exp: Copy ...
6591 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
6592 print of st to print value of global definition. Add xfail for GCC
6593 PR93844.
6594 * gdb.go/hello.exp: Remove printing of st before definition.
6595 * gdb.go/hello.go: Copy ...
6596 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
6597 to st.
6598 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
6599
d7445728
TV
66002020-02-20 Tom de Vries <tdevries@suse.de>
6601
6602 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
6603 (gdb_simple_compile): Handle compile_flags go by using .go extension
6604 for source file.
6605 * gdb.go/chan.exp: Use support_go_compile.
6606 * gdb.go/handcall.exp: Same.
6607 * gdb.go/hello.exp: Same.
6608 * gdb.go/integers.exp: Same.
6609 * gdb.go/max-depth.exp: Same.
6610 * gdb.go/methods.exp: Same.
6611 * gdb.go/package.exp: Same.
6612 * gdb.go/strings.exp: Same.
6613 * gdb.go/types.exp: Same.
6614 * gdb.go/unsafe.exp: Same.
6615
c9c41e6d
TV
66162020-02-19 Tom de Vries <tdevries@suse.de>
6617
6618 * gdb.python/lib-types.exp: Make xfail more strict.
6619
f20ff837
TV
66202020-02-19 Tom de Vries <tdevries@suse.de>
6621
6622 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
6623
08410482
DE
66242020-02-19 Doug Evans <dje@google.com>
6625
6626 PR rust/25535
6627 * gdb.rust/simple.exp: Add test.
6628 * gdb.rust/simple.rs: Add test.
6629
623563f7
TV
66302020-02-19 Tom de Vries <tdevries@suse.de>
6631
6632 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
6633 output line-by-line.
6634
d3308cfd
TV
66352020-02-19 Tom de Vries <tdevries@suse.de>
6636
6637 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
6638
86cbc5dc
TV
66392020-02-19 Tom de Vries <tdevries@suse.de>
6640
6641 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
6642 prelink.
6643
9db2b96b
TV
66442020-02-19 Tom de Vries <tdevries@suse.de>
6645
6646 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
6647 (gdb_do_cache): Use gdb_do_cache_wrap.
6648 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
6649
89e2fdc5
TV
66502020-02-19 Tom de Vries <tdevries@suse.de>
6651
6652 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
6653 gdb_compile option.
6654
373d7ac0
SM
66552020-02-18 Simon Marchi <simon.marchi@efficios.com>
6656
6657 * gdb.base/printcmds.exp (test_print_enums): Update expected
6658 output.
6659
b29a2df0
SM
66602020-02-18 Simon Marchi <simon.marchi@efficios.com>
6661
6662 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
6663 for "unknown".
6664
6740f0cc
SM
66652020-02-18 Simon Marchi <simon.marchi@efficios.com>
6666
6667 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
6668 enumerator.
6669
edd45eb0
SM
66702020-02-18 Simon Marchi <simon.marchi@efficios.com>
6671
6672 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
6673 FE_, add FE_NONE.
6674 (three): Update.
6675 (enum flag_enum_without_zero): New enum.
6676 (flag_enum_without_zero): New variable.
6677 (enum not_flag_enum): New enum.
6678 (three_not_flag): New variable.
6679 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
6680 (test_print_enums): Add more tests for printing flag enums.
6681
d4295de4
TV
66822020-02-18 Tom de Vries <tdevries@suse.de>
6683
6684 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
6685 (gdb_compile_ada): ... here.
6686 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
6687 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
6688
f251f505
TT
66892020-02-14 Tom Tromey <tom@tromey.com>
6690
6691 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
6692 build directory.
6693 * boards/gdbserver-base.exp: Update path to gdbserver.
6694
8f432634
TV
66952020-02-13 Tom de Vries <tdevries@suse.de>
6696
6697 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
6698
92b6eaf7
TV
66992020-02-13 Tom de Vries <tdevries@suse.de>
6700
6701 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
6702 are missing.
6703
f3b0f7fe
TV
67042020-02-13 Tom de Vries <tdevries@suse.de>
6705
6706 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
6707 call.
6708
f6be8713
SDJ
67092020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
6710
6711 PR tui/25126
6712 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
6713 * gdb.base/cached-source-file.c: New file.
6714 * gdb.base/cached-source-file.exp: New file.
6715
b2770d5e
TV
67162020-02-11 Tom de Vries <tdevries@suse.de>
6717
6718 PR testsuite/25488
6719 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
6720
44f6938e
TV
67212020-02-10 Tom de Vries <tdevries@suse.de>
6722
6723 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
6724
5f0e2eb7
MR
67252020-02-10 Maciej W. Rozycki <macro@wdc.com>
6726
6727 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
6728 and $after_addr are both integers before making a comparison.
6729
46ce2b6f
TV
67302020-02-09 Tom de Vries <tdevries@suse.de>
6731
6732 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
6733 command output and paste it into gdb.log. If any, paste catch message
6734 to gdb.log.
6735
5abbbe1d
TT
67362020-02-07 Tom Tromey <tromey@adacore.com>
6737
6738 PR breakpoints/24915:
6739 * gdb.base/annotate-symlink.exp: Use setup_xfail.
6740
1d5d29e7
SV
67412020-02-06 Shahab Vahedi <shahab@synopsys.com>
6742
6743 * gdb.tui/tui-missing-src.exp: Add the "missing source
6744 file" test for the TUI.
6745
b0999b9b
AB
67462020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
6747
6748 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
6749 including a port number in the output.
6750
c3b149eb
AKS
67512020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
6752
6753 * lib/fortran.exp (fortran_int4): Handle clang.
6754 (fortran_int8): Likewise.
6755 (fortran_real4): Likewise.
6756 (fortran_real8): Likewise.
6757 (fortran_complex4): Likewise.
6758 (fortran_logical4): Likewise.
6759 (fortran_character1): Likewise.
6760
f8dcc90b
TV
67612020-02-04 Tom de Vries <tdevries@suse.de>
6762
6763 * README (Race detection): Add note.
6764
f90ac7c2
TV
67652020-02-04 Tom de Vries <tdevries@suse.de>
6766
6767 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
6768
780636ae
TV
67692020-02-04 Tom de Vries <tdevries@suse.de>
6770
6771 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
6772
5d2e1193
RA
67732020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6774
6775 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
6776 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
6777 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
6778 blttar, bnetarl.
6779 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
6780 binary for blttar, bnetarl.
6781 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
6782 wait instruction. Delete ldmx test.
6783 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
6784
e409c542
AKS
67852020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
6786
6787 * gdb.fortran/array-bounds-high.exp: New file.
6788 * gdb.fortran/array-bounds-high.f90: New file.
6789
b0029748
LD
67902020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
6791
6792 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
6793 Replace #include of <sys/fcntl.h> by <fcntl.h>.
6794
195a8287
TV
67952020-02-01 Tom de Vries <tdevries@suse.de>
6796
6797 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
6798
42330a68
AB
67992020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
6800
6801 PR tui/9765
6802 * gdb.tui/tui-layout-asm-short-prog.S: New file.
6803 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
6804
b62a8028
LM
68052020-01-29 Luis Machado <luis.machado@linaro.org>
6806
6807 * gdb.arch/aarch64-brk-patterns.c: New source file.
6808 * gdb.arch/aarch64-brk-patterns.exp: New test.
6809
5f440116
TBA
68102020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6811
6812 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
6813 GCC/Clang version.
6814 * gdb.cp/pass-by-ref.exp: Ditto.
6815
ee2a6fc6
TV
68162020-01-29 Tom de Vries <tdevries@suse.de>
6817
6818 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
6819 * gdb.threads/watchpoint-fork-mt.c: Same.
6820 * gdb.threads/watchpoint-fork-parent.c: Same.
6821 * gdb.threads/watchpoint-fork-st.c: Same.
6822 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
6823
16b10d6e
LM
68242020-01-27 Luis Machado <luis.machado@linaro.org>
6825
6826 * gdb.base/step-over-syscall.exp (setup): Check if we're already
6827 sitting at a syscall instruction when we hit the syscall function's
6828 breakpoint.
6829 Check PC against one obtained with the x command.
6830 Validate syscall number.
6831 (step_over_syscall): Don't continue to the syscall instruction if
6832 we're already there.
6833
b1468492
PW
68342020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6835
6836 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
6837
7ffa82e1
AB
68382020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6839
6840 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
6841 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
6842
3d92a3e3
AB
68432020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6844
6845 * gdb.dwarf2/dw2-inline-stepping.c: New file.
6846 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
6847
94a72be7
AB
68482020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6849
6850 * gdb.base/maint.exp: Update line table parsing test.
6851 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
6852
53af73bf
PA
68532020-01-24 Pedro Alves <palves@redhat.com>
6854
6855 PR gdb/25410
6856 * gdb.multi/multi-re-run-1.c: New.
6857 * gdb.multi/multi-re-run-2.c: New.
6858 * gdb.multi/multi-re-run.exp: New.
6859
1ba1ac88
AB
68602020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6861
6862 PR gdb/23718
6863 * gdb.server/server-kill-python.exp: New file.
6864
f3364a6d
AB
68652020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6866
6867 * gdb.server/multi-ui-errors.c: New file.
6868 * gdb.server/multi-ui-errors.exp: New file.
6869
733d0a67
AB
68702020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6871
6872 PR tui/9765
6873 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
6874
4f13c1c0
TT
68752020-01-19 Tom Tromey <tom@tromey.com>
6876
6877 * gdb.tui/main.exp: Add check for plain "file".
6878
40c94099
CB
68792020-01-16 Christian Biesinger <cbiesinger@google.com>
6880
6881 * lib/gdb.exp: Fix spelling error (seperatelly).
6882
ff47f4f0
TT
68832020-01-14 Tom Tromey <tom@tromey.com>
6884
6885 PR symtab/12535:
6886 * gdb.python/python.exp: Test decode_line with empty string
6887 argument.
6888
717c684d
BE
68892020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
6890
6891 * gdb.base/skip-inline.exp: Extend test.
6892
44e4c775
AB
68932020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6894
6895 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
6896 * gdb.dwarf2/dw2-bad-elf.c: New file.
6897 * gdb.dwarf2/dw2-bad-elf.exp: New file.
6898
d93c6db7
AB
68992020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6900
6901 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
6902 _line_saw_file.
6903
9a6d629c
AB
69042020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6905
6906 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
6907 border.
6908
d9ebdab7
TBA
69092020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6910
6911 * gdb.multi/multi-target.exp (setup): Factor out "info
6912 connections" and "info inferiors" tests to ...
6913 (test_info_inferiors): ... this new procedure.
6914 (top level): Run new "info-inferiors" tests.
6915
f3c469b9
PA
69162020-01-10 Pedro Alves <palves@redhat.com>
6917
6918 * gdb.server/bkpt-other-inferior.exp: New file.
6919
121b3efd
PA
69202020-01-10 Pedro Alves <palves@redhat.com>
6921
6922 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
6923 of "add-inferior".
6924 * gdb.base/quit-live.exp: Likewise.
6925 * gdb.base/remote-exec-file.exp: Likewise.
6926 * gdb.guile/scm-progspace.exp: Likewise.
6927 * gdb.linespec/linespec.exp: Likewise.
6928 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6929 * gdb.mi/user-selected-context-sync.exp: Likewise.
6930 * gdb.multi/multi-target.exp (setup): Add "info connection" and
6931 "info inferiors" tests.
6932 * gdb.multi/remove-inferiors.exp: Adjust expected output of
6933 "add-inferior".
6934 * gdb.multi/watchpoint-multi.exp: Likewise.
6935 * gdb.python/py-inferior.exp: Likewise.
6936 * gdb.server/extended-remote-restart.exp: Likewise.
6937 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
6938 "info inferiors".
6939 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
6940 * gdb.trace/report.exp: Likewise.
6941
1dadb1dd
PA
69422020-01-10 Pedro Alves <palves@redhat.com>
6943
6944 * gdb.multi/multi-target.c: New file.
6945 * gdb.multi/multi-target.exp: New file.
6946 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
6947 mode requested, but remote does not support non-stop".
6948
78f2c40a
PA
69492020-01-10 Pedro Alves <palves@redhat.com>
6950
6951 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
6952 disconnect before reconnecting.
6953
e7af6c70
TBA
69542020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6955 Pedro Alves <palves@redhat.com>
6956
6957 * gdb.server/connect-without-multi-process.exp: Also test
6958 continuing to end.
6959
acdf84a6
PA
69602020-01-10 Pedro Alves <palves@redhat.com>
6961
6962 * gdb.base/remote-exec-file.exp: New file.
6963
873657b9
PA
69642020-01-10 Pedro Alves <palves@redhat.com>
6965
6966 * gdb.base/fork-running-state.exp (do_test): Adjust expected
6967 output.
6968 * gdb.threads/async.c: New.
6969 * gdb.threads/async.exp: New.
6970 * gdb.multi/tids-gid-reset.c: New.
6971 * gdb.multi/tids-gid-reset.exp: New.
6972
7f0ae84c
GB
69732020-01-10 George Barrett <bob@bob131.so>
6974
6975 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
6976 to help in finding the image relocation offset.
6977 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
6978 options in arguments.
6979 (stap_test_no_debuginfo): Likewise.
6980 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
6981 test variants.
6982 (stap_test): Add null semaphore relocation test.
6983
47e9d49d
GB
69842020-01-10 George Barrett <bob@bob131.so>
6985
6986 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
6987 * gdb.base/stap-probe.exp: Likewise.
6988 (stap_test): Pass argument as an additional flag.
6989 (stap_test_no_debuginfo): Likewise.
6990 (stap_test): Check `info probes stap' output for semaphore
6991 addresses if the test binary is supposed to have them.
6992
f5a7c406
AB
69932020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6994
6995 * gdb.tui/basic.exp: Add more scrolling tests.
6996
9ae6bf64
TT
69972020-01-09 Tom Tromey <tom@tromey.com>
6998
6999 PR tui/18932:
7000 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
7001 meangingful value.
7002 (Term::command, Term::resize): Update.
7003 * gdb.tui/basic.exp: Add scrolling test.
7004
b2efe70c
AB
70052020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
7006
7007 * gdb.tui/tui-layout-asm.exp: New file.
7008
3804da7e
AB
70092020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
7010
7011 * lib/tuiterm.exp (Term::check_box_contents): New proc.
7012
b40aa28f
AB
70132020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
7014
7015 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
7016 (Term::enter_tui): Use Term::prepare_for_tui.
7017
63ffd7c9
AB
70182020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
7019
7020 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
7021 called.
7022
3be966f6
AB
70232020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
7024
7025 * gdb.base/skip.exp: Fix race condition in test.
7026
153d79c4
AB
70272020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
7028
7029 * gdb.base/backtrace.c: New file.
7030 * gdb.base/backtrace.exp: New file.
7031
f2302a34
AB
70322020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
7033
7034 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
7035
6ec1d75e
PW
70362020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7037
7038 * gdb.base/style.exp: Test that warnings are styled.
7039
c296cbe6
BE
70402019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
7041
7042 * gdb.base/line65535.exp: New file.
7043 * gdb.base/line65535.c: New file.
7044
b28a729d
SM
70452019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
7046
7047 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
7048 * lib/gnat_debug_info_test.adb: New file.
7049 * gdb.ada/ptype_tagged_param.exp: Use
7050 gnat_runtime_has_debug_info, expect a different output if
7051 runtime does not have debug info.
7052
7f2d7a0d
SM
70532019-12-20 Simon Marchi <simon.marchi@efficios.com>
7054
7055 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
7056 (another) quote in test name.
7057
f3bce483
SM
70582019-12-20 Simon Marchi <simon.marchi@efficios.com>
7059
7060 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
7061 Add quote in test name.
7062
c855a912
TBA
70632019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
7064
7065 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
7066 directory instead.
7067 * gdb.cp/pass-by-ref.exp: Extend with more cases.
7068 * gdb.cp/pass-by-ref-2.cc: New file.
7069 * gdb.cp/pass-by-ref-2.exp: New file.
7070
fc9d2d72
TT
70712019-12-20 Tom Tromey <tom@tromey.com>
7072
7073 * gdb.tui/list-before.exp: New file.
7074
77b97e00
TT
70752019-12-20 Tom Tromey <tom@tromey.com>
7076
7077 * gdb.tui/list.exp: Check for source on initial listing.
7078
f69656d0
TT
70792019-12-11 Tom Tromey <tromey@adacore.com>
7080
7081 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
7082 Add crlf test.
7083
99a55965
SM
70842019-12-18 Simon Marchi <simon.marchi@efficios.com>
7085
7086 * gdb.base/default.exp: Update value of $_gdb_major.
7087
5024637f
BE
70882019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
7089
7090 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
7091
b63634be
BE
70922019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
7093
7094 * gdb.base/skip.exp: Whitespace fix.
7095
45d73523
BE
70962019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
7097
7098 * gdb.base/skip-inline.c: New file.
7099 * gdb.base/skip-inline.exp: New file.
7100
d043f8c8
SM
71012019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
7102
7103 * gdb.base/jit-reader.exp (jit_reader_test): Rename
7104 jit_function_00 to jit_function_stack_mangle.
7105 * gdb.base/jithost.c (jit_function_t): Rename to...
7106 (jit_function_stack_mangle_t): ... this.
7107 (jit_function_add_t): New typedef.
7108 (jit_function_00_code): Rename to...
7109 (jit_function_stack_mangle_code): ... this, make static.
7110 (jit_function_add_code): New.
7111 (main): Generate "add" function and call it. Adjust to changes
7112 in jithost_abi.
7113 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
7114 (struct jithost_abi) <begin, end>: Remove fields.
7115 <object, function_stack_mangle, function_add>: New fields.
7116 * gdb.base/jitreader.c (struct reader_state) <code_begin,
7117 code_end>: Remove fields.
7118 <func_stack_mangle>: New field.
7119 (read_debug_info): Adjust to renaming, create block for "add"
7120 function.
7121 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
7122
873de05c
TT
71232019-12-11 Tom Tromey <tom@tromey.com>
7124
7125 * gdb.tui/resize.exp: Fix regexp.
7126 * gdb.tui/regs.exp: Fix regexps.
7127 * gdb.tui/main.exp: Fix regexp.
7128
3d979945
TT
71292019-12-11 Tom Tromey <tom@tromey.com>
7130
7131 * gdb.tui/resize.exp: Update.
7132 * gdb.tui/empty.exp (layouts): Update.
7133
2192a9d3
TT
71342019-12-11 Tom Tromey <tom@tromey.com>
7135
7136 * gdb.tui/regs.exp: Update.
7137 * gdb.tui/empty.exp (layouts): Update.
7138 * gdb.tui/basic.exp: Update.
7139 * lib/tuiterm.exp (_check_box): Don't check bottom border.
7140
d8edc8b7
PW
71412019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7142
7143 * gdb.base/options.exp: Add -raw-values in the print completion list.
7144 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
7145
4c12d936
KB
71462019-12-10 Kevin Buettner <kevinb@redhat.com>
7147
7148 * gdb.threads/omp-par-scope.c: New file.
7149 * gdb/threads/omp-par-scope.exp: New file.
7150
26b911fb
KB
71512019-12-10 Kevin Buettner <kevinb@redhat.com>
7152
bb47f919
KB
7153 * lib/gdb.exp (support_nested_function_tests): New proc.
7154
71552019-12-10 Kevin Buettner <kevinb@redhat.com>
7156
7157 * lib/gdb.exp (gdb_compile_openmp): New proc.
7158 (build_executable_from_specs): Add an "openmp" option.
7159 (gdb_compile_pthreads): Add non-executable case.
26b911fb 7160
6c71eb7d
TT
71612019-12-10 Tom Tromey <tromey@adacore.com>
7162
7163 * gdb.ada/unchecked_union.exp: New file.
7164 * gdb.ada/unchecked_union/pck.adb: New file.
7165 * gdb.ada/unchecked_union/pck.ads: New file.
7166 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
7167 * gdb-utils.exp (string_to_regexp): Also quote "?".
7168
bac7c5cf
GB
71692019-12-10 George Barrett <bob@bob131.so>
7170
7171 Test scripted probe breakpoints.
7172 * gdb.guile/scm-breakpoint.c (main): Add probe point.
7173 * gdb.python/py-breakpoint.c (main): Likewise.
7174 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
7175 specifier test.
7176 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
7177
330f1d38
TBA
71782019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
7179
7180 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
7181 an rvalue parameter.
7182 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
7183 parameter.
7184
b43315e2
AB
71852019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
7186
7187 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
7188 modules.
7189
54f73dad
AB
71902019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
7191
7192 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
7193 broken version of GCC.
7194
d57cbee9
AB
71952019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
7196
7197 * gdb.fortran/info-modules.exp: Rewrite to make use of new
7198 sym-info-cmds library.
7199 * gdb.fortran/info-types.exp: Likewise.
7200 * lib/sym-info-cmds.exp: New file.
7201
c14aab8c
TV
72022019-12-08 Tom de Vries <tdevries@suse.de>
7203
7204 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
7205
aa2d5a42
KS
72062019-12-07 Keith Seitz <keiths@redhat.com>
7207
7208 * gdb.base/corefile-buildid-shlib-shr.c: New file.
7209 * gdb.base/corefile-buildid-shlib.c: New file.
7210 * gdb.base/corefile-buildid.c: New file.
7211 * gdb.base/corefile-buildid.exp: New file.
7212
93e55f0a
TV
72132019-12-06 Tom de Vries <tdevries@suse.de>
7214
7215 * gdb.dwarf2/varval.exp: Add decl before def test.
7216
c7d12402
TBA
72172019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
7218
7219 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
7220
06acc08f
TBA
72212019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
7222
7223 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
7224 CV and reference conversion for overload resolution.
7225 * gdb.cp/rvalue-ref-overload.exp: Test it.
7226
e0fad1ea
PW
72272019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7228
7229 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
7230 * gdb.base/frameapply.exp: Test faas without command.
7231
8d70a9f0
AB
72322019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
7233
7234 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
7235 Fortran tests.
7236 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
7237 order.
7238
36c8fb93
AB
72392019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
7240
7241 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
7242 casting to type with no kind specified.
7243 (test_basic_parsing_of_type_kinds): Additional tests for types
7244 with no kind specified, and add tests for single/double
7245 precision/complex types.
7246
4139ff00
TT
72472019-12-04 Tom Tromey <tromey@adacore.com>
7248
7249 * gdb.base/endianity.c (struct other) <x>: New field.
7250 (main): Initialize it.
7251 * gdb.base/endianity.exp: Update.
7252
a05cf17a
TT
72532019-12-04 Tom Tromey <tromey@adacore.com>
7254
7255 * gdb.ada/scalar_storage/storage.adb: New file.
7256 * gdb.ada/scalar_storage/pck.adb: New file.
7257 * gdb.ada/scalar_storage/pck.ads: New file.
7258 * gdb.ada/scalar_storage.exp: New file.
7259
103a685e
TT
72602019-12-04 Tom Tromey <tromey@adacore.com>
7261
7262 * gdb.base/endianity.c (struct otherendian) <f>: New field.
7263 (main): Initialize it.
7264 * gdb.base/endianity.exp: Update.
7265
c2512106
AB
72662019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
7267
7268 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
7269
293b38d6
AB
72702019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
7271
7272 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
7273 -symbol-info-module-functions and -symbol-info-module-variables.
7274
216a7e6b
AB
72752019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
7276
7277 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
7278
5bbd8269
AB
72792019-12-01 Richard Bunt <richard.bunt@arm.com>
7280 Andrew Burgess <andrew.burgess@embecosm.com>
7281
7282 * gdb.fortran/derived-type-striding.exp: New file.
7283 * gdb.fortran/derived-type-striding.f90: New file.
7284 * gdb.fortran/array-slices.exp: New file.
7285 * gdb.fortran/array-slices.f90: New file.
7286
be09caf1
PW
72872019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7288
7289 * gdb.base/define.exp: Test . in command names.
7290 * gdb.base/setshow.exp: Update test, as . is now part of
7291 command name.
7292
643c0cbe
PW
72932019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7294
7295 * gdb.base/define-prefix.exp: New file.
7296
dcdec678
AB
72972019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
7298
7299 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
7300 compile.
7301 (skip_btrace_pt_tests): Likewise.
7302
640ab947
AB
73032019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
7304
7305 * gdb.fortran/info-modules.exp: Compile source files in correct
7306 order.
7307
d22670f0
KB
73082019-11-27 Kevin Buettner <kevinb@redhat.com>
7309
7310 * gdb.dwarf2/imported-unit.exp: New file.
7311 * gdb.dwarf2/imported-unit.c: New file.
7312
db5960b4
AB
73132019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
7314
7315 * gdb.mi/mi-fortran-modules-2.f90: New file.
7316 * gdb.mi/mi-fortran-modules.exp: New file.
7317 * gdb.mi/mi-fortran-modules.f90: New file.
7318
7dc42066
AB
73192019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
7320
7321 * gdb.mi/mi-sym-info-1.c: New file.
7322 * gdb.mi/mi-sym-info-2.c: New file.
7323 * gdb.mi/mi-sym-info.exp: New file.
7324
0dfeecca
TT
73252019-11-22 Tom Tromey <tromey@adacore.com>
7326
7327 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
7328 * gdb.ada/tasks/foo.adb: Add another stopping location.
7329
34877895
PJ
73302019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
7331
7332 * gdb.base/endianity.c: New test.
7333 * gdb.base/endianity.exp: New file.
7334
2e84f897
LD
73352019-11-21 Lukas Durfina <ldurfina@tachyum.com>
7336
7337 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
7338
65d1cd5f
TV
73392019-11-21 Tom de Vries <tdevries@suse.de>
7340
7341 PR gdb/24956
7342 * gdb.base/ui-redirect.exp: Test output of user-defined command.
7343
4f22c3f4
SDJ
73442019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
7345
7346 * gdb.python/py-progspace.exp: Add missing parentheses on some
7347 'print' commands.
7348
9f6ad286
TT
73492019-11-19 Tom Tromey <tom@tromey.com>
7350
7351 * gdb.tui/winheight.exp: New file.
7352
0b8dbf3f
AB
73532019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
7354
7355 * gdb.base/ctf-whatis.c: Delete.
7356 * gdb.base/ctf-whatis.exp: Delete.
7357 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
7358
f833b7a7
AB
73592019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
7360
7361 * gdb.base/ctf-cvexpr.exp: Delete.
7362 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
7363
30d0a636
AB
73642019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
7365
7366 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
7367 the compiler. Clean up header comment a little.
7368 * gdb.base/ctf-ptype.exp: Likewise.
7369 * gdb.base/ctf-whatis.exp: Likewise.
7370 * lib/gdb.exp (skip_ctf_tests): New proc.
7371
494409bb
SDJ
73722019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
7373
7374 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
7375 * gdb.tui/corefile-run.exp: New file.
7376
55708e99
TT
73772019-11-14 Tom Tromey <tromey@adacore.com>
7378
7379 * gdb.base/gdbvars.exp (test_convenience_variables): Add
7380 regression tests.
7381
45e42163
TT
73822019-11-12 Tom Tromey <tom@tromey.com>
7383
7384 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
7385 after any command. Expect prompt after WAIT_FOR is seen.
7386 (enter_tui): Enable resize messages.
7387 (command): Expect command in output.
7388 (get_line): Avoid error when cursor appears to be off-screen.
7389 (dump_screen): Include screen size in title.
7390 (_do_resize): New proc, from "resize".
7391 (resize): Rewrite. Do resize in two steps.
7392 * gdb.tui/empty.exp (layouts): Fix entries.
7393 (check_boxes): Remove xfail.
7394 (check_text): Dump screen on failure.
7395
086baaf1
AB
73962019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
7397
7398 * gdb.python/py-symbol.exp: Add test for
7399 gdb.lookup_static_symbols.
7400
09ff83af
AB
74012019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
7402
7403 * gdb.python/py-symbol.c: Declare and call function from new
7404 py-symbol-2.c file.
7405 * gdb.python/py-symbol.exp: Compile both source files, and add new
7406 tests for gdb.lookup_static_symbol.
7407 * gdb.python/py-symbol-2.c: New file.
7408
11af934b
TV
74092019-11-02 Tom de Vries <tdevries@suse.de>
7410
7411 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
7412 * gdb.base/anon.exp: Same.
7413 * gdb.base/auto-connect-native-target.exp: Same.
7414 * gdb.base/call-ar-st.exp: Same.
7415 * gdb.base/catch-syscall.exp: Same.
7416 * gdb.base/commands.exp: Same.
7417 * gdb.base/default.exp: Same.
7418 * gdb.base/display.exp: Same.
7419 * gdb.base/float.exp: Same.
7420 * gdb.base/foll-fork.exp: Same.
7421 * gdb.base/help.exp: Same.
7422 * gdb.base/info-macros.exp: Same.
7423 * gdb.base/info-proc.exp: Same.
7424 * gdb.base/info-target.exp: Same.
7425 * gdb.base/long_long.exp: Same.
7426 * gdb.base/macscp.exp: Same.
7427 * gdb.base/memattr.exp: Same.
7428 * gdb.base/nofield.exp: Same.
7429 * gdb.base/pointers.exp: Same.
7430 * gdb.base/printcmds.exp: Same.
7431 * gdb.base/ptype.exp: Same.
7432 * gdb.base/restore.exp: Same.
7433 * gdb.base/return.exp: Same.
7434 * gdb.base/scope.exp: Same.
7435 * gdb.base/set-noassign.exp: Same.
7436 * gdb.base/setshow.exp: Same.
7437 * gdb.base/shlib-call.exp: Same.
7438 * gdb.base/signals.exp: Same.
7439 * gdb.base/sigstep.exp: Same.
7440 * gdb.base/skip.exp: Same.
7441 * gdb.base/solib-symbol.exp: Same.
7442 * gdb.base/stap-probe.exp: Same.
7443 * gdb.base/step-line.exp: Same.
7444 * gdb.base/step-test.exp: Same.
7445 * gdb.base/style.exp: Same.
7446 * gdb.base/varargs.exp: Same.
7447 * gdb.base/vla-datatypes.exp: Same.
7448 * gdb.base/vla-ptr.exp: Same.
7449 * gdb.base/vla-sideeffect.exp: Same.
7450 * gdb.base/volatile.exp: Same.
7451 * gdb.base/watch-cond-infcall.exp: Same.
7452 * gdb.base/watchpoint.exp: Same.
7453
e96ec2ba
TV
74542019-11-02 Tom de Vries <tdevries@suse.de>
7455
7456 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
7457 * gdb.cp/cpexprs.exp: Same.
7458 * gdb.cp/except-multi-location.exp: Same.
7459 * gdb.cp/exceptprint.exp: Same.
7460 * gdb.cp/gdb2384.exp: Same.
7461 * gdb.cp/inherit.exp: Same.
7462 * gdb.cp/m-static.exp: Same.
7463 * gdb.cp/meth-typedefs.exp: Same.
7464 * gdb.cp/misc.exp: Same.
7465 * gdb.cp/namespace.exp: Same.
7466 * gdb.cp/non-trivial-retval.exp: Same.
7467 * gdb.cp/overload.exp: Same.
7468 * gdb.cp/pr17132.exp: Same.
7469 * gdb.cp/re-set-overloaded.exp: Same.
7470 * gdb.cp/rvalue-ref-types.exp: Same.
7471 * gdb.cp/templates.exp: Same.
7472
bd5766ec
LM
74732019-11-01 Luis Machado <luis.machado@linaro.org>
7474
7475 PR gdb/25124
7476
7477 * gdb.arch/pr25124.S: New file.
7478 * gdb.arch/pr25124.exp: New file.
7479
165f8965
AB
74802019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7481
7482 * gdb.fortran/info-modules.exp: Update expected results, and add
7483 additional tests for 'info module functinos', and 'info module
7484 variables'.
7485 * gdb.fortran/info-types.exp: Update expected results.
7486 * gdb.fortran/info-types.f90: Extend testcase with additional
7487 module variables and functions.
7488
59c35742
AB
74892019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7490
7491 * gdb.fortran/info-modules.exp: New file.
7492 * gdb.fortran/info-types.exp: Build with new file.
7493 * gdb.fortran/info-types.f90: Include and use new module.
7494 * gdb.fortran/info-types-2.f90: New file.
7495
f3fb2519
PW
74962019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7497
7498 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
7499 * gdb.base/settings.exp: Test all settings types using
7500 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
7501 that now verifies that the value of "maint show" is the same as
7502 returned by the settings functions. Test the type of the
7503 maintenance settings.
7504 * gdb.base/default.exp: Update show_conv_list.
7505
d1e36019
TV
75062019-10-31 Tom de Vries <tdevries@suse.de>
7507
7508 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
7509 gdb_test.
7510 * gdb.arch/amd64-disp-step.exp: Same.
7511 * gdb.asm/asm-source.exp: Same.
7512 * gdb.btrace/buffer-size.exp: Same.
7513 * gdb.btrace/cpu.exp: Same.
7514 * gdb.btrace/enable.exp: Same.
7515 * gdb.dwarf2/count.exp: Same.
7516 * gdb.dwarf2/dw2-ranges-func.exp: Same.
7517 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
7518 * gdb.fortran/vla-datatypes.exp: Same.
7519 * gdb.fortran/vla-history.exp: Same.
7520 * gdb.fortran/vla-ptype.exp: Same.
7521 * gdb.fortran/vla-value.exp: Same.
7522 * gdb.fortran/whatis_type.exp: Same.
7523 * gdb.guile/guile.exp: Same.
7524 * gdb.multi/tids.exp: Same.
7525 * gdb.python/py-finish-breakpoint.exp: Same.
7526 * gdb.python/py-framefilter.exp: Same.
7527 * gdb.python/py-pp-registration.exp: Same.
7528 * gdb.python/py-xmethods.exp: Same.
7529 * gdb.python/python.exp: Same.
7530 * gdb.server/connect-with-no-symbol-file.exp: Same.
7531 * gdb.server/no-thread-db.exp: Same.
7532 * gdb.server/run-without-local-binary.exp: Same.
7533 * gdb.stabs/weird.exp: Same.
7534 * gdb.threads/attach-many-short-lived-threads.exp: Same.
7535 * gdb.threads/thread-find.exp: Same.
7536 * gdb.threads/tls-shared.exp: Same.
7537 * gdb.threads/tls.exp: Same.
7538 * gdb.threads/wp-replication.exp: Same.
7539 * gdb.trace/ax.exp: Same.
7540 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
7541
3d11e68e
TV
75422019-10-31 Tom de Vries <tdevries@suse.de>
7543
7544 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
7545 * gdb.ada/array_subscript_addr.exp: Same.
7546 * gdb.ada/arrayidx.exp: Same.
7547 * gdb.ada/arrayparam.exp: Same.
7548 * gdb.ada/arrayptr.exp: Same.
7549 * gdb.ada/boolean_expr.exp: Same.
7550 * gdb.ada/call_pn.exp: Same.
7551 * gdb.ada/complete.exp: Same.
7552 * gdb.ada/fixed_cmp.exp: Same.
7553 * gdb.ada/fun_addr.exp: Same.
7554 * gdb.ada/funcall_param.exp: Same.
7555 * gdb.ada/interface.exp: Same.
7556 * gdb.ada/mod_from_name.exp: Same.
7557 * gdb.ada/null_array.exp: Same.
7558 * gdb.ada/packed_array.exp: Same.
7559 * gdb.ada/packed_tagged.exp: Same.
7560 * gdb.ada/print_chars.exp: Same.
7561 * gdb.ada/print_pc.exp: Same.
7562 * gdb.ada/ptype_arith_binop.exp: Same.
7563 * gdb.ada/ptype_field.exp: Same.
7564 * gdb.ada/ptype_tagged_param.exp: Same.
7565 * gdb.ada/rec_return.exp: Same.
7566 * gdb.ada/ref_tick_size.exp: Same.
7567 * gdb.ada/str_ref_cmp.exp: Same.
7568 * gdb.ada/taft_type.exp: Same.
7569 * gdb.ada/tagged.exp: Same.
7570 * gdb.ada/type_coercion.exp: Same.
7571 * gdb.ada/uninitialized_vars.exp: Same.
7572
60b6ede8
TV
75732019-10-30 Tom de Vries <tdevries@suse.de>
7574
7575 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
7576
30baf67b
TV
75772019-10-26 Tom de Vries <tdevries@suse.de>
7578
7579 * gdb.base/bigcore.c: Fix typos in comments.
7580 * gdb.base/ctf-ptype.c: Same.
7581 * gdb.base/long_long.c: Same.
7582 * gdb.dwarf2/dw2-op-out-param.S: Same.
7583 * gdb.python/py-evthreads.c: Same.
7584 * gdb.reverse/i387-stack-reverse.c: Same.
7585 * gdb.trace/tfile.c: Same.
7586 * lib/compiler.c: Same.
7587 * lib/compiler.cc: Same.
7588
158da0d1
TV
75892019-10-25 Tom de Vries <tdevries@suse.de>
7590
7591 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
7592 gdb_test_multiple calls.
7593 * gdb.reverse/sigall-reverse.exp: Same.
7594 * gdb.reverse/solib-precsave.exp: Same.
7595 * gdb.reverse/solib-reverse.exp: Same.
7596 * gdb.reverse/until-precsave.exp: Same.
7597 * gdb.reverse/until-reverse.exp: Same.
7598
4ccdfbec
TV
75992019-10-24 Tom de Vries <tdevries@suse.de>
7600
7601 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
7602 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
7603 kfail using -wrap pattern flag and convenience variable
7604 gdb_test_name.
7605
33d569b7
AB
76062019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
7607
7608 * gdb.python/py-progspace.exp: Add tests for the
7609 Progspace.block_for_pc method.
7610
4d0b984b
TT
76112019-10-23 Tom Tromey <tom@tromey.com>
7612
7613 * configure: Rebuild.
7614 * aclocal.m4: Use m4_include, not sinclude.
7615
94cb3754
TV
76162019-10-21 Tom de Vries <tdevries@suse.de>
7617
7618 * gdb.base/infcall-nested-structs.c: Add
7619 __attribute__((noinline,noclone)) to all functions.
7620 (call_all): Add missing variable initialization. Simplify return value.
7621 (breakpt): Increment volatile variable, to prevent call from being
7622 optimized out.
7623 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
7624
062f1fc1
TV
76252019-10-17 Tom de Vries <tdevries@suse.de>
7626
7627 * gdb.fortran/module.exp: Allow info variables to print info for files
7628 other than module.f90.
7629
0b54364d
AB
76302019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
7631
7632 * gdb.fortran/module.exp: Extend with 'info variables' test.
7633
7ff5fae7
AB
76342019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
7635
7636 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
7637 F77_FOR_TARGET.
7638
d10eccaa
TV
76392019-10-16 Tom de Vries <tdevries@suse.de>
7640
7641 PR tdep/25096
7642 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
7643
745ff14e
TV
76442019-10-16 Tom de Vries <tdevries@suse.de>
7645
7646 PR tdep/24104
7647 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
7648 Add KFAIL for PR tdep/25096.
7649
03e1ab94
TV
76502019-10-16 Tom de Vries <tdevries@suse.de>
7651
7652 PR testsuite/25059
7653 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
7654
b17fcc10
TV
76552019-10-16 Tom de Vries <tdevries@suse.de>
7656
7657 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
7658 as signed.
7659
9223170f
SM
76602019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
7661
7662 * gdb.mi/list-thread-groups-available.exp: Read entries one by
7663 one instead of increasing timeout.
7664
d6e76313
TV
76652019-10-13 Tom de Vries <tdevries@suse.de>
7666
7667 PR record/25038
7668 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
7669 * gdb.reverse/sigall-reverse.exp: Same.
7670 * gdb.reverse/solib-precsave.exp: Same.
7671 * gdb.reverse/solib-reverse.exp: Same.
7672 * gdb.reverse/step-precsave.exp: Same.
7673 * gdb.reverse/until-precsave.exp: Same.
7674 * gdb.reverse/until-reverse.exp: Same.
7675 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
7676
6dfc0041
AA
76772019-10-10 Andreas Arnez <arnez@linux.ibm.com>
7678
7679 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
7680 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
7681 (cmp_struct_05_01, cmp_struct_static_02_01)
7682 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
7683 comparisons.
7684
abcf2cc8
TV
76852019-10-10 Tom de Vries <tdevries@suse.de>
7686
7687 PR testsuite/24888
7688 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
7689 gnatlink.
7690
a50faaf6
TV
76912019-10-09 Tom de Vries <tdevries@suse.de>
7692
7693 PR testsuite/25048
7694 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
7695
60ff3cd7
AB
76962019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7697
7698 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
7699 exceptions due to missing debug information.
7700
dfee8566
TV
77012019-10-07 Tom de Vries <tdevries@suse.de>
7702
7703 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
7704
3d63690a
AB
77052019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7706
7707 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
7708 * gdb.base/annota1.exp: Update to use gdb_test_name.
7709
30d1f018
WP
77102019-10-07 Weimin Pan <weimin.pan@oracle.com>
7711
7712 * gdb.base/ctf-whatis.exp: New file.
7713 * gdb.base/ctf-whatis.c: New file.
7714 * gdb.base/ctf-ptype.exp: New file.
7715 * gdb.base/ctf-ptype.c: New file.
7716 * gdb.base/ctf-constvars.exp: New file.
7717 * gdb.base/ctf-constvars.c: New file.
7718 * gdb.base/ctf-cvexpr.exp: New file.
7719
4dbbb47c
TV
77202019-10-04 Tom de Vries <tdevries@suse.de>
7721
7722 * gdb.cp/local-static.c (main): Move declaration of int i out of the
7723 for loop.
7724
77c2dba3
TT
77252019-10-03 Tom Tromey <tom@tromey.com>
7726
7727 PR rust/24976:
7728 * gdb.rust/simple.rs (Union2): New type.
7729 (main): Use Union2.
7730 * gdb.rust/simple.exp: Add test.
7731
179aed7f
AB
77322019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7733
7734 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
7735 nested function prefix.
7736
0a4b0913
AB
77372019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
7738 Richard Bunt <richard.bunt@arm.com>
7739 Andrew Burgess <andrew.burgess@embecosm.com>
7740
7741 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
7742 nested functions.
7743 * gdb.fortran/nested-funcs.f90: Update expected results.
7744 * gdb.fortran/nested-funcs-2.exp: New file.
7745 * gdb.fortran/nested-funcs-2.f90: New file.
7746
082cce05
AB
77472019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7748
7749 * gdb.python/py-parameter.exp: Make test names unique.
7750 * gdb.python/py-template.exp: Likewise.
7751 * gdb.python/py-value.exp: Likewise.
7752
2b74ba5a
AB
77532019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7754
7755 * gdb.base/break-interp.exp: Reduce test name duplication.
7756 * gdb.base/call-sc.exp: Likewise.
7757 * gdb.base/callfuncs.exp: Likewise.
7758 * gdb.base/charset.exp: Likewise.
7759 * gdb.base/dump.exp: Likewise.
7760 * gdb.base/ena-dis-br.exp: Likewise.
7761 * gdb.base/relational.exp: Likewise.
7762 * gdb.base/step-over-syscall.exp: Likewise.
7763 * gdb.base/structs.exp: Likewise.
7764
58eb20d5
AB
77652019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7766
7767 * gdb.linespec/explicit.exp: Make test names unique.
7768 * gdb.linespec/ls-errs.exp: Likewise.
7769
4d421147
AB
77702019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7771
7772 * gdb.reverse/break-precsave.exp: Make test names unique.
7773 * gdb.reverse/break-reverse.exp: Likewise.
7774 * gdb.reverse/finish-precsave.exp: Likewise.
7775 * gdb.reverse/finish-reverse.exp: Likewise.
7776 * gdb.reverse/machinestate-precsave.exp: Likewise.
7777 * gdb.reverse/machinestate.exp: Likewise.
7778 * gdb.reverse/readv-reverse.exp: Likewise.
7779 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7780 * gdb.reverse/sigall-precsave.exp: Likewise.
7781 * gdb.reverse/sigall-reverse.exp: Likewise.
7782 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
7783 * gdb.reverse/watch-precsave.exp: Likewise.
7784 * gdb.reverse/watch-reverse.exp: Likewise.
7785
d8c06f22
AB
77862019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7787
7788 * gdb.threads/stop-with-handle.c: New file.
7789 * gdb.threads/stop-with-handle.exp: New file.
7790
3a56ed86
TV
77912019-10-03 Tom de Vries <tdevries@suse.de>
7792
7793 PR testsuite/25059
7794 * gdb.base/list-missing-source.exp: Allowing the "Compilation
7795 directory" line to be missing.
7796
42275044
TV
77972019-10-03 Tom de Vries <tdevries@suse.de>
7798
7799 PR testsuite/25059
7800 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
7801 type optional.
7802
9ef62df0
AA
78032019-10-02 Andreas Arnez <arnez@linux.ibm.com>
7804
7805 * gdb.python/py-format-string.c (string.h): New include.
7806 (main): Fill a_struct_with_union.the_union.an_int with bytes of
7807 the same value, for endianness-independence.
7808 * gdb.python/py-format-string.exp (default_regexp_dict)
7809 (test_pretty_structs, test_format): Adjust expected output to the
7810 changed initialization.
7811
37f6a7f4
TT
78122019-10-02 Tom Tromey <tromey@adacore.com>
7813
7814 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
7815
1d58d6a2
PA
78162019-10-02 Pedro Alves <palves@redhat.com>
7817 Andrew Burgess <andrew.burgess@embecosm.com>
7818
7819 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
7820 "print-file-var.h".
7821 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7822 (get_version_1): Print this_version_id and its address.
7823 Add extern "C" wrappers around interface functions.
7824 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
7825 "print-file-var.h".
7826 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7827 (get_version_2): Print this_version_id and its address.
7828 Add extern "C" wrappers around interface functions.
7829 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
7830 <stddef.h> and "print-file-var.h".
7831 Add extern "C" wrappers around interface functions.
7832 [VERSION_ID_MAIN] (this_version_id): Define.
7833 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
7834 * gdb.base/print-file-var.h: Add some #defines to simplify setting
7835 up extern "C" blocks.
7836 * gdb.base/print-file-var.exp (test): New, factored out from top
7837 level.
7838 (top level): Test all combinations of attribute hidden or not,
7839 dlopen or not, and this_version_id symbol in main file or not.
7840 Compile tests as both C++ and C, make test names unique.
7841
d770d56f
TT
78422019-10-01 Tom Tromey <tom@tromey.com>
7843
7844 * gdb.base/style.exp: Test "show logging filename".
7845
7f6aba03
TT
78462019-10-01 Tom Tromey <tom@tromey.com>
7847
7848 * lib/gdb-utils.exp (style): Handle "metadata" argument.
7849 * gdb.base/style.exp: Add metadata style test.
7850
14309bb6
TT
78512019-10-01 Tom Tromey <tom@tromey.com>
7852
7853 * gdb.base/style.exp: Test "pwd".
7854
2a3c1174
PA
78552019-10-01 Tom Tromey <tom@tromey.com>
7856
7857 * gdb.base/style.exp: Update tests.
7858
53d666ec
AA
78592019-10-01 Andreas Arnez <arnez@linux.ibm.com>
7860
7861 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
7862 'six' to unsigned.
7863 (s1): Initialize fields 'four' and 'six' instead of 'three' and
7864 'five'. Use an all-ones bit pattern for each.
7865 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
7866 to its changed values.
7867
4a56a520
TT
78682019-09-30 Tom Tromey <tromey@adacore.com>
7869
7870 * gdb.rust/traits.rs: Disable all warnings.
7871
0df0352a
TV
78722019-09-29 Tom de Vries <tdevries@suse.de>
7873
aac66a4c 7874 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 7875
73d9a918
TV
78762019-09-29 Tom de Vries <tdevries@suse.de>
7877
7878 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
7879
060b3ab4
TV
78802019-09-27 Tom de Vries <tdevries@suse.de>
7881
7882 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
7883
68f7d34d
TV
78842019-09-27 Tom de Vries <tdevries@suse.de>
7885
7886 PR record/23188
7887 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
7888
5d63b30a
TT
78892019-09-26 Tom Tromey <tromey@adacore.com>
7890
7891 * gdb.ada/py_taft.exp: New file.
7892 * gdb.ada/py_taft/main.adb: New file.
7893 * gdb.ada/py_taft/pkg.adb: New file.
7894 * gdb.ada/py_taft/pkg.ads: New file.
7895
3d435220
TV
78962019-09-24 Tom de Vries <tdevries@suse.de>
7897
7898 PR gdb/24598
7899 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
7900
77d03678
TV
79012019-09-22 Tom de Vries <tdevries@suse.de>
7902
7903 * gdb.base/restore.exp: Allow register variables to be optimized out at
7904 -O0.
7905
abf516c6
UW
79062019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
7907
7908 * gdb.arch/spu-info.exp: Remove file.
7909 * gdb.arch/spu-info.c: Remove file.
7910 * gdb.arch/spu-ls.exp: Remove file.
7911 * gdb.arch/spu-ls.c: Remove file.
7912
7913 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
7914 * gdb.asm/spu.inc: Remove file.
7915
7916 * gdb.base/dump.exp: Remove support for spu*-*-*.
7917 * gdb.base/stack-checking.exp: Likewise.
7918 * gdb.base/overlays.exp: Likewise.
7919 * gdb.base/ovlymgr.c: Likewise.
7920 * gdb.base/spu.ld: Remove file.
7921
7922 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
7923 * gdb.cp/cpexprs.exp: Likewise.
7924 * gdb.cp/exception.exp: Likewise.
7925 * gdb.cp/gdb2495.exp: Likewise.
7926 * gdb.cp/mb-templates.exp: Likewise.
7927 * gdb.cp/pr9167.exp: Likewise.
7928 * gdb.cp/userdef.exp: Likewise.
7929
7930 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
7931
7932 * gdb.cell: Remove directory.
7933 * lib/cell.exp: Remove file.
7934
e452e88f
TV
79352019-09-19 Tom de Vries <tdevries@suse.de>
7936
7937 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
7938
8a625130
TV
79392019-09-19 Tom de Vries <tdevries@suse.de>
7940
7941 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
7942
81dc3ab5
TV
79432019-09-19 Tom de Vries <tdevries@suse.de>
7944
7945 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
7946 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
7947 (gdb_target_cmd): ... here.
7948 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
7949 value 2.
7950
b078f3ac
AB
79512019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
7952
7953 * gdb.base/source-dir.exp: Avoid having directory names in test
7954 names.
7955
f1b620e9
MG
79562019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7957
7958 * gdb.base/source-dir.exp: Add extra test for mapped compilation
7959 directory.
7960
67f3ed6a
AB
79612019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7962
7963 * gdb.base/list-missing-source.exp: New file.
7964
d1b70248
TV
79652019-09-14 Tom de Vries <tdevries@suse.de>
7966
7967 PR teststuite/24599
7968 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
7969 * lib/ada.exp (gnatmake_version_at_least): New proc.
7970
5fabdcd6
AB
79712019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7972
7973 * gdb.base/maint.exp: Use exec_has_index_section.
7974
aa17805f
AB
79752019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7976
7977 * gdb.base/maint.exp: Add test for 'maint info sections'.
7978
25e5c209
TV
79792019-09-12 Tom de Vries <tdevries@suse.de>
7980
7981 * gdb.base/store.exp: Allow register variables to be optimized out at
7982 -O0.
7983
4993045d
PW
79842019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7985
7986 * gdb.ada/rdv_wait.exp: Update to new task names.
7987 * gdb.base/task_switch_in_core.exp: Likewise.
7988 * gdb.base/info_sources_base.c: Likewise.
7989
8a516164
TT
79902019-09-10 Tom Tromey <tromey@adacore.com>
7991
7992 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
7993
aa391654
TT
79942019-09-10 Tom Tromey <tromey@adacore.com>
7995
7996 * gdb.ada/dgopt.exp: New file.
7997 * gdb.ada/dgopt/x.adb: New file.
7998
8634b462
TT
79992019-09-08 Tom Tromey <tom@tromey.com>
8000
8001 * gdb.tui/resize.exp: Remove setup_xfail.
8002 * gdb.tui/regs.exp: Remove setup_xfail.
8003 * gdb.tui/basic.exp: Remove setup_xfail.
8004
736b0f76
DB
80052019-09-06 David Blaikie <dblaikie@gmail.com>
8006
8007 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
8008 * gdb.cp/cplabel.exp: Ditto.
8009 * gdb.linespec/ls-errs.exp: Ditto.
8010
30331a6c
TV
80112019-09-05 Tom de Vries <tdevries@suse.de>
8012
8013 * lib/gdb.exp (cmp_file_string): New proc.
8014 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
8015 runto_main. Verify save breakpoints output.
8016
98b0ebab
PW
80172019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8018
8019 * gdb.base/info-var.exp: Test info variables without running
8020 to main, to avoid expect's buffer overflow.
8021
4e962e74
TT
80222019-09-03 Tom Tromey <tromey@adacore.com>
8023
8024 * gdb.ada/bias.exp: New file.
8025 * gdb.ada/bias/bias.adb: New file.
8026 * gdb.ada/print_chars.exp: Add regression test.
8027 * gdb.ada/print_chars/foo.adb (My_Character): New type.
8028 (MC): New variable.
8029
2ea1a07a
SL
80302019-08-29 Sandra Loosemore <sandra@codesourcery.com>
8031
8032 * gdb.base/argv0-symlink.exp: Run only on native target
8033 and local host.
8034
8077c50d
TV
80352019-08-29 Tom de Vries <tdevries@suse.de>
8036
8037 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
8038 diverse debug info.
8039 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
8040
48352473
TV
80412019-08-28 Tom de Vries <tdevries@suse.de>
8042
8043 * gdb.base/info-var.exp: Allow info variables to print info for files
8044 other than info-var-f1.c and info-var-f2.c.
8045
d8f27c60
AB
80462019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
8047
8048 * gdb.fortran/info-types.exp: Add module.
8049 * gdb.fortran/info-types.f90: Update expected results.
8050
1f20c35e
AB
80512019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
8052
8053 * gdb.fortran/info-types.exp: New file.
8054 * gdb.fortran/info-types.f90: New file.
8055 * lib/fortran.exp (fortran_character1): New proc.
8056
4acfdd20
AB
80572019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
8058
8059 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
8060 functions'. Reindent as needed.
8061 * gdb.base/info-var-f1.c: New file.
8062 * gdb.base/info-var-f2.c: New file.
8063 * gdb.base/info-var.exp: New file.
8064 * gdb.base/info-var.h: New file.
8065
5c31b358
TV
80662019-08-26 Tom de Vries <tdevries@suse.de>
8067
8068 PR c++/24852
8069 * gdb.cp/no-libstdcxx-probe.exp: New test.
8070
b694989f
TV
80712019-08-26 Tom de Vries <tdevries@suse.de>
8072
8073 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
8074 * tests need to be skipped.
8075 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
8076 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
8077 mi_skip_libstdcxx_probe_tests.
8078
d9c4ba53
SDJ
80792019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
8080
8081 * gdb.python/py-xmethods.exp: Use raw strings when passing
8082 arguments to SimpleXMethodMatcher.
8083
395fad09
TV
80842019-08-22 Tom de Vries <tdevries@suse.de>
8085
8086 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
8087 more informative.
8088
26c957f1
PA
80892019-08-21 Pedro Alves <palves@redhat.com>
8090
8091 * gdb.base/with.exp: Test "with" with no arguments.
8092
61f80d5d
TV
80932019-08-21 Tom de Vries <tdevries@suse.de>
8094
8095 * gdb.base/gdb-caching-proc.exp: Sort files.
8096
d7a11d13
TV
80972019-08-20 Tom de Vries <tdevries@suse.de>
8098
8099 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
8100 compilation.
8101
34dafe9f
TV
81022019-08-16 Tom de Vries <tdevries@suse.de>
8103
8104 * gdb.base/compare-sections.exp ("after run to main"): Allow
8105 mismatched read-only sections for PIE executables.
8106
398fdd60
TT
81072019-08-16 Tom Tromey <tom@tromey.com>
8108
8109 * lib/tuiterm.exp (_csi_Z): New proc.
8110 * gdb.tui/basic.exp: Update window positions.
8111 * gdb.tui/empty.exp: Update window positions.
8112
d8f9e51c
SL
81132019-08-15 Sandra Loosemore <sandra@codesourcery.com>
8114
8115 * gdb.base/examine-backward.exp: Correct regexp for
8116 "examine 3 bytes backward from ${address_zero}".
8117
3df505f6
TT
81182019-08-15 Tom Tromey <tom@tromey.com>
8119
8120 * gdb.tui/empty.exp: Enable resizing tests.
8121
272560b5
TT
81222019-08-15 Tom Tromey <tromey@adacore.com>
8123
8124 * gdb.ada/char_enum.exp: Add regression tests.
8125 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
8126 and '0'.
8127 (Char, Gchar): Update.
8128 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
8129
08235187
CB
81302019-08-15 Christian Biesinger <cbiesinger@google.com>
8131
8132 * gdb.python/python.exp: Expect a leading underscore on
8133 GdbOutput{,Error}File.
8134
22a2ab04
SL
81352019-08-15 Sandra Loosemore <sandra@codesourcery.com>
8136
8137 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
8138 Windows host.
8139
835b995b
SL
81402019-08-15 Sandra Loosemore <sandra@codesourcery.com>
8141
8142 * gdb.base/batch-preserve-term-settings.exp
8143 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
8144
97dd8e07
CB
81452019-08-15 Christian Biesinger <cbiesinger@google.com>
8146
8147 * lib/gdb.exp: When running on a mingw target, replace
8148 /x/ with x:/.
8149
75faf5c4
AH
81502019-08-14 Alan Hayward <alan.hayward@arm.com>
8151
8152 * gdb.arch/aarch64-prologue.c: New test.
8153 * gdb.arch/aarch64-prologue.exp: New file.
8154
abc6c00f
TV
81552019-08-13 Tom de Vries <tdevries@suse.de>
8156
8157 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
8158 Thread.
8159
74c2c1f4
SL
81602019-08-13 Sandra Loosemore <sandra@codesourcery.com>
8161
8162 * gdb.python/py-completion.exp: Download the .py file to the host
8163 and use its host pathname. Conditionalize tests that use
8164 tab completion and manipulate files on the build machine.
8165 * gdb.python/py-events.exp: Download the .py file to the host
8166 and use its host pathname.
8167 * gdb.python/py-evsignal.exp: Likewise.
8168 * gdb.python/py-evthreads.exp: Likewise.
8169 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
8170 pathname syntax.
8171 * gdb.python/py-framefilter.exp: Download the .py file to the right
8172 place on the host. Match Windows pathname syntax.
8173 * gdb.python/py-mi-var-info-path-expression.exp: Download the
8174 .py file to the host and use its host pathname.
8175 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
8176 * gdb.python/py-objfile.exp: Expect a host pathname, not a
8177 build pathname. Skip symlink test on Windows host. Add missing
8178 newline at end of file.
8179 * gdb.python/py-pp-maint.exp: Download the .py file to the host
8180 and use its host pathname.
8181 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
8182 * gdb.python/py-section-script.exp: Use host location of binfile
8183 on safe-path. Use correct path separator on Windows host.
8184 Reorder alternatives in gdb_test_multiple to prevent matching
8185 the wrong alternative on success.
8186 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
8187
ca2589f3
PP
81882019-08-12 Patrick Palka <patrick@parcs.ath.cx>
8189
8190 * gdb.gdb/selftest.exp (test_with_self): Update test to now
8191 expect the GDB inferior to no longer immediately stop after
8192 being resumed with "signal SIGINT".
8193
020a839d
SL
81942019-08-09 Sandra Loosemore <sandra@codesourcery.com>
8195
8196 * gdb.linespec/break-ask.exp: Generalize regexps to match
8197 Windows pathnames too.
8198
128d6509
TV
81992019-08-08 Tom de Vries <tdevries@suse.de>
8200
8201 PR testsuite/24862
8202 * lib/tuiterm.exp (_accept): Fix CSI regexp.
8203
590042fc
PW
82042019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8205
8206 * gdb.base/style.exp: Update tests for help doc new invariants.
8207 * gdb.base/help.exp: Likewise.
8208
046bebe1
TT
82092019-08-06 Tom Tromey <tom@tromey.com>
8210
8211 * gdb.base/style.exp: Add disassemble test.
8212 * gdb.base/style.c (some_called_function): New function.
8213 (main): Use it.
8214
0b27c27d
CB
82152019-08-05 Christian Biesinger <cbiesinger@google.com>
8216
8217 * gdb.python/py-block.exp: Test dictionary access on blocks.
8218
580f1034
SM
82192019-08-05 Simon Marchi <simon.marchi@efficios.com>
8220
8221 PR gdb/24863
8222 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
8223 -list-thread-groups --available test when running under
8224 check-read1.
8225
d86bd7cb
TV
82262019-08-05 Tom de Vries <tdevries@suse.de>
8227
8228 PR testsuite/24863
8229 * lib/gdb.exp (with_read1_timeout_factor): New proc.
8230 * gdb.base/help.exp: Use with_read1_timeout_factor.
8231 * gdb.base/info-macros.exp: Same.
8232 * gdb.cp/nested-types.exp: Same.
8233
a80cf5d8
TV
82342019-08-05 Tom de Vries <tdevries@suse.de>
8235
8236 * lib/gdb.exp (version_at_least): Factor out of ...
8237 (tcl_version_at_least): ... here.
8238 (gdb_compile): Fail if pie results in non-PIE executable.
8239 (readelf_version, readelf_prints_pie): New proc.
8240 (exec_is_pie): Return -1 if unknown.
8241
d0962838
TV
82422019-08-05 Tom de Vries <tdevries@suse.de>
8243
8244 * lib/gdb.exp (tcl_version_at_least): Fix typo.
8245
2252ff3d
SL
82462019-08-04 Sandra Loosemore <sandra@codesourcery.com>
8247
8248 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
8249
26655f53
SL
82502019-08-04 Sandra Loosemore <sandra@codesourcery.com>
8251
8252 * lib/completion-support.exp (test_gdb_complete_none): Skip
8253 tab completion tests if no readline support.
8254 (test_gdb_complete_unique_re): Likewise.
8255 (test_gdb_complete_multiple): Likewise.
8256
db4dc13e
PW
82572019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8258
8259 * gdb.base/info_sources.exp: New file.
8260 * gdb.base/info_sources.c: New file.
8261 * gdb.base/info_sources_base.c: New file.
8262
0eba165a
PFC
82632019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8264
8265 * gdb.base/batch-exit-status.exp: Call test_exit_status with
8266 prefix argument.
8267 (test_exit_status): Add prefix argument.
8268
59bd512b
TV
82692019-08-01 Tom de Vries <tdevries@suse.de>
8270
8271 PR testsuite/24863
8272 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
8273 calling exp_continue for new thread and thread exited messages.
8274
2a3ad588
TV
82752019-08-01 Tom de Vries <tdevries@suse.de>
8276
8277 PR testsuite/24863
8278 * gdb.base/structs.exp: Fix check-read1 timeout using
8279 gdb_test_sequence.
8280 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
8281
117eb594
TV
82822019-08-01 Tom de Vries <tdevries@suse.de>
8283
8284 PR testsuite/24863
8285 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
8286 line.
8287
ed591340
TV
82882019-08-01 Tom de Vries <tdevries@suse.de>
8289
8290 PR testsuite/24863
8291 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
8292
aa3b6533
TT
82932019-07-30 Tom Tromey <tromey@adacore.com>
8294
8295 * gdb.ada/display_nested.exp: New file.
8296 * gdb.ada/display_nested/foo.adb: New file.
8297 * gdb.ada/display_nested/pack.adb: New file.
8298 * gdb.ada/display_nested/pack.ads: New file.
8299
2906593f
CB
83002019-07-30 Christian Biesinger <cbiesinger@google.com>
8301
8302 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
8303 namespace.
8304 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
8305
0f575925
TV
83062019-07-30 Tom de Vries <tdevries@suse.de>
8307
8308 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
8309 instead.
8310
b13057d9
TV
83112019-07-30 Tom de Vries <tdevries@suse.de>
8312
8313 PR testsuite/24834
8314 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
8315 (exec_is_pie): New proc.
8316
5c4dde85
CB
83172019-07-29 Christian Biesinger <cbiesinger@google.com>
8318
8319 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
8320
c620ed88
CB
83212019-07-29 Christian Biesinger <cbiesinger@google.com>
8322
8323 * gdb.python/py-objfile.c: Add global and static vars.
8324 * gdb.python/py-objfile.exp: Test new functions Objfile.
8325 lookup_global_symbol and lookup_static_symbol.
8326
3d235706
TT
83272019-07-29 Tom Tromey <tom@tromey.com>
8328
8329 * lib/tuiterm.exp (Term::_csi_@): New proc.
8330 (Term::_csi_X): Don't move cursor.
8331
c7e4c0a6
PW
83322019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8333
8334 * gdb.base/options.exp: Update backtrace - completion to
8335 new option -frame-info.
8336 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
8337 Test new 'set print frame-info'. Test backtrace -frame-info
8338 overriding 'set print frame-info'.
8339 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
8340 Test new 'set print frame-info'.
8341 Verify consistency of backtrace with and without filters, with and
8342 without -no-filters.
8343 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
8344 default.
8345
de28a3b7
TV
83462019-07-29 Tom de Vries <tdevries@suse.de>
8347
8348 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
8349 no arguments".
8350
507dd60e
TV
83512019-07-29 Tom de Vries <tdevries@suse.de>
8352
8353 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
8354 is a substring of the first for "complete non-unique file name".
8355
5beafce9
TV
83562019-07-29 Tom de Vries <tdevries@suse.de>
8357
8358 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
8359 with ".*".
8360
2d274232
TV
83612019-07-29 Tom de Vries <tdevries@suse.de>
8362
8363 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
8364 Pass prompt_regexp parameter to gdb_test_multiple calls.
8365
9197cd8b
TV
83662019-07-29 Tom de Vries <tdevries@suse.de>
8367
8368 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 8369 print registers" regexps.
9197cd8b 8370
b528dae0
TV
83712019-07-29 Tom de Vries <tdevries@suse.de>
8372
8373 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
8374
d17725d7
TV
83752019-07-29 Tom de Vries <tdevries@suse.de>
8376
8377 PR gdb/24855
8378 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
8379 (skip_python_tests_prompt): Add prompt_regexp argument to
8380 gdb_test_multiple calls.
8381
52b75bf1
TT
83822019-07-27 Tom Tromey <tom@tromey.com>
8383
8384 * gdb.tui/main.exp: New file.
8385
2b1d00c2
TT
83862019-07-27 Tom Tromey <tom@tromey.com>
8387
8388 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
8389 optional.
8390 * gdb.tui/empty.exp: New file.
8391
ded631d5
TT
83922019-07-27 Tom Tromey <tom@tromey.com>
8393
8394 * lib/tuiterm.exp (spawn): New proc.
8395 (Term::resize): New proc.
8396 * gdb.tui/resize.exp: New file.
8397
58ac439d
TT
83982019-07-27 Tom Tromey <tom@tromey.com>
8399
8400 * gdb.tui/list.exp: New file.
8401
fe1f56ee
TT
84022019-07-27 Tom Tromey <tom@tromey.com>
8403
8404 * gdb.tui/regs.exp: New file.
8405
f790b310
TT
84062019-07-27 Tom Tromey <tom@tromey.com>
8407
8408 * gdb.tui/basic.exp: Add "layout split" test.
8409
d95fc6ee
TT
84102019-07-27 Tom Tromey <tom@tromey.com>
8411
8412 * gdb.tui/basic.exp: Add "layout asm" test.
8413
c3786b3a
TT
84142019-07-27 Tom Tromey <tom@tromey.com>
8415
8416 * lib/tuiterm.exp: New file.
8417 * gdb.tui/basic.exp: New file.
8418
98a617f8
KB
84192019-07-27 Kevin Buettner <kevinb@redhat.com>
8420
8421 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
8422 Enable tests associated with this flag. Adjust regex
8423 referencing "foo_low" to now refer to "foo_cold" instead.
8424
5c076da4
KB
84252019-07-27 Kevin Buettner <kevinb@redhat.com>
8426
8427 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
8428 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
8429 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
8430 foo_cold. Revise comments to match.
8431 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
8432 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
8433 were wrapped into this proc; Call do_test in loop from outermost
8434 level.
8435 (foo_low): Rename all occurrences to "foo_cold".
8436 (backtrace from baz): New test.
8437 (x2/i foo_cold): New test.
8438 (info line *foo_cold): New test.
8439
1512d3b7
TV
84402019-07-26 Tom de Vries <tdevries@suse.de>
8441
8442 * gdb.arch/i386-pkru.exp: Fix unterminated string.
8443
297989a1
TV
84442019-07-25 Tom de Vries <tdevries@suse.de>
8445
8446 PR testsuite/24830
8447 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
8448 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
8449 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
8450 (skip_libstdcxx_probe_tests): ... here.
8451 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
8452
b3b965fb
TV
84532019-07-24 Tom de Vries <tdevries@suse.de>
8454
8455 PR testsuite/24807
8456 * gdb.objc/basicclass.m: Include stdio.h.
8457 * gdb.objc/nondebug.m: Same.
8458 * gdb.objc/objcdecode.m: Same.
8459
4625b4d0
TV
84602019-07-24 Tom de Vries <tdevries@suse.de>
8461
8462 PR testsuite/24612
8463 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
8464 additional_flags.
8465
024a5840
TV
84662019-07-24 Tom de Vries <tdevries@suse.de>
8467
8468 PR testsuite/24831
8469 * gdb.multi/tids.exp: Update error messages for info threads.
8470
c76ddaa3
TV
84712019-07-24 Tom de Vries <tdevries@suse.de>
8472
8473 * gdb.base/info-types.exp: Allow info types to print info for more than
8474 one file.
8475
9a618ef6
TV
84762019-07-23 Tom de Vries <tdevries@suse.de>
8477
8478 PR testsuite/24842
8479 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
8480 gdb_spawn_with_cmdline_opts.
8481
40eadf04
SP
84822019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
8483
8484 * gdb.arch/arm-cmse-sgstubs.c: New test.
8485 * gdb.arch/arm-cmse-sgstubs.exp: New file.
8486
5ba29434
TV
84872019-07-23 Tom de Vries <tdevries@suse.de>
8488
8489 PR testsuite/24711
8490 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
8491 issuing next command.
8492
a8e9d247
AB
84932019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
8494
8495 * gdb.ada/info_auto_lang.exp: Update expected results.
8496 * gdb.base/info-types.c: Add additional types to check.
8497 * gdb.base/info-types.exp: Update expected results.
8498
eb86c5e2
AB
84992019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
8500
8501 * gdb.base/info-types.c: New file.
8502 * gdb.base/info-types.exp: New file.
8503
01e175fe
AB
85042019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
8505
8506 * gdb.arch/riscv-bp-infcall.c: New file.
8507 * gdb.arch/riscv-bp-infcall.exp: New file.
8508
6b78c3f8
AB
85092019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
8510
8511 PR breakpoints/24541
8512 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
8513
da738167
TV
85142019-07-14 Tom de Vries <tdevries@suse.de>
8515
8516 PR testsuite/24760
8517 * gdb.objc/basicclass.exp: Fix unterminated string.
8518
0d4e84ed
AB
85192019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
8520 Andrew Burgess <andrew.burgess@embecosm.com>
8521
8522 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
8523 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
8524 negative bounds.
8525 * gdb.fortran/vla-value.exp: Print elements of an array with
8526 negative bounds.
8527 * gdb.fortran/vla.f90: Setup an array with negative bounds for
8528 testing.
8529
021d8588
AB
85302019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
8531
8532 * gdb.base/options.exp (expect_string): Dequote strings in
8533 results.
8534 (test-string): Test strings with different quoting and reindent.
8535
f06f1252
TT
85362019-07-10 Tom Tromey <tromey@adacore.com>
8537
8538 * gdb.ada/mi_ex_cond.exp: Update expected results.
8539 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
8540 * gdb.ada/mi_catch_ex.exp: Update expected results.
8541 * gdb.ada/mi_catch_assert.exp: Update expected results.
8542 * gdb.ada/catch_ex.exp (catch_exception_info)
8543 (catch_exception_entry, catch_assert_entry)
8544 (catch_unhandled_entry): Update.
8545 * gdb.ada/catch_assert_if.exp: Update expected results.
8546
b863685d
RB
85472019-07-10 Richard Bunt <richard.bunt@arm.com>
8548 Stephen Roberts <stephen.roberts@arm.com>
8549
8550 * gdb.base/define.exp: Restore original prompt.
8551
cb1e4e32
PA
85522019-07-09 Pedro Alves <palves@redhat.com>
8553
8554 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
8555 breakpoints" output.
8556 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
8557 * gdb.python/py-breakpoint.exp: No longer expect that "catch
8558 throw" creates breakpoint.
8559 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
8560 'type="catchpoint"'.
8561
b58a68fe
PA
85622019-07-09 Pedro Alves <palves@redhat.com>
8563
8564 PR c++/15468
8565 * gdb.cp/except-multi-location-lib.cc: New.
8566 * gdb.cp/except-multi-location-main.cc: New.
8567 * gdb.cp/except-multi-location.exp: New.
8568
0826779b
PW
85692019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
8570
8571 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
8572 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
8573 argument and update callers.
8574
5b0e2db4
AB
85752019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8576
8577 * gdb.arch/amd64-break-on-asm-line.S: New file.
8578 * gdb.arch/amd64-break-on-asm-line.exp: New file.
8579
1f6f6e21
PW
85802019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8581
8582 * gdb.base/printcmds.exp: Test printing C string and
8583 C wide string convenience vars without transiting via the inferior.
8584 Also make test names unique.
8585
ea142fbf
AH
85862019-07-08 Alan Hayward <alan.hayward@arm.com>
8587
5862c886 8588 PR breakpoints/25011
ea142fbf
AH
8589 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
8590
213fd9fa
PA
85912019-07-04 Pedro Alves <palves@redhat.com>
8592
8593 * lib/gdb.exp (foreach_with_prefix): Don't return early if
8594 body returned ok(0), break(3) or continue(4).
8595 * gdb.testsuite/foreach_with_prefix.exp: New file.
8596
2b40fda7
AH
85972019-07-04 Alan Hayward <alan.hayward@arm.com>
8598
8599 * gdb.server/unittest.exp: Allow 0 unit tests to run.
8600
a26c8de0
PA
86012019-07-03 Pedro Alves <palves@redhat.com>
8602
8603 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
8604 "return -code".
8605
5f4ba3e7
PA
86062019-07-03 Pedro Alves <palves@redhat.com>
8607
8608 PR cli/24732
8609 * gdb.base/shell.exp: Load completion-support.exp.
8610 Adjust expected error output. Add completion tests.
8611
a994424f
PA
86122019-07-03 Pedro Alves <palves@redhat.com>
8613
8614 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
8615 string_to_regexp.
8616
3d9be6f5
PA
86172019-07-03 Pedro Alves <palves@redhat.com>
8618
8619 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
8620 (expect_integer): Adjust to expect "-string".
8621 (expect_string): New.
8622 (all_options): Expect "-string".
8623 (test-flag, test-boolean): Adjust to expect "-string".
8624 (test-string): New proc.
8625 (top level): Call it.
8626
41fc454c
PA
86272019-07-03 Pedro Alves <palves@redhat.com>
8628
8629 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
8630 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
8631 the expected output in the success.
8632
b2b2a215
PA
86332019-07-03 Pedro Alves <palves@redhat.com>
8634
8635 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
8636 Split one gdb_test_multiple call in two to avoid a race.
8637
fdbc9870
PA
86382019-07-03 Pedro Alves <palves@redhat.com>
8639
8640 * gdb.base/with.c: New file.
8641 * gdb.base/with.exp: New file.
8642
c6ac8931
PA
86432019-07-03 Pedro Alves <palves@redhat.com>
8644
8645 * gdb.base/settings.exp: Replace all references to "maint
8646 test-settings set" with references to "maint set test-settings",
8647 and all references to "maint test-settings show" with references
8648 to "maint show test-settings".
8649
970f9d09
PA
86502019-07-03 Pedro Alves <palves@redhat.com>
8651
8652 * gdb.base/settings.exp (test-string): Adjust expected out when
8653 testing "maint test-settings show filename"
8654
54d66006
PA
86552019-07-02 Pedro Alves <palves@redhat.com>
8656
8657 * gdb.base/options.exp (test-info-threads): New procedure.
8658 (top level): Call it.
8659
10d06d82
TT
86602019-06-28 Tom Tromey <tromey@adacore.com>
8661
8662 * gdb.dwarf2/ada-linkage-name.c: New file.
8663 * gdb.dwarf2/ada-linkage-name.exp: New file.
8664
3d507ff2
TT
86652019-06-27 Tom Tromey <tromey@adacore.com>
8666
d039f014 8667 PR c++/20020:
3d507ff2
TT
8668 * gdb.cp/constexpr-field.exp: Use setup_xfail.
8669
8af58ffe
TV
86702019-06-26 Tom de Vries <tdevries@suse.de>
8671
8672 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
8673
22e21752
TV
86742019-06-26 Tom de Vries <tdevries@suse.de>
8675
8676 * gdb.base/index-cache.exp: Add back missing debug option.
8677
b65b566c
PW
86782019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8679
8680 * gdb.base/alias.exp: Test non matching/non existing prefixes.
8681
5c2c8c69
TV
86822019-06-25 Tom de Vries <tdevries@suse.de>
8683
8684 PR testsuite/24727
8685 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
8686
164e3873
TV
86872019-06-24 Tom de Vries <tdevries@suse.de>
8688
8689 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
8690
824eacee
TV
86912019-06-24 Tom de Vries <tdevries@suse.de>
8692
8693 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
8694 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
8695 * gdb.trace/unavailable-dwarf-piece.exp: Same.
8696
385b97d3
TV
86972019-06-24 Tom de Vries <tdevries@suse.de>
8698
8699 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
8700
c596f180
TV
87012019-06-21 Tom de Vries <tdevries@suse.de>
8702
8703 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
8704
b13a7d03
TV
87052019-06-21 Tom de Vries <tdevries@suse.de>
8706
8707 PR testsuite/24518
8708 PR ada/24713
8709 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
8710 index.
8711
899277ae
TT
87122019-06-19 Tom Tromey <tromey@adacore.com>
8713
8714 * gdb.ada/length_cond.exp: Add intro comment.
8715
680e1bee
TT
87162019-06-19 Tom Tromey <tromey@adacore.com>
8717
8718 * gdb.ada/length_cond.exp: New file.
8719 * gdb.ada/length_cond/length_cond.adb: New file.
8720 * gdb.ada/length_cond/pck.adb: New file.
8721 * gdb.ada/length_cond/pck.ads: New file.
8722
0ed4690a
TV
87232019-06-18 Tom de Vries <tdevries@suse.de>
8724
8725 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
8726
d20ed5fd
TT
87272019-06-18 Tom Tromey <tromey@adacore.com>
8728
8729 * gdb.base/list0.h: Add comment explaining control character.
8730
86e04673
TV
87312019-06-18 Tom de Vries <tdevries@suse.de>
8732
8733 * boards/fission.exp: Break up long debug_flags line.
8734
c4973306
SM
87352019-06-16 Tom de Vries <tdevries@suse.de>
8736
8737 PR gdb/24445
8738 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
8739 generated index.
8740
93cb9841
AB
87412019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8742
8743 PR gdb/24686
8744 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
8745 improve detection of bug gdb/24541.
8746
399aaebd
SM
87472019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
8748
8749 PR gdb/24669
8750 * gdb.base/index-cache.exp (uses_readnow,
8751 expecting_index_cache_use): Define global variable.
8752 (test_cache_enabled_miss, test_cache_enabled_hit): Use
8753 expecting_index_cache_use.
8754
584a927c
AB
87552019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
8756 Andrew Burgess <andrew.burgess@embecosm.com>
8757
8758 * gdb.fortran/pointers.f90: New file.
8759 * gdb.fortran/print_type.exp: New file.
8760 * gdb.fortran/vla-ptype.exp: Adapt expected results.
8761 * gdb.fortran/vla-type.exp: Likewise.
8762 * gdb.fortran/vla-value.exp: Likewise.
8763 * gdb.mi/mi-vla-fortran.exp: Likewise.
8764
30056ea0
AB
87652019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8766
8767 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
8768 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
8769 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
8770 as a stop reason.
8771
ec8e2b6d
AB
87722019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8773
8774 * gdb.base/annota1.exp: Update expected results.
8775 * gdb.cp/annota2.exp: Likewise.
8776 * gdb.cp/annota3.exp: Likewise.
8777
09e4c4e1
AB
87782019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8779
8780 * gdb.base/style-logging.exp: Remove path from test name.
8781
0735b091
TT
87822019-06-14 Tom Tromey <tromey@adacore.com>
8783
8784 PR gdb/24502:
8785 * gdb.base/style-logging.exp: New file.
8786
f5686554
TT
87872019-06-14 Tom Tromey <tromey@adacore.com>
8788
8789 * gdb.base/symfile-warn.exp: New file.
8790 * gdb.base/symfile-warn.c: New file.
8791
a0c1ffed
TT
87922019-06-14 Tom Tromey <tromey@adacore.com>
8793
8794 * gdb.base/annotate-symlink.exp: New file.
8795
f411722c
TT
87962019-06-14 Tom Tromey <tromey@adacore.com>
8797
8798 * gdb.ada/set_wstr.exp: Add reassignment test.
8799
4268ec18
TT
88002019-06-14 Tom Tromey <tromey@adacore.com>
8801
8802 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
8803 'unchecked_access and 'unrestricted_access as well.
8804
9a9e394b
TT
88052019-06-14 Tom Tromey <tromey@adacore.com>
8806
8807 PR ada/24539:
8808 * gdb.ada/vla.exp: Update tests.
8809 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
8810 pragma.
8811
4c048731
PA
88122019-06-13 Pedro Alves <palves@redhat.com>
8813
8814 * gdb.base/settings.exp (test-integer): Test junk after
8815 "unlimited".
8816
6665660a
PA
88172019-06-13 Pedro Alves <palves@redhat.com>
8818
8819 * gdb.base/options.exp (test-thread-apply): New.
8820 (top level): Call it.
8821
5d707134
PA
88222019-06-13 Pedro Alves <palves@redhat.com>
8823
8824 * gdb.base/options.exp (test-frame-apply): New.
8825 (top level): Test print commands with different "frame apply"
8826 prefixes.
8827
e2a689da
PA
88282019-06-13 Pedro Alves <palves@redhat.com>
8829
e79be6e5 8830 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
8831 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
8832 'max_completions' parameter and handle it.
8833 (test_gdb_completion_offers_commands): New.
8834
90a1ef87
PA
88352019-06-13 Pedro Alves <palves@redhat.com>
8836
8837 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
8838
d4c16835
PA
88392019-06-13 Pedro Alves <palves@redhat.com>
8840
8841 * gdb.base/options.exp (test-backtrace): New.
8842 (top level): Call it.
8843
2daf894e
PA
88442019-06-13 Pedro Alves <palves@redhat.com>
8845
8846 * gdb.guile/scm-frame-args.exp: Use "set print
8847 raw-frame-arguments" instead of "set print raw frame-arguments".
8848 * gdb.python/py-frame-args.exp: Likewise.
8849
e6ed716c
PA
88502019-06-13 Pedro Alves <palves@redhat.com>
8851
8852 * gdb.compile/compile.exp: Adjust expected output to option
8853 processing changes.
8854
7d8062de
PA
88552019-06-13 Pedro Alves <palves@redhat.com>
8856
8857 * gdb.base/options.exp: Build executable.
8858 (test-print): New procedure.
8859 (top level): Call it, once for "print" and another for "compile
8860 print".
8861
9d0faba9
PA
88622019-06-13 Pedro Alves <palves@redhat.com>
8863
8864 * gdb.base/options.c: New file.
8865 * gdb.base/options.exp: New file.
8866
dee7b4c8
PA
88672019-06-13 Pedro Alves <palves@redhat.com>
8868
8869 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
8870 that "o" is ambiguous.
8871
dca0f6c0
PA
88722019-06-13 Pedro Alves <palves@redhat.com>
8873
8874 * gdb.base/settings.c: New file.
8875 * gdb.base/settings.exp: New file.
8876
ccf46844
PA
88772019-06-13 Pedro Alves <palves@redhat.com>
8878
8879 * gdb.base/completion.exp: Fix comment typo.
8880
b9a3f842
PA
88812019-06-13 Pedro Alves <palves@redhat.com>
8882
8883 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
8884 foo --1" test.
8885
d106773e
PA
88862019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
8887
8888 * gdb.fortran/block-data.f: New.
8889 * gdb.fortran/block-data.exp: New.
8890
fea82da0
TV
88912019-06-11 Tom de Vries <tdevries@suse.de>
8892
8893 PR testsuite/24521
8894 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
8895 message.
8896
8c2e74f1
TV
88972019-06-11 Tom de Vries <tdevries@suse.de>
8898
8899 PR testsuite/24521
8900 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
8901
b49851c8
TV
89022019-06-11 Tom de Vries <tdevries@suse.de>
8903
8904 * boards/readnow.exp: New file.
8905
a7067863
AB
89062019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
8907
8908 * gdb.fortran/vla-sizeof.exp: Update expected results.
8909
1a3da2cd
AB
89102019-06-06 Amos Bird <amosbird@gmail.com>
8911
8912 * gdb.base/annota1.exp (thread_switch): Add test for
8913 thread-exited annotation.
8914
3847a7bf
TT
89152019-06-06 Tom Tromey <tromey@adacore.com>
8916
8917 * gdb.base/maint.exp: Expect command started/finished output.
8918
0088ba59
AB
89192019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8920
8921 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
8922 comment.
8923 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
8924
312617a3
AB
89252019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8926
8927 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
8928 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
8929 * gdb.arch/riscv-unwind-long-insn.c: New file.
8930 * gdb.arch/riscv-unwind-long-insn.exp: New file.
8931
e1f2e1a2
CB
89322019-06-04 Christian Biesinger <cbiesinger@google.com>
8933
d3238f7d 8934 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 8935
206584bd
PW
89362019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8937
8938 * lib/gdb.exp (help_list_trailer): New regexp variable
8939 factorizing the help trailer message.
8940 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
8941 arg to allow to better factorize various tests.
8942 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
8943 (test_prefix_command_help): Use help_list_trailer.
8944 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
8945 * gdb.guile/scm-cmd.exp: Likewise.
8946 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
8947 * gdb.base/help.exp: Use test_user_defined_class_help.
8948 * gdb.base/style.exp: Add tests for styling of help and apropos.
8949 * lib/gdb-utils.exp (style): Add title and highlight styles.
8950
708dc93e
PW
89512019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8952
8953 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
8954 $_shell_exitsignal.
8955 * gdb.base/default.exp: Update for new convenience variables.
8956
f49055a5
TT
89572019-05-29 Tom Tromey <tromey@adacore.com>
8958
8959 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
8960 to "break complete ada" test case's regexp.
8961
4330d61d
TT
89622019-05-29 Tom Tromey <tromey@adacore.com>
8963
8964 PR c++/20020:
8965 * gdb.cp/constexpr-field.exp: New file.
8966 * gdb.cp/constexpr-field.cc: New file.
8967
000439d5
TT
89682019-05-29 Tom Tromey <tromey@adacore.com>
8969
8970 * gdb.base/finish.exp (finish_no_print): New proc.
8971 (finish_tests): Call it.
8972
5a01c34c
TV
89732019-05-24 Tom de Vries <tdevries@suse.de>
8974
8975 * gdb.dwarf2/gdb-add-index.exp: New file.
8976
18125b16
TT
89772019-05-22 Tom Tromey <tromey@adacore.com>
8978
8979 * gdb.base/info-shared.exp (check_info_shared): Use "style".
8980 * gdb.base/style.exp: Use "style".
8981 * lib/gdb-utils.exp (style): New proc.
8982
af1a8d03
TV
89832019-05-22 Tom de Vries <tdevries@suse.de>
8984
8985 * gdb.base/align.exp: Require c++11.
8986
e7fe496b
TV
89872019-05-22 Tom de Vries <tdevries@suse.de>
8988
8989 PR testsuite/24586
8990 * gdb.python/py-mi-var-info-path-expression.exp: Call
8991 mi_skip_python_tests to check if python is supported.
8992
8fca4da0
AH
89932019-05-22 Alan Hayward <alan.hayward@arm.com>
8994
8995 * gdb.arch/aarch64-pauth.c: New test.
8996 * gdb.arch/aarch64-pauth.exp: New file.
8997
b7060614
AH
89982019-05-22 Alan Hayward <alan.hayward@arm.com>
8999
9000 * README (Re-running Tests Outside The Testsuite): New section.
9001
669d0468
TV
90022019-05-21 Tom de Vries <tdevries@suse.de>
9003
9004 * gdb.arch/amd64-eval.exp: Require c++11.
9005 * gdb.base/max-depth.exp: Same.
9006 * gdb.compile/compile-cplus-array-decay.exp: Same.
9007 * gdb.cp/meth-typedefs.exp: Same.
9008 * gdb.cp/subtypes.exp: Same.
9009 * gdb.cp/temargs.exp: Same.
9010
ce3ebcaa
AH
90112019-05-21 Alan Hayward <alan.hayward@arm.com>
9012
9013 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
9014
34d11c68
AB
90152019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
9016
9017 PR gdb/18644
9018 * gdb.fortran/complex.exp: Remove setup_kfail calls.
9019 * gdb.fortran/printing-types.exp: Add new test.
9020 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
9021 testing.
9022 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
9023 setup_kfail call.
9024
87781e84
AH
90252019-05-17 Alan Hayward <alan.hayward@arm.com>
9026
9027 * README (Running the Testsuite): Change example.
9028 (Testsuite Parameters): Remove TRANSCRIPT.
9029 * lib/gdb.exp: Remove TRANSCRIPT check.
9030
b420b89e
AH
90312019-05-17 Alan Hayward <alan.hayward@arm.com>
9032
9033 * README (Testsuite Parameters): Add replay logging to
9034 GDBSERVER_DEBUG.
9035 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
9036 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
9037 as a comma separated list.
9038 (gdb_debug_init): Override procedure.
9039
408e9b8b
AH
90402019-05-17 Alan Hayward <alan.hayward@arm.com>
9041
9042 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
9043 (gdb_write_cmd_file): New procedure.
9044 * lib/gdbserver-support.exp (gdbserver_start): Call
9045 gdbserver_write_cmd_file.
9046 (gdbserver_write_cmd_file): New procedure.
9047
f9e2e39d
AH
90482019-05-17 Alan Hayward <alan.hayward@arm.com>
9049
9050 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
9051 (delete_breakpoints): Likewise.
9052 (gdb_run_cmd): Likewise.
9053 (gdb_start_cmd): Likewise.
9054 (gdb_starti_cmd): Likewise.
9055 (gdb_internal_error_resync): Likewise.
9056 (gdb_test_multiple): Likewise.
9057 (gdb_reinitialize_dir): Likewise.
9058 (default_gdb_exit): Likewise.
9059 (gdb_file_cmd): Mark kill as optional.
9060 (default_gdb_start): Call gdb_stdin_log_init.
9061 (send_gdb): Call gdb_stdin_log_write.
9062 (rerun_to_main): Mark Y as an answer.
9063 (gdb_stdin_log_init): New function.
9064 (gdb_stdin_log_write): Likewise.
9065
81f47ac2
AH
90662019-05-17 Alan Hayward <alan.hayward@arm.com>
9067
9068 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
9069 * gdb.base/debug-expr.exp: Likewise.
9070 * gdb.base/foll-fork.exp: Likewise.
9071 * gdb.base/foll-vfork.exp: Likewise.
9072 * gdb.base/fork-print-inferior-events.exp: Likewise.
9073 * gdb.base/gdb-sigterm.exp: Likewise.
9074 * gdb.base/gdbinit-history.exp: Likewise.
9075 * gdb.base/osabi.exp: Likewise.
9076 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
9077 * gdb.base/ui-redirect.exp: Likewise.
9078 * gdb.gdb/unittest.exp: Likewise.
9079 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
9080 * gdb.mi/mi-watch.exp: Likewise.
9081 * gdb.mi/new-ui-mi-sync.exp: Likewise.
9082 * gdb.mi/user-selected-context-sync.exp: Likewise.
9083 * gdb.python/python.exp: Disable debug test when debugging.
9084 * gdb.threads/check-libthread-db.exp: Disable when debugging.
9085 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9086 Likewise.
9087 * gdb.threads/stepi-random-signal.exp: Likewise.
9088
29b52314
AH
90892019-05-17 Alan Hayward <alan.hayward@arm.com>
9090
9091 * Makefile.in: Pass through GDB_DEBUG.
9092 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
9093 (gdb,debug): Add board setting.
9094 * lib/gdb.exp (default_gdb_start): Start debugging.
9095 (gdb_debug_enabled): New procedure.
9096 (gdb_debug_init): Likewise.
29b52314
AH
9097
90982019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 9099
29b52314
AH
9100 * Makefile.in: Pass through GDB_DEBUG.
9101 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
9102 (gdb,debug): Add board setting.
9103 * lib/gdb.exp (default_gdb_start): Start debugging.
9104 (gdb_debug_enabled): New procedure.
9105 (gdb_debug_init): Likewise.
29b52314 9106
ca1285d1
AH
91072019-05-17 Alan Hayward <alan.hayward@arm.com>
9108
9109 * gdb.base/ui-redirect.exp: Add debug redirect tests.
9110
f3a09c80
AH
91112019-05-17 Alan Hayward <alan.hayward@arm.com>
9112
9113 * gdb.base/ui-redirect.exp: Test redirection.
9114
26648588
JV
91152019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
9116
9117 * gdb.mi/mi-complete.exp: New file.
9118 * gdb.mi/mi-complete.cc: Likewise.
9119
14237686
AB
91202019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
9121
9122 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
9123 indexed and sliced arrays, and pointers to arrays.
9124
e7bd7fba
TT
91252019-05-14 Tom Tromey <tromey@adacore.com>
9126
9127 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
9128 styling test.
9129
2764128d
TV
91302019-05-14 Tom de Vries <tdevries@suse.de>
9131
9132 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
9133 selection entry encoding.
9134
71bed2db
TT
91352019-05-10 Tom Tromey <tromey@adacore.com>
9136
9137 * gdb.ada/info_exc.exp: Add "complete" test.
9138
63b667ad
TV
91392019-05-09 Tom de Vries <tdevries@suse.de>
9140
9141 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
9142 CU-relative.
9143
9cfd2b89
TV
91442019-05-09 Tom de Vries <tdevries@suse.de>
9145
9146 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
9147 CU-relative.
9148
2228ef77
XR
91492019-05-08 Joel Brobecker <brobecker@adacore.com>
9150
9151 * gdb.ada/frame_arg_lang.exp: New testcase.
9152 * gdb.ada/frame_arg_lang/bla.adb: New file.
9153 * gdb.ada/frame_arg_lang/pck.ads: New file.
9154 * gdb.ada/frame_arg_lang/pck.adb: New file.
9155 * gdb.ada/frame_arg_lang/foo.c: New file.
9156
80e55b13
TT
91572019-05-08 Tom Tromey <tromey@adacore.com>
9158
9159 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
9160
9d3421af
TT
91612019-05-08 Tom Tromey <tromey@adacore.com>
9162
9163 * gdb.base/ptype-offsets.exp: Update tests.
9164
844333e2
TT
91652019-05-08 Tom Tromey <tromey@adacore.com>
9166
9167 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
9168 cases.
9169 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
9170 "short".
9171
988915ee
TT
91722019-05-08 Tom Tromey <tromey@adacore.com>
9173
9174 * gdb.ada/vla.exp: New file.
9175 * gdb.ada/vla/vla.adb: New file.
9176
7bd55dac
TV
91772019-05-07 Tom de Vries <tdevries@suse.de>
9178
9179 * gdb.base/index-cache.exp (ls_host): Fix return statement.
9180
75f06e9d
TV
91812019-05-07 Tom de Vries <tdevries@suse.de>
9182
9183 PR testsuite/24522
9184 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
9185 section.
9186
77e7aaa4
TV
91872019-05-07 Tom de Vries <tdevries@suse.de>
9188
9189 PR testsuite/24522
9190 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
9191 .debug_aranges section.
9192
456ba0fa
TV
91932019-05-07 Tom de Vries <tdevries@suse.de>
9194
9195 PR testsuite/24159
9196 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
9197
5a56d6a6
TV
91982019-05-06 Tom de Vries <tdevries@suse.de>
9199
9200 * lib/gdb.exp (exec_has_index_section): New proc.
9201 * gdb.base/index-cache.exp: Handle case that binfile contains an index
9202 section.
9203
9d6d4be8
TV
92042019-05-04 Tom de Vries <tdevries@suse.de>
9205
9206 * boards/cc-with-debug-names.exp: New file.
9207
222a8d25
TT
92082019-05-03 Tom Tromey <tromey@adacore.com>
9209
9210 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
9211 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
9212 * gdb.ada/char_enum.exp: Add test.
9213
0fdfd794
TV
92142019-05-03 Tom de Vries <tdevries@suse.de>
9215
9216 * boards/cc-with-gdb-index.exp: New file.
9217
80062eb9
AB
92182019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
9219
9220 * gdb.rust/simple.exp: Add new test case.
9221 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
9222 (main): Initialise an instance of the new struct.
9223
4504bbde
TT
92242019-05-01 Tom Tromey <tromey@adacore.com>
9225
9226 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
9227 record.
9228 (NPR): New variable.
9229 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
9230 test.
9231
d48e62f4
TT
92322019-05-01 Tom Tromey <tromey@adacore.com>
9233
9234 * gdb.ada/packed_array_assign.exp: Add packed assignment
9235 regression test.
9236
f59f30f5
TV
92372019-05-01 Tom de Vries <tdevries@suse.de>
9238
9239 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
9240
b70bfc54
TV
92412019-05-01 Tom de Vries <tdevries@suse.de>
9242
9243 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
9244
15f18d14
AT
92452019-04-30 Ali Tamur <tamur@google.com>
9246
9247 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
9248
2ff0a947
TT
92492019-04-30 Tom Tromey <tromey@adacore.com>
9250
9251 * lib/ada.exp (find_ada_tool): New proc.
9252 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
9253 * gdb.ada/catch_ex_std.exp: New file.
9254 * gdb.ada/catch_ex_std/foo.adb: New file.
9255 * gdb.ada/catch_ex_std/some_package.adb: New file.
9256 * gdb.ada/catch_ex_std/some_package.ads: New file.
9257
a776957c
TT
92582019-04-30 Tom Tromey <tromey@adacore.com>
9259
9260 PR c++/24470:
9261 * gdb.cp/temargs.cc: Add test code from PR.
9262
bc68014d
AB
92632019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9264
9265 * gdb.fortran/vla-datatypes.exp: Update expected results.
9266 * gdb.fortran/vla-ptype.exp: Likewise.
9267 * gdb.fortran/vla-type.exp: Likewise.
9268 * gdb.fortran/vla-value.exp: Likewise.
9269
f1fdc960
AB
92702019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9271
9272 * gdb.fortran/ptr-indentation.exp: Update expected results.
9273 * gdb.fortran/ptype-on-functions.exp: Likewise.
9274 * gdb.fortran/vla-ptr-info.exp: Likewise.
9275 * gdb.fortran/vla-value.exp: Likewise.
9276
bf7a4de1
AB
92772019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9278
9279 * gdb.fortran/ptype-on-functions.exp: New file.
9280 * gdb.fortran/ptype-on-functions.f90: New file.
9281
bbe75b9d
AB
92822019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9283
9284 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
9285 case void string.
9286
1db455a7
AB
92872019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9288
9289 * gdb.fortran/complex.exp: Expand.
9290 * gdb.fortran/complex.f: Renamed to...
9291 * gdb.fortran/complex.f90: ...this, and extended to add more
9292 complex values.
9293
b6d03bb2
AB
92942019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9295
9296 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
9297 MODULO, CMPLX.
9298
2e62ab40
AB
92992019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
9300 Richard Bunt <richard.bunt@arm.com>
9301
9302 * gdb.base/max-depth.c: New file.
9303 * gdb.base/max-depth.exp: New file.
9304 * gdb.python/py-nested-maps.c: New file.
9305 * gdb.python/py-nested-maps.exp: New file.
9306 * gdb.python/py-nested-maps.py: New file.
9307 * gdb.python/py-format-string.exp (test_max_depth): New proc.
9308 (test_all_common): Call test_max_depth.
9309 * gdb.fortran/max-depth.exp: New file.
9310 * gdb.fortran/max-depth.f90: New file.
9311 * gdb.go/max-depth.exp: New file.
9312 * gdb.go/max-depth.go: New file.
9313 * gdb.modula2/max-depth.exp: New file.
9314 * gdb.modula2/max-depth.c: New file.
9315 * lib/gdb.exp (get_print_expr_at_depths): New proc.
9316
d2b584a5
TV
93172019-04-29 Tom de Vries <tdevries@suse.de>
9318
9319 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
9320
136afab8
PW
93212019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9322
9323 * gdb.base/callexit.exp: Test may-call-functions off.
9324
725cbb63
KS
93252019-04-25 Keith Seitz <keiths@redhat.com>
9326
9327 PR c++/24367
9328 * gdb.cp/meth-typedefs.cc (incomplete_struct)
9329 (another_incomplete_struct, test_incomplete): New definitions.
9330 (main): Use new definitions.
9331 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
9332 functions.
9333
701adfb0
PA
93342019-04-25 Ali Tamur <tamur@google.com>
9335
9336 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
9337
82433e3e
SDJ
93382019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
9339
9340 PR corefiles/11608
9341 PR corefiles/18187
9342 * gdb.base/coredump-filter-build-id.exp: New file.
9343
dd06d4d6
AH
93442019-04-25 Alan Hayward <alan.hayward@arm.com>
9345
e79be6e5
SM
9346 * Makefile.in: Pass through GDBSERVER_DEBUG.
9347 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
9348 (gdbserver,debug): Add board setting.
9349 * gdb.trace/tspeed.exp: Skip when debugging.
9350 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
9351 * lib/gdbserver-support.exp: Likewise
dd06d4d6 9352
1670072e
TT
93532019-04-24 Tom Tromey <tromey@adacore.com>
9354
9355 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
9356 Rust.
9357
a59240a4
TT
93582019-04-24 Tom Tromey <tromey@adacore.com>
9359
9360 * gdb.arch/amd64-eval.exp: Test bitfield return.
9361 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
9362 (class Foo) <return_bitfields>: New method.
9363 (main): Call it.
9364
b907456c
AB
93652019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
9366
9367 * gdb.cp/many-args.cc: New file.
9368 * gdb.cp/many-args.exp: New file.
9369
5c565afd
TV
93702019-04-23 Tom de Vries <tdevries@suse.de>
9371
9372 PR gdb/24433
9373 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
9374
ba22ff86
AH
93752019-04-23 Alan Hayward <alan.hayward@arm.com>
9376
9377 * gdb.trace/backtrace.exp: Use nopie flag.
9378 * gdb.trace/circ.exp: Likewise.
9379 * gdb.trace/collection.exp: Likewise.
9380 * gdb.trace/ftrace.exp: Likewise.
9381 * gdb.trace/mi-trace-unavailable.exp: Likewise.
9382 * gdb.trace/mi-traceframe-changed.exp: Likewise.
9383 * gdb.trace/qtro.exp: Likewise.
9384 * gdb.trace/read-memory.exp: Likewise.
9385 * gdb.trace/report.exp: Likewise.
9386 * gdb.trace/tfile.exp: Likewise.
9387 * gdb.trace/tfind.exp: Likewise.
9388 * gdb.trace/unavailable.exp: Likewise.
9389
7905fc35
PA
93902019-04-22 Pedro Alves <palves@redhat.com>
9391
9392 * gdb.base/solib-probes-nosharedlibrary.c,
9393 gdb.base/solib-probes-nosharedlibrary.exp: New files.
9394
8ecb59f8
TT
93952019-04-19 Tom Tromey <tromey@adacore.com>
9396
9397 * gdb.ada/ptype_union.c: New file.
9398 * gdb.ada/ptype_union.exp: New file.
9399
62160ec9
TT
94002019-04-19 Tom Tromey <tromey@adacore.com>
9401
9402 PR symtab/24423:
9403 * gdb.base/list0.h (foo): Add a control-l character.
9404
36cd4ba5
TV
94052019-04-18 Tom de Vries <tdevries@suse.de>
9406
9407 PR gdb/24433
9408 * boards/local-board.exp: Set sysroot to "".
9409
b73715df
TV
94102019-04-18 Tom de Vries <tdevries@suse.de>
9411 Pedro Alves <palves@redhat.com>
9412
9413 PR gdb/24454
9414 * gdb.threads/vfork-follow-child-exec.c: New file.
9415 * gdb.threads/vfork-follow-child-exec.exp: New file.
9416 * gdb.threads/vfork-follow-child-exit.c: New file.
9417 * gdb.threads/vfork-follow-child-exit.exp: New file.
9418
4aa866af
LS
94192019-04-15 Leszek Swirski <leszeks@google.com>
9420
9421 * gdb.arch/amd64-eval.cc: New file.
9422 * gdb.arch/amd64-eval.exp: New file.
9423
e5a1a79a
AH
94242019-04-11 Alan Hayward <alan.hayward@arm.com>
9425
9426 * gdb.server/sysroot.c: New test.
9427 * gdb.server/sysroot.exp: New file.
9428 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
9429 matching param.
9430
41077b66
AB
94312019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
9432
9433 * gdb.base/align.exp: Extend test to cover structures containing
9434 only static fields.
9435
c30391f8
TV
94362019-04-11 Tom de Vries <tdevries@suse.de>
9437
9438 * boards/cc-with-dwz-m.exp: New file.
9439 * boards/cc-with-dwz.exp: New file.
9440 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
9441
e242fd12
SM
94422019-04-09 Simon Marchi <simon.marchi@efficios.com>
9443
9444 * gdb.base/start-cpp.exp: New file.
9445 * gdb.base/start-cpp.cc: New file.
9446
2b0c8b01
KB
94472019-04-08 Kevin Buettner <kevinb@redhat.com>
9448
9449 * gdb.python/py-thrhandle.exp: Adjust tests to call
9450 thread_from_handle instead of thread_from_thread_handle.
9451
947210e5
KB
94522019-04-08 Kevin Buettner <kevinb@redhat.com>
9453
9454 * gdb.python/py-thrhandle.exp: Add tests for
9455 gdb.InferiorThread.handle.
9456
d7df6549
AB
94572019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
9458
9459 * gdb.python/py-function.exp: Check calling helper function from
9460 all languages.
9461 * lib/gdb.exp (gdb_supported_languages): New proc.
9462
8bdc1658
AB
94632019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
9464
9465 * gdb.base/complex-parts.c: New file.
9466 * gdb.base/complex-parts.exp: New file.
9467
05caa1d2
TT
94682019-04-01 Tom Tromey <tromey@adacore.com>
9469
9470 PR symtab/23331:
9471 * gdb.dwarf2/dw2-ranges-main.c: New file.
9472 * gdb.dwarf2/dw2-ranges-psym.c: New file.
9473 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
9474
7734102d
EZ
94752019-03-30 Simon Marchi <simark@simark.ca>
9476
9477 * gdb.base/default.exp: Add values for $_gdb_major and
9478 $_gdb_minor.
9479
188e1fa9
TT
94802019-03-29 Tom Tromey <tromey@adacore.com>
9481
9482 * gdb.base/help.exp: Tighten apropos regexp.
9483
2880242d
KS
94842019-03-29 Keith Seitz <keiths@redhat.com>
9485
9486 * gdb.fortran/array-bounds.exp: New file.
9487 * gdb.fortran/array-bounds.f90: New file.
9488
077cad8e
PW
94892019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9490
9491 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
9492
80047cfc
PW
94932019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9494
9495 * gdb.multi/hello.c (main): Increase alarm timer.
9496
f489207e
SL
94972019-03-28 Sandra Loosemore <sandra@codesourcery.com>
9498
9499 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
9500 factor when no hardware watchpoint support.
9501
c92df149
AH
95022019-03-28 Alan Hayward <alan.hayward@arm.com>
9503 Pedro Alves <palves@redhat.com>
9504
9505 * boards/local-board.exp: set sysroot to /.
9506
933aebfa
AH
95072019-03-27 Alan Hayward <alan.hayward@arm.com>
9508
9509 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
9510 in child.
9511
9f9aa852
AB
95122019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
9513
9514 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
9515 field.
9516 (make_container): Initialise new field.
9517 * gdb.python/py-prettyprint.exp: Add new tests.
9518 * gdb.python/py-prettyprint.py (class ContainerPrinter)
9519 <display_hint>: New method.
9520
3714a195
AB
95212019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
9522
9523 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
9524 gdb_continue_to_breakpoint more throughout this test.
9525 (run_lang_tests) Supply unique test names, and use
9526 gdb_test_no_output.
9527
18c77628
AB
95282019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
9529
9530 * gdb.base/finish-pretty.exp: Update expected results.
9531 * gdb.base/pretty-print.c: New file.
9532 * gdb.base/pretty-print.exp: New file.
9533
9a93502f
PA
95342019-03-25 Pedro Alves <palves@redhat.com>
9535
9536 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
9537 move comments outside list. Append '-i "" eof' section.
9538
968aa7ae
AH
95392019-03-22 Alan Hayward <alan.hayward@arm.com>
9540
34a7f2a4 9541 PR testsuite/25016
968aa7ae
AH
9542 * README: Add pie options.
9543 * gdb.base/break-interp.exp: Ensure pie is disabled.
9544 * gdb.base/dump.exp: Likewise.
9545 * lib/gdb.exp (gdb_compile): Add pie option.
9546
4c7d57e7
TT
95472019-03-19 Tom Tromey <tromey@adacore.com>
9548
9549 * gdb.mi/mi2-cli-display.c: New file.
9550 * gdb.mi/mi2-cli-display.exp: New file.
9551
bff8c71f
TT
95522019-03-18 Joel Brobecker <brobecker@adacore.com>
9553 Tom Tromey <tromey@adacore.com>
9554
9555 * gdb.ada/ptype_array/pck.adb: New file.
9556 * gdb.ada/ptype_array/pck.ads: New file.
9557 * gdb.ada/ptype_array/foo.adb: New file.
9558 * gdb.ada/ptype_array.exp: New file.
9559
d085f989
TT
95602019-03-14 Tom Tromey <tromey@adacore.com>
9561
9562 * gdb.base/style.exp: Add "set style sources" test.
9563
b4be1b06
SM
95642019-03-13 Simon Marchi <simon.marchi@ericsson.com>
9565
9566 * mi-breakpoint-location-ena-dis.exp: Rename to ...
9567 * mi-breakpoint-multiple-locations.exp: ... this.
9568 (make_breakpoints_pattern): New proc.
9569 (do_test): Add mi_version parameter, test -break-insert,
9570 -break-info and =breakpoint-created.
9571
7cde5fc2
AB
95722019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
9573
9574 * config/default.exp: Remove 'load_lib gdb.exp'.
9575 * config/monitor.exp: Likewise.
9576 * config/sid.exp: Likewise.
9577 * config/sim.exp: Likewise.
9578 * config/slite.exp: Likewise.
9579 * config/unix.exp: Likewise.
9580 * gdb.base/default.exp: Remove unhelpful comment.
9581
efbecbc1
AB
95822019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9583
9584 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
9585
0841c79a
AB
95862019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9587
9588 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
9589
4a270568
AB
95902019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9591
9592 * gdb.fortran/type-kinds.exp: Update expected results.
9593
067630bd
AB
95942019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9595
9596 * gdb.fortran/type-kinds.exp: Test new integer type kind.
9597
3be47f7a
AB
95982019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9599
9600 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
9601 function.
9602 (test_basic_parsing_of_type_kinds): Expand types tested.
9603 (test_parsing_invalid_type_kinds): New function.
9604
4d00f5d8
AB
96052019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9606
9607 * gdb.fortran/intrinsics.exp: New file.
9608 * gdb.fortran/intrinsics.f90: New file.
9609 * gdb.fortran/type-kinds.exp: New file.
9610
c8f91604
AB
96112019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9612
9613 * gdb.fortran/dot-ops.exp: New file.
9614
dd9f2c76
AB
96152019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9616
9617 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
9618 Check upper and lower case logical literals.
9619
84ec9724
AB
96202019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9621
9622 * gdb.fortran/types.exp (test_float_literal_types_accepted):
9623 Remove duplicate tests.
9624
c3734e09
AH
96252019-03-06 Alan Hayward <alan.hayward@arm.com>
9626
9627 * lib/gdb.exp (builtin_cd): rename of cd.
9628 (cd): Override builtin.
9629
aa3cfbda
RB
96302019-03-06 Richard Bunt <richard.bunt@arm.com>
9631
9632 * gdb.fortran/function-calls.exp: New file.
9633 * gdb.fortran/function-calls.f90: New test.
9634
7b63ad86
RB
96352019-03-04 Richard Bunt <richard.bunt@arm.com>
9636
9637 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
9638 on user program standard output.
9639 * gdb.fortran/short-circuit-argument-list.f90: Record function
9640 calls.
9641
01abb042
AH
96422019-02-28 Alan Hayward <alan.hayward@arm.com>
9643
c3734e09
AH
9644 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
9645 failure.
01abb042 9646
92137da0
RO
96472019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9648
9649 PR gdb/8527
9650 * gdb.base/interrupt-daemon-attach.c,
9651 gdb.base/interrupt-daemon-attach.exp: New test.
9652
5862844d
PA
96532019-02-27 Pedro Alves <palves@redhat.com>
9654
9655 * gdb.base/page.exp: Add tests for "set width/height -1".
9656
8ed25214
PA
96572019-02-27 Pedro Alves <palves@redhat.com>
9658
9659 * gdb.base/page.exp: Add tests for "set/show width/height" with
9660 "infinite" values.
9661
6c28e44a
TT
96622019-02-27 Tom Tromey <tromey@adacore.com>
9663
9664 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
9665 2.4.
9666 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
9667 workaround.
9668
bf9a735e
AB
96692019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
9670
9671 * gdb.base/align.exp: Extend to compile in both C and C++, and add
9672 tests for structs with static members.
9673
8791793c
TT
96742019-02-26 Tom Tromey <tromey@adacore.com>
9675
9676 * gdb.python/py-value.exp (test_value_from_buffer): Check for
9677 ValueError, not TypeError.
9678
bc2a507e
KB
96792019-02-26 Kevin Buettner <kevinb@redhat.com>
9680
9681 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
9682 call from main program.
9683
e0e7d3bd
JB
96842019-02-23 Joel Brobecker <brobecker@adacore.com>
9685
9686 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
9687 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
9688 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
9689 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
9690 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
9691
9600246d
KS
96922019-02-22 Keith Seitz <keiths@redhat.com>
9693
9694 PR symtab/23853
9695 * gdb.base/symlink-sourcefile.c: New file.
9696 * gdb.base/symlink-sourcefile.exp: New file.
9697
0c95f9ed
TT
96982019-02-20 Tom Tromey <tom@tromey.com>
9699
9700 * gdb.base/info_qt.exp: Update.
9701
6caa91b6
SM
97022019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
9703
9704 * gdb.base/source.exp: Move "error in sourced script" code to
9705 the end.
9706 * gdb.base/source-error.gdb: Move contents to
9707 source-error-1.gdb. Add new code to source source-error-1.gdb.
9708 * gdb.base/source-error-1.gdb: New file, from previous
9709 source-error.gdb.
9710
6506371f
TT
97112019-02-17 Tom Tromey <tom@tromey.com>
9712
9713 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
9714 for macro styling.
9715 * gdb.base/style.c (SOME_MACRO): New macro.
9716
a0087920
TT
97172019-02-17 Tom Tromey <tom@tromey.com>
9718
9719 * gdb.base/style.exp: Add line-wrapping tests.
9720 * gdb.base/page.exp: Add test for quitting during pagination.
9721
a2cd4f14
JB
97222019-02-17 Joel Brobecker <brobecker@adacore.com>
9723
9724 * gdb.ada/big_packed_array: New testcase.
9725 * gdb.ada/homonym.exp: Fix incorrect expected output for
9726 "break <homonym__get_value>" test.
9727
9d70ffbc
WP
97282019-02-13 Weimin Pan <weimin.pan@oracle.com>
9729
9730 PR breakpoints/21870
9731 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
9732 and prepare_for_testing. Add comment.
9733 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
9734 redundant cleanup call. Clean up comment.
9735
01c7ae81
WP
97362019-02-12 Weimin Pan <weimin.pan@oracle.com>
9737
9738 PR breakpoints/21870
9739 * gdb.arch/aarch64-dbreg-contents.exp: New file.
9740 * gdb.arch/aarch64-dbreg-contents.c: New file.
9741
aff29d1c
JB
97422019-02-10 Joel Brobecker <brobecker@adacore.com>
9743
9744 * gdb.ada/mi_ref_changeable: New testcase.
9745
df0da8a2
AH
97462019-02-07 Alan Hayward <alan.hayward@arm.com>
9747
9748 * gdb.base/attach.exp: Add double attach test.
9749
bd447abb
SM
97502019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
9751
9752 * lib/gdb.exp (default_gdb_start): Don't match pagination
9753 prompt.
9754 (gdb_init): Set stty_init.
9755
1dbc40b9
TT
97562019-01-27 Tom Tromey <tom@tromey.com>
9757
9758 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
9759 skip_python_tests.
9760
353229bf
AH
97612019-01-24 Alan Hayward <alan.hayward@arm.com>
9762
9763 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
9764 New structure.
9765 (struct struct_static_02_02): Likewise.
9766 (struct struct_static_02_03): Likewise.
9767 (struct struct_static_02_04): Likewise.
9768 (struct struct_static_04_01): Likewise.
9769 (struct struct_static_04_02): Likewise.
9770 (struct struct_static_04_03): Likewise.
9771 (struct struct_static_04_04): Likewise.
9772 (struct struct_static_06_01): Likewise.
9773 (struct struct_static_06_02): Likewise.
9774 (struct struct_static_06_03): Likewise.
9775 (struct struct_static_06_04): Likewise.
9776 (cmp_struct_static_02_01): Likewise.
9777 (cmp_struct_static_02_02): Likewise.
9778 (cmp_struct_static_02_03): Likewise.
9779 (cmp_struct_static_02_04): Likewise.
9780 (cmp_struct_static_04_01): Likewise.
9781 (cmp_struct_static_04_02): Likewise.
9782 (cmp_struct_static_04_03): Likewise.
9783 (cmp_struct_static_04_04): Likewise.
9784 (cmp_struct_static_06_01): Likewise.
9785 (cmp_struct_static_06_02): Likewise.
9786 (cmp_struct_static_06_03): Likewise.
9787 (cmp_struct_static_06_04): Likewise.
9788 (call_all): Test new structs.
9789 * gdb.base/infcall-nested-structs.exp: Likewise.
9790
73021deb
AH
97912019-01-21 Alan Hayward <alan.hayward@arm.com>
9792 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
9793
fc65c7db
AH
97942019-01-21 Alan Hayward <alan.hayward@arm.com>
9795 * gdb.base/stack-protector.c: New test.
9796 * gdb.base/stack-protector.exp: New file.
9797 * gdb.cp/ovldbreak.exp: Only allow a single break line.
9798 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
9799 option.
9800 (gdb_compile): Remove stack protector for GCC and prevent
9801 recursion.
9802
c24bdb02
KS
98032019-01-16 Keith Seitz <keiths@redhat.com>
9804
9805 PR gdb/23773
9806 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
9807
6f072a10
PFC
98082019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9809
9810 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
9811 aliases.
9812 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
9813 tests.
9814 * gdb.arch/powerpc-vector-regs.c: New file.
9815 * gdb.arch/powerpc-vector-regs.exp: New file.
9816
a7b8d682
PFC
98172019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9818
9819 * gdb.arch/altivec-regs.exp: Fix the list passed to
9820 gdb_expect_list when testing "info vector".
9821
6eb6fb67
AB
98222019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9823
9824 * gdb.base/style.exp: Don't include path in testname.
9825
b56f80d8
KS
98262019-01-10 Keith Seitz <keiths@redhat.com>
9827
9828 PR gdb/23712
9829 PR symtab/23010
9830 * gdb.dwarf2/multidictionary.exp: New file.
9831
041be526
SM
98322019-01-09 Simon Marchi <simon.marchi@ericsson.com>
9833
9834 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
9835 (test_gnuv3_style_demangling): ... this.
9836 (test_lucid_style_demangling): Remove.
9837 (test_arm_style_demangling): Remove.
9838 (test_hp_style_demangling): Remove.
9839 (do_tests): Remove calls to the above.
9840
d820d0c3
AB
98412019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
9842
9843 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
9844 case.
9845
f097f5ad
TT
98462019-01-06 Tom Tromey <tom@tromey.com>
9847
9848 PR gdb/28155:
9849 * gdb.dwarf2/typedef-void-finish.exp: New file.
9850
2cd8cc0b
TT
98512018-12-28 Tom Tromey <tom@tromey.com>
9852 Simon Marchi <simark@simark.ca>
9853
9854 * gdb.base/jit-exec.exp: New file.
9855 * gdb.base/jit-exec.c: New file.
9856 * gdb.base/jit-execd.c: New file.
9857
35fb8261
TT
98582018-12-28 Tom Tromey <tom@tromey.com>
9859
9860 * gdb.base/style.exp: Update test to check for address styling.
9861
47fd17cd
TT
98622018-12-28 Tom Tromey <tom@tromey.com>
9863
9864 * gdb.base/style.exp: Add test for styling of "Reading symbols"
9865 message.
9866
d47032b7
TT
98672018-12-28 Tom Tromey <tom@tromey.com>
9868
9869 * gdb.base/style.exp: Add test for version number styling.
9870
af79b68d
TT
98712018-12-28 Tom Tromey <tom@tromey.com>
9872
9873 * gdb.base/style.exp: Add test for print_address_symbolic.
9874
0bb296cb
TT
98752018-12-28 Tom Tromey <tom@tromey.com>
9876
9877 * gdb.base/style.exp: Add test for breakpoint setting.
9878
80ae2043
TT
98792018-12-28 Tom Tromey <tom@tromey.com>
9880
9881 * gdb.base/style.exp: Add test for variable names.
9882
cbe56571
TT
98832018-12-28 Tom Tromey <tom@tromey.com>
9884
9885 * gdb.base/style.exp: New file.
9886 * gdb.base/style.c: New file.
9887
9162a27c
TT
98882018-12-28 Tom Tromey <tom@tromey.com>
9889
9890 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
9891 "dumb".
9892 * gdb.base/readline.exp (operate_and_get_next): Save and restore
9893 the TERM environment variable.
9894
bc543c90
TT
98952018-12-27 Tom Tromey <tom@tromey.com>
9896
9897 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
9898 pagination test.
9899
6f0ffe50
AB
99002018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
9901
9902 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
9903 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
9904
b5a1e557
PW
99052018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9906
9907 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
9908 Filename a.adb changed to bp_fun_addr.adb.
9909 gdb.ada/bp_fun_addr.exp: Update test accordingly.
9910
6e8b1ab2
JV
99112018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
9912
9913 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
9914 non-PIE executables.
9915 * README: Mention the gdb,nopie_flag board setting.
9916 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
9917 non-PIE executable.
9918 * gdb.arch/amd64-entry-value.exp: Likewise.
9919 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
9920 * gdb.arch/i386-float.exp: Likewise.
9921 * gdb.arch/i386-signal.exp: Likewise.
9922 * gdb.mi/mi-reg-undefined.exp: Likewise.
9923
d00a27c5
PM
99242018-12-21 Paul Marechal <paul.marechal@ericsson.com>
9925
9926 PR gdb/23974
9927 * gdb.base/info-os.exp: Check return for unknown "info os" type.
9928
161d081c
PW
99292018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9930
9931 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
9932 Update order of results accordingly.
9933
b001de23
AB
99342018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
9935
9936 * gdb.base/annota1.exp: Update a test regexp.
9937
99e1a184
AB
99382018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9939
9940 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
9941
7a81c1e2
PW
99422018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9943
9944 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
9945 (reuse_time): Initialize to REUSE_TIME_CAP.
9946 (check_rc): New function.
9947 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
9948 Check pthread_create rc.
9949 (spawner_thread_func): Check pthread_create and pthread_join rc.
9950
73e8dc90
PA
99512018-12-08 Pedro Alves <palves@redhat.com>
9952
9953 * gdb.base/list.exp (test_forward_search): Rename to ...
9954 (test_forward_reverse_search): ... this. Also test reverse-search
9955 and the forward-search alias.
9956
13f2ed32
AB
99572018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
9958
9959 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
9960 local timeout variable before return, and remove all local timeout
9961 variable entirely.
9962 (gdb_load): Likewise.
9963
64d27cfc
TV
99642018-12-01 Tom de Vries <tdevries@suse.de>
9965
9966 * gdb.base/gdb-caching-proc.exp: New file.
9967
f63c03b4
SDJ
99682018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
9969
9970 * Makefile.in (TIMESTAMP): New variable.
9971 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
9972 command.
9973 (check-single-racy): Likewise.
9974 (check/%.exp): Likewise.
9975 (check-racy/%.exp): Likewise.
9976 (workers/%.worker): Likewise.
9977 (build-perf): Likewise.
9978 (check-perf): Likewise.
9979 * README: Describe new "TS" and "TS_FORMAT" variables.
9980 * print-ts.py: New file.
9981
1c97054b
BF
99822018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
9983
9984 PR python/23714
9985 * gdb.python/python.exp: Test command repetition after
9986 gdb.execute.
9987
1871a62d
AB
99882018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
9989
9990 * gdb.opt/inline-break.exp: Add test that info breakpoint output
9991 is correctly aligned.
9992
fb5e1ed9
PW
99932018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9994
9995 * gdb.ada/info_auto_lang.exp: New testcase.
9996 * gdb.ada/info_auto_lang/global_pack.ads: New file.
9997 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
9998 * gdb.ada/info_auto_lang/some_c.c: New file.
9999
43d397ca
PW
100002018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10001
10002 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
10003 FUNC_lang language syntax.
10004
beddd671
PW
100052018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10006
10007 * gdb.base/info_minsym.c: New file.
10008 * gdb.base/info_minsym.exp: New file.
10009
73fc52c4
TT
100102018-11-19 Tom Tromey <tom@tromey.com>
10011
10012 PR rust/23625:
10013 * gdb.rust/simple.exp: Add ptype test. Update expected output.
10014 * gdb.rust/expr.exp: Update expected output. Change one test.
10015
994b876a
TT
100162018-11-19 Tom Tromey <tom@tromey.com>
10017
10018 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
10019
6769f276
PA
100202018-11-19 Pedro Alves <palves@redhat.com>
10021
10022 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
10023 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
10024 see the expected warning.
10025
38a72da0
AH
100262018-11-16 Alan Hayward <alan.hayward@arm.com>
10027
10028 PR gdb/22736:
10029 * gdb.cp/infcall-nodebug-lib.c: New test.
10030 * gdb.cp/infcall-nodebug-main.c: New test.
10031 * gdb.cp/infcall-nodebug.exp: New file.
10032
53a89d6e
SM
100332018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
10034
10035 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
10036 completer tests.
10037
9325300d
TV
100382018-11-09 Tom de Vries <tdevries@suse.de>
10039
10040 * gdb.base/msym-lang.c: New test.
10041 * gdb.base/msym-lang.exp: New file.
10042 * gdb.base/msym-lang-main.c: New test.
10043
20f0d60d
TT
100442018-11-08 Tom Tromey <tom@tromey.com>
10045
10046 PR gdb/23555:
10047 PR gdb/23838:
10048 * gdb.base/warning.exp: New file.
10049
b5420128
JB
100502018-11-08 Jan Beulich <jbeulich@suse.com>
10051
10052 * testsuite/gdb.arch/i386-avx512.c,
10053 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
10054
cd115d61
AB
100552018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
10056
10057 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
10058 point hardware.
10059
35ee2dc2
AB
100602018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
10061
10062 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
10063 * gdb.dwarf2/missing-type-name.exp: New file.
10064
31aceee8
TV
100652018-11-06 Tom de Vries <tdevries@suse.de>
10066
10067 * gdb.base/many-headers.c: New test.
10068 * gdb.base/many-headers.exp: New file.
10069
109be305
JW
100702018-11-06 Jim Wilson <jimw@sifive.com>
10071
10072 * gdb.base/code_elim.exp: For riscv, set additional_flags
10073 to include -msmall-data-limit=0.
10074
e2b7af72
JB
100752018-11-01 Joel Brobecker <brobecker@adacore.com>
10076
10077 * gdb.ada/watch_minus_l: New testcase.
10078
cdcda965
SM
100792018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
10080
10081 * gdb.arch/aix-sighandle.c: New file.
10082 * gdb.arch/aix-sighandle.exp: New file.
10083
92dcebf3
AB
100842018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
10085
10086 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
10087 registers being unions.
10088
68b9ac18
TV
100892018-10-31 Tom de Vries <tdevries@suse.de>
10090
10091 * lib/valgrind.exp: New file.
10092 (vgdb_start, vgdb_stop): New procs, factored out of ...
10093 * gdb.base/valgrind-bt.exp: ... here, ...
10094 * gdb.base/valgrind-disp-step.exp: ... here and ...
10095 * gdb.base/valgrind-infcall.exp: ... here.
10096
1443936e
TV
100972018-10-31 Tom de Vries <tdevries@suse.de>
10098
10099 * lib/gdb.exp (get_valueof): Don't output read value in test name.
10100
eb77c9df
AB
101012018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
10102
10103 * gdb.dwarf2/void-type.c: New file.
10104 * gdb.dwarf2/void-type.exp: New file.
10105
82b5e646
PW
101062018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10107
10108 * gdb.base/info_qt.c: New file.
10109 * gdb.base/info_qt.exp: New file.
10110
8d619c01
EBM
101112018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
10112
10113 * gdb.arch/powerpc-htm-regs.c: New file.
10114 * gdb.arch/powerpc-htm-regs.exp: New file.
10115
f2cf6173
EBM
101162018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
10117
10118 * gdb.arch/powerpc-tar.c: New file.
10119 * gdb.arch/powerpc-tar.exp: New file.
10120
7ca18ed6
EBM
101212018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
10122
10123 * gdb.arch/powerpc-ppr-dscr.c: New file.
10124 * gdb.arch/powerpc-ppr-dscr.exp: New file.
10125
bfcc0eba
TV
101262018-10-25 Tom de Vries <tdevries@suse.de>
10127
10128 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
10129
fe1a5cad
TV
101302018-10-24 Tom de Vries <tdevries@suse.de>
10131
10132 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
10133 longer exists error.
10134
a76dc3b7
TV
101352018-10-24 Tom de Vries <tdevries@suse.de>
10136
10137 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
10138
4df46df7
TV
101392018-10-24 Tom de Vries <tdevries@suse.de>
10140
10141 * gdb.base/valgrind-db-attach.exp: Handle removed support for
10142 --db-attach in valgrind.
10143
0dbfcfff
AB
101442018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
10145
10146 * gdb.arch/riscv-reg-aliases.c: New file.
10147 * gdb.arch/riscv-reg-aliases.exp: New file.
10148
b04480b1
AH
101492018-10-19 Alan Hayward <alan.hayward@arm.com>
10150
10151 * gdb.python/py-cmd.exp: Check for gdb_prompt.
10152
2c6ac8d7
AH
101532018-10-19 Alan Hayward <alan.hayward@arm.com>
10154
10155 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
10156
2bc69f25
AH
101572018-10-19 Alan Hayward <alan.hayward@arm.com>
10158
10159 * gdb.cp/ovldbreak.exp: Fix regexps.
10160
1f1ae3a3
AH
101612018-10-19 Alan Hayward <alan.hayward@arm.com>
10162
10163 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
10164
94c18618
SDJ
101652018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
10166
10167 PR cli/23785
10168 * gdb.base/restore.exp: New test to check if "restore" with an
10169 invalid file doesn't segfault.
10170
812cd6eb
TV
101712018-10-18 Tom de Vries <tdevries@suse.de>
10172
10173 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
10174 * gdb.ada/excep_handle.exp: Same.
10175 * gdb.ada/mi_string_access.exp: Same.
10176 * gdb.ada/mi_var_union.exp: Same.
10177 * gdb.arch/arc-analyze-prologue.exp: Same.
10178 * gdb.arch/arc-decode-insn.exp: Same.
10179 * gdb.base/readnever.exp: Same.
10180 * gdb.fortran/printing-types.exp: Same.
10181 * gdb.guile/scm-lazy-string.exp: Same.
10182
c4b90788
TV
101832018-10-16 Tom de Vries <tdevries@suse.de>
10184
10185 PR gdb/23730
10186 * gdb.base/catch-follow-exec.c: Add copyright notice.
10187 * gdb.base/catch-follow-exec.exp: Rewrite to use
10188 gdb_spawn_with_cmdline_opts. Require gdb-native.
10189
8bca2978
SL
101902018-10-12 Sandra Loosemore <sandra@codesourcery.com>
10191
10192 * gdb.trace/actions-changed.exp: Check for arch support.
10193 * gdb.trace/actions.exp: Likewise.
10194 * gdb.trace/ax.exp: Likewise.
10195 * gdb.trace/backtrace.exp: Likewise.
10196 * gdb.trace/change-loc.exp: Likewise.
10197 * gdb.trace/deltrace.exp: Likewise.
10198 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
10199 * gdb.trace/ftrace.exp: Likewise.
10200 * gdb.trace/infotrace.exp: Check for arch support.
10201 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
10202 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
10203 * gdb.trace/mi-tsv-changed.exp: Likewise.
10204 * gdb.trace/packetlen.exp: Likewise.
10205 * gdb.trace/passc-dyn.exp: Likewise.
10206 * gdb.trace/passcount.exp: Likewise.
10207 * gdb.trace/pending.exp: Likewise.
10208 * gdb.trace/range-stepping.exp: Check for shlib support.
10209 * gdb.trace/report.exp: Check for arch support.
10210 * gdb.trace/save-trace.exp: Likewise.
10211 * gdb.trace/signal.exp: Check for signal support.
10212 * gdb.trace/tfind.exp: Check for arch support.
10213 * gdb.trace/trace-break.exp: Check for arch and shlib support.
10214 * gdb.trace/trace-common.h: Add comment.
10215 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
10216 * gdb.trace/trace-enable-disable.exp: Likewise.
10217 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
10218 * gdb.trace/tracecmd.exp: Check for arch support.
10219 * gdb.trace/tspeed.exp: Check for shlib and target support.
10220 * gdb.trace/tstatus.exp: Check for arch support.
10221 * gdb.trace/tsv.exp: Likewise.
10222 * gdb.trace/while-dyn.exp: Likewise.
10223 * gdb.trace/while-stepping.exp: Likewise.
10224 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
10225
f9c49bff
SM
102262018-10-12 Simon Marchi <simon.marchi@ericsson.com>
10227
10228 * gdb.trace/tspeed.exp: Remove nowarnings.
10229 (prepare_for_trace_test): Declare "global ipalib".
10230 * gdb.trace/tspeed.c: Include unistd.h.
10231 (main): Remove superfluous printf argument.
10232
d4330bde
SL
102332018-10-11 Sandra Loosemore <sandra@codesourcery.com>
10234
10235 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
10236 directory prefix on the filename.
10237
8ecfd7bd
SDJ
102382018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
10239
10240 * gdb.gdb/unittest.exp: Update expected message informing that
10241 selftests have been disabled.
10242 * gdb.server/unittest.exp: Likewise.
10243
58bbcd02
TV
102442018-10-09 Tom de Vries <tdevries@suse.de>
10245
10246 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
10247 with runto_main.
10248
9f6b697b
WP
102492018-10-08 Weimin Pan <weimin.pan@oracle.com>
10250
10251 PR c++/16841
10252 * gdb.cp/virtbase2.cc: New file.
10253 * gdb.cp/virtbase2.exp: New file.
10254
add5ded5
TT
102552018-10-06 Tom Tromey <tom@tromey.com>
10256
10257 PR python/19399:
10258 * gdb.python/py-inferior.exp: Add architecture test.
10259
f9e48344
TT
102602018-10-06 Tom Tromey <tom@tromey.com>
10261
10262 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
10263 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
10264
2a8be203
TT
102652018-10-06 Tom Tromey <tom@tromey.com>
10266
10267 * gdb.python/py-breakpoint.exp (check_last_event): Check location
10268 of a "throw" catchpoint.
10269
e04caa70
SDJ
102702018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
10271
10272 * gdb.base/info-proc.exp: Update string expected from "help info
10273 proc".
10274
5ca8c39f
TT
102752018-10-04 Tom Tromey <tom@tromey.com>
10276
10277 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
10278 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
10279 (test_initial_complaints, test_empty_complaints): Update.
10280 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
10281
3453e7e4
TT
102822018-10-04 Tom Tromey <tom@tromey.com>
10283
10284 PR cli/19551:
10285 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
10286 * lib/gdb.exp (gdb_file_cmd): Update.
10287 * gdb.stabs/weird.exp (print_weird_var): Update.
10288 * gdb.server/solib-list.exp: Update.
10289 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
10290 * gdb.mi/mi-cli.exp: Update.
10291 * gdb.linespec/linespec.exp: Update.
10292 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
10293 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
10294 * gdb.cp/cp-relocate.exp: Update.
10295 * gdb.base/sym-file.exp: Update.
10296 * gdb.base/relocate.exp: Update.
10297 * gdb.base/readnever.exp: Update.
10298 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
10299 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
10300 * gdb.base/dbx.exp (gdb_file_cmd): Update.
10301 * gdb.base/code_elim.exp: Update.
10302 * gdb.base/break-unload-file.exp (test_break): Update.
10303 * gdb.base/break-interp.exp (test_attach_gdb): Update.
10304 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
10305 Update.
10306 * gdb.base/attach.exp (do_attach_tests): Update.
10307 * gdb.base/sepdebug.exp: Update.
10308 * gdb.python/py-section-script.exp: Update.
10309
6afcf761
TT
103102018-10-04 Tom Tromey <tom@tromey.com>
10311
10312 PR cli/22234:
10313 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
10314 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
10315 output.
10316
fef1b293
TT
103172018-10-04 Tom Tromey <tom@tromey.com>
10318
10319 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
10320 set width and height to 0.
10321 (test_command_line_attach_run): Use -quiet.
10322
ca98345e
SL
103232018-10-03 Sandra Loosemore <sandra@codesourcery.com>
10324
10325 * lib/gdb.exp (skip_ifunc_tests): New.
10326 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
10327 other compile failures.
10328 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
10329
ff34e6ae
SM
103302018-10-01 Simon Marchi <simon.marchi@ericsson.com>
10331
10332 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
10333 is_amd64_regs_target.
10334
6bb8890e
AH
103352018-10-01 Alan Hayward <alan.hayward@arm.com>
10336
10337 * gdb.arch/aarch64-sighandler-regs.c: New test.
10338 * gdb.arch/aarch64-sighandler-regs.exp: New file.
10339 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
10340
224d30d3
MM
103412018-10-01 Markus Metzger <markus.t.metzger@intel.com>
10342
10343 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
10344 assembly.
10345
f67ffa6a
AB
103462018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
10347
10348 * gdb.base/frame-selection.exp: New file.
10349 * gdb.base/frame-selection.c: New file.
10350
9fc3183f
AH
103512018-09-27 Alan Hayward <alan.hayward@arm.com>
10352
10353 * gdb.threads/check-libthread-db.c (thread_routine): Use a
10354 pthread barrier.
10355 (main): Likewise.
10356
d354055e
AB
103572018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
10358
10359 * gdb.base/large-frame-1.c: New file.
10360 * gdb.base/large-frame-2.c: New file.
10361 * gdb.base/large-frame.exp: New file.
10362 * gdb.base/large-frame.h: New file.
10363
db727370
JL
103642018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
10365
10366 PR gdb/20948
10367 * gdb.base/write_mem.exp: New test.
10368 * gdb.base/write_mem.c: Likewise.
10369
ae778caf
TT
103702018-09-23 Tom Tromey <tom@tromey.com>
10371
10372 PR python/18852:
10373 * gdb.python/py-parameter.exp: Add test for parameter that throws
10374 on "set".
10375
fd3ba736
TT
103762018-09-23 Tom Tromey <tom@tromey.com>
10377
10378 PR python/17284:
10379 * gdb.python/py-template.exp (test_template_arg): Add test for
10380 negative template argument number.
10381
39a24317
TT
103822018-09-23 Tom Tromey <tom@tromey.com>
10383
10384 PR python/14062:
10385 * gdb.python/python.exp: Add test for post_event error.
10386
f5769a2c
TT
103872018-09-23 Tom Tromey <tom@tromey.com>
10388
10389 PR python/18170:
10390 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
10391 convert pointers to int and long.
10392
1c1e54f6
TT
103932018-09-23 Tom Tromey <tom@tromey.com>
10394
10395 PR python/20126:
10396 * gdb.python/py-value.exp (test_value_numeric_ops): Add
10397 signed-ness conversion tests.
10398
fb4fa946
TT
103992018-09-23 Tom Tromey <tom@tromey.com>
10400
10401 PR python/18352;
10402 * gdb.python/py-value.exp (test_float_conversion): New proc.
10403 Use it.
10404
a466edac
HAQ
104052018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
10406
10407 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
10408
4ee9b0c5
SL
104092018-09-18 Sandra Loosemore <sandra@codesourcery.com>
10410
10411 * gdb.base/complete-empty.exp: Skip tab-completion tests if
10412 no readline.
10413 * gdb.base/utf8-identifiers.exp: Likewise.
10414 * gdb.cp/cpcompletion.exp: Likewise.
10415 * gdb.linespec/cpcompletion.exp: Likewise.
10416 * gdb.linespec/cpls-abi-tag.exp: Likewise.
10417 * gdb.linespec/cpls-ops.exp: Likewise.
10418
23be8da7
RB
104192018-09-19 Richard Bunt <richard.bunt@arm.com>
10420 Chris January <chris.january@arm.com>
10421
10422 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
10423 * gdb.fortran/short-circuit-argument-list.exp: New file.
10424 * gdb.fortran/short-circuit-argument-list.f90: New test.
10425
5031d0ae
SDJ
104262018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
10427
10428 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
10429 "arch=" keyword when executing "-stack-list-frames".
10430
b4c0d1a4
SDJ
104312018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
10432
10433 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
10434 "arch=" keyword when executing "-stack-list-frames".
10435
7a6d2b45
SDJ
104362018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
10437
10438 * gdb.ada/complete.exp: Expect for "@" when doing "complete
10439 break ada".
10440
8588b356
SM
104412018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
10442
10443 PR python/23669
10444 * gdb.python/python.exp: Test gdb.execute("show commands").
10445
65e65158
TT
104462018-09-16 Tom Tromey <tom@tromey.com>
10447
10448 * gdb.base/new-ui.exp (do_execution_tests): Update.
10449 * gdb.base/dbx.exp (test_breakpoints): Update.
10450
bf326452
AH
104512018-09-14 Alan Hayward <alan.hayward@arm.com>
10452
10453 * lib/gdb.exp (gdb_simple_compile): Add proc.
10454 (is_elf_target): Use gdb_simple_compile.
10455 (skip_altivec_tests): Likewise.
10456 (skip_vsx_tests): Likewise.
10457 (skip_tsx_tests): Likewise.
10458 (skip_btrace_tests): Likewise.
10459 (skip_btrace_pt_tests): Likewise.
10460 (gdb_can_simple_compile): Likewise.
10461 (gdb_has_argv0): Likewise.
10462 (gdb_target_symbol_prefix): Likewise.
10463 (target_supports_scheduler_locking): Likewise.
10464
2361b0fb
TT
104652018-09-13 Tom Tromey <tom@tromey.com>
10466
10467 * Makefile.in (TAGS): Recognize proc_with_prefix and
10468 gdb_caching_proc.
10469
0ae1a321
SM
104702018-09-13 Simon Marchi <simon.marchi@ericsson.com>
10471
10472 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
10473 method.
10474
a40bf0c2
SM
104752018-09-13 Simon Marchi <simon.marchi@ericsson.com>
10476
10477 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
10478 and a few other Inferior properties when the Inferior is no
10479 longer valid.
10480
4a3fe98f
TT
104812018-09-13 Tom Tromey <tom@tromey.com>
10482
10483 PR rust/23650:
10484 * gdb.rust/simple.exp: Add test for enum field access error.
10485
098b2108
TT
104862018-09-13 Tom Tromey <tom@tromey.com>
10487
10488 PR rust/23626:
10489 * gdb.rust/simple.rs (EmptyEnum): New type.
10490 (main): Use it.
10491 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
10492
1256af7d
SM
104932018-09-13 Simon Marchi <simon.marchi@ericsson.com>
10494
10495 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
10496 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
10497 * gdb.python/py-symtab.exp: Update test printing an objfile.
10498
4aa8e6c2
SM
104992018-09-12 Simon Marchi <simon.marchi@ericsson.com>
10500
10501 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
10502 object.
10503
c221b2f7
AH
105042018-09-12 Alan Hayward <alan.hayward@arm.com>
10505
10506 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
10507 (support_complex_tests): Use gdb_can_simple_compile.
10508 (is_ilp32_target): Likewise.
10509 (is_lp64_target): Likewise.
10510 (is_64_target): Likewise.
10511 (is_amd64_regs_target): Likewise.
10512 (is_aarch32_target): Likewise.
10513 (gdb_int128_helper): Likewise.
10514
6f1107b5
JK
105152018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10516
10517 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
10518
1f5d1570
JG
105192018-09-10 Jerome Guitton <guitton@adacore.com>
10520
10521 * gdb.ada/same_component_name: Add test for case of tagged record
10522 with variable-length fields.
10523
cc330e39
XR
105242018-09-10 Xavier Roirand <roirand@adacore.com>
10525
10526 * gdb.ada/access_to_unbounded_array.exp: New testcase.
10527 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
10528 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
10529 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
10530
b9c50e9a
XR
105312018-09-10 Xavier Roirand <roirand@adacore.com>
10532
10533 * gdb.ada/mi_string_access.exp: New testcase.
10534 * gdb.ada/mi_string_access/bar.adb: New file.
10535 * gdb.ada/mi_string_access/pck.adb: New file.
10536 * gdb.ada/mi_string_access/pck.asd: New file.
10537
2963898f
XR
105382018-09-10 Xavier Roirand <roirand@adacore.com>
10539
10540 * gdb.ada/mi_var_union.exp: New testcase.
10541 * gdb.ada/mi_var_union/bar.adb: New file.
10542 * gdb.ada/mi_var_union/pck.adb: New file.
10543 * gdb.ada/mi_var_union/pck.asd: New file.
10544
1aac008f
TT
105452018-09-08 Tom Tromey <tom@tromey.com>
10546
10547 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
10548
332cf4c9
TT
105492018-09-08 Tom Tromey <tom@tromey.com>
10550
10551 PR python/16047:
10552 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
10553 (register_pretty_printers): Register new printer.
10554 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
10555 test.
10556 * gdb.python/py-prettyprint.c (int_type3): New typedef.
10557 (an_int_type3): New global.
10558
424da6cf
JB
105592018-09-08 Joel Brobecker <brobecker@adacore.com>
10560
10561 * gdb.ada/expr_with_funcall: New testcase.
10562
2a62dfa9
JB
105632018-09-08 Joel Brobecker <brobecker@adacore.com>
10564
10565 * gdb.ada/packed_array_assign: New testcase.
10566
96b6697f
AB
105672018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
10568
10569 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
10570 names, and add test prefixes to make test names unique.
10571
e4a62c65
TV
105722018-09-05 Tom de Vries <tdevries@suse.de>
10573
10574 * gdb.dwarf2/varval.exp: Add test.
10575
dd083ee2
GB
105762018-09-04 Gary Benson <gbenson@redhat.com>
10577
10578 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
10579 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
10580
aef9346c
TT
105812018-08-31 Tom Tromey <tom@tromey.com>
10582
10583 * gdb.rust/simple.rs: Rename second variable "v".
10584
c67f2e15
AB
105852018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
10586
10587 * gdb.base/funcargs.c (use_a): New function.
10588 (recurse): Call use_a.
10589
078a0207
KS
105902018-08-29 Keith Seitz <keiths@redhat.com>
10591
10592 * gdb.compile/compile-cplus-anonymous.cc: New file.
10593 * gdb.compile/compile-cplus-anonymous.exp: New file.
10594 * gdb.compile/compile-cplus-array-decay.cc: New file.
10595 * gdb.compile/compile-cplus-array-decay.exp: New file.
10596 * gdb.compile/compile-cplus-inherit.cc: New file.
10597 * gdb.compile/compile-cplus-inherit.exp: New file.
10598 * gdb.compile/compile-cplus-member.cc: New file.
10599 * gdb.compile/compile-cplus-member.exp: New file.
10600 * gdb.compile/compile-cplus-method.cc: New file.
10601 * gdb.compile/compile-cplus-method.exp: New file.
10602 * gdb.compile/compile-cplus-mod.c: "New" file.
10603 * gdb.compile/compile-cplus-namespace.cc: New file.
10604 * gdb.compile/compile-cplus-namespace.exp: New file.
10605 * gdb.compile/compile-cplus-nested.cc: New file.
10606 * gdb.compile/compile-cplus-nested.exp: New file.
10607 * gdb.compile/compile-cplus-print.c: "New" file.
10608 * gdb.compile/compile-cplus-print.exp: "New" file.
10609 * gdb.compile/compile-cplus-virtual.cc: New file.
10610 * gdb.compile/compile-cplus-virtual.exp: New file.
10611 * gdb.compile/compile-cplus.c: "New" file.
10612 * gdb.compile/compile-cplus.exp: "New" file.
10613 * lib/compile-support.exp: New file.
10614
b0f492b9
GB
106152018-08-16 Gary Benson <gbenson@redhat.com>
10616
10617 PR gdb/13000:
10618 * gdb.base/batch-exit-status.exp: New file.
10619 * gdb.base/batch-exit-status.good-commands: Likewise.
10620 * gdb.base/batch-exit-status.bad-commands: Likewise.
10621
36eb4c5f
AH
106222018-08-29 Alan Hayward <alan.hayward@arm.com>
10623
10624 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
10625 (struct struct02): Likewise.
10626 (struct struct03): Likewise.
10627 (struct struct04): Likewise.
10628 (struct struct_01_01): New struct.
10629 (struct struct_01_02): Likewise.
10630 (struct struct_01_03): Likewise.
10631 (struct struct_01_04): Likewise.
10632 (struct struct_02_01): Likewise.
10633 (struct struct_02_02): Likewise.
10634 (struct struct_02_03): Likewise.
10635 (struct struct_02_04): Likewise.
10636 (struct struct_04_01): Likewise.
10637 (struct struct_04_02): Likewise.
10638 (struct struct_04_03): Likewise.
10639 (struct struct_04_04): Likewise.
10640 (struct struct_05_01): Likewise.
10641 (struct struct_05_02): Likewise.
10642 (struct struct_05_03): Likewise.
10643 (struct struct_05_04): Likewise.
10644 (cmp_struct01): Remove function.
10645 (cmp_struct02): Likewise.
10646 (cmp_struct03): Likewise.
10647 (cmp_struct04): Likewise.
10648 (cmp_struct_01_01): Add Function.
10649 (cmp_struct_01_02): Likewise.
10650 (cmp_struct_01_03): Likewise.
10651 (cmp_struct_01_04): Likewise.
10652 (cmp_struct_02_01): Likewise.
10653 (cmp_struct_02_02): Likewise.
10654 (cmp_struct_02_03): Likewise.
10655 (cmp_struct_02_04): Likewise.
10656 (cmp_struct_04_01): Likewise.
10657 (cmp_struct_04_02): Likewise.
10658 (cmp_struct_04_03): Likewise.
10659 (cmp_struct_04_04): Likewise.
10660 (cmp_struct_05_01): Likewise.
10661 (cmp_struct_05_02): Likewise.
10662 (cmp_struct_05_03): Likewise.
10663 (cmp_struct_05_04): Likewise.
10664 (call_all): Add new structs.
10665 * gdb.base/infcall-nested-structs.exp: Likewise.
10666
3bf9c013
JV
106672018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
10668
10669 * gdb.python/py-framefilter-mi.exp: Update regexp to
10670 check for "arch" field in frame output.
10671
450d1e88
KB
106722018-08-23 Kevin Buettner <kevinb@redhat.com>
10673
10674 * gdb.dwarf2/dw2-ranges-func.c: New file.
10675 * gdb.dwarf2/dw2-ranges-func.exp: New file.
10676
ae739fe7
SM
106772018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
10678
10679 * gdb.base/term.exp: Compare terminal settings with values from
10680 the inferior.
10681 * gdb.base/term.c: Get and set terminal settings.
10682
6d52907e
JV
106832018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
10684
10685 * lib/mi-support.exp (mi_expect_stop): Update regexp to
10686 accommodate new "arch" field in frame output.
10687 * gdb.mi/mi-return.exp: Likewise.
10688 * gdb.mi/mi-stack.exp: Likewise.
10689 * gdb.mi/mi-syn-frame.exp: Likewise.
10690 * gdb.mi/user-selected-context-sync.exp: Likewise.
10691
be2d111a
MS
106922018-08-19 Michael Spang <spang@google.com>
10693
10694 PR gdb/11786
10695 * gdb.base/gcore-tls-pie.c: New file.
10696 * gdb.base/gcore-tls-pie.exp: New file.
10697
ae3a7c47
KB
106982018-08-18 Kevin Buettner <kevinb@redhat.com>
10699
10700 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
10701 * gdb.dwarf2/varval.c: New file.
10702 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 10703
2ecae92e
AH
107042018-08-17 Alan Hayward <alan.hayward@arm.com>
10705
10706 PR gdb/18931
10707 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
10708
c1854f1d
KS
107092018-08-16 Keith Seitz <keiths@redhat.com>
10710
10711 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
10712 tests expected to pass.
10713
26fb3983
JV
107142018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
10715
10716 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
10717 -data-disassemble -a.
10718 (test_disassembly_bogus_args): Likewise.
10719
67943c00
AB
107202018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
10721
10722 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
10723
5ff2bbae
AB
107242018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10725
10726 * gdb.base/vla-optimized-out.exp: Add new test.
10727
e5bbcd0f
AB
107282018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10729
10730 * gdb.base/vla-optimized-out-o3.exp: Delete.
10731 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
10732 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
10733 deleted tests.
10734
9d4a934c
AB
107352018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
10736
10737 PR gdb/18050:
10738 * gdb.server/extended-remote-restart.c: New file.
10739 * gdb.server/extended-remote-restart.exp: New file.
10740
045cf012
SM
107412018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
10742
10743 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
10744 "set variable index = 42".
10745
87d6a7aa
SM
107462018-08-07 Simon Marchi <simon.marchi@ericsson.com>
10747
10748 * boards/index-cache-gdb.exp: New file.
10749 * gdb.dwarf2/index-cache.exp: New file.
10750 * gdb.dwarf2/index-cache.c: New file.
10751 * gdb.base/maint.exp: Check if we are using the index cache.
10752
96d68bd4
RO
107532018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10754
10755 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
10756 MAKEFLAGS.
10757
5a699617
RO
107582018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10759
10760 * dg-extract-results.sh: Move to toplevel contrib.
10761 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
10762 * Makefile.in (check-parallel-racy): Likewise.
10763
5bd18990
AB
107642018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
10765
10766 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
10767 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
10768 tests if the target supports scheduler locking.
10769
3fbbcf47
TV
107702018-08-04 Tom de Vries <tdevries@suse.de>
10771
10772 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
10773
3e1d3d8c
TT
107742018-08-02 Tom Tromey <tom@tromey.com>
10775
10776 PR symtab/16842.
10777 * gdb.cp/temargs.exp: Test "info address" of a template
10778 parameter.
10779
5abe0f0c
JV
107802018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
10781
10782 * gdb.python/py-mi-var-info-path-expression.c: New file.
10783 * gdb.python/py-mi-var-info-path-expression.py: New file.
10784 * gdb.python/py-mi-var-info-path-expression.exp: New file.
10785
fb66cde8
SDJ
107862018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
10787
10788 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
10789 error after "cannot resolve name" string.
10790
c708f4d2
AB
107912018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
10792
10793 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
10794 started.
10795 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
10796
37cc0cae
TV
107972018-07-28 Tom de Vries <tdevries@suse.de>
10798
10799 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
10800
63b4ecf7
TV
108012018-07-26 Tom de Vries <tdevries@suse.de>
10802
10803 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
10804
3c3bb058
AB
108052018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
10806
10807 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
10808 is visible.
10809
9e7f3bbb
TV
108102018-07-26 Tom de Vries <tdevries@suse.de>
10811
10812 PR breakpoints/23366
10813 * gdb.base/catch-follow-exec.c: New test.
10814 * gdb.base/catch-follow-exec.exp: New file.
10815
16f808ec
TV
108162018-07-25 Tom de Vries <tdevries@suse.de>
10817
10818 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
10819 vla-optimized-out.c.
10820
d7154a8d
JV
108212018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
10822
10823 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
10824 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
10825
232a0032
TV
108262018-07-20 Tom de Vries <tdevries@suse.de>
10827
10828 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
10829 NOCLONE macro.
10830 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
10831
fbb1d502
TV
108322018-07-19 Tom de Vries <tdevries@suse.de>
10833
10834 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
10835 regular expression.
10836
42dc7699
TV
108372018-07-18 Tom de Vries <tdevries@suse.de>
10838
10839 * gdb.base/vla-optimized-out.c: New test.
10840 * gdb.base/vla-optimized-out.exp: New file.
10841
7f1f7e23
SDJ
108422018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
10843
10844 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
10845 message "No address associated with hostname" when gdbserver
10846 cannot resolve the hostname.
10847
5759ebb3
PW
108482018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10849
10850 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
10851 Add some test prefixes to make tests unique.
10852
3606ccab
PW
108532018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10854
10855 * gdb.base/frameapply.c: New file.
10856 * gdb.base/frameapply.exp: New file.
10857
529c08b2
PW
108582018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10859
10860 * gdb.base/skip.exp: Update expected error message.
10861
c7ab0aef
SDJ
108622018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10863 Jan Kratochvil <jan.kratochvil@redhat.com>
10864 Paul Fertser <fercerpav@gmail.com>
10865 Tsutomu Seki <sekiriki@gmail.com>
10866
10867 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
10868 parameter.
10869 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
10870 by default.
10871 * boards/native-gdbserver.exp: Likewise.
10872 * gdb.server/run-without-local-binary.exp: Improve regexp used
10873 for detecting when a remote debugging connection succeeds.
10874 * gdb.server/server-connect.exp: New file.
10875 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
10876 Do not prefix the port number with ":".
10877 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
10878 support for detecting and using it. Add '$debughost_gdbserver'
10879 to the list of arguments used to start gdbserver. Handle case
10880 when gdbserver cannot resolve a network name.
10881
16ff70dd
SDJ
108822018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10883
10884 PR c++/23373
10885 * gdb.base/ptype-offsets.cc (struct static_member): New
10886 struct.
10887 (main) <stmember>: New variable.
10888 * gdb.base/ptype-offsets.exp: Add test for printing a struct
10889 with a static member in it.
10890
3541979f
AB
108912018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
10892
10893 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
10894 watchpoints enabled and disabled.
10895
c8ad9b9a
AB
108962018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10897
10898 * gdb.base/examine-backward.exp: Still run tests around address
10899 0x0, even if address 0x0 is not readable. Update the pattern for
10900 matching address 0x0 in expected output.
10901
e0e5e971
AB
109022018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
10903
10904 * gdb.base/share-env-with-gdbserver.c (main): Add call to
10905 malloc/free.
10906
1ea5da02
TV
109072018-07-04 Tom de Vries <tdevries@suse.de>
10908
10909 * gdb.dwarf2/dw2-error.exp: Update expected error message.
10910
471b9d15
MR
109112018-07-02 Maciej W. Rozycki <macro@mips.com>
10912
10913 PR tdep/8282
10914 * gdb.arch/mips-disassembler-options.exp: New test.
10915 * gdb.arch/mips-disassembler-options.s: New test source.
10916
75acb486
PA
109172018-06-29 Pedro Alves <palves@redhat.com>
10918
10919 * gdb.threads/names.exp: Adjust expected "info threads" output.
10920
cd2bb709
PA
109212018-06-29 Pedro Alves <palves@redhat.com>
10922
10923 * gdb.opt/inline-break.exp (line number, address): Add "info
10924 break" tests.
10925
991ff292
PA
109262018-06-29 Pedro Alves <palves@redhat.com>
10927
10928 * gdb.opt/inline-break.c (func1): Add "break here" marker.
10929 * gdb.opt/inline-break.exp: Test setting breakpoints by line
10930 number and address and running to them.
10931
356819b6 109322018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
10933
10934 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
10935
2512d7ef
JK
109362018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10937
10938 * lib/compiler.c: Remove executable permission flag.
10939
be1b6474
RB
109402018-06-28 Richard Bunt <richard.bunt@arm.com>
10941
10942 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
10943 code.
10944 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
10945
291f9a96
PT
109462018-06-28 Petr Tesarik <ptesarik@suse.cz>
10947
10948 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
10949
ed6dfe51
PT
109502018-06-28 Petr Tesarik <ptesarik@suse.cz>
10951
10952 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
10953 address argument is omitted.
10954
d4d429d5
PT
109552018-06-28 Petr Tesarik <ptesarik@suse.cz>
10956
10957 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
10958
7ab6656f
OJ
109592018-06-27 Omair Javaid <omair.javaid@linaro.org>
10960
10961 PR gdb/21695
10962 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
10963 * gdb.base/infoline-reloc-main-from-zero.c: New file.
10964
a33ccfc7
TT
109652018-06-26 Tom Tromey <tom@tromey.com>
10966
10967 PR rust/22574:
10968 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
10969 * gdb.rust/simple.rs (struct SimpleLayout): New.
10970
6d72d289
SM
109712018-06-22 Simon Marchi <simon.marchi@ericsson.com>
10972
10973 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
10974 "info registers" output.
10975
8363f9d5
RB
109762018-06-21 Richard Bunt <richard.bunt@arm.com>
10977
10978 * gdb.base/watchpoint-hw-attach.c: New test.
10979 * gdb.base/watchpoint-hw-attach.exp: New file.
10980
f00674fe
SM
109812018-06-20 Simon Marchi <simon.marchi@ericsson.com>
10982
10983 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
10984 through /bin/sh.
10985 * boards/dwarf4-gdb-index.exp: Likewise.
10986 * boards/fission-dwp.exp: Likewise.
10987
1d554008
UW
109882018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
10989
10990 * gdb.base/float128.exp: Add comment and improved fail message
10991 to the failure case of "print large128" test.
10992
d0ac1c44
SM
109932018-06-19 Simon Marchi <simon.marchi@ericsson.com>
10994
10995 * configure.ac: Remove AC_PREREQ.
10996 * configure: Re-generate.
10997
61b04dd0
PA
109982018-06-19 Pedro Alves <palves@redhat.com>
10999
11000 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
11001 (func_extern_caller): New.
11002 (main): Call func_extern_caller.
11003 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
11004 logic change.
11005
f63b508a
SM
110062018-06-18 Weimin Pan <weimin.pan@oracle.com>
11007
11008 PR gdb/16841
11009 * gdb.cp/typedef-base.cc: New file.
11010 * gdb.cp/typedef-base.exp: New file.
11011
0fe3a558
TV
110122018-06-18 Tom de Vries <tdevries@suse.de>
11013
11014 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
11015
7010835a
AB
110162018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
11017 Richard Bunt <Richard.Bunt@arm.com>
11018
11019 * gdb.threads/attach-slow-waitpid.c: New file.
11020 * gdb.threads/attach-slow-waitpid.exp: New file.
11021 * gdb.threads/slow-waitpid.c: New file.
11022
14897d65
PA
110232018-06-14 Pedro Alves <palves@redhat.com>
11024
11025 * gdb.base/fork-running-state.c: Include <errno.h>.
11026 (exit_if_relative_exits): New.
11027 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
11028 exits.
11029 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
11030 child exits.
11031
5d9a0608
TV
110322018-06-14 Tom de Vries <tdevries@suse.de>
11033
11034 PR cli/22573
11035 * gdb.base/finish-pretty.c: New test.
11036 * gdb.base/finish-pretty.exp: New file.
11037
11ae5818
PA
110382018-06-14 Pedro Alves <palves@redhat.com>
11039
11040 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
11041 gdb's expected startup output.
11042
1d39de44
PA
110432018-06-14 Pedro Alves <palves@redhat.com>
11044
11045 * lib/selftest-support.exp (selftest_setup): Remove inlined
11046 function handling.
11047
70ee0000
TV
110482018-06-14 Tom de Vries <tdevries@suse.de>
11049
11050 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
11051 matching of breakpoint printing.
11052
11f4b608
TV
110532018-06-13 Tom de Vries <tdevries@suse.de>
11054
11055 PR testsuite/23269
11056 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
11057 (fork_child): ... here, and ...
11058 (fork_parent): ... here.
11059
110602018-06-12 Tom de Vries <tdevries@suse.de>
11061
11062 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
11063
9516f85a
AB
110642018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
11065 Stephen Roberts <stephen.roberts@arm.com>
11066
11067 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
11068 rewrite test to describe action performed, rather than possible
11069 failure.
11070
5045b3d7
GB
110712018-06-08 Gary Benson <gbenson@redhat.com>
11072
11073 * gdb.threads/check-libthread-db.exp: New file.
11074 * gdb.threads/check-libthread-db.c: Likewise.
11075
c61b06a1
TT
110762018-06-05 Tom Tromey <tom@tromey.com>
11077
11078 * gdb.base/default.exp: Update expected "show version" output.
11079
eb6af809
TT
110802018-06-05 Tom Tromey <tom@tromey.com>
11081
11082 PR cli/12326:
11083 * gdb.cp/static-print-quit.exp: Update.
11084 * lib/gdb.exp (pagination_prompt): Update.
11085 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
11086 * gdb.python/python.exp: Update.
11087
178d6a63
JB
110882018-06-04 Joel Brobecker <brobecker@adacore.com>
11089
11090 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
11091
8e817061
JB
110922018-06-01 Joel Brobecker <brobecker@adacore.com>
11093
11094 * gdb.ada/bp_fun_addr: New testcase.
11095
e86ca25f
TT
110962018-06-01 Tom Tromey <tom@tromey.com>
11097
11098 * gdb.xml/tdesc-regs.exp (load_description): Update expected
11099 results.
11100 * gdb.dwarf2/method-ptr.exp: Set language to C++.
11101 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
11102 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
11103 * gdb.base/maint.exp (maint_pass_if): Update.
11104
4b2dfa9d
MR
111052018-05-31 Maciej W. Rozycki <macro@mips.com>
11106
11107 * gdb.base/endian.exp: New test.
11108 * gdb.base/endian.c: New test source.
11109
45f25d6c
AB
111102018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
11111
11112 PR gdb/23203
11113 * gdb.base/bt-selected-frame.c: New file.
11114 * gdb.base/bt-selected-frame.exp: New file.
11115 * lib/gdb.exp (get_current_frame_number): New function.
11116
d9f6d7f8
MR
111172018-05-24 Maciej W. Rozycki <macro@mips.com>
11118 Pedro Alves <palves@redhat.com>
11119
11120 * gdb.threads/tls-core.c: Include <stdlib.h>
11121 (thread_proc): Call `abort'.
11122 * gdb.threads/tls-core.exp: Generate a core with core_find too.
11123 (tls_core_test): New procedure, bits factored out from ...
11124 (top level): ... here. Test both native cores and gcore cores.
11125
ff1cf532
TT
111262018-05-23 Tom Tromey <tom@tromey.com>
11127
11128 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
11129
b98664d3
TT
111302018-05-23 Tom Tromey <tom@tromey.com>
11131
11132 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
11133 symfile_complaints.
11134 (test_short_complaints): Likewise.
11135 (test_empty_complaints): Likewise.
11136 (test_initial_complaints): Update.
11137
4e9668d0
TT
111382018-05-23 Tom Tromey <tom@tromey.com>
11139
11140 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
11141
43ba33c7
TT
111422018-05-23 Tom Tromey <tom@tromey.com>
11143
11144 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
11145 (test_short_complaints): Update.
11146
035522c0
PA
111472018-05-22 Pedro Alves <palves@redhat.com>
11148
11149 * gdb.base/remote.exp: Only gdb_start after compiling the
11150 testcase. Issue "disconnect" before testing "set remote" command
11151 defaults. Issue clean_restart before running to main.
11152
cc0be08f
PA
111532018-05-22 Pedro Alves <palves@redhat.com>
11154
11155 * gdb.base/remote.exp: Adjust expected output of "show remote
11156 memory-write-packet-size". Add tests for "set remote
11157 memory-write-packet-size 0" and "set remote
11158 memory-write-packet-size fixed/limit".
11159
b1b60145
PA
111602018-05-22 Pedro Alves <palves@redhat.com>
11161
11162 PR gdb/22973
11163 * gdb.base/utf8-identifiers.c: New file.
11164 * gdb.base/utf8-identifiers.exp: New file.
11165
0ec848ad
PFC
111662018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
11167
11168 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
11169
2c3305f6
PFC
111702018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
11171
11172 * gdb.arch/powerpc-vsx-gcore.exp: New file.
11173
ce1e8424
TT
111742018-05-18 Tom Tromey <tom@tromey.com>
11175
11176 * gdb.base/ptype-offsets.exp: Update.
11177
ddfe970e
KS
111782018-05-17 Keith Seitz <keiths@redhat.com>
11179
11180 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
11181 in expected breakpoint stop locations.
11182 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
11183 move to proper scope to test variable values.
11184 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
11185 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
11186 New functions.
11187 (main): Call not_inline_func3.
11188 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
11189 inline_func1, inline_func2, and inline_func3. Test that when each
11190 breakpoint is hit, GDB properly reports both the stop location
11191 and the backtrace. Repeat tests for temporary breakpoints.
11192
0726fcc6
MR
111932018-05-15 Maciej W. Rozycki <macro@mips.com>
11194
11195 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
11196 rather then trying to access it in determining whether the PID
11197 of `gdbserver' could have been retrieved.
11198
8ee22052
AB
111992018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
11200
11201 * gdb.arch/amd64-init-x87-values.S: New file.
11202 * gdb.arch/amd64-init-x87-values.exp: New file.
11203
7785df48
JK
112042018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11205
11206 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
11207
56bcdbea
TT
112082018-05-04 Tom Tromey <tom@tromey.com>
11209
11210 PR python/22730:
11211 * gdb.python/python.exp: Test multi-line execute.
11212
a913fffb
TT
112132018-05-04 Tom Tromey <tom@tromey.com>
11214
11215 PR python/22731:
11216 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
11217
7a2c85f2
TT
112182018-05-04 Tom Tromey <tom@tromey.com>
11219
11220 PR gdb/11750:
11221 * gdb.base/define.exp: Test defining a user command inside a user
11222 command.
11223 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
11224
a3b60e45
JK
112252018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11226 Pedro Alves <palves@redhat.com>
11227
11228 PR breakpoints/19806 and support for PR external/20207.
11229 * gdb.base/watchpoint-unaligned.c: New file.
11230 * gdb.base/watchpoint-unaligned.exp: New file.
11231
45fe4a03
AB
112322018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
11233
11234 * gdb.base/maint.exp: Make test names unique, use
11235 test_prefix_command_help to test 'help maint info', and remove
11236 repeated test of 'help maint'.
11237
9be2ae8f
TT
112382018-05-04 Tom Tromey <tom@tromey.com>
11239
11240 PR gdb/22619:
11241 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
11242 behavior.
11243
11859c31
AB
112442018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
11245
11246 * gdb.base/maint.exp: Process output from 'maint print registers'
11247 line at a time.
11248
089a9490
AB
112492018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
11250
11251 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
11252 timeout.
11253
9b0797e2
AB
112542018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
11255
11256 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
11257 filter pattern.
11258
f6ac5f3d
PA
112592018-05-02 Pedro Alves <palves@redhat.com>
11260
11261 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
11262 to_log_command renames.
11263 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
11264
77d3c63b
TT
112652018-05-02 Tom Tromey <tom@tromey.com>
11266
11267 * gdb.python/py-parameter.exp: Set test message.
11268
0489430a
TT
112692018-05-02 Tom Tromey <tom@tromey.com>
11270
11271 PR python/20084:
11272 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
11273 PARAM_ZUINTEGER_UNLIMITED tests.
11274
1632f8ba
DR
112752018-04-28 Dan Robertson <danlrobertson89@gmail.com>
11276
11277 PR rust/23124
11278 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
11279 when casting.
11280
6d7bb824
TT
112812018-04-30 Tom Tromey <tom@tromey.com>
11282
11283 * gdb.python/py-type.exp: Check align attribute.
11284 * gdb.python/py-type.c: New "aligncheck" global.
11285
007e1530
TT
112862018-04-30 Tom Tromey <tom@tromey.com>
11287
11288 PR exp/17095:
11289 * gdb.dwarf2/dw2-align.exp: New file.
11290 * gdb.cp/align.exp: New file.
11291 * gdb.base/align.exp: New file.
11292 * lib/gdb.exp (gdb_int128_helper): New proc.
11293 (has_int128_c, has_int128_cxx): New caching procs.
11294
6873858b
TT
112952018-04-27 Tom Tromey <tom@tromey.com>
11296
11297 PR rust/22545:
11298 * gdb.rust/simple.exp: Add inclusive range tests.
11299
79188d8d
PA
113002018-04-26 Pedro Alves <palves@redhat.com>
11301
11302 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
11303 ifunc breakpoint locations correctly of ifunc breakpoints set
11304 while the program resolves the ifunc.
11305
c7075ad5
PA
113062018-04-26 Pedro Alves <palves@redhat.com>
11307
11308 * gdb.base/gnu-ifunc-final.c: New file.
11309 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
11310 * gdb.base/gnu-ifunc.exp (executable): Delete.
11311 (staticexecutable): Adjust.
11312 (lib_opts, exec_opts): Delete.
11313 (make_binsuffix, build, set-break): New procedures.
11314 (misc_tests): New, with tests factored out from the top level.
11315 (top level): Test different combinations of ifunc resolver name,
11316 resolver with and with debug info, and ifunc target with and
11317 without debug info. Wrap static tests with with_target_prefix.
11318
8388016d
PA
113192018-04-26 Pedro Alves <palves@redhat.com>
11320
11321 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
11322 return type" warnings.
11323
249b5733
PA
113242018-04-25 Pedro Alves <palves@redhat.com>
11325
11326 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
11327 killed".
11328 * gdb.base/kill-after-signal.exp: Likewise.
11329 * gdb.threads/kill.exp: Likewise.
11330
f67c0c91
SDJ
113312018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11332 Sergio Durigan Junior <sergiodj@redhat.com>
11333 Pedro Alves <palves@redhat.com>
11334
11335 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
11336 regexps to expect for '[Inferior ... detached]' as well.
11337 * gdb.base/attach.exp: Likewise.
11338 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
11339 "gdb_continue_to_end".
11340 (test_catch_syscall_with_wrong_args): Likewise.
11341 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
11342 ']'. Don't set 'verbose' on.
11343 * gdb.base/foll-vfork.exp: Likewise.
11344 * gdb.base/fork-print-inferior-events.c: New file.
11345 * gdb.base/fork-print-inferior-events.exp: New file.
11346 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
11347 '[Inferior ... has been killed]' message.
11348 * gdb.base/kill-after-signal.exp: Likewise.
11349 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
11350 detach message.
11351 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
11352 message.
11353 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
11354 regexps to expect for '[Inferior ... detached]' as well.
11355 * gdb.threads/process-dies-while-detaching.exp: Likewise.
11356
0a8ddac4
SM
113572018-04-24 Simon Marchi <simon.marchi@ericsson.com>
11358
11359 PR gdb/23104
11360 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
11361
701adfb0
PA
113622018-04-22 Rajendra SY <rajendra.sy@gmail.com>
11363
11364 PR gdb/23095
11365 * gdb.base/break-probes.exp: Pass shlib_load to
11366 prepare_for_testing. Set normal_bp to r_debug_state if target is
11367 bsd.
11368
d27d16bf
RB
113692018-04-19 Richard Bunt <richard.bunt@arm.com>
11370
11371 * gdb.threads/multiple-successive-infcall.c: New test.
11372 * gdb.threads/multiple-successive-infcall.exp: New file.
11373
a037790e
TT
113742018-04-17 Tom Tromey <tom@tromey.com>
11375
11376 * gdb.rust/simple.rs (Union): New type.
11377 (main): New local "u".
11378 * gdb.rust/simple.exp (test_one_slice): Add new test case.
11379
e3a91079
AA
113802018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11381
11382 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
11383 number information in output of "whereis" command.
11384 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
11385
b744723f
AA
113862018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11387
11388 * gdb.ada/info_types.exp: Adjust expected output to the line
11389 numbers now printed by "info var/func/type".
11390 * gdb.base/completion.exp: Likewise.
11391 * gdb.base/included.exp: Likewise.
11392 * gdb.cp/cp-relocate.exp: Likewise.
11393 * gdb.cp/cplusfuncs.exp: Likewise.
11394 * gdb.cp/namespace.exp: Likewise.
11395 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
11396
4a4495d6
MM
113972018-04-13 Markus Metzger <markus.t.metzger@intel.com>
11398
11399 * gdb.btrace/cpu.exp: New.
11400
1d509aa6
MM
114012018-04-13 Markus Metzger <markus.t.metzger@intel.com>
11402
11403 * gdb.base/step-indirect-call-thunk.exp: New.
11404 * gdb.base/step-indirect-call-thunk.c: New.
11405 * gdb.reverse/step-indirect-call-thunk.exp: New.
11406 * gdb.reverse/step-indirect-call-thunk.c: New.
11407
6295b6da
SM
114082018-04-11 Simon Marchi <simon.marchi@ericsson.com>
11409
11410 * gdb.base/pie-fork.c: New file.
11411 * gdb.base/pie-fork.exp: New file.
11412
50146e70
TT
114132018-04-11 Tom Tromey <tom@tromey.com>
11414
11415 * gdb.rust/simple.exp: Add test for ".." struct initializer.
11416
f50d8a2e
PA
114172018-04-10 Pedro Alves <palves@redhat.com>
11418
11419 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
11420 exits. Instead loop running forever.
11421 (fork_parent): Run forever too.
11422
a0be7a36
SM
114232018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
11424
11425 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
11426 mi_continue_to_line.
11427 * gdb.mi/mi-stack.c (callee4): Add comment.
11428
9b73db36
SM
114292018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
11430
11431 * gdb.mi/mi-stack.exp: Fix indentation.
11432
c912f608
SM
114332018-04-07 Simon Marchi <simon.marchi@ericsson.com>
11434
11435 PR gdb/22979
11436 * gdb.arch/amd64-osabi.exp: New file.
11437
26540402
SM
114382018-04-07 Simon Marchi <simon.marchi@ericsson.com>
11439
11440 PR gdb/22980
11441 * gdb.base/osabi.exp: New file.
11442
121ad66c 114432018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
11444
11445 * gdb.cp/static-typedef-print.exp: New file.
11446 * gdb.cp/static-typedef-print.cc: New file.
11447
3fcded8f
JB
114482018-03-27 Joel Brobecker <brobecker@adacore.com>
11449
11450 * gdb.ada/varsize_limit: New testcase.
11451
59cc4834
JB
114522018-03-27 Joel Brobecker <brobecker@adacore.com>
11453
11454 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
11455
11456 * gdb.ada/notcplusplus: New testcase.
11457
11458 * gdb.base/c-linkage-name.c: New file.
11459 * gdb.base/c-linkage-name.exp: New testcase.
11460
4ca59a9f
TT
114612018-03-26 Tom Tromey <tom@tromey.com>
11462
11463 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
11464 * gdb.python/py-framefilter.py (name_error): New global.
11465 (ErrorInName.function): Use name_error.
11466
978d6c75
TT
114672018-03-26 Tom Tromey <tom@tromey.com>
11468
11469 PR backtrace/15582:
11470 * gdb.python/py-framefilter.exp: Add "bt hide" test.
11471
b7fee5a3
KS
114722018-03-23 Keith Seitz <keiths@redhat.com>
11473
11474 PR c++/22968
11475 * gdb.cp/subtypes.exp: New file.
11476 * gdb.cp/subtypes.h: New file.
11477 * gdb.cp/subtypes.cc: New file.
11478 * gdb.cp/subtypes-2.cc: New file.
11479
376be529
AB
114802018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
11481
11482 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
11483 (done): Call '_exit' not 'exit' to avoid atexit handlers.
11484 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
11485 -nostartfiles when compiling the test. Confirm that all registers
11486 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
11487
066cfa98
AB
114882018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
11489
11490 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
11491 option, syntax was wrong anyway.
11492 * gdb.arch/arm-disp-step.exp: Likewise.
11493 * gdb.arch/sparc64-regs.exp: Likewise.
11494 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
11495 option, syntax was wrong anyway, switch to use
11496 prepare_for_testing.
11497 * gdb.arch/i386-disp-step.exp: Likewise.
11498
079670b9
AA
114992018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
11500
11501 * gdb.ada/exec_changed.exp: Replace "target_info exists
11502 use_gdb_stub" by "use_gdb_stub".
11503 * gdb.ada/start.exp: Likewise.
11504 * gdb.base/async-shell.exp: Likewise.
11505 * gdb.base/attach-pie-misread.exp: Likewise.
11506 * gdb.base/attach-wait-input.exp: Likewise.
11507 * gdb.base/break-entry.exp: Likewise.
11508 * gdb.base/break-interp.exp: Likewise.
11509 * gdb.base/dprintf-detach.exp: Likewise.
11510 * gdb.base/nostdlib.exp: Likewise.
11511 * gdb.base/solib-nodir.exp: Likewise.
11512 * gdb.base/statistics.exp: Likewise.
11513 * gdb.base/testenv.exp: Likewise.
11514 * gdb.mi/mi-exec-run.exp: Likewise.
11515 * gdb.mi/mi-start.exp: Likewise.
11516 * gdb.multi/dummy-frame-restore.exp: Likewise.
11517 * gdb.multi/multi-arch-exec.exp: Likewise.
11518 * gdb.multi/multi-arch.exp: Likewise.
11519 * gdb.multi/tids.exp: Likewise.
11520 * gdb.multi/watchpoint-multi.exp: Likewise.
11521 * gdb.python/py-events.exp: Likewise.
11522 * gdb.threads/attach-into-signal.exp: Likewise.
11523 * gdb.threads/attach-stopped.exp: Likewise.
11524 * gdb.threads/threadapply.exp: Likewise.
11525 * lib/selftest-support.exp: Likewise.
11526
26d6cec4
AA
115272018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
11528
11529 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
11530
4ee89e90
SR
115312018-03-20 Stephen Roberts <stephen.roberts@arm.com>
11532
11533 * gdb.perf/template-breakpoints.cc: New file.
11534 * gdb.perf/template-breakpoints.exp: New file.
11535 * gdb.perf/template-breakpoints.py: New file.
11536
92630041
TT
115372018-03-19 Tom Tromey <tom@tromey.com>
11538
11539 * gdb.rust/simple.rs (main): Add local variables field1, field2,
11540 y0.
11541 * gdb.rust/simple.exp: Test bare identifier form of struct
11542 initializer.
11543
76727919
TT
115442018-03-19 Tom Tromey <tom@tromey.com>
11545
11546 * gdb.gdb/observer.exp: Remove.
11547
194ed413
AA
115482018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11549
11550 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
11551 "qualified" option when setting breakpoints.
11552 * gdb.trace/backtrace.exp: Likewise.
11553 * gdb.trace/circ.exp: Likewise.
11554 * gdb.trace/collection.exp: Likewise.
11555 * gdb.trace/disconnected-tracing.exp: Likewise.
11556 * gdb.trace/ftrace-lock.exp: Likewise.
11557 * gdb.trace/ftrace.exp: Likewise.
11558 * gdb.trace/infotrace.exp: Likewise.
11559 * gdb.trace/packetlen.exp: Likewise.
11560 * gdb.trace/passc-dyn.exp: Likewise.
11561 * gdb.trace/qtro.exp: Likewise.
11562 * gdb.trace/read-memory.exp: Likewise.
11563 * gdb.trace/report.exp: Likewise.
11564 * gdb.trace/signal.exp: Likewise.
11565 * gdb.trace/status-stop.exp: Likewise.
11566 * gdb.trace/strace.exp: Likewise.
11567 * gdb.trace/tfind.exp: Likewise.
11568 * gdb.trace/trace-break.exp: Likewise.
11569 * gdb.trace/trace-condition.exp: Likewise.
11570 * gdb.trace/trace-mt.exp: Likewise.
11571 * gdb.trace/tstatus.exp: Likewise.
11572 * gdb.trace/tsv.exp: Likewise.
11573 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11574 * gdb.trace/unavailable.exp: Likewise.
11575 * gdb.trace/while-dyn.exp: Likewise.
11576
8b067d2c
AA
115772018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11578
11579 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
11580 that libinproctrace is copied to the target.
11581
3ae9ce5d
TT
115822018-03-14 Tom Tromey <tom@tromey.com>
11583
11584 PR cli/14977:
11585 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
11586 a null pointer.
11587 * gdb.base/wchar.exp: Likewise.
11588
b8c2339b
TT
115892018-03-14 Tom Tromey <tom@tromey.com>
11590
11591 PR cli/19918:
11592 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
11593 flag.
11594
4872dc46
SM
115952018-03-08 Simon Marchi <simon.marchi@ericsson.com>
11596
11597 PR gdb/22841
11598 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
11599 "target" to remote_exec.
11600
e4fe3756
SM
116012018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
11602
11603 PR gdb/22841
11604 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
11605 ${board}_upload): Remove.
11606
e95a97d4
AA
116072018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
11608
11609 * gdb.cp/watch-cp.cc: New test.
11610 * gdb.cp/watch-cp.exp: New file.
11611
dbbb1059
AB
116122018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
11613
11614 * gdb.base/infcall-nested-structs.exp: New file.
11615 * gdb.base/infcall-nested-structs.c: New file.
11616 * gdb.base/float.exp: Add riscv support.
11617
ecc054c0
TP
116182018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
11619
11620 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
11621 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
11622
25e3c82c
SDJ
116232018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
11624
11625 * gdb.server/abspath.exp: New file.
11626 * lib/gdb.exp (with_cwd): New procedure.
11627
3083294d
SM
116282018-02-28 Simon Marchi <simon.marchi@ericsson.com>
11629
11630 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
11631 use it.
11632 (gdb_is_target_remote_prompt): New proc.
11633 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
11634 (gdb_is_target_native): Pass prompt parameter to
11635 gdb_is_target_1.
11636
3275ef47
SM
116372018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
11638
11639 * gdb.base/load-command.c: New file.
11640 * gdb.base/load-command.exp: New file.
11641 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
11642 (gdb_is_target_1): ...this, and generalize for other targets
11643 than just remote.
11644 (gdb_is_target_remote): Use gdb_is_target_1.
11645 (gdb_is_target_native): use gdb_is_target_1.
11646
6893c19a
TT
116472018-02-26 Tom Tromey <tom@tromey.com>
11648
11649 PR python/16497:
11650 * gdb.python/py-framefilter.exp: Update test.
11651
2ddeaf8a
TT
116522018-02-26 Tom Tromey <tom@tromey.com>
11653
11654 * gdb.dwarf2/variant.c: New file.
11655 * gdb.dwarf2/variant.exp: New file.
11656
c9317f21
TT
116572018-02-26 Tom Tromey <tom@tromey.com>
11658
11659 * gdb.rust/simple.exp: Accept more possible results in enum test.
11660
6f6d0c26
SM
116612018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
11662
11663 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
11664 parentheses.
11665
11b03145
MR
116662018-02-23 Maciej W. Rozycki <macro@mips.com>
11667
11668 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
11669 name of a variable: $actual_linejj -> $actual_line.
11670
54a27fe5
JB
116712018-02-21 John Baldwin <jhb@FreeBSD.org>
11672
11673 * gdb.arch/amd64-i386-address.exp: Fix a typo.
11674
de65820c
MM
116752018-02-20 Markus Metzger <markus.t.metzger@intel.com>
11676
11677 * gdb.btrace/buffer-size.exp: Do not force BTS.
11678
980548fd
PA
116792018-02-14 Pedro Alves <palves@redhat.com>
11680
11681 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
11682 getting a "Quit".
11683
c4e12631
MM
116842018-02-09 Markus Metzger <markus.t.metzger@intel.com>
11685
11686 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
11687 Fix test name.
11688
c2e0e465
SM
116892018-02-07 Simon Marchi <simon.marchi@ericsson.com>
11690
11691 * gdb.cp/m-static.exp: Check type of optimized out static
11692 member.
11693
f7216783
AB
116942018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
11695
11696 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
11697 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
11698
0625771b
LS
116992018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
11700 Leszek Swirski <leszeks@google.com>
11701
11702 * gdb.python/py-prettyprint.c
11703 (struct to_string_returns_value_inner,
11704 struct to_string_returns_value_wrapper): New.
11705 (main): Add tsrvw variable.
11706 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
11707 ToStringReturnsValueWrapper): New classes.
11708 (register_pretty_printers): Register new pretty-printers.
11709 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
11710 recursive pretty printer.
11711 * gdb.python/py-mi.exp: Likewise.
11712
59498c30
LS
117132018-02-01 Leszek Swirski <leszeks@google.com>
11714
11715 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
11716 functions with the same name as an include file are parsed
11717 correctly.
11718
d4d38844
YQ
117192018-02-01 Yao Qi <yao.qi@linaro.org>
11720
11721 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
11722 "\[^\r\n\]*".
11723
07e5f5cf
NP
117242018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
11725
11726 * gdb.arch/powerpc-prologue-frame.s: New file.
11727 * gdb.arch/powerpc-prologue-frame.c: Likewise.
11728 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
11729
929b5ad4
JB
117302018-01-31 Joel Brobecker <brobecker@adacore.com>
11731
11732 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
11733
e671cd59
PA
117342018-01-30 Pedro Alves <palves@redhat.com>
11735
11736 PR gdb/13211
11737 * gdb.base/interrupt-daemon.c: New.
11738 * gdb.base/interrupt-daemon.exp: New.
11739 * gdb.multi/multi-term-settings.c: New.
11740 * gdb.multi/multi-term-settings.exp: New.
11741
fc413dc4
JB
117422018-01-30 Joel Brobecker <brobecker@adacore.com>
11743
11744 * gdb.base/break.exp: Save the location where the breakpoint
11745 on break.c:47 was actually inserted when debugging the version
11746 compiled at -O2 and use it in the expected output of the "info
11747 break" test performed soon after.
11748
5c319bb2
PA
117492018-01-22 Pedro Alves <palves@redhat.com>
11750 Sergio Durigan Junior <sergiodj@redhat.com>
11751
11752 * gdb.base/whatis.exp: Add tests for 'set print object on' +
11753 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
11754
a9e40818
JB
117552018-01-22 Joel Brobecker <brobecker@adacore.com>
11756
11757 * gdb.base/break-include.c, gdb.base/break-include.inc,
11758 gdb.base/break-include.exp: New files.
11759 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
11760 line number now being the actual line number where the breakpoint
11761 was inserted.
11762 * gdb.mi/mi-break.exp: Likewise.
11763 * gdb.mi/mi-reverse.exp: Likewise.
11764 * gdb.mi/mi-simplerun.exp: Ditto.
11765
e707fc44
AB
117662018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11767
11768 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
11769 varobj.
11770 * gdb.mi/mi-var-create-rtti.exp: Likewise.
11771
ae451627
AB
117722018-01-21 Don Breazeal <donb@codesourcery.com>
11773 Andrew Burgess <andrew.burgess@embecosm.com>
11774
11775 * gdb.mi/basics.c: Add new global.
11776 * gdb.mi/mi-frame-regs.exp: New file.
11777 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
11778 case.
11779
b1b189e0
AB
117802018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11781
11782 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
11783 non-parameter, and on an unknown symbol.
11784
fcfcc376
TT
117852018-01-19 Tom Tromey <tom@tromey.com>
11786
11787 * gdb.rust/modules.rs (TWENTY_THREE): New global.
11788 * gdb.rust/modules.exp: Add ::-qualified lookup test.
11789
634c1c31
AA
117902018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11791
11792 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
11793 setrlimit and chdir to int.
11794
d6ad07fd
AA
117952018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11796
11797 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
11798 function.
11799 (my_tend): Likewise.
11800 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
11801 rationale of avoiding FP- and vector instructions.
11802
adf8243b
RK
118032018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
11804
11805 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
11806 "info reg" with "\[ \t\]*".
11807 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
11808 "\[ \t\]+".
11809 * gdb.arch/s390-multiarch.exp: Ditto.
11810 * gdb.base/pc-fp.exp: Ditto.
11811 * gdb.reverse/i386-precsave.exp: Ditto.
11812 * gdb.reverse/i386-reverse.exp: Ditto.
11813 * gdb.reverse/i387-env-reverse.exp: Ditto.
11814 * gdb.reverse/i387-stack-reverse.exp: Ditto.
11815
dcc06925
AA
118162018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11817
11818 * lib/gdb.exp (gdb_compile): Re-enable use of
11819 universal_compile_options for languages other than Rust.
11820
25d4fd80
AA
118212018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11822
11823 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
11824
ee7f689e 118252018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
11826
11827 PR gdb/16577
11828 * gdb.base/solib-vanish.exp: New.
11829 * gdb.base/solib-vanish-main.c: New.
11830 * gdb.base/solib-vanish-lib1.c: New.
11831 * gdb.base/solib-vanish-lib2.c: New.
11832
d8447b6b
YQ
118332018-01-17 Yao Qi <yao.qi@linaro.org>
11834
11835 * gdb.compile/compile.exp: Match the address printed for
11836 frame in the output of command "bt".
11837
86d6a90c
TT
118382018-01-15 Tom Tromey <tom@tromey.com>
11839
11840 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
11841 compute sp_reg.
11842
cbcdb1aa
AB
118432018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
11844
11845 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
11846 to prepare.
11847 (prepare): Return 0 on error, 1 on success.
11848
eea61984
PA
118492018-01-12 Pedro Alves <palves@redhat.com>
11850
11851 * gdb.base/continue-after-aborted-step-over.c: New.
11852 * gdb.base/continue-after-aborted-step-over.exp: New.
11853
6181e9c2
SM
118542018-01-11 Simon Marchi <simon.marchi@ericsson.com>
11855
11856 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
11857 options when not creating an executable.
11858
3cada740
PA
118592018-01-11 Pedro Alves <palves@redhat.com>
11860
11861 PR remote/22597
11862 * gdb.server/stop-reply-no-thread.c: New file.
11863 * gdb.server/stop-reply-no-thread.exp: New file.
11864
c63d3e8d
PA
118652018-01-10 Pedro Alves <palves@redhat.com>
11866
11867 PR gdb/22670
11868 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
11869 functions too. Test setting breakpoints and printing C functions
11870 with no debug info too.
11871 * gdb.ada/bp_c_mixed_case/qux.c: New file.
11872
d4c2a405
PA
118732018-01-10 Pedro Alves <palves@redhat.com>
11874
11875 PR gdb/22670
11876 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
11877 a fail.
11878
8825213e
PA
118792018-01-10 Pedro Alves <palves@redhat.com>
11880
11881 PR gdb/22670
11882 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
11883
605fd3c6
YQ
118842018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11885
11886 * gdb.server/unittest.exp: Match the output in non-development
11887 mode.
11888
1e5ded6c
YQ
118892018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11890
11891 * gdb.gdb/unittest.exp: Match output in non-development mode.
11892
30066b0b
JB
118932018-01-08 Joel Brobecker <brobecker@adacore.com>
11894
11895 * gdb.ada/access_tagged_param.exp: Relax expected output
11896 for value of "ObjL" in "continue" to pck.inspect breakpoint
11897 test.
11898
04bafb1e
XR
118992018-01-08 Joel Brobecker <brobecker@adacore.com>
11900
9f86398b
JB
11901 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
11902 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 11903
e379cee6
PA
119042018-01-05 Pedro Alves <palves@redhat.com>
11905
11906 PR gdb/18653
11907 * gdb.base/libsegfault.exp: New.
11908
de63c46b
PA
119092018-01-05 Joel Brobecker <brobecker@adacore.com>
11910
11911 PR gdb/22670
11912 * gdb.ada/access_tagged_param.exp: New file.
11913 * gdb.ada/access_tagged_param/foo.adb: New file.
11914
f98fc17b
PA
119152018-01-05 Pedro Alves <palves@redhat.com>
11916
11917 PR gdb/22670
11918 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
11919 exercise lower case too, and to exercise both full matching and
11920 wild matching.
11921
342f8240
JB
119222018-01-05 Joel Brobecker <brobecker@adacore.com>
11923
11924 * gdb.ada/rename_subscript_param: New testcase.
11925
7150d33c
JG
119262018-01-05 Jerome Guitton <guitton@adacore.com>
11927
11928 * gdb.ada/arr_acc_idx_w_gap: New testcase.
11929
cc0e770c
JB
119302018-01-05 Joel Brobecker <brobecker@adacore.com>
11931
11932 * gdb.ada/convvar_comp: New testcase.
11933
672a41aa 119342018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
11935
11936 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
11937 (My_Table): New global variable.
11938 * testsuite/gdb.ada/array_char_idx.exp: Add test.
11939
7365ec2f
JB
119402018-01-04 Joel Brobecker <brobecker@adacore.com>
11941
11942 PR gdb/22670
11943 * gdb.ada/maint_with_ada: New testcase.
11944
289483b6
JB
119452018-01-04 Joel Brobecker <brobecker@adacore.com>
11946
11947 PR gdb/22670
11948 * gdb.ada/bp_c_mixed_case: New testcase.
11949
344420da
JB
119502018-01-04 Joel Brobecker <brobecker@adacore.com>
11951
11952 PR gdb/22670
11953 * gdb.ada/complete.exp: Add "complete break ada" test.
11954
66fc87a0
JB
119552018-01-04 Joel Brobecker <brobecker@adacore.com>
11956
11957 PR gdb/22670
11958 * gdb.ada/info_addr_mixed_case: New testcase.
11959
9f757bf7
XR
119602018-01-03 Xavier Roirand <roirand@adacore.com>
11961
11962 * gdb.ada/excep_handle.exp: New testcase.
11963 * gdb.ada/excep_handle/foo.adb: New file.
11964 * gdb.ada/excep_handle/pck.ads: New file.
11965
bd570f80
JB
119662018-01-03 Joel Brobecker <brobecker@adacore.com>
11967
11968 * gdb.base/step-line.c: Add extra empty line in copyright header.
11969 * gdb.base/step-line.inp: Likewise.
11970
9fe561ab
JB
119712018-01-02 Joel Brobecker <brobecker@adacore.com>
11972
11973 * gdb.ada/dyn_stride.exp: Add slice test.
11974
a405673c
JB
119752018-01-02 Joel Brobecker <brobecker@adacore.com>
11976
11977 * gdb.ada/dyn_stride: New testcase.
11978
cef0f868
SH
119792017-12-27 Stafford Horne <shorne@gmail.com>
11980
11981 * gdb.xml/extra-regs.xml: Add example foo reggroup.
11982 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
11983
b67d92b0
SH
119842017-12-27 Stafford Horne <shorne@gmail.com>
11985
11986 * gdb.base/reggroups.c: New file.
11987 * gdb.base/reggroups.exp: New file.
11988
eccab96d
JB
119892017-12-18 Joel Brobecker <brobecker@adacore.com>
11990
11991 * gdb.dwarf2/ada-valprint-error.c: New file.
11992 * gdb.dwarf2/ada-valprint-error.exp: New file.
11993
0e2da9f0
JB
119942017-12-18 Joel Brobecker <brobecker@adacore.com>
11995
11996 * gdb.ada/assign_arr: New testcase.
11997
cb923fcc
XR
119982017-12-18 Xavier Roirand <roirand@adacore.com>
11999
12000 * gdb.ada/funcall_ptr: New testcase.
12001
7c161838
SDJ
120022017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
12003
12004 PR cli/16224
12005 * gdb.base/ptype-offsets.cc: New file.
12006 * gdb.base/ptype-offsets.exp: New file.
12007
1af17fd9
YQ
120082017-12-15 Yao Qi <yao.qi@linaro.org>
12009
12010 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
12011 if XML is disabled.
12012
828d5846
XR
120132017-12-15 Xavier Roirand <roirand@adacore.com>
12014
12015 * gdb.ada/same_component_name: New testcase.
12016
79e8fcaa
JB
120172017-12-14 Joel Brobecker <brobecker@adacore.com>
12018
12019 * gdb.ada/str_binop_equal: New testcase.
12020
e05fa6f9
JB
120212017-12-14 Joel Brobecker <brobecker@adacore.com>
12022
12023 * gdb.ada/task_switch_in_core: New testcase.
12024
b89641ba
SM
120252017-12-13 Simon Marchi <simon.marchi@ericsson.com>
12026
12027 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
12028 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
12029 call test_bkpt_qualified.
12030 (test_bkpt_qualified): New proc.
12031
6892d2e4
PA
120322017-12-13 Pedro Alves <palves@redhat.com>
12033
12034 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
12035 Tighten regexp by matching with an anchor.
12036
a22ecf70
PA
120372017-12-13 Pedro Alves <palves@redhat.com>
12038
12039 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
12040 ("expression with namespace"): New set of tests.
12041 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
12042 (Nested::Test_NS::qux): New.
12043 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
12044 defaults to 'start_quote_char' and 'end_quote_char' parameters.
12045
9937536c
JB
120462017-12-13 Joel Brobecker <brobecker@adacore.com>
12047
12048 * gdb.base/server-del-break.c: New file.
12049 * gdb.base/server-del-break.exp: New file.
12050
fe49c6f5
SH
120512017-12-12 Stafford Horne <shorne@gmail.com>
12052
12053 * gdb.xml/tdesc-regs.exp: Add or1k support.
12054
c3d18620
SH
120552017-12-12 Stafford Horne <shorne@gmail.com>
12056
12057 * gdb.base/bp-permanent.c: Define nop of or1k.
12058
c5f9cfc8
JB
120592017-12-11 Joel Brobecker <brobecker@adacore.com>
12060
12061 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
12062 output with components being reordered.
12063
a9c135fc
JB
120642017-12-11 Joel Brobecker <brobecker@adacore.com>
12065
12066 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
12067 output with components being reordered.
12068
927aa2e7
JK
120692017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12070 Pedro Alves <palves@redhat.com>
12071
12072 * gdb.base/maint.exp (check for .gdb_index): Check also for
12073 .debug_names.
12074 * gdb.dlang/watch-loc.c (.debug_aranges): New.
12075 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
12076 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
12077 (.gdb_index used after symbol reloading): Support also .debug_names.
12078 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
12079
f17d9474
YQ
120802017-12-08 Yao Qi <yao.qi@linaro.org>
12081
12082 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
12083 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
12084
a0de8c21
YQ
120852017-12-08 Yao Qi <yao.qi@linaro.org>
12086
12087 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
12088 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
12089
a738ea1d
YQ
120902017-12-08 Yao Qi <yao.qi@linaro.org>
12091
12092 * gdb.arch/aarch64-tagged-pointer.c: New file.
12093 * gdb.arch/aarch64-tagged-pointer.exp: New file.
12094
1cd9a73b
SDJ
120952017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
12096
12097 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
12098 "int".
12099
fa6eb693
KS
121002017-12-07 Keith Seitz <keiths@redhat.com>
12101
12102 PR breakpoints/22569
12103 * gdb.linespec/ls-errs.exp: Change expected result of "break
12104 -source this file has spaces.c -line 3".
12105 Check that an explicit source file followed by whitespace is
12106 identified as an invalid explicit location.
12107
883fd55a
KS
121082017-12-07 Keith Seitz <keiths@redhat.com>
12109
12110 * gdb.cp/nested-types.cc: New file.
12111 * gdb.cp/nested-types.exp: New file.
12112 * lib/cp-support.exp: Load data-structures.exp library.
12113 (debug_cp_test_ptype_class): New global.
12114 (cp_ptype_class_verbose, next_line): New procedures.
12115 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
12116 Add and document new return value.
12117 Switch the list of lines to a queue.
12118 Add support for new `type' key for nested type definitions.
12119 Add debugging/troubleshooting messages.
12120 * lib/data-structures.exp: New file.
12121
ec72db3e
SM
121222017-12-07 Simon Marchi <simon.marchi@ericsson.com>
12123
12124 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
12125 with proc_with_prefix, don't use with_test_prefix.
12126
99598d71
TT
121272017-12-07 Tom Tromey <tom@tromey.com>
12128
12129 * gdb.base/break.exp: Add test for empty "commands".
12130
a8806230
YQ
121312017-12-07 Yao Qi <yao.qi@linaro.org>
12132
12133 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
12134 malloc and catch syscall.
12135
824cc835
PM
121362017-12-07 Phil Muldoon <pmuldoon@redhat.com>
12137
e79be6e5 12138 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
12139 tests for explicit locations.
12140
7cc244de
PA
121412017-12-06 Pedro Alves <palves@redhat.com>
12142
12143 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
12144 force-disabling XML descriptions.
12145
50a1fdd5
PA
121462017-12-04 Pedro Alves <palves@redhat.com>
12147
12148 PR gdb/22499
12149 * gdb.arch/amd64-disp-step-avx.S: New file.
12150 * gdb.arch/amd64-disp-step-avx.exp: New file.
12151
f0fb2488
PA
121522017-12-03 Pedro Alves <palves@redhat.com>
12153
12154 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
12155 and <string.h>.
12156 (parent_function): Print distinct messages when waitpid fails, or
12157 the child exits with a signal, or the child exits for an unhandled
12158 reason.
12159 * gdb.threads/process-dies-while-detaching.exp
12160 (detach_and_expect_exit): New 'inf_output_re' parameter and use
12161 it. Wait for both inferior output and GDB's prompt. Use an
12162 indirect spawn id list.
12163 (do_detach): New parameter 'child_exit'. Use it to compute
12164 expected inferior output.
12165 (test_detach, test_detach_watch, test_detach_killed_outside):
12166 Adjust to pass down the expected child exit kind.
12167
97cbe998
SDJ
121682017-12-01 Joel Brobecker <brobecker@adacore.com>
12169 Sergio Durigan Junior <sergiodj@redhat.com>
12170 Pedro Alves <palves@redhat.com>
12171
12172 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
12173
40fc416f
SDJ
121742017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
12175
12176 * gdb.base/relocate.exp: Add tests to guarantee that arguments
12177 to 'symbol-file' and 'add-symbol-file' can be
12178 position-independent.
12179
1cc75e92
YQ
121802017-12-01 Yao Qi <yao.qi@linaro.org>
12181
12182 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
12183 the URL in copyright header.
12184 * gdb.arch/aarch64-fp.exp: Likewise.
12185 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
12186 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
12187 * gdb.base/expand-psymtabs.exp: Likewise.
12188 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
12189 * gdb.fortran/common-block.exp: Likewise.
12190 * gdb.fortran/common-block.f90: Likewise.
12191 * gdb.fortran/logical.exp: Likewise.
12192 * gdb.fortran/vla-datatypes.f90: Likewise.
12193 * gdb.fortran/vla-sub.f90: Likewise.
12194
875fb7a7
JB
121952017-11-30 Joel Brobecker <brobecker@adacore.com>
12196
12197 * gdb.ada/repeat_dyn: New testcase.
12198
6f14765f
UW
121992017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
12200
12201 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
12202 Update for changed thread numbering.
12203 * gdb.cell/bt.exp: Update for changed GDB output.
12204
f1af7b94
SM
122052017-11-30 Simon Marchi <simon.marchi@ericsson.com>
12206
12207 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
12208 setting isremote by hand.
12209 * boards/dwarf4-gdb-index.exp: Likewise.
12210 * boards/fission.exp: Likewise.
12211 * boards/stabs.exp: Likewise.
12212
e3919f3e
PA
122132017-11-30 Pedro Alves <palves@redhat.com>
12214
12215 * gdb.linespec/cpls-ops.exp
12216 (check_explicit_skips_function_argument): Extract the underlying
12217 type of size_t instead of hardcoding it.
12218
bd69330d
PA
122192017-11-29 Pedro Alves <palves@redhat.com>
12220
12221 PR c++/19436
12222 * gdb.linespec/cpls-abi-tag.cc: New file.
12223 * gdb.linespec/cpls-abi-tag.exp: New file.
12224
a20714ff
PA
122252017-11-29 Pedro Alves <palves@redhat.com>
12226
12227 * gdb.base/langs.exp: Use -qualified.
12228 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
12229 it.
12230 * gdb.cp/namespace.exp: Use -qualified.
12231 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
12232 (overload-3, template-overload, template-ret-type, const-overload)
12233 (const-overload-quoted, anon-ns, ambiguous-prefix): New
12234 procedures.
12235 (test_driver): Call them.
12236 * gdb.cp/save-bp-qualified.cc: New.
12237 * gdb.cp/save-bp-qualified.exp: New.
12238 * gdb.linespec/explicit.exp: Test -qualified.
12239 * lib/completion-support.exp (completion::explicit_opts_list): Add
12240 "-qualified".
12241 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
12242
f6f1d339
PM
122432017-11-29 Phil Muldoon <pmuldoon@redhat.com>
12244
12245 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
12246
02ca603a
TT
122472017-11-29 Tom Tromey <tom@tromey.com>
12248
12249 * gdb.base/relocate.exp: Update invalid argument test.
12250 Add new tests for invalid arguments.
12251
ed6c0bfb
TP
122522017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
12253
12254 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
12255 Return 0 as a long.
12256 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
12257
f106e10e
TP
122582017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
12259
12260 * gdb.cp/breakpoint.cc (bar): Set return type to void.
12261 * gdb.cp/psymtab-parameter.cc (func): Likewise.
12262 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
12263 func ().
12264 * gdb.cp/shadow.cc (B.func): Return 0.
12265
10329bb2
JB
122662017-11-27 Joel Brobecker <brobecker@adacore.com>
12267
12268 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
12269 expected output in gdb_expect call to allow the exception
12270 message to be present as well. Fix syntax confusion to avoid
12271 TCL thinking that exception_name is an array.
12272
617cd4bc
UW
122732017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
12274
12275 * gdb.arch/spu-info.c: Include <unistd.h>.
12276 (do_signal_test): Fix broken calls to write.
12277 * gdb.arch/spu-info.exp: Use prepare_for_testing.
12278 Fix checks for empty mailboxes. Update signal tests for corrected
12279 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
12280 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
12281 * gdb.cell/arch.exp: Use standard_output_file.
12282 * gdb.cell/break.exp: Likewise.
12283 * gdb.cell/bt.exp: Likewise.
12284 * gdb.cell/core.exp: Likewise.
12285 * gdb.cell/dwarfaddr.exp: Likewise.
12286 * gdb.cell/ea-cache.exp: Likewise.
12287 * gdb.cell/ea-standalone.exp: Likewise.
12288 * gdb.cell/f-regs.exp: Likewise.
12289 * gdb.cell/fork.exp: Likewise.
12290 * gdb.cell/gcore.exp: Likewise.
12291 * gdb.cell/mem-access.exp: Likewise.
12292 * gdb.cell/ptype.exp: Likewise.
12293 * gdb.cell/registers.exp: Likewise.
12294 * gdb.cell/sizeof.exp: Likewise.
12295 * gdb.cell/solib-symbol.exp: Likewise.
12296 * gdb.cell/solib.exp: Likewise.
617cd4bc 12297
a81aaca0
PA
122982017-11-25 Pedro Alves <palves@redhat.com>
12299
12300 * gdb.base/complete-empty.exp: New file.
12301 * gdb.base/completion.exp: Adjust.
12302
6a3c6ee4
PA
123032017-11-25 Pedro Alves <palves@redhat.com>
12304
12305 * gdb.linespec/cpls-ops.cc: New file.
12306 * gdb.linespec/cpls-ops.exp: New file.
12307 * lib/completion-support.exp (test_complete_prefix_range_re): New,
12308 factored out from ...
12309 (test_complete_prefix_range): ... this.
12310
8955eb2d
PA
123112017-11-24 Pedro Alves <palves@redhat.com>
12312
12313 * gdb.linespec/cpcompletion.exp: New file.
12314 * gdb.linespec/cpls-hyphen.cc: New file.
12315 * gdb.linespec/cpls.cc: New file.
12316 * gdb.linespec/cpls2.cc: New file.
12317 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
12318 test to use test_gdb_complete_unique. Add label completion,
12319 keyword completion and explicit location completion tests.
12320 * lib/completion-support.exp: New file.
12321
e547c119
JB
123222017-11-24 Joel Brobecker <brobecker@adacore.com>
12323
12324 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
12325 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
12326 when hitting an exception catchpoint.
12327
7c3c1aa8
YQ
123282017-11-22 Yao Qi <yao.qi@linaro.org>
12329
12330 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
12331
41bd68f5
SM
123322017-11-22 Simon Marchi <simon.marchi@ericsson.com>
12333
12334 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
12335 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
12336 * gdb.dwarf2/info-locals-optimized-out.c: New file.
12337
1daad298
YQ
123382017-11-22 Yao Qi <yao.qi@linaro.org>
12339
12340 * gdb.base/info-os.exp: Pass pthreads.
12341 * gdb.multi/multi-attach.exp: Likewise.
12342
88465e87
YQ
123432017-11-22 Yao Qi <yao.qi@linaro.org>
12344
12345 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
12346 compiler.
12347
dc196b23
YQ
123482017-11-22 Yao Qi <yao.qi@linaro.org>
12349
12350 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
12351 * gdb.base/break-interp.exp: Likewise.
12352 * gdb.base/jit-attach-pie.exp: Likewise.
12353
2400729e
UW
123542017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
12355
12356 * gdb.base/float128.c (large128): New variable.
12357 * gdb.base/float128.exp: Add test to print largest __float128 value.
12358
7a26362d
UW
123592017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
12360
12361 * gdb.arch/vsx-regs.exp: Update register content checks.
12362
ed0f4273
UW
123632017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
12364
12365 * gdb.arch/ppc-longdouble.exp: New file.
12366 * gdb.arch/ppc-longdouble.c: Likewise.
12367
a25d69c6
PA
123682017-11-21 Pedro Alves <palves@redhat.com>
12369
12370 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
12371
73fcf641
PA
123722017-11-20 Pedro Alves <palves@redhat.com>
12373
12374 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
12375 (long_double_typedef): New typedefs.
12376 Use DEF on double and long double.
12377 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
12378 cases.
12379 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
12380 and 'long_double_ptr_same_size' locals. Use them to decide
12381 whether cast from array/function to float is valid/invalid.
12382
71a3c369
TT
123832017-11-17 Tom Tromey <tom@tromey.com>
12384
12385 * gdb.rust/traits.rs: New file.
12386 * gdb.rust/traits.exp: New file.
12387
ced9779b
JB
123882017-11-17 Joel Brobecker <brobecker@adacore.com>
12389
12390 * gdb.ada/minsyms: New testcase.
12391
a0922d80
PA
123922017-11-16 Pedro Alves <palves@redhat.com>
12393
12394 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
12395 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
12396
ea04e54c
PA
123972017-11-16 Pedro Alves <palves@redhat.com>
12398
12399 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
12400 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
12401
e849ea89
PA
124022017-11-16 Pedro Alves <palves@redhat.com>
12403
12404 * gdb.server/reconnect-ctrl-c.c: New file.
12405 * gdb.server/reconnect-ctrl-c.exp: New file.
12406
d8ae99a7
PM
124072017-11-16 Phil Muldoon <pmuldoon@redhat.com>
12408
12409 * gdb.python/py-rbreak.exp: New file.
12410 * gdb.python/py-rbreak.c: New file.
12411 * gdb.python/py-rbreak-func2.c: New file.
12412
968a13f8
PA
124132017-11-16 Pedro Alves <palves@redhat.com>
12414
12415 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
12416 pattern.
12417 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
12418 GDB.
12419
71774bc9
SM
124202017-11-15 Simon Marchi <simon.marchi@ericsson.com>
12421
12422 * gdb.tui/completionn.exp (test_tab_completion): Add space in
12423 regex.
12424
ddbb44cf
SM
124252017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
12426
12427 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
12428 test names.
12429
584a564f
PA
124302017-11-09 Pedro Alves <palves@redhat.com>
12431
12432 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
12433 factored out from ...
12434 (top level): ... here, and adjusted to avoid expecting beyond the
12435 prompt in a single gdb_test_multiple.
12436
5ed7a928
PA
124372017-11-09 Pedro Alves <palves@redhat.com>
12438
12439 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
12440 output.
12441 * gdb.server/ext-attach.exp ("kill" test): Likewise.
12442 * gdb.server/ext-restart.exp ("kill" test): Likewise.
12443 * gdb.server/ext-run.exp ("kill" test): Likewise.
12444 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
12445
a60e0738
PA
124462017-11-09 Pedro Alves <palves@redhat.com>
12447
12448 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
12449 match till end of line.
12450
2c88253f
PA
124512017-11-09 Pedro Alves <palves@redhat.com>
12452
12453 * gdb.base/memattr.exp: Tighten regexes to match the end line.
12454
c7a38517
PA
124552017-11-09 Pedro Alves <palves@redhat.com>
12456
12457 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
12458 New procedures, factored out from ...
12459 (top level): ... here, and adjusted to avoid expecting beyond the
12460 prompt in one go.
12461
f29f4b6b
PA
124622017-11-09 Pedro Alves <palves@redhat.com>
12463
12464 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
12465 output. Fix '?' match.
12466
286acbb5
JB
124672017-11-08 Joel Brobecker <brobecker@adacore.com>
12468
12469 * gdb.ada/scoped_watch: New testcase.
12470 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
12471 which is actually correct.
12472 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
12473 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
12474
62d7ae92
PA
124752017-11-08 Pedro Alves <palves@redhat.com>
12476
12477 * gdb.gdb/complaints.exp (test_initial_complaints)
12478 (test_serial_complaints, test_short_complaints): Call
12479 complaint_internal instead of complaint.
12480
280ca31f
DT
124812017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
12482
12483 * gdb.threads/tls-core.c: New file.
12484 * gdb.threads/tls-core.exp: Likewise.
12485
b5ec771e
PA
124862017-11-08 Pedro Alves <palves@redhat.com>
12487
12488 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
12489 (p Exported_Capitalized): New test.
12490 (p exported_capitalized): New test.
12491
a02b41a7
PA
124922017-11-07 Pedro Alves <palves@redhat.com>
12493
12494 * gdb.cp/ena-dis-br-range.exp: Add more tests.
12495
95e95a6d
PA
124962017-11-07 Pedro Alves <palves@redhat.com>
12497
12498 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
12499 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
12500 (disable_invalid, disable_inverted, disable_negative): New
12501 procedures.
12502 ("bad numbers"): New set of tests.
12503
cee62dbd
PA
125042017-11-07 Pedro Alves <palves@redhat.com>
12505
12506 * gdb.cp/ena-dis-br-range.exp: Add tests.
12507
cc638e86
PA
125082017-11-07 Pedro Alves <palves@redhat.com>
12509
12510 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
12511
d0fe4701
XR
125122017-11-07 Xavier Roirand <roirand@adacore.com>
12513 Pedro Alves <palves@redhat.com>
12514
12515 * gdb.base/ena-dis-br.exp: Add reference to
12516 gdb.cp/ena-dis-br-range.exp.
12517 * gdb.cp/ena-dis-br-range.exp: New file.
12518 * gdb.cp/ena-dis-br-range.cc: New file.
12519
46f67f80
PA
125202017-11-06 Pedro Alves <palves@redhat.com>
12521
12522 * gdb.base/attach-non-pgrp-leader.c: New.
12523 * gdb.base/attach-non-pgrp-leader.exp: New.
12524
726e1356
PA
125252017-11-06 Pedro Alves <palves@redhat.com>
12526
12527 * configure.ac: No longer check for termio.h and sgtty.h.
12528 * configure: Regenerate.
12529 * remote-utils.c: Include termios.h instead of gdb_termios.h.
12530 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
12531 Remove termio and sgtty code.
12532
50ab6ace
YQ
125332017-11-03 Yao Qi <yao.qi@linaro.org>
12534
12535 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
12536 in GDB is disabled.
12537
8e68731c
YQ
125382017-11-03 Yao Qi <yao.qi@linaro.org>
12539
12540 * gdb.python/py-thrhandle.exp: Skip it if python is not
12541 enabled.
12542
3a87ae65
SM
125432017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
12544
12545 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
12546 as a breakpoint command.
12547
484d8d36
MD
125482017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
12549
12550 PR python/21213
12551 * gdb.python/py-infthread.exp: Test calling
12552 InferiorThread.inferior () multiple times in a row.
12553
4a27f119
KS
125542017-10-27 Keith Seitz <keiths@redhat.com>
12555
12556 * gdb.opt/inline-break.exp (break_info_1): New procedure.
12557 Test "info break" for every inlined function breakpoint.
12558
bb11dd58
YQ
125592017-10-27 Yao Qi <yao.qi@linaro.org>
12560
12561 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
12562
a43f3893
PF
125632017-10-26 Patrick Frants <osscontribute@gmail.com>
12564
12565 * gdb.cp/classes.exp (test_static_members): Test printing
12566 Outer::instance.
12567 * gdb.cp/classes.c (struct Inner, struct Outer): New.
12568 (Inner::instance, Outer::instance): New.
12569
792ccf00
PA
125702017-10-24 Pedro Alves <palves@redhat.com>
12571
12572 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
12573 extra console" test in two stages.
12574
eb2bfbad
PA
125752017-10-24 Pedro Alves <palves@redhat.com>
12576
12577 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
12578
1f75a651
PA
125792017-10-24 Pedro Alves <palves@redhat.com>
12580
12581 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
12582 loop.
12583
779990d9
PA
125842017-10-24 Pedro Alves <palves@redhat.com>
12585
12586 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
12587 $attempt" and "stoppedtry $stoppedtry" test prefixes.
12588
ad9b8f5d
PA
125892017-10-24 Pedro Alves <palves@redhat.com>
12590
12591 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
12592 parameter and handle it. Don't output read value in test name.
12593
fee6da6e
PA
125942017-10-24 Pedro Alves <palves@redhat.com>
12595
12596 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
12597 custom test name.
12598
10389c2c
PA
125992017-10-24 Pedro Alves <palves@redhat.com>
12600
12601 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
12602 include the unstable output directory name in the test's name.
12603 (initial_setup_simple) <'set args'>: Use custom test name.
12604
a80e65a9
PA
126052017-10-24 Pedro Alves <palves@redhat.com>
12606
12607 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
12608 with explicit test name.
12609
15763a09
PA
126102017-10-20 Pedro Alves <palves@redhat.com>
12611
12612 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
12613 'wait -i'. Use gdb_assert and remote_close.
12614
49a4ce2e
AB
126152017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
12616
12617 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
12618 number from variable rather than hard-coded.
12619
a75868f5
PA
126202017-10-19 Pedro Alves <palves@redhat.com>
12621
12622 * gdb.base/long-inferior-output.c: New file.
12623 * gdb.base/long-inferior-output.exp: New file.
12624
c8ba13ad
KS
126252017-11-18 Keith Seitz <keiths@redhat.com>
12626
12627 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
12628 method.
12629 (main): Call it.
12630 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
12631 Add additional user-defined conversion operator tests.
12632
b27de576
PA
126332017-10-17 Pedro Alves <palves@redhat.com>
12634
12635 * boards/native-stdio-gdbserver.exp: Load "local-board".
12636
8484c955
PA
126372017-10-17 Pedro Alves <palves@redhat.com>
12638
12639 * gdb.base/quit-live.c: New file.
12640 * gdb.base/quit-live.exp: New file.
12641
83d5a34d
KS
126422017-10-16 Keith Seitz <keiths@redhat.com>
12643
12644 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
12645 (class_with_protected_typedef, class_with_private_typedef)
12646 (struct_with_public_typedef, struct_with_protected_typedef)
12647 (struct_with_private_typedef): New classes/structs.
12648 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
12649 typedefs and access specifiers.
12650
739b3f1d
PA
126512017-10-16 Pedro Alves <palves@redhat.com>
12652 Simon Marchi <simon.marchi@polymtl.ca>
12653
12654 * README (Local vs Remote vs Native): New section.
12655 * boards/local-board.exp: New file, with bits factored out from
12656 ...
12657 * boards/native-extended-gdbserver.exp: ... here. Load
12658 "local-board".
12659 * boards/native-gdbserver.exp: Load "local-board".
12660 (${board}_spawn, ${board}_exec): Delete.
12661 * boards/native-stdio-gdbserver.exp: Most contents factored out to
12662 ...
12663 * boards/stdio-gdbserver-base.exp: ... this new file.
12664 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
12665 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
12666 procedure.
12667 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
12668 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
12669 stdio_gdbserver_command.
12670 (${board}_get_remote_address, ${board}_get_comm_port)
12671 (${board}_download, ${board}_upload): Delete.
12672 (get_target_remote_pipe_cmd): New.
12673
fe68b953
SM
126742017-10-16 Simon Marchi <simon.marchi@ericsson.com>
12675
12676 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
12677 test_bkpt_deletion, test_bkpt_cond_and_cmds,
12678 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
12679 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
12680 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
12681 remove with_test_prefix.
12682
300b6685
PA
126832017-10-13 Pedro Alves <palves@redhat.com>
12684
12685 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
12686 * gdb.base/annota1.exp: Use it instead of is_remote.
12687 * gdb.base/annota3.exp: Use it instead of is_remote.
12688 * gdb.cp/annota2.exp: Use it instead of is_remote.
12689 * gdb.cp/annota3.exp: Use it instead of is_remote.
12690 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
12691
50500caf
PA
126922017-10-13 Pedro Alves <palves@redhat.com>
12693
12694 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
12695 (test_num_test_vars, run_and_count_vars, find_env)
12696 (test_set_unset_env, test_inherit_env_var): New procedures.
12697 (top level): Use them.
12698
dad0c6d2
PA
126992017-10-13 Pedro Alves <palves@redhat.com>
12700
12701 * lib/selftest-support.exp (selftest_setup): Extend comments, and
12702 also skip on stub-like targets.
12703
8b0553c1
PA
127042017-10-13 Pedro Alves <palves@redhat.com>
12705
12706 PR gdb/22293
12707 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
12708 (top level): Move some tests to ...
12709 (test_not_found): ... this new procedure.
12710 (top level): Call it.
12711
7594f623
PA
127122017-10-13 Pedro Alves <palves@redhat.com>
12713
12714 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
12715 expect different "info terminal" output if testing with a
12716 non-native target.
12717
ebe3b402
PA
127182017-10-13 Pedro Alves <palves@redhat.com>
12719 Simon Marchi <simon.marchi@polymtl.ca>
12720
12721 PR python/12966
12722 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
12723
42f1b161
PA
127242017-10-13 Pedro Alves <palves@redhat.com>
12725
12726 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
12727 already.
12728
8d6ef72b
PA
127292017-10-13 Pedro Alves <palves@redhat.com>
12730
12731 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
12732 is_remote.
12733
d7bcd5b8
PA
127342017-10-13 Pedro Alves <palves@redhat.com>
12735
12736 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
12737 is_remote.
12738
df479dc6
PA
127392017-10-13 Pedro Alves <palves@redhat.com>
12740
12741 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
12742 is set.
12743 (corefile_test_attach): Likewise. Check can_spawn_for_attach
12744 instead of is_remote.
12745
23fb630a
PA
127462017-10-13 Pedro Alves <palves@redhat.com>
12747
12748 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
12749 (top level): Add comment.
12750
cc77b1dc
PA
127512017-10-13 Pedro Alves <palves@redhat.com>
12752
12753 * gdb.base/remote.exp (top level): Fix comment typo and add
12754 missing return.
12755
27c9e813
PA
127562017-10-13 Pedro Alves <palves@redhat.com>
12757 Simon Marchi <simon.marchi@polymtl.ca>
12758
12759 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
12760 calls and add comments. Skip test if use_gdb_stub is set.
12761 (top level): Use "set cwd" command instead of "cd" command.
12762
5e830d98
PA
127632017-10-13 Pedro Alves <palves@redhat.com>
12764
12765 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
12766 is_remote target check.
12767
f5ca0032
PA
127682017-10-13 Pedro Alves <palves@redhat.com>
12769
12770 * gdb.base/scope.exp: Use build_executable + clean_restart +
12771 gdb_file_cmd instead of prepare_for_testing and no longer skip
12772 "before run" tests on is_remote target boards. Update comments.
12773 * boards/native-extended-gdbserver.exp
12774 (extended_gdbserver_load_last_file): New, factored out from ...
12775 (gdb_load): ... this. Move further below and add comment.
12776 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
12777
8aed1c0d
PA
127782017-10-12 Pedro Alves <palves@redhat.com>
12779
12780 * gdb.base/attach.exp: Remove references to gdb64.
12781 * gdb.base/dbx.exp: Remove references to gdb64.
12782
cfa34c87
SM
127832017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12784 Pedro Alves <palves@redhat.com>
12785
12786 * gdb.base/label.exp: Remove is_remote target check.
12787
9192b7de
PA
127882017-10-12 Pedro Alves <palves@redhat.com>
12789
12790 * gdb.base/auvx.exp (coredir): Update comment.
12791 (top level) <core_works>: Use "set cwd" command instead of "cd"
12792 command.
12793
6bf0052d
PA
127942017-10-12 Pedro Alves <palves@redhat.com>
12795 Simon Marchi <simon.marchi@polymtl.ca>
12796
12797 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
12798 target boards.
12799
e48ef82d
PA
128002017-10-12 Pedro Alves <palves@redhat.com>
12801 Simon Marchi <simon.marchi@polymtl.ca>
12802
12803 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
12804 Instead skip if there's any gdb_protocol set.
12805
8d7aea57
SM
128062017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12807 Pedro Alves <palves@redhat.com>
12808
12809 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
12810
30440677
PA
128112017-10-12 Pedro Alves <palves@redhat.com>
12812 Simon Marchi <simon.marchi@polymtl.ca>
12813
12814 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
12815 instead of on dejagnu remote boards.
12816
4e04f045 128172017-10-12 Pedro Alves <palves@redhat.com>
175654b9 12818 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
12819
12820 * gdb.base/inferior-died.exp: Remove is_remote and isnative
12821 checks. Use build_executable + clean_restart instead of
12822 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
12823 of enabling non-stop after starting gdb.
12824
871a186e
PA
128252017-10-12 Pedro Alves <palves@redhat.com>
12826
12827 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
12828 * gdb.threads/non-ldr-exc-2.exp: Ditto.
12829 * gdb.threads/non-ldr-exc-3.exp: Ditto.
12830 * gdb.threads/non-ldr-exc-4.exp: Ditto.
12831
56d704da
AK
128322017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
12833
12834 * gdb.arch/arc-tdesc-cpu.exp: New file.
12835 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
12836
2f20e312
SM
128372017-10-10 Simon Marchi <simon.marchi@ericsson.com>
12838
12839 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
12840
65630365
PA
128412017-10-10 Pedro Alves <palves@redhat.com>
12842
12843 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
12844 expect CLI output.
12845
bf469271
PA
128462017-10-10 Pedro Alves <palves@redhat.com>
12847
12848 * lib/selftest-support.exp (selftest_setup): Update for
12849 captured_command_loop's prototype change.
12850
777a42f1
PA
128512017-10-09 Pedro Alves <palves@redhat.com>
12852
12853 Test both arch1=>arch2 and arch2=>arch1.
12854
12855 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
12856 (srcfile2, binfile2, march1, march2): Remove globals. Largely
12857 factored out to...
12858 (append_arch1_options, append_arch2_options, append_arch_options)
12859 (build_executables): New procedures.
12860 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
12861 local.
12862 (top level): Add new 'first_arch' testing axis.
12863
cbd2b4e3
PA
128642017-10-09 Pedro Alves <palves@redhat.com>
12865
12866 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
12867 (barrier): New.
12868 (thread_start, all_started): New functions.
12869 (main): Spawn new thread and wait until it is scheduled.
12870 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
12871 option.
12872 (do_test): Add 'selected_thread' parameter. Run to all_started
12873 instead of main. Explicitly set the breakpoint at main. Switch
12874 to the SELECTED_THREAD thread.
12875 (top level): Test handling the exec event with either the main
12876 thread or the second thread selected.
12877
5c9e4427
PA
128782017-10-09 Pedro Alves <palves@redhat.com>
12879
12880 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
12881 logic. Move STOP marker after the value checks.
12882 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
12883 regexp.
12884
b3b7c423
SL
128852017-10-06 Sandra Loosemore <sandra@codesourcery.com>
12886
12887 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
12888
3b4b2f16
UW
128892017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
12890
12891 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
12892 integer-to-dfp conversion.
12893 * gdb.base/dfp-test.exp: Likewise.
12894
5cd63fda
PA
128952017-10-04 Pedro Alves <palves@redhat.com>
12896
12897 * gdb.multi/hangout.c: Include <unistd.h>.
12898 (hangout_loop): New function.
12899 (main): Call alarm. Call hangout_loop in a loop.
12900 * gdb.multi/hello.c: Include <unistd.h>.
12901 (hello_loop): New function.
12902 (main): Call alarm. Call hangout_loop in a loop.
12903 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
12904 inferior with the other selected.
12905
4c71c105
SM
129062017-10-04 Simon Marchi <simon.marchi@ericsson.com>
12907
12908 * gdb.mi/list-thread-groups-available.exp: New file.
12909 * gdb.mi/list-thread-groups-available.c: New file.
12910
bc3b087d
SDJ
129112017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12912
12913 * gdb.base/set-cwd.exp: Make it available on
12914 native-extended-gdbserver.
12915
d092c5a2
SDJ
129162017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12917
12918 * gdb.base/set-cwd.c: New file.
12919 * gdb.base/set-cwd.exp: Likewise.
12920
45320ffa
TT
129212017-10-02 Tom Tromey <tom@tromey.com>
12922
12923 PR rust/22236:
12924 * gdb.rust/simple.rs (main): New variable "fslice".
12925 * gdb.rust/simple.exp: Add slice tests. Update string tests.
12926
b3e3859b
TT
129272017-10-02 Tom Tromey <tom@tromey.com>
12928
12929 * gdb.rust/simple.exp: Test ptype of a slice.
12930
01af5e0d
TT
129312017-10-02 Tom Tromey <tom@tromey.com>
12932
12933 * gdb.rust/simple.exp: Test index of slice.
12934
a9bbfbd8
TT
129352017-09-27 Tom Tromey <tom@tromey.com>
12936
12937 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
12938
df8899e5
TP
129392017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
12940 Pedro Alves <palves@redhat.com>
12941
12942 * gdb.base/compare-sections.exp (get value of read-only section): Read
12943 as unsigned value.
12944 (corrupt read-only section): Likewise and don't set written if patching
12945 failed.
12946
757bf54b
KB
129472017-09-21 Kevin Buettner <kevinb@redhat.com>
12948
12949 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
12950 files.
12951
06871ae8
PA
129522017-09-20 Pedro Alves <palves@redhat.com>
12953
12954 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
12955 symbol names in gdb's output.
12956 * gdb.cp/overload.exp ("list all overloads"): Likewise.
12957
e5f25bc5
PA
129582017-09-20 Pedro Alves <palves@redhat.com>
12959
12960 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
12961 Rename to ...
12962 (test_list_ambiguous_symbol): ... this and add a symbol name
12963 parameter. Adjust.
12964 (test_list_ambiguous_function): Reimplement on top of
12965 test_list_ambiguous_symbol and also test listing ambiguous
12966 variables.
12967 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
12968 (ambiguous_fun): ... this.
12969 (ambiguous_var): New.
12970 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
12971 (ambiguous_fun): ... this.
12972 (ambiguous_var): New.
12973
4e5a4f58
JB
129742017-09-19 John Baldwin <jhb@FreeBSD.org>
12975
12976 * gdb.base/starti.c: New file.
12977 * gdb.base/starti.exp: New file.
12978 * lib/gdb.exp (gdb_starti_cmd): New procedure.
12979
26e53f3e
PA
129802017-09-14 Pedro Alves <palves@redhat.com>
12981
12982 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
12983 (top level): Use it instead of runto.
12984
cb791d59
TT
129852017-09-11 Tom Tromey <tom@tromey.com>
12986
12987 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
12988
7c96f8c1
TT
129892017-09-11 Tom Tromey <tom@tromey.com>
12990
12991 * gdb.python/py-infthread.exp: Add tests for new_thread event.
12992 * gdb.python/py-inferior.exp: Add tests for new inferior events.
12993
469412dd
CW
129942017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
12995
12996 * gdb.fortran/printing-types.exp: New file.
12997 * gdb.fortran/printing-types.exp: New file.
12998
e0f86435
BH
129992017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
13000
13001 * gdb.fortran/vla-ptype.exp: Fix typos.
13002 * gdb.fortran/vla-value.exp: Same.
13003
9e9af4be
BH
130042017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
13005
13006 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
13007 * gdb.mi/mi-var-child-f.exp: Likewise.
13008 * gdb.mi/mi-vla-fortran.exp: Likewise.
13009
a5ad232b 130102017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
13011 Christoph Weinmann <christoph.t.weinmann@intel.com>
13012 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
13013
13014 * gdb.fortran/ptr-indentation.f90: New file.
13015 * gdb.fortran/ptr-indentation.exp: New file.
13016
5aec60eb
TT
130172017-09-05 Tom Tromey <tom@tromey.com>
13018
13019 PR gdb/22010:
13020 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
13021
8f8f8152
TP
130222017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
13023
13024 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
13025
fbd1b771
JK
130262017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13027
13028 * gdb.threads/tls-nodebug-pie.c: New file.
13029 * gdb.threads/tls-nodebug-pie.exp: New file.
13030
5eb5f850
TT
130312017-09-05 Tom Tromey <tom@tromey.com>
13032
13033 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
13034 for rust.
13035
ae780a21
SM
130362017-09-05 Simon Marchi <simon.marchi@ericsson.com>
13037
13038 * gdb.multi/multi-arch-exec.exp: Test with different
13039 "follow-exec-mode" settings.
13040 (do_test): New procedure.
13041
3693fdb3
PA
130422017-09-04 Pedro Alves <palves@redhat.com>
13043
13044 * gdb.base/func-static.c (S::method const, S::method volatile)
13045 (S::method volatile const): New methods.
13046 (c_s, v_s, cv_s): New instances.
13047 (main): Call method() on them.
13048 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
13049 (cannot_resolve): New procedure.
13050 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
13051 print-quote-unquoted columns.
13052 (do_test): Test printing each scope too.
13053
e68cb8e0
PA
130542017-09-04 Pedro Alves <palves@redhat.com>
13055
13056 * gdb.base/local-static.exp: Also test with
13057 class::method::variable wholly quoted.
13058 * gdb.cp/m-static.exp (class::method::variable): Remove test.
13059
858be34c
PA
130602017-09-04 Pedro Alves <palves@redhat.com>
13061
13062 * gdb.base/local-static.c: New.
13063 * gdb.base/local-static.cc: New.
13064 * gdb.base/local-static.exp: New.
13065
46a4882b
PA
130662017-09-04 Pedro Alves <palves@redhat.com>
13067
13068 * gdb.asm/asm-source.exp: Add casts to int.
13069 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
13070 (dataglobal64_1, dataglobal64_2): New globals.
13071 * gdb.base/nodebug.exp: Test different expressions involving the
13072 new globals, with print, whatis and ptype. Add casts to int.
13073 * gdb.base/solib-display.exp: Add casts to int.
13074 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
13075 * gdb.cp/m-static.exp: Add cast to int.
13076 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
13077 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
13078 tls variable with no debug info without a cast. Test with a cast
13079 to int too.
13080 * gdb.trace/entry-values.exp: Add casts.
13081
2c5a2be1
PA
130822017-09-04 Pedro Alves <palves@redhat.com>
13083
13084 * gdb.base/nodebug.exp: Test that ptype's error about functions
13085 with unknown return type includes the function name too.
13086
7022349d
PA
130872017-09-04 Pedro Alves <palves@redhat.com>
13088
13089 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
13090 return type of munmap in infcall.
13091 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
13092 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
13093 type of ftell in infcall.
13094 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
13095 type of getpid in infcall.
13096 * gdb.base/infcall-exec.exp: Cast return type of execlp in
13097 infcall.
13098 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
13099 Bail on failure to extract the pid.
13100 * gdb.base/nodebug.c: #include <stdint.h>.
13101 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
13102 New functions.
13103 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
13104 Change expected output of print/whatis/ptype with functions with
13105 no debug info. Test all supported languages. Call
13106 test_call_promotion.
13107 * gdb.compile/compile.exp: Adjust expected output to expect
13108 warning.
13109 * gdb.threads/siginfo-threads.exp: Likewise.
13110
54990598
PA
131112017-09-04 Pedro Alves <palves@redhat.com>
13112
13113 * gdb.base/callfuncs.exp (do_function_calls): New parameter
13114 "prototypes". Test calling float functions via prototyped and
13115 unprototyped function pointers.
13116 (perform_all_tests): New parameter "prototypes". Pass it down.
13117 (top level): Pass down "prototypes" parameter to
13118 perform_all_tests.
13119
34d16ea2
SM
131202017-09-04 Simon Marchi <simon.marchi@ericsson.com>
13121
13122 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
13123 Test with nested loops.
13124
9521ecda
SM
131252017-09-04 Simon Marchi <simon.marchi@ericsson.com>
13126
13127 * gdb.base/commands.exp: Call the new procedures.
13128 (loop_break_test, loop_continue_test): New procedures.
13129
80a65e9b
SM
131302017-09-04 Simon Marchi <simon.marchi@ericsson.com>
13131
13132 * gdb.base/commands.exp: Call new procedure.
13133 (define_if_without_arg_test): New procedure.
13134
e439fa14
PA
131352017-09-04 Pedro Alves <palves@redhat.com>
13136
13137 * gdb.base/list-ambiguous.exp: New file.
13138 * gdb.base/list-ambiguous0.c: New file.
13139 * gdb.base/list-ambiguous1.c: New file.
13140 * gdb.base/list.exp (test_list_range): Adjust expected output.
13141
0a2dde4a
SDJ
131422017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
13143
13144 * gdb.base/share-env-with-gdbserver.c: New file.
13145 * gdb.base/share-env-with-gdbserver.exp: Likewise.
13146
5e89eb3a
SM
131472017-08-28 Simon Marchi <simon.marchi@ericsson.com>
13148
13149 * gdb.base/commands.exp (gdbvar_simple_if_test,
13150 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
13151 progvar_simple_if_test, progvar_simple_while_test,
13152 progvar_complex_if_while_test, user_defined_command_test,
13153 user_defined_command_args_eval,
13154 user_defined_command_args_stack_test,
13155 user_defined_command_manyargs_test, bp_deleted_in_command_test,
13156 temporary_breakpoint_commands,
13157 gdb_test_no_prompt, redefine_hook_test,
13158 redefine_backtrace_test): Remove "global gdb_prompt".
13159
fd437cbc
SM
131602017-08-28 Simon Marchi <simon.marchi@ericsson.com>
13161
13162 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
13163 New proc, call it from toplevel.
13164
87215ad1
SDJ
131652017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
13166
13167 PR remote/21852
13168 * gdb.server/normal.c: New file, copied from gdb.base.
13169 * gdb.server/run-without-local-binary.exp: New file.
13170
58afddc6
WP
131712017-08-07 Weimin Pan <weimin.pan@oracle.com>
13172
13173 * gdb.arch/sparc64-adi.exp: New file.
13174 * gdb.arch/sparc64-adi.c: New file.
13175
5277199a
PA
131762017-08-22 Pedro Alves <palves@redhat.com>
13177
13178 * gdb.cp/overload.exp (line_range_pattern): New procedure.
13179 (top level): Add "list all overloads" tests.
13180
14278e1f
TT
131812017-08-22 Tom Tromey <tom@tromey.com>
13182
13183 * gdb.gdb/xfullpath.exp: Remove.
13184
bf223d3e
PA
131852017-08-21 Pedro Alves <palves@redhat.com>
13186
13187 PR gdb/19487
13188 * gdb.base/symbol-alias.c: New.
13189 * gdb.base/symbol-alias2.c: New.
13190 * gdb.base/symbol-alias.exp: New.
13191
c973d0aa
PA
131922017-08-21 Pedro Alves <palves@redhat.com>
13193
13194 * gdb.base/dfp-test.c
13195 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
13196 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
13197 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
13198 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
13199 * gdb.base/whatis-ptype-typedefs.c: New.
13200 * gdb.base/whatis-ptype-typedefs.exp: New.
13201 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
13202 (an_int, an_int_type, an_int_type2): New globals.
13203 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
13204 involving typedefs and cast expressions.
13205 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
13206 (lookup_typedefs_function): New.
13207 (typedefs_pretty_printers_dict): New.
13208 (top level): Register lookup_typedefs_function in
13209 gdb.pretty_printers.
13210
6d580b63
YQ
132112017-08-18 Yao Qi <yao.qi@linaro.org>
13212
13213 * gdb.server/unittest.exp: New.
13214
206726fb
SDJ
132152017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
13216
13217 PR gdb/21954
13218 * gdb.base/environ.exp: Add test to check if 'unset environment'
13219 works.
13220
bf0ec4c2
AA
132212017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13222
13223 * lib/gdb.exp (universal_compile_options): New caching proc.
13224 (gdb_compile): Suppress GCC's coloring of messages.
13225
d6382fff
TT
132262017-08-14 Tom Tromey <tom@tromey.com>
13227
13228 PR gdb/21675:
13229 * gdb.base/printcmds.exp (test_radices): New function.
13230 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
13231 * gdb.base/sizeof.exp (check_valueof): Use p/d.
13232 * lib/gdb.exp (get_integer_valueof): Use p/d.
13233
c2c2dd9f
SM
132342017-08-12 Simon Marchi <simon.marchi@ericsson.com>
13235
13236 * lib/gdb.exp (get_valueof): Don't capture end-of-line
13237 characters.
13238
fdffd6f4
TT
132392017-08-05 Tom Tromey <tom@tromey.com>
13240
13241 * gdb.rust/simple.exp: Allow String to appear in a different
13242 namespace.
13243
27d41eac
YQ
132442017-07-26 Yao Qi <yao.qi@linaro.org>
13245
13246 * gdb.gdb/unittest.exp: Invoke command
13247 "maintenance check xml-descriptions".
13248
031ed05d
AA
132492017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13250
13251 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
13252 calling context.
13253 (hex128): Drop erroneous calculation of parameters.
13254
dcd27ddf
SM
132552017-07-22 Simon Marchi <simon.marchi@ericsson.com>
13256
13257 * gdb.python/py-unwind.exp: Disable stack protection when
13258 building test file.
13259
47e77640
PA
132602017-07-20 Pedro Alves <palves@redhat.com>
13261
13262 * gdb.base/default.exp (set language): Adjust expected output.
13263
62d2a18a
PA
132642017-07-20 Pedro Alves <palves@redhat.com>
13265
13266 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
13267 (test_minsym): ... this, and make static.
13268 (get_pck__foo__bar__minsym): Rename to ...
13269 (get_test_minsym): ... this.
13270 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
13271 symbol names and comments.
13272 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
13273 (get_test_minsym): ... this.
13274 (pck__foo__bar__minsym__2): Rename to ...
13275 (test_minsym): ... this.
13276 (main): Adjust.
13277
c45ec17c
PA
132782017-07-17 Pedro Alves <palves@redhat.com>
13279
13280 * gdb.base/completion.exp: Adjust expected output.
13281 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
13282 the completer works.
13283
c6756f62
PA
132842017-07-17 Pedro Alves <palves@redhat.com>
13285
13286 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
13287
5bd68487
AB
132882017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
13289
13290 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
13291
8880f2a9
TT
132922017-07-14 Tom Tromey <tom@tromey.com>
13293
13294 PR rust/21764:
13295 * gdb.rust/simple.exp: Add tests.
13296
65547233
TT
132972017-07-14 Tom Tromey <tom@tromey.com>
13298
13299 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
13300
8f14146e
PA
133012017-07-14 Pedro Alves <palves@redhat.com>
13302
13303 * gdb.linespec/base/one/thefile.cc (z1): New function.
13304 * gdb.linespec/base/two/thefile.cc (z2): New function.
13305 * gdb.linespec/linespec.exp: Add tests.
13306
b4365d02
AB
133072017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
13308
13309 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
13310 to mi_create_breakpoint.
13311
5d2cbaa5
AB
133122017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
13313
13314 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
13315 mi_create_breakpoint.
13316
11cb5716
IB
133172017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
13318
13319 * gdb.dlang/demangle.exp: Update for demangling changes.
13320
03278692
TT
133212017-07-09 Tom Tromey <tom@tromey.com>
13322
13323 * gdb.dwarf2/shortpiece.exp: New file.
13324
33c5cd75
DB
133252017-07-06 David Blaikie <dblaikie@gmail.com>
13326
13327 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
13328 built from fissiont-multi-cu{1,2}.c.
13329 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
13330 except putting 'main' and 'func' in separate CUs in the same DWO file.
13331 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
13332 test.
13333 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
13334 test.
13335
8455d262
PA
133362017-07-06 Pedro Alves <palves@redhat.com>
13337
13338 * gdb.python/py-unwind.exp: Test flushregs.
13339
dc4bde35
SDJ
133402017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
13341
13342 PR cli/21688
13343 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
13344 tests for alias commands and trailing whitespace.
13345
51ed89aa
SDJ
133462017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
13347
13348 PR cli/21688
13349 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
13350 procedure. Call it.
13351
eb17d413
PA
133522017-06-29 Pedro Alves <palves@redhat.com>
13353
13354 * gdb.base/printcmds.exp: Add tests.
13355
41664b45
DG
133562017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
13357
13358 PR gdb/21337
13359 * gdb.base/reread-readsym.exp: New file.
13360 * gdb.base/reread-readsym.c: New file.
13361
75312ae3
KB
133622017-06-21 Kevin Buettner <kevinb@redhat.com>
13363
13364 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
13365 subpattern.
13366
66953522
PB
133672017-06-19 Peter Bergner <bergner@vnet.ibm.com>
13368
13369 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
13370 extended mnemonic.
13371 * gdb.arch/powerpc-power9.s: Likewise.
13372
5524b525
AA
133732017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13374
13375 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
13376 on 32-bit x86 targets. Exploit is_*_target macros where
13377 appropriate.
13378
03c8af18
AA
133792017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13380
13381 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
13382 register pieces.
13383
3bf31011
AA
133842017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13385
13386 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
13387 located in one or more DWARF pieces.
13388
805acca0
AA
133892017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13390
13391 * lib/gdb.exp (get_endianness): New proc.
13392 * gdb.arch/aarch64-fp.exp: Use it.
13393 * gdb.arch/altivec-regs.exp: Likewise.
13394 * gdb.arch/e500-regs.exp: Likewise.
13395 * gdb.arch/vsx-regs.exp: Likewise.
13396 * gdb.base/dump.exp: Likewise.
13397 * gdb.base/funcargs.exp: Likewise.
13398 * gdb.base/gnu_vector.exp: Likewise.
13399 * gdb.dwarf2/formdata16.exp: Likewise.
13400 * gdb.dwarf2/implptrpiece.exp: Likewise.
13401 * gdb.dwarf2/nonvar-access.exp: Likewise.
13402 * gdb.python/py-inferior.exp: Likewise.
13403 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
13404
e9352324
AA
134052017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13406
13407 PR gdb/21226
13408 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
13409 stack value pieces are taken from the LSB end.
13410
d5d1163e
AA
134112017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13412
13413 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
13414 variable at nonzero offset.
13415
0567c986
AA
134162017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13417
13418 * gdb.dwarf2/var-access.c: New file.
13419 * gdb.dwarf2/var-access.exp: New test.
13420 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
13421
973e9aab
TT
134222017-06-12 Tom Tromey <tom@tromey.com>
13423
13424 * gdb.dwarf2/formdata16.exp: Add tests.
13425
d9109c80
TT
134262017-06-12 Tom Tromey <tom@tromey.com>
13427
13428 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
13429
30a25466
TT
134302017-06-12 Tom Tromey <tom@tromey.com>
13431
13432 PR exp/16225:
13433 * gdb.reverse/i386-sse-reverse.exp: Update tests.
13434 * gdb.arch/vsx-regs.exp: Update tests.
13435 * gdb.arch/s390-vregs.exp (hex128): New proc.
13436 Update test.
13437 * gdb.arch/altivec-regs.exp: Update tests.
13438
aefd8b33
SDJ
134392017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
13440
13441 * gdb.base/startup-with-shell.c: New file.
13442 * gdb.base/startup-with-shell.exp: Likewise.
13443
2090129c
SDJ
134442017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
13445
13446 * gdb.server/non-existing-program.exp: Update regex in order to
13447 reflect the fact that gdbserver is now using fork_inferior (with a
13448 shell) to startup the inferior.
13449
8e86a419
SM
134502017-05-30 Simon Marchi <simon.marchi@ericsson.com>
13451
13452 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
13453 support function calls from GDB.
13454
e6cf65f2
TT
134552017-05-21 Tom Tromey <tom@tromey.com>
13456
13457 PR rust/21466:
13458 * gdb.rust/unsized.exp: New file.
13459 * gdb.rust/unsized.rs: New file.
13460
43cc5389
TT
134612017-05-19 Tom Tromey <tom@tromey.com>
13462
13463 PR rust/21484:
13464 * gdb.rust/watch.exp: New file.
13465 * gdb.rust/watch.rs: New file.
13466
ec8df234
TT
134672017-05-18 Tom Tromey <tom@tromey.com>
13468
13469 * gdb.rust/simple.exp: Allow Box to be qualified.
13470
3e3e7fae
TP
134712017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
13472
13473 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
13474
59cc050d
PA
134752017-05-18 Pedro Alves <palves@redhat.com>
13476
13477 * gdb.base/fileio.c (test_write, test_read, test_close)
13478 (test_fstat): Don't print 'ret' in the fail path.
13479
c8f6abd1
PA
134802017-05-18 Pedro Alves <palves@redhat.com>
13481
13482 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
13483 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
13484 (test_system, test_rename, test_unlink, test_time): Change
13485 prototypes.
13486 * gdb.base/fileio.exp (stop_msg): Adjust.
13487
d2a03b77
PA
134882017-05-18 Pedro Alves <palves@redhat.com>
13489
13490 * gdb.base/fileio.c (null_str): New global.
13491 (test_stat): Use it.
13492 * gdb.base/fileio.exp: Remove nowarnings.
13493
0d5c6999
YQ
134942017-05-17 Yao Qi <yao.qi@linaro.org>
13495
13496 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
13497
21873064
YQ
134982017-05-17 Simon Marchi <simon.marchi@ericsson.com>
13499
13500 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
13501 argument command.
13502 (top-level): Invoke test_set_inferior_tty.
13503
d512d31c
PA
135042017-05-04 Pedro Alves <palves@redhat.com>
13505
13506 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
13507 Add parens to print call for Python 3.
13508
90cef2ed
KS
135092017-05-03 Keith Seitz <keiths@redhat.com>
13510
13511 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
13512 (main): Call it.
13513
14f819c8
TW
135142017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13515
13516 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
13517 to prev and next.
13518
913aeadd
TW
135192017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13520
13521 * gdb.python/py-record-btrace.exp: Remove test for
13522 gdb.BtraceInstruction.error.
13523
a3be24ad
TW
135242017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13525
13526 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
13527
ae20e79a
TW
135282017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13529
13530 * gdb.python/py-record-btrace-threads.c: New file.
13531 * gdb.python/py-record-btrace-threads.exp: New file.
13532
45ce1b47
SDJ
135332017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
13534
13535 PR testsuite/8595
13536 * gdb.base/environ.exp: Make test available in all architectures.
13537 Move bits related to "info program" testing to
13538 gdb.base/info-program.exp. Rewrite tests to use the two new
13539 procedures mentione below.
13540 (test_set_show_env_var) New procedure.
13541 (test_set_show_env_var_equal): Likewise.
13542 * gdb.base/info-program.exp: New file.
13543
e15c3eb4
KS
135442017-04-27 Keith Seitz <keiths@redhat.com>
13545
13546 * gdb.cp/oranking.cc (test15): New function.
13547 (main): Call test15 and declare additional variables for testing.
13548 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
13549 "p foo101('abc')" tests.
13550 Add tests for cv qualifier overloads.
13551 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
13552 "lvalue reference overload" test.
13553 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
13554 "print value of f1 on Child&& in f2" test.
13555
3a3fd0fd
PA
135562017-04-19 Pedro Alves <palves@redhat.com>
13557
13558 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
13559 procedure.
13560 (top level): Call it.
13561 * lib/gdb.exp (gdb_define_cmd): New procedure.
13562
53375380
PA
135632017-04-12 Pedro Alves <palves@redhat.com>
13564
13565 PR gdb/21323
13566 * gdb.cp/wide_char_types.c: Include <wchar.h>.
13567 (wchar): New global.
13568 * gdb.cp/wide_char_types.exp (wide_char_types_program)
13569 (do_test_wide_char, wide_char_types_no_program, top level): Add
13570 wchar_t testing.
13571
53e710ac
PA
135722017-04-12 Pedro Alves <palves@redhat.com>
13573
13574 PR c++/21323
13575 * gdb.cp/wide_char_types.c: New file.
13576 * gdb.cp/wide_char_types.exp: New file.
13577
0ad9d8c7
SDJ
135782017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
13579
13580 PR gdb/21352
13581 * gdb.trace/tsv.exp: Add test for "tsave -r".
13582
b1b45502
IB
135832017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
13584
13585 * gdb.dlang/watch-loc.c: New file.
13586 * gdb.dlang/watch-loc.exp: New file.
13587
ec13808e
JK
135882017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13589
13590 * gdb.python/py-section-script.exp (sepdebug): New testcases.
13591
fe5f7374
AK
135922017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
13593
13594 * gdb.arch/arc-analyze-prologue.S: New file.
13595 * gdb.arch/arc-analyze-prologue.exp: Likewise.
13596
eea78757
AK
135972017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
13598
13599 * gdb.arch/arc-decode-insn.S: New file.
13600 * gdb.arch/arc-decode-insn.exp: Likewise.
13601
5badf10a
IR
136022017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
13603
13604 PR tdep/20928
13605 * gdb.arch/sparc64-regs.exp: New file.
13606 * gdb.arch/sparc64-regs.S: Likewise.
13607
cee59b3f
TW
136082017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
13609
13610 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
13611 and memory view on Python 3.
13612
c0f55cc6
AV
136132017-03-20 Artemiy Volkov <artemiyv@acm.org>
13614 Keith Seitz <keiths@redhat.com>
13615
13616 PR gdb/14441
13617 * gdb.cp/demangle.exp: Add rvalue reference tests.
13618 * gdb.cp/rvalue-ref-casts.cc: New file.
13619 * gdb.cp/rvalue-ref-casts.exp: New file.
13620 * gdb.cp/rvalue-ref-overload.cc: New file.
13621 * gdb.cp/rvalue-ref-overload.exp: New file.
13622 * gdb.cp/rvalue-ref-params.cc: New file.
13623 * gdb.cp/rvalue-ref-params.exp: New file.
13624 * gdb.cp/rvalue-ref-sizeof.cc: New file.
13625 * gdb.cp/rvalue-ref-sizeof.exp: New file.
13626 * gdb.cp/rvalue-ref-types.cc: New file.
13627 * gdb.cp/rvalue-ref-types.exp: New file.
13628 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
13629 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
13630
51457a05
MAL
136312017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
13632
13633 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
13634 New procedure.
13635
5b291c04
MAL
136362017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
13637
13638 * lib/mi-support.exp (mi_gdb_test): Add additional message
13639 for unexpected output.
13640
59a56148
AA
136412017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13642
13643 * gdb.base/examine-backward.c (Barrier): New character array
13644 constant, to ensure that TestStrings is preceded by a string
13645 terminator.
13646
7942e96e
AA
136472017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13648
13649 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
13650 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
13651 and implicit pointer into such a location.
13652
6ebac3fb
DE
136532017-03-16 Doug Evans <dje@google.com>
13654
13655 * gdb.python/py-lazy-string (pointer): Really add new typedef.
13656
ec3b243d
TP
136572017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
13658
13659 * gdb.cp/m-static.exp: Fix expectation for prototype of
13660 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
13661
136622017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
13663
13664 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
13665 * gdb.guile/scm-lazy-string.c: New file.
13666 * gdb.guile/scm-value.exp: Move lazy string tests to ...
13667 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
13668 for pointer, array, typedef lazy strings.
13669
2cc36e25 136702017-03-16 Doug Evans <dje@google.com>
34b43320
DE
13671
13672 PR python/17728, python/18439, python/18779
13673 * gdb.python/py-value.c (main) Delete locals sptr, sn.
13674 * gdb.python/py-lazy-string.c (pointer): New typedef.
13675 (main): New locals ptr, array, typedef_ptr.
13676 * gdb.python/py-value.exp: Move lazy string tests to ...
13677 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
13678 array, typedef lazy strings.
ec3b243d 13679
0efcde63
AK
136802017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
13681
13682 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
13683 Add optional 'test' parameter.
13684
7978d7c3
SM
136852017-03-13 Simon Marchi <simon.marchi@ericsson.com>
13686
13687 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13688 Skip for versions of DejaGnu < 1.5.
13689
896c0c1e
SM
136902017-03-13 Simon Marchi <simon.marchi@ericsson.com>
13691
13692 * lib/gdb.exp (dejagnu_version): New proc.
13693 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13694 Use dejagnu_version.
13695
5f4d1085
KS
136962017-03-10 Keith Seitz <keiths@redhat.com>
13697
13698 PR c++/8128
13699 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
13700 type from destructor regexps.
13701 Add a branch which actually passes the test.
13702 Adjust "ptype t5i" test names.
13703
1de05205
PA
137042017-03-08 Pedro Alves <palves@redhat.com>
13705
13706 * gdb.base/step-over-exit.exp: Add explicit test message.
13707
c65d6b55
PA
137082017-03-08 Pedro Alves <palves@redhat.com>
13709
13710 PR gdb/18360
13711 * gdb.threads/interrupt-while-step-over.c: New file.
13712 * gdb.threads/interrupt-while-step-over.exp: New file.
13713
2e86a283
PA
137142017-03-08 Pedro Alves <palves@redhat.com>
13715
13716 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
13717 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
13718
25dcbff6
PA
137192017-03-08 Pedro Alves <palves@redhat.com>
13720
13721 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
13722 PKRU as not supported as a PASS.
13723
dc9366eb
PA
137242017-03-08 Pedro Alves <palves@redhat.com>
13725
13726 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
13727 prefix instead of $binfile1/$binfile2.
13728 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
13729 in test message.
13730 * gdb.python/py-completion.exp: Use "load python file" as test
13731 messages instead of unstable path names.
13732
6e5d74e7
PA
137332017-03-08 Pedro Alves <palves@redhat.com>
13734 Jan Kratochvil <jan.kratochvil@redhat.com>
13735
13736 PR cli/21218
13737 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13738 New proc.
13739 (top level): Call it.
13740
9753a2f6
PA
137412017-03-08 Pedro Alves <palves@redhat.com>
13742
13743 PR tui/21216
13744 * gdb.tui/tui-nl-filtered-output.exp: New file.
13745
1a4dd9dd
PA
137462017-03-08 Pedro Alves <palves@redhat.com>
13747
13748 * gdb.base/completion.exp: Move TUI completion tests to ...
13749 * gdb.tui/completion.exp: ... this new file.
13750
7cbbff33
PA
137512017-03-08 Pedro Alves <palves@redhat.com>
13752
13753 * gdb.base/tui-disasm-long-lines.c,
13754 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
13755 gdb.base/tui-layout.exp: Move to ...
13756 * gdb.tui/: ... this new directory.
13757
5f6fd321
PA
137582017-03-07 Pedro Alves <palves@redhat.com>
13759
13760 * gdb.base/tui-layout.c: New file.
13761 * gdb.base/tui-layout.exp: New file.
13762
44959fa8
PA
137632017-03-07 Pedro Alves <palves@redhat.com>
13764
13765 * gdb.base/tui-layout.c: Rename to ...
13766 * gdb.base/tui-disasm-long-lines.c: ... this.
13767 * gdb.base/tui-layout.exp: Rename to ...
13768 * gdb.base/tui-disasm-long-lines.exp: ... this.
13769
f8c4e718
PA
137702017-03-07 Pedro Alves <palves@redhat.com>
13771
13772 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
13773
6dbb839a 137742017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
13775
13776 * i386-mpx-call.c: New file.
13777 * i386-mpx-call.exp: New file.
13778
65b48a81
PB
137792017-02-28 Peter Bergner <bergner@vnet.ibm.com>
13780
13781 * gdb.arch/powerpc-power.exp: Delete test.
13782 * gdb.arch/powerpc-power.s: Likewise.
13783 * gdb.disasm/disassembler-options.exp: New test.
13784 * gdb.arch/powerpc-altivec.exp: Likewise.
13785 * gdb.arch/powerpc-altivec.s: Likewise.
13786 * gdb.arch/powerpc-altivec2.exp: Likewise.
13787 * gdb.arch/powerpc-altivec2.s: Likewise.
13788 * gdb.arch/powerpc-altivec3.exp: Likewise.
13789 * gdb.arch/powerpc-altivec3.s: Likewise.
13790 * gdb.arch/powerpc-power7.exp: Likewise.
13791 * gdb.arch/powerpc-power7.s: Likewise.
13792 * gdb.arch/powerpc-power8.exp: Likewise.
13793 * gdb.arch/powerpc-power8.s: Likewise.
13794 * gdb.arch/powerpc-power9.exp: Likewise.
13795 * gdb.arch/powerpc-power9.s: Likewise.
13796 * gdb.arch/powerpc-vsx.exp: Likewise.
13797 * gdb.arch/powerpc-vsx.s: Likewise.
13798 * gdb.arch/powerpc-vsx2.exp: Likewise.
13799 * gdb.arch/powerpc-vsx2.s: Likewise.
13800 * gdb.arch/powerpc-vsx3.exp: Likewise.
13801 * gdb.arch/powerpc-vsx3.s: Likewise.
13802 * gdb.arch/arm-disassembler-options.exp: Likewise.
13803 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
13804 * gdb.arch/s390-disassembler-options.exp: Likewise.
13805
17cd4947
LM
138062017-02-23 Luis Machado <lgustavo@codesourcery.com>
13807
13808 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
13809 (check_supported_features): ... this. Changed return type to void.
13810 (supports_rdseed): New static global.
13811 (rdseed): Check supports_rdseed.
13812 (initialize): Call check_supported_features.
13813
2039d74e
EBM
138142017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13815
13816 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
13817 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
13818 and lqarx/stqcx.
13819 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
13820 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
13821
a51d7ecf
EBM
138222017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13823
13824 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
13825 uppercase.
13826
0224619f
JK
138272017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13828
13829 * gdb.dwarf2/formdata16.c: New file.
13830 * gdb.dwarf2/formdata16.exp: New file.
13831 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
13832
216f72a1
JK
138332017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13834
13835 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
13836 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
13837 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
13838 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
13839 DW_AT_GNU_*.
13840
43988095
JK
138412017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13842
13843 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
13844
99e8a4f9
SDJ
138452017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
13846
13847 PR gdb/21164
13848 * gdb.base/maint.exp: Add testcases for when the commands do
13849 not have arguments.
13850
b58a8c0c
TP
138512017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
13852
13853 * gdb.cp/chained-calls.exp: Use p instead of P.
13854
4e746bb6
TW
138552017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
13856
13857 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
13858 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
13859
3f77c769
TT
138602017-02-14 Tom Tromey <tom@tromey.com>
13861
13862 PR python/13598:
13863 * gdb.python/py-events.exp: Add before_prompt event tests.
13864
075beec0
AA
138652017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13866
13867 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
13868
bf5f525c
LM
138692017-02-13 Luis Machado <lgustavo@codesourcery.com>
13870
13871 * gdb.linespec/explicit.c (my_unique_function_name): New function.
13872 (main): Call my_unique_function_name.
13873 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
13874 completion of patterns with a single match.
13875 Add missing -re switches to gdb_test_multiple calls.
13876
13a66184
LM
138772017-02-13 Luis Machado <lgustavo@codesourcery.com>
13878
13879 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
13880 return if core file is not recognized.
13881
26a06916
SM
138822017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13883
13884 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
13885 and extra UIs.
13886
b761ca9e
SM
138872017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13888
13889 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
13890 proc_with_prefix.
13891
b964bee0
TT
138922017-02-10 Tom Tromey <tom@tromey.com>
13893
13894 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
13895
18da0c51
MG
138962017-02-10 Martin Galvan <martingalvan@sourceware.org>
13897
13898 PR gdb/21122
13899 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
13900
604c4576
JG
139012017-02-08 Jerome Guitton <guitton@adacore.com>
13902
13903 * gdb.base/define.exp: Add test for command abbreviations
13904 in define.
13905
20b477a7
LM
139062017-02-06 Luis Machado <lgustavo@codesourcery.com>
13907
13908 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
13909 * gdb.reverse/insn-reverse-x86.c: New file.
13910
3f7b46f2
IR
139112017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
13912
13913 PR tdep/20936
13914 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
13915
f0fd41c1
TT
139162017-02-03 Tom Tromey <tom@tromey.com>
13917
13918 PR rust/21097:
13919 * gdb.rust/simple.exp: Add new tests.
13920
5be5dbf0
PA
139212017-02-02 Pedro Alves <palves@redhat.com>
13922
13923 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
13924 tests.
13925
7346ef59
AA
139262017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13927
13928 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
13929 taking a 2-byte value out of a 4-byte DWARF implicit value on
13930 big-endian targets.
13931 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
13932 logic. Add test cases for DW_OP_implicit.
13933
787f0025
MM
139342017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13935
13936 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
13937
68777c29
MM
139382017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13939
13940 * gdb.btrace/enable.exp: Call gdb_exit before
13941 skip_gdbserver_tests.
13942
0a1c7e28
MM
139432017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13944
13945 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
13946 GDBFLAGS.
13947
b5ac99b0
MM
139482017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13949
13950 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
13951 the test is skipped.
13952 * gdb.btrace/data.exp: Likewise.
13953 * gdb.btrace/delta.exp: Likewise.
13954 * gdb.btrace/dlopen.exp: Likewise.
13955 * gdb.btrace/enable-running.exp: Likewise.
13956 * gdb.btrace/enable.exp: Likewise.
13957 * gdb.btrace/exception.exp: Likewise.
13958 * gdb.btrace/function_call_history.exp: Likewise.
13959 * gdb.btrace/gcore.exp: Likewise.
13960 * gdb.btrace/instruction_history.exp: Likewise.
13961 * gdb.btrace/multi-thread-step.exp: Likewise.
13962 * gdb.btrace/nohist.exp: Likewise.
13963 * gdb.btrace/non-stop.exp: Likewise.
13964 * gdb.btrace/reconnect.exp: Likewise.
13965 * gdb.btrace/record_goto-step.exp: Likewise.
13966 * gdb.btrace/record_goto.exp: Likewise.
13967 * gdb.btrace/rn-dl-bind.exp: Likewise.
13968 * gdb.btrace/segv.exp: Likewise.
13969 * gdb.btrace/step.exp: Likewise.
13970 * gdb.btrace/stepi.exp: Likewise.
13971 * gdb.btrace/tailcall-only.exp: Likewise.
13972 * gdb.btrace/tailcall.exp: Likewise.
13973 * gdb.btrace/tsx.exp: Likewise.
13974 * gdb.btrace/unknown_functions.exp: Likewise.
13975 * gdb.btrace/vdso.exp: Likewise.
13976
cd4007e4
MM
139772017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13978
13979 * gdb.btrace/enable-running.c: New.
13980 * gdb.btrace/enable-running.exp: New.
13981
2735833d
WT
139822017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
13983
13984 * gdb.arch/amd64-gs_base.c: New file.
13985 * gdb.arch/amd64-gs_base.exp: New file.
13986
b51e1e94
LM
139872017-01-26 Luis Machado <lgustavo@codesourcery.com>
13988
13989 * lib/memory.exp: Remove spurious empty newlines.
13990
72ca0410
SM
139912017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
13992
13993 * gdb.python/py-bad-printers.exp: Load python file using "source".
13994 * gdb.python/py-events.exp: Likewise.
13995 * gdb.python/py-evsignal.exp: Likewise.
13996 * gdb.python/py-evthreads.exp: Likewise.
13997 * gdb.python/py-frame-args.exp: Likewise.
13998 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
13999 * gdb.python/py-framefilter-mi.exp: Likewise.
14000 * gdb.python/py-framefilter.exp: Likewise.
14001 * gdb.python/py-mi.exp: Likewise.
14002 * gdb.python/py-pp-maint.exp: Likewise.
14003 * gdb.python/py-pp-registration.exp: Likewise.
14004 * gdb.python/py-prettyprint.exp: Likewise.
14005 (run_lang_tests): Likewise.
14006 * gdb.python/py-typeprint.exp: Likewise.
14007
e309aa65
LM
140082017-01-26 Luis Machado <lgustavo@codesourcery.com>
14009
14010 * lib/memory.exp: New file.
14011 * lib/gdb.exp: Load memory.exp.
14012 * gdb.base/memattr.exp (delete_memory): Move proc to
14013 lib/memory.exp and rename to delete_memory_regions.
14014 Replace delete_memory with delete_memory_regions.
14015 Cleanup memory regions before tests.
14016 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
14017 before tests.
14018
515aff23
LM
140192017-01-26 Luis Machado <lgustavo@codesourcery.com>
14020
14021 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
14022 files.
14023 (initialize): New function conditionally defined.
14024 (testcases): Move within conditional block.
14025 (main): Call initialize.
14026 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
14027 of gdb.reverse/insn-reverse.c.
14028 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
14029 gdb.reverse/insn-reverse.c.
14030
d8b49cf0
YQ
140312017-01-26 Yao Qi <yao.qi@linaro.org>
14032
14033 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
14034 disassemble on address 0.
14035
f13a9a0c
YQ
140362017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
14037 Yao Qi <yao.qi@linaro.org>
14038
14039 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
14040 * gdb.dwarf2/implptr-64bit.S: Remove.
14041 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
14042 variables in caller's context. Add DW_OP_implicit_value.
14043
5ac95241
YQ
140442017-01-25 Yao Qi <yao.qi@linaro.org>
14045
14046 * lib/dwarf.exp (Dwarf::_location): Handle
14047 DW_OP_GNU_implicit_pointer with proper size.
14048
23e82930
LM
140492017-01-20 Luis Machado <lgustavo@codesourcery.com>
14050
14051 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
14052 and add untested calls.
14053
d334ae25
LM
140542017-01-20 Luis Machado <lgustavo@codesourcery.com>
14055
14056 * gdb.python/python.exp: Check line number against what GDB thinks
14057 the line number is for func1.
14058
f5e6296e
IB
140592017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
14060
14061 * gdb.dlang/debug-expr.exp: New file.
14062
5b362f04
LM
140632016-12-23 Luis Machado <lgustavo@codesourcery.com>
14064
14065 Fix test names for the following files:
14066
14067 * gdb.ada/exec_changed.exp
14068 * gdb.ada/info_types.exp
14069 * gdb.arch/aarch64-atomic-inst.exp
14070 * gdb.arch/aarch64-fp.exp
14071 * gdb.arch/altivec-abi.exp
14072 * gdb.arch/altivec-regs.exp
14073 * gdb.arch/amd64-byte.exp
14074 * gdb.arch/amd64-disp-step.exp
14075 * gdb.arch/amd64-dword.exp
14076 * gdb.arch/amd64-entry-value-inline.exp
14077 * gdb.arch/amd64-entry-value-param.exp
14078 * gdb.arch/amd64-entry-value-paramref.exp
14079 * gdb.arch/amd64-entry-value.exp
14080 * gdb.arch/amd64-i386-address.exp
14081 * gdb.arch/amd64-invalid-stack-middle.exp
14082 * gdb.arch/amd64-invalid-stack-top.exp
14083 * gdb.arch/amd64-optimout-repeat.exp
14084 * gdb.arch/amd64-prologue-skip.exp
14085 * gdb.arch/amd64-prologue-xmm.exp
14086 * gdb.arch/amd64-stap-special-operands.exp
14087 * gdb.arch/amd64-stap-wrong-subexp.exp
14088 * gdb.arch/amd64-tailcall-cxx.exp
14089 * gdb.arch/amd64-tailcall-noret.exp
14090 * gdb.arch/amd64-tailcall-ret.exp
14091 * gdb.arch/amd64-tailcall-self.exp
14092 * gdb.arch/amd64-word.exp
14093 * gdb.arch/arm-bl-branch-dest.exp
14094 * gdb.arch/arm-disp-step.exp
14095 * gdb.arch/arm-neon.exp
14096 * gdb.arch/arm-single-step-kernel-helper.exp
14097 * gdb.arch/avr-flash-qualifier.exp
14098 * gdb.arch/disp-step-insn-reloc.exp
14099 * gdb.arch/e500-abi.exp
14100 * gdb.arch/e500-regs.exp
14101 * gdb.arch/ftrace-insn-reloc.exp
14102 * gdb.arch/i386-avx512.exp
14103 * gdb.arch/i386-bp_permanent.exp
14104 * gdb.arch/i386-byte.exp
14105 * gdb.arch/i386-cfi-notcurrent.exp
14106 * gdb.arch/i386-disp-step.exp
14107 * gdb.arch/i386-dr3-watch.exp
14108 * gdb.arch/i386-float.exp
14109 * gdb.arch/i386-gnu-cfi.exp
14110 * gdb.arch/i386-mpx-map.exp
14111 * gdb.arch/i386-mpx-sigsegv.exp
14112 * gdb.arch/i386-mpx-simple_segv.exp
14113 * gdb.arch/i386-mpx.exp
14114 * gdb.arch/i386-permbkpt.exp
14115 * gdb.arch/i386-prologue.exp
14116 * gdb.arch/i386-signal.exp
14117 * gdb.arch/i386-size-overlap.exp
14118 * gdb.arch/i386-unwind.exp
14119 * gdb.arch/i386-word.exp
14120 * gdb.arch/mips-fcr.exp
14121 * gdb.arch/powerpc-d128-regs.exp
14122 * gdb.arch/powerpc-stackless.exp
14123 * gdb.arch/ppc64-atomic-inst.exp
14124 * gdb.arch/s390-stackless.exp
14125 * gdb.arch/s390-tdbregs.exp
14126 * gdb.arch/s390-vregs.exp
14127 * gdb.arch/sparc-sysstep.exp
14128 * gdb.arch/thumb-bx-pc.exp
14129 * gdb.arch/thumb-singlestep.exp
14130 * gdb.arch/thumb2-it.exp
14131 * gdb.arch/vsx-regs.exp
14132 * gdb.asm/asm-source.exp
14133 * gdb.base/a2-run.exp
14134 * gdb.base/advance.exp
14135 * gdb.base/all-bin.exp
14136 * gdb.base/anon.exp
14137 * gdb.base/args.exp
14138 * gdb.base/arithmet.exp
14139 * gdb.base/async-shell.exp
14140 * gdb.base/async.exp
14141 * gdb.base/attach-pie-noexec.exp
14142 * gdb.base/attach-twice.exp
14143 * gdb.base/auto-load.exp
14144 * gdb.base/bang.exp
14145 * gdb.base/bitfields.exp
14146 * gdb.base/break-always.exp
14147 * gdb.base/break-caller-line.exp
14148 * gdb.base/break-entry.exp
14149 * gdb.base/break-inline.exp
14150 * gdb.base/break-on-linker-gcd-function.exp
14151 * gdb.base/break-probes.exp
14152 * gdb.base/break.exp
14153 * gdb.base/breakpoint-shadow.exp
14154 * gdb.base/call-ar-st.exp
14155 * gdb.base/call-sc.exp
14156 * gdb.base/call-signal-resume.exp
14157 * gdb.base/call-strs.exp
14158 * gdb.base/callfuncs.exp
14159 * gdb.base/catch-fork-static.exp
14160 * gdb.base/catch-gdb-caused-signals.exp
14161 * gdb.base/catch-load.exp
14162 * gdb.base/catch-signal-fork.exp
14163 * gdb.base/catch-signal.exp
14164 * gdb.base/catch-syscall.exp
14165 * gdb.base/charset.exp
14166 * gdb.base/checkpoint.exp
14167 * gdb.base/chng-syms.exp
14168 * gdb.base/code-expr.exp
14169 * gdb.base/code_elim.exp
14170 * gdb.base/commands.exp
14171 * gdb.base/completion.exp
14172 * gdb.base/complex.exp
14173 * gdb.base/cond-expr.exp
14174 * gdb.base/condbreak.exp
14175 * gdb.base/consecutive.exp
14176 * gdb.base/continue-all-already-running.exp
14177 * gdb.base/coredump-filter.exp
14178 * gdb.base/corefile.exp
14179 * gdb.base/dbx.exp
14180 * gdb.base/debug-expr.exp
14181 * gdb.base/define.exp
14182 * gdb.base/del.exp
14183 * gdb.base/disabled-location.exp
14184 * gdb.base/disasm-end-cu.exp
14185 * gdb.base/disasm-optim.exp
14186 * gdb.base/display.exp
14187 * gdb.base/duplicate-bp.exp
14188 * gdb.base/ena-dis-br.exp
14189 * gdb.base/ending-run.exp
14190 * gdb.base/enumval.exp
14191 * gdb.base/environ.exp
14192 * gdb.base/eu-strip-infcall.exp
14193 * gdb.base/eval-avoid-side-effects.exp
14194 * gdb.base/eval-skip.exp
14195 * gdb.base/exitsignal.exp
14196 * gdb.base/expand-psymtabs.exp
14197 * gdb.base/filesym.exp
14198 * gdb.base/find-unmapped.exp
14199 * gdb.base/finish.exp
14200 * gdb.base/float.exp
14201 * gdb.base/foll-exec-mode.exp
14202 * gdb.base/foll-exec.exp
14203 * gdb.base/foll-fork.exp
14204 * gdb.base/fortran-sym-case.exp
14205 * gdb.base/freebpcmd.exp
14206 * gdb.base/func-ptr.exp
14207 * gdb.base/func-ptrs.exp
14208 * gdb.base/funcargs.exp
14209 * gdb.base/gcore-buffer-overflow.exp
14210 * gdb.base/gcore-relro-pie.exp
14211 * gdb.base/gcore-relro.exp
14212 * gdb.base/gcore.exp
14213 * gdb.base/gdb1090.exp
14214 * gdb.base/gdb11530.exp
14215 * gdb.base/gdb11531.exp
14216 * gdb.base/gdb1821.exp
14217 * gdb.base/gdbindex-stabs.exp
14218 * gdb.base/gdbvars.exp
14219 * gdb.base/hbreak.exp
14220 * gdb.base/hbreak2.exp
14221 * gdb.base/included.exp
14222 * gdb.base/infcall-input.exp
14223 * gdb.base/inferior-died.exp
14224 * gdb.base/infnan.exp
14225 * gdb.base/info-macros.exp
14226 * gdb.base/info-os.exp
14227 * gdb.base/info-proc.exp
14228 * gdb.base/info-shared.exp
14229 * gdb.base/info-target.exp
14230 * gdb.base/infoline.exp
14231 * gdb.base/interp.exp
14232 * gdb.base/interrupt.exp
14233 * gdb.base/jit-reader.exp
14234 * gdb.base/jit-simple.exp
14235 * gdb.base/kill-after-signal.exp
14236 * gdb.base/kill-detach-inferiors-cmd.exp
14237 * gdb.base/label.exp
14238 * gdb.base/langs.exp
14239 * gdb.base/ldbl_e308.exp
14240 * gdb.base/line-symtabs.exp
14241 * gdb.base/linespecs.exp
14242 * gdb.base/list.exp
14243 * gdb.base/long_long.exp
14244 * gdb.base/longest-types.exp
14245 * gdb.base/maint.exp
14246 * gdb.base/max-value-size.exp
14247 * gdb.base/memattr.exp
14248 * gdb.base/mips_pro.exp
14249 * gdb.base/morestack.exp
14250 * gdb.base/moribund-step.exp
14251 * gdb.base/multi-forks.exp
14252 * gdb.base/nested-addr.exp
14253 * gdb.base/nextoverexit.exp
14254 * gdb.base/noreturn-finish.exp
14255 * gdb.base/noreturn-return.exp
14256 * gdb.base/nostdlib.exp
14257 * gdb.base/offsets.exp
14258 * gdb.base/opaque.exp
14259 * gdb.base/pc-fp.exp
14260 * gdb.base/permissions.exp
14261 * gdb.base/print-symbol-loading.exp
14262 * gdb.base/prologue-include.exp
14263 * gdb.base/psymtab.exp
14264 * gdb.base/ptype.exp
14265 * gdb.base/random-signal.exp
14266 * gdb.base/randomize.exp
14267 * gdb.base/range-stepping.exp
14268 * gdb.base/readline-ask.exp
14269 * gdb.base/recpar.exp
14270 * gdb.base/recurse.exp
14271 * gdb.base/relational.exp
14272 * gdb.base/restore.exp
14273 * gdb.base/return-nodebug.exp
14274 * gdb.base/return.exp
14275 * gdb.base/run-after-attach.exp
14276 * gdb.base/save-bp.exp
14277 * gdb.base/scope.exp
14278 * gdb.base/sect-cmd.exp
14279 * gdb.base/set-lang-auto.exp
14280 * gdb.base/set-noassign.exp
14281 * gdb.base/setvar.exp
14282 * gdb.base/sigall.exp
14283 * gdb.base/sigbpt.exp
14284 * gdb.base/siginfo-addr.exp
14285 * gdb.base/siginfo-infcall.exp
14286 * gdb.base/siginfo-obj.exp
14287 * gdb.base/siginfo.exp
14288 * gdb.base/signals-state-child.exp
14289 * gdb.base/signest.exp
14290 * gdb.base/sigstep.exp
14291 * gdb.base/sizeof.exp
14292 * gdb.base/skip.exp
14293 * gdb.base/solib-corrupted.exp
14294 * gdb.base/solib-nodir.exp
14295 * gdb.base/solib-search.exp
14296 * gdb.base/stack-checking.exp
14297 * gdb.base/stale-infcall.exp
14298 * gdb.base/stap-probe.exp
14299 * gdb.base/start.exp
14300 * gdb.base/step-break.exp
14301 * gdb.base/step-bt.exp
14302 * gdb.base/step-line.exp
14303 * gdb.base/step-over-exit.exp
14304 * gdb.base/step-over-syscall.exp
14305 * gdb.base/step-resume-infcall.exp
14306 * gdb.base/step-test.exp
14307 * gdb.base/store.exp
14308 * gdb.base/structs3.exp
14309 * gdb.base/sym-file.exp
14310 * gdb.base/symbol-without-target_section.exp
14311 * gdb.base/term.exp
14312 * gdb.base/testenv.exp
14313 * gdb.base/ui-redirect.exp
14314 * gdb.base/until.exp
14315 * gdb.base/unwindonsignal.exp
14316 * gdb.base/value-double-free.exp
14317 * gdb.base/vla-datatypes.exp
14318 * gdb.base/vla-ptr.exp
14319 * gdb.base/vla-sideeffect.exp
14320 * gdb.base/volatile.exp
14321 * gdb.base/watch-cond-infcall.exp
14322 * gdb.base/watch-cond.exp
14323 * gdb.base/watch-non-mem.exp
14324 * gdb.base/watch-read.exp
14325 * gdb.base/watch-vfork.exp
14326 * gdb.base/watchpoint-cond-gone.exp
14327 * gdb.base/watchpoint-delete.exp
14328 * gdb.base/watchpoint-hw-hit-once.exp
14329 * gdb.base/watchpoint-hw.exp
14330 * gdb.base/watchpoint-stops-at-right-insn.exp
14331 * gdb.base/watchpoints.exp
14332 * gdb.base/wchar.exp
14333 * gdb.base/whatis-exp.exp
14334 * gdb.btrace/buffer-size.exp
14335 * gdb.btrace/data.exp
14336 * gdb.btrace/delta.exp
14337 * gdb.btrace/dlopen.exp
14338 * gdb.btrace/enable.exp
14339 * gdb.btrace/exception.exp
14340 * gdb.btrace/function_call_history.exp
14341 * gdb.btrace/gcore.exp
14342 * gdb.btrace/instruction_history.exp
14343 * gdb.btrace/nohist.exp
14344 * gdb.btrace/reconnect.exp
14345 * gdb.btrace/record_goto-step.exp
14346 * gdb.btrace/record_goto.exp
14347 * gdb.btrace/rn-dl-bind.exp
14348 * gdb.btrace/segv.exp
14349 * gdb.btrace/step.exp
14350 * gdb.btrace/stepi.exp
14351 * gdb.btrace/tailcall-only.exp
14352 * gdb.btrace/tailcall.exp
14353 * gdb.btrace/tsx.exp
14354 * gdb.btrace/unknown_functions.exp
14355 * gdb.btrace/vdso.exp
14356 * gdb.compile/compile-ifunc.exp
14357 * gdb.compile/compile-ops.exp
14358 * gdb.compile/compile-print.exp
14359 * gdb.compile/compile-setjmp.exp
14360 * gdb.cp/abstract-origin.exp
14361 * gdb.cp/ambiguous.exp
14362 * gdb.cp/annota2.exp
14363 * gdb.cp/annota3.exp
14364 * gdb.cp/anon-ns.exp
14365 * gdb.cp/anon-struct.exp
14366 * gdb.cp/anon-union.exp
14367 * gdb.cp/arg-reference.exp
14368 * gdb.cp/baseenum.exp
14369 * gdb.cp/bool.exp
14370 * gdb.cp/breakpoint.exp
14371 * gdb.cp/bs15503.exp
14372 * gdb.cp/call-c.exp
14373 * gdb.cp/casts.exp
14374 * gdb.cp/chained-calls.exp
14375 * gdb.cp/class2.exp
14376 * gdb.cp/classes.exp
14377 * gdb.cp/cmpd-minsyms.exp
14378 * gdb.cp/converts.exp
14379 * gdb.cp/cp-relocate.exp
14380 * gdb.cp/cpcompletion.exp
14381 * gdb.cp/cpexprs.exp
14382 * gdb.cp/cplabel.exp
14383 * gdb.cp/cplusfuncs.exp
14384 * gdb.cp/cpsizeof.exp
14385 * gdb.cp/ctti.exp
14386 * gdb.cp/derivation.exp
14387 * gdb.cp/destrprint.exp
14388 * gdb.cp/dispcxx.exp
14389 * gdb.cp/enum-class.exp
14390 * gdb.cp/exception.exp
14391 * gdb.cp/exceptprint.exp
14392 * gdb.cp/expand-psymtabs-cxx.exp
14393 * gdb.cp/expand-sals.exp
14394 * gdb.cp/extern-c.exp
14395 * gdb.cp/filename.exp
14396 * gdb.cp/formatted-ref.exp
14397 * gdb.cp/fpointer.exp
14398 * gdb.cp/gdb1355.exp
14399 * gdb.cp/gdb2495.exp
14400 * gdb.cp/hang.exp
14401 * gdb.cp/impl-this.exp
14402 * gdb.cp/infcall-dlopen.exp
14403 * gdb.cp/inherit.exp
14404 * gdb.cp/iostream.exp
14405 * gdb.cp/koenig.exp
14406 * gdb.cp/local.exp
14407 * gdb.cp/m-data.exp
14408 * gdb.cp/m-static.exp
14409 * gdb.cp/mb-ctor.exp
14410 * gdb.cp/mb-inline.exp
14411 * gdb.cp/mb-templates.exp
14412 * gdb.cp/member-name.exp
14413 * gdb.cp/member-ptr.exp
14414 * gdb.cp/meth-typedefs.exp
14415 * gdb.cp/method.exp
14416 * gdb.cp/method2.exp
14417 * gdb.cp/minsym-fallback.exp
14418 * gdb.cp/misc.exp
14419 * gdb.cp/namelessclass.exp
14420 * gdb.cp/namespace-enum.exp
14421 * gdb.cp/namespace-nested-import.exp
14422 * gdb.cp/namespace.exp
14423 * gdb.cp/nextoverthrow.exp
14424 * gdb.cp/no-dmgl-verbose.exp
14425 * gdb.cp/non-trivial-retval.exp
14426 * gdb.cp/noparam.exp
14427 * gdb.cp/nsdecl.exp
14428 * gdb.cp/nsimport.exp
14429 * gdb.cp/nsnested.exp
14430 * gdb.cp/nsnoimports.exp
14431 * gdb.cp/nsrecurs.exp
14432 * gdb.cp/nsstress.exp
14433 * gdb.cp/nsusing.exp
14434 * gdb.cp/operator.exp
14435 * gdb.cp/oranking.exp
14436 * gdb.cp/overload-const.exp
14437 * gdb.cp/overload.exp
14438 * gdb.cp/ovldbreak.exp
14439 * gdb.cp/ovsrch.exp
14440 * gdb.cp/paren-type.exp
14441 * gdb.cp/parse-lang.exp
14442 * gdb.cp/pass-by-ref.exp
14443 * gdb.cp/pr-1023.exp
14444 * gdb.cp/pr-1210.exp
14445 * gdb.cp/pr-574.exp
14446 * gdb.cp/pr10687.exp
14447 * gdb.cp/pr12028.exp
14448 * gdb.cp/pr17132.exp
14449 * gdb.cp/pr17494.exp
14450 * gdb.cp/pr9067.exp
14451 * gdb.cp/pr9167.exp
14452 * gdb.cp/pr9631.exp
14453 * gdb.cp/printmethod.exp
14454 * gdb.cp/psmang.exp
14455 * gdb.cp/psymtab-parameter.exp
14456 * gdb.cp/ptype-cv-cp.exp
14457 * gdb.cp/ptype-flags.exp
14458 * gdb.cp/re-set-overloaded.exp
14459 * gdb.cp/ref-types.exp
14460 * gdb.cp/rtti.exp
14461 * gdb.cp/scope-err.exp
14462 * gdb.cp/shadow.exp
14463 * gdb.cp/smartp.exp
14464 * gdb.cp/static-method.exp
14465 * gdb.cp/static-print-quit.exp
14466 * gdb.cp/temargs.exp
14467 * gdb.cp/templates.exp
14468 * gdb.cp/try_catch.exp
14469 * gdb.cp/typedef-operator.exp
14470 * gdb.cp/typeid.exp
14471 * gdb.cp/userdef.exp
14472 * gdb.cp/using-crash.exp
14473 * gdb.cp/var-tag.exp
14474 * gdb.cp/virtbase.exp
14475 * gdb.cp/virtfunc.exp
14476 * gdb.cp/virtfunc2.exp
14477 * gdb.cp/vla-cxx.exp
14478 * gdb.disasm/t01_mov.exp
14479 * gdb.disasm/t02_mova.exp
14480 * gdb.disasm/t03_add.exp
14481 * gdb.disasm/t04_sub.exp
14482 * gdb.disasm/t05_cmp.exp
14483 * gdb.disasm/t06_ari2.exp
14484 * gdb.disasm/t07_ari3.exp
14485 * gdb.disasm/t08_or.exp
14486 * gdb.disasm/t09_xor.exp
14487 * gdb.disasm/t10_and.exp
14488 * gdb.disasm/t11_logs.exp
14489 * gdb.disasm/t12_bit.exp
14490 * gdb.disasm/t13_otr.exp
14491 * gdb.dlang/circular.exp
14492 * gdb.dwarf2/arr-stride.exp
14493 * gdb.dwarf2/arr-subrange.exp
14494 * gdb.dwarf2/atomic-type.exp
14495 * gdb.dwarf2/bad-regnum.exp
14496 * gdb.dwarf2/bitfield-parent-optimized-out.exp
14497 * gdb.dwarf2/callframecfa.exp
14498 * gdb.dwarf2/clztest.exp
14499 * gdb.dwarf2/corrupt.exp
14500 * gdb.dwarf2/data-loc.exp
14501 * gdb.dwarf2/dup-psym.exp
14502 * gdb.dwarf2/dw2-anon-mptr.exp
14503 * gdb.dwarf2/dw2-anonymous-func.exp
14504 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
14505 * gdb.dwarf2/dw2-bad-unresolved.exp
14506 * gdb.dwarf2/dw2-basic.exp
14507 * gdb.dwarf2/dw2-canonicalize-type.exp
14508 * gdb.dwarf2/dw2-case-insensitive.exp
14509 * gdb.dwarf2/dw2-common-block.exp
14510 * gdb.dwarf2/dw2-compdir-oldgcc.exp
14511 * gdb.dwarf2/dw2-compressed.exp
14512 * gdb.dwarf2/dw2-const.exp
14513 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
14514 * gdb.dwarf2/dw2-cu-size.exp
14515 * gdb.dwarf2/dw2-dup-frame.exp
14516 * gdb.dwarf2/dw2-entry-value.exp
14517 * gdb.dwarf2/dw2-icycle.exp
14518 * gdb.dwarf2/dw2-ifort-parameter.exp
14519 * gdb.dwarf2/dw2-inline-break.exp
14520 * gdb.dwarf2/dw2-inline-param.exp
14521 * gdb.dwarf2/dw2-intercu.exp
14522 * gdb.dwarf2/dw2-intermix.exp
14523 * gdb.dwarf2/dw2-lexical-block-bare.exp
14524 * gdb.dwarf2/dw2-linkage-name-trust.exp
14525 * gdb.dwarf2/dw2-minsym-in-cu.exp
14526 * gdb.dwarf2/dw2-noloc.exp
14527 * gdb.dwarf2/dw2-op-call.exp
14528 * gdb.dwarf2/dw2-op-out-param.exp
14529 * gdb.dwarf2/dw2-opt-structptr.exp
14530 * gdb.dwarf2/dw2-param-error.exp
14531 * gdb.dwarf2/dw2-producer.exp
14532 * gdb.dwarf2/dw2-ranges-base.exp
14533 * gdb.dwarf2/dw2-ref-missing-frame.exp
14534 * gdb.dwarf2/dw2-reg-undefined.exp
14535 * gdb.dwarf2/dw2-regno-invalid.exp
14536 * gdb.dwarf2/dw2-restore.exp
14537 * gdb.dwarf2/dw2-restrict.exp
14538 * gdb.dwarf2/dw2-single-line-discriminators.exp
14539 * gdb.dwarf2/dw2-strp.exp
14540 * gdb.dwarf2/dw2-undefined-ret-addr.exp
14541 * gdb.dwarf2/dw2-unresolved.exp
14542 * gdb.dwarf2/dw2-var-zero-addr.exp
14543 * gdb.dwarf2/dw4-sig-types.exp
14544 * gdb.dwarf2/dwz.exp
14545 * gdb.dwarf2/dynarr-ptr.exp
14546 * gdb.dwarf2/enum-type.exp
14547 * gdb.dwarf2/gdb-index.exp
14548 * gdb.dwarf2/implptr-64bit.exp
14549 * gdb.dwarf2/implptr-optimized-out.exp
14550 * gdb.dwarf2/implptr.exp
14551 * gdb.dwarf2/implref-array.exp
14552 * gdb.dwarf2/implref-const.exp
14553 * gdb.dwarf2/implref-global.exp
14554 * gdb.dwarf2/implref-struct.exp
14555 * gdb.dwarf2/mac-fileno.exp
14556 * gdb.dwarf2/main-subprogram.exp
14557 * gdb.dwarf2/member-ptr-forwardref.exp
14558 * gdb.dwarf2/method-ptr.exp
14559 * gdb.dwarf2/missing-sig-type.exp
14560 * gdb.dwarf2/nonvar-access.exp
14561 * gdb.dwarf2/opaque-type-lookup.exp
14562 * gdb.dwarf2/pieces-optimized-out.exp
14563 * gdb.dwarf2/pieces.exp
14564 * gdb.dwarf2/pr10770.exp
14565 * gdb.dwarf2/pr13961.exp
14566 * gdb.dwarf2/staticvirtual.exp
14567 * gdb.dwarf2/subrange.exp
14568 * gdb.dwarf2/symtab-producer.exp
14569 * gdb.dwarf2/trace-crash.exp
14570 * gdb.dwarf2/typeddwarf.exp
14571 * gdb.dwarf2/valop.exp
14572 * gdb.dwarf2/watch-notconst.exp
14573 * gdb.fortran/array-element.exp
14574 * gdb.fortran/charset.exp
14575 * gdb.fortran/common-block.exp
14576 * gdb.fortran/complex.exp
14577 * gdb.fortran/derived-type-function.exp
14578 * gdb.fortran/derived-type.exp
14579 * gdb.fortran/logical.exp
14580 * gdb.fortran/module.exp
14581 * gdb.fortran/multi-dim.exp
14582 * gdb.fortran/nested-funcs.exp
14583 * gdb.fortran/print-formatted.exp
14584 * gdb.fortran/subarray.exp
14585 * gdb.fortran/vla-alloc-assoc.exp
14586 * gdb.fortran/vla-datatypes.exp
14587 * gdb.fortran/vla-history.exp
14588 * gdb.fortran/vla-ptr-info.exp
14589 * gdb.fortran/vla-ptype-sub.exp
14590 * gdb.fortran/vla-ptype.exp
14591 * gdb.fortran/vla-sizeof.exp
14592 * gdb.fortran/vla-type.exp
14593 * gdb.fortran/vla-value-sub-arbitrary.exp
14594 * gdb.fortran/vla-value-sub-finish.exp
14595 * gdb.fortran/vla-value-sub.exp
14596 * gdb.fortran/vla-value.exp
14597 * gdb.fortran/whatis_type.exp
14598 * gdb.go/chan.exp
14599 * gdb.go/handcall.exp
14600 * gdb.go/hello.exp
14601 * gdb.go/integers.exp
14602 * gdb.go/methods.exp
14603 * gdb.go/package.exp
14604 * gdb.go/strings.exp
14605 * gdb.go/types.exp
14606 * gdb.go/unsafe.exp
14607 * gdb.guile/scm-arch.exp
14608 * gdb.guile/scm-block.exp
14609 * gdb.guile/scm-breakpoint.exp
14610 * gdb.guile/scm-cmd.exp
14611 * gdb.guile/scm-disasm.exp
14612 * gdb.guile/scm-equal.exp
14613 * gdb.guile/scm-frame-args.exp
14614 * gdb.guile/scm-frame-inline.exp
14615 * gdb.guile/scm-frame.exp
14616 * gdb.guile/scm-iterator.exp
14617 * gdb.guile/scm-math.exp
14618 * gdb.guile/scm-objfile.exp
14619 * gdb.guile/scm-ports.exp
14620 * gdb.guile/scm-symbol.exp
14621 * gdb.guile/scm-symtab.exp
14622 * gdb.guile/scm-value-cc.exp
14623 * gdb.guile/types-module.exp
14624 * gdb.linespec/break-ask.exp
14625 * gdb.linespec/cpexplicit.exp
14626 * gdb.linespec/explicit.exp
14627 * gdb.linespec/keywords.exp
14628 * gdb.linespec/linespec.exp
14629 * gdb.linespec/ls-dollar.exp
14630 * gdb.linespec/ls-errs.exp
14631 * gdb.linespec/skip-two.exp
14632 * gdb.linespec/thread.exp
14633 * gdb.mi/mi-async.exp
14634 * gdb.mi/mi-basics.exp
14635 * gdb.mi/mi-break.exp
14636 * gdb.mi/mi-catch-load.exp
14637 * gdb.mi/mi-cli.exp
14638 * gdb.mi/mi-cmd-param-changed.exp
14639 * gdb.mi/mi-console.exp
14640 * gdb.mi/mi-detach.exp
14641 * gdb.mi/mi-disassemble.exp
14642 * gdb.mi/mi-eval.exp
14643 * gdb.mi/mi-file-transfer.exp
14644 * gdb.mi/mi-file.exp
14645 * gdb.mi/mi-fill-memory.exp
14646 * gdb.mi/mi-inheritance-syntax-error.exp
14647 * gdb.mi/mi-linespec-err-cp.exp
14648 * gdb.mi/mi-logging.exp
14649 * gdb.mi/mi-memory-changed.exp
14650 * gdb.mi/mi-read-memory.exp
14651 * gdb.mi/mi-record-changed.exp
14652 * gdb.mi/mi-reg-undefined.exp
14653 * gdb.mi/mi-regs.exp
14654 * gdb.mi/mi-return.exp
14655 * gdb.mi/mi-reverse.exp
14656 * gdb.mi/mi-simplerun.exp
14657 * gdb.mi/mi-solib.exp
14658 * gdb.mi/mi-stack.exp
14659 * gdb.mi/mi-stepi.exp
14660 * gdb.mi/mi-syn-frame.exp
14661 * gdb.mi/mi-until.exp
14662 * gdb.mi/mi-var-block.exp
14663 * gdb.mi/mi-var-child.exp
14664 * gdb.mi/mi-var-cmd.exp
14665 * gdb.mi/mi-var-cp.exp
14666 * gdb.mi/mi-var-display.exp
14667 * gdb.mi/mi-var-invalidate.exp
14668 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
14669 * gdb.mi/mi-vla-fortran.exp
14670 * gdb.mi/mi-watch.exp
14671 * gdb.mi/mi2-var-child.exp
14672 * gdb.mi/user-selected-context-sync.exp
14673 * gdb.modula2/unbounded-array.exp
14674 * gdb.multi/dummy-frame-restore.exp
14675 * gdb.multi/multi-arch-exec.exp
14676 * gdb.multi/multi-arch.exp
14677 * gdb.multi/tids.exp
14678 * gdb.multi/watchpoint-multi.exp
14679 * gdb.opencl/callfuncs.exp
14680 * gdb.opencl/convs_casts.exp
14681 * gdb.opencl/datatypes.exp
14682 * gdb.opencl/operators.exp
14683 * gdb.opencl/vec_comps.exp
14684 * gdb.opt/clobbered-registers-O2.exp
14685 * gdb.opt/inline-break.exp
14686 * gdb.opt/inline-bt.exp
14687 * gdb.opt/inline-cmds.exp
14688 * gdb.opt/inline-locals.exp
14689 * gdb.pascal/case-insensitive-symbols.exp
14690 * gdb.pascal/floats.exp
14691 * gdb.pascal/gdb11492.exp
14692 * gdb.python/lib-types.exp
14693 * gdb.python/py-arch.exp
14694 * gdb.python/py-as-string.exp
14695 * gdb.python/py-bad-printers.exp
14696 * gdb.python/py-block.exp
14697 * gdb.python/py-breakpoint-create-fail.exp
14698 * gdb.python/py-breakpoint.exp
14699 * gdb.python/py-caller-is.exp
14700 * gdb.python/py-cmd.exp
14701 * gdb.python/py-explore-cc.exp
14702 * gdb.python/py-explore.exp
14703 * gdb.python/py-finish-breakpoint.exp
14704 * gdb.python/py-finish-breakpoint2.exp
14705 * gdb.python/py-frame-args.exp
14706 * gdb.python/py-frame-inline.exp
14707 * gdb.python/py-frame.exp
14708 * gdb.python/py-framefilter-mi.exp
14709 * gdb.python/py-infthread.exp
14710 * gdb.python/py-lazy-string.exp
14711 * gdb.python/py-linetable.exp
14712 * gdb.python/py-mi-events.exp
14713 * gdb.python/py-mi-objfile.exp
14714 * gdb.python/py-mi.exp
14715 * gdb.python/py-objfile.exp
14716 * gdb.python/py-pp-integral.exp
14717 * gdb.python/py-pp-maint.exp
14718 * gdb.python/py-pp-re-notag.exp
14719 * gdb.python/py-pp-registration.exp
14720 * gdb.python/py-recurse-unwind.exp
14721 * gdb.python/py-strfns.exp
14722 * gdb.python/py-symbol.exp
14723 * gdb.python/py-symtab.exp
14724 * gdb.python/py-sync-interp.exp
14725 * gdb.python/py-typeprint.exp
14726 * gdb.python/py-unwind-maint.exp
14727 * gdb.python/py-unwind.exp
14728 * gdb.python/py-value-cc.exp
14729 * gdb.python/py-xmethods.exp
14730 * gdb.reverse/amd64-tailcall-reverse.exp
14731 * gdb.reverse/break-precsave.exp
14732 * gdb.reverse/break-reverse.exp
14733 * gdb.reverse/consecutive-precsave.exp
14734 * gdb.reverse/consecutive-reverse.exp
14735 * gdb.reverse/finish-precsave.exp
14736 * gdb.reverse/finish-reverse-bkpt.exp
14737 * gdb.reverse/finish-reverse.exp
14738 * gdb.reverse/fstatat-reverse.exp
14739 * gdb.reverse/getresuid-reverse.exp
14740 * gdb.reverse/i386-precsave.exp
14741 * gdb.reverse/i386-reverse.exp
14742 * gdb.reverse/i386-sse-reverse.exp
14743 * gdb.reverse/i387-env-reverse.exp
14744 * gdb.reverse/i387-stack-reverse.exp
14745 * gdb.reverse/insn-reverse.exp
14746 * gdb.reverse/machinestate-precsave.exp
14747 * gdb.reverse/machinestate.exp
14748 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14749 * gdb.reverse/pipe-reverse.exp
14750 * gdb.reverse/readv-reverse.exp
14751 * gdb.reverse/recvmsg-reverse.exp
14752 * gdb.reverse/rerun-prec.exp
14753 * gdb.reverse/s390-mvcle.exp
14754 * gdb.reverse/step-precsave.exp
14755 * gdb.reverse/step-reverse.exp
14756 * gdb.reverse/time-reverse.exp
14757 * gdb.reverse/until-precsave.exp
14758 * gdb.reverse/until-reverse.exp
14759 * gdb.reverse/waitpid-reverse.exp
14760 * gdb.reverse/watch-precsave.exp
14761 * gdb.reverse/watch-reverse.exp
14762 * gdb.rust/generics.exp
14763 * gdb.rust/methods.exp
14764 * gdb.rust/modules.exp
14765 * gdb.rust/simple.exp
14766 * gdb.server/connect-with-no-symbol-file.exp
14767 * gdb.server/ext-attach.exp
14768 * gdb.server/ext-restart.exp
14769 * gdb.server/ext-wrapper.exp
14770 * gdb.server/file-transfer.exp
14771 * gdb.server/server-exec-info.exp
14772 * gdb.server/server-kill.exp
14773 * gdb.server/server-mon.exp
14774 * gdb.server/wrapper.exp
14775 * gdb.stabs/exclfwd.exp
14776 * gdb.stabs/gdb11479.exp
14777 * gdb.threads/clone-new-thread-event.exp
14778 * gdb.threads/corethreads.exp
14779 * gdb.threads/current-lwp-dead.exp
14780 * gdb.threads/dlopen-libpthread.exp
14781 * gdb.threads/gcore-thread.exp
14782 * gdb.threads/sigstep-threads.exp
14783 * gdb.threads/watchpoint-fork.exp
14784 * gdb.trace/actions-changed.exp
14785 * gdb.trace/backtrace.exp
14786 * gdb.trace/change-loc.exp
14787 * gdb.trace/circ.exp
14788 * gdb.trace/collection.exp
14789 * gdb.trace/disconnected-tracing.exp
14790 * gdb.trace/ftrace.exp
14791 * gdb.trace/mi-trace-frame-collected.exp
14792 * gdb.trace/mi-trace-unavailable.exp
14793 * gdb.trace/mi-traceframe-changed.exp
14794 * gdb.trace/mi-tsv-changed.exp
14795 * gdb.trace/no-attach-trace.exp
14796 * gdb.trace/passc-dyn.exp
14797 * gdb.trace/qtro.exp
14798 * gdb.trace/range-stepping.exp
14799 * gdb.trace/read-memory.exp
14800 * gdb.trace/save-trace.exp
14801 * gdb.trace/signal.exp
14802 * gdb.trace/status-stop.exp
14803 * gdb.trace/tfile.exp
14804 * gdb.trace/trace-break.exp
14805 * gdb.trace/trace-buffer-size.exp
14806 * gdb.trace/trace-condition.exp
14807 * gdb.trace/tracefile-pseudo-reg.exp
14808 * gdb.trace/tstatus.exp
14809 * gdb.trace/unavailable.exp
14810 * gdb.trace/while-dyn.exp
14811 * gdb.trace/while-stepping.exp
14812
34c41c68
DE
148132016-12-22 Doug Evans <xdje42@gmail.com>
14814
14815 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
14816 and msymbols.
14817
16e69324
YQ
148182016-12-19 Yao Qi <yao.qi@linaro.org>
14819
14820 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
14821 (test_with_self): Don't call do_steps_and_nexts, and remove
14822 code about stepping into xmalloc.
14823
f94f411b
YQ
148242016-12-09 Yao Qi <yao.qi@linaro.org>
14825
14826 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
14827
148282016-12-09 Yao Qi <yao.qi@linaro.org>
14829
14830 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
14831
f1b5deee
PA
148322016-12-09 Pedro Alves <palves@redhat.com>
14833
14834 * gdb.base/all-architectures-0.exp: New file.
14835 * gdb.base/all-architectures-1.exp: New file.
14836 * gdb.base/all-architectures-2.exp: New file.
14837 * gdb.base/all-architectures-3.exp: New file.
14838 * gdb.base/all-architectures-4.exp: New file.
14839 * gdb.base/all-architectures-5.exp: New file.
14840 * gdb.base/all-architectures-6.exp: New file.
14841 * gdb.base/all-architectures-7.exp: New file.
14842 * gdb.base/all-architectures.exp.in: New file.
14843
364ca42e
YQ
148442016-12-09 Yao Qi <yao.qi@linaro.org>
14845
14846 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
14847
107c2d62
LM
148482016-12-02 Luis Machado <lgustavo@codesourcery.com>
14849
14850 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
14851 possible.
14852 Remove useless pattern-matching code.
14853
df3ee9ca
PA
148542016-12-02 Pedro Alves <palves@redhat.com>
14855
14856 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
14857 procedure.
14858 (top level): Call it.
14859
ec835369
PA
148602016-12-02 Pedro Alves <palves@redhat.com>
14861
14862 * gdb.base/commands.exp (user_defined_command_args_stack_test):
14863 New procedure.
14864 (top level): Call it.
14865
01770bbd
PA
148662016-12-02 Pedro Alves <palves@redhat.com>
14867
14868 PR cli/20559
14869 * gdb.base/commands.exp (user_defined_command_args_eval): New
14870 procedure.
14871 (top level): Call it.
14872
008459ea
LM
148732016-12-02 Luis Machado <lgustavo@codesourcery.com>
14874
14875 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
14876 timeout handling.
14877
0c1b455e
TT
148782016-12-02 Tom Tromey <tom@tromey.com>
14879
14880 * gdb.dwarf2/main-subprogram.c: New file.
14881 * gdb.dwarf2/main-subprogram.exp: New file.
14882
018572b8
LM
148832016-12-01 Luis Machado <lgustavo@codesourcery.com>
14884
14885 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
14886 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
14887 gdb_test_no_output for a couple of cases.
14888 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
14889
84c93cd5
LM
148902016-12-01 Luis Machado <lgustavo@codesourcery.com>
14891
14892 Fix test names and standardize compilation error messages throughout
14893 the following files:
14894
14895 * gdb.ada/start.exp
14896 * gdb.arch/alpha-step.exp
14897 * gdb.arch/e500-prologue.exp
14898 * gdb.arch/ftrace-insn-reloc.exp
14899 * gdb.arch/gdb1291.exp
14900 * gdb.arch/gdb1431.exp
14901 * gdb.arch/gdb1558.exp
14902 * gdb.arch/i386-dr3-watch.exp
14903 * gdb.arch/i386-sse-stack-align.exp
14904 * gdb.arch/ia64-breakpoint-shadow.exp
14905 * gdb.arch/pa-nullify.exp
14906 * gdb.arch/powerpc-aix-prologue.exp
14907 * gdb.arch/thumb-bx-pc.exp
14908 * gdb.base/annota1.exp
14909 * gdb.base/annota3.exp
14910 * gdb.base/arrayidx.exp
14911 * gdb.base/assign.exp
14912 * gdb.base/attach.exp
14913 * gdb.base/auxv.exp
14914 * gdb.base/bang.exp
14915 * gdb.base/bfp-test.exp
14916 * gdb.base/bigcore.exp
14917 * gdb.base/bitfields2.exp
14918 * gdb.base/break-fun-addr.exp
14919 * gdb.base/break-probes.exp
14920 * gdb.base/call-rt-st.exp
14921 * gdb.base/callexit.exp
14922 * gdb.base/catch-fork-kill.exp
14923 * gdb.base/charset.exp
14924 * gdb.base/checkpoint.exp
14925 * gdb.base/comprdebug.exp
14926 * gdb.base/constvars.exp
14927 * gdb.base/coredump-filter.exp
14928 * gdb.base/cursal.exp
14929 * gdb.base/cvexpr.exp
14930 * gdb.base/detach.exp
14931 * gdb.base/display.exp
14932 * gdb.base/dmsym.exp
14933 * gdb.base/dprintf-pending.exp
14934 * gdb.base/dso2dso.exp
14935 * gdb.base/dtrace-probe.exp
14936 * gdb.base/dump.exp
14937 * gdb.base/enum_cond.exp
14938 * gdb.base/exe-lock.exp
14939 * gdb.base/exec-invalid-sysroot.exp
14940 * gdb.base/execl-update-breakpoints.exp
14941 * gdb.base/exprs.exp
14942 * gdb.base/fileio.exp
14943 * gdb.base/find.exp
14944 * gdb.base/finish.exp
14945 * gdb.base/fixsection.exp
14946 * gdb.base/foll-vfork.exp
14947 * gdb.base/frame-args.exp
14948 * gdb.base/gcore.exp
14949 * gdb.base/gdb1250.exp
14950 * gdb.base/global-var-nested-by-dso.exp
14951 * gdb.base/gnu-ifunc.exp
14952 * gdb.base/hashline1.exp
14953 * gdb.base/hashline2.exp
14954 * gdb.base/hashline3.exp
14955 * gdb.base/hbreak-in-shr-unsupported.exp
14956 * gdb.base/huge.exp
14957 * gdb.base/infcall-input.exp
14958 * gdb.base/info-fun.exp
14959 * gdb.base/info-shared.exp
14960 * gdb.base/jit-simple.exp
14961 * gdb.base/jit-so.exp
14962 * gdb.base/jit.exp
14963 * gdb.base/jump.exp
14964 * gdb.base/label.exp
14965 * gdb.base/lineinc.exp
14966 * gdb.base/logical.exp
14967 * gdb.base/longjmp.exp
14968 * gdb.base/macscp.exp
14969 * gdb.base/miscexprs.exp
14970 * gdb.base/new-ui-echo.exp
14971 * gdb.base/new-ui-pending-input.exp
14972 * gdb.base/new-ui.exp
14973 * gdb.base/nodebug.exp
14974 * gdb.base/nofield.exp
14975 * gdb.base/offsets.exp
14976 * gdb.base/overlays.exp
14977 * gdb.base/pending.exp
14978 * gdb.base/pointers.exp
14979 * gdb.base/pr11022.exp
14980 * gdb.base/printcmds.exp
14981 * gdb.base/prologue.exp
14982 * gdb.base/ptr-typedef.exp
14983 * gdb.base/realname-expand.exp
14984 * gdb.base/relativedebug.exp
14985 * gdb.base/relocate.exp
14986 * gdb.base/remote.exp
14987 * gdb.base/reread.exp
14988 * gdb.base/return2.exp
14989 * gdb.base/savedregs.exp
14990 * gdb.base/sep.exp
14991 * gdb.base/sepdebug.exp
14992 * gdb.base/sepsymtab.exp
14993 * gdb.base/set-inferior-tty.exp
14994 * gdb.base/setshow.exp
14995 * gdb.base/shlib-call.exp
14996 * gdb.base/sigaltstack.exp
14997 * gdb.base/siginfo-addr.exp
14998 * gdb.base/signals.exp
14999 * gdb.base/signull.exp
15000 * gdb.base/sigrepeat.exp
15001 * gdb.base/so-impl-ld.exp
15002 * gdb.base/solib-display.exp
15003 * gdb.base/solib-overlap.exp
15004 * gdb.base/solib-search.exp
15005 * gdb.base/solib-symbol.exp
15006 * gdb.base/structs.exp
15007 * gdb.base/structs2.exp
15008 * gdb.base/symtab-search-order.exp
15009 * gdb.base/twice.exp
15010 * gdb.base/unload.exp
15011 * gdb.base/varargs.exp
15012 * gdb.base/watchpoint-solib.exp
15013 * gdb.base/watchpoint.exp
15014 * gdb.base/whatis.exp
15015 * gdb.base/wrong_frame_bt_full.exp
15016 * gdb.btrace/dlopen.exp
15017 * gdb.cell/ea-standalone.exp
15018 * gdb.cell/ea-test.exp
15019 * gdb.cp/dispcxx.exp
15020 * gdb.cp/gdb2384.exp
15021 * gdb.cp/method2.exp
15022 * gdb.cp/nextoverthrow.exp
15023 * gdb.cp/pr10728.exp
15024 * gdb.disasm/am33.exp
15025 * gdb.disasm/h8300s.exp
15026 * gdb.disasm/mn10300.exp
15027 * gdb.disasm/sh3.exp
15028 * gdb.dwarf2/dw2-dir-file-name.exp
15029 * gdb.fortran/complex.exp
15030 * gdb.fortran/library-module.exp
15031 * gdb.guile/scm-pretty-print.exp
15032 * gdb.guile/scm-symbol.exp
15033 * gdb.guile/scm-type.exp
15034 * gdb.guile/scm-value.exp
15035 * gdb.linespec/linespec.exp
15036 * gdb.mi/gdb701.exp
15037 * gdb.mi/gdb792.exp
15038 * gdb.mi/mi-breakpoint-changed.exp
15039 * gdb.mi/mi-dprintf-pending.exp
15040 * gdb.mi/mi-dprintf.exp
15041 * gdb.mi/mi-exit-code.exp
15042 * gdb.mi/mi-pending.exp
15043 * gdb.mi/mi-solib.exp
15044 * gdb.mi/new-ui-mi-sync.exp
15045 * gdb.mi/pr11022.exp
15046 * gdb.mi/user-selected-context-sync.exp
15047 * gdb.opt/solib-intra-step.exp
15048 * gdb.python/py-events.exp
15049 * gdb.python/py-finish-breakpoint.exp
15050 * gdb.python/py-mi.exp
15051 * gdb.python/py-prettyprint.exp
15052 * gdb.python/py-shared.exp
15053 * gdb.python/py-symbol.exp
15054 * gdb.python/py-template.exp
15055 * gdb.python/py-type.exp
15056 * gdb.python/py-value.exp
15057 * gdb.reverse/solib-precsave.exp
15058 * gdb.reverse/solib-reverse.exp
15059 * gdb.server/solib-list.exp
15060 * gdb.stabs/weird.exp
15061 * gdb.threads/reconnect-signal.exp
15062 * gdb.threads/stepi-random-signal.exp
15063 * gdb.trace/actions.exp
15064 * gdb.trace/ax.exp
15065 * gdb.trace/backtrace.exp
15066 * gdb.trace/change-loc.exp
15067 * gdb.trace/deltrace.exp
15068 * gdb.trace/ftrace-lock.exp
15069 * gdb.trace/ftrace.exp
15070 * gdb.trace/infotrace.exp
15071 * gdb.trace/mi-tracepoint-changed.exp
15072 * gdb.trace/packetlen.exp
15073 * gdb.trace/passcount.exp
15074 * gdb.trace/pending.exp
15075 * gdb.trace/range-stepping.exp
15076 * gdb.trace/report.exp
15077 * gdb.trace/stap-trace.exp
15078 * gdb.trace/tfind.exp
15079 * gdb.trace/trace-break.exp
15080 * gdb.trace/trace-condition.exp
15081 * gdb.trace/trace-enable-disable.exp
15082 * gdb.trace/trace-mt.exp
15083 * gdb.trace/tracecmd.exp
15084 * gdb.trace/tspeed.exp
15085 * gdb.trace/tsv.exp
15086 * lib/perftest.exp
15087
fb9feb35
LM
150882016-12-01 Luis Machado <lgustavo@codesourcery.com>
15089
15090 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
15091 with gdb_test_no_output.
15092 Use command as test name.
15093
cd2ddb6c
LM
150942016-12-01 Luis Machado <lgustavo@codesourcery.com>
15095
15096 Fix test names starting with uppercase throughout the files.
15097
15098 * gdb.ada/assign_1.exp
15099 * gdb.ada/boolean_expr.exp
15100 * gdb.base/arrayidx.exp
15101 * gdb.base/del.exp
15102 * gdb.base/gcore-buffer-overflow.exp
15103 * gdb.base/testenv.exp
15104 * gdb.compile/compile.exp
15105 * gdb.python/py-framefilter-invalidarg.exp
15106 * gdb.python/py-framefilter.exp
15107
bb95117e
LM
151082016-12-01 Luis Machado <lgustavo@codesourcery.com>
15109
15110 Fix test names starting with uppercase throughout the files.
15111
15112 * gdb.ada/array_return.exp
15113 * gdb.ada/expr_delims.exp
15114 * gdb.ada/mi_dyn_arr.exp
15115 * gdb.ada/mi_interface.exp
15116 * gdb.ada/mi_var_array.exp
15117 * gdb.ada/watch_arg.exp
15118 * gdb.arch/alpha-step.exp
15119 * gdb.arch/altivec-regs.exp
15120 * gdb.arch/e500-regs.exp
15121 * gdb.arch/powerpc-d128-regs.exp
15122 * gdb.base/arrayidx.exp
15123 * gdb.base/break.exp
15124 * gdb.base/checkpoint.exp
15125 * gdb.base/debug-expr.exp
15126 * gdb.base/dmsym.exp
15127 * gdb.base/radix.exp
15128 * gdb.base/sepdebug.exp
15129 * gdb.base/testenv.exp
15130 * gdb.base/watch_thread_num.exp
15131 * gdb.base/watchpoint-cond-gone.exp
15132 * gdb.cell/break.exp
15133 * gdb.cell/ea-cache.exp
15134 * gdb.compile/compile.exp
15135 * gdb.cp/gdb2495.exp
15136 * gdb.gdb/selftest.exp
15137 * gdb.gdb/xfullpath.exp
15138 * gdb.go/hello.exp
15139 * gdb.go/integers.exp
15140 * gdb.objc/basicclass.exp
15141 * gdb.pascal/hello.exp
15142 * gdb.pascal/integers.exp
15143 * gdb.python/py-breakpoint.exp
15144 * gdb.python/py-cmd.exp
15145 * gdb.python/py-linetable.exp
15146 * gdb.python/py-xmethods.exp
15147 * gdb.python/python.exp
15148 * gdb.reverse/consecutive-precsave.exp
15149 * gdb.reverse/finish-precsave.exp
15150 * gdb.reverse/i386-precsave.exp
15151 * gdb.reverse/machinestate-precsave.exp
15152 * gdb.reverse/sigall-precsave.exp
15153 * gdb.reverse/solib-precsave.exp
15154 * gdb.reverse/step-precsave.exp
15155 * gdb.reverse/until-precsave.exp
15156 * gdb.reverse/watch-precsave.exp
15157 * gdb.threads/leader-exit.exp
15158 * gdb.threads/pthreads.exp
15159 * gdb.threads/wp-replication.exp
15160 * gdb.trace/actions.exp
15161 * gdb.trace/mi-tsv-changed.exp
15162 * gdb.trace/tsv.exp
15163
de97fdd4
LM
151642016-12-01 Luis Machado <lgustavo@codesourcery.com>
15165
15166 Fix test names starting with uppercase throughout the files.
15167
15168 * gdb.arch/i386-bp_permanent.exp
15169 * gdb.arch/i386-gnu-cfi.exp
15170 * gdb.base/disasm-end-cu.exp
15171 * gdb.base/macscp.exp
15172 * gdb.base/pending.exp
15173 * gdb.base/watch_thread_num.exp
15174 * gdb.cp/exception.exp
15175 * gdb.cp/gdb2495.exp
15176 * gdb.cp/local.exp
15177 * gdb.python/py-evsignal.exp
15178 * gdb.python/python.exp
15179 * gdb.trace/tracecmd.exp
15180
9f058c10
LM
151812016-12-01 Luis Machado <lgustavo@codesourcery.com>
15182
15183 Fix test names starting with uppercase throughout the files.
15184
15185 * gdb.base/charset.exp
15186 * gdb.base/eval.exp
15187 * gdb.base/multi-forks.exp
15188 * gdb.guile/scm-progspace.exp
15189 * gdb.opencl/datatypes.exp
15190 * gdb.python/py-block.exp
15191 * gdb.python/py-function.exp
15192 * gdb.python/py-symbol.exp
15193 * gdb.python/py-symtab.exp
15194 * gdb.python/py-xmethods.exp
15195 * gdb.reverse/break-precsave.exp
15196 * gdb.reverse/break-reverse.exp
15197 * gdb.reverse/consecutive-precsave.exp
15198 * gdb.reverse/consecutive-reverse.exp
15199 * gdb.reverse/finish-precsave.exp
15200 * gdb.reverse/finish-reverse-bkpt.exp
15201 * gdb.reverse/finish-reverse.exp
15202 * gdb.reverse/fstatat-reverse.exp
15203 * gdb.reverse/getresuid-reverse.exp
15204 * gdb.reverse/i386-precsave.exp
15205 * gdb.reverse/i386-reverse.exp
15206 * gdb.reverse/i386-sse-reverse.exp
15207 * gdb.reverse/i387-stack-reverse.exp
15208 * gdb.reverse/insn-reverse.exp
15209 * gdb.reverse/machinestate-precsave.exp
15210 * gdb.reverse/machinestate.exp
15211 * gdb.reverse/next-reverse-bkpt-over-sr.exp
15212 * gdb.reverse/pipe-reverse.exp
15213 * gdb.reverse/readv-reverse.exp
15214 * gdb.reverse/recvmsg-reverse.exp
15215 * gdb.reverse/rerun-prec.exp
15216 * gdb.reverse/s390-mvcle.exp
15217 * gdb.reverse/sigall-precsave.exp
15218 * gdb.reverse/sigall-reverse.exp
15219 * gdb.reverse/solib-precsave.exp
15220 * gdb.reverse/solib-reverse.exp
15221 * gdb.reverse/step-precsave.exp
15222 * gdb.reverse/step-reverse.exp
15223 * gdb.reverse/time-reverse.exp
15224 * gdb.reverse/until-precsave.exp
15225 * gdb.reverse/until-reverse.exp
15226 * gdb.reverse/waitpid-reverse.exp
15227 * gdb.reverse/watch-precsave.exp
15228 * gdb.reverse/watch-reverse.exp
15229
cdc7edd7
LM
152302016-12-01 Luis Machado <lgustavo@codesourcery.com>
15231
15232 Fix test names starting with uppercase throughout the files.
15233
15234 * gdb.arch/i386-mpx-simple_segv.exp
15235 * gdb.arch/i386-mpx.exp
15236 * gdb.arch/i386-permbkpt.exp
15237 * gdb.arch/pa-nullify.exp
15238 * gdb.arch/powerpc-d128-regs.exp
15239 * gdb.arch/vsx-regs.exp
15240 * gdb.base/bfp-test.exp
15241 * gdb.base/break.exp
15242 * gdb.base/breakpoint-shadow.exp
15243 * gdb.base/callfuncs.exp
15244 * gdb.base/charset.exp
15245 * gdb.base/commands.exp
15246 * gdb.base/completion.exp
15247 * gdb.base/dfp-test.exp
15248 * gdb.base/echo.exp
15249 * gdb.base/ending-run.exp
15250 * gdb.base/eval.exp
15251 * gdb.base/expand-psymtabs.exp
15252 * gdb.base/float128.exp
15253 * gdb.base/floatn.exp
15254 * gdb.base/foll-exec-mode.exp
15255 * gdb.base/gdb1056.exp
15256 * gdb.base/gdb11531.exp
15257 * gdb.base/kill-after-signal.exp
15258 * gdb.base/multi-forks.exp
15259 * gdb.base/overlays.exp
15260 * gdb.base/pending.exp
15261 * gdb.base/sepdebug.exp
15262 * gdb.base/testenv.exp
15263 * gdb.base/valgrind-db-attach.exp
15264 * gdb.base/watch_thread_num.exp
15265 * gdb.base/watchpoint-cond-gone.exp
15266 * gdb.base/watchpoint.exp
15267 * gdb.base/watchpoints.exp
15268 * gdb.cp/arg-reference.exp
15269 * gdb.cp/baseenum.exp
15270 * gdb.cp/operator.exp
15271 * gdb.cp/shadow.exp
15272 * gdb.dwarf2/dw2-op-out-param.exp
15273 * gdb.dwarf2/dw2-reg-undefined.exp
15274 * gdb.go/chan.exp
15275 * gdb.go/hello.exp
15276 * gdb.go/integers.exp
15277 * gdb.go/methods.exp
15278 * gdb.go/package.exp
15279 * gdb.guile/scm-parameter.exp
15280 * gdb.guile/scm-progspace.exp
15281 * gdb.guile/scm-value.exp
15282 * gdb.mi/mi-pending.exp
15283 * gdb.mi/user-selected-context-sync.exp
15284 * gdb.multi/multi-attach.exp
15285 * gdb.multi/tids.exp
15286 * gdb.opt/clobbered-registers-O2.exp
15287 * gdb.pascal/floats.exp
15288 * gdb.pascal/integers.exp
15289 * gdb.python/py-block.exp
15290 * gdb.python/py-events.exp
15291 * gdb.python/py-parameter.exp
15292 * gdb.python/py-symbol.exp
15293 * gdb.python/py-symtab.exp
15294 * gdb.python/py-type.exp
15295 * gdb.python/py-value.exp
15296 * gdb.python/py-xmethods.exp
15297 * gdb.python/python.exp
15298 * gdb.reverse/break-precsave.exp
15299 * gdb.reverse/consecutive-precsave.exp
15300 * gdb.reverse/finish-precsave.exp
15301 * gdb.reverse/i386-precsave.exp
15302 * gdb.reverse/machinestate-precsave.exp
15303 * gdb.reverse/sigall-precsave.exp
15304 * gdb.reverse/solib-precsave.exp
15305 * gdb.reverse/step-precsave.exp
15306 * gdb.reverse/until-precsave.exp
15307 * gdb.reverse/watch-precsave.exp
15308 * gdb.server/ext-attach.exp
15309 * gdb.server/ext-restart.exp
15310 * gdb.server/ext-run.exp
15311 * gdb.server/ext-wrapper.exp
15312 * gdb.stabs/gdb11479.exp
15313 * gdb.stabs/weird.exp
15314 * gdb.threads/attach-many-short-lived-threads.exp
15315 * gdb.threads/kill.exp
15316 * gdb.threads/watchpoint-fork.exp
15317
bc6c7af4
LM
153182016-12-01 Luis Machado <lgustavo@codesourcery.com>
15319
15320 Fix test names starting with uppercase throughout all the files below.
15321
15322 * gdb.ada/array_return.exp
15323 * gdb.ada/catch_ex.exp
15324 * gdb.ada/info_exc.exp
15325 * gdb.ada/mi_catch_ex.exp
15326 * gdb.ada/mi_dyn_arr.exp
15327 * gdb.ada/mi_ex_cond.exp
15328 * gdb.ada/mi_exc_info.exp
15329 * gdb.ada/mi_interface.exp
15330 * gdb.ada/mi_task_arg.exp
15331 * gdb.ada/mi_task_info.exp
15332 * gdb.ada/mi_var_array.exp
15333 * gdb.arch/alpha-step.exp
15334 * gdb.arch/amd64-disp-step.exp
15335 * gdb.arch/arm-disp-step.exp
15336 * gdb.arch/disp-step-insn-reloc.exp
15337 * gdb.arch/e500-prologue.exp
15338 * gdb.arch/ftrace-insn-reloc.exp
15339 * gdb.arch/gdb1558.exp
15340 * gdb.arch/i386-bp_permanent.exp
15341 * gdb.arch/i386-disp-step.exp
15342 * gdb.arch/i386-float.exp
15343 * gdb.arch/i386-gnu-cfi.exp
15344 * gdb.arch/ia64-breakpoint-shadow.exp
15345 * gdb.arch/mips16-thunks.exp
15346 * gdb.arch/pa-nullify.exp
15347 * gdb.arch/powerpc-aix-prologue.exp
15348 * gdb.arch/powerpc-power.exp
15349 * gdb.arch/ppc-dfp.exp
15350 * gdb.arch/s390-tdbregs.exp
15351 * gdb.arch/spu-info.exp
15352 * gdb.arch/spu-ls.exp
15353 * gdb.arch/thumb-bx-pc.exp
15354 * gdb.base/advance.exp
15355 * gdb.base/annota-input-while-running.exp
15356 * gdb.base/arrayidx.exp
15357 * gdb.base/asmlabel.exp
15358 * gdb.base/async.exp
15359 * gdb.base/attach-wait-input.exp
15360 * gdb.base/auto-connect-native-target.exp
15361 * gdb.base/batch-preserve-term-settings.exp
15362 * gdb.base/bfp-test.exp
15363 * gdb.base/bigcore.exp
15364 * gdb.base/bp-permanent.exp
15365 * gdb.base/break-always.exp
15366 * gdb.base/break-fun-addr.exp
15367 * gdb.base/break-idempotent.exp
15368 * gdb.base/break-main-file-remove-fail.exp
15369 * gdb.base/break-probes.exp
15370 * gdb.base/break-unload-file.exp
15371 * gdb.base/break.exp
15372 * gdb.base/call-ar-st.exp
15373 * gdb.base/call-rt-st.exp
15374 * gdb.base/call-sc.exp
15375 * gdb.base/call-signal-resume.exp
15376 * gdb.base/call-strs.exp
15377 * gdb.base/callexit.exp
15378 * gdb.base/callfuncs.exp
15379 * gdb.base/catch-gdb-caused-signals.exp
15380 * gdb.base/catch-signal-siginfo-cond.exp
15381 * gdb.base/catch-syscall.exp
15382 * gdb.base/compare-sections.exp
15383 * gdb.base/cond-eval-mode.exp
15384 * gdb.base/condbreak-call-false.exp
15385 * gdb.base/consecutive-step-over.exp
15386 * gdb.base/cursal.exp
15387 * gdb.base/disabled-location.exp
15388 * gdb.base/disasm-end-cu.exp
15389 * gdb.base/display.exp
15390 * gdb.base/double-prompt-target-event-error.exp
15391 * gdb.base/dprintf-bp-same-addr.exp
15392 * gdb.base/dprintf-detach.exp
15393 * gdb.base/dprintf-next.exp
15394 * gdb.base/dprintf-non-stop.exp
15395 * gdb.base/dprintf-pending.exp
15396 * gdb.base/dso2dso.exp
15397 * gdb.base/ending-run.exp
15398 * gdb.base/enum_cond.exp
15399 * gdb.base/examine-backward.exp
15400 * gdb.base/exe-lock.exp
15401 * gdb.base/exec-invalid-sysroot.exp
15402 * gdb.base/execl-update-breakpoints.exp
15403 * gdb.base/execution-termios.exp
15404 * gdb.base/fileio.exp
15405 * gdb.base/fixsection.exp
15406 * gdb.base/foll-exec-mode.exp
15407 * gdb.base/foll-exec.exp
15408 * gdb.base/fork-running-state.exp
15409 * gdb.base/frame-args.exp
15410 * gdb.base/fullpath-expand.exp
15411 * gdb.base/func-ptr.exp
15412 * gdb.base/gcore-relro-pie.exp
15413 * gdb.base/gdb1090.exp
15414 * gdb.base/gdb1555.exp
15415 * gdb.base/global-var-nested-by-dso.exp
15416 * gdb.base/gnu-ifunc.exp
15417 * gdb.base/hbreak-in-shr-unsupported.exp
15418 * gdb.base/hbreak-unmapped.exp
15419 * gdb.base/hook-stop.exp
15420 * gdb.base/infcall-input.exp
15421 * gdb.base/info-fun.exp
15422 * gdb.base/info-shared.exp
15423 * gdb.base/interrupt-noterm.exp
15424 * gdb.base/jit-so.exp
15425 * gdb.base/jit.exp
15426 * gdb.base/line-symtabs.exp
15427 * gdb.base/list.exp
15428 * gdb.base/longjmp.exp
15429 * gdb.base/macscp.exp
15430 * gdb.base/max-value-size.exp
15431 * gdb.base/nodebug.exp
15432 * gdb.base/nofield.exp
15433 * gdb.base/overlays.exp
15434 * gdb.base/paginate-after-ctrl-c-running.exp
15435 * gdb.base/paginate-bg-execution.exp
15436 * gdb.base/paginate-inferior-exit.exp
15437 * gdb.base/pending.exp
15438 * gdb.base/pr11022.exp
15439 * gdb.base/printcmds.exp
15440 * gdb.base/ptr-typedef.exp
15441 * gdb.base/ptype.exp
15442 * gdb.base/randomize.exp
15443 * gdb.base/range-stepping.exp
15444 * gdb.base/realname-expand.exp
15445 * gdb.base/relativedebug.exp
15446 * gdb.base/remote.exp
15447 * gdb.base/savedregs.exp
15448 * gdb.base/sepdebug.exp
15449 * gdb.base/set-noassign.exp
15450 * gdb.base/shlib-call.exp
15451 * gdb.base/shreloc.exp
15452 * gdb.base/sigaltstack.exp
15453 * gdb.base/sigbpt.exp
15454 * gdb.base/siginfo-addr.exp
15455 * gdb.base/siginfo-obj.exp
15456 * gdb.base/siginfo-thread.exp
15457 * gdb.base/signest.exp
15458 * gdb.base/signull.exp
15459 * gdb.base/sigrepeat.exp
15460 * gdb.base/skip.exp
15461 * gdb.base/so-impl-ld.exp
15462 * gdb.base/solib-corrupted.exp
15463 * gdb.base/solib-disc.exp
15464 * gdb.base/solib-display.exp
15465 * gdb.base/solib-overlap.exp
15466 * gdb.base/solib-search.exp
15467 * gdb.base/solib-symbol.exp
15468 * gdb.base/source-execution.exp
15469 * gdb.base/sss-bp-on-user-bp-2.exp
15470 * gdb.base/sss-bp-on-user-bp.exp
15471 * gdb.base/stack-checking.exp
15472 * gdb.base/stale-infcall.exp
15473 * gdb.base/step-break.exp
15474 * gdb.base/step-line.exp
15475 * gdb.base/step-over-exit.exp
15476 * gdb.base/step-test.exp
15477 * gdb.base/structs.exp
15478 * gdb.base/sym-file.exp
15479 * gdb.base/symtab-search-order.exp
15480 * gdb.base/term.exp
15481 * gdb.base/type-opaque.exp
15482 * gdb.base/unload.exp
15483 * gdb.base/until-nodebug.exp
15484 * gdb.base/until.exp
15485 * gdb.base/unwindonsignal.exp
15486 * gdb.base/watch-cond.exp
15487 * gdb.base/watch-non-mem.exp
15488 * gdb.base/watch_thread_num.exp
15489 * gdb.base/watchpoint-reuse-slot.exp
15490 * gdb.base/watchpoint-solib.exp
15491 * gdb.base/watchpoint.exp
15492 * gdb.btrace/dlopen.exp
15493 * gdb.cell/arch.exp
15494 * gdb.cell/break.exp
15495 * gdb.cell/bt.exp
15496 * gdb.cell/core.exp
15497 * gdb.cell/data.exp
15498 * gdb.cell/dwarfaddr.exp
15499 * gdb.cell/ea-cache.exp
15500 * gdb.cell/ea-standalone.exp
15501 * gdb.cell/ea-test.exp
15502 * gdb.cell/f-regs.exp
15503 * gdb.cell/fork.exp
15504 * gdb.cell/gcore.exp
15505 * gdb.cell/mem-access.exp
15506 * gdb.cell/ptype.exp
15507 * gdb.cell/registers.exp
15508 * gdb.cell/sizeof.exp
15509 * gdb.cell/solib-symbol.exp
15510 * gdb.cell/solib.exp
15511 * gdb.compile/compile-tls.exp
15512 * gdb.cp/exception.exp
15513 * gdb.cp/gdb2495.exp
15514 * gdb.cp/local.exp
15515 * gdb.cp/mb-inline.exp
15516 * gdb.cp/mb-templates.exp
15517 * gdb.cp/pr10687.exp
15518 * gdb.cp/pr9167.exp
15519 * gdb.cp/scope-err.exp
15520 * gdb.cp/templates.exp
15521 * gdb.cp/virtfunc.exp
15522 * gdb.dwarf2/dw2-dir-file-name.exp
15523 * gdb.dwarf2/dw2-single-line-discriminators.exp
15524 * gdb.fortran/complex.exp
15525 * gdb.fortran/library-module.exp
15526 * gdb.guile/guile.exp
15527 * gdb.guile/scm-cmd.exp
15528 * gdb.guile/scm-frame-inline.exp
15529 * gdb.guile/scm-objfile.exp
15530 * gdb.guile/scm-pretty-print.exp
15531 * gdb.guile/scm-symbol.exp
15532 * gdb.guile/scm-type.exp
15533 * gdb.guile/scm-value.exp
15534 * gdb.linespec/keywords.exp
15535 * gdb.linespec/ls-errs.exp
15536 * gdb.linespec/macro-relative.exp
15537 * gdb.linespec/thread.exp
15538 * gdb.mi/mi-breakpoint-changed.exp
15539 * gdb.mi/mi-dprintf-pending.exp
15540 * gdb.mi/mi-fullname-deleted.exp
15541 * gdb.mi/mi-logging.exp
15542 * gdb.mi/mi-pending.exp
15543 * gdb.mi/mi-solib.exp
15544 * gdb.mi/new-ui-mi-sync.exp
15545 * gdb.mi/user-selected-context-sync.exp
15546 * gdb.multi/dummy-frame-restore.exp
15547 * gdb.multi/multi-arch-exec.exp
15548 * gdb.multi/remove-inferiors.exp
15549 * gdb.multi/watchpoint-multi-exit.exp
15550 * gdb.opt/solib-intra-step.exp
15551 * gdb.perf/backtrace.exp
15552 * gdb.perf/single-step.exp
15553 * gdb.perf/skip-command.exp
15554 * gdb.perf/skip-prologue.exp
15555 * gdb.perf/solib.exp
15556 * gdb.python/lib-types.exp
15557 * gdb.python/py-as-string.exp
15558 * gdb.python/py-bad-printers.exp
15559 * gdb.python/py-block.exp
15560 * gdb.python/py-breakpoint.exp
15561 * gdb.python/py-cmd.exp
15562 * gdb.python/py-events.exp
15563 * gdb.python/py-evthreads.exp
15564 * gdb.python/py-finish-breakpoint.exp
15565 * gdb.python/py-finish-breakpoint2.exp
15566 * gdb.python/py-frame-inline.exp
15567 * gdb.python/py-frame.exp
15568 * gdb.python/py-inferior.exp
15569 * gdb.python/py-infthread.exp
15570 * gdb.python/py-mi.exp
15571 * gdb.python/py-objfile.exp
15572 * gdb.python/py-pp-maint.exp
15573 * gdb.python/py-pp-registration.exp
15574 * gdb.python/py-prettyprint.exp
15575 * gdb.python/py-recurse-unwind.exp
15576 * gdb.python/py-shared.exp
15577 * gdb.python/py-symbol.exp
15578 * gdb.python/py-symtab.exp
15579 * gdb.python/py-template.exp
15580 * gdb.python/py-type.exp
15581 * gdb.python/py-unwind-maint.exp
15582 * gdb.python/py-unwind.exp
15583 * gdb.python/py-value.exp
15584 * gdb.python/python.exp
15585 * gdb.reverse/finish-reverse-bkpt.exp
15586 * gdb.reverse/insn-reverse.exp
15587 * gdb.reverse/next-reverse-bkpt-over-sr.exp
15588 * gdb.reverse/solib-precsave.exp
15589 * gdb.reverse/solib-reverse.exp
15590 * gdb.stabs/gdb11479.exp
15591 * gdb.stabs/weird.exp
15592 * gdb.threads/fork-child-threads.exp
15593 * gdb.threads/fork-plus-threads.exp
15594 * gdb.threads/fork-thread-pending.exp
15595 * gdb.threads/forking-threads-plus-breakpoint.exp
15596 * gdb.threads/hand-call-in-threads.exp
15597 * gdb.threads/interrupted-hand-call.exp
15598 * gdb.threads/linux-dp.exp
15599 * gdb.threads/local-watch-wrong-thread.exp
15600 * gdb.threads/next-while-other-thread-longjmps.exp
15601 * gdb.threads/non-ldr-exit.exp
15602 * gdb.threads/pending-step.exp
15603 * gdb.threads/print-threads.exp
15604 * gdb.threads/process-dies-while-detaching.exp
15605 * gdb.threads/process-dies-while-handling-bp.exp
15606 * gdb.threads/pthreads.exp
15607 * gdb.threads/queue-signal.exp
15608 * gdb.threads/reconnect-signal.exp
15609 * gdb.threads/signal-command-handle-nopass.exp
15610 * gdb.threads/signal-command-multiple-signals-pending.exp
15611 * gdb.threads/signal-delivered-right-thread.exp
15612 * gdb.threads/signal-sigtrap.exp
15613 * gdb.threads/sigthread.exp
15614 * gdb.threads/staticthreads.exp
15615 * gdb.threads/stepi-random-signal.exp
15616 * gdb.threads/thread-unwindonsignal.exp
15617 * gdb.threads/thread_check.exp
15618 * gdb.threads/thread_events.exp
15619 * gdb.threads/tid-reuse.exp
15620 * gdb.threads/tls-nodebug.exp
15621 * gdb.threads/tls-shared.exp
15622 * gdb.threads/tls-so_extern.exp
15623 * gdb.threads/tls.exp
15624 * gdb.threads/wp-replication.exp
15625 * gdb.trace/actions-changed.exp
15626 * gdb.trace/actions.exp
15627 * gdb.trace/backtrace.exp
15628 * gdb.trace/change-loc.exp
15629 * gdb.trace/collection.exp
15630 * gdb.trace/deltrace.exp
15631 * gdb.trace/disconnected-tracing.exp
15632 * gdb.trace/entry-values.exp
15633 * gdb.trace/ftrace-lock.exp
15634 * gdb.trace/ftrace.exp
15635 * gdb.trace/infotrace.exp
15636 * gdb.trace/mi-trace-frame-collected.exp
15637 * gdb.trace/mi-trace-unavailable.exp
15638 * gdb.trace/mi-traceframe-changed.exp
15639 * gdb.trace/mi-tracepoint-changed.exp
15640 * gdb.trace/mi-tsv-changed.exp
15641 * gdb.trace/no-attach-trace.exp
15642 * gdb.trace/packetlen.exp
15643 * gdb.trace/passc-dyn.exp
15644 * gdb.trace/passcount.exp
15645 * gdb.trace/pending.exp
15646 * gdb.trace/pr16508.exp
15647 * gdb.trace/qtro.exp
15648 * gdb.trace/range-stepping.exp
15649 * gdb.trace/read-memory.exp
15650 * gdb.trace/report.exp
15651 * gdb.trace/save-trace.exp
15652 * gdb.trace/signal.exp
15653 * gdb.trace/stap-trace.exp
15654 * gdb.trace/status-stop.exp
15655 * gdb.trace/strace.exp
15656 * gdb.trace/tfile.exp
15657 * gdb.trace/tfind.exp
15658 * gdb.trace/trace-break.exp
15659 * gdb.trace/trace-condition.exp
15660 * gdb.trace/trace-enable-disable.exp
15661 * gdb.trace/trace-mt.exp
15662 * gdb.trace/tracecmd.exp
15663 * gdb.trace/tracefile-pseudo-reg.exp
15664 * gdb.trace/tspeed.exp
15665 * gdb.trace/tstatus.exp
15666 * gdb.trace/tsv.exp
15667 * gdb.trace/unavailable.exp
15668 * gdb.trace/while-dyn.exp
15669 * gdb.trace/while-stepping.exp
15670 * lib/gdb-guile.exp
15671 * lib/gdb.exp
15672 * lib/mi-support.exp
15673 * lib/pascal.exp
15674 * lib/perftest.exp
15675 * lib/prelink-support.exp
15676 * lib/selftest-support.exp
15677
ad02e4fe
SM
156782016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
15679
15680 * Makefile.in: Include disable-implicit-rules.mk.
15681
22347e55
AA
156822016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15683
15684 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
15685 non-byte-aligned bit fields.
15686
da5b30da
AA
156872016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15688
15689 PR gdb/12616
15690 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
15691 respects the DW_AT_data_bit_offset attribute.
15692
b593ecca
SM
156932016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
15694
15695 * gdb.base/default.exp: Fix output of "set language".
15696
3b165252
SM
156972016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
15698
15699 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
15700 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
15701 make.
15702 * configure.ac: Remove checks for the make program.
15703 * configure: Re-generate.
15704
1a2f3d7f
KB
157052016-11-16 Kevin Buettner <kevinb@redhat.com>
15706
15707 * gdb.python/py-recurse-unwind.c (main): Add loop.
15708 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
15709 to read_register() and gdb.parse_and_eval(). Make each code
15710 call a separate case that can be individually tested.
15711 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
15712 proc. Call cont_and_backtrace for each of the code paths that
15713 we want to test in the unwinder.
15714
b7f38fda
AA
157152016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
15716
15717 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
15718 the definition of struct S.
15719
1f8db343
CM
157202016-11-11 Catherine Moore <clm@codesourcery.com>
15721
15722 * gdb.base/dump.exp: Identify verilog format dump tests as such.
15723
fad0c9fb
PA
157242016-11-09 Pedro Alves <palves@redhat.com>
15725
15726 * gdb.base/commands.exp (runto_or_return): New procedure.
15727 (gdbvar_simple_if_test, gdbvar_simple_while_test)
15728 (gdbvar_complex_if_while_test, progvar_simple_if_test)
15729 (progvar_simple_while_test, progvar_complex_if_while_test)
15730 (if_while_breakpoint_command_test)
15731 (infrun_breakpoint_command_test, breakpoint_command_test)
15732 (user_defined_command_test, watchpoint_command_test)
15733 (test_command_prompt_position, redefine_hook_test)
15734 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
15735 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
15736 multi_line_input and multi_line. Remove gdb_expect and
15737 gdb_stop_suppressing_tests uses.
15738 * lib/gdb.exp (valnum_re): New global.
15739 (multi_line_input): New procedure.
15740
8354c62c
SM
157412016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
15742
15743 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
15744 Remove.
15745 (test_setup): Define with proc_with_prefix.
15746 (test_cli_inferior): Likewise.
15747 (test_cli_thread): Likewise.
15748 (test_cli_frame): Likewise.
15749 (test_cli_select_frame): Likewise.
15750 (test_cli_up_down): Likewise.
15751 (test_mi_thread_select): Likewise.
15752 (test_mi_stack_select_frame): Likewise.
15753 (test_cli_in_mi_inferior): Likewise.
15754 (test_cli_in_mi_thread): Likewise.
15755 (test_cli_in_mi_frame): Likewise.
15756 (top level): Do not use with_test_prefix_procname.
15757
64f367a2
PA
157582016-11-09 Pedro Alves <palves@redhat.com>
15759
15760 * gdb.base/commands.exp (gdbvar_simple_if_test)
15761 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
15762 (progvar_simple_if_test, progvar_simple_while_test)
15763 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
15764 (infrun_breakpoint_command_test, breakpoint_command_test)
15765 (user_defined_command_test, watchpoint_command_test)
15766 (test_command_prompt_position, deprecated_command_test)
15767 (bp_deleted_in_command, temporary_breakpoint_commands)
15768 (stray_arg0_test, source_file_with_indented_comment)
15769 (recursive_source_test, if_commands_test)
15770 (error_clears_commands_left, redefine_hook_test)
15771 (redefine_backtrace_test): Use proc_with_prefix.
15772 * lib/gdb.exp (proc_with_prefix): New proc.
15773
0bb65f1e
AA
157742016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15775
15776 * gdb.base/tui-layout.c: New file.
15777 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
15778 disassembly window contains very long lines.
15779
7353f247
TT
157802016-11-08 Tom Tromey <tom@tromey.com>
15781
15782 * gdb.python/py-value.exp (test_value_creation): Make "long" test
15783 depend on Python 2.
15784
30a7bb83
TT
157852016-11-08 Tom Tromey <tom@tromey.com>
15786
15787 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
15788 New method.
15789
cdf5a07c
MG
157902016-10-29 Manish Goregaokar <manish@mozilla.com>
15791
2806dc7e 15792 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 15793
51a789c3
MG
157942016-10-27 Manish Goregaokar <manish@mozilla.com>
15795
2806dc7e
PA
15796 * gdb.rust/simple.rs: Add test for univariant enums without
15797 discriminants and for encoded struct-like enums.
51a789c3 15798
f610ab6d
PA
157992016-10-28 Pedro Alves <palves@redhat.com>
15800
15801 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
15802 gdb_test_multiple, tighten regexps and match symtabs and line
15803 tables incrementally.
15804
b129b0ca
LM
158052016-10-28 Luis Machado <lgustavo@codesourcery.com>
15806
15807 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
15808 general.
15809
ecf45d2c
SL
158102016-10-25 Luis Machado <lgustavo@codesourcery.com>
15811
15812 * gdb.base/exec-invalid-sysroot.exp: New file.
15813
b8d38ee4
JK
158142016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15815
15816 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
15817
f90fd8c2
JK
158182016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15819
15820 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
15821
2d2476aa
MR
158222016-10-19 Maciej W. Rozycki <macro@imgtec.com>
15823
2806dc7e
PA
15824 * gdb.base/killed-outside.exp: Remove $options from a call to
15825 `prepare_for_testing'.
2d2476aa 15826
e42b25a0
SM
158272016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15828
15829 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15830 Change test message.
15831
3ccdb432
SM
158322016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15833
15834 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15835 Update comment.
15836
5bad3170
SM
158372016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15838
15839 * gdb.trace/mi-trace-save.exp: New file.
15840
5ad9dba7
YQ
158412016-10-13 Yao Qi <yao.qi@linaro.org>
15842
15843 * gdb.base/code_elim.exp (get_var_address): Remove.
15844 * gdb.base/relocate.exp: Likewise.
15845 * gdb.base/shreloc.exp: Likewise.
15846 * lib/gdb.exp (get_var_address): New.
15847
62df7e21
YQ
158482016-10-13 Yao Qi <yao.qi@linaro.org>
15849
15850 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
15851 floating point tests if $skip_float_test is false.
15852
4dac951e
LM
158532016-10-12 Luis Machado <lgustavo@codesourcery.com>
15854
15855 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
15856 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
15857 argc values.
15858 Add 1 to argc so we guarantee distinct initial/modified argc values.
15859
8f1a8fc4
JK
158602016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15861
15862 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
15863
16c85b5d
JK
158642016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15865
15866 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
15867 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
15868 * gdb.arch/vsx-regs.exp: Likewise.
15869
1d0e042a
YQ
158702016-10-07 Yao Qi <yao.qi@linaro.org>
15871
15872 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
15873
68dadef5
MM
158742016-10-07 Markus Metzger <markus.t.metzger@intel.com>
15875
15876 * gdb.python/python.exp: Test decode_line("*0").
15877
33fa2c6e
DE
158782016-10-06 Doug Evans <dje@google.com>
15879
15880 * gdb.python/py-value.exp (test_value_creation): Add test for large
15881 unsigned 64-bit value.
15882
9c37b5ae
TT
158832016-10-06 Tom Tromey <tom@tromey.com>
15884
15885 * gdb.compile/compile.exp: Change java tests to rust.
15886 * gdb.base/setshow.exp: Change java tests to rust.
15887 * gdb.base/default.exp: Remove java from language list.
15888 * README (Examples): Update language example.
15889 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
15890 test.
15891 * lib/gdb.exp (skip_java_tests): Remove.
15892 * lib/java.exp: Remove.
15893 * gdb.java: Remove.
15894
78b86327
MR
158952016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15896
15897 * gdb.arch/mips-fcr.exp: New test.
15898 * gdb.arch/mips-fcr.c: Source for the new test.
15899
7470adbb
MR
159002016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15901
15902 * gdb.base/solib-disc.exp: Use `standard_output_file'
15903 throughout.
15904
4a556533
PA
159052016-10-06 Pedro Alves <palves@redhat.com>
15906
15907 * gdb.base/jit-simple-dl.c: New file.
15908 * gdb.base/jit-simple-jit.c: New file, factored out from ...
15909 * gdb.base/jit-simple.c: ... this.
15910 * gdb.base/jit-simple.exp (jit_run): Delete.
15911 (build_jit): New proc.
15912 (jit_test_reread): Recompile either the main program or the shared
15913 library, depending on what is being tested. Skip changing address
15914 if caller wants to. Compare before/after addresses. If testing
15915 standalone, explicitly load the binary. Test "maint info
15916 breakpoints".
15917 (top level): Add "standalone vs shared lib" and "change address"
15918 vs "same address" axes.
15919
5a122fbc
PA
159202016-10-06 Pedro Alves <palves@redhat.com>
15921
15922 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
15923 call.
15924 (jit_run): Delete.
15925 (jit_test_reread): Use with_test_prefix. Reload the main binary
15926 explicitly. Compare the before/after addresses of the JIT
15927 descriptor.
15928
ee8da4b8
DE
159292016-08-15 Doug Evans <dje@google.com>
15930
15931 * gdb.xml/extra-regs.xml: Update, end field now required, default type
15932 for single bitfields is bool.
15933 * gdb.xml/tdesc-regs.exp: Ditto.
15934
f389f6fe
JK
159352016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15936
15937 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
15938
fdebf1a4
YQ
159392016-10-05 Yao Qi <yao.qi@linaro.org>
15940
15941 * lib/gdb.exp (support_complex_tests): Return zero if
15942 gdb_skip_float_test return true.
15943
9c36d954 159442016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 15945 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
15946
15947 PR gdb/20487
15948 * gdb.mi/user-selected-context-sync.exp: New file.
15949 * gdb.mi/user-selected-context-sync.c: New file.
15950
4034d0ff 159512016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 15952 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
15953
15954 PR gdb/20487
15955 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
15956 =thread-select-event check.
15957
a4297203
PB
159582016-09-29 Peter Bergner <bergner@vnet.ibm.com>
15959
15960 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
15961 the compulsory L operand changes.
15962 * gdb.arch/powerpc-power.s: Likewise.
15963
bb805577
JK
159642016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15965
15966 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
15967 * gdb.base/jit-attach-pie.c: New file.
15968 * gdb.base/jit-attach-pie.exp: New file.
15969
6d61dee5
PA
159702016-09-28 Pedro Alves <palves@redhat.com>
15971
15972 * gdb.base/infcall-input.c: New file.
15973 * gdb.base/infcall-input.exp: New file.
15974
f73842fc
YQ
159752016-09-22 Yao Qi <yao.qi@linaro.org>
15976
15977 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
15978 (gdb_exit): Rename it to ...
15979 (gdbserver_gdb_exit): ... Close GDBserver.
15980 (gdb_exit): New proc, call gdbserver_gdb_exit.
15981 (mi_gdb_exit): Likewise.
15982
90681dab
YQ
159832016-09-22 Yao Qi <yao.qi@linaro.org>
15984
15985 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
15986 path.
15987 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
15988 Remove duplication.
15989
9c211fd8
YQ
159902016-09-22 Yao Qi <yao.qi@linaro.org>
15991
15992 * lib/gdbserver-support.exp: Check the existence of
15993 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
15994
ad0a504f
AK
159952016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
15996
15997 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
15998
36cf1806
TT
159992016-09-21 Tom Tromey <tom@tromey.com>
16000
16001 PR gdb/20604:
16002 * gdb.base/quit.exp: New file.
16003
74172ecf
SM
160042016-09-21 Simon Marchi <simon.marchi@ericsson.com>
16005
16006 * .gitignore: New file.
16007
3d0ec882
MR
160082016-09-21 Maciej W. Rozycki <macro@imgtec.com>
16009
16010 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
16011 throughout.
16012
8193adea
AA
160132016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16014
16015 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
16016
d41a5c09
JK
160172016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16018
16019 * gdb.cp/casts.cc (decltype): Move it ...
16020 (main): ... with its call to ...
16021 * gdb.cp/casts03.cc: ... a new file.
16022 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
16023
d2dfe700
JK
160242016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16025
16026 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
16027
e2a92b16
PB
160282016-09-15 Peter Bergner <bergner@vnet.ibm.com>
16029
16030 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
16031 and sync up the test with tests in gas/testsuite/gas/ppc.
16032 * gdb.arch/powerpc-power.exp: Likewise.
16033
49b4de64
JK
160342016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16035
16036 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
16037
2c29df25
SDJ
160382016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
16039 Jan Kratochvil <jan.kratochvil@redhat.com>
16040
16041 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
16042 make m1's definition to be different from m2's. Use 'dummy' as an
16043 argument for probe 'two'.
16044
cc3c2846
JB
160452016-09-10 Jon Beniston <jon@beniston.com>
16046
16047 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
16048 for sim target.
16049
e1b2624a
AA
160502016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
16051
16052 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
16053 variable declaration.
16054 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
16055 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
16056 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
16057 received HWCAP as its argument.
16058
4295e285
PA
160592016-09-06 Pedro Alves <palves@redhat.com>
16060
16061 * gdb.base/new-ui-pending-input.c: New file.
16062 * gdb.base/new-ui-pending-input.exp: New file.
16063 * gdb.exp (clear_gdb_spawn_id): New procedure.
16064 (with_spawn_id): Check whether gdb_spawn_id exists before
16065 referencing it. If gdb_spawn_id didn't exist on entry, clear it
16066 on exit.
16067
00d5215e
UW
160682016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
16069
16070 * gdb.base/float128.c: New file.
16071 * gdb.base/float128.exp: Likewise.
16072 * gdb.base/floatn.c: Likewise.
16073 * gdb.base/floatn.exp: Likewise.
16074
a9ff5f12
UW
160752016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
16076
16077 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
16078
f245535c
PA
160792016-09-05 Pedro Alves <palves@redhat.com>
16080
16081 PR backtrace/19927
16082 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
16083 unwinders are immediately called as side effect of "source" or
16084 "disable unwinder" commands.
16085 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
16086
ae9cf263
YQ
160872016-09-02 Yao Qi <yao.qi@linaro.org>
16088
16089 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
16090 is true and $type is "float" or "double".
16091
27aba047
YQ
160922016-09-02 Yao Qi <yao.qi@linaro.org>
16093
16094 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
16095 true.
16096 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
16097 * gdb.base/call-rt-st.exp: Likewise.
16098 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
16099 return value instead of gdb,skip_float_test.
16100 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
16101 (do_function_calls): Use its return value instead of
16102 gdb,skip_float_test.
16103 * gdb.base/finish.exp: Likewise.
16104 * gdb.base/funcargs.exp: Likewise.
16105 * gdb.base/return.exp: Likewise.
16106 * gdb.base/return2.exp: Likewise.
16107 * gdb.base/varargs.exp: Likewise.
16108 * lib/gdb.exp (gdb_skip_float_test): Change it to
16109 gdb_caching_proc. Detect the broken ptrace on arm-linux.
16110
5af962df
AA
161112016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16112
16113 * gdb.multi/tids.exp: Test "thread apply all".
16114
7fac6910
JK
161152016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
16116
16117 * gdb.base/default.exp (tty): Remove.
16118
bb1fe4ac
KB
161192016-08-24 Kevin Buettner <kevinb@redhat.com>
16120
2806dc7e
PA
16121 * gdb.python/py-recurse-unwind.c: New file.
16122 * gdb.python/py-recurse-unwind.py: New file.
16123 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 16124
0a1ddfa6
SM
161252016-08-24 Simon Marchi <simon.marchi@ericsson.com>
16126
16127 * gdb.base/set-inferior-tty.exp: New file.
16128 * gdb.base/set-inferior-tty.c: New file.
16129
d9de1fe3
PA
161302016-08-23 Pedro Alves <palves@redhat.com>
16131
16132 PR gdb/20494
16133 * gdb.base/new-ui-echo.c: New file.
16134 * gdb.base/new-ui-echo.exp: New file.
16135
e9d9abd7
YQ
161362016-08-23 Yao Qi <yao.qi@linaro.org>
16137
16138 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
16139 gdbserver_spawn.
16140 * gdb.server/connect-without-multi-process.exp (do_test):
16141 Likewise.
16142
3589529e
YQ
161432016-08-23 Yao Qi <yao.qi@linaro.org>
16144
16145 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
16146 standalone_txt. Delete gdb_txt and standalone_txt on host
16147 and target. Spawn the binary on target. Copy files from
16148 target to host.
16149
6bb90213
PA
161502016-08-22 Pedro Alves <palves@redhat.com>
16151
16152 PR gdb/20505
16153 * gdb.base/vdso-warning.exp: Test core dumps too. Use
16154 with_test_prefix. Factor out bits to ...
16155 (test_no_vdso): ... this new procedure.
16156
20c2c024
CL
161572016-08-19 Carl Love <cel@us.ibm.com>
16158
16159 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
16160 maintaining separate logic for constructing the output path.
16161 * gdb.arch/powerpc-d128-regs.exp: Likewise.
16162 * gdb.arch/ppc-dfp.exp: Likewise.
16163 * gdb.arch/ppc-fp.exp: Likewise.
16164 * gdb.arch/vsx-regs.exp: Likewise.
16165 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
16166 binprefix for generating the additional binary files.
16167
0646e07d
PA
161682016-08-19 Pedro Alves <palves@redhat.com>
16169
16170 * gdb.trace/mi-trace-frame-collected.exp
16171 (test_trace_frame_collected): On x32, expect two registers.
16172
46da9242
CL
161732016-08-18 Carl Love <cel@us.ibm.com>
16174
16175 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
16176 and sync up the test with tests in gas/testsuite/gas/ppc.
16177 * gdb.arch/powerpc-power.exp: Likewise.
16178
eb2332d7
SM
161792016-08-17 Simon Marchi <simon.marchi@ericsson.com>
16180
16181 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
16182 expected error message.
16183
63c61e04
SM
161842016-08-17 Simon Marchi <simon.marchi@ericsson.com>
16185
16186 * gdb.multi/remove-inferiors.exp: New file.
16187 * gdb.multi/remove-inferiors.c: New file.
16188
7b17065f
YQ
161892016-08-12 Yao Qi <yao.qi@linaro.org>
16190
16191 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
16192 argument list.
16193
01d3dedf
PA
161942016-08-10 Pedro Alves <palves@redhat.com>
16195
16196 PR gdb/19187
16197 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
16198 setup_kfails.
16199
3eb7562a
PA
162002016-08-09 Pedro Alves <palves@redhat.com>
16201 Simon Marchi <simon.marchi@ericsson.com>
16202
16203 PR gdb/20418
16204 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
16205 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
16206
80614914
PA
162072016-08-09 Pedro Alves <palves@redhat.com>
16208
16209 PR mi/20431
16210 * gdb.mi/mi-cmd-error.exp: New file.
16211
f348d89a
PA
162122016-08-09 Pedro Alves <palves@redhat.com>
16213
16214 PR gdb/18653
16215 * gdb.base/signals-state-child.c: New file.
16216 * gdb.base/signals-state-child.exp: New file.
16217 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
16218
e5ca03b4
PA
162192016-08-09 Pedro Alves <palves@redhat.com>
16220
16221 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
16222
282a0691
TT
162232016-08-03 Tom Tromey <tom@tromey.com>
16224
16225 PR python/18565:
16226 * gdb.python/py-frame-inline.exp: Add Frame.function test.
16227
41bfcd63
YQ
162282016-08-01 Yao Qi <yao.qi@linaro.org>
16229
16230 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
16231 variable mode to "multi-process" if $multi_process is 1, otherwise
16232 set it to "single-process".
16233
e3465b24
YQ
162342016-08-01 Yao Qi <yao.qi@linaro.org>
16235
16236 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
16237 * gdb.cp/cpexprs.exp: Likewise.
16238 * gdb.cp/m-static.exp: Likewise.
16239
0b31a4bc
TT
162402016-07-26 Tom Tromey <tom@tromey.com>
16241
16242 PR python/20190:
16243 * gdb.threads/tls.exp (check_thread_local): Add python symbol
16244 test.
16245
e0461dbb
MM
162462016-07-26 Markus Metzger <markus.t.metzger@intel.com>
16247
16248 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
16249 selecting assembly source files.
16250 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
16251 assembly source files.
16252 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
16253 assembly source files.
16254 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
16255 selecting assembly source files.
16256
8194e927
SM
162572016-07-25 Simon Marchi <simon.marchi@ericsson.com>
16258
16259 * gdb.base/new-ui.exp (do_test_invalid_args): New
16260 procedure.
16261
c0272db5
TW
162622016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
16263
16264 * gdb.btrace/reconnect.c: New file.
16265 * gdb.btrace/reconnect.exp: New file.
16266
e3487908
GKB
162672016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
16268
16269 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
16270 to test_catch_syscall_group.
16271 (test_catch_syscall_group): New.
16272
12df5c00
TT
162732016-07-21 Tom Tromey <tom@tromey.com>
16274
16275 * gdb.rust/simple.rs (main): Use empty struct expression.
16276 * gdb.rust/simple.exp: Add tests for empty struct expression.
16277
bae62ee2
YQ
162782016-07-21 Yao Qi <yao.qi@linaro.org>
16279
16280 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
16281 if gdb_skip_xml_test is true on some targets.
16282
b1b53fb3
YQ
162832016-07-21 Yao Qi <yao.qi@linaro.org>
16284
16285 * gdb.server/solib-list.exp: Unset last_loaded_file.
16286
027d97f8
JK
162872016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16288
16289 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
16290 "step into captured_main (args)".
16291
7674d381
JK
162922016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16293
16294 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
16295
72b5d099
JK
162962016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16297
16298 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
16299
1f960ced
PA
163002016-07-19 Pedro Alves <palves@redhat.com>
16301
16302 * gdb.opt/inline-break.exp: Remove optimize=-O2.
16303 * gdb.opt/inline-bt.exp: Likewise.
16304 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
16305 additional_flags=-Winline.
16306 * gdb.opt/inline-locals.exp: Likewise.
16307 * gdb.opt/inline-markers.c (ATTR): Define.
16308 (inlined_fn): Use it.
16309
f25827c1
YQ
163102016-07-19 Yao Qi <yao.qi@linaro.org>
16311
16312 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
16313 (test_with_self): Remove some code. Remove argument executable.
16314 (top-level): Use do_self_tests.
16315
37539ebe
DB
163162016-07-15 Zachary Welch <zwelch@codesourcery.com>
16317 Don Breazeal <donb@codesourcery.com>
16318
16319 * gdb.base/maint.exp: Escape paths used in regular expressions.
16320 * gdb.stabs/weird.exp: Likewise.
16321
dac790e1
TT
163222016-07-13 Tom Tromey <tom@tromey.com>
16323
16324 PR python/15620, PR python/18620:
16325 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
16326 (test_bkpt_events): New procs.
16327
93daf339
TT
163282016-07-13 Tom Tromey <tom@tromey.com>
16329
16330 PR python/17698:
16331 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
16332 test.
16333 (test_watchpoints): Likewise.
16334 (test_bkpt_pending): New proc.
16335
6571a381
TT
163362016-07-13 Tom Tromey <tom@tromey.com>
16337
16338 PR cli/18053:
16339 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
16340 completion test.
16341
e8732474
JK
163422016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16343
16344 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
16345 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
16346 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
16347 f_label.
16348 (g): Rename g_end_lbl to g_label.
16349 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
16350 low_pc and high_pc.
16351 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
16352
e0f3fd7c
TT
163532016-07-12 Tom Tromey <tom@tromey.com>
16354
16355 PR python/19293:
16356 * gdb.python/py-unwind-maint.exp: Update tests.
16357
3cfe46b6
YQ
163582016-07-12 Yao Qi <yao.qi@linaro.org>
16359
16360 * lib/selftest-support.exp (selftest_setup): Match the output
16361 when captured_main is inlined.
16362
4f19a0e6
WT
163632016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
16364
16365 * gdb.fortran/derived-types.exp (result_line, result_line_2):
16366 New variables.
16367 (print this%a, print this%b, print this): New tests.
16368 * gdb.fortran/derived-types.f90 (this): New object and
16369 initialization.
16370
986cf455
SM
163712016-07-06 Simon Marchi <simon.marchi@ericsson.com>
16372
16373 * gdb.ada/arraydim.exp: Remove extra directory level in build
16374 directory.
16375
f0464b23
SM
163762016-07-06 Simon Marchi <simon.marchi@ericsson.com>
16377
16378 * lib/ada.exp: Remove extra directory level in build directory.
16379 * gdb.ada/cond_lang.exp: Likewise.
16380 * gdb.ada/exec_changed.exp: Likewise.
16381 * gdb.ada/lang_switch.exp: Likewise.
16382
42d94011
MG
163832016-07-06 Manish Goregaokar <manish@mozilla.com>
16384
2806dc7e
PA
16385 * simple.rs: Add test for raw pointer subscripting.
16386 * simple.exp: Add test expectations.
42d94011 16387
647c264c
YQ
163882016-07-05 Yao Qi <yao.qi@linaro.org>
16389
16390 * gdb.mi/mi-reverse.exp: Match =record-started output.
16391
20aa2c60
PA
163922016-07-01 Pedro Alves <palves@redhat.com>
16393
16394 * gdb.base/jit-reader.exp (info_registers_current_frame): New
16395 procedure.
16396 (jit_reader_test): Test the jit reader's unwinder.
16397 * gdb.base/jithost.c (jit_function_00_code): New global.
16398 (main): Use memcpy to fill in the mmapped code, instead of poking
16399 bytes manually here.
16400 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
16401 value.
16402 (read_debug_info): Save the function's range.
16403 (read_sp): New function.
16404 (unwind_frame): Use it. Also unwind RBP.
16405 (get_frame_id): Use read_sp.
16406 (gdb_init_reader): Use calloc instead of malloc.
16407 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
16408 parameter. Use gdb_test_multiple.
16409
ced2dffb
PA
164102016-07-01 Pedro Alves <palves@redhat.com>
16411 Antoine Tremblay <antoine.tremblay@ericsson.com>
16412
16413 * gdb.threads/process-dies-while-detaching.c: New file.
16414 * gdb.threads/process-dies-while-detaching.exp: New file.
16415
63000888
PA
164162016-07-01 Pedro Alves <palves@redhat.com>
16417
16418 * gdb.multi/watchpoint-multi-exit.c: New file.
16419 * gdb.multi/watchpoint-multi-exit.exp: New file.
16420
038d4868
PA
164212016-06-30 Pedro Alves <palves@redhat.com>
16422
16423 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
16424 unset inferior_spawn_id.
16425
994e9c83
PA
164262016-06-30 Pedro Alves <palves@redhat.com>
16427
16428 * lib/mi-support.exp (default_mi_gdb_start): Declare global
16429 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
16430
e5653468
YQ
164312016-06-29 Yao Qi <yao.qi@linaro.org>
16432
16433 * gdb.base/return.c: Add copyright header.
16434
803b47e5
TT
164352016-06-29 Tom Tromey <tom@tromey.com>
16436
16437 PR python/20129:
16438 * gdb.python/py-framefilter.exp: Add tests for setting priority
16439 and disabling of non-existent frame filter.
16440
28244707
YQ
164412016-06-29 Yao Qi <yao.qi@linaro.org>
16442
16443 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
16444 0x0f07ff.
16445
a31d2f06
YQ
164462016-06-28 Yao Qi <yao.qi@linaro.org>
16447
16448 * gdb.base/catch-syscall.exp: Remove check on isnative and target
16449 triplets. Start gdb, execute catch syscall, and continue. Check
16450 gdb's output to determine catch syscall is supported.
16451
921d8f54
MG
164522016-06-27 Manish Goregaokar <manish@mozilla.com>
16453
25d49b86
PA
16454 * gdb.rust/simple.rs: Add test for returning unit in a function.
16455 * gdb.rust/simple.exp: Add expectation for functions returning
16456 unit.
921d8f54 16457
f4952523
PMR
164582016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
16459
16460 * gdb.python/py-breakpoint-create-fail.c,
16461 gdb.python/py-breakpoint-create-fail.exp,
16462 gdb.python/py-breakpoint-create-fail.py: New testcase.
16463
fccb08f8
MG
164642016-06-25 Manish Goregaokar <manish@mozilla.com>
16465
16466 PR gdb/20239
16467 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
16468 * gdb.rust/simple.exp: Add test expectations for new NonZero
16469 tests.
fccb08f8 16470
6b850546
DT
164712016-06-24 David Taylor <dtaylor@emc.com>
16472
16473 * gdb.base/offsets.exp: New file.
16474 * gdb.base/offsets.c: New file.
16475
17621150
TT
164762016-06-23 Tom Tromey <tom@tromey.com>
16477
16478 PR gdb/16483:
16479 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
16480 before any filters are loaded.
16481
04d59df6
WT
164822016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
16483
16484 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
16485 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
16486 structs.
16487 * gdb.fortran/derived-type-function.exp: New file.
16488 * gdb.fortran/derived-type-function.f90: New file.
16489
16490
ac69f786
PA
164912016-06-21 Pedro Alves <palves@redhat.com>
16492
16493 * gdb.base/new-ui.exp: New file.
16494 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
16495 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
16496 (with_spawn_id): New procedure.
16497
49940788
PA
164982016-06-21 Pedro Alves <palves@redhat.com>
16499
16500 * gdb.mi/mi-exec-run.exp: New file.
16501
ef274d26
PA
165022016-06-21 Pedro Alves <palves@redhat.com>
16503
16504 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
16505 breakpoint command's output on the main UI.
16506 (test_break): New procedure, factored out from calls in the top
16507 level.
16508 (top level): Use foreach_with_prefix to test MI as main UI and as
16509 separate UI.
16510
468afe6c
PA
165112016-06-21 Pedro Alves <palves@redhat.com>
16512
16513 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
16514 (test_awatch_creation_and_listing)
16515 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
16516 Remove 'type' parameter.
16517 (test_watchpoint_all): New parameter mi_mode. Remove
16518 with_test_prefix.
16519 (top level): Use foreach_with_prefix, and add main/separate UI MI
16520 testing axis.
16521
51f77c37
PA
165222016-06-21 Pedro Alves <palves@redhat.com>
16523
16524 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
16525 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
16526 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
16527 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
16528 (gdb_main_spawn_id, mi_spawn_id): Declare and
16529 comment.
16530 (mi_create_inferior_pty): New procedure,
16531 factored out from default_mi_gdb_start.
16532 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
16533 procedures.
16534 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
16535 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
16536 Use mi_create_inferior_pty.
16537 (mi_gdb_start): Use eval to pass down args list.
16538
8980e177
PA
165392016-06-21 Pedro Alves <palves@redhat.com>
16540
16541 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
16542 * gdb.opt/inline-cmds.exp: Add MI tests.
16543
f38d3ad1
PA
165442016-06-21 Pedro Alves <palves@redhat.com>
16545
16546 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
16547
45db7c09
PA
165482016-06-21 Pedro Alves <palves@redhat.com>
16549
16550 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
16551 (top level): Use it instead of mi_execute_to.
16552
5a069ab3
PA
165532016-06-21 Pedro Alves <palves@redhat.com>
16554
16555 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
16556 (cont_handler_str): New.
16557 (signal_stop_handler): Set stop_handler_str instead of printing to
16558 stdout.
16559 (continue_handler): Set cont_handler_str instead of printing to
16560 stdout.
16561 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
16562 mi_send_resuming_command. Print stop_handler_str and
16563 cont_handler_str instead of expecting the python events print
16564 directly.
16565
2838cc1d
SD
165662016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
16567
16568 * gdb.base/jit-reader.exp: New file.
16569 * gdb.base/jithost.c: New file.
16570 * gdb.base/jithost.h: New file.
16571 * gdb.base/jitreader.c : New file.
16572 * gdb.base/jit-protocol.h: New file.
16573
21a77091
YQ
165742016-06-17 Yao Qi <yao.qi@linaro.org>
16575
16576 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
16577 parameters follow_fork and detach_on_fork. Set follow-fork-mode
16578 and detach-on-fork. Adjust tests.
16579 (top level): Invoke break_cond_on_syscall with combinations of
16580 syscall, follow-fork-mode and detach-on-fork.
16581
f50bf8e5
YQ
165822016-06-17 Yao Qi <yao.qi@linaro.org>
16583
16584 * gdb.base/step-over-exit.c: New.
16585 * gdb.base/step-over-exit.exp: New.
16586
a28d8e50
YTL
165872016-06-17 Yan-Ting Lin <currygt52@gmail.com>
16588
16589 * gdb.base/float.exp: Add target check for nds32*-*-*.
16590 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
16591
cad8e26d
AB
165922016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
16593
16594 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
16595 for unsupported target features.
16596 * gdb.base/call-rt-st.exp: Likewise.
16597 * gdb.base/call-sc.exp: Likewise.
16598 * gdb.base/call-signal-resume.exp: Likewise.
16599 * gdb.base/call-strs.exp: Likewise.
16600 * gdb.base/callexit.exp: Likewise.
16601 * gdb.base/callfuncs.exp: Likewise.
16602 * gdb.base/nodebug.exp: Likewise.
16603 * gdb.base/printcmds.exp: Likewise.
16604 * gdb.base/ptype.exp: Likewise.
16605 * gdb.base/structs.exp: Likewise.
16606 * gdb.base/unwindonsignal.exp: Likewise.
16607 * gdb.cp/gdb2495.exp: Likewise.
16608 * gdb.cp/templates.exp: Likewise.
16609 * gdb.cp/virtfunc.exp: Likewise.
16610 * gdb.threads/hand-call-in-threads.exp: Likewise.
16611 * gdb.threads/interrupted-hand-call.exp: Likewise.
16612 * gdb.threads/thread-unwindonsignal.exp: Likewise.
16613
347dc102
TT
166142016-06-10 Tom Tromey <tom@tromey.com>
16615
16616 PR rust/20110:
16617 * gdb.rust/expr.exp: Add test for integer constant larger than
16618 i32.
16619
5e13cf25
BH
166202016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
16621
16622 * gdb.fortran/nested-funcs.exp: New.
16623 * gdb.fortran/nested-funcs.f90: New.
16624
bb556f1f
TK
166252016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
16626
16627 * gdb.base/examine-backward.c: New file.
16628 * gdb.base/examine-backward.exp: New file.
16629
38b022b4
SM
166302016-06-06 Simon Marchi <simon.marchi@ericsson.com>
16631
16632 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
16633 matching.
16634
1b40ec05
TT
166352016-06-02 Tom Tromey <tom@tromey.com>
16636
16637 PR python/18984:
16638 * gdb.python/py-shared.exp: Add solib_name test.
16639
193bd378
SM
166402016-06-02 Simon Marchi <simon.marchi@ericsson.com>
16641
16642 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
16643
3326303b
MG
166442016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
16645
16646 PR c++/19893
16647 * gdb.dwarf2/implref.exp: Rename to...
16648 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
16649 * gdb.dwarf2/implref-array.c: New file.
16650 * gdb.dwarf2/implref-array.exp: Likewise.
16651 * gdb.dwarf2/implref-global.c: Likewise.
16652 * gdb.dwarf2/implref-global.exp: Likewise.
16653 * gdb.dwarf2/implref-struct.c: Likewise.
16654 * gdb.dwarf2/implref-struct.exp: Likewise.
16655
825c8ef2
AT
166562016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16657
16658 * gdb.trace/trace-condition.exp: Add 64bit tests.
16659
2320162a
AT
166602016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16661
16662 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
16663 bits types.
16664 (main): Adapt to 8 to 64 bits types.
16665 * gdb.trace/trace-condition.exp: Add new tests.
16666
a7818233
AT
166672016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16668
16669 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
16670
0d336466
AT
166712016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16672
16673 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
16674 Move condition tests...
16675 * gdb.trace/trace-condition.exp: Here.
16676
7faeb45a
AT
166772016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16678
16679 * gdb.trace/trace-condition.exp: Add counter-case tests.
16680
e385593e
JK
166812016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
16682
16683 PR c++/15231
16684 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
16685 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
16686
744608cc
PA
166872016-05-27 Pedro Alves <palves@redhat.com>
16688
16689 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
16690 New procedure.
16691 (top level): Call it, and bail out of DejaGnu is known to be bad.
16692
ac775bf4
AB
166932016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
16694
16695 * gdb.base/whatis.c: Extend the test case.
16696 * gdb.base/whatis.exp: Add additional tests.
16697
2bbad2ea
BH
166982016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16699
16700* gdb.fortran/type.f90: Add pointer variable.
16701* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
16702
8b70175d
BH
167032016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16704
16705 * gdb.fortran/vla-type.exp: Fix testcase name.
16706
86d8a848
BH
167072016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16708
16709 * gdb.fortran/vla-type.exp: Access elements in nested structs.
16710
e188eb36
BH
167112016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16712
16713 * gdb.fortran/type.f90: Add nested structures.
16714 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
16715 * gdb.fortran/derived-type.exp: Adapt expected output.
16716 * gdb.fortran/vla-type.exp: Adapt expected output.
16717
9b2db1fd
BH
167182016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16719
16720 * gdb.fortran/whatis_type.exp: Adapt expected output.
16721
72b17055
BH
167222016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16723
16724 * gdb.fortran/print_type.exp: Fix expected output.
16725 * gdb.fortran/whatis_type.exp: Fix expected output.
16726
3cd81d8d
BH
167272016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16728
16729 * gdb.fortran/whatis_type.exp: Use multi_line.
16730
ddae9462
TT
167312016-05-24 Tom Tromey <tom@tromey.com>
16732
16733 PR python/17386:
16734 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
16735 use value as an index.
16736
1957f6b8
TT
167372016-05-23 Tom Tromey <tom@tromey.com>
16738
16739 PR python/17981:
16740 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
16741 no-breakpoint case.
16742
026a9174
PA
167432016-05-24 Pedro Alves <palves@redhat.com>
16744
16745 PR gdb/19828
16746 * gdb.threads/clone-attach-detach.c: New file.
16747 * gdb.threads/clone-attach-detach.exp: New file.
16748
e70a7231
FR
167492016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
16750
16751 * gdb.base/annota-input-while-running.exp: Fix syntax error.
16752
0f6ed0e0
TT
167532016-05-23 Tom Tromey <tom@tromey.com>
16754
16755 PR python/19438, PR python/18393:
16756 * gdb.python/py-progspace.exp: Add "dir" test.
16757 * gdb.python/py-objfile.exp: Add "dir" test.
16758
ffd19d61
YQ
167592016-05-23 Yao Qi <yao.qi@linaro.org>
16760
16761 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
16762 * gdb.arch/thumb2-it.exp: Likewise.
16763
9e8f9b05
SM
167642016-05-18 Simon Marchi <simon.marchi@ericsson.com>
16765
16766 * gdb.mi/mi-threads-interrupt.c: New file.
16767 * gdb.mi/mi-threads-interrupt.exp: New file.
16768
61c6156d
SM
167692016-05-17 Simon Marchi <simon.marchi@ericsson.com>
16770
16771 PR gdb/18077
16772 * gdb.mi/mi-async-run.exp: New file.
16773 * gdb.mi/mi-async-run.c: New file.
16774
67218854
TT
167752016-05-17 Tom Tromey <tom@tromey.com>
16776 Manish Goregaokar <manishsmail@gmail.com>
16777
16778 * lib/rust-support.exp: New file.
16779 * lib/gdb.exp (skip_rust_tests): New proc.
16780 (build_executable_from_specs): Handle rust.
16781 * lib/future.exp (gdb_find_rustc): New proc.
16782 (gdb_default_target_compile): Handle rust.
16783 * gdb.rust/expr.exp: New file.
16784 * gdb.rust/generics.exp: New file.
16785 * gdb.rust/generics.rs: New file.
16786 * gdb.rust/methods.exp: New file.
16787 * gdb.rust/methods.rs: New file.
16788 * gdb.rust/modules.exp: New file.
16789 * gdb.rust/modules.rs: New file.
16790 * gdb.rust/simple.exp: New file.
16791 * gdb.rust/simple.rs: New file.
16792
c44af4eb
TT
167932016-05-17 Tom Tromey <tom@tromey.com>
16794
16795 * gdb.base/default.exp (set language): Add rust.
16796
dcd1f979
TT
167972016-05-17 Tom Tromey <tom@tromey.com>
16798
16799 * gdb.gdb/unittest.exp: New file.
16800
155b7f57
YQ
168012016-05-16 Yao Qi <yao.qi@linaro.org>
16802
16803 * gdb.base/batch-preserve-term-settings.exp: Remove variable
16804 shell_prompt. Update shell_prompt_re.
16805
8ddd5a6c
DE
168062016-05-12 Doug Evans <dje@google.com>
16807
16808 PR symtab/19999
16809 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
16810 $options when building executable.
16811 * gdb.dwarf2/fission-loclists-pie.S: New file.
16812 * gdb.dwarf2/fission-loclists-pie.exp: New file.
16813
02e370d9
SM
168142016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16815
16816 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
16817 of [is_remote target],
16818
8929ad8b
SM
168192016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16820
16821 * lib/gdb.exp (use_gdb_stub): New procedure.
16822
6c447423
DE
168232016-05-03 Yunlian Jiang <yunlian@google.com>
16824 Doug Evans <dje@google.com>
16825
16826 PR symtab/19914
16827 * gdb.dwarf2/dwp-sepdebug.c: New file.
16828 * gdb.dwarf2/dwp-sepdebug.exp: New file.
16829
444e826c
SM
168302016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16831
16832 * gdb.base/detach.exp: Remove is_remote check.
16833
740feeaa
SM
168342016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16835
16836 * gdb.base/annota-input-while-running.exp: Don't check for
16837 [is_remote target]. Enable annotations after running to main.
16838 Remove unused "set test..." line.
16839
9080ac9d
SM
168402016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16841
16842 * gdb.trace/trace-enable-disable.exp: New file.
16843 * gdb.trace/trace-enable-disable.c: New file.
16844
952ebca5
SM
168452016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16846
16847 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
16848 use it in info sharedlibrary test.
16849 * gdb.trace/ftrace-lock.exp: Likewise.
16850 * gdb.trace/ftrace.exp: Likewise.
16851 * gdb.trace/range-stepping.exp: Likewise.
16852 * gdb.trace/trace-break.exp: Likewise.
16853 * gdb.trace/trace-condition.exp: Likewise.
16854 * gdb.trace/trace-mt.exp: Likewise.
16855
d9019901
SM
168562016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16857
16858 * lib/gdb.exp (gdb_load_shlibs): Rename to...
16859 (gdb_load_shlib): ... this.
16860 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
16861 gdb_load_shlib.
16862 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
16863 * gdb.base/ctxobj.exp: Likewise.
16864 * gdb.base/dprintf-pending.exp: Likewise.
16865 * gdb.base/dso2dso.exp: Likewise.
16866 * gdb.base/fixsection.exp: Likewise.
16867 * gdb.base/gcore-relro.exp: Likewise.
16868 * gdb.base/gdb1555.exp: Likewise.
16869 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16870 * gdb.base/gnu-ifunc.exp: Likewise.
16871 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
16872 * gdb.base/jit-so.exp (one_jit_test): Likewise.
16873 * gdb.base/pending.exp: Likewise.
16874 * gdb.base/print-file-var.exp: Likewise.
16875 * gdb.base/print-symbol-loading.exp: Likewise.
16876 * gdb.base/shlib-call.exp: Likewise.
16877 * gdb.base/shreloc.exp: Likewise.
16878 * gdb.base/so-impl-ld.exp: Likewise.
16879 * gdb.base/solib-disc.exp: Likewise.
16880 * gdb.base/solib-nodir.exp: Likewise.
16881 * gdb.base/solib-overlap.exp: Likewise.
16882 * gdb.base/solib-symbol.exp: Likewise.
16883 * gdb.base/solib-weak.exp (do_test): Likewise.
16884 * gdb.base/sym-file.exp: Likewise.
16885 * gdb.base/symtab-search-order.exp: Likewise.
16886 * gdb.base/type-opaque.exp: Likewise.
16887 * gdb.base/unload.exp: Likewise.
16888 * gdb.base/watchpoint-solib.exp: Likewise.
16889 * gdb.compile/compile.exp: Likewise.
16890 * gdb.cp/gdb2384.exp: Likewise.
16891 * gdb.cp/infcall-dlopen.exp: Likewise.
16892 * gdb.cp/re-set-overloaded.exp: Likewise.
16893 * gdb.fortran/library-module.exp: Likewise.
16894 * gdb.opt/solib-intra-step.exp: Likewise.
16895 * gdb.python/py-finish-breakpoint.exp: Likewise.
16896 * gdb.python/py-shared.exp: Likewise.
16897 * gdb.reverse/solib-precsave.exp: Likewise.
16898 * gdb.reverse/solib-reverse.exp: Likewise.
16899 * gdb.server/solib-list.exp: Likewise.
16900 * gdb.threads/dlopen-libpthread.exp: Likewise.
16901 * gdb.threads/tls-shared.exp: Likewise.
16902 * gdb.threads/tls-so_extern.exp: Likewise.
16903 * gdb.trace/change-loc.exp: Likewise.
16904 * gdb.trace/ftrace-lock.exp: Likewise.
16905 * gdb.trace/ftrace.exp: Likewise.
16906 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
16907 * gdb.trace/pending.exp: Likewise.
16908 * gdb.trace/range-stepping.exp: Likewise.
16909 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
16910 (strace_info_marker): Likewise.
16911 (strace_probe_marker): Likewise.
16912 (strace_trace_on_same_addr): Likewise.
16913 (strace_trace_on_diff_addr): Likewise.
16914 * gdb.trace/trace-break.exp: Likewise.
16915 * gdb.trace/trace-condition.exp: Likewise.
16916 * gdb.trace/trace-mt.exp: Likewise.
16917
fca4cfd9
SM
169182016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16919
16920 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
16921 result of gdb_remote_download.
16922 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
16923 * gdb.base/dso2dso.exp: Likewise.
16924 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16925 * gdb.base/print-file-var.exp: Likewise.
16926 * gdb.base/shlib-call.exp: Likewise.
16927 * gdb.base/shreloc.exp: Likewise.
16928 * gdb.base/solib-overlap.exp: Likewise.
16929 * gdb.base/solib-weak.exp (do_test): Likewise.
16930 * gdb.base/unload.exp: Likewise.
16931
11cf4ffb
YQ
169322016-04-27 Yao Qi <yao.qi@linaro.org>
16933
16934 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
16935 exists.
16936
3e2e34f8
KB
169372016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16938
16939 * vla-type.exp: Print structure from toplevel.
16940
8f07e298
BH
169412016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16942
16943 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
16944 of dynamic types.
16945 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
16946 of dynamic types.
16947
9920b434
BH
169482016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16949
16950 * gdb.fortran/vla-type.f90: New file.
16951 * gdb.fortran/vla-type.exp: New file.
16952
f3abeff5
YQ
169532016-04-25 Yao Qi <yao.qi@linaro.org>
16954
16955 * gdb.base/branch-to-self.c: New file.
16956 * gdb.base/branch-to-self.exp: New file.
16957
0a5d52f0
YQ
169582016-04-22 Yao Qi <yao.qi@linaro.org>
16959
16960 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
16961 more after $hex.
16962
495346f6
YQ
169632016-04-22 Yao Qi <yao.qi@linaro.org>
16964
16965 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
16966 * gdb.base/annota3.exp: Likewise.
16967
4a7e075c
YQ
169682016-04-22 Yao Qi <yao.qi@linaro.org>
16969
16970 * gdb.reverse/step-precsave.exp: Do one step and test program
16971 stops in "callee" and do multiple steps until program goes out
16972 of "callee".
16973 * gdb.reverse/step-reverse.exp: Likewise.
16974
5b061e98
YQ
169752016-04-22 Yao Qi <yao.qi@linaro.org>
16976
16977 * gdb.trace/signal.exp: Also pass if
16978 $tracepoint_hits($i) > $iterations.
16979
5c5dc57f
YQ
169802016-04-22 Yao Qi <yao.qi@linaro.org>
16981
16982 * gdb.trace/signal.c: New file.
16983 * gdb.trace/signal.exp: New file.
16984
a55411b9
DE
169852016-04-19 Doug Evans <xdje42@gmail.com>
16986
16987 * gdb.base/bad-file.exp: New file.
16988
a22df60a
MG
169892016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
16990
16991 * gdb.dwarf2/implref.exp: New file.
16992
0c13f7e5
BH
169932016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16994
16995 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
16996 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
16997 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
16998 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
16999 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
17000 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
17001 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
17002 * lib/fortran.exp (fortran_int4): New procedure.
17003 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
17004 (fortran_logical4): Likewise.
17005
9b9b09e9
BH
170062016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
17007
17008 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
17009
a14d1f4d
BH
170102016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
17011
17012 * lib/compiler.c: Add Intel specific preprocessor macros.
17013 * lib/compiler.cc: Likewise.
25d49b86 17014
7d49b1d0
LM
170152016-04-13 Luis Machado <lgustavo@codesourcery.com>
17016
17017 * gdb.server/connect-with-no-symbol-file.c: New file.
17018 * gdb.server/connect-with-no-symbol-file.exp: New file.
17019
8392fa22
SM
170202016-04-13 Simon Marchi <simon.marchi@ericsson.com>
17021
17022 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
17023
8c4c4aeb
SM
170242016-04-13 Simon Marchi <simon.marchi@ericsson.com>
17025
17026 * boards/gdbserver-base.exp (${board}_download): Copy source file to
17027 standard output directory.
17028
45e3745e
AT
170292016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
17030
17031 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
17032
e26b7e41
MM
170332016-04-13 Markus Metzger <markus.t.metzger@intel.com>
17034
17035 * gdb.btrace/instruction_history.c (loop): Add declaration.
17036
8ce09462
AT
170372016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
17038
17039 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
17040
2e88a1ea
SM
170412016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
17042
17043 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
17044 parentheses to print.
17045 (continue_handler): Likewise.
17046
f48e22e3
SM
170472016-04-08 Simon Marchi <simon.marchi@ericsson.com>
17048
17049 * gdb.server/solib-list.exp: Remove is_remote check.
17050 Pass shlib= to gdb_compile. Don't link shared library with
17051 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
17052 Run binary filename through "readlink -f" on the target.
17053
096be756
PA
170542016-04-08 Pedro Alves <palves@redhat.com>
17055
17056 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
17057 interpreter filename as argument to gdbserver_spawn.
17058 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
17059 Return empty if $last_loaded_file does not exist.
17060
06500533
JK
170612016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17062
17063 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
17064 * gdb.base/jit-main.c: Use exit after usage.
17065
2d35e871
JK
170662016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17067
17068 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
17069 GDBHISTSIZE prior to the tests.
17070 * gdb.base/gdbinit-history.exp: Likewise.
17071
170722016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
17073
17074 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
17075 instead of build_executable. Use gdb_load_shlibs.
17076
c8064e7e
YQ
170772016-04-07 Yao Qi <yao.qi@linaro.org>
17078
17079 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
17080 Execute "si" command.
17081
bde47561
YQ
170822016-04-07 Yao Qi <yao.qi@linaro.org>
17083
17084 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
17085 number instead of the comments on some line.
17086
b16f8a3b
DB
170872016-04-06 Don Breazeal <donb@codesourcery.com>
17088
17089 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
17090 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
17091
c2f901df
SM
170922016-04-06 Simon Marchi <simon.marchi@ericsson.com>
17093
17094 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
17095 standard_output_file. Remove unused binfile variable.
17096
ac17fda0
CU
170972016-04-05 Catalin Udma <catalin.udma@freescale.com>
17098
17099 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
17100 * gdb.python/py-mi-objfile.exp: Match "list main" output
17101 in console format.
17102
03a8c4df
SM
171032016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
17104
17105 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
17106 absolute.
17107
6e774b13
SM
171082016-04-05 Simon Marchi <simon.marchi@ericsson.com>
17109
17110 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
17111 absolute.
17112 * gdb.trace/ftrace.exp: Likewise.
17113 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
17114 targets as well.
17115 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
17116 (gdb_load_shlibs): Copy libraries to test directory when testing
17117 natively. Only set solib-search-path if testing remotely.
17118 * lib/mi-support.exp (mi_load_shlibs): Likewise.
17119
7817ea46
SM
171202016-04-05 Simon Marchi <simon.marchi@ericsson.com>
17121
17122 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
17123 gdb_download. Use it even if the target is not remote.
17124 * gdb.base/jit.exp (compile_jit_test): Likewise.
17125 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
17126 output directory if the destination board is local, otherwise use
17127 the standard remote_download from DejaGnu.
17128 (gdb_download): Remove.
17129 (gdb_load_shlibs): Use gdb_remote_download instead of
17130 gdb_download.
17131 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
17132 Use gdb_remote_download instead of gdb_download. Use it even if
17133 the target is not remote.
17134 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
17135 instead of gdb_download.
17136
7beb7f68
SM
171372016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
17138
17139 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
17140 (test_insert_delete_modify): Call mi_load_shlibs before trying to
17141 run.
17142
cc63428a
AV
171432016-04-01 Artemiy Volkov <artemiyv@acm.org>
17144
17145 PR gdb/19820
17146 * gdb.base/printcmds.exp: Add artificial arrays tests.
17147
64cdf930
PA
171482016-03-31 Pedro Alves <palves@redhat.com>
17149
17150 PR gdb/19858
17151 * gdb.base/jit-main.c: Include unistd.h.
17152 (ATTACH): Define to 0 if not already defined.
17153 (wait_for_gdb, mypid): New globals.
17154 (WAIT_FOR_GDB): New macro.
17155 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
17156 some breakpoint locations.
17157 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
17158 New procedures.
17159 (one_jit_test): Add REATTACH parameter, and handle it. Use
17160 continue_to_test_location.
17161 (top level): Test attach, and adjusts calls to one_jit_test.
17162
40dea8cb
PA
171632016-03-31 Pedro Alves <palves@redhat.com>
17164
17165 PR gdb/19858
17166 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
17167 BINSUFFIX parameter, and handle it.
17168 (top level): Adjust calls compile_jit_test.
17169
e7ea3ec7
CU
171702016-03-31 Catalin Udma <catalin.udma@freescale.com>
17171
17172 PR python/19743
17173 * gdb.python/py-mi-events-gdb.py: New file.
17174 * gdb.python/py-mi-events.c: New file.
17175 * gdb.python/py-mi-events.exp: New file.
17176
e6359af3
YQ
171772016-03-30 Yao Qi <yao.qi@linaro.org>
17178
17179 * gdb.reverse/until-precsave.exp: Match function name only.
17180 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
17181 Move malloc to a condition block.
17182 * gdb.reverse/until-reverse.exp: Match function name only.
17183
a4105d04
MK
171842016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
17185
17186 * gdb.trace/ftrace.exp: Set arg0exp for s390.
17187 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
17188 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
17189 variable for GPR 0 instead of assuming it is register 0.
17190 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
17191 * lib/trace-support.exp: Add s390 registers.
17192
bfa6adb9
YQ
171932016-03-29 Yao Qi <yao.qi@linaro.org>
17194
17195 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
17196
1e6697ea
YQ
171972016-03-24 Yao Qi <yao.qi@linaro.org>
17198
17199 * gdb.reverse/break-reverse.exp: Add quotation mark in the
17200 test message.
17201
64bcd522
AA
172022016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17203
17204 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
17205 maintaining separate logic for constructing the output path.
17206
7868401b
DB
172072016-03-16 Don Breazeal <donb@codesourcery.com>
17208
17209 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
17210 Retry fork and waitpid on interrupted system call errors.
17211 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
17212 Use with_timeout_factor to increase timeout by factor of 10.
17213
1cafadb4
DB
172142016-03-15 Don Breazeal <donb@codesourcery.com>
17215
17216 * gdb.cp/scope-err.cc: New test program.
17217 * gdb.cp/scope-err.exp: New test script.
17218 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
17219 lines and "set breakpoint here" comment.
17220 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
17221 Fixed some whitespace and format issues.
17222 * gdb.mi/mi-linespec-err-cp.cc: New test program.
17223 * gdb.mi/mi-linespec-err-cp.exp: New test script.
17224
81516450
DE
172252016-03-15 Doug Evans <dje@google.com>
17226
17227 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
17228 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
17229 All callers updated. Add tests for enums, mixed flags register.
17230
aa52b601
DE
172312016-03-15 Doug Evans <dje@google.com>
17232
17233 * gdb.base/skip.c (main): Call test_skip_file_and_function.
17234 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
17235
fa4ff313
SM
172362016-03-14 Simon Marchi <simon.marchi@ericsson.com>
17237
17238 * gdb.base/default.exp: Add $_as_string to the list of expected
17239 convenience functions.
17240
f2403c39
AB
172412016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
17242
17243 * gdb.base/maint.exp: New tests for 'maint info line-table'.
17244
f2f3ccb9
SM
172452016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
17246
17247 * gdb.python/py-as-string.exp: New file.
17248 * gdb.python/py-as-string.c: New file.
17249
00dbd492
PA
172502016-03-09 Pedro Alves <palves@redhat.com>
17251
17252 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
17253 signal" -> "Thread NN received signal" output change.
17254 * gdb.threads/ia64-sigill.exp: Likewise.
17255 * gdb.threads/linux-dp.exp: Likewise.
17256 * gdb.threads/manythreads.exp: Likewise.
17257 * gdb.threads/pending-step.exp: Likewise.
17258 * gdb.threads/print-threads.exp: Likewise.
17259 * gdb.threads/sigstep-threads.exp: Likewise.
17260 * gdb.threads/staticthreads.exp: Likewise.
17261 * gdb.threads/tls.exp: Likewise.
17262
1e6697ea
YQ
172632016-03-09 Pedro Alves <palves@redhat.com>
17264
17265 * gdb.base/command-line-input.exp: New file.
17266
b04fd3be
MK
172672016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
17268
17269 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
17270 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
17271 * gdb.trace/pending.exp: Accept leading dot before function name.
17272 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
17273 * lib/trace-support.exp: Set registers for ppc.
17274
98fa59e9
MK
172752016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
17276
17277 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
17278 use it for disassembly; accept .main in addition to main in backtrace.
17279
f77198c8
MK
172802016-03-09 Wei-cheng Wang <cole945@gmail.com>
17281 Marcin Kościelnicki <koriakin@0x04.net>
17282
17283 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
17284 (gdb_recursion_test_ptr): New global variable.
17285 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
17286 gdb_recursion_test.
17287 (gdb_c_test): Ditto.
17288
ba84e0da
MK
172892016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
17290
17291 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
17292 ordering.
17293
4366d36e
MK
172942016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
17295
17296 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
17297 (bar): Add bar_start_lbl label.
17298 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
17299 of foo/bar for emitting DWARF and tracing.
17300
5eb264df
SDJ
173012016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
17302
17303 * analyze-racy-logs.py: Set executable bit.
17304
fb6a751f
SDJ
173052016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
17306
17307 * Makefile.in (DEFAULT_RACY_ITER): New variable.
17308 (CHECK_TARGET_TMP): Likewise.
17309 (check-single-racy): New rule.
17310 (check-parallel-racy): Likewise.
17311 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
17312 (do-check-parallel-racy): New rule.
17313 (check-racy/%.exp): Likewise.
17314 * README (Racy testcases): New section.
17315 * analyze-racy-logs.py: New file.
17316
bdf7e230
DE
173172016-03-03 Doug Evans <dje@google.com>
17318
17319 * gdb.base/skip.exp: Use with_test_prefix.
17320
4719d415
YQ
173212016-03-03 Yao Qi <yao.qi@linaro.org>
17322
17323 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
17324 Invoke step_over_syscall "clone" and break_cond_on_syscall
17325 "clone".
17326 * gdb.base/step-over-clone.c: New file.
17327
ea507862
YQ
173282016-03-03 Yao Qi <yao.qi@linaro.org>
17329
17330 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
17331 code format.
17332
8fc8cbda
YQ
173332016-03-03 Yao Qi <yao.qi@linaro.org>
17334
17335 * gdb.base/disp-step-fork.c: Rename to ...
17336 * gdb.base/step-over-fork.c: ... it. New file.
17337 * gdb.base/disp-step-vfork.c: Rename to ...
17338 * gdb.base/step-over-vfork.c: ... it. New file.
17339 * gdb.base/disp-step-syscall.exp: Rename to ...
17340 * gdb.base/step-over-syscall.exp: ... it. New file.
17341 (disp_step_cross_syscall): Rename to ...
17342 (step_over_syscall): ... it.
17343
92fa70b0
YQ
173442016-03-03 Yao Qi <yao.qi@linaro.org>
17345
17346 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
17347 If target supports condition evaluation on target, invoke
17348 break_cond_on_syscall for fork and vfork.
17349
e197ad3c
YQ
173502016-03-03 Yao Qi <yao.qi@linaro.org>
17351
17352 * gdb.base/disp-step-syscall.exp: Don't invoke
17353 support_displaced_stepping.
17354 (disp_step_cross_syscall): Test with displaced stepping off and
17355 on if supported.
17356
0b47da9f
YQ
173572016-03-03 Yao Qi <yao.qi@linaro.org>
17358
17359 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
17360 proc.
17361 (setup): New proc.
17362 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
17363 and setup.
17364
065ab6dc
BH
173652016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
17366
17367 * gdb.fortran/vla-history.exp: Remove breakpoint.
17368
07e448ad 173692016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
17370
25d49b86
PA
17371 * gdb.fortran/vla-history.exp: Lookup array elements and printing
17372 exceeds timeout.
07e448ad 17373
9ac2d526 173742016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
17375
25d49b86
PA
17376 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
17377 breakpoint.
9ac2d526 17378
17807369
BH
173792016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
17380
17381 * gdb.mi/vla.f90: Nullify pointer after declaration.
17382
86e501af
PA
173832016-03-01 Pedro Alves <palves@redhat.com>
17384
17385 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
17386
1e903e32
PA
173872016-03-01 Pedro Alves <palves@redhat.com>
17388
17389 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
17390 before anything else.
17391 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
17392 _GNU_SOURCE here.
17393 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
17394 before anything else.
17395 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
17396
6ccb54e2
PA
173972016-03-01 Pedro Alves <palves@redhat.com>
17398
17399 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
17400
30ca9da1
YQ
174012016-03-01 Yao Qi <yao.qi@linaro.org>
17402
17403 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
17404 prepare_for_testing.
17405
dc856b38
YQ
174062016-03-01 Yao Qi <yao.qi@linaro.org>
17407
17408 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
17409
4a932159
AA
174102016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
17411
17412 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
17413 manually constructing the output path.
17414
f2489477
AA
174152016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
17416
17417 * gdb.arch/s390-stackless.S: New.
17418 * gdb.arch/s390-stackless.exp: New.
17419
38899f16
IB
174202016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
17421
17422 * gdb.dlang/circular.c: New file.
17423 * gdb.dlang/circular.exp: New file.
17424
9fde51ed
YQ
174252016-02-26 Yao Qi <yao.qi@linaro.org>
17426
17427 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
17428 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
17429 (testcases): Update.
17430
ce90fefe
YQ
174312016-02-26 Yao Qi <yao.qi@linaro.org>
17432
17433 * gdb.reverse/aarch64.c: Rename to ...
17434 * gdb.reverse/insn-reverse.c: ... it.
17435 * gdb.reverse/aarch64.exp: Rename to ...
17436 * gdb.reverse/insn-reverse.exp: ... it.
17437
3263bceb
YQ
174382016-02-26 Yao Qi <yao.qi@linaro.org>
17439
17440 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
17441 (testcase_ftype): New.
17442 (testcases): New array.
17443 (n_testcases): New.
17444 (main): Call each element in testcases.
17445 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
17446 (read_testcase): New.
17447 Do the tests in a loop.
17448
6cb59ff1
YQ
174492016-02-25 Yao Qi <yao.qi@linaro.org>
17450
17451 * gdb.base/branches.c: Remove.
17452
ae91f625
MK
174532016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
17454
17455 PR gdb/13808
17456 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
17457
678b48b7
MK
174582016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
17459
17460 * gdb.trace/ftrace.exp: Remove unnecessary target check.
17461
7337a6f2
MK
174622016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
17463
17464 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
17465 change x86_64 call_insn to 'callq'.
17466
861ca91f
AT
174672016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17468
17469 * gdb.trace/tfile-avx.c: Move to...
17470 * gdb.trace/tracefile-pseudo-reg.c: Here.
17471 * gdb.trace/tfile-avx.exp: Move to...
17472 * gdb.trace/tracefile-pseudo-reg.exp: Here.
17473
bf74e428
GB
174742016-02-24 Gary Benson <gbenson@redhat.com>
17475
17476 * gdb.base/attach-pie-noexec.exp: Do not expect an error
17477 message on attach.
17478
cce0e923
DE
174792016-02-23 Doug Evans <dje@google.com>
17480
17481 * gdb.base/skip.c (test_skip): New function.
17482 (end_test_skip_file_and_function): New function.
17483 (test_skip_file_and_function): New function.
17484 * gdb.base/skip1.c (test_skip): New function.
17485 (skip1_test_skip_file_and_function): New function.
17486 * gdb.base/skip.exp: Add tests for new skip options.
17487 * gdb.base/skip-solib.exp: Update expected output.
17488 * gdb.perf/skip-command.cc: New file.
17489 * gdb.perf/skip-command.exp: New file.
17490 * gdb.perf/skip-command.py: New file.
17491
4000e47e
MK
174922016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
17493
17494 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
17495 info registers pattern.
17496
24f75ead
IB
174972016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
17498
17499 * lib/future.exp: Add D support.
17500 (gdb_find_gdc): New proc.
17501 (gdb_default_target_compile): Add D support.
17502
fbb7bcbe
WW
175032016-02-18 Wei-cheng Wang <cole945@gmail.com>
17504
17505 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
17506 user+system time.
17507 (trace_speed_test): Determine the iteration count for a time
17508 between 15..30 seconds.
17509
012b3a21
WT
175102016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
17511
17512 * gdb.arch/i386-mpx-sigsegv.c: New file.
17513 * gdb.arch/i386-mpx-sigsegv.exp: New file.
17514 * gdb.arch/i386-mpx-simple_segv.c: New file.
17515 * gdb.arch/i386-mpx-simple_segv.exp: New file.
17516
2d5189bd
YQ
175172016-02-18 Yao Qi <yao.qi@linaro.org>
17518
17519 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
17520 Don't call setup_kfail.
17521
40fb20d0
YQ
175222016-02-18 Yao Qi <yao.qi@linaro.org>
17523
17524 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
17525 Set "set breakpoint condition-evaluation" per $cond_bp_target.
17526
21b1f8d2
DE
175272016-02-16 Doug Evans <dje@google.com>
17528
17529 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
17530 * gdb.base/skip1.c: Ditto.
17531 * gdb.base/skip.exp: Whitespace cleanup.
17532
4041ed77
DB
175332016-02-16 Don Breazeal <donb@codesourcery.com>
17534
17535 PR remote/19496
17536 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
17537 Remove kfail for PR remote/19496.
17538
c4ef31bf
SM
175392016-02-16 Simon Marchi <simon.marchi@ericsson.com>
17540
17541 * lib/gdb.exp (standard_temp_file): Return a path specific to
17542 the runtest invocation.
17543
266b65b3
SM
175442016-02-16 Simon Marchi <simon.marchi@ericsson.com>
17545
17546 * gdb.trace/save-trace.exp: Change relative path to be in the
17547 standard output directory.
17548
a7a0a6a9
JK
175492016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17550
17551 * gdb.arch/i386-prologue.c: Add missing prototypes.
17552
c99dbb42
JK
175532016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17554
17555 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
17556 * gdb.arch/i386-prologue.exp: Likewise.
17557 * gdb.arch/i386-size.exp: Likewise.
17558
aa480355
SM
175592016-02-15 Simon Marchi <simon.marchi@ericsson.com>
17560
17561 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
17562 define object file path.
17563 * gdb.btrace/gcore.exp: Use standard_output_file to define core
17564 file path.
17565 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
17566 standard_output_file to define binfile.
17567
ba881f50
JK
175682016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17569
17570 Fix compatibility with recent gfortran-5.3.1.
17571 * gdb.fortran/vla-history.exp (print vla1 allocated)
17572 (print vla2 allocated, print $2, print $3): Remove
17573 (print $4): Rename to ...
17574 (print $2): ... here.
17575 (print $9): Rename to ...
17576 (print $5): ... here.
17577 (print $10): Rename to ...
17578 (print $6): ... here.
17579 * gdb.fortran/vla.f90: Add pvla initialization.
17580
e9fb005c
JK
175812016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17582
17583 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
17584 New test.
17585 * gdb.fortran/vla-value-sub.exp: Likewise.
17586
e44e00ff
MK
175872016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
17588
17589 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
17590
97e94151
SM
175912016-02-12 Simon Marchi <simon.marchi@ericsson.com>
17592
17593 * i386-biarch-core.exp: Define corefile using
17594 standard_output_file.
17595
01113bc1
YQ
175962016-02-12 Yao Qi <yao.qi@linaro.org>
17597
17598 * gdb.arch/arm-single-step-kernel-helper.c: New.
17599 * gdb.arch/arm-single-step-kernel-helper.exp: New.
17600
33b4777c
MM
176012016-02-12 Markus Metzger <markus.t.metzger@intel.com>
17602
17603 * gdb.btrace/tailcall-only.exp: New.
17604 * gdb.btrace/tailcall-only.c: New.
17605 * gdb.btrace/x86_64-tailcall-only.S: New.
17606 * gdb.btrace/i686-tailcall-only.S: New.
17607
acc23c11
PA
176082016-02-11 Pedro Alves <palves@redhat.com>
17609
17610 * README (Parallel testing): Add missing double quotes.
17611
e352bf0a
PA
176122016-02-11 Pedro Alves <palves@redhat.com>
17613
17614 * README (Parallel testing): New section.
17615 (GDB_PARALLEL): Rewrite.
17616 (FORCE_PARALLEL): Document.
17617
9f5fed78
MK
176182016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
17619
17620 * gdb.trace/tfile-avx.c: New test.
17621 * gdb.trace/tfile-avx.exp: New test.
17622
9ef9e6a6
KS
176232016-02-09 Keith Seitz <keiths@redhat.com>
17624
17625 PR breakpoints/19546
17626 * gdb.base/infcall-exec.c: New file.
17627 * gdb.base/infcall-exec2.c: New file.
17628 * gdb.base/infcall-exec.exp: New file.
17629
a96e36da
KS
176302016-02-09 Keith Seitz <keiths@redhat.com>
17631
17632 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
17633 (toplevel): Call test_bkpt_address.
17634
9f61929f
KS
176352016-02-09 Keith Seitz <keiths@redhat.com>
17636
17637 PR python/19506
17638 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
17639 (toplevel): Call test_bkpt_address.
17640
1e94266c
SM
176412016-02-09 Simon Marchi <simon.marchi@ericsson.com>
17642
17643 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
17644 to AC_OUTPUT.
17645 * configure: Regenerate.
17646
2a7f3dff
PA
176472016-02-09 Pedro Alves <palves@redhat.com>
17648
17649 PR breakpoints/19548
17650 * gdb.base/execl-update-breakpoints.c (some_function): New
17651 function.
17652 (main): Call it.
17653 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
17654 Tighten expected GDB output.
17655
2151ccc5
SM
176562016-02-08 Simon Marchi <simon.marchi@ericsson.com>
17657
17658 * Makefile.in (ALL_SUBDIRS): Remove.
17659 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
17660 (distclean maintainer-clean realclean): Likewise.
17661 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
17662 * configure: Regenerate.
17663 * gdb.ada/Makefile.in: Delete.
17664 * gdb.arch/Makefile.in: Likewise.
17665 * gdb.asm/Makefile.in: Likewise.
17666 * gdb.base/Makefile.in: Likewise.
17667 * gdb.btrace/Makefile.in: Likewise.
17668 * gdb.cell/Makefile.in: Likewise.
17669 * gdb.compile/Makefile.in: Likewise.
17670 * gdb.cp/Makefile.in: Likewise.
17671 * gdb.disasm/Makefile.in: Likewise.
17672 * gdb.dlang/Makefile.in: Likewise.
17673 * gdb.dwarf2/Makefile.in: Likewise.
17674 * gdb.fortran/Makefile.in: Likewise.
17675 * gdb.gdb/Makefile.in: Likewise.
17676 * gdb.go/Makefile.in: Likewise.
17677 * gdb.guile/Makefile.in: Likewise.
17678 * gdb.java/Makefile.in: Likewise.
17679 * gdb.linespec/Makefile.in: Likewise.
17680 * gdb.mi/Makefile.in: Likewise.
17681 * gdb.modula2/Makefile.in: Likewise.
17682 * gdb.multi/Makefile.in: Likewise.
17683 * gdb.objc/Makefile.in: Likewise.
17684 * gdb.opencl/Makefile.in: Likewise.
17685 * gdb.opt/Makefile.in: Likewise.
17686 * gdb.pascal/Makefile.in: Likewise.
17687 * gdb.perf/Makefile.in: Likewise.
17688 * gdb.python/Makefile.in: Likewise.
17689 * gdb.reverse/Makefile.in: Likewise.
17690 * gdb.server/Makefile.in: Likewise.
17691 * gdb.stabs/Makefile.in: Likewise.
17692 * gdb.threads/Makefile.in: Likewise.
17693 * gdb.trace/Makefile.in: Likewise.
17694 * gdb.xml/Makefile.in: Likewise.
17695 * lib/gdb.exp (make_gdb_parallel_path): Add check for
17696 GDB_PARALLEL.
17697 (standard_output_file): Remove check for GDB_PARALLEL, always
17698 return path in outputs/$subdir/$testname.
17699
437277d4
SM
177002016-02-08 Simon Marchi <simon.marchi@ericsson.com>
17701
17702 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
17703 (site.exp): Assign abs_srcdir to tcl's srcdir.
17704
31d913c7
YQ
177052016-02-04 Yao Qi <yao.qi@linaro.org>
17706
17707 * gdb.base/foll-exec-mode.c: Include limits.h.
17708 (main): Add parameters argc and argv. Get directory from
17709 argv[0].
17710 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
17711 compilation.
17712 * gdb.base/foll-exec.c: Include limits.h.
17713 (main): Add parameters argc and argv.
17714 Get directory from argv[0].
17715 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
17716 Adjust tests on the number of lines as source code changed.
17717 * gdb.base/foll-vfork-exit.c: Include limits.h.
17718 (main): Add one line of statement before vfork.
17719 * gdb.base/foll-vfork.c: Include limits.h and string.h.
17720 (main): Add parameters argc and argv. Get directory from
17721 argv[0].
17722 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
17723 (setup_gdb): Set tbreak to skip some source lines.
17724 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
17725 (main): Add parameters argc and argv. Get directory from
17726 argv[0].
17727 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
17728 compilation.
17729 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
17730 (main): Add parameters argc and argv. Get directory from
17731 argv[0].
17732 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
17733 compilation.
17734
9482b9fb
DE
177352016-02-01 Doug Evans <dje@google.com>
17736
17737 * gdb.base/skip.exp: Clean up multiple references to same test name.
17738
6b2e4f10
PA
177392016-02-01 Pedro Alves <palves@redhat.com>
17740
ccb6afd6 17741 PR remote/19496
6b2e4f10
PA
17742 * gdb.threads/forking-threads-plus-breakpoint.exp
17743 (displaced_stepping_supported): New global.
17744 (probe_displaced_stepping_support): New procedure.
17745 (do_test): Add 'displaced' parameter, and use it.
17746 (top level): Check for displaced stepping support. Add displaced
17747 stepping on/off testing axis.
17748
37a8db1a
AB
177492016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17750
17751 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
17752 pointer. Don't perform further tests on the unassociated pointer
17753 if the first test fails.
17754
5fdf6324
AB
177552016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17756
17757 * gdb.base/max-value-size.c: New file.
17758 * gdb.base/max-value-size.exp: New file.
17759 * gdb.base/huge.exp: Disable max-value-size for this test.
17760
935c6144
IB
177612016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
17762
17763 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17764
7fe8399d
YQ
177652016-01-28 Yao Qi <yao.qi@linaro.org>
17766
17767 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
17768
a2077e25
PA
177692016-01-25 Pedro Alves <palves@redhat.com>
17770
17771 PR threads/19461
17772 * gdb.base/fork-running-state.c: New file.
17773 * gdb.base/fork-running-state.exp: New file.
17774
1d2736d4
PA
177752016-01-25 Pedro Alves <palves@redhat.com>
17776
17777 PR gdb/19494
17778 * gdb.base/catch-fork-kill.c: New file.
17779 * gdb.base/catch-fork-kill.exp: New file.
17780
f1da4b11
PA
177812016-01-25 Pedro Alves <palves@redhat.com>
17782
17783 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
17784 Delete, moved to lib/gdb.exp.
17785 * gdb.threads/forking-threads-plus-breakpoint.exp
17786 (foreach_with_prefix): Likewise.
17787 * gdb.threads/process-dies-while-handling-bp.exp
17788 (foreach_with_prefix): Likewise.
17789 * lib/gdb.exp (foreach_with_prefix): New procedure.
17790
45f38546
MK
177912016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
17792
17793 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
17794 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
17795
dc29a1ce
MK
177962016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
17797
17798 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
17799 endian targets.
17800
092127d7
JK
178012016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17802 Pedro Alves <palves@redhat.com>
17803
17804 Fix testsuite compatibility with Guile.
17805 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
17806 number.
17807
31d765d3
JK
178082016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17809
17810 Fix testsuite compatibility with Guile.
17811 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
17812 (thread 1): New test for backtrace through signal handler.
17813
1ac78c04
YQ
178142016-01-22 Yao Qi <yao.qi@linaro.org>
17815
17816 PR testsuite/19491
17817 * gdb.base/multi-forks.c: Include
17818 ../lib/unbuffer_output.c
17819 (main): Call gdb_unbuffer_output.
17820
4f5946a8
DE
178212016-01-21 Doug Evans <dje@google.com>
17822
17823 * lib/ada.exp (gdb_compile_ada): Fix typo.
17824
305e13e6
JB
178252016-01-21 Joel Brobecker <brobecker@adacore.com>
17826
17827 * gdb.base/break-fun-addr.exp: New file.
17828 * gdb.base/break-fun-addr1.c: New file.
17829 * gdb.base/break-fun-addr2.c: New file.
17830
5f5dfff6
SM
178312016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
17832
17833 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
17834 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
17835 enum flag values.
17836
fd356fa2
AA
178372016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17838
17839 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
17840 when GDB can not set the vector return value. Add more comments
17841 for clarification.
17842
9df22175
AT
178432016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
17844
17845 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
17846 command.
17847
41d1845e
SM
178482016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17849
17850 * Makefile.in (DO_RUNTEST): Add --status and update usages.
17851
01ac6840
SM
178522016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17853
17854 * Makefile.in (check-single): Pass --status to runtest.
17855 (check/%.exp): Likewise.
17856
178572016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17858
17859 * Makefile.in (check-parallel): Propagate return code from make
17860 do-check-parallel.
17861
bd0a71fa
MK
178622016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
17863
17864 * gdb.trace/ftrace.exp: Fix expected message on continue.
17865 * gdb.trace/pending.exp: Fix expected message on continue.
17866 * gdb.trace/trace-break.exp: Fix expected message on continue.
17867
8bcbad33
SM
178682016-01-18 Simon Marchi <simon.marchi@ericsson.com>
17869
17870 * lib/gdb.exp (gdb_test): Remove unused global references.
17871
f303dbd6
PA
178722016-01-18 Pedro Alves <palves@redhat.com>
17873
17874 * gdb.base/async-shell.exp: Adjust expected output.
17875 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
17876 * gdb.base/siginfo-thread.exp: Adjust expected output.
17877 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
17878 * gdb.java/jnpe.exp: Adjust expected output.
17879 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
17880 * gdb.threads/continue-pending-status.exp: Adjust expected output.
17881 * gdb.threads/leader-exit.exp: Adjust expected output.
17882 * gdb.threads/manythreads.exp: Adjust expected output.
17883 * gdb.threads/pthreads.exp: Adjust expected output.
17884 * gdb.threads/schedlock.exp: Adjust expected output.
17885 * gdb.threads/siginfo-threads.exp: Adjust expected output.
17886 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
17887 expected output.
17888 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
17889 output.
17890 * gdb.threads/sigthread.exp: Adjust expected output.
17891 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
17892
b2789696
YQ
178932016-01-18 Yao Qi <yao.qi@linaro.org>
17894
17895 * gdb.guile/scm-section-script.c: Replace @progbits with
17896 %progbits.
17897 * gdb.python/py-section-script.c: Likewise.
17898
71ef29a8
PA
178992016-01-15 Pedro Alves <palves@redhat.com>
17900
17901 * gdb.multi/tids.exp: Test star wildcard ranges.
17902
3f5b7598
PA
179032016-01-15 Pedro Alves <palves@redhat.com>
17904
17905 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
17906 command from "thread apply" invocation.
17907 (thr_apply_info_thr_invalid): Default the expected output to the
17908 input tid list.
17909 (top level): Add tests that use convenience variables. Add tests
17910 for "thread apply" with a valid TID list, but missing the command.
17911
663f6d42
PA
179122016-01-13 Pedro Alves <palves@redhat.com>
17913
17914 * gdb.base/default.exp: Expect $_gthread as well.
17915 * gdb.multi/tids.exp: Test $_gthread.
17916 * gdb.threads/thread-specific.exp: Test $_gthread.
17917
c84f6bbf
PA
179182016-01-13 Pedro Alves <palves@redhat.com>
17919
17920 * gdb.multi/tids.exp: Test "info threads -gid".
17921
22a02324
PA
179222016-01-13 Pedro Alves <palves@redhat.com>
17923
17924 * gdb.multi/tids.exp: Test InferiorThread.global_num and
17925 Breakpoint.thread.
17926 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
17927
5d5658a1
PA
179282016-01-07 Pedro Alves <palves@redhat.com>
17929
17930 * gdb.base/break.exp: Adjust to output changes.
17931 * gdb.base/hbreak2.exp: Likewise.
17932 * gdb.base/sepdebug.exp: Likewise.
17933 * gdb.base/watch_thread_num.exp: Likewise.
17934 * gdb.linespec/keywords.exp: Likewise.
17935 * gdb.multi/info-threads.exp: Likewise.
17936 * gdb.threads/thread-find.exp: Likewise.
17937 * gdb.multi/tids.c: New file.
17938 * gdb.multi/tids.exp: New file.
17939
84654457
PA
179402016-01-13 Pedro Alves <palves@redhat.com>
17941
17942 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
17943
e3940304
PA
179442016-01-13 Pedro Alves <palves@redhat.com>
17945
17946 * gdb.base/default.exp: Expect $_inferior as well.
17947 * gdb.multi/base.exp: Test $_inferior.
17948
a911d87a
PA
179492016-01-13 Pedro Alves <palves@redhat.com>
17950
17951 PR breakpoints/19388
17952 * gdb.base/catch-signal-siginfo-cond.c: New file.
17953 * gdb.base/catch-signal-siginfo-cond.exp: New file.
17954
82075af2
JS
179552016-01-12 Josh Stone <jistone@redhat.com>
17956 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17957
17958 * gdb.base/catch-syscall.c (do_execve): New variable.
17959 (main): Conditionally trigger an execve.
17960 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
17961 (test_catch_syscall_execve): New, check entry/return across execve.
17962 (do_syscall_tests): Call test_catch_syscall_execve.
17963
e46eeedd
PA
179642016-01-12 Pedro Alves <palves@redhat.com>
17965
17966 * gdb.base/random-signal.exp (do_test): New procedure, with body
17967 of testcase moved in.
17968
01d8c27e
JK
179692016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17970 Pedro Alves <palves@redhat.com>
17971
17972 * gdb.base/funcargs.exp (finish from indirectly called function):
17973 Reintroduce the case for 'First'.
17974
9a706302
JK
179752016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17976 Pedro Alves <palves@redhat.com>
17977
17978 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
17979 (tcatch_vfork_then_child_follow_exec)
17980 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
17981 identification.
17982
c0ecb95f
JK
179832016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17984
17985 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
17986 and repeats to unlimited.
17987 * gdb.python/py-value.exp: Likewise.
17988 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
17989 and repeats to unlimited.
17990
6cfc1fcb
JK
179912016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17992
17993 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
17994 and reordering the functions.
17995 * gdb.multi/hangout.c: Likewise.
17996 * gdb.multi/hello.c: Likewise.
17997
582a1b00
SM
179982016-01-08 Simon Marchi <simon.marchi@ericsson.com>
17999
18000 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
18001 absolute.
18002 (SingleStatisticTestResult.report): Use dict.keys instead of
18003 dict.iterkeys.
18004
79bc59cb
PA
180052016-01-06 Pedro Alves <palves@redhat.com>
18006
18007 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
18008
43368e1d
MM
180092016-01-04 Markus Metzger <markus.t.metzger@intel.com>
18010
18011 * gdb.btrace/dlopen.exp: New.
18012 * gdb.btrace/dlopen.c: New.
18013 * gdb.btrace/dlopen-dso.c: New.
18014
79fad5b8
SL
180152015-12-25 Sandra Loosemore <sandra@codesourcery.com>
18016
18017 * lib/gdb.exp (gdb_test): Update comments to clarify that the
18018 PATTERN argument is optional.
18019
ab8314b3
JB
180202015-12-24 Joel Brobecker <brobecker@adacore.com>
18021
18022 * lib/ada.exp (target_compile_ada_from_dir): New function.
18023 (gdb_compile_ada): Reimplement avoiding the use of project files.
18024 * gdb.ada/gnat_ada.gpr: Delete.
18025 * gdb.ada/cond_lang.exp: Adjust test to make path before
18026 filename optional.
18027 * gdb.ada/small_reg_param.exp: Likewise.
18028
fe33faff
SM
180292015-12-22 Simon Marchi <simon.marchi@ericsson.com>
18030
18031 * gdb.base/foll-vork.exp: Remove HP-UX special case.
18032
6d265cb4
TP
180332015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
18034
18035 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
18036 case.
18037
10125099
SM
180382015-12-21 Simon Marchi <simon.marchi@ericsson.com>
18039
18040 * gdb.base/break.exp: Remove dead code.
18041 * gdb.base/sepdebug.exp: Likewise.
18042
3ca22649
SM
180432015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
18044
18045 * gdb.asm/asm-source.exp: Remove HP-UX references.
18046 * gdb.base/annota1.exp: Likewise.
18047 * gdb.base/annota3.exp: Likewise.
18048 * gdb.base/attach.exp: Likewise.
18049 * gdb.base/bigcore.exp: Likewise.
18050 * gdb.base/break.exp: Likewise.
18051 * gdb.base/call-ar-st.exp: Likewise.
18052 * gdb.base/callfuncs.exp: Likewise.
18053 * gdb.base/catch-fork-static.exp: Likewise.
18054 * gdb.base/display.exp: Likewise.
18055 * gdb.base/foll-exec-mode.exp: Likewise.
18056 * gdb.base/foll-exec.exp: Likewise.
18057 * gdb.base/foll-fork.exp: Likewise.
18058 * gdb.base/foll-vfork.exp: Likewise.
18059 * gdb.base/funcargs.exp: Likewise.
18060 * gdb.base/hbreak2.exp: Likewise.
18061 * gdb.base/inferior-died.exp: Likewise.
18062 * gdb.base/interrupt.exp: Likewise.
18063 * gdb.base/multi-forks.exp: Likewise.
18064 * gdb.base/nodebug.exp: Likewise.
18065 * gdb.base/sepdebug.exp: Likewise.
18066 * gdb.base/solib1.c: Likewise.
18067 * gdb.base/step-test.exp: Likewise.
18068 * gdb.mi/non-stop.c: Likewise.
18069 * gdb.mi/pthreads.c: Likewise.
18070 * gdb.multi/bkpt-multi-exec.ex: Likewise.
18071 * gdb.threads/pthreads.c: Likewise.
18072 * gdb.threads/staticthreads.exp: Likewise.
18073 * lib/future.exp: Likewise.
18074 * lib/gdb.exp: Likewise.
18075 * gdb.base/so-indr-cl.c: Remove.
18076 * gdb.base/so-indr-cl.exp: Likewise.
18077 * gdb.base/solib.c: Likewise.
18078 * gdb.base/solib.exp: Likewise.
18079 * gdb.base/solib2.c: Likewise.
18080
b6304613
SM
180812015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
18082
18083 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
18084 * gdb.base/call-ar-st.exp: Likewise.
18085 * gdb.base/callfuncs.exp: Likewise.
18086 * gdb.base/condbreak.exp: Likewise.
18087 * gdb.base/constvars.exp: Likewise.
18088 * gdb.base/hbreak2.exp: Likewise.
18089 * gdb.base/langs.exp: Likewise.
18090 * gdb.base/list.exp: Likewise.
18091 * gdb.base/long_long.exp: Likewise.
18092 * gdb.base/ptype.exp: Likewise.
18093 * gdb.base/scope.exp: Likewise.
18094 * gdb.base/signals.exp: Likewise.
18095 * gdb.base/so-impl-ld.exp: Likewise.
18096 * gdb.base/varargs.exp: Likewise.
18097 * gdb.base/volatile.exp: Likewise.
18098 * gdb.base/whatis.exp: Likewise.
18099 * gdb.cp/cplusfuncs.exp: Likewise.
18100 * gdb.cp/inherit.exp: Likewise.
18101 * gdb.cp/local.exp: Likewise.
18102 * gdb.cp/member-ptr.exp: Likewise.
18103 * gdb.cp/method.exp: Likewise.
18104 * gdb.cp/overload.exp: Likewise.
18105 * gdb.cp/templates.exp: Likewise.
18106 * gdb.stabs/weird.exp: Likewise.
18107 * lib/compiler.c: Likewise.
18108 * lib/compiler.cc: Likewise.
18109 * lib/cp-support.exp: Likewise.
18110 * lib/gdb.exp: Likewise.
18111
bf401b07
SM
181122015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
18113
18114 * configure.ac: Remove HP-UX case.
18115 * configure: Regenerate.
18116
aff9c0f8
SM
181172015-12-18 Simon Marchi <simon.marchi@ericsson.com>
18118
18119 * lib/gdb.exp (gdb_compile): Add function doc.
18120
a6904d5a
PA
181212015-12-17 Pedro Alves <palves@redhat.com>
18122
18123 PR threads/19354
18124 * gdb.multi/info-threads.exp: New file.
18125
a22279dd
YQ
181262015-12-15 Yao Qi <yao.qi@linaro.org>
18127
18128 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
18129 is aarch64*-*-*.
18130
0588c796
SL
181312015-12-14 Sandra Loosemore <sandra@codesourcery.com>
18132
18133 * gdb.base/history-duplicates.exp: Skip if no readline support.
18134
5d978e17
SL
181352015-12-14 Sandra Loosemore <sandra@codesourcery.com>
18136
18137 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
18138
7e763b86
SL
181392015-12-14 Sandra Loosemore <sandra@codesourcery.com>
18140
18141 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
18142
87a3a92c
SL
181432015-12-14 Sandra Loosemore <sandra@codesourcery.com>
18144
18145 * gdb.base/completion.exp: Skip tests that interrupt GDB with
18146 ctrl-C if nointerrupts target property is set.
18147 * gdb.base/double-prompt-target-event-error.exp: Likewise.
18148 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
18149 * gdb.base/paginate-bg-execution.exp: Likewise.
18150 * gdb.base/paginate-execution-startup.exp: Likewise.
18151 * gdb.base/random-signal.exp: Likewise.
18152 * gdb.base/range-stepping.exp: Likewise.
18153 * gdb.cp/annota2.exp: Likewise.
18154 * gdb.cp/annota3.exp: Likewise.
18155 * gdb.gdb/selftest.exp: Likewise.
18156 * gdb.threads/continue-pending-status.exp: Likewise.
18157 * gdb.threads/leader-exit.exp: Likewise.
18158 * gdb.threads/manythreads.exp: Likewise.
18159 * gdb.threads/pthreads.exp: Likewise.
18160 * gdb.threads/schedlock.exp: Likewise.
18161 * gdb.threads/sigthread.exp: Likewise.
18162
a8f077dc
DB
181632015-12-11 Don Breazeal <donb@codesourcery.com>
18164
18165 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
18166 remote.
18167 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
18168 * gdb.base/foll-exec.exp (main): Enable for target remote.
18169 * gdb.base/foll-fork.exp (main): Likewise.
18170 * gdb.base/foll-vfork.exp (main): Likewise.
18171 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
18172 (proc continue_to_exit_bp_loc): Use clean_restart.
18173 * gdb.base/pie-execl.exp (main): Disable for target remote.
18174 * gdb.base/watch-vfork.exp (main): Enable for target remote.
18175 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
18176 * gdb.threads/execl.exp (main): Likewise.
18177 * gdb.threads/fork-child-threads.exp (main): Likewise.
18178 * gdb.threads/fork-plus-threads.exp (main): Disable for target
18179 remote.
18180 * gdb.threads/fork-thread-pending.exp (main): Enable for target
18181 remote.
18182 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
18183 pid.tid style ptids, instead of just tid.
18184 * gdb.threads/thread-execl.exp (main): Enable for target remote.
18185 * gdb.threads/watchpoint-fork.exp (main): Likewise.
18186 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
18187 ptids, instead of just tid.
18188
3b2464a8
AB
181892015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
18190
18191 * gdb.base/list.exp (test_list_forward): Add end of file error
18192 test.
18193 (test_repeat_list_command): Add end of file error test.
18194 (test_list_backwards): Add beginning of file error test.
18195
a0def019
AB
181962015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
18197
18198 * gdb.base/list.exp (test_list_invalid_args): New function,
18199 defined, and called.
18200
5c000dff
AB
182012015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
18202
18203 * gdb.base/list.exp (test_list): Make test names unique.
18204
f1637ebe
YQ
182052015-12-11 Yao Qi <yao.qi@linaro.org>
18206
18207 * gdb.base/coremaker2.c: Remove.
18208
36d6fc0a
PA
182092015-12-10 Pedro Alves <palves@redhat.com>
18210
18211 * gdb.multi/base.exp: Remove stale "spaces" references.
18212
762f7747
PA
182132015-12-10 Pedro Alves <palves@redhat.com>
18214
18215 * gdb.multi/base.exp: Don't use nowarnings.
18216 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
18217 * gdb.multi/hangout.c: Include stdio.h.
18218 * gdb.multi/hello.c: Include stdlib.h.
18219 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
18220 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
18221 * gdb.multi/multi-arch.exp: Don't use nowarnings.
18222
28d2bfb9
AB
182232015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
18224
18225 * gdb.dwarf2/dw2-ranges-base.c: New file.
18226 * gdb.dwarf2/dw2-ranges-base.exp: New file.
18227 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
18228 support additional line table, and debug ranges generation.
18229 (Dwarf::ranges): New function, generate .debug_ranges.
18230 (Dwarf::lines): Support generating simple line table programs.
18231 (Dwarf::assemble): Initialise new namespace variables.
18232
5fc2beac
KB
182332015-12-09 Kevin Buettner <kevinb@redhat.com>
18234
18235 * gdb.base/async.exp (proc test_background): Add case for
18236 asynchronous execution not supported.
18237
1c35a88f
LM
182382015-12-09 Luis Machado <lgustavo@codesourcery.com>
18239
18240 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
18241 format and change test names to make them unique.
18242
b593e3d9
RK
182432015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
18244 Pedro Alves <pedro@redhat.com>
18245
18246 PR gdb/18702
18247 Add checking of floatformats setup on x86_64 hosts.
18248 * gdb.arch/i386-float.S (main): Load bigval and smallval.
18249 (smallval, bigval): New labels/constants.
18250 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
18251 float" after loading bigval and smallval.
18252
d72413e6
PMR
182532015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
18254
18255 * gdb.ada/fun_overload_menu.exp: New testcase.
18256 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
18257
ece66d65
JS
182582015-12-04 Josh Stone <jistone@redhat.com>
18259
18260 * gdb.base/catch-fork-static.exp: New.
18261
41d0efca
YQ
182622015-12-03 Yao Qi <yao.qi@linaro.org>
18263
18264 * gdb.base/sizeof.c: Don't include stdio.h and
18265 ../lib/unbuffer_output.c.
18266 (main): New variable 'size' and 'value'. Remove printf and
18267 gdb_unbuffer_output. Assign return value to size and value.
18268 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
18269 at the beginning.
18270 (check_sizeof): Check the result by printing variable 'size'.
18271 (check_valueof): Check the result by printing variable 'value'.
18272
99fd02d9
YQ
182732015-12-01 Yao Qi <yao.qi@linaro.org>
18274
18275 * gdb.base/disp-step-syscall.exp: Define syscall instruction
18276 for aarch64*-*-linux* target.
18277
f2faf941
PA
182782015-11-30 Pedro Alves <palves@redhat.com>
18279
18280 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
18281
04bf20c5
PA
182822015-11-30 Pedro Alves <palves@redhat.com>
18283
18284 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
18285 Handle non-stop mode vCont replies.
18286
09df4675
PA
182872015-11-30 Pedro Alves <palves@redhat.com>
18288
18289 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
18290 prepare_for_testing. Start gdb with "set non-stop on" appended to
18291 GDBFLAGS. Lax expected stop output.
18292
58b584af
YQ
182932015-11-27 Yao Qi <yao.qi@linaro.org>
18294
18295 * gdb.arch/arm-neon.exp: New.
18296 * gdb.arch/arm-neon.c: New.
18297
dfcb77a8
YQ
182982015-11-27 Yao Qi <yao.qi@linaro.org>
18299
18300 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
18301
88e8ec1b
YQ
183022015-11-27 Yao Qi <yao.qi@linaro.org>
18303
18304 * gdb.cp/annota2.exp: Allow multiple occurrences of the
18305 frames-invalid annotation.
18306
bfde72c2
YQ
183072015-11-27 Yao Qi <yao.qi@linaro.org>
18308
18309 * gdb.cp/annota2.exp: Use ${frames_invalid}.
18310
f6512a69
SM
183112015-11-26 Simon Marchi <simon.marchi@ericsson.com>
18312
18313 * gdb.threads/names.exp: New file.
18314 * gdb.threads/names.c: New file.
18315 * README: Mention gdb,no_thread_names.
18316
46a3515b
MM
183172015-11-26 Markus Metzger <markus.t.metzger@intel.com>
18318
18319 PR 19297
18320 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
18321 support" error.
18322
62147a22
PA
183232015-11-24 Pedro Alves <palves@redhat.com>
18324
18325 PR 17539
18326 * gdb.base/display.exp: Expect displays to be sorted in ascending
18327 order. Use multi_line.
18328 * gdb.base/solib-display.exp: Likewise.
18329
2f341b6e
PA
183302015-11-24 Pedro Alves <palves@redhat.com>
18331
18332 PR 17539
25d49b86
PA
18333 * gdb.base/display.exp: Expect displays to be sorted in ascending
18334 order. Use multi_line.
18335 * gdb.base/solib-display.exp: Likewise.
2f341b6e 18336
7e0aa6aa
PA
183372015-11-24 Pedro Alves <palves@redhat.com>
18338
18339 PR 17539
18340 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
18341 threads in ascending order.
18342 * gdb.base/foll-fork.exp: Likewise.
18343 * gdb.base/foll-vfork.exp: Likewise.
18344 * gdb.base/multi-forks.exp: Likewise.
18345 * gdb.mi/mi-nonstop.exp: Likewise.
18346 * gdb.mi/mi-nsintrall.exp: Likewise.
18347 * gdb.multi/base.exp: Likewise.
18348 * gdb.multi/multi-arch.exp: Likewise.
18349 * gdb.python/py-inferior.exp: Likewise.
18350 * gdb.threads/break-while-running.exp: Likewise.
18351 * gdb.threads/execl.exp: Likewise.
18352 * gdb.threads/gcore-thread.exp: Likewise.
18353 * gdb.threads/info-threads-cur-sal.exp: Likewise.
18354 * gdb.threads/kill.exp: Likewise.
18355 * gdb.threads/linux-dp.exp: Likewise.
18356 * gdb.threads/multiple-step-overs.exp: Likewise.
18357 * gdb.threads/next-bp-other-thread.exp: Likewise.
18358 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
18359 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
18360 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
18361 * gdb.threads/thread-find.exp: Likewise.
18362 * gdb.threads/tls.exp: Likewise.
18363 * lib/mi-support.exp (mi_reverse_list): Delete.
18364 (mi_check_thread_states): No longer reverse list.
18365
2cc57ad8
PA
183662015-11-24 Pedro Alves <palves@redhat.com>
18367
18368 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
18369 use lowercase.
18370
c93e8391
SM
183712015-11-23 Simon Marchi <simon.marchi@ericsson.com>
18372
18373 * gdb.trace/actions.c: Include trace-common.h.
18374 (main): Add a location for a fast tracepoint.
18375 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
18376 the normal tracepoints.
18377 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
18378
045ccf91
SM
183792015-11-23 Simon Marchi <simon.marchi@ericsson.com>
18380
18381 * save-trace.exp: Factor out code to these...
18382 (gdb_save_tracepoints): New.
18383 (gdb_load_tracepoints): New.
18384 (do_save_load_test): New.
18385
5506f9f6
KB
183862015-11-23 Kevin Buettner <kevinb@redhat.com>
18387
18388 * gdb.base/asmlabel.exp: New test.
18389 * gdb.base/asmlabel.c: New test case.
18390
16c3b12f
JB
183912015-11-23 Joel Brobecker <brobecker@adacore.com>
18392
18393 * gdb.base/wrong_frame_bt_full-main.c: New file.
18394 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
18395 * gdb.base/wrong_frame_bt_full.exp: New file.
18396
155bfbd3
JB
183972015-11-23 Joel Brobecker <brobecker@adacore.com>
18398
18399 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
18400
bb097445
JM
184012015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
18402
206853a0 18403 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
18404 pstate register when comparing registers values in
18405 sparc64-*-linux-gnu targets to avoid spurious differences.
18406
9c88ed8f
JM
184072015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
18408
206853a0 18409 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 18410
96161e25
SL
184112015-11-19 Sandra Loosemore <sandra@codesourcery.com>
18412
18413 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
18414 as type argument to gdb_compile.
18415 * gdb.base/nested-subp2.exp: Likewise.
18416 * gdb.base/nested-subp3.exp: Likewise.
18417
340c2830
DV
184182015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
18419
18420 * lib/dwarf.exp (_note): Fix left shift of negative value.
18421 * gdb.trace/trace-condition.exp: Likewise.
18422
c1862d0f
YQ
184232015-11-13 Yao Qi <yao.qi@linaro.org>
18424
18425 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
18426 comments about d10v.
18427 (test_scalar_returns): Likewise.
18428 * gdb.base/d10v.ld: Remove.
18429 * gdb.base/overlays.exp: Remove the target triplet checking for
18430 d10v-*-*.
18431 * gdb.base/structs.exp (test_struct_returns): Remove the
18432 comments about d10v.
18433 (test_struct_calls): Likewise.
18434
77ae9c19
YQ
184352015-11-13 Yao Qi <yao.qi@linaro.org>
18436
18437 * gdb.base/gnu_vector.exp: Check the return value by "p res".
18438 * gdb.base/gnu_vector.c: Don't include stdio.h.
18439 (main): Don't print res and call add_some_intvecs.
18440
430e004e
MK
184412015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
18442
18443 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
18444 macro.
18445 (func5): Removed.
18446 (func4): Use FAST_TRACEPOINT_LABEL.
18447 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
18448 macro.
18449 (func): Removed.
18450 (thread_function): Use FAST_TRACEPOINT_LABEL.
18451 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
18452 (func): Remove.
18453 (marker): Use FAST_TRACEPOINT_LABEL.
18454 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
18455 (pendfunc1): Remove.
18456 (pendfunc): Use FAST_TRACEPOINT_LABEL.
18457 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
18458 (foo): Remove.
18459 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
18460 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
18461 macro.
18462 (func): Remove.
18463 (marker): Use FAST_TRACEPOINT_LABEL.
18464 * gdb.trace/trace-common.h: New header.
18465 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
18466 macro.
18467 (func): Remove.
18468 (marker): Use FAST_TRACEPOINT_LABEL.
18469 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
18470 (func): Remove.
18471 (thread_function): Use FAST_TRACEPOINT_LABEL.
18472
6e7675a7
MK
184732015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
18474
18475 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
18476 in front.
18477 * gdb.trace/change-loc.exp: Use global pcreg definition.
18478 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
18479 * gdb.trace/entry-values.exp: Use global spreg definition, add $
18480 in front.
18481 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
18482 * gdb.trace/pending.exp: Likewise.
18483 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
18484 * gdb.trace/trace-break.exp: Likewise.
18485 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
18486 in front.
18487 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
18488 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
18489 in front.
18490 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
18491
dddc0e16
JB
184922015-11-09 Joel Brobecker <brobecker@adacore.com>
18493
18494 * gdb.ada/fin_fun_out: New testcase.
18495
c6f0b406
KB
184962015-11-07 Kevin Buettner <kevinb@redhat.com>
18497
18498 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
18499 value associated with DW_AT_byte_size.
18500 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
18501 constants for DW_AT_byte_size, DW_AT_lower_bound, and
18502 DW_AT_upper_bound.
18503
f01dcfd9
KB
185042015-11-07 Kevin Buettner <kevinb@redhat.com>
18505
18506 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
18507 (gdb_target_symbol_prefix_flags): Define in terms of _asm
18508 version.
18509 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
18510 gdb.dwarf2/dw2-canonicalize-type.exp,
18511 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
18512 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
18513 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
18514 provided by gdb_target_symbol_prefix_flags_asm.
18515 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
18516 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
18517 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
18518 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
18519 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
18520 macros where needed). Use this macro for symbols which require
18521 the prefix provided by SYMBOL_PREFIX.
18522
2223449a
KB
185232015-11-05 Kevin Buettner <kevinb@redhat.com>
18524
18525 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
18526 New procs.
18527 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
18528 representing expressions, of more than one list element.
18529 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
18530 to prepend linker symbol prefix to f.
18531 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
18532 table_1 and table_2.
18533 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
18534 Likewise, for f and g.
18535 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
18536 for ptr.
18537 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
18538 for main.
18539 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
18540 table_1_ptr and table_2_ptr.
18541
6f2f1a3a
JK
185422015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18543 Joel Brobecker <brobecker@adacore.com>
18544
18545 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
18546
566c56c9
MK
185472015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
18548
18549 * gdb.reverse/s390-mvcle.c: New test.
18550 * gdb.reverse/s390-mvcle.exp: New file.
18551 * lib/gdb.exp: Enable reverse tests on s390*-linux.
18552
d5f0636b
MK
185532015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
18554
18555 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
18556
7ad8b86c
MK
185572015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
18558
18559 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
18560 reaching marker2.
18561 * gdb.reverse/getresuid-reverse.exp: Likewise.
18562 * gdb.reverse/pipe-reverse.exp: Likewise.
18563 * gdb.reverse/readv-reverse.exp: Likewise.
18564 * gdb.reverse/recvmsg-reverse.exp: Likewise.
18565 * gdb.reverse/time-reverse.exp: Likewise.
18566 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
18567
4081c0f1
YQ
185682015-10-30 Yao Qi <yao.qi@linaro.org>
18569
18570 * gdb.threads/wp-replication.c (watch_count_done): Remove.
18571 (empty_cycle): Remove.
18572 (main): Don't call empty_cycle. Don't use watch_count_done.
18573 * gdb.threads/wp-replication.exp: Don't set breakpoint on
18574 empty_cycle. Rewrite the code counting HW watchpoints.
18575
452b4ba5
MK
185762015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
18577
18578 * gdb.reverse/fstatat-reverse.c: New test.
18579 * gdb.reverse/fstatat-reverse.exp: New file.
18580 * gdb.reverse/getresuid-reverse.c: New test.
18581 * gdb.reverse/getresuid-reverse.exp: New file.
18582 * gdb.reverse/pipe-reverse.c: New test.
18583 * gdb.reverse/pipe-reverse.exp: New file.
18584 * gdb.reverse/readv-reverse.c: New test.
18585 * gdb.reverse/readv-reverse.exp: New file.
18586 * gdb.reverse/recvmsg-reverse.c: New test.
18587 * gdb.reverse/recvmsg-reverse.exp: New file.
18588 * gdb.reverse/time-reverse.c: New test.
18589 * gdb.reverse/time-reverse.exp: New file.
18590 * gdb.reverse/waitpid-reverse.c: New test.
18591 * gdb.reverse/waitpid-reverse.exp: New file.
18592
5e2e7507
JK
185932015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
18594
18595 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
18596
0fde2c53
DE
185972015-10-26 Doug Evans <dje@google.com>
18598
18599 PR symtab/17391
18600 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
18601 * gdb.dwarf2/bad-regnum.c: New file.
18602 * gdb.dwarf2/bad-regnum.exp: New file.
18603
1a70ae97
DE
186042015-10-26 Doug Evans <dje@google.com>
18605
18606 PR python/18938
18607 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
18608 file.
18609
27dc26ab
JK
186102015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18611
18612 * gdb.compile/compile.exp (compile code globalvar): Update expectation
18613 for a change by "Mention language in compile error message".
18614
bed91f4d
SM
186152015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
18616
18617 PR python/18073
18618 * gdb.python/py-type.c (C::a_method): New.
18619 (C::a_const_method): New.
18620 (C::a_static_method): New.
18621 (a_function): New.
18622 * gdb.python/py-type.exp (test_fields): Test getting fields
18623 from function and method.
18624
3f2f83dd
KB
186252015-10-21 Keven Boell <keven.boell@intel.com>
18626
18627 * gdb.fortran/vla-alloc-assoc.exp: New file.
18628 * gdb.fortran/vla-datatypes.exp: New file.
18629 * gdb.fortran/vla-datatypes.f90: New file.
18630 * gdb.fortran/vla-history.exp: New file.
18631 * gdb.fortran/vla-ptype-sub.exp: New file.
18632 * gdb.fortran/vla-ptype.exp: New file.
18633 * gdb.fortran/vla-sizeof.exp: New file.
18634 * gdb.fortran/vla-sub.f90: New file.
18635 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
18636 * gdb.fortran/vla-value-sub-finish.exp: New file.
18637 * gdb.fortran/vla-value-sub.exp: New file.
18638 * gdb.fortran/vla-value.exp: New file.
18639 * gdb.fortran/vla-ptr-info.exp: New file.
18640 * gdb.mi/mi-vla-fortran.exp: New file.
18641 * gdb.mi/vla.f90: New file.
18642
27145d50
SL
186432015-10-21 Sandra Loosemore <sandra@codesourcery.com>
18644
18645 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
18646 of hardwired timeout value.
18647
5f3ff4f8
JK
186482015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
18649 Pedro Alves <palves@redhat.com>
18650
18651 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
18652 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
18653
bfd09d20
JS
186542015-10-19 Josh Stone <jistone@redhat.com>
18655
18656 * gdb.base/catch-syscall.c: Include <sched.h>.
18657 (unknown_syscall): New variable.
18658 (main): Trigger a vfork and an unknown syscall.
18659 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
18660 (unknown_syscall_number): Likewise.
18661 (check_call_to_syscall): Accept an optional syscall pattern.
18662 (check_return_from_syscall): Likewise.
18663 (check_continue): Likewise.
18664 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
18665 (test_catch_syscall_skipping_return): New test toggling off 'catch
18666 syscall' to step over the syscall return, then toggling back on.
18667 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
18668 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
18669 (do_syscall_tests): Call test_catch_syscall_without_args and
18670 test_catch_syscall_mid_vfork.
18671 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
18672 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
18673
b32b93c6
AS
186742015-10-19 Andrew Stubbs <ams@codesourcery.com>
18675
18676 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
18677 print g_vE): Add new pass patterns.
18678 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
18679 print various symbol names for vptr fields.
18680
9d622bda
AB
186812015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
18682
18683 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
18684 results.
18685
0fd8ac1c
YQ
186862015-10-12 Yao Qi <yao.qi@linaro.org>
18687
18688 * gdb.arch/disp-step-insn-reloc.exp: New test case.
18689
34240514
YQ
186902015-10-12 Yao Qi <yao.qi@linaro.org>
18691
18692 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
18693 is aarch64*-*-linux*.
18694
8240f442
YQ
186952015-10-12 Yao Qi <yao.qi@linaro.org>
18696
18697 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
18698 (can_relocate_bcond_true): ... it.
18699 (can_relocate_bcond_false): New function.
18700 (foo): Likewise.
18701 (can_relocate_bl): Likewise.
18702 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
18703 can_relocate_bl.
18704
2520f728
PMR
187052015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
18706
18707 * gdb.base/nested-addr.c: New file.
18708 * gdb.base/nested-addr.exp: New testcase.
18709
abcef95a
MM
187102015-10-09 Markus Metzger <markus.t.metzger@intel.com>
18711
18712 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
18713 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
18714 its output. Ignore the output of "record goto begin" and instead
18715 check that GDB is replaying.
18716
145e3ddb
PA
187172015-10-09 Pedro Alves <palves@redhat.com>
18718
18719 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
18720 (top level): Use it in the run with no args test.
18721
d5d8c4e1
IB
187222015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
18723
18724 * gdb.dlang/properties.exp: New file.
18725
06e635ef
SL
187262015-10-02 Sandra Loosemore <sandra@codesourcery.com>
18727
18728 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
18729 whether or not address 0x1000 is mapped on the target.
18730
e019fd1d
SM
187312015-09-30 Simon Marchi <simon.marchi@ericsson.com>
18732
18733 * gdb.python/py-type.exp: Do not run tests if binaries fail to
18734 build.
18735
77ba2a67
MM
187362015-09-30 Markus Metzger <markus.t.metzger@intel.com>
18737
18738 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
18739 instruction-history test.
18740
c60eb31f
DE
187412015-09-28 Doug Evans <dje@google.com>
18742
18743 * gdb.base/gcore.c (array_func): Add reference to static_array.
18744
9a3c8263
SM
187452015-09-25 Simon Marchi <simon.marchi@ericsson.com>
18746
18747 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
18748 source line.
18749
9720e656
SL
187502015-09-24 Sandra Loosemore <sandra@codesourcery.com>
18751
18752 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
18753 short or char as base type.
18754
938d3bf2
SL
187552015-09-23 Sandra Loosemore <sandra@codesourcery.com>
18756
18757 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
18758 to allow any size enum.
18759
e6c2c623
PMR
187602015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
18761
18762 * gdb.ada/array_ptr_renaming.exp: New testcase.
18763 * gdb.ada/array_ptr_renaming/foo.adb: New file.
18764 * gdb.ada/array_ptr_renaming/pack.ads: New file.
18765
06da0f77
PL
187662015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18767
18768 * gdb.trace/ftrace-lock.c: New file.
18769 * gdb.trace/ftrace-lock.exp: New file.
18770
4f51c22a
PL
187712015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18772
18773 * gdb.arch/insn-reloc.c: New file.
18774 * gdb.arch/ftrace-insn-reloc.exp: New file.
18775
7041adf4
PL
187762015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18777
18778 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
18779 instruction.
18780 * gdb.trace/pendshr1.c (pendfunc): Likewise.
18781 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
18782 * gdb.trace/range-stepping.c: Likewise.
18783 * gdb.trace/trace-break.c: Likewise.
18784 * gdb.trace/trace-mt.c (thread_function): Likewise.
18785 * gdb.trace/ftrace.c (marker): Likewise.
18786 * gdb.trace/trace-condition.c (marker): Likewise.
18787 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
18788 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
18789 is_aarch64_target.
18790
015d2e7e
DE
187912015-09-18 Doug Evans <xdje42@gmail.com>
18792
18793 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
18794 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
18795
26b188a2
SL
187962015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18797
18798 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
18799 the breakpoint.
18800
79dc332b
SL
188012015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18802
18803 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
18804 the pending breakpoint. Remove timeout override for "Run till
18805 MI pending breakpoint on pendfunc3 on thread 2" test.
18806
f57929f2
SL
188072015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18808
18809 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
18810 filename pattern.
18811
3f469b17
SL
188122015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18813
18814 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
18815 in breakpoint filename pattern.
18816
515b89b3
SL
188172015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18818
7800dbe4
SL
18819 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
18820
188212015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18822
515b89b3
SL
18823 * gdb.linespec/explicit.exp: Check for readline support for
18824 tab-completion tests. Fix obvious typo.
18825
d2939ba2
MM
188262015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18827
18828 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
18829 and replay.
18830
cbb55fa7
MM
188312015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18832
18833 * gdb.btrace/non-stop.c: New.
18834 * gdb.btrace/non-stop.exp: New.
18835
43691ca1
PL
188362015-09-17 Pierre Langlois <pierre.langlois@arm.com>
18837 Yao Qi <yao.qi@linaro.org>
18838
18839 * gdb.trace/trace-condition.c: New file.
18840 * gdb.trace/trace-condition.exp: New file.
18841
d78908cf
WW
188422015-09-16 Wei-cheng Wang <cole945@gmail.com>
18843
18844 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
18845 for testing bytecode compilation.
18846
1ed415e2
PA
188472015-09-16 Pedro Alves <palves@redhat.com>
18848 Sandra Loosemore <sandra@codesourcery.com>
18849
18850 * gdb.threads/non-stop-fair-events.c (timeout): New global.
18851 (SECONDS): Redefine.
18852 (main): Call pthread_kill and alarm early.
18853 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
18854 support.
18855 (test): If the target can't hardware step and doesn't support
18856 displaced stepping, increase the timeout.
18857
d136eff5
PA
188582015-09-16 Pedro Alves <palves@redhat.com>
18859
18860 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
18861 (enable_debug): New procedures.
18862 (test): Use them. Bail out if waiting for threads fails.
18863 (top level): Bail out if a test fails.
18864
991f019c
YQ
188652015-09-16 Yao Qi <yao.qi@linaro.org>
18866
18867 * gdb.asm/asm-source.exp: Set asm-arch for
18868 aarch64*-*-* target.
18869 * gdb.asm/aarch64.inc: New file.
18870
bfca584f
PMR
188712015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
18872
18873 * gdb.ada/array_of_variable_length.exp: New testcase.
18874 * gdb.ada/array_of_variable_length/foo.adb: New file.
18875 * gdb.ada/array_of_variable_length/pck.adb: New file.
18876 * gdb.ada/array_of_variable_length/pck.ads: New file.
18877
b326e587
DE
188782015-09-15 Doug Evans <dje@google.com>
18879
18880 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
18881 of function static local variable.
18882
5382cfab
PW
188832015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
18884
18885 * gdb.threads/tls-so_extern.exp: New test file.
18886 * gdb.threads/tls-so_extern.c: New test file.
18887 * gdb.threads/tls-so_extern_main.c: New test file.
18888
141c5cc4
JK
188892015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18890
18891 * gdb.opt/solib-intra-step-lib.c: New file.
18892 * gdb.opt/solib-intra-step-main.c: New file.
18893 * gdb.opt/solib-intra-step.exp: New file.
18894
d15dcecd
PA
188952015-09-15 Pedro Alves <palves@redhat.com>
18896
18897 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
18898 gdb_continue_to_breakpoint instead of gdb_test_multiple.
18899
4c2f2a79
PA
189002015-09-14 Pedro Alves <palves@redhat.com>
18901
18902 * gdb.base/hook-stop-continue.c: Delete.
18903 * gdb.base/hook-stop-continue.exp: Delete.
18904 * gdb.base/hook-stop-frame.c: Delete.
18905 * gdb.base/hook-stop-frame.exp: Delete.
18906 * gdb.base/hook-stop.c: New file.
18907 * gdb.base/hook-stop.exp: New file.
18908
919e6dbe
PMR
189092015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
18910
18911 * gdb.ada/access_to_packed_array.exp: New testcase.
18912 * gdb.ada/access_to_packed_array/foo.adb: New file.
18913 * gdb.ada/access_to_packed_array/pack.adb: New file.
18914 * gdb.ada/access_to_packed_array/pack.ads: New file.
18915
157280a4
MM
189162015-09-14 Markus Metzger <markus.t.metzger@intel.com>
18917
18918 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
18919 buffer size test.
18920
2fd33e94
DB
189212015-09-11 Don Breazeal <donb@codesourcery.com>
18922
18923 * gdb.base/foll-exec.c: Add copyright header. Fix
18924 formatting issues.
18925 * gdb.base/foll-exec.exp (zap_session): Delete proc.
18926 (do_exec_tests): Use clean_restart in place of zap_session,
18927 and for test initialization. Fix formatting issues. Use
18928 fail in place of perror.
18929 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
18930 an expect statement to match an expression with output from
18931 the program under debug.
18932 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
18933 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
18934 * gdb.threads/non-ldr-exc-2.exp: Likewise.
18935 * gdb.threads/non-ldr-exc-3.exp: Likewise.
18936 * gdb.threads/non-ldr-exc-4.exp: Likewise.
18937
e70b6e8e
DE
189382015-09-09 Doug Evans <dje@google.com>
18939
18940 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
18941
7a551a51
DE
189422015-09-09 Doug Evans <dje@google.com>
18943
18944 * gdb.base/pie-execl.exp: Fix result test of build_executable.
18945
4c666f84
DE
189462015-09-09 Doug Evans <dje@google.com>
18947
18948 * gdb.base/savedregs.exp: Fix typo.
18949
243a9253
PA
189502015-09-09 Pedro Alves <palves@redhat.com>
18951
18952 * gdb.mi/mi-cli.exp: Add CLI finish tests.
18953
c0fa8fbd
SL
189542015-09-08 Sandra Loosemore <sandra@codesourcery.com>
18955
18956 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
18957 command actually switches threads. Give up on remaining
18958 tests if target fails to stop at breakpoint.
18959
cd7c1778
PMR
189602015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
18961
18962 * gdb.ada/funcall_char.exp: New testcase.
18963 * gdb.ada/funcall_char/foo.adb: New file.
18964
dc5c8746
PMR
189652015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
18966
18967 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
18968 expected outputs. Add two testcases for completing ambiguous
18969 functions.
18970 * gdb.ada/complete/aux_pck.adb: New file.
18971 * gdb.ada/complete/aux_pck.ads: New file.
18972 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
18973 Ambiguous_Func functions.
18974 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
18975 * gdb.ada/complete/pck.adb: Likewise.
18976
4e83a1e7
UW
189772015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
18978
18979 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
18980 failures to run the test program under GDB.
18981
8ce74153
LM
189822015-08-26 Luis Machado <lgustavo@codesourcery.com>
18983
18984 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
18985 to C.
18986
e9756d52
PP
189872015-08-26 Patrick Palka <patrick@parcs.ath.cx>
18988
18989 * gdb.base/run-after-attach.exp: New test file.
18990 * gdb.base/run-after-attach.c: New test file.
18991
8d37573b
DB
189922015-08-26 Don Breazeal <donb@codesourcery.com>
18993
18994 * gdb.base/foll-exec-2.c: New test program.
18995 * gdb.base/foll-exec-2.exp: New test.
18996
63e43d3a
PMR
189972015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
18998
18999 * gdb.base/nested-subp1.exp: New file.
19000 * gdb.base/nested-subp1.c: New file.
19001 * gdb.base/nested-subp2.exp: New file.
19002 * gdb.base/nested-subp2.c: New file.
19003 * gdb.base/nested-subp3.exp: New file.
19004 * gdb.base/nested-subp3.c: New file.
19005
3d40fbb5
PA
190062015-08-24 Pedro Alves <palves@redhat.com>
19007
19008 * gdb.server/connect-without-multi-process.c: New file.
19009 * gdb.server/connect-without-multi-process.exp: New file.
19010
4422ac93
LM
190112015-08-24 Luis Machado <lgustavo@codesourcery.com>
19012
19013 * gdb.opt/inline-markers.c: Make z int.
19014
91dddb86
LM
190152015-08-24 Luis Machado <lgustavo@codesourcery.com>
19016
19017 * gdb.opt/inline-markers.c: Make z volatile.
19018
a48847ee
LM
190192015-08-24 Luis Machado <lgustavo@codesourcery.com>
19020
19021 * gdb.opt/inline-bt.c: New volatile global z.
19022 * gdb.opt/inline-cmds.c: Likewise.
19023 * gdb.opt/inline-locals.c: Likewise.
19024 * gdb.opt/inline-markers.c: New extern global z.
19025 (marker): Use z.
19026 (inline_fn): Likewise.
19027
0ebbc52b
PA
190282015-08-24 Pedro Alves <palves@redhat.com>
19029
19030 * config/m32r-stub.exp: Remove file.
19031 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
19032 * gdb.base/call-rt-st.exp: Likewise.
19033 * gdb.base/call-strs.exp: Likewise.
19034 * gdb.base/default.exp: Remove references to h8300-*-hms and
19035 *-*-udi*.
19036 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
19037
77c365df
AA
190382015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
19039
19040 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
19041 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
19042 and "return" use KFAIL when GDB can not read/write the vector
19043 return value.
19044
4313b8c0
GB
190452015-08-21 Gary Benson <gbenson@redhat.com>
19046
19047 * gdb.trace/pending.exp: Cope with remote transfer warnings.
19048
0e433b32
PA
190492015-08-20 Pedro Alves <palves@redhat.com>
19050
19051 * gdb.server/solib-list.exp: No longer expect an interior stop in
19052 non-stop mode.
19053
221e1a37
PA
190542015-08-20 Pedro Alves <palves@redhat.com>
19055
19056 * gdb.server/connect-stopped-target.c: New file.
19057 * gdb.server/connect-stopped-target.exp: New file.
19058
40e3ad0e
PA
190592015-08-20 Pedro Alves <palves@redhat.com>
19060
19061 * gdb.dwarf2/comp-unit-lang.exp: New file.
19062 * gdb.dwarf2/comp-unit-lang.c: New file.
19063
af39b327
PMR
190642015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
19065
19066 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
19067 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
19068
7d45c7c3 190692015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 19070
7d45c7c3
KB
19071 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
19072 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
19073
4d6cceb4
DE
190742015-08-18 Doug Evans <dje@google.com>
19075 Adrian Sendroiu <adrian.sendroiu@freescale.com>
19076
19077 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
19078 skip_python_tests. New arg prompt_regexp.
19079 (skip_python_tests): New function.
19080 * lib/mi-support.exp (mi_skip_python_tests): New function.
19081 * gdb.python/py-mi-objfile-gdb.py: New file.
19082 * gdb.python/py-mi-objfile.c: New file.
19083 * gdb.python/py-mi-objfile.exp: New file.
19084
ad89c2aa
KS
190852015-08-17 Keith Seitz <keiths@redhat.com>
19086
19087 * gdb.linespec/explicit.exp: Move strace test from here ...
19088 * gdb.trace/strace.exp: ... to here.
19089
e3ae3c43
PP
190902015-08-15 Patrick Palka <patrick@parcs.ath.cx>
19091
19092 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
19093 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
19094
604b2636
DE
190952015-08-14 Doug Evans <xdje42@gmail.com>
19096
19097 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
19098 inferior before selecting a new file.
19099
6ff0ba5f
DE
191002015-08-14 Doug Evans <xdje42@gmail.com>
19101
19102 * gdb.mi/mi-disassemble.exp: Update.
19103 * gdb.base/disasm-optim.S: New file.
19104 * gdb.base/disasm-optim.c: New file.
19105 * gdb.base/disasm-optim.h: New file.
19106 * gdb.base/disasm-optim.exp: New file.
19107
9ca98f92
KS
191082015-08-14 Keith Seitz <keiths@redhat.com>
19109
19110 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
19111 "evaluated-by".
19112
52bbc560
JB
191132015-08-13 Joel Brobecker <brobecker@adacore.com>
19114
19115 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
19116
5d8c3ed3
PMR
191172015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
19118
19119 * gdb.ada/fun_renaming.exp: New testcase.
19120 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
19121 * gdb.ada/fun_renaming/pack.adb: New file.
19122 * gdb.ada/fun_renaming/pack.ads: New file.
19123
ea8812bc
KS
191242015-08-12 Keith Seitz <keiths@redhat.com>
19125
19126 * gdb.base/dso2dso.exp: Pass basename of source file in call to
19127 gdb_get_line_number.
19128
4dafcdeb
JB
191292015-08-12 Joel Brobecker <brobecker@adacore.com>
19130
19131 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
19132 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
19133 gdb.base/dso2dso.exp: New files.
19134
5ba32597
SDJ
191352015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
19136 Pedro Alves <palves@redhat.com>
19137 Keith Seitz <keiths@redhat.com>
19138
19139 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
19140 GDBFLAGS.
19141
b6dafabf
PP
191422015-08-12 Patrick Palka <patrick@parcs.ath.cx>
19143
19144 * gdb.base/gdbhistsize-history.exp
19145 (test_histsize_history_setting): Use save_vars.
19146 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19147 Use save_vars.
19148 (test_no_truncation_of_unlimited_history_file): Use save_vars.
19149 * gdb.base/readline.exp: Use save_vars.
19150
abe8e607
PP
191512015-08-12 Patrick Palka <patrick@parcs.ath.cx>
19152
19153 * lib/gdb.exp (save_vars): New proc.
19154
629500fa
KS
191552015-08-11 Keith Seitz <keiths@redhat.com>
19156
19157 * gdb.base/help.exp: Update help_breakpoint_text.
19158
eb8c4e2e
KS
191592015-08-11 Keith Seitz <keiths@redhat.com>
19160
19161 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
19162 (at toplevel): Call test_explicit_breakpoints.
19163 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
19164 breakpoints.
19165 * lib/mi-support.exp (mi_make_breakpoint): Add support for
19166 breakpoint conditions, "-cond".
19167
87f0e720
KS
191682015-08-11 Keith Seitz <keiths@redhat.com>
19169
19170 * gdb.linespec/3explicit.c: New file.
19171 * gdb.linespec/cpexplicit.cc: New file.
19172 * gdb.linespec/cpexplicit.exp: New file.
19173 * gdb.linespec/explicit.c: New file.
19174 * gdb.linespec/explicit.exp: New file.
19175 * gdb.linespec/explicit2.c: New file.
19176 * gdb.linespec/ls-errs.exp: Add explicit location tests.
19177 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
19178 before using in the matching pattern.
19179 Clarify that `prefix' is a regular expression.
19180
f00aae0f
KS
191812015-08-11 Keith Seitz <keiths@redhat.com>
19182
19183 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
19184 test.
19185 Add tests for missing ",FMT" and ",".
19186
e27852be
DE
191872015-08-10 Doug Evans <dje@google.com>
19188 Keith Seitz <keiths@redhat.com>
19189
19190 PR gdb/17960
19191 * gdb.base/completion.exp: Add location completer tests.
19192
7f03bd92
PA
191932015-08-07 Pedro Alves <palves@redhat.com>
19194
19195 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
19196 tests here.
19197 (top level): Run do_test with and without displaced stepping.
19198
3fc8eb30
PA
191992015-08-07 Pedro Alves <palves@redhat.com>
19200
19201 * gdb.base/valgrind-disp-step.c: New file.
19202 * gdb.base/valgrind-disp-step.exp: New file.
19203
d4569d7b
PA
192042015-08-07 Pedro Alves <palves@redhat.com>
19205
19206 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
19207 Delete function.
19208 (main): Add alarm. Run an infinite loop instead of calling
19209 wait_threads.
19210 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
19211 comment.
19212 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
19213 Delete function.
19214 (main): Add alarm. Run an infinite loop instead of calling
19215 wait_threads.
19216 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
19217 comment.
19218
e1316e60
PA
192192015-08-07 Pedro Alves <palves@redhat.com>
19220
19221 * gdb.base/checkpoint-ns.exp: New file.
19222 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
19223 standard_testfile.
19224
da8c46d2
MM
192252015-08-07 Markus Metzger <markus.t.metzger@intel.com>
19226
19227 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
19228 * gdb.btrace/instruction_history.exp: Update.
19229 * gdb.btrace/tsx.exp: New.
19230 * gdb.btrace/tsx.c: New.
19231
de1c2c52
PA
192322015-08-06 Pedro Alves <palves@redhat.com>
19233
19234 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
19235 increase timeout.
19236 * gdb.reverse/until-precsave.exp: Bump timeouts.
19237
782e0bf4
PA
192382015-08-06 Pedro Alves <palves@redhat.com>
19239
19240 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
19241
83e97ed0
PA
192422015-08-06 Pedro Alves <palves@redhat.com>
19243
19244 PR gdb/18749
19245 * gdb.threads/process-dies-while-handling-bp.c: New file.
19246 * gdb.threads/process-dies-while-handling-bp.exp: New file.
19247
863d01bd
PA
192482015-08-06 Pedro Alves <palves@redhat.com>
19249
19250 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
19251 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
19252
0a39bb32
PA
192532015-08-05 Pedro Alves <palves@redhat.com>
19254
19255 * gdb.threads/next-while-other-thread-longjmps.c: New file.
19256 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
19257
ee2d2b10
SL
192582015-08-03 Sandra Loosemore <sandra@codesourcery.com>
19259
19260 * gdb.base/bp-permanent.exp: Report test as unsupported if
19261 the target cannot stop at the permanent breakpoint.
19262
4e1bdb00
DE
192632015-08-03 Doug Evans <dje@google.com>
19264
19265 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
19266 10000.
19267
3d338901
DE
192682015-08-03 Doug Evans <dje@google.com>
19269
19270 * Makefile.in (workers/%.worker, build-perf): New rule.
19271 (GDB_PERFTEST_MODE): New variable.
19272 (check-perf): Use it.
19273 (clean): Clean up gdb.perf parallel build subdirs.
19274 * lib/build-piece.exp: New file.
19275 * lib/gdb.exp (make_gdb_parallel_path): New function
19276 (standard_output_file, standard_temp_file): Call it.
19277 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
19278 of $GDB_PARALLEL.
19279 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
19280
af061d3e
DE
192812015-08-03 Doug Evans <dje@google.com>
19282
8e1afc81 19283 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
19284 (LOG_FILE_NAME): New global.
19285 (TextReporter.__init__): Initialize self.txt_sum.
19286 (TextReporter.report): Add support for multiple data-points.
19287 Move report to perftest.sum, put raw data in perftest.log.
19288 (TextReporter.start): Open sum and log files.
19289 (TextReporter.end): Close sum and log files.
8e1afc81
DE
19290 * gdb.perf/lib/perftest/testresult.py
19291 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 19292
2c8c5d37
PA
192932015-07-31 Pedro Alves <palves@redhat.com>
19294
19295 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
19296 Use spawn_id_get_pid. Wait for spawn id after eof. Use
19297 kill_wait_spawned_process instead of explicit "kill -9".
19298 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
19299 returning a spawn id instead of a pid. Use spawn_id_get_pid and
19300 kill_wait_spawned_process.
19301 * gdb.base/attach-twice.exp: Likewise.
19302 * gdb.base/attach.exp: Likewise.
19303 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
19304 gdb_test_multiple.
19305 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
19306 returning a spawn id instead of a pid. Use spawn_id_get_pid and
19307 kill_wait_spawned_process.
19308 * gdb.base/valgrind-infcall.exp: Likewise.
19309 * gdb.multi/multi-attach.exp: Likewise.
19310 * gdb.python/py-prompt.exp: Likewise.
19311 * gdb.python/py-sync-interp.exp: Likewise.
19312 * gdb.server/ext-attach.exp: Likewise.
19313 * gdb.threads/attach-into-signal.exp (corefunc): Use
19314 spawn_wait_for_attach, spawn_id_get_pid and
19315 kill_wait_spawned_process.
19316 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
19317 spawn_wait_for_attach returning a spawn id instead of a pid. Use
19318 spawn_id_get_pid and kill_wait_spawned_process.
19319 * gdb.threads/attach-stopped.exp (corefunc): Use
19320 spawn_wait_for_attach, spawn_id_get_pid and
19321 kill_wait_spawned_process.
19322 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
19323 Use spawn_id_get_pid. Wait for spawn id after eof. Use
19324 kill_wait_spawned_process instead of explicit "kill -9".
19325 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
19326 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
19327 (spawn_wait_for_attach): Use spawn instead of exec to spawn
19328 processes. Don't map cygwin/windows pids here. Now returns a
19329 spawn id list.
19330
032a0fca
SL
193312015-07-30 Sandra Loosemore <sandra@codesourcery.com>
19332
19333 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
19334 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
19335 correct patch.
19336
61a934ca
SL
193372015-07-30 Sandra Loosemore <sandra@codesourcery.com>
19338
19339 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
19340
4bc4d428
SL
193412015-07-30 Sandra Loosemore <sandra@codesourcery.com>
19342
19343 Reapply:
19344 2014-05-21 Mark Wielaard <mjw@redhat.com>
19345
19346 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
19347
998d452a
PA
193482015-07-30 Pedro Alves <palves@redhat.com>
19349
19350 * linux-low.c (handle_extended_wait): Set the child's last
19351 reported status to TARGET_WAITKIND_STOPPED.
19352
69dde7dc
PA
193532015-07-30 Pedro Alves <palves@redhat.com>
19354
19355 PR threads/18600
19356 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
19357 only shows inferior 1.
19358
4dd63d48
PA
193592015-07-30 Simon Marchi <simon.marchi@ericsson.com>
19360 Pedro Alves <palves@redhat.com>
19361
19362 PR threads/18600
19363 * gdb.threads/fork-plus-threads.c: New file.
19364 * gdb.threads/fork-plus-threads.exp: New file.
19365
d618e4c5
PP
193662015-07-29 Patrick Palka <patrick@parcs.ath.cx>
19367
19368 * gdb.base/batch-preserve-term-settings.exp
19369 (test_terminal_settings_preserved_after_cli_exit): Use
19370 send_quit_command.
19371
1eef6428
PA
193722015-07-29 Pedro Alves <palves@redhat.com>
19373 Don Breazeal <donb@codesourcery.com>
19374
19375 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
19376 output from both inferior_spawn_id and gdb_spawn_id.
19377
7da5b897
SDJ
193782015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
19379
19380 * gdb.threads/attach-into-signal.exp (corefunc): Use
19381 with_test_prefix on nested loops, uniquefying the test messages.
19382
dac804df
SDJ
193832015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
19384
19385 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
19386 commit.
19387
06265e53
PP
193882015-07-29 Patrick Palka <patrick@parcs.ath.cx>
19389
19390 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
19391 New proc.
19392 (test_terminal_settings_preserved_after_sigterm): New test.
19393
18206ca3
PP
193942015-07-29 Patrick Palka <patrick@parcs.ath.cx>
19395
19396 * gdb.base/batch-preserve-term-settings.exp
19397 (test_terminal_settings_preserved_after_cli_exit): New test.
19398
90074d11
PP
193992015-07-29 Patrick Palka <patrick@parcs.ath.cx>
19400
19401 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
19402 manipulation of saved_gdbflags.
19403 (test_terminal_settings_preserved): Remove global declaration of
19404 the unused variable pagination_prompt. Remove manipulation of
19405 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
19406 GDBFLAGS.
19407
eb1a7902
PA
194082015-07-29 Pedro Alves <palves@redhat.com>
19409
19410 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
19411
8b75dd3b
PA
194122015-07-29 Pedro Alves <palves@redhat.com>
19413
19414 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
19415 at the top.
19416
dedad4e3
PA
194172015-07-29 Pedro Alves <palves@redhat.com>
19418
19419 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
19420 (main): Call gdb_unbuffer_output.
19421 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
19422 (main): Call gdb_unbuffer_output.
19423 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
19424 (main): Call gdb_unbuffer_output.
19425 * gdb.base/call-strs.exp: Adjust to step over the
19426 gdb_unbuffer_output call.
19427 * gdb.base/catch-gdb-caused-signals.c: Include
19428 "../lib/unbuffer_output.c".
19429 (main): Call gdb_unbuffer_output.
19430 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
19431 (main): Call gdb_unbuffer_output.
19432 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
19433 (main): Call gdb_unbuffer_output.
19434 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
19435 (main): Call gdb_unbuffer_output.
19436 * gdb.base/shlib-call.exp: Adjust to step over the
19437 gdb_unbuffer_output call.
19438 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
19439 (main): Call gdb_unbuffer_output.
19440 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
19441 (main): Call gdb_unbuffer_output.
19442 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
19443 (main): Rename to ...
19444 (test): ... this.
19445 (main): Reimplement.
19446 * gdb.base/varargs.exp: Run to test instead of to main.
19447 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
19448 (main): Call gdb_unbuffer_output.
19449
58789a91
PA
194502015-07-29 Pedro Alves <palves@redhat.com>
19451
19452 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
19453 factore out from mi_continue_dprintf. For call-style dprintfs,
19454 expect dprintf output out of $inferior_spawn_id.
19455 (mi_continue_dprintf): Use mi_expect_dprintf.
19456 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
19457 (main): Call gdb_unbuffer_output.
19458
e8376742
PA
194592015-07-29 Pedro Alves <palves@redhat.com>
19460
19461 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
19462 (default_mi_gdb_start): Set inferior_spawn_id instead of
19463 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
19464 gdb_spawn_id.
19465 (mi_gdb_test): Always expect inferior output from both
19466 $inferior_spawn_id and $gdb_spawn_id.
19467
08280010
PA
194682015-07-29 Pedro Alves <palves@redhat.com>
19469
19470 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
19471 send_inferior and $inferior_spawn_id.
19472
4d30e432
PA
194732015-07-29 Pedro Alves <palves@redhat.com>
19474
19475 * gdb.gdb/complaints.exp (test_initial_complaints)
19476 (test_serial_complaints, test_short_complaints): Use
19477 gdb_test_stdio.
19478 (test_empty_complaint): Handle $inferior_spawn_id !=
19479 $gdb_spawn_id.
19480
0d30a335
PA
194812015-07-29 Pedro Alves <palves@redhat.com>
19482
19483 * gdb.base/varargs.exp: Use gdb_test_stdio.
19484
39413b29
PA
194852015-07-29 Pedro Alves <palves@redhat.com>
19486
19487 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
19488
7cb000a9
PA
194892015-07-29 Pedro Alves <palves@redhat.com>
19490
19491 * gdb.base/ending-run.exp: Use gdb_test_stdio.
19492
d7b8ac82
PA
194932015-07-29 Pedro Alves <palves@redhat.com>
19494
19495 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
19496 parameter into two new parameters, "inf_result" and "gdb_result".
19497 Expect inferior output and gdb output from $inferior_spawn_id and
19498 $gdb_spawn_id, respectively. Adjust all callers.
19499
789c3a0c
PA
195002015-07-29 Pedro Alves <palves@redhat.com>
19501
19502 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
19503 of gdb_test_sequence.
19504
77e760c3
PA
195052015-07-29 Pedro Alves <palves@redhat.com>
19506
19507 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
19508 (saw_spurious_output): Expect inferior output from
19509 $inferior_spawn_id. Use gdb_test_stdio.
19510
8396d2cd
PA
195112015-07-29 Pedro Alves <palves@redhat.com>
19512
19513 * gdb.base/dprintf.exp: Use standard_testfile. Change
19514 prepare_for_testing call.
19515 (srcfile): Don't set.
19516 (restart): New procedure.
19517 (test_dprintf): New procecure, use to continue over dprintfs.
19518 (test_call, test_agent): New procedures, tests moved here.
19519 Restart gdb and recreate dprintfs. Adjust expected output.
19520
2051d61f
PA
195212015-07-29 Pedro Alves <palves@redhat.com>
19522
19523 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
19524
452397af
PA
195252015-07-29 Pedro Alves <palves@redhat.com>
19526
19527 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
19528
8aed9555
PA
195292015-07-29 Pedro Alves <palves@redhat.com>
19530
19531 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
19532 gdb_test_stdio.
19533
188a61b4
PA
195342015-07-29 Pedro Alves <palves@redhat.com>
19535
19536 * lib/gdb.exp (gdb_test_stdio): New procedure.
19537
12264a45
PA
195382015-07-29 Pedro Alves <palves@redhat.com>
19539
19540 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
19541
23ffc893
PA
195422015-07-29 Pedro Alves <palves@redhat.com>
19543
19544 * gdb.base/call-signal-resume.exp: Remove check for
19545 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
19546 * gdb.base/unwindonsignal.exp: Likewise.
19547 * gdb.base/call-signals.c (gen_signal): Remove printf call.
19548 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
19549
65566918
PA
195502015-07-29 Pedro Alves <palves@redhat.com>
19551
19552 * gdb.base/siginfo-addr.c (pass): New function.
19553 (handler): Call it iff si_addr is correct.
19554 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
19555 Set a breakpoint at "pass" and continue to it.
19556
d60a9221
SDJ
195572015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
19558
19559 * gdb.python/py-objfile.exp: Make some tests have unique names.
19560 * gdb.python/py-pp-registration.exp: Likewise.
19561
bde40b8f
PA
195622015-07-28 Pedro Alves <palves@redhat.com>
19563
19564 * gdb.server/server-exec-info.exp: Issue a "disconnect".
19565
13e1dec8
SM
195662015-07-27 Simon Marchi <simon.marchi@ericsson.com>
19567
19568 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
19569
da33c9a7
SM
195702015-07-27 Simon Marchi <simon.marchi@ericsson.com>
19571
19572 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
19573
077836f7
PP
195742015-07-27 Patrick Palka <patrick@parcs.ath.cx>
19575
19576 * gdb.base/gdb-sigterm-2.exp: New test.
19577
b8cc7b2e
DE
195782015-07-25 Doug Evans <xdje42@gmail.com>
19579
19580 Revert:
19581 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
19582 (workers/%.worker, build-perf): New rule.
19583 (GDB_PERFTEST_MODE): New variable.
19584 (check-perf): Use it.
19585 (clean): Clean up gdb.perf parallel build subdirs.
19586 * lib/build-piece.exp: New file.
19587 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
19588 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
19589 name.
19590 (standard_temp_file): Ditto.
19591 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
19592 of $GDB_PARALLEL.
19593
c8bd4544
DE
195942015-07-24 Doug Evans <dje@google.com>
19595
19596 * gdb.perf/lib/perftest/utils.py: New file.
19597 * gdb.perf/gm-hello.cc: New file.
19598 * gdb.perf/gm-pervasive-typedef.cc: New file.
19599 * gdb.perf/gm-pervasive-typedef.h: New file.
19600 * gdb.perf/gm-std.cc: New file.
19601 * gdb.perf/gm-std.h: New file.
19602 * gdb.perf/gm-use-cerr.cc: New file.
19603 * gdb.perf/gm-utils.h: New file.
19604 * gdb.perf/gmonster-null-lookup.py: New file.
19605 * gdb.perf/gmonster-pervasive-typedef.py: New file.
19606 * gdb.perf/gmonster-print-cerr.py: New file.
19607 * gdb.perf/gmonster-ptype-string.py: New file.
19608 * gdb.perf/gmonster-runto-main.py: New file.
19609 * gdb.perf/gmonster-select-file.py: New file.
19610 * gdb.perf/gmonster1-null-lookup.exp: New file.
19611 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
19612 * gdb.perf/gmonster1-print-cerr.exp: New file.
19613 * gdb.perf/gmonster1-ptype-string.exp: New file.
19614 * gdb.perf/gmonster1-runto-main.exp: New file.
19615 * gdb.perf/gmonster1-select-file.exp: New file.
19616 * gdb.perf/gmonster1.cc: New file.
19617 * gdb.perf/gmonster1.exp: New file.
19618 * gdb.perf/gmonster2-null-lookup.exp: New file.
19619 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
19620 * gdb.perf/gmonster2-print-cerr.exp: New file.
19621 * gdb.perf/gmonster2-ptype-string.exp: New file.
19622 * gdb.perf/gmonster2-runto-main.exp: New file.
19623 * gdb.perf/gmonster2-select-file.exp: New file.
19624 * gdb.perf/gmonster2.cc: New file.
19625 * gdb.perf/gmonster2.exp: New file.
19626
6eab34f3
DE
196272015-07-24 Doug Evans <dje@google.com>
19628
19629 * gdb.perf/README: New file.
19630 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
19631 * lib/gen-perf-test.exp: New file.
19632
63738bfd
DE
196332015-07-24 Doug Evans <dje@google.com>
19634
19635 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
19636 (PerfTest::startup): New function.
19637 (PerfTest::run): Return result of calling body.
19638 (PerfTest::assemble): Rewrite.
19639 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
19640 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
19641 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
19642 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
19643 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
19644
7b606f95
DE
196452015-07-24 Doug Evans <dje@google.com>
19646
19647 * lib/gdb.exp (clean_restart): Make executable optional.
19648
a97b16b8
DE
196492015-07-24 Doug Evans <dje@google.com>
19650
19651 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
19652 compiler_info references.
19653 * gdb.cp/temargs.exp: Ditto.
19654 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
19655 (get_compiler_info): Early exit if already computed. Set compiler_info
19656 to "unknown" if there was a problem.
19657 (test_compiler_info): Add function comment. Call get_compiler_info.
19658
35baa57f
DE
196592015-07-24 Doug Evans <dje@google.com>
19660
19661 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
19662 (workers/%.worker, build-perf): New rule.
19663 (GDB_PERFTEST_MODE): New variable.
19664 (check-perf): Use it.
19665 (clean): Clean up gdb.perf parallel build subdirs.
19666 * lib/build-piece.exp: New file.
19667 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
19668 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
19669 name.
19670 (standard_temp_file): Ditto.
19671 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
19672 of $GDB_PARALLEL.
19673
6ebea266
DE
196742015-07-24 Doug Evans <dje@google.com>
19675
19676 * lib/future.exp (gdb_default_target_compile): New option
19677 "early_flags".
19678 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
19679 --as-needed.
19680
1e76a7e9
SDJ
196812015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
19682
19683 * gdb.base/catch-syscall.exp: Call gdb_exit before
19684 gdb_skip_xml_test.
19685
5068630a
PA
196862015-07-24 Pedro Alves <palves@redhat.com>
19687
19688 * gdb.python/py-events.exp: Accept output between the stop event
19689 and the prompt.
19690 * gdb.python/py-evsignal.exp: Likewise.
19691 * gdb.python/py-evthreads.exp: Likewise.
19692
77598427
PA
196932015-07-24 Pedro Alves <palves@redhat.com>
19694
19695 PR gdb/18717
19696 * gdb.threads/non-ldr-exit.c: New file.
19697 * gdb.threads/non-ldr-exit.exp: New file.
19698
11e6c98f
YQ
196992015-07-24 Yao Qi <yao.qi@linaro.org>
19700
19701 * gdb.server/ext-wrapper.exp: Test --wrapper option when
19702 restarting process.
19703
51aee833
YQ
197042015-07-24 Yao Qi <yao.qi@linaro.org>
19705
19706 * gdb.server/ext-restart.exp: New file.
19707
8cfe207c
YQ
197082015-07-24 Yao Qi <yao.qi@linaro.org>
19709
19710 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
19711 argument options.
19712 * gdb.server/ext-wrapper.exp: New file.
19713
cc12ce38
DE
197142015-07-23 Doug Evans <dje@google.com>
19715
19716 * gdb.dwarf2/dw2-dummy-cu.S: New file.
19717 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
19718
d0d84780
PMR
197192015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
19720
19721 * gdb.ada/var_arr_typedef.exp: New testcase.
19722 * gdb.ada/var_arr_typedef/pack.adb: New file.
19723 * gdb.ada/var_arr_typedef/pack.ads: New file.
19724 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
19725
8b558f79
JB
197262015-07-20 Joel Brobecker <brobecker@adacore.com>
19727
19728 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
19729
775a3298
JK
197302015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19731
19732 * gdb.arch/i386-biarch-core.exp: Replace istarget
19733 by "complete set gnutarget". Remove expectation for the "core-file"
19734 command.
19735
db1ff28b
JK
197362015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
19737
19738 Revert the previous commit:
19739 Tests for validate symbol file using build-id.
19740
0a94970d
JK
197412015-07-15 Aleksandar Ristovski <aristovski@qnx.com
19742
19743 Tests for validate symbol file using build-id.
19744 * gdb.base/solib-mismatch-lib.c: New file.
19745 * gdb.base/solib-mismatch-libmod.c: New file.
19746 * gdb.base/solib-mismatch.c: New file.
19747 * gdb.base/solib-mismatch.exp: New file.
19748
03346981
SL
197492015-07-15 Sandra Loosemore <sandra@codesourcery.com>
19750
19751 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
19752 nios2-*-linux*.
19753 * gdb.base/sigbpt.exp (stepi_out): Likewise.
19754 * gdb.base/siginfo.exp: Likewise.
19755 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19756
42422cc7
PL
197572015-07-15 Pierre Langlois <pierre.langlois@arm.com>
19758
19759 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
19760 Move it to ...
19761 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
19762 ... here.
19763 * gdb.trace/range-stepping.exp: Check that the target supports
19764 range stepping.
19765
cfa68bae
JK
197662015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
19767
19768 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
19769
8ffdba26
PA
197702015-07-14 Pedro Alves <palves@redhat.com>
19771
19772 * gdb.base/killed-outside.exp: New file.
19773 * gdb.base/killed-outside.c: New file.
19774
218a5a11
JK
197752015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19776
19777 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
19778 (n at main): New.
19779 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
19780
e03ed3c6
AA
197812015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19782
19783 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
19784 infcall tests instead of setting up for KFAIL.
19785
485668e5
MM
197862015-07-10 Markus Metzger <markus.t.metzger@intel.com>
19787
19788 * gdb.btrace/record_goto-step.exp: New.
19789
08464196
JK
197902015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
19791
19792 PR compile/18484
19793 * gdb.compile/compile.c (struct struct_type): Add volatile to
19794 selffield's type.
19795 * gdb.compile/compile.exp
19796 (compile code struct_object.selffield = &struct_object): Skip further
19797 struct_object tests if this one xfails.
19798
bcf5c1d9
RC
197992015-07-08 Robert O'Callahan <robert@ocallahan.org>
19800
19801 PR exp/18617
19802 * gdb.trace/ax.exp: Add test.
19803
4931af25
YQ
198042015-07-07 Yao Qi <yao.qi@linaro.org>
19805
19806 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
19807 instead of istarget "aarch64*-*-*".
19808 * gdb.arch/aarch64-fp.exp: Likewise.
19809 * gdb.base/float.exp: Likewise.
19810 * gdb.reverse/aarch64.exp: Likewise.
19811 * lib/gdb.exp (is_aarch64_target): New proc.
19812
9fcf688e
YQ
198132015-07-07 Yao Qi <yao.qi@linaro.org>
19814
19815 * lib/gdb.exp (is_aarch32_target): New proc.
19816 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
19817 instead of "istarget "arm*-*-*"".
19818 * gdb.arch/arm-disp-step.exp: Likewise.
19819 * gdb.arch/thumb-bx-pc.exp: Likewise.
19820 * gdb.arch/thumb-prologue.exp: Likewise.
19821 * gdb.arch/thumb-singlestep.exp: Likewise.
19822 * gdb.base/disp-step-syscall.exp: Likewise.
19823 * gdb.base/float.exp: Likewise.
19824
fbd8d50d
YQ
198252015-07-07 Yao Qi <yao.qi@linaro.org>
19826
19827 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
19828 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
19829
71be1fdc
YQ
198302015-07-07 Yao Qi <yao.qi@linaro.org>
19831
19832 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
19833 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
19834 if it exists.
19835 * gdb.multi/multi-arch.exp: Likewise.
19836
3e221d36
SM
198372015-07-07 Simon Marchi <simon.marchi@ericsson.com>
19838
19839 * gdb.python/py-lazy-string.exp: Add missing parentheses to
19840 print.
19841
d441430b
YQ
198422015-07-07 Yao Qi <yao.qi@linaro.org>
19843
19844 * gdb.arch/thumb-singlestep.exp: Do one more single step.
19845
06f810bd
MG
198462015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
19847
19848 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
19849 '[' and ']' characters.
19850
5e61e7c0
IB
198512015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
19852
19853 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
19854
28bf096c
PA
198552015-06-29 Pedro Alves <palves@redhat.com>
19856
19857 PR threads/18127
19858 * gdb.threads/hand-call-new-thread.c: New file.
19859 * gdb.threads/hand-call-new-thread.c: New file.
19860
ee93cd5e
KS
198612015-06-26 Keith Seitz <keiths@redhat.com>
19862 Doug Evans <dje@google.com>
19863
19864 PR 16253
19865 * gdb.cp/var-tag-2.cc: New file.
19866 * gdb.cp/var-tag-3.cc: New file.
19867 * gdb.cp/var-tag-4.cc: New file.
19868 * gdb.cp/var-tag.cc: New file.
19869 * gdb.cp/var-tag.exp: New file.
19870
fc637f04
PP
198712015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19872
19873 * gdb.base/history-duplicates.exp: New test.
19874
2e52ae68
PP
198752015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19876
19877 * gdb.base/completion.exp: Test the completion of the "focus"
19878 command.
19879
6e22494e
JK
198802015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19881
19882 * gdb.arch/amd64-prologue-skip.S: New file.
19883 * gdb.arch/amd64-prologue-skip.exp: New file.
19884
bf7b9cd9
SM
198852015-06-25 Simon Marchi <simon.marchi@ericsson.com>
19886
19887 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
19888 is_address_zero_readable check.
19889
201e8dfd
PB
198902015-06-24 Peter Bergner <bergner@vnet.ibm.com>
19891
19892 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
19893 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
19894
5cd867b4
YQ
198952015-06-24 Yao Qi <yao.qi@linaro.org>
19896
19897 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
19898 linux targets.
19899
4d7be007
YQ
199002015-06-24 Yao Qi <yao.qi@linaro.org>
19901
19902 * lib/gdb.exp (supports_get_siginfo_type): New proc.
19903 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
19904 * gdb.base/siginfo-thread.exp: Likewise.
19905
07fcd301
YQ
199062015-06-22 Yao Qi <yao.qi@linaro.org>
19907
19908 * boards/remote-gdbserver-on-localhost.exp: Add comments.
19909
52042a00
YQ
199102015-06-22 Yao Qi <yao.qi@linaro.org>
19911
19912 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
19913 aarch64*-*-*.
19914 (skip_hw_watchpoint_tests): Likewise.
19915
74bd41ce
PP
199162015-06-18 Patrick Palka <patrick@parcs.ath.cx>
19917
19918 * gdb.base/gdbinit-history.exp: Test the interaction between
19919 setting GDBHISTSIZE and setting the history size via .gdbinit.
19920
bc460514
PP
199212015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19922
19923 PR gdb/16999
19924 * gdb.base/gdbhistsize-history.exp: New test.
19925
b58c513b
PP
199262015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19927
19928 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
19929 with GDBHISTSIZE.
19930 * gdb.base/readline.exp: Likewise.
19931
92046791
YQ
199322015-06-17 Yao Qi <yao.qi@linaro.org>
19933
19934 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
19935 line.
19936
2093d2d3
PP
199372015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19938
19939 * gdb.base/gdbinit-history.exp: Add test case to check that
19940 an unlimited history file does not get truncated on exit.
19941
e6c693af
AA
199422015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19943
19944 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
19945 (VECTOR): New macro. Use it...
19946 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
19947 ...for these typedefs.
19948 (int8, char1, int1, double1): New typedefs.
19949 (struct just_int2, struct two_int2): New structures.
19950 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
19951 (add_structvecs, add_singlevecs): New functions.
19952 (main): Call add_some_intvecs twice.
19953 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
19954 the compile and exit upon failure. Try compiling for the "native"
19955 architecture. Test inferior function calls with vector arguments
19956 and vector return value handling with "finish" and "return".
19957
c74f7d1c
JT
199582015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
19959
19960 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
19961 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
19962 PE file.
19963 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
19964
98aa42ee
AT
199652015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
19966
19967 PR breakpoints/16465
19968 * gdb.mi/mi-dprintf-pending.c: New file.
19969 * gdb.mi/mi-dprintf-pending.exp: New test.
19970 * gdb.mi/mi-dprintf-pendshr.c: New file.
19971
7d73c23c 199722015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 19973 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
19974
19975 * gdb.arch/i386-mpx-map.c: New file.
19976 * gdb.arch/i386-mpx-map.exp: New File.
19977
199782015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19979
19980 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
19981 * gdb.arch/i386-mpx.exp: Indentation fixed.
19982
199832015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19984
19985 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
19986 function and improved indentation.
19987 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
19988 gdb_test_multiple. Added additional tests to skip the test.
19989
199902015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19991
19992 * gdb.arch/i386-avx512.c: Change path in include file.
19993 * gdb.arch/i386-avx512.exp: Change include dir path
19994 compilation flag.
19995 * gdb.arch/i386-mpx.c: Change path in include file.
19996 * gdb.arch/i386-mpx.exp: Change include dir path compilation
19997 flag.
19998
d5eba19a
JK
199992015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
20000
20001 * gdb.compile/compile-print.exp (compile print *vararray@3)
20002 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
20003
7f361056
JK
200042015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
20005
20006 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
20007 (do not keep jit in memory): ... this.
20008 (expect 5): Change it to ...
20009 (expect no 5): ... this.
20010
3b462ec2
SM
200112015-06-02 Simon Marchi <simon.marchi@ericsson.com>
20012
20013 PR gdb/15564
20014 * gdb.mi/mi-detach.exp: New file.
20015
e0619de6
JK
200162015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
20017
20018 PR symtab/18392
20019 * gdb.arch/amd64-tailcall-self.S: New file.
20020 * gdb.arch/amd64-tailcall-self.c: New file.
20021 * gdb.arch/amd64-tailcall-self.exp: New file.
20022
e970cb34
DB
200232015-05-28 Don Breazeal <donb@codesourcery.com>
20024
20025 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
20026 tests for remote targets by checking is_target_gdbserver.
20027
b2e2f908
DE
200282015-05-27 Doug Evans <dje@google.com>
20029
20030 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
20031 * gdb.dwarf2/opaque-type-lookup.c: New file.
20032 * gdb.dwarf2/opaque-type-lookup.exp: New file.
20033
82c7be31
DE
200342015-05-26 Doug Evans <dje@google.com>
20035
20036 * gdb.cp/iostream.cc: New file.
20037 * gdb.cp/iostream.exp: New file.
20038
b4f54984
DE
200392015-05-26 Doug Evans <dje@google.com>
20040
20041 * gdb.dwarf2/dw2-op-call.exp: Update.
20042 * gdb.dwarf2/dw4-sig-types.exp: Update.
20043 * gdb.dwarf2/implptr.exp: Update.
20044 * gdb.mi/mi-cmd-param-changed.exp: Update.
20045
4ea6efe9
DE
200462015-05-26 Doug Evans <dje@google.com>
20047
20048 * gdb.python/py-lazy-string.c: New file.
20049 * gdb.python/py-lazy-string.exp: New file.
20050 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
20051 (main): Update. Add estring3.
20052 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
20053 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
20054
f6bb7db3
YQ
200552015-05-26 Omair Javaid <omair.javaid@linaro.org>
20056 Yao Qi <yao.qi@linaro.org>
20057
20058 * gdb.reverse/aarch64.c: New.
20059 * gdb.reverse/aarch64.exp: New.
20060
a81bfbd0
OJ
200612015-05-26 Omair Javaid <omair.javaid@linaro.org>
20062
25d49b86
PA
20063 * lib/gdb.exp (supports_process_record): Return true for
20064 aarch64*-linux*.
a81bfbd0
OJ
20065 (supports_reverse): Likewise.
20066
158bf1b4
PP
200672015-05-22 Patrick Palka <patrick@parcs.ath.cx>
20068
20069 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
20070 Use with_test_prefix.
20071
a0145030
AB
200722015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
20073
20074 * gdb.base/completion.exp: Add test for completion of layout
20075 names.
20076
ebe3b578
AB
200772015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
20078
20079 * lib/gdb.exp (skip_tui_tests): New proc.
20080 * gdb.base/tui-layout.exp: Check skip_tui_tests.
20081
84204ed7
PA
200822015-05-19 Pedro Alves <palves@redhat.com>
20083
20084 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
20085 Save the whole env array instead of just HOME. Unset HISTSIZE in
20086 the environment while testing. Restore whole environment
20087 afterwards.
20088
37442ce1
DE
200892015-05-16 Doug Evans <xdje42@gmail.com>
20090
20091 * gdb.guile/scm-ports.c: New file.
20092 * gdb.guile/scm-ports.exp: Add memory port tests.
20093
36de76f9
JK
200942015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20095
20096 * gdb.compile/compile-print.c: New file.
20097 * gdb.compile/compile-print.exp: New file.
20098
3a9558c4
JK
200992015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20100
20101 * gdb.compile/compile-ops.exp: Cast param to void.
20102 * gdb.compile/compile.exp: Complete type for _gdb_expr.
20103 (compile code struct_object.selffield = &struct_object): Add xfail.
20104
aa715135
JG
201052015-05-15 Joel Brobecker <brobecker@adacore.com>
20106
20107 * gdb.ada/arr_enum_with_gap: New testcase.
20108
931e5bc3
JG
201092015-05-15 Joel Brobecker <brobecker@adacore.com>
20110
20111 * gdb.ada/byte_packed_arr: New testcase.
20112
9cd4d857
JB
201132015-05-15 Joel Brobecker <brobecker@adacore.com>
20114
20115 * gdb.ada/pckd_neg: New testcase.
20116
ebfd00d2
PP
201172015-05-13 Patrick Palka <patrick@parcs.ath.cx>
20118
20119 PR gdb/17820
20120 * gdb.base/gdbinit-history.exp: New test.
20121 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
20122 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
20123
4c082a81
SC
201242015-05-09 Siva Chandra Reddy <sivachandra@google.com>
20125
20126 * gdb.python/py-xmethods.cc: Enhance test case.
20127 * gdb.python/py-xmethods.exp: New tests.
20128 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
20129 function.
20130 (B_indexoper): Likewise.
20131 (global_dm_list) : Add new xmethod worker functions.
20132
f7797074
SDJ
201332015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
20134
20135 * gdb.base/coredump-filter.exp: Correctly unset
20136 "coredump_var_addr" array.
20137
a4674e4e
PA
201382015-05-08 Pedro Alves <palves@redhat.com>
20139
20140 * gdb.server/non-existing-program.exp: Unset spawn_id.
20141
df2eb078
SC
201422015-05-08 Siva Chandra Reddy <sivachandra@google.com>
20143
20144 PR python/18291
20145 * gdb.python/py-xmethods.exp: Add tests.
20146
422349a3
YQ
201472015-05-08 Yao Qi <yao.qi@linaro.org>
20148
20149 PR gdb/18208
20150 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
20151 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
20152 function set_coredump_filter, and remove remote_exec call.
20153 Remove argument ipid. Callers update.
20154 (top level): Don't get inferior's PID.
20155
63fc80ce
AA
201562015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
20157
20158 * gdb.base/watch_thread_num.exp: Skip test on targets without
20159 access watchpoints.
20160
80ad801e
PA
201612015-05-06 Pedro Alves <palves@redhat.com>
20162
20163 PR server/18081
20164 * gdb.server/non-existing-program.exp: New file.
20165
0fa7fe50
JB
201662015-05-05 Joel Brobecker <brobecker@adacore.com>
20167
20168 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
20169
3ea89b92
PMR
201702015-05-05 Joel Brobecker <brobecker@adacore.com>
20171
20172 * gdb.ada/out_of_line_in_inlined: New testcase.
20173
87b8eff0
JB
201742015-05-05 Joel Brobecker <brobecker@adacore.com>
20175
20176 * gdb.ada/var_rec_arr: New testcase.
20177
5fccc635
YQ
201782015-04-30 Yao Qi <yao.qi@linaro.org>
20179
20180 * gdb.base/break-idempotent.exp: If
20181 skip_hw_watchpoint_multi_tests returns true, skip the tests
20182 on "rwatch" and "awatch".
20183
42d38f42
YQ
201842015-04-30 Yao Qi <yao.qi@linaro.org>
20185
20186 * gdb.base/relativedebug.exp: Invoke gdb command
20187 "info sharedlibrary", and if libc.so doesn't have debug info,
20188 skip the test.
20189
2ce1cdbf
DE
201902015-04-29 Doug Evans <dje@google.com>
20191
20192 * gdb.python/py-xmethods.exp: Add ptype tests.
20193 * gdb.python/py-xmethods.py (E_method_char_worker): Add
20194 get_result_type method.
20195
f24a38c5
LM
201962015-04-29 Luis Machado <lgustavo@codesourcery.com>
20197
20198 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
20199 the target does not support hardware watchpoints.
20200
ecbf2b3c
LM
202012015-04-29 Luis Machado <lgustavo@codesourcery.com>
20202
20203 * gdb.base/break-always.exp: Abort testing if writing to memory
20204 causes an error.
20205
34f5f757
DE
202062015-04-28 Doug Evans <dje@google.com>
20207
20208 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
20209 * gdb.python/py-pp-registration.exp: ... here. New file.
20210 * gdb.python/py-pp-registration.c: New file.
20211 * gdb.python/py-pp-registration.py: New file.
20212
69b4374a
DE
202132015-04-28 Doug Evans <dje@google.com>
20214
20215 * gdb.python/py-bad-printers.c: New file.
20216 * gdb.python/py-bad-printers.py: New file.
20217 * gdb.python/py-bad-printers.exp: New file.
20218
59fb7612
SS
202192015-04-28 Sasha Smundak <asmundak@google.com>
20220
20221 * gdb.python/py-type.exp: New test.
20222
2631b16a
AW
202232015-04-28 Andy Wingo <wingo@igalia.com>
20224
20225 * gdb.python/py-parameter.exp:
20226 * gdb.guile/scm-parameter.exp: Escape the path that we are
20227 matching against, as it might contain characters that are special
20228 to regular expressions.
20229
460efde1
JB
202302015-04-27 Joel Brobecker <brobecker@adacore.com>
20231
20232 * gdb.ada/rec_comp: New testcase.
20233
2d369d8e
SDJ
202342015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
20235
20236 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
20237 before using it.
20238
cf75d6c3
AB
202392015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
20240
20241 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
20242 new tests for verilog output.
20243
8dbe7ca5
YQ
202442015-04-24 Yao Qi <yao.qi@linaro.org>
20245
20246 * boards/remote-gdbserver-on-localhost.exp: New file.
20247
4ef9fb2f
PA
202482015-04-23 Pedro Alves <palves@redhat.com>
20249
20250 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
20251 $inferior_spawn_id instead of $inferior_spawn_id directly. On
20252 "end of file", remove $inferior_spawn_id from the indirect list.
20253
0a803169
PA
202542015-04-23 Pedro Alves <palves@redhat.com>
20255
20256 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
20257
749ef8f8
PA
202582015-04-23 Pedro Alves <palves@redhat.com>
20259
20260 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
20261 on $any_spawn_id instead of only on $gdb_spawn_id.
20262
8aae4344
PM
202632015-04-21 Pierre Muller <muller@sourceware.org>
20264
20265 PR pascal/17815
20266 * lib/pascal.exp (gpc_compile): Add new option "class".
20267 (fpc_compile): Likewise.
20268 * gdb.pascal/case-insensitive-symbols.pas: New file.
20269 * gdb.pascal/case-insensitive-symbols.exp: New file.
20270
1586c8fb
GB
202712015-04-20 Gary Benson <gbenson@redhat.com>
20272
20273 * gdb.base/attach.exp: Fix three extended remote failures.
20274
1b6e6f5c
GB
202752015-04-17 Gary Benson <gbenson@redhat.com>
20276
20277 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
20278 the main executable over the remote protocol.
20279
e797481d
PA
202802015-04-16 Pedro Alves <palves@redhat.com>
20281
20282 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
20283 a new gdbserver if gdbserver_reconnect_p is set.
20284
1ca99c42
PA
202852015-04-16 Pedro Alves <palves@redhat.com>
20286
20287 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
20288 is set, don't exit gdbserver.
20289
af9fd6f8
AA
202902015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
20291
20292 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
20293 appropriate .insn, such that an older assembler can be used.
20294 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
20295 the z/Architecture instruction set on 31-bit targets as well.
20296
04ff1e61
AA
202972015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
20298
20299 * gdb.go/handcall.exp: Remove all logic related to the first
20300 breakpoint and rely on go_runto_main instead.
20301 * gdb.go/strings.exp: Likewise.
20302 * gdb.go/unsafe.exp: Likewise.
20303 * gdb.go/hello.exp: Likewise. Also rename the remaining
20304 breakpoint marker to "breakpoint 1".
20305 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
20306 * gdb.go/strings.go: Likewise.
20307 * gdb.go/unsafe.go: Likewise.
20308 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
20309 "set breakpoint 2 here" and rename the remaining breakpoint marker
20310 to "breakpoint 1".
20311
40d2f8d6
SM
203122015-04-15 Simon Marchi <simon.marchi@ericsson.com>
20313
20314 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
20315 if itertools.imap is not present.
20316 * gdb.python/py-objfile.exp: Add parentheses.
20317 * gdb.python/py-type.exp: Same.
20318 * gdb.python/py-unwind-maint.py: Same.
20319
8cbc97c6
YQ
203202015-04-15 Yao Qi <yao.qi@linaro.org>
20321
20322 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
20323 of ":$ptr_size" and set its form explicitly.
20324
45fd756c
YQ
203252015-04-15 Pedro Alves <palves@redhat.com>
20326 Yao Qi <yao.qi@linaro.org>
20327
20328 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
20329 timeout by factor of 4.
20330 (test_regular_watch): Likewise.
20331 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
20332 * gdb.reverse/sigall-reverse.exp: Likewise.
20333 * gdb.reverse/until-precsave.exp: Likewise.
20334 * lib/gdb.exp (with_timeout_factor): New proc.
20335 (gdb_expect): Move some code to ...
20336 (get_largest_timeout): ... here. New procedure.
20337
9e811bc3
LM
203382015-04-14 Luis Machado <lgustavo@codesourcery.com>
20339
20340 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
20341
0ff6fcb2
LM
203422015-04-13 Luis Machado <lgustavo@codesourcery.com>
20343
20344 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
20345 to write to the .text section.
20346
7578d5f7
LM
203472015-04-13 Luis Machado <lgustavo@codesourcery.com>
20348
20349 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
20350 Handle the case of targets that do not provide PID information.
20351
2efe15c4
YQ
203522015-04-13 Yao Qi <yao.qi@linaro.org>
20353
20354 * lib/gdbserver-support.exp (gdb_exit): Catch exception
20355 and use expect instead of gdb_expect.
20356
8cd8f2f8
SDJ
203572015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
20358
20359 * gdb.base/coredump-filter.exp: Rename variable "addr" to
20360 "coredump_var_addr" to avoid naming conflict with other testcases.
20361
9ee41772
PA
203622015-04-10 Pedro Alves <palves@redhat.com>
20363
20364 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
20365 gdb_test_sequence and gdb_assert.
20366
07473109
PA
203672015-04-10 Pedro Alves <palves@redhat.com>
20368
20369 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
20370 test messages that don't include the breakpoint address.
20371
de3db44c
YQ
203722015-04-10 Yao Qi <yao.qi@linaro.org>
20373
20374 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
20375 false for some offset and width combinations which aren't
20376 supported by linux kernel.
20377
c79d856c
PA
203782015-04-10 Pedro Alves <palves@redhat.com>
20379
20380 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
20381 procedure, factored out from ...
20382 (top level): ... here. Add "set displaced-stepping" testing axis.
20383 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
20384 parameter "displaced". Use it.
20385 (top level): Use foreach and add "set displaced-stepping" testing
20386 axis.
20387
ebc90b50
PA
203882015-04-10 Pedro Alves <palves@redhat.com>
20389
20390 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
20391 Remove comment.
20392 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
20393 both the address of the instruction that triggers the watchpoint
20394 and the address of the instruction immediately after, and use
20395 those addresses for the test. Fix comment.
20396
8f572e5c
PA
203972015-04-10 Pedro Alves <palves@redhat.com>
20398
20399 * gdb.base/sigstep.exp (breakpoint_to_handler)
20400 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
20401 Test "backtrace" in handler.
20402 (breakpoint_over_handler): New parameter 'displaced'. Use it.
20403 (top level): Add new "displaced" test axis to
20404 breakpoint_to_handler, breakpoint_to_handler_entry and
20405 breakpoint_over_handler.
20406
8d707a12
PA
204072015-04-10 Pedro Alves <palves@redhat.com>
20408
20409 PR gdb/18216
20410 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
20411
ef713951
YQ
204122015-04-10 Yao Qi <yao.qi@linaro.org>
20413
20414 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
20415 (test_add_rn_pc): New function.
20416 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
20417 (top level): Invoke test_add_rn_pc.
20418
906d60cf
PA
204192015-04-10 Pedro Alves <palves@redhat.com>
20420
20421 PR gdb/13858
20422 * gdb.base/step-over-no-symbols.exp: New file.
20423
f2983cc3
AW
204242015-04-09 Andy Wingo <wingo@igalia.com>
20425
20426 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
20427 after the Python tests.
20428
6d62641c
SDJ
204292015-04-08 Keith Seitz <keiths@redhat.com>
20430
20431 PR python/16699
20432 * gdb.python/py-completion.exp: New tests for completion.
20433 * gdb.python/py-completion.py (CompleteLimit1): New class.
20434 (CompleteLimit2): Likewise.
20435 (CompleteLimit3): Likewise.
20436 (CompleteLimit4): Likewise.
20437 (CompleteLimit5): Likewise.
20438 (CompleteLimit6): Likewise.
20439 (CompleteLimit7): Likewise.
20440
f3770638
PA
204412015-04-08 Pedro Alves <palves@redhat.com>
20442
20443 PR gdb/18214
20444 PR gdb/18216
20445 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
20446 function.
20447 (main): Install it as SIGUSR1 handler.
20448 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
20449 parameter. Always use "setup" as prefix. Toggle "set
20450 displaced-stepping" off/on depending on global. Don't switch to
20451 thread 1 here.
20452 (top level): Add displaced stepping "off/on" test axis. Update
20453 "setup" calls. Wrap each subtest with with_test_prefix. Test
20454 continuing with a queued signal in each thread.
20455
4496bed7
PA
204562015-04-08 Pedro Alves <palves@redhat.com>
20457
20458 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
20459 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
20460 gdb_breakpoint instead of gdb_test that doesn't expect anything.
20461 Return early if running to main fails.
20462 * gdb.trace/while-stepping.exp: Likewise.
20463
b97fde92
PA
204642015-04-07 Pedro Alves <palves@redhat.com>
20465
20466 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
20467 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
20468 interact with inferior program.
20469
f71c18e7
PA
204702015-04-07 Pedro Alves <palves@redhat.com>
20471
20472 * lib/gdb.exp (inferior_spawn_id): New global.
20473 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
20474 spawn id after processing the user code.
20475 (default_gdb_start): Set inferior_spawn_id.
20476 (send_inferior): New procedure.
20477 * lib/gdbserver-support.exp (gdbserver_start): Set
20478 inferior_spawn_id.
20479 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
20480
6423214f
PA
204812015-04-07 Pedro Alves <palves@redhat.com>
20482
20483 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
20484 * lib/gdbserver-support.exp (gdbserver_start): Make
20485 $server_spawn_id global.
20486 (gdbserver_start): Don't wait for gdbserver's spawn id with
20487 expect_background.
20488 (close_gdbserver): New procedure.
20489 (gdb_exit): Rename the default version and reimplement.
20490
71c0ee8c
PA
204912015-04-07 Pedro Alves <palves@redhat.com>
20492
72f4393d 20493 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
20494 append the substituted item, not the original item.
20495
203bc29b
PA
204962015-04-07 Pedro Alves <palves@redhat.com>
20497
20498 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
20499 gdb_expect.
20500
508a3ddf
PA
205012015-04-07 Pedro Alves <palves@redhat.com>
20502
20503 * gdb.base/interrupt.exp: Don't handle the case of the inferior
20504 output appearing once only.
20505
9f6dbe2b
PA
205062015-04-07 Pedro Alves <palves@redhat.com>
20507
20508 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
20509 that doesn't expect anything. Return early if running to main
20510 fails.
20511
337532fa
YQ
205122015-04-07 Yao Qi <yao.qi@linaro.org>
20513
20514 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
20515 (child_function): Call alarm.
20516 (main): Move call to alarm into the loop.
20517 * gdb.threads/non-stop-fair-events.exp: Build program with
20518 -DTIMEOUT=$timeout.
20519
01b622d4
DE
205202015-04-06 Doug Evans <xdje42@gmail.com>
20521
20522 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
20523 Fix dest parameter to board_info.
20524 (fpc_compile): Ditto.
20525 (gdb_compile_pascal): Rename dest arg to destfile.
20526
961f4160
PMR
205272015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
20528
20529 * gdb.ada/funcall_ref.exp: New file.
20530 * gdb.ada/funcall_ref/foo.adb: New file.
20531
cafda597
YQ
205322015-04-02 Yao Qi <yao.qi@linaro.org>
20533
20534 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
20535 is remote.
20536
fed040c6
GB
205372015-04-02 Gary Benson <gbenson@redhat.com>
20538
20539 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
20540
d11916aa
SS
205412015-04-01 Sasha Smundak <asmundak@google.com>
20542
20543 * gdb.python/py-unwind-maint.c: New file.
20544 * gdb.python/py-unwind-maint.exp: New test.
20545 * gdb.python/py-unwind-maint.py: New file.
20546 * gdb.python/py-unwind.c: New file.
20547 * gdb.python/py-unwind.exp: New test.
20548 * gdb.python/py-unwind.py: New test.
20549
a1471180
PA
205502015-04-01 Pedro Alves <palves@redhat.com>
20551
20552 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
20553 to fail instead of non-existent $test.
20554
0bbeccb1
PA
205552015-04-01 Pedro Alves <palves@redhat.com>
20556
20557 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
20558 GDBFLAGS if not empty.
20559
3c724c8c
PMR
205602015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
20561
20562 * gdb.ada/complete.exp: Remove "multi_line".
20563 * gdb.ada/info_exc.exp: Remove "multi_line".
20564 * gdb.ada/packed_tagged.exp: Remove "multi_line".
20565 * gdb.ada/ptype_field.exp: Remove "multi_line".
20566 * gdb.ada/sym_print_name.exp: Remove "multi_line".
20567 * gdb.ada/tagged.exp: Remove "multi_line".
20568 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
20569 [multi_line ...]
20570 * gdb.btrace/delta.exp: Likewise.
20571 * gdb.btrace/exception.exp: Likewise.
20572 * gdb.btrace/function_call_history.exp: Likewise.
20573 * gdb.btrace/instruction_history.exp: Likewise.
20574 * gdb.btrace/nohist.exp: Likewise.
20575 * gdb.btrace/record_goto.exp: Likewise.
20576 * gdb.btrace/segv.exp: Likewise.
20577 * gdb.btrace/stepi.exp: Likewise.
20578 * gdb.btrace/tailcall.exp: Likewise.
20579 * gdb.btrace/unknown_functions.exp: Likewise.
20580 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
20581 * lib/gdb.exp: Add the "multi_line" helper.
20582
4eec2deb
PA
205832015-04-01 Pedro Alves <palves@redhat.com>
20584
20585 * gdb.threads/tid-reuse.c: New file.
20586 * gdb.threads/tid-reuse.exp: New file.
20587
df8411da
SDJ
205882015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
20589
20590 PR corefiles/16092
20591 * gdb.base/coredump-filter.c: New file.
20592 * gdb.base/coredump-filter.exp: Likewise.
20593
6ef37366
PM
205942015-03-27 Petr Machata <pmachata@redhat.com>
20595
20596 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
20597 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
20598 (Dwarf::assemble): Initialize them.
20599 (Dwarf::lines): New function.
20600
7ec911b0
JT
206012015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
20602
20603 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
20604 SYMBOL_PREFIX for x86_64-*-cygwin.
20605
ff908ebf
AW
206062015-03-26 Andy Wingo <wingo@igalia.com>
20607
20608 PR symtab/18148
20609 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
20610 const_value but not a location.
20611 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
20612 location defined in non-main CUs are visible.
20613
6d5f0679
YQ
206142015-03-26 Yao Qi <yao.qi@linaro.org>
20615
20616 PR testsuite/18139
20617 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
20618 Add a line number entry for the same line.
20619 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
20620 Add a line number entry for the same line.
20621
2898689b
YQ
206222015-03-26 Yao Qi <yao.qi@linaro.org>
20623
20624 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
20625 .int 0.
20626 (func): Likewise. Add .Lfunc_1 label.
20627 Use .Lfunc_1 label.
20628 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
20629 .int 0.
20630 (func): Likewise.
20631 Use .Lfunc_1 label.
20632
85180498
YQ
206332015-03-26 Yao Qi <yao.qi@linaro.org>
20634
20635 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
20636 Call gdb_compile instead to compile each .s files without debug
20637 information.
20638
8aa08a8d
YQ
206392015-03-26 Yao Qi <yao.qi@linaro.org>
20640
20641 * gdb.base/savedregs.exp (process_saved_regs): Make
20642 "Saved registers:" optional in the pattern.
20643
66849923
MM
206442015-03-25 Markus Metzger <markus.t.metzger@intel.com>
20645
20646 * gdb.btrace/next.exp: Merged into step.exp.
20647 * gdb.btrace/finish.exp: Merged into step.exp.
20648 * gdb.btrace/nexti.exp: Merged into stepi.exp.
20649 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
20650 "record goto" and checking the exact replay position.
20651 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
20652 check for "Recording format" in "info record" output.
20653 * gdb.btrace/record_goto.exp: Choose test file based on target.
20654 * gdb.btrace/x86-record_goto.S: Renamed into ...
20655 * gdb.btrace/x86_64-record_goto.S: ... this.
20656 * gdb.btrace/i686-record_goto.S: New.
20657 * gdb.btrace/x86-tailcall.S: Renamed into ...
20658 * gdb.btrace/x86_64-tailcall.S: ... this.
20659 * gdb.btrace/i686-tailcall.S: New.
20660 * gdb.btrace/x86-tailcall.c: Renamed into ...
20661 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
20662 separate statements. Update test.
20663 * gdb.btrace/delta.exp: Use record_goto.c as test file.
20664 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
20665 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
20666 * gdb.btrace/tailcall.exp: Choose test file based on target.
20667 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
20668
11cc1b74
MM
206692015-03-25 Markus Metzger <markus.t.metzger@intel.com>
20670
20671 * gdb.btrace/exception.exp: Increase BTS buffer size.
20672
a25d8bf9
PA
206732015-03-24 Pedro Alves <palves@redhat.com>
20674
20675 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
20676
856e7dd6
PA
206772015-03-24 Pedro Alves <palves@redhat.com>
20678
20679 * gdb.threads/schedlock.exp (test_step): No longer expect that
20680 "set scheduler-locking step" with "next" over a function call runs
20681 threads unlocked.
20682
ad235a41
AT
206832015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
20684
20685 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
20686
15630549
AT
206872015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
20688
20689 PR breakpoints/16466
20690 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
20691 * gdb.mi/mi-pending.c (thread_func): New function.
20692 (int main): Add threading support required.
20693 * gdb.mi/mi-pending.exp: Add tests for this issue.
20694 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
20695 (pendfunc2): Remove stdio dependency.
20696 * gdb.mi/mi-pendshr2.c: New file.
20697
693dca06
KS
206982015-03-23 Keith Seitz <keiths@redhat.com>
20699
20700 * gdb.linespec/keywords.c: New file.
20701 * gdb.linespec/keywords.exp: New file.
20702
7e993ebf
KS
207032015-03-23 Keith Seitz <keiths@redhat.com>
20704
20705 PR gdb/18021
20706 * gdb.dwarf2/staticvirtual.exp: New test.
20707
bc23328c
JK
207082015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
20709
20710 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
20711 * README: Remove HP-UX and gdb.hp.
20712 (configuration):
20713 * configure: Regenerate.
20714 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
20715 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
20716 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
20717 gdb.hp/gdb.defects/Makefile.
20718 * gdb.hp/Makefile.in: File deleted.
20719 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
20720 * gdb.hp/gdb.aCC/optimize.c: File deleted.
20721 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
20722 * gdb.hp/gdb.aCC/run.c: File deleted.
20723 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
20724 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
20725 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
20726 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
20727 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
20728 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
20729 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
20730 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
20731 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
20732 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
20733 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
20734 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
20735 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
20736 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
20737 * gdb.hp/gdb.base-hp/reg.s: File deleted.
20738 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
20739 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
20740 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
20741 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
20742 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
20743 * gdb.hp/gdb.compat/Makefile.in: File deleted.
20744 * gdb.hp/gdb.compat/average.c: File deleted.
20745 * gdb.hp/gdb.compat/sum.c: File deleted.
20746 * gdb.hp/gdb.compat/xdb.c: File deleted.
20747 * gdb.hp/gdb.compat/xdb0.c: File deleted.
20748 * gdb.hp/gdb.compat/xdb0.h: File deleted.
20749 * gdb.hp/gdb.compat/xdb1.c: File deleted.
20750 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
20751 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
20752 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
20753 * gdb.hp/gdb.defects/Makefile.in: File deleted.
20754 * gdb.hp/gdb.defects/bs14602.c: File deleted.
20755 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
20756 * gdb.hp/gdb.defects/solib-d.c: File deleted.
20757 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
20758 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
20759 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
20760 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
20761 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
20762 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
20763 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
20764 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
20765 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
20766 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
20767 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
20768 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
20769 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
20770 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
20771 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
20772 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
20773 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
20774 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
20775 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
20776 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
20777 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
20778 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
20779 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
20780 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
20781 * gdb.hp/tools/odump: File deleted.
20782
8bf3b159
PA
207832015-03-19 Pedro Alves <palves@redhat.com>
20784
20785 * gdb.threads/continue-pending-status.exp (saw_thread_2)
20786 (saw_thread_3): New globals.
20787 (top level): Increment them when an event for the corresponding
20788 thread is seen.
20789 (no thread starvation): New test.
20790
eb54c8bf
PA
207912015-03-19 Pedro Alves <palves@redhat.com>
20792
20793 * gdb.threads/continue-pending-status.c: New file.
20794 * gdb.threads/continue-pending-status.exp: New file.
20795
32d2e5d6
PA
207962015-03-18 Pedro Alves <palves@redhat.com>
20797
20798 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
20799 Use gdb_is_target_remote instead of is_remote. Use
20800 gdb_test_multiple instead of gdb_expect. Exit early if
20801 gdb_test_multiple hits its internal matches. Tighten stepi tests
20802 expected output. Fail on exit with any signal, instead of just
20803 SIGILL.
20804
f68f11b7
YQ
208052015-03-18 Yao Qi <yao.qi@linaro.org>
20806
20807 PR tdep/18107
20808 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
20809 variable.
20810 * gdb.base/catch-syscall.exp: Don't skip it on
20811 aarch64*-*-linux* target. Remove elements in all_syscalls.
20812 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
20813 target.
20814 (setup_all_syscalls): New proc.
20815
ca5fd19b
YQ
208162015-03-16 Yao Qi <yao.qi@linaro.org>
20817
20818 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
20819 (top level): Skip tests if valid_addr_p returns false for
20820 $cmd1 or $cmd2.
20821
85642ba0
AW
208222015-03-11 Andy Wingo <wingo@igalia.com>
20823
20824 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
20825
e03f9645
YQ
208262015-03-11 Yao Qi <yao.qi@linaro.org>
20827
20828 * gdb.base/catch-syscall.exp: Fix typo in comments.
20829
5d0962b2
YQ
208302015-03-11 Yao Qi <yao.qi@linaro.org>
20831
20832 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
20833
b2df3cef
PA
208342015-03-09 Pedro Alves <palves@redhat.com>
20835
20836 * dg-extract-results.py: Delete.
20837
ef878e53
PA
208382015-03-09 Pedro Alves <palves@redhat.com>
20839
20840 Merge dg-extract-results.sh from GCC upstream (r218843).
20841
20842 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
20843 * dg-extract-results.sh: Use --text with grep to avoid issues with
20844 binary files. Fall back to cat -v, if that doesn't work.
20845
9494d219
PA
208462015-03-05 Pedro Alves <palves@redhat.com>
20847
20848 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
20849
a8d9763a
SM
208502015-03-04 Simon Marchi <simon.marchi@ericsson.com>
20851
20852 * lib/mi-support.exp (mi_expect_interrupt): Accept
20853 alternative event for when in all-stop mode.
20854
be9957b8
PA
208552015-03-04 Pedro Alves <palves@redhat.com>
20856
20857 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
20858
d57be0f4 208592015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
20860
20861 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
20862
c214c7cf
AA
208632015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20864
20865 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
20866 regexps for GDB's current line display, accept a hex address
20867 preceding the line number.
20868
6d74a497
AA
208692015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20870
20871 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
20872 the 'arch1' variable for "s390*-linux*" targets.
20873
511aee7c
PA
208742015-03-04 Pedro Alves <palves@redhat.com>
20875
20876 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
20877 (main): Pass missing retval argument to pthread_join call.
20878
95e50b27
PA
208792015-03-02 Pedro Alves <palves@redhat.com>
20880
20881 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
20882 (top level): Call do_test with non-stop as well.
20883
28054d69
PA
208842015-03-02 Pedro Alves <palves@redhat.com>
20885
20886 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
20887 -1.
20888
4fa5d7b4
AA
208892015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20890
20891 * gdb.arch/s390-vregs.exp: New test.
20892 * gdb.arch/s390-vregs.S: New file.
20893
97c18565
PA
208942015-02-27 Pedro Alves <palves@redhat.com>
20895
20896 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
20897 call to catch_command_errors.
20898 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
20899 catch_command_errors.
20900
a37bfa30
PA
209012015-02-27 Pedro Alves <palves@redhat.com>
20902
20903 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
20904 "true" for boolean result.
20905 * gdb.gdb/selftest.exp (test_with_self): Also accept full
20906 prototype of main.
20907
6f98576f
PA
209082015-02-27 Pedro Alves <palves@redhat.com>
20909
20910 * lib/unbuffer_output.c: New file.
20911 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
20912 (main): Call gdb_unbuffer_output.
20913
eba5ab56
YQ
209142015-02-27 Yao Qi <yao.qi@linaro.org>
20915
20916 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
20917 target.
20918
0def5aaa
DE
209192015-02-26 Doug Evans <dje@google.com>
20920
20921 * gdb.cp/class2.cc (Dbase, D): New classes.
20922 (main): New local delta.
20923 * gdb.cp/class2.exp: Test printing delta.
20924 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
20925 (dynbar): New global.
20926 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
20927
081a1c2c
JK
209282015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20929
20930 * gdb.compile/compile-ifunc.c: New file.
20931 * gdb.compile/compile-ifunc.exp: New file.
20932
2f41223f
AT
209332015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
20934
20935 * gdb.base/structs.exp: Check for correct struct on finish.
20936
03eddd80
YQ
209372015-02-26 Yao Qi <yao.qi@linaro.org>
20938
20939 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
20940 is zero.
20941
80c57053
JK
209422015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20943
20944 * gdb.arch/cordic.ko.bz2: New file.
20945 * gdb.arch/cordic.ko.debug.bz2: New file.
20946 * gdb.arch/ppc64-symtab-cordic.exp: New file.
20947
21613c12
YQ
209482015-02-25 Yao Qi <yao.qi@linaro.org>
20949
20950 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
20951 aarch64*-*-* target.
20952
d8b901ed
PA
209532015-02-23 Pedro Alves <palves@redhat.com>
20954
20955 * lib/gdb.exp (delete_breakpoints): Rewrite using
20956 gdb_test_multiple.
20957
e5b85ead
PA
209582015-02-23 Pedro Alves <palves@redhat.com>
20959
20960 * gdb.base/info-os.c: Include stdlib.h.
20961
85c3a371
DE
209622015-02-22 Doug Evans <xdje42@gmail.com>
20963
20964 PR symtab/17855
20965 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
20966 is read after symbols have been re-read.
20967 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
20968 * gdb.ada/exec_changed/second.adb (Second): Ditto.
20969
96553a0c
DE
209702015-02-21 Doug Evans <dje@google.com>
20971
20972 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
20973
97a0c697
JK
209742015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20975
20976 PR corefiles/17808
20977 * gdb.arch/i386-biarch-core.core.bz2: New file.
20978 * gdb.arch/i386-biarch-core.exp: New file.
20979
a47cd6e9
PA
209802015-02-21 Pedro Alves <palves@redhat.com>
20981
20982 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
20983 runto_main fails.
20984
c5facdc4
PA
209852015-02-20 Pedro Alves <palves@redhat.com>
20986
20987 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
20988 info probes.
20989
2db9a427
PA
209902015-02-20 Pedro Alves <palves@redhat.com>
20991
20992 * gdb.threads/multi-create-ns-info-thr.exp: New file.
20993
60fb7e9e
PA
209942015-02-20 Pedro Alves <palves@redhat.com>
20995
20996 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
20997 clean_restart before gdb_target_supports_trace.
20998
5c5019c2
PA
209992015-02-20 Pedro Alves <palves@redhat.com>
21000
21001 PR threads/18006
21002 * gdb.threads/clone-thread_db.c: New file.
21003 * gdb.threads/clone-thread_db.exp: New file.
21004
c9587f88
AT
210052015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
21006
21007 PR breakpoints/16812
21008 * gdb.base/catch-gdb-caused-signals.c: New file.
21009 * gdb.base/catch-gdb-caused-signals.exp: New file.
21010
f6a88844
JM
210112015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
21012
21013 * configure: Regenerated.
21014 * configure.ac: Use GDB_AC_TRANSFORM.
21015 * aclocal.m4: sinclude ../transform.m4.
21016
497c491b
JM
210172015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
21018
21019 * lib/dtrace.exp: New file.
21020 * gdb.base/dtrace-probe.exp: Likewise.
21021 * gdb.base/dtrace-probe.d: Likewise.
21022 * gdb.base/dtrace-probe.c: Likewise.
21023 * lib/pdtrace.in: Likewise.
21024 * configure.ac: Output variables with the transformed names of
21025 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
21026 * configure: Regenerated.
21027
03e98035
JM
210282015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
21029
21030 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
21031 expected message when trying to access $_probe_* convenience
21032 variables while not on a probe.
21033
63cc30e9
JK
210342015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21035
21036 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
21037
0703599a
PA
210382015-02-11 Pedro Alves <pedro@codesourcery.com>
21039
21040 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
21041 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
21042
7e60a48e
DE
210432015-02-10 Doug Evans <xdje42@gmail.com>
21044
21045 * lib/gdb.exp (gdb_load): Always return a result.
21046
01b088bc
PA
210472015-02-10 Pedro Alves <palves@redhat.com>
21048
21049 * gdb.threads/signal-sigtrap.c: New file.
21050 * gdb.threads/signal-sigtrap.exp: New file.
21051
b05ec7a5
AT
210522015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
21053
21054 * gdb.trace/no-attach-trace.c: New file.
21055 * gdb.trace/no-attach-trace.exp: New file.
21056
a2c2acaf
MW
210572015-02-09 Mark Wielaard <mjw@redhat.com>
21058
21059 * gdb.dwarf2/atomic.c: New file.
21060 * gdb.dwarf2/atomic-type.exp: Likewise.
21061
31fd9caa
MM
210622015-02-09 Markus Metzger <markus.t.metzger@intel.com>
21063
21064 * gdb.btrace/buffer-size.exp: Update "info record" output.
21065 * gdb.btrace/delta.exp: Update "info record" output.
21066 * gdb.btrace/enable.exp: Update "info record" output.
21067 * gdb.btrace/finish.exp: Update "info record" output.
21068 * gdb.btrace/instruction_history.exp: Update "info record" output.
21069 * gdb.btrace/next.exp: Update "info record" output.
21070 * gdb.btrace/nexti.exp: Update "info record" output.
21071 * gdb.btrace/step.exp: Update "info record" output.
21072 * gdb.btrace/stepi.exp: Update "info record" output.
21073 * gdb.btrace/nohist.exp: Update "info record" output.
21074
d33501a5
MM
210752015-02-09 Markus Metzger <markus.t.metzger@intel.com>
21076
21077 * gdb.btrace/buffer-size: New.
21078
f4abbc16
MM
210792015-02-09 Markus Metzger <markus.t.metzger@intel.com>
21080
21081 * gdb.btrace/delta.exp: Update "info record" output.
21082 * gdb.btrace/enable.exp: Update "info record" output.
21083 * gdb.btrace/finish.exp: Update "info record" output.
21084 * gdb.btrace/instruction_history.exp: Update "info record" output.
21085 * gdb.btrace/next.exp: Update "info record" output.
21086 * gdb.btrace/nexti.exp: Update "info record" output.
21087 * gdb.btrace/step.exp: Update "info record" output.
21088 * gdb.btrace/stepi.exp: Update "info record" output.
21089 * gdb.btrace/nohist.exp: Update "info record" output.
21090
b9d61307
SM
210912015-02-06 Simon Marchi <simon.marchi@ericsson.com>
21092
21093 PR gdb/15678
21094 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
21095
e584fdbc
PA
210962015-02-06 Pedro Alves <palves@redhat.com>
21097
21098 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
21099 macro.
21100 (seconds_left, again): New globals.
21101 (main): Wait seconds_left in a 1-second sleep loop instead of
21102 sleeping 180 seconds. If 'again' is set, reset the seconds
21103 counter.
21104 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
21105 'again' in the inferior before detaching. Print the seconds left.
21106 (options): New global.
21107 (top level): Build program with -DTIMEOUT=$timeout.
21108
77f41761
PA
211092015-02-06 Pedro Alves <palves@redhat.com>
21110
21111 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
21112 determine how many seconds to pass to 'alarm'.
21113 * gdb.base/gdb-sigterm.exp (top level): Build program with
21114 -DTIMEOUT=$timeout.
21115 (do_test): Return success/failure indication. Add more verbose
21116 logging. Don't fail if 200 single steps are seen. Instead, fail
21117 when the test times out.
21118 (passes): New global.
21119 (top level): Break the testing loop if testing fails on any
21120 iteration. Use gdb_assert.
21121
b9394193
DB
211222015-02-04 Don Breazeal <donb@codesourcery.com>
21123
21124 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
21125 and initialize them.
21126 (ipc_cleanup): New function.
21127 (main): Don't declare shmid, semid, and msqid. Add a call to
21128 atexit so that we call ipc_cleanup on exit.
21129
42d9e528
PA
211302015-02-04 Pedro Alves <palves@redhat.com>
21131
21132 * boards/native-extended-gdbserver.exp: Remove any target variant
21133 specifications from the board name before clearing the isremote
21134 flag from board_info.
21135
ae6ae975
DE
211362015-01-31 Doug Evans <xdje42@gmail.com>
21137
21138 * gdb.base/maint.exp <maint print type argc>: Update expected output.
21139
cfb069a8
GB
211402015-01-31 Gary Benson <gbenson@redhat.com>
21141
21142 * gdb.base/completion.exp: Disable completion limiting for
21143 existing tests. Add new tests to check completion limiting.
21144 * gdb.linespec/ls-errs.exp: Disable completion limiting.
21145
5dd31d79
DE
211462015-01-31 Doug Evans <xdje42@gmail.com>
21147
21148 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
21149
9f050062
DE
211502015-01-31 Doug Evans <xdje42@gmail.com>
21151
21152 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
21153 entries. Duplicate file section script entries.
21154 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
21155 inlined entries. Add test for safe-path rejection.
21156 * gdb.python/py-section-script.c: Add duplicate inlined section script
21157 entries. Duplicate file section script entries.
21158 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
21159 inlined entries. Add test for safe-path rejection.
21160
df25ebbd
JB
211612015-01-29 Joel Brobecker <brobecker@adacore.com>
21162
21163 * gdb.ada/disc_arr_bound: New testcase.
21164
4a0ca9ec
JB
211652015-01-29 Joel Brobecker <brobecker@adacore.com>
21166
21167 * gdb.ada/mi_var_array: New testcase.
21168
3a8b707a
DE
211692015-01-27 Doug Evans <dje@google.com>
21170
21171 * gdb.python/py-objfile.exp: Add tests for objfile.username.
21172 Add test for objfile.filename, objfile.username after objfile
21173 has been unloaded.
21174
f8313f6e
JB
211752015-01-26 Joel Brobecker <brobecker@adacore.com>
21176
21177 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
21178 the second test to print the name attribute of value
21179 returned by the call to gdb.lookup_type, and adjust
21180 the expected output accordingly.
21181
37bc665e
MW
211822015-01-25 Mark Wielaard <mjw@redhat.com>
21183
21184 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
21185 * gdb.base/disp-step-fork.c: Include unistd.h.
21186 * gdb.base/siginfo-obj.c: Include stdio.h.
21187 * gdb.base/siginfo-thread.c: Likewise.
21188 * gdb.mi/non-stop.c: Include unistd.h.
21189 * gdb.mi/nsthrexec.c: Include stdio.h.
21190 * gdb.mi/pthreads.c: Include unistd.h.
21191 * gdb.modula2/unbounded1.c (main): Declare returns int.
21192 * gdb.reverse/consecutive-reverse.c: Likewise.
21193 * gdb.threads/create-fail.c: Include unistd.h.
21194 * gdb.threads/killed.c: Likewise.
21195 * gdb.threads/linux-dp.c: Likewise.
21196 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
21197 * gdb.threads/non-ldr-exc-2.c: Likewise.
21198 * gdb.threads/non-ldr-exc-3.c: Likewise.
21199 * gdb.threads/non-ldr-exc-4.c: Likewise.
21200 * gdb.threads/pthreads.c: Include unistd.h.
21201 (main): Declare returns int.
21202 * gdb.threads/tls-main.c (foo): New declaration.
21203 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
21204
f7e5394d
SM
212052015-01-23 Simon Marchi <simon.marchi@ericsson.com>
21206
21207 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
21208 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
21209
743649fd
MW
212102015-01-15 Mark Wielaard <mjw@redhat.com>
21211
21212 * gdb.base/noreturn-return.c: New file.
21213 * gdb.base/noreturn-return.exp: New file.
21214 * gdb.base/noreturn-finish.c: New file.
21215 * gdb.base/noreturn-finish.exp: New file.
21216
198297aa
PA
212172015-01-23 Pedro Alves <palves@redhat.com>
21218
21219 * gdb.threads/continue-pending-after-query.c: New file.
21220 * gdb.threads/continue-pending-after-query.exp: New file.
21221
717cf30c
AG
212222015-01-22 Anders Granlund <anders.granlund@ericsson.com>
21223 Simon Marchi <simon.marchi@ericsson.com>
21224
21225 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
21226 * gdb.base/valgrind-db-attach.exp: Same.
21227 * gdb.base/valgrind-infcall.exp: Same.
21228 * lib/mi-support.exp (default_mi_gdb_start): Same.
21229 * lib/prompt.exp (default_prompt_gdb_start): Same.
21230 * lib/gdb.exp (default_gdb_spawn): Same.
21231 (gdb_interact): New.
21232
21233
4b62a76e
JK
212342015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21235
21236 * gdb.compile/compile.exp (pointer to jit function): New test.
21237
b4cdae6f
WW
212382015-01-17 Wei-cheng Wang <cole945@gmail.com>
21239
21240 * lib/gdb.exp (supports_process_record): Return true for
21241 powerpc*-*-linux*.
21242 (supports_reverse): Likewise.
21243
d221e7ef
DB
212442015-01-15 Don Breazeal <donb@codesourcery.com>
21245
21246 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
21247 instead of checking whether the target board is remote and
21248 use spawn_wait_for_attach instead of exec/sleep.
21249 * gdb.base/attach-twice.exp: Likewise.
21250
bafffb51
JB
212512015-01-15 Joel Brobecker <brobecker@adacore.com>
21252
21253 * gdb.ada/var_arr_attrs: New testcase.
21254
5589af0e
PA
212552015-01-14 Pedro Alves <palves@redhat.com>
21256 Joel Brobecker <brobecker@adacore.com>
21257
21258 PR gdb/17525
21259 * gdb.base/bp-cmds-execution-x-script.c: New file.
21260 * gdb.base/bp-cmds-execution-x-script.exp: New file.
21261 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
21262
6c400b59
PA
212632015-01-14 Pedro Alves <palves@redhat.com>
21264
21265 PR cli/17828
21266 * gdb.base/batch-preserve-term-settings.c: New file.
21267 * gdb.base/batch-preserve-term-settings.exp: New file.
21268
e02c96a7
DE
212692015-01-13 Doug Evans <dje@google.com>
21270
21271 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
21272 binary.
21273
576fd14c
JB
212742015-01-13 Joel Brobecker <brobecker@adacore.com>
21275
21276 * Makefile.in (clean mostlyclean): Do not delete *.py.
21277
04dccad0
JB
212782015-01-13 Joel Brobecker <brobecker@adacore.com>
21279
21280 * gdb.python/py-lookup-type.exp: New file.
21281
3d230f71
PA
212822015-01-12 Pedro Alves <palves@redhat.com>
21283
21284 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
21285 restore GDBFLAGS before returning.
21286
7e67715d
JK
212872015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21288
21289 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
21290 is_amd64_regs_target and is_x86_like_target.
21291
f2e0d4b4
DE
212922015-01-11 Doug Evans <xdje42@gmail.com>
21293
21294 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
21295 is given without an explicit form.
21296 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
21297 attributes.
21298 * gdb.dwarf/corrupt.exp: Ditto.
21299 * gdb.dwarf2/enum-type.exp: Ditto.
21300 * gdb.trace/entry-values.exp: Ditto.
21301 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
21302
439250fb
DE
213032015-01-11 Doug Evans <xdje42@gmail.com>
21304
21305 PR gdb/15830
21306 * gdb.base/maint.exp: Remove references to "maint demangle".
21307 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
21308 Add tests for explicitly specifying language to demangle.
21309 * gdb.dlang/demangle.exp: Ditto.
21310
ede9f622
PA
213112015-01-09 Pedro Alves <palves@redhat.com>
21312
21313 * gdb.threads/non-stop-fair-events.c: New file.
21314 * gdb.threads/non-stop-fair-events.exp: New file.
21315
a7b796db
PA
213162015-01-09 Pedro Alves <palves@redhat.com>
21317
21318 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
21319 the global scope. Set a breakpoint after all threads are started
21320 rather than stepping over two source lines. Expect the prompt.
21321 * gdb.base/watch_thread_num.c (threads_started_barrier): New
21322 global.
21323 (NUM): Now 15.
21324 (main): Use threads_started_barrier to wait for all threads to
21325 start. Main thread no longer calls thread_function. Exit after
21326 180 seconds.
21327 (loop): New function.
21328 (thread_function): Wait on threads_started_barrier barrier. Call
21329 'loop' at each iteration.
21330 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
21331 threads have started, instead of hardcoding number of "next"
21332 steps. Use an access watchpoint instead of a write watchpoint.
21333
9665ffdd
PA
213342015-01-09 Pedro Alves <palves@redhat.com>
21335
21336 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
21337 (thread_func): Wait on barrier.
21338 (main): Wait for all threads to start before stopping GDB.
21339 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
21340 global.
21341 (thread1_func, thread2_func): Wait on barrier.
21342 (main): Wait for all threads to start before stopping GDB.
21343 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
21344 New global.
21345 (thread1_func, thread2_func): Wait on barrier.
21346 (main): Wait for all threads to start before stopping GDB.
21347
c945a99f
PA
213482015-01-09 Pedro Alves <palves@redhat.com>
21349
21350 * gdb.threads/attach-many-short-lived-threads.c: New file.
21351 * gdb.threads/attach-many-short-lived-threads.exp: New file.
21352
c1a747c1
PA
213532014-01-09 Pedro Alves <palves@redhat.com>
21354
21355 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
21356 instead of to thread 2.
21357 * gdb.threads/signal-command-multiple-signals-pending.c (main):
21358 Add barrier around each pthread_create call instead of around all
21359 calls.
21360 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
21361 Set a break on thread_function and have the child threads hit it
21362 one at at a time.
21363
60b3033e
PA
213642015-01-09 Pedro Alves <palves@redhat.com>
21365
21366 * lib/gdb.exp (can_spawn_for_attach): New procedure.
21367 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
21368 false.
21369 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
21370 checking whether the target board is remote.
21371 * gdb.multi/multi-attach.exp: Likewise.
21372 * gdb.python/py-sync-interp.exp: Likewise.
21373 * gdb.server/ext-attach.exp: Likewise.
21374 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
21375 tests that need to attach, instead of checking whether the target
21376 board is remote at the top of the file.
21377
acc018ac
YQ
213782015-01-08 Yao Qi <yao@codesourcery.com>
21379
21380 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
21381
50a18af8
JK
213822015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21383
21384 Fix testcase compilation.
21385 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
21386
8503d6e1
JB
213872015-01-06 Joel Brobecker <brobecker@adacore.com>
21388
21389 * gdb.python/py-type.exp: Add a couple test about empty
21390 array creation, and negative-length array creation.
21391
cc73dbcc
DE
213922015-01-02 Doug Evans <xdje42@gmail.com>
21393
21394 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
21395
0300bbc7
DE
213962015-01-02 Doug Evans <dje@google.com>
21397
21398 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
21399
9d85a0ec
YQ
214002014-12-29 Yao Qi <yao@codesourcery.com>
21401
21402 * gdb.trace/entry-values.exp: Update comments. Rename variable
21403 bar_call_foo to returned_from_foo.
21404
87186c6a
MMN
214052014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
21406
21407 PR gdb/17394
21408 * gdb.linespec/break-asm-file.c: New file.
21409 * gdb.linespec/break-asm-file.exp: New file.
21410 * gdb.linespec/break-asm-file0.s: New file.
21411 * gdb.linespec/break-asm-file1.s: New file.
21412
1bab7383
YQ
214132014-12-18 Nigel Stephens <nigel@mips.com>
21414 Maciej W. Rozycki <macro@codesourcery.com>
21415
21416 * gdb.base/float.exp: Handle the new output from "info float" on
21417 MIPS targets.
21418
1bc1068a
JK
214192014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21420
21421 Fix MinGW compilation.
21422 * gdb.compile/compile-ops.exp: Update untested message if
21423 !skip_compile_feature_tests.
21424 * gdb.compile/compile-setjmp.exp: Likewise.
21425 * gdb.compile/compile-tls.exp: Likewise.
21426 * gdb.compile/compile.exp: Likewise.
21427 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
21428 supported on this host".
21429
b6615d10
DE
214302014-12-16 Doug Evans <xdje42@gmail.com>
21431
21432 * boards/stabs.exp: New file.
21433
25dda427
AA
214342014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
21435
21436 * gdb.base/completion.exp: Adjust to format changes of "maint
21437 print user-registers".
21438
bf330350
CU
214392014-12-16 Catalin Udma <catalin.udma@freescale.com>
21440
21441 PR server/17457
21442 * gdb.arch/aarch64-fp.c: New file.
21443 * gdb.arch/aarch64-fp.exp: New file.
21444
395cf596
SDJ
214452014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
21446
21447 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
21448 r210637, r210913, r211666, r215400, r215817).
21449
21450 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
21451 * dg-extract-results.py: New file.
21452 * dg-extract-results.sh: Use it if the environment seems
21453 suitable.
21454
21455 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
21456
21457 * dg-extract-results.py (parse_run): Handle warnings that
21458 are printed before a test harness is run.
21459
21460 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
21461
21462 * dg-extract-results.py (Named): Remove __cmp__ method.
21463 (output_variation): Use a key to sort variation.harnesses.
21464
21465 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
21466
21467 * dg-extract-results.py: For Python 3, force sys.stdout to
21468 handle surrogate escape sequences.
21469 (safe_open): New function.
21470 (output_segment, main): Use it.
21471
21472 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
21473
21474 * dg-extract-results.py (Prog.result_re): Include options
21475 in test name.
21476
21477 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
21478
21479 * dg-extract-results.py (output_variation): Always sort if
21480 do_sum.
21481
e882ef3c
SM
214822014-12-15 Simon Marchi <simon.marchi@ericsson.com>
21483
21484 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
21485 as long as we get pagination notifications.
21486
4992aa20
JM
214872014-12-15 Jason Merrill <jason@redhat.com>
21488
21489 * Makefile.in (check-gdb.%): Restore.
21490 * README: Mention it.
21491
c1b5a1a6
JB
214922014-12-13 Joel Brobecker <brobecker@adacore.com>
21493
21494 * gdb.ada/str_uninit: New testcase.
21495
5537b577
JK
214962014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21497
21498 PR symtab/17642
21499 * gdb.base/vla-stub-define.c: New file.
21500 * gdb.base/vla-stub.c: New file.
21501 * gdb.base/vla-stub.exp: New file.
21502
bb2ec1b3
TT
215032014-12-12 Phil Muldoon <pmuldoon@redhat.com>
21504 Jan Kratochvil <jan.kratochvil@redhat.com>
21505 Tom Tromey <tromey@redhat.com>
21506
21507 * configure.ac: Add gdb.compile/.
21508 * configure: Regenerate.
21509 * gdb.compile/Makefile.in: New file.
21510 * gdb.compile/compile-ops.exp: New file.
21511 * gdb.compile/compile-ops.c: New file.
21512 * gdb.compile/compile-tls.c: New file.
21513 * gdb.compile/compile-tls.exp: New file.
21514 * gdb.compile/compile-constvar.S: New file.
21515 * gdb.compile/compile-constvar.c: New file.
21516 * gdb.compile/compile-mod.c: New file.
21517 * gdb.compile/compile-nodebug.c: New file.
21518 * gdb.compile/compile-setjmp-mod.c: New file.
21519 * gdb.compile/compile-setjmp.c: New file.
21520 * gdb.compile/compile-setjmp.exp: New file.
21521 * gdb.compile/compile-shlib.c: New file.
21522 * gdb.compile/compile.c: New file.
21523 * gdb.compile/compile.exp: New file.
21524 * lib/gdb.exp (skip_compile_feature_tests): New proc.
21525
4ff709eb
TT
215262014-12-12 Tom Tromey <tromey@redhat.com>
21527
21528 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
21529 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
21530
6dddd6a5
DE
215312014-12-12 Doug Evans <dje@google.com>
21532
21533 * lib/gdb-python.exp (get_python_valueof): New function.
21534 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
21535
71c24708
AA
215362014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21537
21538 * gdb.base/completion.exp: Add test for completion of "info
21539 registers ".
21540
3e29f34a
MR
215412014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
21542
21543 * gdb.base/func-ptrs.c: New file.
21544 * gdb.base/func-ptrs.exp: New file.
21545
fc126975
SM
215462014-12-10 Simon Marchi <simon.marchi@ericsson.com>
21547
21548 PR breakpoints/17012
21549 * gdb.base/dprintf-detach.c: New file.
21550 * gdb.base/dprintf-detach.exp: New file.
21551
0a46d518
SM
215522014-12-10 Simon Marchi <simon.marchi@ericsson.com>
21553
21554 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
21555 * lib/gdb.exp (target_is_gdbserver): New procedure.
21556
a0be3e44
DE
215572014-12-08 Doug Evans <dje@google.com>
21558
21559 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
21560
df1b803a
YQ
215612014-12-05 Yao Qi <yao@codesourcery.com>
21562
21563 * gdb.guile/scm-error.exp: Remove the third argument to
21564 gdb_remote_download.
21565 * gdb.guile/scm-frame-args.exp: Likewise.
21566 * gdb.guile/scm-section-script.exp: Likewise.
21567
ddb9f679
YQ
215682014-12-05 Yao Qi <yao@codesourcery.com>
21569
21570 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
21571
86e4ed39
DE
215722014-12-04 Doug Evans <dje@google.com>
21573
21574 * gdb.python/py-objfile.exp: Add tests for
21575 objfile.add_separate_debug_file.
21576
7c50a931
DE
215772014-12-04 Doug Evans <dje@google.com>
21578
21579 * lib/gdb.exp (get_build_id): New function.
21580 (build_id_debug_filename_get): Rewrite to use it.
21581 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
21582
621661e3
MR
215832014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
21584
21585 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
21586 `method(long)', not just 0x0.
21587 * gdb.cp/nsalias.exp: Align code labels to 4.
21588 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
21589 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
21590 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
21591 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
21592 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
21593 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
21594
29f0c3b7
DE
215952014-12-02 Doug Evans <dje@google.com>
21596
e1e061e7 21597 PR symtab/17602
29f0c3b7 21598 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 21599 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
21600 * gdb.cp/anon-ns.exp: Update.
21601
162078c8
NB
216022014-12-02 Nick Bull <nicholaspbull@gmail.com>
21603
21604 * gdb.python/py-events.py (inferior_call_handler): New.
21605 (register_changed_handler, memory_changed_handler): New.
21606 (test_events.invoke): Register new handlers.
21607 * gdb.python/py-events.exp: Add tests for inferior call,
21608 memory_changed and register_changed events.
21609
fdb09caf
AA
216102014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
21611
21612 * gdb.base/execl-update-breakpoints.exp: Specify the link address
21613 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
21614 if the linker doesn't understand this.
21615
55cfb2c4
SM
216162014-12-01 Simon Marchi <simon.marchi@ericsson.com>
21617
21618 * gdb.python/python.exp: Change expected reply to help().
21619
9e8cd6df
YQ
216202014-12-01 Yao Qi <yao@codesourcery.com>
21621
21622 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
21623 AC_CONFIG_SUBDIRS(gdb.gdbtk).
21624 * configure: Re-generated.
21625
6c659fc2
SC
216262014-11-28 Siva Chandra Reddy <sivachandra@google.com>
21627
21628 * gdb.cp/chained-calls.cc: New file.
21629 * gdb.cp/chained-calls.exp: New file.
21630 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
21631
d7fc3181
SM
216322014-11-28 Simon Marchi <simon.marchi@ericsson.com>
21633
21634 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
21635 * gdb.dwarf2/symtab-producer.exp: Same.
21636 * gdb.gdb/python-interrupts.exp: Same.
21637 * gdb.gdb/python-selftest.exp: Same.
21638 * gdb.python/py-linetable.exp: Same.
21639 * gdb.python/py-type.exp: Same.
21640 * gdb.python/py-value-cc.exp: Same.
21641 * gdb.python/py-value.exp: Same.
21642
10e79639
YQ
216432014-11-28 Yao Qi <yao@codesourcery.com>
21644
21645 * gdb.base/break-probes.exp: Match library name prefixed with
21646 sysroot.
21647
f28a0564
SM
216482014-11-27 Simon Marchi <simon.marchi@ericsson.com>
21649
21650 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
21651 test expected output. Add parentheses for the call to print.
21652 Remove L suffix from integers.
21653
3fe1ce1d
DE
216542014-11-26 Doug Evans <dje@google.com>
21655
21656 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
21657
84429e27
YQ
216582014-11-22 Yao Qi <yao@codesourcery.com>
21659
21660 * gdb.trace/entry-values.c: Remove asms.
21661 (foo): Add foo_label.
21662 (bar): Add bar_label.
21663 * gdb.trace/entry-values.exp: Remove code computing foo's
21664 length and bar's length.
21665 (Dwarf::assemble): Invoke function_range for bar and use
21666 MACRO_AT_func for foo.
21667
26741859
YQ
216682014-11-22 Yao Qi <yao@codesourcery.com>
21669
21670 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
21671 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
21672 Use .Lgcc43_procstart instead of gcc43.
21673
45e44d27
JB
216742014-11-21 Joel Brobecker <brobecker@adacore.com>
21675
21676 * gdb.ada/n_arr_bound: New testcase.
21677
458c8db8
SDJ
216782014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
21679
21680 PR breakpoints/10737
21681 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
21682 test_catch_syscall_multi_arch.
21683 (test_catch_syscall_multi_arch): New function.
21684
43f3e411
DE
216852014-11-20 Doug Evans <xdje42@gmail.com>
21686
21687 * gdb.base/maint.exp: Update expected output.
21688
0d7b2549
AA
216892014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
21690
21691 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
21692 4-byte instruction on S390.
21693
8908fca5
JB
216942014-11-19 Joel Brobecker <brobecker@adacore.com>
21695
21696 * gdb.ada/arr_arr: New testcase.
21697
4a46959e
JB
216982014-11-19 Joel Brobecker <brobecker@adacore.com>
21699
21700 * gdb.ada/pkd_arr_elem: New Testcase.
21701
470e2f4e
LM
217022014-11-18 Luis Machado <lgustavo@codesourcery.com>
21703
21704 * gdb.reverse/break-precsave: Expect completion message for
21705 core file reads.
21706 * gdb.reverse/consecutive-precsave.exp: Likewise.
21707 * gdb.reverse/finish-precsave.exp: Likewise.
21708 * gdb.reverse/i386-precsave.exp: Likewise.
21709 * gdb.reverse/machinestate-precsave.exp: Likewise.
21710 * gdb.reverse/sigall-precsave.exp: Likewise.
21711 * gdb.reverse/solib-precsave.exp: Likewise.
21712 * gdb.reverse/step-precsave.exp: Likewise.
21713 * gdb.reverse/until-precsave.exp: Likewise.
21714 * gdb.reverse/watch-precsave.exp: Likewise.
21715
a267f3ad
AA
217162014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21717
21718 * gdb.base/bp-permanent.c: Include unistd.h.
21719 * gdb.python/py-framefilter-mi.c (main): Add return type.
21720 * gdb.python/py-framefilter.c (main): Likewise.
21721 * gdb.trace/actions-changed.c (main): Likewise.
21722
12084a9a
AA
217232014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21724
21725 * gdb.mi/until.c: Add eye-catchers.
21726 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
21727 line numbers.
21728
dc7e1a77
AA
217292014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21730
21731 * gdb.base/condbreak.exp: Drop references to removed non-prototype
21732 function header variants in break1.c.
21733 * gdb.base/ena-dis-br.exp: Likewise.
21734 * gdb.base/hbreak2.exp: Likewise.
21735 * gdb.reverse/until-precsave.exp: Drop references to removed
21736 non-prototype function header variants in ur1.c.
21737 * gdb.reverse/until-reverse.exp: Likewise.
21738
41c77605
PM
217392014-11-17 Petr Machata <pmachata@redhat.com>
21740
21741 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
21742 ${_cu_offset_size} bytes abbrev offset.
21743
34248c3a
DE
217442014-11-15 Doug Evans <xdje42@gmail.com>
21745
21746 PR symtab/17559
21747 * gdb.base/line-symtabs.exp: New file.
21748 * gdb.base/line-symtabs.c: New file.
21749 * gdb.base/line-symtabs.h: New file.
21750
646da059
YQ
217512014-11-14 Yao Qi <yao@codesourcery.com>
21752
21753 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
21754 (func): Add label func_label.
21755 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
21756 Replace low_pc and high_pc with MACRO_AT_range.
21757 Replace name, low_pc and high_pc with MACRO_AT_func.
21758
9301ebe6
YQ
217592014-11-14 Yao Qi <yao@codesourcery.com>
21760
21761 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
21762 Replace name, low_pc and high_pc with MACRO_AT_func.
21763
f166b542
YQ
217642014-11-14 Yao Qi <yao@codesourcery.com>
21765
21766 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
21767 produce debug information.
21768 * gdb.dwarf2/implptr-optimized-out.S: Removed.
21769
0f6e71e3
YQ
217702014-11-14 Yao Qi <yao@codesourcery.com>
21771
21772 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
21773 object and get function length.
21774 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
21775 with MACRO_AT_func.
21776 (top-level): Replace gdb_compile and clean_restart with
21777 prepare_for_testing.
21778 * gdb.dwarf2/main.c (main): Add label main_label.
21779
876c4df9
YQ
217802014-11-14 Yao Qi <yao@codesourcery.com>
21781
21782 * lib/dwarf.exp (function_range): New procedure.
21783 (Dwarf::_handle_macro_at_func): New procedure.
21784 (Dwarf::_handle_macro_at_range): New procedure.
21785 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
21786
02ad9cf1
YQ
217872014-11-14 Yao Qi <yao@codesourcery.com>
21788
21789 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
21790 (_handle_attribute): New procedure.
21791
a59add0c
AA
217922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21793
21794 * gdb.ada/cond_lang/foo.c (callme): Add return type.
21795 * gdb.base/call-sc.c (zed): Likewise.
21796 * gdb.base/checkpoint.c (main): Likewise.
21797 * gdb.base/dump.c (main): Likewise.
21798 * gdb.base/gcore.c (main): Likewise.
21799 * gdb.base/huge.c (main): Likewise.
21800 * gdb.base/multi-forks.c (main): Likewise.
21801 * gdb.base/pr10179-a.c (main): Likewise.
21802 * gdb.base/savedregs.c (main): Likewise.
21803 * gdb.base/sigaltstack.c (main): Likewise.
21804 * gdb.base/siginfo.c (main): Likewise.
21805 * gdb.base/structs.c (zed): Likewise.
21806 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
21807 * gdb.mi/mi-syn-frame.c (main): Likewise.
21808 * gdb.mi/until.c (foo, main): Likewise.
21809 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
21810 * gdb.base/solib-weak.c (foo): Declare.
21811 * gdb.base/attach-twice.c: Include stdio.h.
21812 * gdb.base/weaklib1.c: Likewise.
21813 * gdb.base/weaklib2.c: Likewise.
21814 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
21815 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
21816 unistd.h.
21817 * gdb.base/attach-pie-misread.c: Include stdlib.h.
21818 * gdb.mi/mi-exit-code.c: Likewise.
21819 * gdb.base/break-interp-lib.c: Include string.h.
21820 * gdb.base/coremaker.c: Likewise.
21821 * gdb.base/testenv.c: Likewise.
21822 * gdb.python/py-finish-breakpoint.c: Likewise.
21823 * gdb.base/inferior-died.c: Include sys/wait.h.
21824 * gdb.base/fileio.c: Include time.h.
21825 * gdb.base/async-shell.c: Include unistd.h.
21826 * gdb.base/dprintf-non-stop.c: Likewise.
21827 * gdb.base/info-os.c: Likewise.
21828 * gdb.mi/mi-console.c: Likewise.
21829 * gdb.mi/watch-nonstop.c: Likewise.
21830 * gdb.python/py-events.c: Likewise.
21831 * gdb.base/async.c (baz): Move up before its invocation.
21832 * gdb.base/code_elim2.c (my_global_func): Likewise.
21833 * gdb.base/skip-solib-lib.c (multiply): Likewise.
21834 * gdb.base/advance.c (func2): Likewise.
21835
3b5d5997
AA
218362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21837
21838 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
21839 variant.
21840 * gdb.base/annota3.c: Likewise.
21841 * gdb.base/async.c: Likewise.
21842 * gdb.base/average.c: Likewise.
21843 * gdb.base/call-ar-st.c: Likewise.
21844 * gdb.base/call-rt-st.c: Likewise.
21845 * gdb.base/call-sc.c: Likewise.
21846 * gdb.base/call-strs.c: Likewise.
21847 * gdb.base/ending-run.c: Likewise.
21848 * gdb.base/execd-prog.c: Likewise.
21849 * gdb.base/exprs.c: Likewise.
21850 * gdb.base/foll-exec.c: Likewise.
21851 * gdb.base/foll-fork.c: Likewise.
21852 * gdb.base/foll-vfork.c: Likewise.
21853 * gdb.base/funcargs.c: Likewise.
21854 * gdb.base/gcore.c: Likewise.
21855 * gdb.base/jump.c: Likewise.
21856 * gdb.base/langs0.c: Likewise.
21857 * gdb.base/langs1.c: Likewise.
21858 * gdb.base/langs2.c: Likewise.
21859 * gdb.base/mips_pro.c: Likewise.
21860 * gdb.base/nodebug.c: Likewise.
21861 * gdb.base/opaque0.c: Likewise.
21862 * gdb.base/opaque1.c: Likewise.
21863 * gdb.base/recurse.c: Likewise.
21864 * gdb.base/run.c: Likewise.
21865 * gdb.base/scope0.c: Likewise.
21866 * gdb.base/scope1.c: Likewise.
21867 * gdb.base/setshow.c: Likewise.
21868 * gdb.base/setvar.c: Likewise.
21869 * gdb.base/shmain.c: Likewise.
21870 * gdb.base/shr1.c: Likewise.
21871 * gdb.base/shr2.c: Likewise.
21872 * gdb.base/sigall.c: Likewise.
21873 * gdb.base/signals.c: Likewise.
21874 * gdb.base/so-indr-cl.c: Likewise.
21875 * gdb.base/solib2.c: Likewise.
21876 * gdb.base/structs.c: Likewise.
21877 * gdb.base/sum.c: Likewise.
21878 * gdb.base/vforked-prog.c: Likewise.
21879 * gdb.base/watchpoint.c: Likewise.
21880 * gdb.reverse/shr2.c: Likewise.
21881 * gdb.reverse/until-reverse.c: Likewise.
21882 * gdb.reverse/ur1.c: Likewise.
21883 * gdb.reverse/watch-reverse.c: Likewise.
21884
066a77c5
AA
218852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21886
21887 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
21888 variant.
21889 * gdb.base/sepdebug.exp: Drop references to removed code.
21890
4f204ea5
AA
218912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21892
21893 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
21894 variant. Preserve original line numbering.
21895 * gdb.base/list1.c: Likewise.
21896
3b377a3a
AA
218972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21898
21899 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
21900 variant.
21901 * gdb.base/break1.c: Likewise.
21902 * gdb.base/break.exp: Drop references to removed code.
21903
e444df73
AA
219042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21905
21906 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
21907 variant.
21908
8008f2a7
AA
219092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21910
21911 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
21912
a5a06887
AA
219132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21914
21915 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
21916 logic into perform_all_tests() and invoke it with and without
21917 function header prototypes.
21918 (do_function_calls): Remove conditional XFAIL for PR 5318.
21919 (rerun_and_prepare): Remove duplicate code.
21920 (perform_all_tests): New. Main logic moved here.
21921
44dba9b9
AA
219222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21923
21924 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
21925 code guarded by #ifdef NO_PROTOTYPES.
21926 (t_double_many_args): Likewise.
21927 (DEF_FUNC_MANY_ARGS_1): Likewise.
21928 (DEF_FUNC_VALUES_1): Likewise.
21929 (t_structs_ldc): Renamed from t_structs_fc in conditional code
21930 guarded by #ifdef PROTOTYPES.
21931
d1fbcd56
AA
219322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21933
21934 * gdb.mi/mi-console.c: Add eye-catcher.
21935 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
21936 instead of literal line number.
21937
b0e59b8f
AA
219382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21939
21940 * gdb.base/shr2.c: Add eye-catcher.
21941 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
21942 line number.
21943
78f98cca
AA
219442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21945
21946 * gdb.base/jump.c: Add eye-catchers.
21947 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
21948 numbers.
21949
58fa2af0
AA
219502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21951
21952 * gdb.base/execd-prog.c: Add eye-catchers.
21953 * gdb.base/foll-exec.c: Likewise.
21954 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
21955 line numbers.
21956
04e5059b
AA
219572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21958
21959 * gdb.base/ending-run.c: Add eye-catchers.
21960 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
21961 literal line numbers.
21962
dbfdb174
AA
219632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21964
21965 * gdb.base/call-rt-st.c: Add eye-catchers.
21966 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
21967 literal line numbers.
21968
888a2ade
AA
219692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21970
21971 * gdb.base/call-ar-st.c: Add eye-catchers.
21972 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
21973 literal line numbers.
21974
6acc2dde
AA
219752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21976
21977 * gdb.base/average.c: Add eye-catchers.
21978 * gdb.base/sum.c: Likewise.
21979 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
21980 regexps dynamically.
21981
9ecfcd1d
AA
219822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21983
21984 * gdb.base/solib1.c: Add eye-catchers.
21985 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
21986 literal line numbers.
21987
78708b7c
PA
219882014-11-12 Pedro Alves <palves@redhat.com>
21989
21990 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
21991 leader has exited.
21992
af48d08f
PA
219932014-11-12 Pedro Alves <palves@redhat.com>
21994
21995 * gdb.arch/i386-bp_permanent.c: New file.
21996 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
21997 (srcfile): Set to i386-bp_permanent.c.
21998 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
21999 that stepi does not execute the 'leave' instruction, instead of
22000 testing it does execute.
22001 * gdb.base/bp-permanent.c: New file.
22002 * gdb.base/bp-permanent.exp: New file.
22003
af3768e9
DE
220042014-11-10 Doug Evans <xdje42@gmail.com>
22005
22006 PR symtab/17564
22007 * gdb.base/symtab-search-order.exp: New file.
22008 * gdb.base/symtab-search-order.c: New file.
22009 * gdb.base/symtab-search-order-1.c: New file.
22010 * gdb.base/symtab-search-order-shlib-1.c: New file.
22011
9de00a4a
PA
220122014-11-07 Pedro Alves <palves@redhat.com>
22013
22014 PR gdb/17511
22015 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
22016 i?86-*-linux*.
22017
e0f52461
SC
220182014-11-03 Siva Chandra Reddy <sivachandra@google.com>
22019
22020 PR c++/17494
22021 * gdb.cp/pr17494.cc: New file.
22022 * gdb.cp/pr17494.exp: New file.
22023
6ce8c980
YQ
220242014-11-02 Yao Qi <yao@codesourcery.com>
22025
22026 * gdb.python/python.exp: Get working directory and match the
22027 output of "set extended-prompt \\w " with it.
22028
02be9a71
DE
220292014-10-30 Doug Evans <dje@google.com>
22030
22031 * gdb.python/py-objfile.exp: Add tests for setting random attributes
22032 in objfiles.
22033 * gdb.python/py-progspace.exp: Add tests for setting random attributes
22034 in progspaces.
22035
3bdff46b
LM
220362014-10-30 Janis Johnson <janisjo@codesourcery.com>
22037
22038 * gdb.base/fullpath-expand.exp: Skip for a remote host.
22039 * gdb.base/realname-expand.exp: Likewise.
22040 * gdb.linespec/macro-relative.exp: Likewise.
22041
ab917dfb
PA
220422014-10-29 Pedro Alves <palves@redhat.com>
22043
22044 PR gdb/17408
22045 * gdb.threads/schedlock.c (some_function): New function.
22046 (call_function): New global.
22047 (MAYBE_CALL_SOME_FUNCTION): New macro.
22048 (thread_function): Call it.
22049 * gdb.threads/schedlock.exp (get_args): Add description parameter,
22050 and use it instead of a global counter. Adjust all callers.
22051 (get_current_thread): Use "find current thread" for test message
22052 here rather than having all callers pass down the same string.
22053 (goto_loop): New procedure, factored out from ...
22054 (my_continue): ... this.
22055 (step_ten_loops): Change parameter from test message to command to
22056 use. Adjust.
22057 (list_count): Delete global.
22058 (check_result): New procedure, factored out from duplicate top
22059 level code.
22060 (continue tests): Wrap in with_test_prefix.
22061 (test_step): New procedure, factored out from duplicate top level
22062 code.
22063 (top level): Test "step" in combination with all scheduler-locking
22064 modes. Test "next" in combination with all scheduler-locking
22065 modes, and in combination with stepping over a function call or
22066 not.
22067 * gdb.threads/next-bp-other-thread.c: New file.
22068 * gdb.threads/next-bp-other-thread.exp: New file.
22069
d3d4baed
PA
220702014-10-29 Pedro Alves <palves@redhat.com>
22071
22072 PR python/17372
22073 * gdb.python/python.exp: Test a multi-line command that spawns
22074 interactive Python.
22075 * gdb.base/multi-line-starts-subshell.exp: New file.
22076
563e8d85
YQ
220772014-10-29 Yao Qi <yao@codesourcery.com>
22078
22079 * gdb.base/fileio.exp: Make directories on host.
22080
0ea4d52e
YQ
220812014-10-29 Yao Qi <yao@codesourcery.com>
22082
22083 * gdb.base/fileio.c (test_write): Close the file.
22084
7f5ef605
PA
220852014-10-28 Pedro Alves <palves@redhat.com>
22086
22087 PR gdb/12623
22088 * gdb.base/sigstep.c (no_handler): New global.
22089 (main): If 'no_handler is true, set the signal handlers to
22090 SIG_IGN.
22091 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
22092 with_sw_watch and no_handler parameters. Handle them.
22093 (top level) <stepping over handler when stopped at a breakpoint
22094 test>: Add a test axis for testing with a software watchpoint, and
22095 another for testing with the signal handler set to SIG_IGN.
22096 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
22097 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
22098
abbdbd03
PA
220992014-10-28 Pedro Alves <palves@redhat.com>
22100
22101 PR gdb/17511
22102 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
22103 * gdb.base/sigstep.exp (other_handler_location): New global.
22104 (advance): Support stepping into the signal handler, and running
22105 commands while in the handler.
22106 (in_handler_map): New global.
22107 (top level): In the advance test, add combinations for getting
22108 into the handler with stepping commands, and for running commands
22109 in the handler. Add comment descripting the advancei tests.
22110
1df4399f
PA
221112014-10-28 Pedro Alves <palves@redhat.com>
22112
22113 * gdb.base/sigstep.exp: Use build_executable instead of
22114 prepare_for_testing.
22115 (top level): Move code that starts GDB, runs to main and creates a
22116 display to ...
22117 (restart): ... this new procedure.
22118 (top level): Move backtrace from signal handler test to ...
22119 (validate_backtrace): ... this new procedure.
22120 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
22121 with_test_prefix. Always restart GDB.
22122 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
22123 with_test_prefix. Always restart GDB. No need to delete
22124 breakpoints after the test.
22125 (test_skip_handler): Remove prefix parameter.
22126 (skip_over_handler, breakpoint_to_handler)
22127 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
22128 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
22129 restart GDB. No need to delete breakpoints after the test.
22130 (top level): Use foreach to call the test procedures with
22131 different commands.
22132
a5b6e449
PA
221332014-10-28 Pedro Alves <palves@redhat.com>
22134
22135 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
22136 instead of GNATS numbers.
22137 * gdb.base/sigbpt.exp: Likewise.
22138 * gdb.base/siginfo.exp: Likewise.
22139 * gdb.base/sigstep.exp: Likewise.
22140
e5f8a7cc
PA
221412014-10-27 Pedro Alves <palves@redhat.com>
22142
22143 * gdb.base/sigstep.c (dummy): New global.
22144 (main): Issue a couple writes to the new global.
22145 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
22146 procedures.
22147 (skip_over_handler): Use test_skip_handler.
22148 (top level): Call skip_over_handler for stepi and nexti too.
22149 (breakpoint_over_handler): Use test_skip_handler.
22150 (top level): Call breakpoint_over_handler for stepi and nexti too.
22151
763905a3
YQ
221522014-10-27 Yao Qi <yao@codesourcery.com>
22153
22154 * gdb.trace/tfile.c (adjust_function_address)
22155 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
22156 function descriptor.
22157
6f259a23
DB
221582014-10-24 Don Breazeal <donb@codesourcery.com>
22159
22160 * gdb.base/foll-fork.exp (test_follow_fork,
22161 catch_fork_child_follow): Check for updated fork messages emitted
22162 from infrun.c.
22163 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
22164 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
22165 vfork_and_exec_child_follow_through_step): Check for updated vfork
22166 messages emitted from infrun.c.
22167
09dd9a69
PA
221682014-10-24 Pedro Alves <palves@redhat.com>
22169
22170 * gdb.base/corefile.exp: Remove references to ultrix.
22171 * gdb.base/interrupt.exp: Likewise.
22172 * gdb.base/whatis.exp: Likewise.
22173 * gdb.gdb/selftest.exp: Likewise.
22174 * gdb.threads/manythreads.exp: Likewise.
22175 * gdb.threads/print-threads.exp: Likewise.
22176 * gdb.threads/pthreads.exp:: Likewise.
22177 * gdb.threads/schedlock.exp: Likewise.
22178
3433cfa5
SC
221792014-10-24 Siva Chandra Reddy <sivachandra@google.com>
22180
22181 * gdb.cp/non-trivial-retval.cc: Add a test case.
22182 * gdb.cp/non-trivial-retval.exp: Add a test.
22183
092f880b
YQ
221842014-10-20 Yao Qi <yao@codesourcery.com>
22185
22186 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
22187 * gdb.python/py-objfile-script-gdb.py: New file.
22188 * gdb.python/py-objfile-script.exp: Update reference to
22189 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
22190 of remote_download. Remove the dest file.
22191
acbdb7f3
YQ
221922014-10-20 Yao Qi <yao@codesourcery.com>
22193
22194 * gdb.base/checkpoint.exp: Don't remove file copied on host.
22195 * gdb.base/step-line.exp: Likewise.
22196 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22197 * gdb.dwarf2/dw2-basic.exp: Likewise.
22198 * gdb.dwarf2/dw2-compressed.exp: Likewise.
22199 * gdb.dwarf2/dw2-filename.exp: Likewise.
22200 * gdb.dwarf2/dw2-intercu.exp: Likewise.
22201 * gdb.dwarf2/dw2-intermix.exp: Likewise.
22202 * gdb.dwarf2/dw2-producer.exp: Likewise.
22203 * gdb.dwarf2/mac-fileno.exp: Likewise.
22204 * gdb.python/py-frame-args.exp: Likewise.
22205 * gdb.python/py-framefilter.exp: Likewise.
22206 * gdb.python/py-mi.exp: Likewise.
22207 * gdb.python/py-objfile-script.exp: Likewise
22208 * gdb.python/py-pp-integral.exp: Likewise.
22209 * gdb.python/py-pp-re-notag.exp: Likewise.
22210 * gdb.python/py-prettyprint.exp: Likewise.
22211 * gdb.python/py-section-script.exp: Likewise.
22212 * gdb.python/py-typeprint.exp: Likewise.
22213 * gdb.python/py-xmethods.exp: Likewise.
22214 * gdb.stabs/weird.exp: Likewise.
22215 * gdb.xml/tdesc-regs.exp: Likewise.
22216
bd286a29
KCY
222172014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
22218
22219 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
22220 (out_cu): Use addr_len for the size of addresses.
22221 (out_line): Likewise. Size DW_LNE_set_address instruction
22222 according to addr_len.
22223 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
22224 (FUNC): Add START_INSNS to definition.
22225
673dc4a0
YQ
222262014-10-18 Yao Qi <yao@codesourcery.com>
22227
22228 * gdb.base/argv0-symlink.exp: Check argv[0] value if
22229 gdb_has_argv0 return true.
22230 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
22231 check [target_info exists noargs], check [gdb_has_argv0]
22232 instead.
22233 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
22234 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
22235 procedures.
22236
4ffbba72
DE
222372014-10-17 Doug Evans <dje@google.com>
22238
22239 * gdb.python/py-events.exp: Update expected output for clear_objfiles
22240 event.
22241 * gdb.python/py-events.py: Add clear_objfiles event.
22242
d096d8c1
DE
222432014-10-17 Doug Evans <dje@google.com>
22244
22245 * gdb.python/py-objfile.exp: Test progspace attribute.
22246
a80db015
LM
222472014-10-17 Luis Machado <lgustavo@codesourcery.com>
22248
22249 * gdb.guile/scm-breakpoint.exp: Do not assume any
22250 directory separators when matching source file paths.
22251 * gdb.python/py-breakpoint.exp: Likewise.
22252 * gdb.reverse/break-precsave.exp: Likewise.
22253 * gdb.reverse/break-reverse.exp: Likewise.
22254 * gdb.reverse/consecutive-precsave.exp: Likewise.
22255 * gdb.reverse/finish-precsave.exp: Likewise.
22256 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
22257 * gdb.reverse/finish-reverse.exp: Likewise.
22258 * gdb.reverse/i386-precsave.exp: Likewise.
22259 * gdb.reverse/i387-env-reverse.exp: Likewise.
22260 * gdb.reverse/i387-stack-reverse.exp: Likewise.
22261 * gdb.reverse/machinestate-precsave.exp: Likewise.
22262 * gdb.reverse/machinestate.exp: Likewise.
22263 * gdb.reverse/sigall-precsave.exp: Likewise.
22264 * gdb.reverse/solib-precsave.exp: Likewise.
22265 * gdb.reverse/step-precsave.exp: Likewise.
22266 * gdb.reverse/until-precsave.exp: Likewise.
22267 * gdb.reverse/watch-precsave.exp: Likewise.
22268 * gdb.reverse/watch-reverse.exp: Likewise.
22269
b22089ab
YQ
222702014-10-17 Yao Qi <yao@codesourcery.com>
22271
22272 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
22273 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
22274
6c4486e6
PA
222752014-10-17 Pedro Alves <palves@redhat.com>
22276
22277 PR gdb/17471
22278 * gdb.base/bg-execution-repeat.c: New file.
22279 * gdb.base/bg-execution-repeat.exp: New file.
22280
0ff33695
PA
222812014-10-17 Pedro Alves <palves@redhat.com>
22282
22283 PR gdb/17300
22284 * gdb.base/continue-all-already-running.c: New file.
22285 * gdb.base/continue-all-already-running.exp: New file.
22286
6fdebc3d
PA
222872014-10-17 Pedro Alves <palves@redhat.com>
22288
22289 PR gdb/17472
22290 * gdb.base/annota-input-while-running.c: New file.
22291 * gdb.base/annota-input-while-running.exp: New file.
22292
32a8097b
PA
222932014-10-17 Pedro Alves <palves@redhat.com>
22294
22295 * gdb.base/callfuncs.exp: emove references to osf.
22296 * gdb.base/sigall.exp: Likewise.
22297 * gdb.gdb/selftest.exp: Likewise.
22298 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
22299 * gdb.mi/non-stop.c: Likewise.
22300 * gdb.mi/pthreads.c: Likewise.
22301 * gdb.reverse/sigall-precsave.exp: Likewise.
22302 * gdb.reverse/sigall-reverse.exp: Likewise.
22303 * gdb.threads/pthreads.c: Likewise.
22304 * gdb.threads/pthreads.exp: Likewise.
22305
7a3517ff
YQ
223062014-10-17 Yao Qi <yao@codesourcery.com>
22307
22308 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
22309 check 'target_info exists noargs'.
22310 (test_command_prompt_position): Likewise.
22311 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
22312 Remove "set args".
22313 (progvar_simple_while_test): Likewise.
22314 (progvar_complex_if_while_test): Likewise.
22315 (if_while_breakpoint_command_test): Likewise.
22316 (infrun_breakpoint_command_test): Likewise.
22317 (breakpoint_command_test): Likewise.
22318 (watchpoint_command_test): Likewise.
22319 (bp_deleted_in_command_test): Likewise.
22320 (temporary_breakpoint_commands): Likewise.
22321
bb99c472
YQ
223222014-10-16 Yao Qi <yao@codesourcery.com>
22323
22324 * gdb.base/remotetimeout.exp: Remove noargs checking.
22325
7c16b83e
PA
223262014-10-15 Pedro Alves <palves@redhat.com>
22327
22328 PR breakpoints/9649
22329 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
22330 * gdb.base/breakpoint-in-ro-region.exp
22331 (probe_target_hardware_step): New procedure.
22332 (top level): Probe hardware stepping and hardware breakpoint
22333 support. Test stepping through a read-only region, with both
22334 "breakpoint auto-hw" on and off and both "always-inserted" on and
22335 off.
22336
35a49624
IB
223372014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
22338
22339 * gdb.dlang/demangle.exp: Update for demangling changes.
22340
2d1c107c
SC
223412014-10-15 Siva Chandra Reddy <sivachandra@google.com>
22342
22343 * gdb.cp/non-trivial-retval.cc: Add new test cases.
22344 * gdb.cp/non-trivial-retval.exp: Add new tests.
22345
778811d5
SC
223462014-10-15 Siva Chandra Reddy <sivachandra@google.com>
22347
22348 PR c++/13403
22349 PR c++/15154
22350 * gdb.cp/non-trivial-retval.cc: New file.
22351 * gdb.cp/non-trivial-retval.exp: New file.
22352
10c5f0a8
YQ
223532014-10-15 Yao Qi <yao@codesourcery.com>
22354
22355 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
22356 remote host.
22357
65d7b369
YQ
223582014-10-15 Yao Qi <yao@codesourcery.com>
22359
22360 * gdb.python/py-symbol.exp: Match file base name if host is
22361 remote, otherwise match file name with dir name.
22362 * gdb.python/py-symtab.exp: Likewise.
22363 * gdb.python/python.exp: Likewise.
22364
46dc1394
YQ
223652014-10-15 Yao Qi <yao@codesourcery.com>
22366
22367 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
22368 pattern.
22369 * gdb.python/py-symtab.exp: Likewise.
22370 * gdb.python/python.exp: Remove trailing ".*". Fix typo
22371 locationn.
22372
c40cc657
JB
223732014-10-14 Joel Brobecker <brobecker@adacore.com>
22374
22375 * gdb.ada/addr_arith: New testcase.
22376
2abf49e1
MR
223772014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
22378
22379 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
22380 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
22381 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
22382 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
22383
f7088df3
SDJ
223842014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
22385
22386 * gdb.arch/stap-eval-lang-ada.S: Likewise.
22387 * gdb.arch/stap-eval-lang-ada.c: Likewise.
22388 * gdb.arch/stap-eval-lang-ada.exp: New file.
22389
4dc06805
YQ
223902014-10-14 Yao Qi <yao@codesourcery.com>
22391
22392 * gdb.mi/mi-var-child.c (nothing1): New function.
22393 (nothing2): New function.
22394 (do_children_tests): Set function pointers by nothing1 and
22395 nothing2.
22396 * gdb.mi/mi-var-child.exp: Step over new added statements.
22397 Update test to match the new output.
22398 * gdb.mi/var-cmd.c (nothing1): New function.
22399 (nothing2): New function.
22400 (do_children_tests): Set function pointers by nothing1 and
22401 nothing2.
22402 * gdb.mi/mi-var-display.exp: Update test to match output.
22403 Step to the line specified by $line_dct_nothing.
22404 Increase the number of lines to step.
22405
46a93de2
YQ
224062014-10-14 Yao Qi <yao@codesourcery.com>
22407
22408 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
22409 tests.
22410 * gdb.mi/mi2-var-child.exp: Likewise.
22411
14ea52ee
DE
224122014-10-13 Doug Evans <dje@google.com>
22413
22414 * gdb.python/py-objfile.exp: Change name of file name test.
22415
e5c6e92b
DE
224162014-10-13 Doug Evans <dje@google.com>
22417
22418 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
22419 from the start of the CU.
22420
c780cc2f
JK
224212014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
22422 Yao Qi <yao@codesourcery.com>
22423
22424 Fix "save breakpoints" for "catch" command.
22425 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
22426 Remove -nonewline. Match also the added "main" line.
22427
99894e11
JK
224282014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
22429
22430 Fix "save breakpoints" for "disable $bpnum" command.
22431 * gdb.base/save-bp.c (main): Add label.
22432 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
22433
6e1ac5a3
JK
224342014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
22435
22436 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
22437
754dd2b0
YQ
224382014-10-11 Yao Qi <yao@codesourcery.com>
22439
22440 * gdb.server/server-kill.exp: Execute command
22441 "set remote trace-status-packet on" before "tstatus".
22442
f90183d7
YQ
224432014-10-11 Yao Qi <yao@codesourcery.com>
22444
22445 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
22446 (main): Call getppid.
22447 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
22448 and continue to it. Read variable "server_pid".
22449
bf40a607
YQ
224502014-10-11 Yao Qi <yao@codesourcery.com>
22451
22452 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
22453
052ca370
YQ
224542014-10-11 Yao Qi <yao@codesourcery.com>
22455
22456 * gdb.threads/thread-find.exp: Don't execute command
22457 "info threads".
22458 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
22459 * gdb.threads/linux-dp.exp: Don't check the condition
22460 $threads_created equals to zero.
22461
3831839c
PA
224622014-10-10 Pedro Alves <palves@redhat.com>
22463
22464 * gdb.base/bigcore.exp: Remove references to IRIX.
22465 * gdb.base/funcargs.exp: Likewise.
22466 * gdb.base/interrupt.exp: Likewise.
22467 * gdb.base/mips_pro.exp: Likewise.
22468 * gdb.base/nodebug.exp: Likewise.
22469 * gdb.base/setvar.exp: Likewise.
22470 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
22471
8b9a549d
PA
224722014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
22473 Pedro Alves <palves@redhat.com>
22474
22475 PR symtab/14466
22476 * gdb.base/vdso-warning.c: New file.
22477 * gdb.base/vdso-warning.exp: New file.
22478
d48ba5e8
DE
224792014-10-02 Doug Evans <dje@google.com>
22480
22481 * gdb.base/structs.c (main): Don't run forever.
22482
2278c276
PA
224832014-10-02 Pedro Alves <palves@redhat.com>
22484
22485 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
22486 (top level) <stop threads 1, stop threads 2>: Use it.
22487
b57bacec
PA
224882014-10-02 Pedro Alves <palves@redhat.com>
22489
22490 * gdb.threads/break-while-running.exp (test): Add new
22491 'update_thread_list' argument. Skip "info threads" if false.
22492 (top level): Add new 'update_thread_list' axis.
22493
13fd3ff3
PA
224942014-10-02 Pedro Alves <palves@redhat.com>
22495
22496 PR breakpoints/17431
22497 * gdb.base/execl-update-breakpoints.c: New file.
22498 * gdb.base/execl-update-breakpoints.exp: New file.
22499
0fec99e8
PA
225002014-10-01 Pedro Alves <palves@redhat.com>
22501
22502 * gdb.base/breakpoint-in-ro-region.c: New file.
22503 * gdb.base/breakpoint-in-ro-region.exp: New file.
22504
2ddf4301
SM
225052014-10-01 Simon Marchi <simon.marchi@ericsson.com>
22506
22507 * gdb.mi/mi-exit-code.exp: New file.
22508 * gdb.mi/mi-exit-code.c: New file.
22509
6a5f3f43
YQ
225102014-09-30 Yao Qi <yao@codesourcery.com>
22511
22512 * lib/prelink-support.exp (build_executable_own_libs): Error if
22513 the target isn't native.
22514
345bcc73
YQ
225152014-09-30 Yao Qi <yao@codesourcery.com>
22516
22517 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
22518 false.
22519
a25a5a45
PA
225202014-09-22 Pedro Alves <palves@redhat.com>
22521
22522 * gdb.threads/break-while-running.exp: New file.
22523 * gdb.threads/break-while-running.c: New file.
22524
00ba3162
YQ
225252014-09-19 Yao Qi <yao@codesourcery.com>
22526
22527 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
22528 Invoke test. Restart GDB with --readnow and invoke test again.
22529
c3b7b696
YQ
225302014-09-19 Yao Qi <yao@codesourcery.com>
22531
22532 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
22533 proc set_breakpoint_on_gcd_function. Invoke
22534 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
22535 invoke set_breakpoint_on_gcd_function again.
22536
2b4fd423
DE
225372014-09-18 Doug Evans <dje@google.com>
22538
22539 * gdb.dwarf2/symtab-producer.exp: New file.
22540
a5947601
SDJ
225412014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
22542
22543 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
22544 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
22545 * gdb.base/global-var-nested-by-dso.c: Likewise.
22546 * gdb.base/global-var-nested-by-dso.exp: Likewise.
22547
91c19059
SDJ
225482014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
22549 Pedro Alves <palves@redhat.com>
22550
22551 * gdb.base/watch-bitfields.exp: Pass string other than test file
22552 name to prepare_for_testing.
22553 (watch): New procedure.
22554 (expect_watchpoint): Use with_test_prefix.
22555 (top level): Factor out tests to ...
22556 (test_watch_location, test_regular_watch): ... these new
22557 procedures, and use with_test_prefix and gdb_continue_to_end.
22558
bb9d5f81
PP
225592014-09-16 Patrick Palka <patrick@parcs.ath.cx>
22560
22561 PR breakpoints/12526
22562 * gdb.base/watch-bitfields.exp: New file.
22563 * gdb.base/watch-bitfields.c: New file.
22564
635856f5
PA
225652014-09-16 Pedro Alves <palves@redhat.com>
22566
22567 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
22568 software and hardware addresses, not software address against
22569 itself.
22570
7280ceea
PA
225712014-09-16 Pedro Alves <palves@redhat.com>
22572
22573 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
22574 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
22575
428b16bd
PA
225762014-09-16 Pedro Alves <palves@redhat.com>
22577
22578 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
22579 files.
22580 * gdb.base/a2-run.exp: Remove all code guarded by istarget
22581 "*-*-vxworks*" throughout.
22582 * gdb.base/break.exp: Likewise.
22583 * gdb.base/default.exp: Likewise.
22584 * gdb.base/scope.exp: Likewise.
22585 * gdb.base/sepdebug.exp: Likewise.
22586 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
22587 throughout.
22588 * gdb.base/run.c: Likewise.
22589 * gdb.base/sepdebug.c: Likewise.
22590 * gdb.hp/gdb.aCC/run.c: Likewise.
22591 * gdb.reverse/until-reverse.c: Likewise.
22592 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
22593
666d413c
YQ
225942014-09-16 Yao Qi <yao@codesourcery.com>
22595
22596 * boards/local-remote-host-native.exp: New file.
22597
57cbd724
DE
225982014-09-14 Doug Evans <xdje42@gmail.com>
22599
22600 * gdb.threads/queue-signal.c (thread_count): New variable.
22601 (thread_count_mutex, thread_count_condvar): New variables.
22602 (incr_thread_count, wait_all_threads_running): New functions.
22603 (main): Wait for all threads to be in their thread functions.
22604
81219e53
DE
226052014-09-13 Doug Evans <xdje42@gmail.com>
22606
22607 * gdb.threads/queue-signal.c: New file.
22608 * gdb.threads/queue-signal.exp: New file.
22609
3714cea7
DE
226102014-09-13 Doug Evans <xdje42@gmail.com>
22611
22612 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
22613 be consistent with what default_gdb_init uses.
22614 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
22615 the plain text of the prompt. Add some logging printfs.
22616 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
22617
fa43b1d7
PA
226182014-09-12 Pedro Alves <palves@redhat.com>
22619
22620 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
22621 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
22622 * gdb.arch/i386-size-overlap.exp: Likewise.
22623 * gdb.arch/i386-size.exp: Likewise.
22624 * gdb.arch/i386-unwind.exp: Likewise.
22625 * gdb.base/a2-run.exp: Likewise.
22626 * gdb.base/break.exp: Likewise.
22627 * gdb.base/charset.exp: Likewise.
22628 * gdb.base/chng-syms.exp: Likewise.
22629 * gdb.base/commands.exp: Likewise.
22630 * gdb.base/dbx.exp: Likewise.
22631 * gdb.base/find.exp: Likewise.
22632 * gdb.base/funcargs.exp: Likewise.
22633 * gdb.base/jit-simple.exp: Likewise.
22634 * gdb.base/reread.exp: Likewise.
22635 * gdb.base/sepdebug.exp: Likewise.
22636 * gdb.base/step-bt.exp: Likewise.
22637 * gdb.cp/mb-inline.exp: Likewise.
22638 * gdb.cp/mb-templates.exp: Likewise.
22639 * gdb.objc/basicclass.exp: Likewise.
22640 * gdb.threads/killed.exp: Likewise.
22641
9d9bf2df
EBM
226422014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22643
22644 PR tdep/17379
22645 * gdb.arch/powerpc-stackless.S: New file.
22646 * gdb.arch/powerpc-stackless.exp: New file.
22647
1cf2f1b0
JK
226482014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
22649
22650 * gdb.base/attach.c: Include unistd.h.
22651 (main): Call alarm. Add label postloop.
22652 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
22653 gdb_breakpoint, gdb_continue_to_breakpoint.
22654 (test_command_line_attach_run): Kill ${testpid} in one exit path.
22655
98880d46
PA
226562014-09-11 Pedro Alves <palves@redhat.com>
22657
22658 PR gdb/17347
22659 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
22660 * gdb.base/attach.exp (test_command_line_attach_run): New
22661 procedure.
22662 (top level): Call it.
22663
4c92ff2c
PA
226642014-09-11 Pedro Alves <palves@redhat.com>
22665
22666 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
22667 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
22668 (do_command_attach_tests): Use spawn_wait_for_attach.
22669 * gdb.base/solib-overlap.exp: Likewise.
22670 * gdb.multi/multi-attach.exp: Likewise.
22671 * gdb.python/py-prompt.exp: Likewise.
22672 * gdb.python/py-sync-interp.exp: Likewise.
22673 * gdb.server/ext-attach.exp: Likewise.
22674
3adc1a7d
GKB
226752014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
22676
22677 * gdb.fortran/array-element.exp: Remove unexpected "continue"
22678 command in testcase. Simplify testcase.
22679
96334934
JB
226802014-09-10 Joel Brobecker <brobecker@adacore.com>
22681
22682 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
22683
eb479039
JB
226842014-09-10 Joel Brobecker <brobecker@adacore.com>
22685
22686 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
22687
deede10c
JB
226882014-09-10 Joel Brobecker <brobecker@adacore.com>
22689
22690 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
22691
7828a5f5
JB
226922014-09-10 Joel Brobecker <brobecker@adacore.com>
22693
22694 * gdb.dwarf2/dynarr-ptr.c: New file.
22695 * gdb.dwarf2/dynarr-ptr.exp: New file.
22696
33aeebcf
MR
226972014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22698
22699 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
22700 of 30 rather than hardcoding 120 for a slow test case. Take the
22701 `gdb,timeout' target setting into account for this calculation.
22702 Don't extend the timeout for the test cases that don't need it.
22703
7b415901
MR
227042014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22705
22706 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
22707 a factor of 2 for a slow test case. Take the `gdb,timeout'
22708 target setting into account for this calculation.
22709 * gdb.reverse/until-precsave.exp: Increase the timeout by
22710 a factor of 15 and 3 respectively rather than adding 120
22711 for a pair of slow test cases. Take the `gdb,timeout'
22712 target setting into account for this calculation.
22713
4a40f85a
MR
227142014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22715
22716 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
22717 timeout, don't pass one down to gdb_expect.
22718 (gdb_expect): Rework timeout selection.
22719
09635af7
MR
227202014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22721
22722 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
22723 exception on timeout.
22724 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
22725 (gdbserver_start_extended): Catch any `gdbserver_start' error
22726 exceptions.
22727 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
22728 * lib/mi-support.exp (mi_gdb_target_load): Catch any
22729 `gdbserver_gdb_load' error exceptions.
22730
2bdd10b7
MR
227312014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22732
22733 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
22734 120 on waiting for the TCP socket to open.
22735
316935f0
DE
227362014-09-09 Doug Evans <xdje42@gmail.com>
22737
22738 * gdb.base/default.exp (show_conv_list): Add _caller_is,
22739 _caller_matches, _any_caller_is, _any_caller_matches.
22740
83740597
DE
227412014-09-09 Doug Evans <xdje42@gmail.com>
22742
22743 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
22744
4c122fc3
YQ
227452014-09-09 Yao Qi <yao@codesourcery.com>
22746
22747 * gdb.mi/mi-var-display.exp: Set print symbol off.
22748
a9f116cb
GKB
227492014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
22750
22751 PR gdb/17035
22752 * gdb.base/commands.exp: Add tests to verify user-defined
22753 commands with empty bodies.
22754 * gdb.python/py-cmd.exp: Test that we don't show user-defined
22755 python commands in `show user command`.
22756 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
22757 scheme commands in `show user command`.
22758
c75bd3a2
JK
227592014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22760
22761 PR python/17355
22762 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
22763 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
22764 * gdb.python/py-framefilter-invalidarg.exp: New file.
22765 * gdb.python/py-framefilter-invalidarg.py: New file.
22766
faa42425
DE
227672014-09-06 Doug Evans <xdje42@gmail.com>
22768
22769 PR 15276
22770 * gdb.python/py-caller-is.c: New file.
22771 * gdb.python/py-caller-is.exp: New file.
22772
474ca4f6
SDJ
227732014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
22774
22775 PR gdb/17235
22776 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
22777 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
22778
eb0b0463
SDJ
227792014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
22780
22781 PR fortran/17237
22782 * gdb.fortran/print-formatted.exp: New file.
22783 * gdb.fortran/print-formatted.f90: Likewise.
22784
5f3b99cf
SS
227852014-09-03 Sasha Smundak <asmundak@google.com>
22786
22787 * gdb.python/py-frame.exp: Test Frame.read_register.
22788
7d793aa9
SDJ
227892014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
22790
22791 PR python/16699
22792 * gdb.python/py-completion.exp: New file.
22793 * gdb.python/py-completion.py: Likewise.
22794
fb0576e9
DE
227952014-08-28 Doug Evans <dje@google.com>
22796
22797 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
22798 eax,etc. are live with values set by gdb and thus the compiler can't
22799 use them.
22800 * gdb.arch/i386-pseudo.c (main): Ditto.
22801
ee92b0dd
DE
228022014-08-27 Doug Evans <dje@google.com>
22803
22804 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
22805
6649db35
DE
228062014-08-25 Doug Evans <dje@google.com>
22807
22808 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
22809 (main): Ditto.
22810
564b7600
DE
228112014-08-25 Doug Evans <dje@google.com>
22812
22813 * gdb.threads/thread-execl.exp: #include <stdio.h>.
22814
3881fb67
YQ
228152014-08-24 Yao Qi <yao@codesourcery.com>
22816
22817 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
22818 symbol off.
22819 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
22820
a05a36a5
DE
228212014-08-22 Doug Evans <dje@google.com>
22822
22823 PR 17276
22824 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
22825 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
22826 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
22827
7c343b48
YQ
228282014-08-22 Yao Qi <yao@codesourcery.com>
22829
22830 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
22831 * gdb.python/py-finish-breakpoint2.exp: Likewise.
22832 * gdb.python/python.exp: Likewise. Use .py file on the host
22833 instead of the build.
22834
22fd09ae
JK
228352014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22836
22837 * gdb.threads/gcore-stale-thread.c: New file.
22838 * gdb.threads/gcore-stale-thread.exp: New file.
22839
a8454a7c
PA
228402014-08-21 Pedro Alves <palves@redhat.com>
22841
22842 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
22843 * gdb.base/gcore-relro-pie.exp: Likewise.
22844 * gdb.base/gcore-relro.exp: Likewise.
22845 * gdb.base/gcore.exp: Likewise.
22846 * gdb.base/print-symbol-loading.exp: Likewise.
22847 * gdb.threads/gcore-thread.exp: Likewise.
22848 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
22849
2a31c623
PA
228502014-08-20 Pedro Alves <palves@redhat.com>
22851 Jan Kratochvil <jan.kratochvil@redhat.com>
22852
22853 * Makefile.in (EXTRA_RULES, CC): New variables, get from
22854 configure.
22855 (EXPECT): Handle READ1 being set.
22856 (all): Depend on EXTRA_RULES.
22857 (check-read1, expect-read1, read1.so, read1): New rules.
22858 * README (Testsuite Parameters): Document the READ1 make variable.
22859 (Race detection): New section.
22860 * configure: Regenerate.
22861 * configure.ac: If build==host==target, and running under a
22862 GNU/glibc system, add read1 to the extra Makefile rules.
22863 (EXTRA_RULES): AC_SUBST it.
22864 * lib/read1.c: New file.
22865
d36430db
JB
228662014-08-20 Joel Brobecker <brobecker@adacore.com>
22867
22868 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
22869 the handling of variables declared as a typedef to an array
22870 which a DW_AT_data_location attribute.
22871
9a0dc9e3
PA
228722014-08-19 Andrew Burgess <aburgess@broadcom.com>
22873 Pedro Alves <palves@redhat.com>
22874
22875 PR symtab/14604
22876 PR symtab/14605
22877 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
22878 gdb_test.
22879
0718a8da
PA
228802014-08-19 Pedro Alves <palves@redhat.com>
22881
22882 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
22883
13b448cd
YQ
228842014-08-19 Yao Qi <yao@codesourcery.com>
22885
22886 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
22887 right line.
22888
1cbf5077
DB
228892014-08-18 David Blaikie <dblaikie@gmail.com>
22890
22891 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
22892
bf0fae19
JB
228932014-08-18 Joel Brobecker <brobecker@adacore.com>
22894
22895 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
22896 attribute in array range.
22897
3c8c5dcc
JB
228982014-08-18 Joel Brobecker <brobecker@adacore.com>
22899
22900 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
22901
e66d4446
SC
229022014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22903
22904 PR c++/17132
22905 * gdb.cp/pr17132.cc: New file.
22906 * gdb.cp/pr17132.exp: New file.
22907
940df408
SC
229082014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22909
22910 * gdb.python/py-xmethods.py (A_getarrayind)
22911 (E_method_char_worker.__call__, E_method_int_worker.__call__):
22912 Use 'print' with function call syntax.
22913 (E_method_matcher.match): Fix tab vs space indentation mixup.
22914
ebcc6c3a
YQ
229152014-08-15 Yao Qi <yao@codesourcery.com>
22916
22917 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
22918 false.
22919
775e0f04
YQ
229202014-08-15 Yao Qi <yao@codesourcery.com>
22921
22922 * gdb.cp/casts.exp: Set print symbol off.
22923 * gdb.cp/class2.exp: Likewise.
22924 * gdb.cp/overload.exp: Likewise.
22925 * gdb.cp/templates.exp: Likewise.
22926
d769e349
DE
229272014-08-11 Doug Evans <dje@google.com>
22928
22929 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
22930 (test_load_shlib): Update.
22931
20c6f1e1
YQ
229322014-08-09 Yao Qi <yao@codesourcery.com>
22933
22934 * gdb.base/display.exp: Invoke is_address_zero_readable.
22935 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
22936 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
22937 * gdb.base/hbreak-unmapped.exp: Return if
22938 is_address_zero_readable returns true.
22939 * gdb.base/signest.exp: Likewise.
22940 * gdb.base/signull.exp: Likewise.
22941 * gdb.base/sigbpt.exp: Likewise.
22942 * gdb.guile/scm-disasm.exp: Do the test if
22943 is_address_zero_readable returns false.
22944 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
22945 * gdb.python/py-arch.exp: Likewise.
22946 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
22947 * lib/gdb.exp (is_address_zero_readable): New proc.
22948
5792e8e3
YQ
229492014-08-09 Yao Qi <yao@codesourcery.com>
22950
22951 PR testsuite/13443
22952 * gdb.mi/mi-var-display.exp: Make test messages unique.
22953
3cecbbbe
TT
229542014-08-04 Tom Tromey <tromey@redhat.com>
22955
22956 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
22957 target 0".
22958
00b51ff5
TT
229592014-08-04 Tom Tromey <tromey@redhat.com>
22960
22961 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
22962 "target_resume".
22963
6908c509
JB
229642014-08-01 Joel Brobecker <brobecker@adacore.com>
22965
22966 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
22967 inner_vla_struct_object_size.
22968 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
22969 as xfail.
22970
cc6563d2
PA
229712014-07-30 Pedro Alves <palves@redhat.com>
22972
22973 * gdb.threads/signal-command-handle-nopass.exp (test): Add
22974 comment.
22975
7e09a223
YQ
229762014-07-29 Yao Qi <yao@codesourcery.com>
22977
22978 PR gdb/17206
22979 * gdb.base/until-nodebug.exp: New.
22980
7ebdbe92
DE
229812014-07-28 Doug Evans <xdje42@gmail.com>
22982
22983 PR guile/17203
22984 * gdb.guile/scm-parameter.exp: Add tests for trying to create
22985 previously existing parameter, and previously ambiguously spelled
22986 parameter.
22987
fdb1adc6
WN
229882014-07-28 Will Newton <will.newton@linaro.org>
22989
22990 * gdb.base/varargs.exp: Remove KFAILs for ARM.
22991
186fcde0
DE
229922014-07-26 Ludovic Courtès <ludo@gnu.org>
22993 Doug Evans <xdje42@gmail.com>
22994
22995 PR guile/17146
22996 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
22997
70509625
PA
229982014-07-25 Pedro Alves <palves@redhat.com>
22999
23000 * gdb.threads/signal-command-handle-nopass.c: New file.
23001 * gdb.threads/signal-command-handle-nopass.exp: New file.
23002 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
23003 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
23004 * gdb.threads/signal-delivered-right-thread.c: New file.
23005 * gdb.threads/signal-delivered-right-thread.exp: New file.
23006
c3f814a1
PA
230072014-07-25 Pedro Alves <palves@redhat.com>
23008
23009 * gdb.base/double-prompt-target-event-error.exp
23010 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
23011 match.
23012 (cancel_pagination_in_target_event): Rework double prompt
23013 detection.
23014 * gdb.base/paginate-after-ctrl-c-running.exp
23015 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
23016 <return>' match.
23017 * gdb.base/paginate-bg-execution.exp
23018 (test_bg_execution_pagination_return)
23019 (test_bg_execution_pagination_cancel): Remove '-notransfer
23020 <return>' matches.
23021 * gdb.base/paginate-execution-startup.exp
23022 (test_fg_execution_pagination_return)
23023 (test_fg_execution_pagination_cancel): Remove '-notransfer
23024 <return>' matches.
23025 * gdb.base/paginate-inferior-exit.exp
23026 (test_paginate_inferior_exited): Remove '-notransfer <return>'
23027 match.
23028 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
23029 * lib/gdb.exp (pagination_prompt): Run text through
23030 string_to_regexp.
23031 (gdb_test_multiple): Match $pagination_prompt instead of
23032 "<return>".
23033 (string_to_regexp): Move to lib/gdb-utils.exp.
23034
e214cf6c
JK
230352014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
23036
23037 * gdb.arch/amd64-entry-value-paramref.S: New file.
23038 * gdb.arch/amd64-entry-value-paramref.cc: New file.
23039 * gdb.arch/amd64-entry-value-paramref.exp: New file.
23040 * gdb.arch/amd64-optimout-repeat.S: New file.
23041 * gdb.arch/amd64-optimout-repeat.c: New file.
23042 * gdb.arch/amd64-optimout-repeat.exp: New file.
23043
17d0c5c8
JK
230442014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
23045
23046 PR gdb/17170
23047 * gdb.base/statistics.exp: New file.
23048
b8b8facf
DE
230492014-07-17 Doug Evans <dje@google.com>
23050
74b49205 23051 PR gdb/17170
b8b8facf
DE
23052 * gdb.base/maint.exp: Update testing of per-command stats.
23053
1b5d0ab3
PA
230542014-07-16 Pedro Alves <palves@redhat.com>
23055
23056 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
23057 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
23058 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
23059 (tfile_write_buf): New functions.
23060 (add_memory_block): Rewrite using the above.
23061 (adjust_function_address): New function.
23062 (FUNCTION_ADDRESS): New macro.
23063 (write_basic_trace_file): Remove short_x local, and use
23064 tfile_write_16. Change type of func_addr local to unsigned long
23065 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
23066 here. Cast argument of add_memory_block to char pointer.
23067 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
23068 (main): Remove parameters.
23069 * gdb.trace/tfile.exp: Remove nowarnings.
23070
4d974e88
SM
230712014-07-15 Simon Marchi <simon.marchi@ericsson.com>
23072
23073 * gdb.base/debug-expr.exp: Test string evaluation with
23074 "debug expression" on.
23075
41e99568
PA
230762014-07-15 Pedro Alves <palves@redhat.com>
23077
23078 * gdb.base/reread.exp: Use clean_restart.
23079
487d9753
PL
230802014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
23081
23082 * gdb.arch/avr-flash-qualifer.c: New.
23083 * gdb.arch/avr-flash-qualifer.exp: New.
23084
cc1c52ad
PA
230852014-07-14 Pedro Alves <palves@redhat.com>
23086
23087 * gdb.base/paginate-after-ctrl-c-running.c: New file.
23088 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
23089
1e973570
PA
230902014-07-14 Pedro Alves <palves@redhat.com>
23091
23092 * gdb.base/double-prompt-target-event-error.c: New file.
23093 * gdb.base/double-prompt-target-event-error.exp: New file.
23094
93d6eb10
PA
230952014-07-14 Pedro Alves <palves@redhat.com>
23096
23097 PR gdb/17072
23098 * gdb.base/paginate-inferior-exit.c: New file.
23099 * gdb.base/paginate-inferior-exit.exp: New file.
23100
0017922d
PA
231012014-07-14 Pedro Alves <palves@redhat.com>
23102
23103 PR gdb/17072
23104 * gdb.base/paginate-bg-execution.c: New file.
23105 * gdb.base/paginate-bg-execution.exp: New file.
23106
94696ad3
PA
231072014-07-14 Pedro Alves <palves@redhat.com>
23108
23109 PR gdb/17072
23110 * gdb.base/paginate-execution-startup.c: New file.
23111 * gdb.base/paginate-execution-startup.exp: New file.
23112 * lib/gdb.exp (pagination_prompt): New global.
23113 (default_gdb_spawn): New procedure, factored out from
23114 default_gdb_spawn.
23115 (default_gdb_start): Adjust to call default_gdb_spawn.
23116 (gdb_spawn): New procedure.
23117
bd293940
PA
231182014-07-14 Pedro Alves <palves@redhat.com>
23119
23120 * lib/gdb.exp (gdb_assert): New procedure.
23121 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
23122
c933f875
PA
231232014-07-14 Pedro Alves <palves@redhat.com>
23124
23125 * gdb.base/execution-termios.c: New file.
23126 * gdb.base/execution-termios.exp: New file.
23127
d98b7a16
TT
231282014-07-14 Tom Tromey <tromey@redhat.com>
23129
23130 * gdb.cp/vla-cxx.cc: New file.
23131 * gdb.cp/vla-cxx.exp: New file.
23132
548740d6
TT
231332014-07-14 Tom Tromey <tromey@redhat.com>
23134
23135 * gdb.reverse/rerun-prec.c: New file.
23136 * gdb.reverse/rerun-prec.exp: New file.
23137
a25eb028
MR
231382014-07-12 Maciej W. Rozycki <macro@mips.com>
23139 Maciej W. Rozycki <macro@codesourcery.com>
23140
23141 * lib/gdb-utils.exp: New file.
23142 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
23143 inline `gdb_init_command' processing.
23144 (gdb_start_cmd): Likewise.
23145 * lib/mi-support.exp (mi_run_cmd): Likewise.
23146 * README: Document `gdb_init_command' and `gdb_init_commands'.
23147
218c2655
JK
231482014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23149
23150 Fix false FAIL running under a very long directory name.
23151 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
23152 and "set print elements 10000". Twice.
23153
5401fde3
YQ
231542014-07-11 Yao Qi <yao@codesourcery.com>
23155
23156 * gdb.base/exprs.exp: "set print symbol off".
23157
e76126e8
PA
231582014-07-11 Pedro Alves <palves@redhat.com>
23159
23160 * gdb.threads/kill.c: New file.
23161 * gdb.threads/kill.exp: New file.
23162
2d6f0de6
YQ
231632014-07-10 Yao Qi <yao@codesourcery.com>
23164
23165 * gdb.trace/tfile.c (write_basic_trace_file)
23166 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
23167 address written to trace file.
23168
7180e04a
PA
231692014-07-09 Pedro Alves <palves@redhat.com>
23170
23171 * gdb.base/attach-wait-input.exp: New file.
23172 * gdb.base/attach-wait-input.c: New file.
23173
9a9a7608
AB
231742014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
23175
23176 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
23177 setting up test structures.
23178 (main): Call new test function.
23179 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
23180 test function, continue into test function and walk test
23181 structures.
23182
161ac41e
YQ
231832014-07-02 Yao Qi <yao@codesourcery.com>
23184
23185 * gdb.trace/entry-values.c: Define labels 'foo_start' and
23186 'bar_start' at the beginning of functions 'foo' and 'bar'
23187 respectively.
23188 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
23189 instead of 'foo' and 'bar'.
23190
1f267ae3
MM
231912014-07-08 Markus Metzger <markus.t.metzger@intel.com>
23192
23193 * gdb.btrace/segv.exp: New.
23194 * gdb.btrace/segv.c: New.
23195
2b239efb
LM
231962014-07-02 Luis Machado <lgustavo@codesourcery.com>
23197
23198 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
23199 instruction.
23200
cf363f18
MW
232012014-06-30 Mark Wielaard <mjw@redhat.com>
23202
23203 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
23204 vulture, vilify, villar): New volatile array constants.
23205 (vindictive, vegetation): New const volatile array constants.
23206 * gdb.base/volatile.exp: Test volatile and const volatile array
23207 types.
23208
aebf9d24
AA
232092014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
23210
23211 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
23212 target lacks support for awatch, rwatch, or hbreak.
23213
b67a2c6f
YQ
232142014-06-27 Yao Qi <yao@codesourcery.com>
23215
23216 * gdb.multi/dummy-frame-restore.exp: New.
23217 * gdb.multi/dummy-frame-restore.c: New.
23218
aef92902
MM
232192014-06-25 Markus Metzger <markus.t.metzger@intel.com>
23220
23221 * gdb.btrace/gcore.exp: New.
23222
8e9db26e
PA
232232014-06-23 Pedro Alves <palves@redhat.com>
23224
23225 * gdb.base/watchpoint-reuse-slot.c: New file.
23226 * gdb.base/watchpoint-reuse-slot.exp: New file.
23227
70afc5b7
SC
232282014-06-23 Siva Chandra Reddy <sivachandra@google.com>
23229
23230 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
23231 progspace's filename in 'info', 'enable' and 'disable' command
23232 tests.
23233
b972bd9c
JK
232342014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
23235
23236 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
23237 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
23238 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
23239
125f8a3d
GB
232402014-06-20 Gary Benson <gbenson@redhat.com>
23241
23242 * gdb.arch/i386-avx.exp: Fix include file location.
23243 * gdb.arch/i386-sse.exp: Likewise.
23244
3ed9baed
IB
232452014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
23246
23247 * gdb.dlang/expression.exp: New file.
23248
034f788c
PA
232492014-06-19 Pedro Alves <palves@redhat.com>
23250
23251 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
23252 out from ...
23253 (top level): ... here. Iterate running tests under different
23254 scheduler-locking settings.
23255
45371d0c
LM
232562014-06-18 Luis Machado <lgustavo@codesourcery.com>
23257
23258 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
23259 to DW_FORM_addr and use non-zero addresses.
23260
5d376983
SC
232612014-06-18 Siva Chandra Reddy <sivachandra@google.com>
23262
23263 PR gdb/17017
23264 * gdb.python/py-xmethods.cc: Add global function call counters and
23265 increment them in their respective functions. Remove "cout"
23266 statements.
23267 * gdb.python/py-xmethods.exp: Make tests check the global function
23268 call counters instead of depending on inferior IO.
23269
a1aa2221
LM
232702014-06-18 Don Breazeal <donb@codesourcery.com>
23271
23272 * gdb.base/foll-fork.exp (default_fork_parent_follow):
23273 Deleted procedure.
23274 (explicit_fork_parent_follow): Deleted procedure.
23275 (explicit_fork_child_follow): Deleted procedure.
23276 (test_follow_fork): New procedure.
23277 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 23278 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
23279 procedure calls.
23280
0fc05997
YQ
232812014-06-17 Yao Qi <yao@codesourcery.com>
23282
23283 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
23284 CP1252.
23285
70795c52
LM
232862014-06-17 Luis Machado <lgustavo@codesourcery.com>
23287
23288 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
23289 Initialize ptr and S explicitly.
23290 (skip_type_update_when_not_use_rtti_test): Likewise.
23291
6be47f0c
KS
232922014-06-16 Keith Seitz <keiths@redhat.com>
23293
23294 PR mi/15863
23295 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
23296 the inferior is started.
23297
d03de421
PA
232982014-06-16 Pedro Alves <palves@redhat.com>
23299
23300 * gdb.base/break-main-file-remove-fail.c: New file.
23301 * gdb.base/break-main-file-remove-fail.exp: New file.
23302 * gdb.base/break-unload-file.exp: Use build_executable instead of
23303 prepare_for_testing.
23304 (test_break): New parameter "initial_load". Handle it.
23305 (top level): Add initial_load cmdline/file axis.
23306
f9579b99
TT
233072014-06-12 Tom Tromey <tromey@redhat.com>
23308
23309 * gdb.base/completion.exp: Don't use directory name in test.
23310
3657956b
GB
233112014-06-09 Gary Benson <gbenson@redhat.com>
23312
23313 * gdb.base/sigall.c [Functions to send signals]: Reorder to
23314 separate the always-available ANSI-standard signals from the
23315 signals that require checking.
23316 (main): Likewise.
23317 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
23318 Likewise.
23319 (main): Likewise.
23320
4186eb54
KS
233212014-06-07 Keith Seitz <keiths@redhat.com>
23322
23323 Revert:
23324 PR c++/16253
23325 * gdb.cp/var-tag.cc: New file.
23326 * gdb.cp/var-tag.exp: New file.
23327 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
23328 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23329 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
23330 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
23331
25326a28 233322014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
23333
23334 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
23335
829155c9
PA
233362014-06-06 Pedro Alves <palves@redhat.com>
23337
23338 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
23339 in target debug output instead of looking at RSP packets,
23340 disabling the test on any target that uses hardware stepping.
23341 Update comments.
23342
61c8d22e
PA
233432014-06-06 Pedro Alves <palves@redhat.com>
23344
23345 * gdb.base/break-unload-file.exp: Fix typo.
23346
d9a47287
YQ
233472014-06-06 Yao Qi <yao@codesourcery.com>
23348
23349 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
23350 from "jit_function" to "^jit_function".
23351
e5e01dbf
YQ
233522014-06-06 Yao Qi <yao@codesourcery.com>
23353
23354 * gdb.base/async.c (foo): Add one statement.
23355 * gdb.base/async.exp: Get the next instruction address and
23356 match the output of "nexti" by instruction address. Match
23357 the hex address in the output of "finish".
23358
73ba372c
GB
233592014-06-06 Gary Benson <gbenson@redhat.com>
23360
23361 * gdb.base/call-signals.c: Remove preprocessor conditionals
23362 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
23363 SIGSEGV and SIGTERM.
23364 * gdb.base/sigall.c: Likewise.
23365 * gdb.base/unwindonsignal.c: Likewise.
23366 * gdb.reverse/sigall-reverse.c: Likewise.
23367
831517df
YQ
233682014-06-06 Yao Qi <yao@codesourcery.com>
23369
23370 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
23371 readable, skip the test.
23372
b8b91e98
YQ
233732014-06-06 Yao Qi <yao@codesourcery.com>
23374
23375 * gdb.threads/staticthreads.c (thread_function): Move the line
23376 setting breakpoint on forward.
23377 * gdb.threads/staticthreads.exp: Update comments.
23378
fb934770
LC
233792014-06-05 Ludovic Courtès <ludo@gnu.org>
23380
23381 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
23382 "history-append! type error".
23383
6ef284bd
SM
233842014-06-05 Simon Marchi <simon.marchi@ericsson.com>
23385
23386 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
23387 erroneous dprintf expected input.
23388
a872e241
DE
233892014-06-04 Doug Evans <xdje42@gmail.com>
23390
23391 * gdb.guile/scm-generics.exp: Delete.
23392
16f691fb
DE
233932014-06-04 Doug Evans <xdje42@gmail.com>
23394
23395 * gdb.guile/scm-breakpoint.exp: Update.
23396 Add tests for breakpoint registration.
23397
012370f6
TT
233982014-06-04 Tom Tromey <tromey@redhat.com>
23399
23400 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
23401 VLA-in-union.
23402 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
23403 inner_vla_struct, vla_union types. Initialize objects of those
23404 types and compute their sizes.
23405
9f5a4cef
HZ
234062014-06-04 Nathan Sidwell <nathan@codesourcery.com>
23407 Hui Zhu <hui@codesourcery.com>
23408
23409 * gdb.base/fileio.exp: Add test for shell not available as well as
23410 available.
23411 * gdb.base/fileio.c (test_system): Check for shell twice.
23412
90a45c4d
YQ
234132014-06-04 Yao Qi <yao@codesourcery.com>
23414
23415 * gdb.base/auto-connect-native-target.exp: Remove redundant
23416 space from the regexp pattern.
23417
70017e41
YQ
234182014-06-04 Yao Qi <yao@codesourcery.com>
23419
23420 * gdb.base/default.exp: Replace "child" with "native" in
23421 regexp pattern.
23422
883964a7
SC
234232014-06-03 Siva Chandra Reddy <sivachandra@google.com>
23424
23425 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
23426 * gdb.python/py-xmethods.exp: New tests to test xmethods.
23427 * gdb.python/py-xmethods.py: Python script supporting the
23428 new testcase and tests.
23429
ef370185
JB
234302014-06-03 Joel Brobecker <brobecker@adacore.com>
23431 Pedro Alves <palves@redhat.com>
23432
23433 PR breakpoints/17000
23434 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
23435 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
23436
1e2ccb61
BM
234372014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
23438
23439 * gdb.base/subst.exp: Add tests to verify partial path matching
23440 output.
23441
c6ec5ab2
PA
234422014-06-03 Pedro Alves <palves@redhat.com>
23443
23444 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
23445 target that doesn't use software single-stepping.
23446
835c559f
PA
234472014-06-03 Pedro Alves <palves@redhat.com>
23448
23449 PR breakpoints/17000
23450 * gdb.base/sss-bp-on-user-bp-2.c: New file.
23451 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
23452
06eb1586
DE
234532014-06-02 Doug Evans <xdje42@gmail.com>
23454
23455 * gdb.guile/scm-parameter.exp: New file.
23456
e698b8c4
DE
234572014-06-02 Doug Evans <xdje42@gmail.com>
23458
23459 * gdb.guile/scm-cmd.c: New file.
23460 * gdb.guile/scm-cmd.exp: New file.
23461
ded03782
DE
234622014-06-02 Doug Evans <xdje42@gmail.com>
23463
23464 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
23465 pretty-printer lookup.
23466 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
23467 (make-pp_s-printer): Call it.
23468 (make-pretty-printer-from-dict): New function.
23469 (lookup-pretty-printer-maker-from-dict): New function.
23470 (*pretty-printer*): Simplify.
23471 (make-objfile-pp_s-printer): New function.
23472 (install-objfile-pretty-printers!): New function.
23473 (make-progspace-pp_s-printer): New function.
23474 (install-progspace-pretty-printers!): New function.
23475 * gdb.guile/scm-progspace.c: New file.
23476 * gdb.guile/scm-progspace.exp: New file.
23477
41fac0cf
PA
234782014-06-02 Pedro Alves <palves@redhat.com>
23479
23480 * gdb.base/dprintf-bp-same-addr.c: New file.
23481 * gdb.base/dprintf-bp-same-addr.exp: New file.
23482
96ae5695
EBM
234832014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23484
23485 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
23486 * gdb.arch/powerpc-power.s: Likewise.
23487
da02b3a8
JB
234882014-06-02 Joel Brobecker <brobecker@adacore.com>
23489
23490 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
23491
c72b2e7b
YQ
234922014-06-01 Yao Qi <yao@codesourcery.com>
23493
23494 * gdb.base/watchpoint.exp (test_watch_location): Check null
23495 pointer can be dereferenced. If not, do the test, otherwise
23496 skip it.
23497
53e8a631
AB
234982014-05-30 Andrew Burgess <aburgess@broadcom.com>
23499
23500 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
23501 results.
23502 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
23503
938f0e2f
AB
235042014-05-30 Andrew Burgess <aburgess@broadcom.com>
23505
23506 * gdb.arch/amd64-invalid-stack-middle.S: New file.
23507 * gdb.arch/amd64-invalid-stack-middle.c: New file.
23508 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
23509 * gdb.arch/amd64-invalid-stack-top.c: New file.
23510 * gdb.arch/amd64-invalid-stack-top.exp: New file.
23511
9ba6657a
PA
235122014-05-30 Pedro Alves <palves@redhat.com>
23513
23514 PR breakpoints/17000
23515 * gdb.base/sss-bp-on-user-bp.c: New file.
23516 * gdb.base/sss-bp-on-user-bp.exp: New file.
23517
522c09bf
DB
235182014-05-30 David Blaikie <dblaikie@gmail.com>
23519
23520 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
23521 gnu_inline semantics via attribute.
23522 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
23523 source explicitly specifies the required semantics.
23524
bf4ef81e
MR
235252014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
23526
23527 * gdb.reverse/sigall-reverse.exp: Fix a typo.
23528
329ea579
PA
235292014-05-29 Pedro Alves <palves@redhat.com>
23530 Tom Tromey <tromey@redhat.com>
23531
23532 * gdb.base/async-shell.exp: Don't enable target-async.
23533 * gdb.base/async.exp
23534 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
23535 parameter. Adjust.
23536 (top level): Don't test with "target-async".
23537 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
23538 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
23539 * gdb.base/inferior-died.exp: Don't enable target-async.
23540 * gdb.base/interrupt-noterm.exp: Likewise.
23541 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
23542 * gdb.mi/mi-nonstop-exit.exp: Likewise.
23543 * gdb.mi/mi-nonstop.exp: Likewise.
23544 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
23545 * gdb.mi/mi-nsintrall.exp: Likewise.
23546 * gdb.mi/mi-nsmoribund.exp: Likewise.
23547 * gdb.mi/mi-nsthrexec.exp: Likewise.
23548 * gdb.mi/mi-watch-nonstop.exp: Likewise.
23549 * gdb.multi/watchpoint-multi.exp: Adjust comment.
23550 * gdb.python/py-evsignal.exp: Don't enable target-async.
23551 * gdb.python/py-evthreads.exp: Likewise.
23552 * gdb.python/py-prompt.exp: Likewise.
23553 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
23554 * gdb.server/solib-list.exp: Don't enable target-async.
23555 * gdb.threads/thread-specific-bp.exp: Likewise.
23556 * lib/mi-support.exp: Adjust to use mi-async.
23557
fd664c91
PA
235582014-05-29 Pedro Alves <palves@redhat.com>
23559
23560 PR gdb/13860
23561 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
23562 reason, even in sync mode.
23563
251bde03
PA
235642014-05-29 Pedro Alves <palves@redhat.com>
23565 Hui Zhu <hui@codesourcery.com>
23566
23567 PR PR15693
23568 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
23569 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
23570 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
23571 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
23572
7f3c0343
JB
235732014-05-28 Joel Brobecker <brobecker@adacore.com>
23574
23575 * config/monitor.exp (gdb_target_monitor): Replace use of
23576 "set remotebaud" by "set serial baud".
23577
b2715b27
AW
235782014-05-26 Andy Wingo <wingo@igalia.com>
23579
23580 * gdb.guile/scm-breakpoint.exp:
23581 * gdb.guile/scm-gsmob.exp: Update to use plain old object
23582 properties instead of gdb-object-properties.
23583
498a4489
YQ
235842014-05-26 Yao Qi <yao@codesourcery.com>
23585
23586 * gdb.server/no-thread-db.exp: Specify source file name
23587 explicitly when setting a breakpoint.
23588
589fdceb
MM
235892014-05-23 Markus Metzger <markus.t.metzger@intel.com>
23590
23591 * gdb.btrace/vdso.c: New.
23592 * gdb.btrace/vdso.exp: New.
23593
e9089e05
MM
235942014-05-23 Markus Metzger <markus.t.metzger@intel.com>
23595
23596 * gdb.base/gcore.exp (capture_command_output): Move ...
23597 * lib/gdb.exp (capture_command_output): ... here.
23598
67b5c0c1
MM
235992014-05-23 Markus Metzger <markus.t.metzger@intel.com>
23600
23601 * gdb.btrace/data.exp: Test memory access during btrace replay.
23602
a2199296
SM
236032014-05-22 Simon Marchi <simon.marchi@ericsson.com>
23604
23605 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
23606
17b2616c
PA
236072014-05-21 Pedro Alves <palves@redhat.com>
23608
23609 PR gdb/13860
23610 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
23611 (top level): Test that output related to execution commands is
23612 sent to the console with CLI commands, but not with MI commands.
23613 Test that breakpoint events are always mirrored to the console.
23614 Also expect the new source line to be output after a "next" in
23615 async mode too. Make it a pass/fail test.
23616 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
23617 output.
23618 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
23619
5166082f
PA
236202014-05-21 Pedro Alves <palves@redhat.com>
23621
23622 * gdb.base/list.exp (build_pattern, test_list): New procedures.
23623 Use them to test variations of "list" after reaching a breakpoint.
23624 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
23625 Test "list" with listsize 10 after reaching a breakpoint.
23626 * gdb.python/python.exp (decode_line current location line
23627 number): Adjust expected line number.
23628
2f25d70f
SM
236292014-05-21 Simon Marchi <simon.marchi@ericsson.com>
23630
23631 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
23632 behavior for $args, pass it directly to "run".
23633
ff604a67
MR
236342014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
23635
23636 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
23637 30000 to 65536.
23638
6a3cb8e8
PA
236392014-05-21 Pedro Alves <palves@redhat.com>
23640
23641 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
23642 auto-connect-native-target off".
23643 * gdb.base/auto-connect-native-target.c: New file.
23644 * gdb.base/auto-connect-native-target.exp: New file.
23645
4ebfc96e
PA
236462014-05-21 Pedro Alves <palves@redhat.com>
23647
23648 * gdb.base/default.exp: Test "target native" instead of "target
23649 child".
23650
36d46afb
MW
236512014-05-21 Mark Wielaard <mjw@redhat.com>
23652
23653 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
23654
5876f503
JK
236552014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
23656
23657 Fix TLS access for -static -pthread.
23658 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
23659 <HAVE_TLS> (thread_function, main): Initialize it.
23660 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
23661 Add clean_restart.
23662 <$have_tls != "">: Check TLSVAR.
23663
0256a6ac
PA
236642014-05-21 Pedro Alves <palves@redhat.com>
23665
23666 * gdb.base/dcache-line-read-error.c: New.
23667 * gdb.base/dcache-line-read-error.exp: New.
23668
936d2992
PA
236692014-05-20 Pedro Alves <palves@redhat.com>
23670
23671 * gdb.base/compare-sections.c: New file.
23672 * gdb.base/compare-sections.exp: New file.
23673
802e8e6d
PA
236742014-05-20 Pedro Alves <palves@redhat.com>
23675
23676 * gdb.base/break-idempotent.c: New file.
23677 * gdb.base/break-idempotent.exp: New file.
23678
e59fa00f
MM
236792014-05-20 Markus Metzger <markus.t.metzger@intel.com>
23680
23681 * gdb.btrace/nohist.exp: New.
23682
8b696e31
YQ
236832014-05-20 Yao Qi <yao@codesourcery.com>
23684
23685 * lib/gdb.exp (gdb_init): Set timeout if test file is under
23686 gdb.reverse directory and gdb_reverse_timeout exists in board
23687 setting.
23688 * README: Document gdb_reverse_timeout.
23689
73c9764f
YQ
236902014-05-20 Yao Qi <yao@codesourcery.com>
23691
23692 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
23693 'test_file_name'. Treat args as a string instead of a list.
23694 (gdb_init): Rename argument 'args' by 'test_file_name'.
23695
f1f4348a
JK
236962014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
23697
23698 * gdb.arch/powerpc-power.exp: New file.
23699 * gdb.arch/powerpc-power.s: New file.
23700
0dbe70ce
DE
237012014-05-16 Doug Evans <dje@google.com>
23702
23703 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
23704 * gdb.base/completion.exp: Check that all expected files exist
23705 before doing file completion.
0dbe70ce 23706
8d551b02
DE
237072014-05-16 Doug Evans <dje@google.com>
23708
23709 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
23710 Update.
23711 (do_syscall_tests_without_xml): Update.
23712
73eb7709
PA
237132014-05-16 Pedro Alves <palves@redhat.com>
23714
23715 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
23716 instead of "unknown output after running".
23717
3fae92fc
YQ
237182014-05-16 Yao Qi <yao@codesourcery.com>
23719
23720 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
23721 file1.txt from host at the end.
23722 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
23723
c2b2ccc5
DE
237242014-05-15 Doug Evans <dje@google.com>
23725
23726 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
23727 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
23728 loading file. Add test for TU lookup.
23729
8c217a4b
SM
237302014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23731
23732 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
23733 calling "-exec-arguments" or "set args" before running the
23734 inferior.
23735
3deb39c6
SM
237362014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23737
23738 * lib/mi-support.exp (mi_expect_stop): Expect message for
23739 inferiors that exit with non-zero exit code.
23740
71a79f8c
YQ
237412014-05-14 Yao Qi <yao@codesourcery.com>
23742
23743 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
23744 match absolute path on remote host.
23745 (test_file_list_exec_source_files): Remove "/" from the
23746 pattern.
23747
f23fcd46
YQ
237482014-05-14 Yao Qi <yao@codesourcery.com>
23749
23750 * boards/local-remote-host-notty.exp (${board}_file): New
23751 proc.
23752
9404b58f
KM
237532014-05-07 Kyle McMartin <kyle@redhat.com>
23754
23755 Pushed by Joel Brobecker <brobecker@adacore.com>.
23756 * gdb.arch/aarch64-atomic-inst.c: New file.
23757 * gdb.arch/aarch64-atomic-inst.exp: New file.
23758
5e45f04c
YQ
237592014-05-07 Yao Qi <yao@codesourcery.com>
23760
23761 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
23762 in current context" too.
23763
c888a17d
KS
237642014-05-05 Keith Seitz <keiths@redhat.com>
23765
23766 * gdb.linespec/ls-dollar.exp: Add test for linespec
23767 file:convenience_variable.
23768
290a839c
YQ
237692014-05-05 Yao Qi <yao@codesourcery.com>
23770
23771 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
23772 traceframes into tfile and ctf trace files. Read data from
23773 trace file and test collected data.
23774 (gdb_collect_locals_test): Likewise.
23775 (gdb_unavailable_registers_test): Likewise.
23776 (gdb_unavailable_floats): Likewise.
23777 (gdb_collect_globals_test): Likewise.
23778 (top-level): Append "ctf" to trace_file_targets if GDB
23779 supports.
23780
b5262cd0
YQ
237812014-05-05 Yao Qi <yao@codesourcery.com>
23782
23783 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
23784 code to ...
23785 (gdb_collect_args_test_1): ... it. New proc.
23786 (gdb_collect_locals_test): Move some code to ...
23787 (gdb_collect_locals_test_1): ... it. New proc.
23788 (gdb_unavailable_registers_test): Move some code to ...
23789 (gdb_unavailable_registers_test_1): ... it. New proc.
23790 (gdb_unavailable_floats): Move some code to ...
23791 (gdb_unavailable_floats_1): ... it. New proc.
23792
30a1e6cc
SDJ
237932014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23794
23795 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
23796 probes to test for bitness recognition.
23797 * gdb.arch/amd64-stap-optional-prefix.exp
23798 (test_probe_value_without_reg): New procedure.
23799 Add code to test for different kinds of bitness.
23800
f33da99a
SDJ
238012014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23802
23803 PR breakpoints/16889
23804 * gdb.arch/amd64-stap-optional-prefix.S: New file.
23805 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
23806
5b80f00d
PA
238072014-05-01 Pedro Alves <palves@redhat.com>
23808
23809 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
23810 gdb_file_cmd if no file is specified.
23811 * boards/native-extended-gdbserver.exp (gdb_load): Use the
23812 last_loaded_file to set the remote exec-file.
23813
f8c2a73c
PA
238142014-05-01 Pedro Alves <palves@redhat.com>
23815
23816 * boards/local-remote-host.exp: New file.
23817
be6e8ac7
PA
238182014-05-01 Pedro Alves <palves@redhat.com>
23819
23820 * boards/local-remote-host.exp: Rename to ...
23821 * boards/local-remote-host-notty.exp: ... this.
23822
cac0dc8f
JB
238232014-04-28 Joel Brobecker <brobecker@adacore.com>
23824
23825 * gdb.ada/dyn_arrayidx: New testcase.
23826
9730e6cc
YQ
238272014-04-26 Yao Qi <yao@codesourcery.com>
23828
23829 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
23830 and compute the length of function main. Save it in
23831 $main_length.
23832 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
23833 (top-level): Use gdb_compile to compile objects into
23834 executable and restart GDB. Remove invocation to
23835 prepare_for_testing.
23836
7ae1a6a6
PA
238372014-04-25 Simon Marchi <simon.marchi@ericsson.com>
23838 Pedro Alves <palves@redhat.com>
23839
23840 PR server/16255
23841 * gdb.multi/multi-attach.c: New file.
23842 * gdb.multi/multi-attach.exp: New file.
23843
4082afcc
PA
238442014-04-25 Pedro Alves <palves@redhat.com>
23845
23846 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
23847 user.
23848 (top level): Test that "set remote conditional-breakpoints-packet
23849 off" works as intended.
23850 * gdb.base/dprintf.exp: Test that "set remote
23851 breakpoint-commands-packet off" works as intended.
23852 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
23853 New function.
23854 (top level): Call it.
23855 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
23856 remote fast-tracepoints-packet off" works as intended.
23857 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
23858 * lib/gdb.exp (gdb_is_target_remote): ... here.
23859
2abc3f8d
DB
238602014-04-24 David Blaikie <dblaikie@gmail.com>
23861
23862 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
23863 ensure clang would not discard them.
23864 * gdb.base/gdbvars.c: Ditto.
23865 * gdb.base/memattr.c: Ditto.
23866 * gdb.base/whatis.c: Ditto.
23867 * gdb.python/py-prettyprint.c: Ditto.
23868 * gdb.trace/actions.c: Ditto.
23869 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
23870 ensure clang would not discard it.
23871
bfd39632
DB
238722014-04-24 David Blaikie <dblaikie@gmail.com>
23873
23874 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
23875 clang to emit the full definition of type required by the test
23876 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
23877
22842ff6
DB
238782014-04-24 David Blaikie <dblaikie@gmail.com>
23879
23880 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
23881 coax Clang into emitting the definition of the type.
23882 * gdb.cp/pr10728-x.h (y): Ditto.
23883 * gdb.cp/pr10728-y.cc (y): Ditto.
23884
c2e827ad
DB
238852014-04-24 David Blaikie <dblaikie@gmail.com>
23886
23887 * gdb.base/label.exp: XFAIL label related tests under Clang.
23888 * gdb.cp/cplabel.exp: Ditto.
23889 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
23890 under Clang those using labels.
23891
4c2d33e7
YQ
238922014-04-25 Yao Qi <yao@codesourcery.com>
23893
23894 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
23895 double_label.
23896 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
23897 partial_label and double_label.
23898
56083b99
DB
238992014-04-24 David Blaikie <dblaikie@gmail.com>
23900
23901 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
23902
25d4e99d
DB
239032014-04-24 David Blaikie <dblaikie@gmail.com>
23904
23905 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
23906 of the function to work across GCC and Clang.
23907 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
23908 pointer types (const void ** const V void **).
23909
01f9f808
MS
239102014-04-24 Michael Sturm <michael.sturm@mintel.com>
23911 Walfred Tedeschi <walfred.tedeschi@intel.com>
23912
23913 * Makefile.in (EXECUTABLES): Added i386-avx512.
23914 * gdb.arch/i386-avx512.c: New file.
23915 * gdb.arch/i386-avx512.exp: Likewise.
23916
4b48d439
KS
239172014-04-23 Keith Seitz <keiths@redhat.com>
23918
23919 * lib/mi-support.exp (mi_list_breakpoints): Delete.
23920 (mi_make_breakpoint_table): New procedure.
23921 (mi_create_breakpoint): Use mi_make_breakpoint
23922 and return the result.
23923 (mi_make_breakpoint): New procedure.
23924 (mi_build_kv_pairs): New procedure.
23925
23926 * gdb.mi/mi-break.exp: Remove unused globals,
23927 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
23928 All callers updated.
23929 * gdb.mi/mi-dprintf.exp: Use variable to track command
23930 number.
23931 Update all callers of mi_create_breakpoint and use
23932 mi_make_breakpoint_table.
23933 Remove any unused global variables.
23934 * gdb.mi/mi-nonstop.exp: Likewise.
23935 * gdb.mi/mi-nsintrall.exp: Likewise.
23936 * gdb.mi/mi-nsmoribund.exp: Likewise.
23937 * gdb.mi/mi-nsthrexec.exp: Likewise.
23938 * gdb.mi/mi-reverse.exp: Likewise.
23939 * gdb.mi/mi-simplerun.exp: Likewise.
23940 * gdb.mi/mi-stepn.exp: Likewise.
23941 * gdb.mi/mi-syn-frame.exp: Likewise.
23942 * gdb.mi/mi-until.exp: Likewise.
23943 * gdb.mi/mi-var-cp.exp: Likewise.
23944 * gdb.mi/mi-var-display.exp: Likewise.
23945 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
23946 * gdb.mi/mi2-var-child.exp: Likewise.
23947 * gdb.mi/mi-vla-c99.exp: Likewise.
23948 * lib/mi-support.exp: Likewise.
23949
23950 From Ian Lance Taylor <iant@cygnus.com>:
23951 * lib/gdb.exp (parse_args): New procedure.
23952
08351840
PA
239532014-04-23 Pedro Alves <palves@redhat.com>
23954
23955 * gdb.base/break-unload-file.c: New file.
23956 * gdb.base/break-unload-file.exp: New file.
23957 * gdb.base/sym-file-lib.c (baz): New function.
23958 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
23959 field.
23960 (load): Store the segment's mapped size.
23961 (unload): New function.
23962 (unload_shlib): New function.
23963 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
23964 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
23965 set a breakpoint at baz, and call it.
23966 * gdb.base/sym-file.exp: New tests for stale breakpoint
23967 instructions.
23968
076855f9
PA
239692014-04-23 Pedro Alves <palves@redhat.com>
23970
23971 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
23972 * gdb.base/hbreak-in-shr-unsupported.c: New file.
23973 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
23974 * gdb.base/hbreak-unmapped.c: New file.
23975 * gdb.base/hbreak-unmapped.exp: New file.
23976 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
23977 * lib/gdb.exp (gdb_is_target_remote): ... here.
23978
483805cf
PA
239792014-04-22 Pedro Alves <palves@redhat.com>
23980
23981 * gdb.base/consecutive-step-over.c: New file.
23982 * gdb.base/consecutive-step-over.exp: New file.
23983
06d97543
PA
239842014-04-22 Pedro Alves <palves@redhat.com>
23985
23986 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
23987 instead of send_gdb/gdb_expect.
23988
b4429ea2
YQ
239892014-04-22 Yao Qi <yao@codesourcery.com>
23990
23991 * lib/trace-support.exp (generate_tracefile): New procedure.
23992 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
23993 return 0.
23994 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
23995 if generate_tracefile returns 1.
23996
51d48146
PA
239972014-04-18 Tom Tromey <palves@redhat.com>
23998 Pedro alves <tromey@redhat.com>
23999
24000 PR backtrace/15558
24001 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
24002 with a backtrace limit.
24003 * gdb.python/py-frame-inline.exp: Test running to an inline
24004 function with a backtrace limit, and printing the newest frame.
24005 * gdb.python/py-frame-inline.c (main): Call f.
24006
bd1dce5f
MS
240072014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
24008
24009 * gdb.java/jnpe.exp: Drop srcdir from untested path.
24010
40d1a503
MS
240112014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
24012
24013 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
24014 Drop prefix from unsupported source file path.
24015
389b98f7
YQ
240162014-04-17 Yao Qi <yao@codesourcery.com>
24017
24018 * lib/gdb.exp (with_target_charset): New proc.
24019 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
24020 with_target_charset.
24021 (test_print_strings): Likewise.
24022 (test_repeat_bytes): Likewise.
24023 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
24024 for some tests.
24025
22869d73
KS
240262014-04-16 Keith Seitz <keiths@redhat.com>
24027
24028 PR gdb/15827
24029 * gdb.dwarf2/corrupt.c: New file.
24030 * gdb.dwarf2/corrupt.exp: New file.
24031
c4f87ca6
KS
240322014-04-16 Keith Seitz <keiths@redhat.com>
24033
24034 PR c++/16597
24035 * gdb.cp/namelessclass.cc: New file.
24036 * gdb.cp/namelessclass.exp: New file.
24037 * gdb.cp/namelessclass.S: New file.
24038
ab19de87
DE
240392014-04-16 Doug Evans <dje@google.com>
24040
24041 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
24042 Add comment.
24043 (gdbserver_default_get_comm_port): New function.
24044 (gdbserver_start): Check if board file provided
24045 "gdbserver,get_comm_port" and use it if so.
24046 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
24047 (gdb,socketport): Set to "stdio".
24048 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
24049 (stdio_gdbserver_template): Delete.
24050 (${board}_get_remote_address): Update.
24051 (${board}_build_remote_cmd): Delete.
24052 (${board}_get_comm_port): New function.
24053 (${board}_spawn): Update.
24054 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
24055 Delete.
24056 (${board}_get_remote_address): Update.
24057 (${board}_get_comm_port): New function.
24058
fc98a809
AB
240592014-04-16 Andrew Burgess <aburgess@broadcom.com>
24060
24061 * gdb.base/memattr.exp: Improve regexps to handle memory regions
24062 appearing in any order.
24063
87fd9e6e
DE
240642014-04-15 Doug Evans <dje@google.com>
24065
24066 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
24067 uninitialized value of "description".
24068
099fc3ea
KS
240692014-04-15 Keith Seitz <keiths@redhat.com>
24070
24071 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
24072 Remove unused globals.
24073 (test_running_the_program): Likewise.
24074 (test_controlled_execution): Likewise.
24075 (test_controlling_breakpoints): Likewise.
24076 (test_program_termination): Likewise.
24077
5da151d4
KS
240782014-04-15 Keith Seitz <keiths@redhat.com>
24079
24080 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
24081 unused globals.
24082 (test_rbreak_creation_and_listing): Likewise.
24083 (test_ignore_count): Likewise.
24084 (test_error): Likewise.
24085
35e5d2f0
PA
240862014-04-15 Pedro Alves <palves@redhat.com>
24087
24088 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
24089 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
24090 sym-file-loader.c.
24091 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
24092 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
24093 to sym-file-loader.c.
24094 (struct library): Forward declare.
24095 (load_shlib, lookup_function): Change prototypes.
24096 (find_shstrtab, find_strtab, find_shdr, find_symtab)
24097 (translate_offset): Remove declarations.
24098 (get_text_addr): New declaration.
24099 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
24100 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
24101 sym-file-loader.h.
24102 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
24103 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
24104 here from sym-file-loader.h.
24105 (struct library): New structure.
24106 (load_shlib, lookup_function): Change prototypes and adjust to
24107 work with a struct library.
24108 (find_shstrtab, find_strtab, find_shdr, find_symtab)
24109 (translate_offset): Make static.
24110 (get_text_addr): New function.
24111 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
24112
eb4c1710
PA
241132014-04-15 Pedro Alves <palves@redhat.com>
24114
24115 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
24116
2d1baf52
PA
241172014-04-15 Pedro Alves <palves@redhat.com>
24118
24119 * gdb.base/sym-file-loader.c: Include <limits.h>.
24120 (SELF_LINK): New define.
24121 (get_origin): New function.
24122 (load_shlib): Use it.
24123 * gdb.base/sym-file.exp: Don't early return if the target is
24124 remote. Use runto_main, and issue fail is that fails. Use
24125 gdb_load_shlibs.
24126 (shlib_name): Delete.
24127 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
24128
7dd6df01
PA
241292014-04-15 Pedro Alves <palves@redhat.com>
24130
24131 * gdb.base/sym-file.exp: Remove regex characters from test
24132 message. Don't refer to breakpoint numbers in test messages.
24133
b50c8614
KS
241342014-04-14 Keith Seitz <keiths@redhat.com>
24135
24136 PR c++/16253
24137 * gdb.cp/var-tag.cc: New file.
24138 * gdb.cp/var-tag.exp: New file.
24139 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
24140 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
24141 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
24142 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
24143
3d567982
TT
241442014-04-14 Tom Tromey <tromey@redhat.com>
24145
24146 * gdb.cp/classes.exp (test_enums): Handle underlying type.
24147 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
24148 type.
24149 * gdb.cp/enum-class.exp: New file.
24150 * gdb.cp/enum-class.cc: New file.
24151
0626fc76
TT
241522014-04-14 Tom Tromey <tromey@redhat.com>
24153
24154 * gdb.dwarf2/enum-type.exp: New file.
24155
dca325b3
SA
241562014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
24157
24158 * gdb.mi/mi-vla-c99.exp: New file.
24159 * gdb.mi/vla.c: New file.
24160
5854b38a
SA
241612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
24162
24163 * gdb.base/vla-datatypes.c: New file.
24164 * gdb.base/vla-datatypes.exp: New file.
24165
463bb957
SA
241662014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
24167
24168 * gdb.base/vla-ptr.c: New file.
24169 * gdb.base/vla-ptr.exp: New file.
24170
3dd170be
SA
241712014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
24172
24173 * gdb.dwarf2/count.exp: New file.
24174
5ecaaa66
SA
241752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
24176
24177 * gdb.base/vla-sideeffect.c: New file.
24178 * gdb.base/vla-sideeffect.exp: New file.
24179
41f1ada5
DB
241802014-04-14 David Blaikie <dblaikie@gmail.com>
24181
24182 * gdb.mi/non-stop.c: Add return value for non-void function return
24183 statement.
24184 * gdb.threads/staticthreads.c: Ditto.
24185
0be03e84
DE
241862014-04-12 Siva Chandra Reddy <sivachandra@google.com>
24187 Doug Evans <xdje42@gmail.com>
24188
24189 * gdb.guile/scm-value.c: Improve test case.
24190 * gdb.guile/scm-value.exp: Add new test.
24191
f180a1fb
DB
241922014-04-11 David Blaikie <dblaikie@gmail.com>
24193
24194 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
24195 override Clang's default.
24196
6b662e19
JB
241972014-04-11 Joel Brobecker <brobecker@adacore.com>
24198
24199 Revert the following changes (regressions):
24200
24201 * gdb.base/vla-sideeffect.c: New file.
24202 * gdb.base/vla-sideeffect.exp: New file.
24203
24204 * gdb.dwarf2/count.exp: New file.
24205
24206 * gdb.base/vla-multi.c: New file.
24207 * gdb.base/vla-multi.exp: New file.
24208
24209 * gdb.base/vla-ptr.c: New file.
24210 * gdb.base/vla-ptr.exp: New file.
24211
24212 * gdb.base/vla-datatypes.c: New file.
24213 * gdb.base/vla-datatypes.exp: New file.
24214
24215 * gdb.mi/mi-vla-c99.exp: New file.
24216 * gdb.mi/vla.c: New file.
24217
245a5f0b
KS
242182014-04-11 Keith Seitz <keiths@redhat.com>
24219
24220 PR c++/16675
24221 * gdb.cp/cpsizeof.exp: New file.
24222 * gdb.cp/cpsizeof.cc: New file.
24223
58a84dcf
SA
242242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24225
191a8a90
JB
24226 * gdb.mi/mi-vla-c99.exp: New file.
24227 * gdb.mi/vla.c: New file.
58a84dcf 24228
c8655f75
SA
242292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24230
24231 * gdb.base/vla-datatypes.c: New file.
24232 * gdb.base/vla-datatypes.exp: New file.
24233
024e13b4
SA
242342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24235
24236 * gdb.base/vla-ptr.c: New file.
24237 * gdb.base/vla-ptr.exp: New file.
24238
1a237e0e
SA
242392014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24240
24241 * gdb.base/vla-multi.c: New file.
24242 * gdb.base/vla-multi.exp: New file.
24243
504f3432
SA
242442014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24245
24246 * gdb.dwarf2/count.exp: New file.
24247
3bce8237
SA
242482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24249
191a8a90
JB
24250 * gdb.base/vla-sideeffect.c: New file.
24251 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 24252
322f9c21
YQ
242532014-04-11 Yao Qi <yao@codesourcery.com>
24254
24255 * gdb.base/completion.exp: Check file exists before running tests
24256 on file completion.
24257
d708bcd1
PA
242582014-04-10 Pedro Alves <palves@redhat.com>
24259
24260 * gdb.base/cond-eval-mode.c: New file.
24261 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
24262 prepare_for_testing to build the new file. Check result of
24263 runto_main.
24264 (test_break, test_watch): New procedures.
24265 (top level): Use them.
24266
ae1d2761
PM
242672014-04-08 Pierre Muller <muller@sourceware.org>
24268
24269 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
24270 Ctrl-V use for mingw hosts.
24271
7af389b8
SC
242722014-04-07 Siva Chandra Reddy <sivachandra@google.com>
24273
24274 * gdb.python/py-value.c: Improve test case.
24275 * gdb.python/py-value.exp: Add new test.
24276
5e703181
DE
242772014-04-07 David Blaikie <dblaikie@gmail.com>
24278
24279 * lib/compiler.c: Identify the clang compiler.
24280 * lib/compiler.cc: Ditto.
24281
9810b410
YQ
242822014-04-03 Yao Qi <yao@codesourcery.com>
24283
24284 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
24285
98d1b8dc
AB
242862014-04-01 Anton Blanchard <anton@samba.org>
24287
24288 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
24289 messages unique.
24290
3114cea1
AB
242912014-04-01 Anton Blanchard <anton@samba.org>
24292
24293 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
24294 prepare_for_testing.
24295
62f7182c
AB
242962014-04-01 Anton Blanchard <anton@samba.org>
24297
24298 * gdb.arch/ppc64-atomic-inst.c: Remove.
24299 * gdb.arch/ppc64-atomic-inst.S: New file.
24300 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
24301
770e7fc7
DE
243022014-03-31 Doug Evans <dje@google.com>
24303
24304 * gdb.base/print-symbol-loading-lib.c: New file.
24305 * gdb.base/print-symbol-loading-main.c: New file.
24306 * gdb.base/print-symbol-loading.exp: New file.
24307
46e2bafa
YQ
243082014-03-31 Yao Qi <yao@codesourcery.com>
24309
24310 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
24311
8776cfe9
JB
243122014-03-28 Joel Brobecker <brobecker@adacore.com>
24313
24314 * gdb.ada/mi_dyn_arr: New testcase.
24315
5d1ef361
DE
243162014-03-27 Doug Evans <dje@google.com>
24317
24318 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
24319
b5bee914
YQ
243202014-03-27 Yao Qi <yao@codesourcery.com>
24321
24322 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
24323 if target is nios2-*-*.
24324
0d4d0e77
YQ
243252014-03-26 Yao Qi <yao@codesourcery.com>
24326
24327 * lib/gdb.exp (readline_is_used): New proc.
24328 * gdb.base/completion.exp: Move tests on command complete up.
24329 Skip the rest of tests if readline is not used.
24330 * gdb.ada/complete.exp: Skp the test if readline is not
24331 used.
24332 * gdb.base/filesym.exp: Likewise.
24333 * gdb.base/macscp.exp: Likewise.
24334 * gdb.base/readline-ask.exp: Likewise.
24335 * gdb.base/readline.exp: Likewise.
24336 * gdb.python/py-cmd.exp: Likewise.
24337 * gdb.trace/tfile.exp: Likewise.
24338
29361eee
YQ
243392014-03-26 Yao Qi <yao@codesourcery.com>
24340
24341 * gdb.base/macscp.exp: Fix code format issues.
24342
bc9a5525
UW
243432014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
24344
24345 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
24346 * gdb.asm/powerpc64le.inc: New file.
24347
d3839ede
PA
243482014-03-25 Pedro Alves <palves@redhat.com>
24349 Doug Evans <dje@google.com>
24350
24351 * gdb.base/source-execution.c: New file.
24352 * gdb.base/source-execution.exp: New file.
24353 * gdb.base/source-execution.gdb: New file.
24354
01672a57
DE
243552014-03-24 Doug Evans <dje@google.com>
24356
24357 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
24358 using fission.
24359
88bbeca9
HZ
243602014-03-24 Hui Zhu <hui@codesourcery.com>
24361 Pedro Alves <palves@redhat.com>
24362
24363 PR breakpoints/16101
24364 * gdb.base/dprintf.exp: Use unsupported rather than changing the
24365 test pass/fail messages. Detect missing support for dprintf when
24366 breakpoints are actually inserted.
24367 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
24368 breakpoints are actually inserted.
24369 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
24370 fails.
24371
d2348791
JK
243722014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
24373
24374 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
24375
feef67ab
DE
243762014-03-22 Doug Evans <xdje42@gmail.com>
24377
24378 * gdb.python/python.exp (python not supported): Verify multi-line
24379 python command issues an error.
25d743f9 24380 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 24381 guile command issues an error.
feef67ab 24382
ecebef6a
MR
243832014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
24384
24385 * gdb.threads/thread-specific.exp: Handle the lack of usable
24386 $this_breakpoint and $this_thread.
24387
ccdd1909
HZ
243882014-03-21 Hui Zhu <hui@codesourcery.com>
24389
24390 * gdb.base/attach.exp (do_command_attach_tests): New.
24391
beb460e8
PA
243922014-03-20 Tom Tromey <tromey@redhat.com>
24393 Pedro Alves <palves@redhat.com>
24394
24395 PR cli/15718
24396 * gdb.base/condbreak-call-false.c: New file.
24397 * gdb.base/condbreak-call-false.exp: New file.
24398
40acf43a
PA
243992014-03-20 Pedro Alves <palves@redhat.com>
24400
24401 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
24402 Delete.
24403 (block_signals, unblock_signals): Delete.
24404 (child_function_2, main): Remove references to deleted variable
24405 and functions.
24406
9f5e1e02
PA
244072014-03-20 Pedro Alves <palves@redhat.com>
24408
24409 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
24410 Use pthread_kill to signal thread 2.
24411 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
24412 Adjust to make the test send itself a signal rather than using the
24413 host's "kill" command.
24414
99619bea
PA
244152014-03-20 Pedro Alves <palves@redhat.com>
24416
24417 * gdb.threads/multiple-step-overs.c: New file.
24418 * gdb.threads/multiple-step-overs.exp: New file.
24419 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
24420 Adjust expected infrun debug output.
24421
2adfaa28
PA
244222014-03-20 Pedro Alves <palves@redhat.com>
24423
24424 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
24425 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
24426
31e77af2
PA
244272014-03-20 Pedro Alves <palves@redhat.com>
24428
24429 PR breakpoints/7143
24430 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
24431 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
24432 of gdb_test_multiple.
24433 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
24434 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
24435
b9f437de
PA
244362014-03-20 Pedro Alves <palves@redhat.com>
24437
24438 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
24439 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
24440
05adc73e
PA
244412014-03-19 Pedro Alves <palves@redhat.com>
24442
24443 * gdb.base/async.exp: Remove early return.
24444
6048b950
PA
244452014-03-19 Pedro Alves <palves@redhat.com>
24446
24447 * gdb.base/async.exp (step& tests): Pass explicit test messages.
24448
8bcfb00a
PA
244492014-03-19 Pedro Alves <palves@redhat.com>
24450
24451 * gdb.base/async.exp (test_background): Expect \r\n after
24452 "completed." in the fail pattern.
24453
884e37dc
PA
244542014-03-19 Pedro Alves <palves@redhat.com>
24455
24456 * gdb.base/async.exp (test_background): New procedure.
24457 Use it for all background execution command tests.
24458
148e57e2
PA
244592014-03-19 Pedro Alves <palves@redhat.com>
24460
24461 * gdb.base/async.exp: Use prepare_for_testing.
24462
f48088c7
PA
244632014-03-19 Pedro Alves <palves@redhat.com>
24464
24465 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
24466 the same line.
24467
e2f6c966
PA
244682014-03-19 Pedro Alves <palves@redhat.com>
24469
24470 * gdb.base/async.c (main): Add "jump here" and "until here" line
24471 marker comments.
24472 * gdb.base/async.exp (jump_here): New global.
24473 (jump& test): Use it.
24474 (until_here): New global.
24475 (until& test): Use it.
24476
c30568d4
PA
244772014-03-19 Pedro Alves <palves@redhat.com>
24478
24479 * gdb.base/async.exp: Don't frob gdb_protocol.
24480
0172b6a7
DE
244812014-03-18 Doug Evans <xdje42@gmail.com>
24482
24483 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
24484 Fix spelling of exec-done-display.
24485
06c868a8
JK
244862014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
24487
24488 PR gdb/15358
24489 * gdb.base/gdb-sigterm.c: New file.
24490 * gdb.base/gdb-sigterm.exp: New file.
24491
0c7e1a46
PA
244922014-03-18 Pedro Alves <palves@redhat.com>
24493
24494 PR gdb/13860
24495 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
24496 * lib/mi-support.exp (mi_expect_stop): Add special handling for
24497 solib-event.
24498
f7c77d93
JB
244992014-03-17 Joel Brobecker <brobecker@adacore.com>
24500
24501 * gdb.ada/pckd_arr_ren: New testcase.
24502
5a1e8c7a
DE
245032014-03-13 Doug Evans <xdje42@gmail.com>
24504
24505 PR guile/16612
24506 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
24507 collect after discarding symbols.
24508
350e1a76
DE
245092014-03-13 Ludovic Courtès <ludo@gnu.org>
24510 Doug Evans <xdje42@gmail.com>
24511
24512 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
24513 to history survives a gc.
24514
a69900ae
PA
245152014-03-13 Pedro Alves <palves@redhat.com>
24516
24517 * gdb.base/default.exp: Don't test "target procfs".
24518
5db9f0bd
PA
245192014-03-13 Pedro Alves <palves@redhat.com>
24520
24521 * gdb.base/default.exp: Update "target child" and "target procfs"
24522 tests to not expect "Unix".
24523
b3ccfe11
TT
245242014-03-12 Tom Tromey <tromey@redhat.com>
24525
24526 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
24527 New procs. Add target-async tests.
24528 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
24529 Add target-async tests.
24530
646f4417
AA
245312014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24532
24533 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
24534 'func_start' and 'func_end' for the beginning and end of the
24535 function code, respectively.
24536 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
24537 'func_end' instead of 'func' and 'main'.
24538
288c211f
AA
245392014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24540
24541 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
24542 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
24543 generate the debug info assembler source.
24544
e0c0f156
AA
245452014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24546
24547 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
24548 * gdb.dwarf2/arr-subrange.exp: Likewise.
24549 * gdb.dwarf2/dwz.exp: Likewise.
24550 * gdb.dwarf2/method-ptr.exp: Likewise.
24551 * gdb.dwarf2/missing-sig-type.exp: Likewise.
24552 * gdb.dwarf2/subrange.exp: Likewise.
24553 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
24554 * gdb.dwarf2/implptrpiece.exp: Likewise.
24555 * gdb.dwarf2/nostaticblock.exp: Likewise.
24556
0e5c4555
AA
245572014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24558
24559 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
24560 directory to absolute path name arguments.
24561
5ec18f2b
JG
245622014-03-10 Joel Brobecker <brobecker@adacore.com>
24563
24564 * gdb.ada/tagged_access: New testcase.
24565
847fc4f2
MM
245662014-03-07 Markus Metzger <markus.t.metzger@intel.com>
24567
24568 * gdb.btrace/data.exp: Update expected output.
24569
cc3da688
YQ
245702014-03-06 Yao Qi <yao@codesourcery.com>
24571
24572 * gdb.trace/pr16508.exp: New file.
24573
0f26cec1
PA
245742014-03-05 Pedro Alves <palves@redhat.com>
24575
24576 PR gdb/16575
24577 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
24578 procedure.
24579 (top level): Adjust to use it. Add tests that exercise breakpoint
24580 interaction with the code-cache.
24581
7a5a839f
LC
245822014-02-26 Ludovic Courtès <ludo@gnu.org>
24583
24584 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
24585 test for 'history-append!'.
24586
31aa7e4e
JB
245872014-02-26 Joel Brobecker <brobecker@adacore.com>
24588
24589 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
24590 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
24591 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
24592 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
24593 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
24594 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
24595
1b588015
JB
245962014-02-26 Joel Brobecker <brobecker@adacore.com>
24597
24598 * testsuite/gdb.python/py-pp-re-notag.c: New file.
24599 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
24600 * testsuite/gdb.python/py-pp-re-notag.p: New file.
24601
55426c9d
JB
246022014-02-26 Joel Brobecker <brobecker@adacore.com>
24603
24604 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
24605
dc53a7ad
JB
246062014-02-26 Joel Brobecker <brobecker@adacore.com>
24607
24608 * gdb.dwarf2/arr-stride.c: New file.
24609 * gdb.dwarf2/arr-stride.exp: New file.
24610
12ab52e9
PA
246112014-02-26 Pedro Alves <palves@redhat.com>
24612
24613 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
24614 that won't ever trigger. Make sure that GDB reports the correct
24615 breakpoint that caused the stop.
24616
849c862e
JK
246172014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
24618
24619 PR gdb/16626
24620 * gdb.base/auto-load-script: New file.
24621 * gdb.base/auto-load.c: New file.
24622 * gdb.base/auto-load.exp: New file.
24623
71b7d793
JK
24624 PR gdb/16626
24625 * gdb.base/auto-load.exp: Fix out-of-srctree run.
24626
e2f0d509
JK
246272014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
24628
24629 Fix dw2-icycle.exp -fsanitize=address GDB crash.
24630 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
24631
50cc37c8
DE
246322014-02-24 Doug Evans <dje@google.com>
24633
24634 * lib/gdb.exp (run_on_host): Log error output if program fails.
24635
ea4758f2
PA
246362014-02-21 Pedro Alves <palves@redhat.com>
24637
24638 * gdb.threads/step-after-sr-lock.c: Rename to ...
24639 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
24640 * gdb.threads/step-after-sr-lock.exp: Rename to ...
24641 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
24642 ... this.
24643
d7b30f67
SDJ
246442014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
24645
24646 PR tdep/16397
24647 * gdb.arch/amd64-stap-special-operands.exp: New file.
24648 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
24649 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
24650 * gdb.arch/amd64-stap-triplet.S: Likewise.
24651 * gdb.arch/amd64-stap-triplet.c: Likewise.
24652
83deb43f
JB
246532014-02-20 Joel Brobecker <brobecker@adacore.com>
24654
24655 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
24656 in .section pseudo-op.
24657
adde2bff
DE
246582014-02-20 lin zuojian <manjian2006@gmail.com>
24659 Joel Brobecker <brobecker@adacore.com>
24660 Doug Evans <xdje42@gmail.com>
24661
24662 PR symtab/16581
24663 * gdb.dwarf2/dw2-icycle.S: New file.
24664 * gdb.dwarf2/dw2-icycle.c: New file.
24665 * gdb.dwarf2/dw2-icycle.exp: New file.
24666
f7bd0f78
SC
246672014-02-19 Siva Chandra Reddy <sivachandra@google.com>
24668
24669 * gdb.python/py-value-cc.cc: Improve test case to enable testing
24670 operations on gdb.Value objects.
24671 * gdb.python/py-value-cc.exp: Add new test to test operations on
24672 gdb.Value objects.
24673
c17ef0d5
DE
246742014-02-18 Doug Evans <dje@google.com>
24675
24676 * Makefile.in (TESTS): New variable.
24677 (expanded_tests, expanded_tests_or_none): New variables
24678 (check-single): Pass $(expanded_tests_or_none) to runtest.
24679 (check-parallel): Only run tests in $(TESTS) if non-empty.
24680 (check/no-matching-tests-found): New rule.
24681 * README: Document TESTS makefile variable.
24682
5dd3176f
DE
246832014-02-18 Doug Evans <dje@google.com>
24684
24685 * Makefile.in (check-parallel): rm -rf outputs temp.
24686
0b10be4f
JK
246872014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24688
24689 Fix "ERROR: no fileid for" in the testsuite.
24690 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
24691
85f224e7
DE
246922014-02-12 Doug Evans <dje@google.com>
24693
24694 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
24695 (MISCELLANEOUS): New variable.
24696 (clean): rm -rf $(MISCELLANEOUS).
24697 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
24698 dwp live in the same directory as symlinks, with each symlink pointed
24699 to a differently named file in a different directory.
24700
149b30ff
DE
247012014-02-11 Doug Evans <dje@google.com>
24702
24703 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
24704 of Tcl file commands.
24705
1dfdac32
MK
247062014-02-10 Mark Kettenis <kettenis@gnu.org>
24707
24708 * gdb.threads/step-after-sr-lock.exp: Avoid executing
24709 "kill -SIGUSR1 -1".
24710
aa4fb036
JB
247112014-02-10 Joel Brobecker <brobecker@adacore.com>
24712
24713 * gdb.ada/tick_length_array_enum_idx: New testcase.
24714
ed3ef339
DE
247152014-02-10 Doug Evans <xdje42@gmail.com>
24716
24717 * configure.ac (AC_OUTPUT): Add gdb.guile.
24718 * configure: Regenerate.
24719 * lib/gdb-guile.exp: New file.
24720 * lib/gdb.exp (get_target_charset): New function.
24721 * gdb.base/help.exp: Update expected output from "apropos apropos".
24722 * gdb.guile/Makefile.in: New file.
24723 * gdb.guile/guile.exp: New file.
24724 * gdb.guile/scm-arch.c: New file.
24725 * gdb.guile/scm-arch.exp: New file.
24726 * gdb.guile/scm-block.c: New file.
24727 * gdb.guile/scm-block.exp: New file.
24728 * gdb.guile/scm-breakpoint.c: New file.
24729 * gdb.guile/scm-breakpoint.exp: New file.
24730 * gdb.guile/scm-disasm.c: New file.
24731 * gdb.guile/scm-disasm.exp: New file.
24732 * gdb.guile/scm-equal.c: New file.
24733 * gdb.guile/scm-equal.exp: New file.
24734 * gdb.guile/scm-error.exp: New file.
24735 * gdb.guile/scm-error.scm: New file.
24736 * gdb.guile/scm-frame-args.c: New file.
24737 * gdb.guile/scm-frame-args.exp: New file.
24738 * gdb.guile/scm-frame-args.scm: New file.
24739 * gdb.guile/scm-frame-inline.c: New file.
24740 * gdb.guile/scm-frame-inline.exp: New file.
24741 * gdb.guile/scm-frame.c: New file.
24742 * gdb.guile/scm-frame.exp: New file.
24743 * gdb.guile/scm-generics.exp: New file.
24744 * gdb.guile/scm-gsmob.exp: New file.
24745 * gdb.guile/scm-iterator.c: New file.
24746 * gdb.guile/scm-iterator.exp: New file.
24747 * gdb.guile/scm-math.c: New file.
24748 * gdb.guile/scm-math.exp: New file.
24749 * gdb.guile/scm-objfile-script-gdb.in: New file.
24750 * gdb.guile/scm-objfile-script.c: New file.
24751 * gdb.guile/scm-objfile-script.exp: New file.
24752 * gdb.guile/scm-objfile.c: New file.
24753 * gdb.guile/scm-objfile.exp: New file.
24754 * gdb.guile/scm-ports.exp: New file.
24755 * gdb.guile/scm-pretty-print.c: New file.
24756 * gdb.guile/scm-pretty-print.exp: New file.
24757 * gdb.guile/scm-pretty-print.scm: New file.
24758 * gdb.guile/scm-section-script.c: New file.
24759 * gdb.guile/scm-section-script.exp: New file.
24760 * gdb.guile/scm-section-script.scm: New file.
24761 * gdb.guile/scm-symbol.c: New file.
24762 * gdb.guile/scm-symbol.exp: New file.
24763 * gdb.guile/scm-symtab-2.c: New file.
24764 * gdb.guile/scm-symtab.c: New file.
24765 * gdb.guile/scm-symtab.exp: New file.
24766 * gdb.guile/scm-type.c: New file.
24767 * gdb.guile/scm-type.exp: New file.
24768 * gdb.guile/scm-value-cc.cc: New file.
24769 * gdb.guile/scm-value-cc.exp: New file.
24770 * gdb.guile/scm-value.c: New file.
24771 * gdb.guile/scm-value.exp: New file.
24772 * gdb.guile/source2.scm: New file.
24773 * gdb.guile/types-module.cc: New file.
24774 * gdb.guile/types-module.exp: New file.
24775
7026a7c1
YQ
247762014-02-10 Yao Qi <yao@codesourcery.com>
24777
24778 PR testsuite/16543
24779 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
24780 * configure: Regenerated.
24781 * Makefile.in: New file.
24782
6c466447
AS
247832014-02-08 Andreas Schwab <schwab@linux-m68k.org>
24784
24785 * gdb.python/py-framefilter.exp: Fix typo.
24786
6e854735
YQ
247872014-02-08 Yao Qi <yao@codesourcery.com>
24788
24789 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
24790 that no =breakpoint-modified is emitted when breakpoints are
24791 modified through MI commands.
24792
d137e6dc
PA
247932014-02-07 Pedro Alves <pedro@codesourcery.com>
24794 Pedro Alves <palves@redhat.com>
24795
24796 * gdb.threads/step-after-sr-lock.c: New file.
24797 * gdb.threads/step-after-sr-lock.exp: New file.
24798
b5ee5a50
PA
247992014-02-07 Pedro Alves <palves@redhat.com>
24800
24801 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
24802
3c77faf3
JK
248032014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
24804
24805 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
24806 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
24807
6dddc817
DE
248082014-02-06 Doug Evans <xdje42@gmail.com>
24809
24810 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
24811 output.
24812
24813 * gdb.gdb/python-interrupts.exp: New file.
24814
de7b2893
YQ
248152014-02-05 Yao Qi <yao@codesourcery.com>
24816
24817 * gdb.trace/report.exp (use_collected_data): Test the output
24818 of "info threads" and "info inferiors".
24819
66d032ac
YQ
248202014-02-05 Yao Qi <yao@codesourcery.com>
24821
24822 Revert this patch:
24823
24824 2013-05-24 Yao Qi <yao@codesourcery.com>
24825
24826 * gdb.trace/tfile.exp: Test inferior and thread.
24827
591a12a1
UW
248282014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24829
24830 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
24831 on a function.
24832 * gdb.base/step-bt.c: Call hello via function pointer to make
24833 sure its first instruction is executed on powerpc64le-linux.
24834
0ff3e01f
UW
248352014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24836
24837 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
24838
084ee545
UW
248392014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24840
24841 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
24842 of the test patterns for use on little-endian systems.
24843
6ed14ff3
UW
248442014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24845
24846 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
24847 (decimal_vector): Fix for little-endian.
24848
401e27fd
JM
248492014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
24850
24851 * gdb.arch/sparc-sysstep.exp: New file.
24852 * gdb.arch/sparc-sysstep.c: Likewise.
24853
24854 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
24855
8b924729
EBM
248562014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24857
24858 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
24859
fb151210
JB
248602014-01-23 Tom Tromey <tromey@redhat.com>
24861
24862 * gdb.ada/array_char_idx: New testcase.
24863
0740f8d8
TT
248642014-01-23 Tom Tromey <tromey@redhat.com>
24865
24866 PR python/16487:
24867 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
24868 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
24869 classes.
24870
21909fa1
TT
248712014-01-23 Tom Tromey <tromey@redhat.com>
24872
24873 PR python/16491:
24874 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
24875 string from an inferior frame.
24876 * gdb.python/py-framefilter-mi.exp: Update.
24877
87ce2a04
DE
248782014-01-22 Doug Evans <dje@google.com>
24879
24880 * gdb.server/server-mon.exp: Add tests for "set debug-format".
24881
237b092b
AA
248822014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24883
24884 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
24885
d674a709
AA
248862014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24887
24888 * gdb.trace/entry-values.exp: Remove excess space character from
24889 regex patterns. Handle s390 call instruction.
24890
20fa3390
AA
248912014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24892
24893 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
24894 define "*_start" label. Make "name" static.
24895 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
24896 ${name} by references to ${name}_start.
24897
78466714
AA
248982014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24899
24900 * gdb.base/info-macros.exp: Remove "debug" from the compile
24901 options.
24902
ec9f644a
IB
249032014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24904
24905 * gdb.dlang/demangle.exp: New file.
24906
94b1b47e
IB
249072014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24908
24909 * gdb.dlang/primitive-types.exp: New file.
24910
7f420862
IB
249112014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24912
24913 * configure.ac: Create gdb.dlang/Makefile.
24914 * configure: Regenerate.
24915 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
24916 * gdb.dlang/Makefile.in: New file.
24917 * lib/d-support.exp: New file.
24918 * lib/gdb.exp (skip_d_tests): New proc.
24919
52834460
MM
249202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24921
24922 * gdb.btrace/delta.exp: Check reverse stepi.
24923 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
24924 * gdb.btrace/finish.exp: New.
24925 * gdb.btrace/next.exp: New.
24926 * gdb.btrace/nexti.exp: New.
24927 * gdb.btrace/record_goto.c: Add comments.
24928 * gdb.btrace/step.exp: New.
24929 * gdb.btrace/stepi.exp: New.
24930 * gdb.btrace/multi-thread-step.c: New.
24931 * gdb.btrace/multi-thread-step.exp: New.
24932 * gdb.btrace/rn-dl-bind.c: New.
24933 * gdb.btrace/rn-dl-bind.exp: New.
24934 * gdb.btrace/data.c: New.
24935 * gdb.btrace/data.exp: New.
24936 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24937
6e07b1d2
MM
249382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24939
24940 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
24941 * gdb.btrace/exception.exp: Update.
24942 * gdb.btrace/instruction_history.exp: Update.
24943 * gdb.btrace/record_goto.exp: Update.
24944 * gdb.btrace/tailcall.exp: Update.
24945 * gdb.btrace/unknown_functions.exp: Update.
24946 * gdb.btrace/delta.exp: New.
24947
0b722aec
MM
249482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24949
24950 * gdb.btrace/record_goto.exp: Add backtrace test.
24951 * gdb.btrace/tailcall.exp: Add backtrace test.
24952
066ce621
MM
249532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24954
24955 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
24956 * gdb.btrace/record_goto.c: New.
24957 * gdb.btrace/record_goto.exp: New.
24958 * gdb.btrace/x86-record_goto.S: New.
24959
0688d04e
MM
249602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24961
24962 * gdb.btrace/function_call_history.exp: Update tests.
24963 * gdb.btrace/instruction_history.exp: Update tests.
24964
8710b709
MM
249652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24966
24967 * gdb.btrace/function_call_history.exp: Fix expected field
24968 order for "record function-call-history".
24969 Add new tests for "record function-call-history /c".
24970 * gdb.btrace/exception.cc: New.
24971 * gdb.btrace/exception.exp: New.
24972 * gdb.btrace/tailcall.exp: New.
24973 * gdb.btrace/x86-tailcall.S: New.
24974 * gdb.btrace/x86-tailcall.c: New.
24975 * gdb.btrace/unknown_functions.c: New.
24976 * gdb.btrace/unknown_functions.exp: New.
24977 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24978
5de9129b
MM
249792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24980
24981 * gdb.btrace/instruction_history.exp: Update.
24982 * gdb.btrace/function_call_history.exp: Update.
24983
23a7fe75
MM
249842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24985
24986 * gdb.btrace/function_call_history.exp: Fix expected function
24987 trace.
24988 * gdb.btrace/instruction_history.exp: Initialize traced.
24989 Remove traced_functions.
24990
724c7dd8
MM
249912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24992
24993 * gdb.btrace/function_call_history.exp: Update
24994 * gdb.btrace/instruction_history.exp: Update.
24995
6d78d93b
MM
249962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24997
24998 * gdb.btrace/enable.exp: Update expected text.
24999
93a360cc
OJ
250002014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
25001
25002 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
25003 bytes.
25004
3772b53f
MR
250052014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
25006
25007 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
25008
596662fa
OJ
250092014-01-15 Omair Javaid <omair.javaid@linaro.org>
25010
25011 * lib/gdb.exp (supports_process_record): Return true for
25012 arm*-linux*. (supports_reverse): Likewise.
25013
b5b08fb4
SC
250142014-01-13 Siva Chandra Reddy <sivachandra@google.com>
25015
25016 PR python/15464
25017 PR python/16113
25018 * gdb.python/py-type.c: Enhance test case.
25019 * gdb.python/py-value-cc.cc: Likewise
25020 * gdb.python/py-type.exp: Add new tests.
25021 * gdb.python/py-value-cc.exp: Likewise
25022
52d7fb13
AA
250232014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
25024 Pedro Alves <palves@redhat.com>
25025
25026 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
25027 Make "name" extern.
25028 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
25029 references to ${name}_start by references to ${name}.
25030
a2cd8cfe
JB
250312014-01-10 Joel Brobecker <brobecker@adacore.com>
25032
25033 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
25034
4e23fced
JB
250352014-01-10 Joel Brobecker <brobecker@adacore.com>
25036
25037 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
25038
c6a9e42c
PA
250392014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
25040 Pedro Alves <palves@redhat.com>
25041
25042 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 25043 mi_gdb_target_load.
c6a9e42c 25044
b7ea362b
PA
250452014-01-08 Pedro Alves <palves@redhat.com>
25046
25047 * gdb.threads/reconnect-signal.c: New file.
25048 * gdb.threads/reconnect-signal.exp: New file.
25049
5e3f4fab
EBM
250502014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
25051
25052 * gdb.base/source-dir.exp: New file.
25053
79301218
JB
250542014-01-07 Joel Brobecker <brobecker@adacore.com>
25055
25056 * gdb.ada/mi_interface: New testcase.
25057
8e355c5d
JB
250582014-01-07 Joel Brobecker <brobecker@adacore.com>
25059
25060 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
25061 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
25062 gdb.ada/pp-rec-component/pck.ads: New files.
25063
c0d48811
JB
250642014-01-07 Joel Brobecker <brobecker@adacore.com>
25065
25066 * gdb.python/py-pp-integral.c: New file.
25067 * gdb.python/py-pp-integral.py: New file.
25068 * gdb.python/py-pp-integral.exp: New file.
25069
17b609c3 25070For older changes see ChangeLog-1993-2013.
c906108c 25071\f
8d8cb839
EZ
25072;; Local Variables:
25073;; mode: change-log
25074;; left-margin: 8
25075;; fill-column: 74
25076;; version-control: never
25077;; End:
902f2ccb 25078
3666a048 25079 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
25080 Copying and distribution of this file, with or without modification,
25081 are permitted provided the copyright notice and this notice are preserved.
This page took 5.253741 seconds and 4 git commands to generate.