]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
PR 15231: import bare DW_TAG_lexical_block
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e385593e
JK
12016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 PR c++/15231
4 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
5 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6
744608cc
PA
72016-05-27 Pedro Alves <palves@redhat.com>
8
9 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10 New procedure.
11 (top level): Call it, and bail out of DejaGnu is known to be bad.
12
ac775bf4
AB
132016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
14
15 * gdb.base/whatis.c: Extend the test case.
16 * gdb.base/whatis.exp: Add additional tests.
17
2bbad2ea
BH
182016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
19
20* gdb.fortran/type.f90: Add pointer variable.
21* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
22
8b70175d
BH
232016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
24
25 * gdb.fortran/vla-type.exp: Fix testcase name.
26
86d8a848
BH
272016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
28
29 * gdb.fortran/vla-type.exp: Access elements in nested structs.
30
e188eb36
BH
312016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
32
33 * gdb.fortran/type.f90: Add nested structures.
34 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
35 * gdb.fortran/derived-type.exp: Adapt expected output.
36 * gdb.fortran/vla-type.exp: Adapt expected output.
37
9b2db1fd
BH
382016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
39
40 * gdb.fortran/whatis_type.exp: Adapt expected output.
41
72b17055
BH
422016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
43
44 * gdb.fortran/print_type.exp: Fix expected output.
45 * gdb.fortran/whatis_type.exp: Fix expected output.
46
3cd81d8d
BH
472016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
48
49 * gdb.fortran/whatis_type.exp: Use multi_line.
50
ddae9462
TT
512016-05-24 Tom Tromey <tom@tromey.com>
52
53 PR python/17386:
54 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
55 use value as an index.
56
1957f6b8
TT
572016-05-23 Tom Tromey <tom@tromey.com>
58
59 PR python/17981:
60 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
61 no-breakpoint case.
62
026a9174
PA
632016-05-24 Pedro Alves <palves@redhat.com>
64
65 PR gdb/19828
66 * gdb.threads/clone-attach-detach.c: New file.
67 * gdb.threads/clone-attach-detach.exp: New file.
68
e70a7231
FR
692016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
70
71 * gdb.base/annota-input-while-running.exp: Fix syntax error.
72
0f6ed0e0
TT
732016-05-23 Tom Tromey <tom@tromey.com>
74
75 PR python/19438, PR python/18393:
76 * gdb.python/py-progspace.exp: Add "dir" test.
77 * gdb.python/py-objfile.exp: Add "dir" test.
78
ffd19d61
YQ
792016-05-23 Yao Qi <yao.qi@linaro.org>
80
81 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
82 * gdb.arch/thumb2-it.exp: Likewise.
83
9e8f9b05
SM
842016-05-18 Simon Marchi <simon.marchi@ericsson.com>
85
86 * gdb.mi/mi-threads-interrupt.c: New file.
87 * gdb.mi/mi-threads-interrupt.exp: New file.
88
61c6156d
SM
892016-05-17 Simon Marchi <simon.marchi@ericsson.com>
90
91 PR gdb/18077
92 * gdb.mi/mi-async-run.exp: New file.
93 * gdb.mi/mi-async-run.c: New file.
94
67218854
TT
952016-05-17 Tom Tromey <tom@tromey.com>
96 Manish Goregaokar <manishsmail@gmail.com>
97
98 * lib/rust-support.exp: New file.
99 * lib/gdb.exp (skip_rust_tests): New proc.
100 (build_executable_from_specs): Handle rust.
101 * lib/future.exp (gdb_find_rustc): New proc.
102 (gdb_default_target_compile): Handle rust.
103 * gdb.rust/expr.exp: New file.
104 * gdb.rust/generics.exp: New file.
105 * gdb.rust/generics.rs: New file.
106 * gdb.rust/methods.exp: New file.
107 * gdb.rust/methods.rs: New file.
108 * gdb.rust/modules.exp: New file.
109 * gdb.rust/modules.rs: New file.
110 * gdb.rust/simple.exp: New file.
111 * gdb.rust/simple.rs: New file.
112
c44af4eb
TT
1132016-05-17 Tom Tromey <tom@tromey.com>
114
115 * gdb.base/default.exp (set language): Add rust.
116
dcd1f979
TT
1172016-05-17 Tom Tromey <tom@tromey.com>
118
119 * gdb.gdb/unittest.exp: New file.
120
155b7f57
YQ
1212016-05-16 Yao Qi <yao.qi@linaro.org>
122
123 * gdb.base/batch-preserve-term-settings.exp: Remove variable
124 shell_prompt. Update shell_prompt_re.
125
8ddd5a6c
DE
1262016-05-12 Doug Evans <dje@google.com>
127
128 PR symtab/19999
129 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
130 $options when building executable.
131 * gdb.dwarf2/fission-loclists-pie.S: New file.
132 * gdb.dwarf2/fission-loclists-pie.exp: New file.
133
02e370d9
SM
1342016-05-04 Simon Marchi <simon.marchi@ericsson.com>
135
136 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
137 of [is_remote target],
138
8929ad8b
SM
1392016-05-04 Simon Marchi <simon.marchi@ericsson.com>
140
141 * lib/gdb.exp (use_gdb_stub): New procedure.
142
6c447423
DE
1432016-05-03 Yunlian Jiang <yunlian@google.com>
144 Doug Evans <dje@google.com>
145
146 PR symtab/19914
147 * gdb.dwarf2/dwp-sepdebug.c: New file.
148 * gdb.dwarf2/dwp-sepdebug.exp: New file.
149
444e826c
SM
1502016-05-02 Simon Marchi <simon.marchi@ericsson.com>
151
152 * gdb.base/detach.exp: Remove is_remote check.
153
740feeaa
SM
1542016-05-02 Simon Marchi <simon.marchi@ericsson.com>
155
156 * gdb.base/annota-input-while-running.exp: Don't check for
157 [is_remote target]. Enable annotations after running to main.
158 Remove unused "set test..." line.
159
9080ac9d
SM
1602016-04-28 Simon Marchi <simon.marchi@ericsson.com>
161
162 * gdb.trace/trace-enable-disable.exp: New file.
163 * gdb.trace/trace-enable-disable.c: New file.
164
952ebca5
SM
1652016-04-28 Simon Marchi <simon.marchi@ericsson.com>
166
167 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
168 use it in info sharedlibrary test.
169 * gdb.trace/ftrace-lock.exp: Likewise.
170 * gdb.trace/ftrace.exp: Likewise.
171 * gdb.trace/range-stepping.exp: Likewise.
172 * gdb.trace/trace-break.exp: Likewise.
173 * gdb.trace/trace-condition.exp: Likewise.
174 * gdb.trace/trace-mt.exp: Likewise.
175
d9019901
SM
1762016-04-27 Simon Marchi <simon.marchi@ericsson.com>
177
178 * lib/gdb.exp (gdb_load_shlibs): Rename to...
179 (gdb_load_shlib): ... this.
180 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
181 gdb_load_shlib.
182 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
183 * gdb.base/ctxobj.exp: Likewise.
184 * gdb.base/dprintf-pending.exp: Likewise.
185 * gdb.base/dso2dso.exp: Likewise.
186 * gdb.base/fixsection.exp: Likewise.
187 * gdb.base/gcore-relro.exp: Likewise.
188 * gdb.base/gdb1555.exp: Likewise.
189 * gdb.base/global-var-nested-by-dso.exp: Likewise.
190 * gdb.base/gnu-ifunc.exp: Likewise.
191 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
192 * gdb.base/jit-so.exp (one_jit_test): Likewise.
193 * gdb.base/pending.exp: Likewise.
194 * gdb.base/print-file-var.exp: Likewise.
195 * gdb.base/print-symbol-loading.exp: Likewise.
196 * gdb.base/shlib-call.exp: Likewise.
197 * gdb.base/shreloc.exp: Likewise.
198 * gdb.base/so-impl-ld.exp: Likewise.
199 * gdb.base/solib-disc.exp: Likewise.
200 * gdb.base/solib-nodir.exp: Likewise.
201 * gdb.base/solib-overlap.exp: Likewise.
202 * gdb.base/solib-symbol.exp: Likewise.
203 * gdb.base/solib-weak.exp (do_test): Likewise.
204 * gdb.base/sym-file.exp: Likewise.
205 * gdb.base/symtab-search-order.exp: Likewise.
206 * gdb.base/type-opaque.exp: Likewise.
207 * gdb.base/unload.exp: Likewise.
208 * gdb.base/watchpoint-solib.exp: Likewise.
209 * gdb.compile/compile.exp: Likewise.
210 * gdb.cp/gdb2384.exp: Likewise.
211 * gdb.cp/infcall-dlopen.exp: Likewise.
212 * gdb.cp/re-set-overloaded.exp: Likewise.
213 * gdb.fortran/library-module.exp: Likewise.
214 * gdb.opt/solib-intra-step.exp: Likewise.
215 * gdb.python/py-finish-breakpoint.exp: Likewise.
216 * gdb.python/py-shared.exp: Likewise.
217 * gdb.reverse/solib-precsave.exp: Likewise.
218 * gdb.reverse/solib-reverse.exp: Likewise.
219 * gdb.server/solib-list.exp: Likewise.
220 * gdb.threads/dlopen-libpthread.exp: Likewise.
221 * gdb.threads/tls-shared.exp: Likewise.
222 * gdb.threads/tls-so_extern.exp: Likewise.
223 * gdb.trace/change-loc.exp: Likewise.
224 * gdb.trace/ftrace-lock.exp: Likewise.
225 * gdb.trace/ftrace.exp: Likewise.
226 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
227 * gdb.trace/pending.exp: Likewise.
228 * gdb.trace/range-stepping.exp: Likewise.
229 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
230 (strace_info_marker): Likewise.
231 (strace_probe_marker): Likewise.
232 (strace_trace_on_same_addr): Likewise.
233 (strace_trace_on_diff_addr): Likewise.
234 * gdb.trace/trace-break.exp: Likewise.
235 * gdb.trace/trace-condition.exp: Likewise.
236 * gdb.trace/trace-mt.exp: Likewise.
237
fca4cfd9
SM
2382016-04-27 Simon Marchi <simon.marchi@ericsson.com>
239
240 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
241 result of gdb_remote_download.
242 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
243 * gdb.base/dso2dso.exp: Likewise.
244 * gdb.base/global-var-nested-by-dso.exp: Likewise.
245 * gdb.base/print-file-var.exp: Likewise.
246 * gdb.base/shlib-call.exp: Likewise.
247 * gdb.base/shreloc.exp: Likewise.
248 * gdb.base/solib-overlap.exp: Likewise.
249 * gdb.base/solib-weak.exp (do_test): Likewise.
250 * gdb.base/unload.exp: Likewise.
251
11cf4ffb
YQ
2522016-04-27 Yao Qi <yao.qi@linaro.org>
253
254 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
255 exists.
256
3e2e34f8
KB
2572016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
258
259 * vla-type.exp: Print structure from toplevel.
260
8f07e298
BH
2612016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
262
263 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
264 of dynamic types.
265 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
266 of dynamic types.
267
9920b434
BH
2682016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
269
270 * gdb.fortran/vla-type.f90: New file.
271 * gdb.fortran/vla-type.exp: New file.
272
f3abeff5
YQ
2732016-04-25 Yao Qi <yao.qi@linaro.org>
274
275 * gdb.base/branch-to-self.c: New file.
276 * gdb.base/branch-to-self.exp: New file.
277
0a5d52f0
YQ
2782016-04-22 Yao Qi <yao.qi@linaro.org>
279
280 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
281 more after $hex.
282
495346f6
YQ
2832016-04-22 Yao Qi <yao.qi@linaro.org>
284
285 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
286 * gdb.base/annota3.exp: Likewise.
287
4a7e075c
YQ
2882016-04-22 Yao Qi <yao.qi@linaro.org>
289
290 * gdb.reverse/step-precsave.exp: Do one step and test program
291 stops in "callee" and do multiple steps until program goes out
292 of "callee".
293 * gdb.reverse/step-reverse.exp: Likewise.
294
5b061e98
YQ
2952016-04-22 Yao Qi <yao.qi@linaro.org>
296
297 * gdb.trace/signal.exp: Also pass if
298 $tracepoint_hits($i) > $iterations.
299
5c5dc57f
YQ
3002016-04-22 Yao Qi <yao.qi@linaro.org>
301
302 * gdb.trace/signal.c: New file.
303 * gdb.trace/signal.exp: New file.
304
a55411b9
DE
3052016-04-19 Doug Evans <xdje42@gmail.com>
306
307 * gdb.base/bad-file.exp: New file.
308
a22df60a
MG
3092016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
310
311 * gdb.dwarf2/implref.exp: New file.
312
0c13f7e5
BH
3132016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
314
315 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
316 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
317 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
318 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
319 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
320 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
321 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
322 * lib/fortran.exp (fortran_int4): New procedure.
323 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
324 (fortran_logical4): Likewise.
325
9b9b09e9
BH
3262016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
327
328 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
329
a14d1f4d
BH
3302016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
331
332 * lib/compiler.c: Add Intel specific preprocessor macros.
333 * lib/compiler.cc: Likewise.
334
7d49b1d0
LM
3352016-04-13 Luis Machado <lgustavo@codesourcery.com>
336
337 * gdb.server/connect-with-no-symbol-file.c: New file.
338 * gdb.server/connect-with-no-symbol-file.exp: New file.
339
8392fa22
SM
3402016-04-13 Simon Marchi <simon.marchi@ericsson.com>
341
342 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
343
8c4c4aeb
SM
3442016-04-13 Simon Marchi <simon.marchi@ericsson.com>
345
346 * boards/gdbserver-base.exp (${board}_download): Copy source file to
347 standard output directory.
348
45e3745e
AT
3492016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
350
351 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
352
e26b7e41
MM
3532016-04-13 Markus Metzger <markus.t.metzger@intel.com>
354
355 * gdb.btrace/instruction_history.c (loop): Add declaration.
356
8ce09462
AT
3572016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
358
359 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
360
2e88a1ea
SM
3612016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
362
363 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
364 parentheses to print.
365 (continue_handler): Likewise.
366
f48e22e3
SM
3672016-04-08 Simon Marchi <simon.marchi@ericsson.com>
368
369 * gdb.server/solib-list.exp: Remove is_remote check.
370 Pass shlib= to gdb_compile. Don't link shared library with
371 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
372 Run binary filename through "readlink -f" on the target.
373
096be756
PA
3742016-04-08 Pedro Alves <palves@redhat.com>
375
376 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
377 interpreter filename as argument to gdbserver_spawn.
378 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
379 Return empty if $last_loaded_file does not exist.
380
06500533
JK
3812016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
382
383 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
384 * gdb.base/jit-main.c: Use exit after usage.
385
2d35e871
JK
3862016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
387
388 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
389 GDBHISTSIZE prior to the tests.
390 * gdb.base/gdbinit-history.exp: Likewise.
391
3922016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
393
394 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
395 instead of build_executable. Use gdb_load_shlibs.
396
c8064e7e
YQ
3972016-04-07 Yao Qi <yao.qi@linaro.org>
398
399 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
400 Execute "si" command.
401
bde47561
YQ
4022016-04-07 Yao Qi <yao.qi@linaro.org>
403
404 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
405 number instead of the comments on some line.
406
b16f8a3b
DB
4072016-04-06 Don Breazeal <donb@codesourcery.com>
408
409 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
410 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
411
c2f901df
SM
4122016-04-06 Simon Marchi <simon.marchi@ericsson.com>
413
414 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
415 standard_output_file. Remove unused binfile variable.
416
ac17fda0
CU
4172016-04-05 Catalin Udma <catalin.udma@freescale.com>
418
419 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
420 * gdb.python/py-mi-objfile.exp: Match "list main" output
421 in console format.
422
03a8c4df
SM
4232016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
424
425 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
426 absolute.
427
6e774b13
SM
4282016-04-05 Simon Marchi <simon.marchi@ericsson.com>
429
430 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
431 absolute.
432 * gdb.trace/ftrace.exp: Likewise.
433 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
434 targets as well.
435 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
436 (gdb_load_shlibs): Copy libraries to test directory when testing
437 natively. Only set solib-search-path if testing remotely.
438 * lib/mi-support.exp (mi_load_shlibs): Likewise.
439
7817ea46
SM
4402016-04-05 Simon Marchi <simon.marchi@ericsson.com>
441
442 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
443 gdb_download. Use it even if the target is not remote.
444 * gdb.base/jit.exp (compile_jit_test): Likewise.
445 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
446 output directory if the destination board is local, otherwise use
447 the standard remote_download from DejaGnu.
448 (gdb_download): Remove.
449 (gdb_load_shlibs): Use gdb_remote_download instead of
450 gdb_download.
451 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
452 Use gdb_remote_download instead of gdb_download. Use it even if
453 the target is not remote.
454 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
455 instead of gdb_download.
456
7beb7f68
SM
4572016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
458
459 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
460 (test_insert_delete_modify): Call mi_load_shlibs before trying to
461 run.
462
cc63428a
AV
4632016-04-01 Artemiy Volkov <artemiyv@acm.org>
464
465 PR gdb/19820
466 * gdb.base/printcmds.exp: Add artificial arrays tests.
467
64cdf930
PA
4682016-03-31 Pedro Alves <palves@redhat.com>
469
470 PR gdb/19858
471 * gdb.base/jit-main.c: Include unistd.h.
472 (ATTACH): Define to 0 if not already defined.
473 (wait_for_gdb, mypid): New globals.
474 (WAIT_FOR_GDB): New macro.
475 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
476 some breakpoint locations.
477 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
478 New procedures.
479 (one_jit_test): Add REATTACH parameter, and handle it. Use
480 continue_to_test_location.
481 (top level): Test attach, and adjusts calls to one_jit_test.
482
40dea8cb
PA
4832016-03-31 Pedro Alves <palves@redhat.com>
484
485 PR gdb/19858
486 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
487 BINSUFFIX parameter, and handle it.
488 (top level): Adjust calls compile_jit_test.
489
e7ea3ec7
CU
4902016-03-31 Catalin Udma <catalin.udma@freescale.com>
491
492 PR python/19743
493 * gdb.python/py-mi-events-gdb.py: New file.
494 * gdb.python/py-mi-events.c: New file.
495 * gdb.python/py-mi-events.exp: New file.
496
e6359af3
YQ
4972016-03-30 Yao Qi <yao.qi@linaro.org>
498
499 * gdb.reverse/until-precsave.exp: Match function name only.
500 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
501 Move malloc to a condition block.
502 * gdb.reverse/until-reverse.exp: Match function name only.
503
a4105d04
MK
5042016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
505
506 * gdb.trace/ftrace.exp: Set arg0exp for s390.
507 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
508 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
509 variable for GPR 0 instead of assuming it is register 0.
510 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
511 * lib/trace-support.exp: Add s390 registers.
512
bfa6adb9
YQ
5132016-03-29 Yao Qi <yao.qi@linaro.org>
514
515 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
516
1e6697ea
YQ
5172016-03-24 Yao Qi <yao.qi@linaro.org>
518
519 * gdb.reverse/break-reverse.exp: Add quotation mark in the
520 test message.
521
64bcd522
AA
5222016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
523
524 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
525 maintaining separate logic for constructing the output path.
526
7868401b
DB
5272016-03-16 Don Breazeal <donb@codesourcery.com>
528
529 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
530 Retry fork and waitpid on interrupted system call errors.
531 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
532 Use with_timeout_factor to increase timeout by factor of 10.
533
1cafadb4
DB
5342016-03-15 Don Breazeal <donb@codesourcery.com>
535
536 * gdb.cp/scope-err.cc: New test program.
537 * gdb.cp/scope-err.exp: New test script.
538 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
539 lines and "set breakpoint here" comment.
540 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
541 Fixed some whitespace and format issues.
542 * gdb.mi/mi-linespec-err-cp.cc: New test program.
543 * gdb.mi/mi-linespec-err-cp.exp: New test script.
544
81516450
DE
5452016-03-15 Doug Evans <dje@google.com>
546
547 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
548 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
549 All callers updated. Add tests for enums, mixed flags register.
550
aa52b601
DE
5512016-03-15 Doug Evans <dje@google.com>
552
553 * gdb.base/skip.c (main): Call test_skip_file_and_function.
554 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
555
fa4ff313
SM
5562016-03-14 Simon Marchi <simon.marchi@ericsson.com>
557
558 * gdb.base/default.exp: Add $_as_string to the list of expected
559 convenience functions.
560
f2403c39
AB
5612016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
562
563 * gdb.base/maint.exp: New tests for 'maint info line-table'.
564
f2f3ccb9
SM
5652016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
566
567 * gdb.python/py-as-string.exp: New file.
568 * gdb.python/py-as-string.c: New file.
569
00dbd492
PA
5702016-03-09 Pedro Alves <palves@redhat.com>
571
572 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
573 signal" -> "Thread NN received signal" output change.
574 * gdb.threads/ia64-sigill.exp: Likewise.
575 * gdb.threads/linux-dp.exp: Likewise.
576 * gdb.threads/manythreads.exp: Likewise.
577 * gdb.threads/pending-step.exp: Likewise.
578 * gdb.threads/print-threads.exp: Likewise.
579 * gdb.threads/sigstep-threads.exp: Likewise.
580 * gdb.threads/staticthreads.exp: Likewise.
581 * gdb.threads/tls.exp: Likewise.
582
1e6697ea
YQ
5832016-03-09 Pedro Alves <palves@redhat.com>
584
585 * gdb.base/command-line-input.exp: New file.
586
b04fd3be
MK
5872016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
588
589 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
590 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
591 * gdb.trace/pending.exp: Accept leading dot before function name.
592 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
593 * lib/trace-support.exp: Set registers for ppc.
594
98fa59e9
MK
5952016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
596
597 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
598 use it for disassembly; accept .main in addition to main in backtrace.
599
f77198c8
MK
6002016-03-09 Wei-cheng Wang <cole945@gmail.com>
601 Marcin Kościelnicki <koriakin@0x04.net>
602
603 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
604 (gdb_recursion_test_ptr): New global variable.
605 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
606 gdb_recursion_test.
607 (gdb_c_test): Ditto.
608
ba84e0da
MK
6092016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
610
611 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
612 ordering.
613
4366d36e
MK
6142016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
615
616 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
617 (bar): Add bar_start_lbl label.
618 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
619 of foo/bar for emitting DWARF and tracing.
620
5eb264df
SDJ
6212016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
622
623 * analyze-racy-logs.py: Set executable bit.
624
fb6a751f
SDJ
6252016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
626
627 * Makefile.in (DEFAULT_RACY_ITER): New variable.
628 (CHECK_TARGET_TMP): Likewise.
629 (check-single-racy): New rule.
630 (check-parallel-racy): Likewise.
631 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
632 (do-check-parallel-racy): New rule.
633 (check-racy/%.exp): Likewise.
634 * README (Racy testcases): New section.
635 * analyze-racy-logs.py: New file.
636
bdf7e230
DE
6372016-03-03 Doug Evans <dje@google.com>
638
639 * gdb.base/skip.exp: Use with_test_prefix.
640
4719d415
YQ
6412016-03-03 Yao Qi <yao.qi@linaro.org>
642
643 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
644 Invoke step_over_syscall "clone" and break_cond_on_syscall
645 "clone".
646 * gdb.base/step-over-clone.c: New file.
647
ea507862
YQ
6482016-03-03 Yao Qi <yao.qi@linaro.org>
649
650 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
651 code format.
652
8fc8cbda
YQ
6532016-03-03 Yao Qi <yao.qi@linaro.org>
654
655 * gdb.base/disp-step-fork.c: Rename to ...
656 * gdb.base/step-over-fork.c: ... it. New file.
657 * gdb.base/disp-step-vfork.c: Rename to ...
658 * gdb.base/step-over-vfork.c: ... it. New file.
659 * gdb.base/disp-step-syscall.exp: Rename to ...
660 * gdb.base/step-over-syscall.exp: ... it. New file.
661 (disp_step_cross_syscall): Rename to ...
662 (step_over_syscall): ... it.
663
92fa70b0
YQ
6642016-03-03 Yao Qi <yao.qi@linaro.org>
665
666 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
667 If target supports condition evaluation on target, invoke
668 break_cond_on_syscall for fork and vfork.
669
e197ad3c
YQ
6702016-03-03 Yao Qi <yao.qi@linaro.org>
671
672 * gdb.base/disp-step-syscall.exp: Don't invoke
673 support_displaced_stepping.
674 (disp_step_cross_syscall): Test with displaced stepping off and
675 on if supported.
676
0b47da9f
YQ
6772016-03-03 Yao Qi <yao.qi@linaro.org>
678
679 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
680 proc.
681 (setup): New proc.
682 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
683 and setup.
684
065ab6dc
BH
6852016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
686
687 * gdb.fortran/vla-history.exp: Remove breakpoint.
688
07e448ad 6892016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
690
691 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
692
9ac2d526 6932016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
694
695 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
696
17807369
BH
6972016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
698
699 * gdb.mi/vla.f90: Nullify pointer after declaration.
700
86e501af
PA
7012016-03-01 Pedro Alves <palves@redhat.com>
702
703 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
704
1e903e32
PA
7052016-03-01 Pedro Alves <palves@redhat.com>
706
707 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
708 before anything else.
709 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
710 _GNU_SOURCE here.
711 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
712 before anything else.
713 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
714
6ccb54e2
PA
7152016-03-01 Pedro Alves <palves@redhat.com>
716
717 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
718
30ca9da1
YQ
7192016-03-01 Yao Qi <yao.qi@linaro.org>
720
721 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
722 prepare_for_testing.
723
dc856b38
YQ
7242016-03-01 Yao Qi <yao.qi@linaro.org>
725
726 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
727
4a932159
AA
7282016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
729
730 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
731 manually constructing the output path.
732
f2489477
AA
7332016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
734
735 * gdb.arch/s390-stackless.S: New.
736 * gdb.arch/s390-stackless.exp: New.
737
38899f16
IB
7382016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
739
740 * gdb.dlang/circular.c: New file.
741 * gdb.dlang/circular.exp: New file.
742
9fde51ed
YQ
7432016-02-26 Yao Qi <yao.qi@linaro.org>
744
745 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
746 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
747 (testcases): Update.
748
ce90fefe
YQ
7492016-02-26 Yao Qi <yao.qi@linaro.org>
750
751 * gdb.reverse/aarch64.c: Rename to ...
752 * gdb.reverse/insn-reverse.c: ... it.
753 * gdb.reverse/aarch64.exp: Rename to ...
754 * gdb.reverse/insn-reverse.exp: ... it.
755
3263bceb
YQ
7562016-02-26 Yao Qi <yao.qi@linaro.org>
757
758 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
759 (testcase_ftype): New.
760 (testcases): New array.
761 (n_testcases): New.
762 (main): Call each element in testcases.
763 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
764 (read_testcase): New.
765 Do the tests in a loop.
766
6cb59ff1
YQ
7672016-02-25 Yao Qi <yao.qi@linaro.org>
768
769 * gdb.base/branches.c: Remove.
770
ae91f625
MK
7712016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
772
773 PR gdb/13808
774 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
775
678b48b7
MK
7762016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
777
778 * gdb.trace/ftrace.exp: Remove unnecessary target check.
779
7337a6f2
MK
7802016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
781
782 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
783 change x86_64 call_insn to 'callq'.
784
861ca91f
AT
7852016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
786
787 * gdb.trace/tfile-avx.c: Move to...
788 * gdb.trace/tracefile-pseudo-reg.c: Here.
789 * gdb.trace/tfile-avx.exp: Move to...
790 * gdb.trace/tracefile-pseudo-reg.exp: Here.
791
bf74e428
GB
7922016-02-24 Gary Benson <gbenson@redhat.com>
793
794 * gdb.base/attach-pie-noexec.exp: Do not expect an error
795 message on attach.
796
cce0e923
DE
7972016-02-23 Doug Evans <dje@google.com>
798
799 * gdb.base/skip.c (test_skip): New function.
800 (end_test_skip_file_and_function): New function.
801 (test_skip_file_and_function): New function.
802 * gdb.base/skip1.c (test_skip): New function.
803 (skip1_test_skip_file_and_function): New function.
804 * gdb.base/skip.exp: Add tests for new skip options.
805 * gdb.base/skip-solib.exp: Update expected output.
806 * gdb.perf/skip-command.cc: New file.
807 * gdb.perf/skip-command.exp: New file.
808 * gdb.perf/skip-command.py: New file.
809
4000e47e
MK
8102016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
811
812 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
813 info registers pattern.
814
24f75ead
IB
8152016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
816
817 * lib/future.exp: Add D support.
818 (gdb_find_gdc): New proc.
819 (gdb_default_target_compile): Add D support.
820
fbb7bcbe
WW
8212016-02-18 Wei-cheng Wang <cole945@gmail.com>
822
823 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
824 user+system time.
825 (trace_speed_test): Determine the iteration count for a time
826 between 15..30 seconds.
827
012b3a21
WT
8282016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
829
830 * gdb.arch/i386-mpx-sigsegv.c: New file.
831 * gdb.arch/i386-mpx-sigsegv.exp: New file.
832 * gdb.arch/i386-mpx-simple_segv.c: New file.
833 * gdb.arch/i386-mpx-simple_segv.exp: New file.
834
2d5189bd
YQ
8352016-02-18 Yao Qi <yao.qi@linaro.org>
836
837 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
838 Don't call setup_kfail.
839
40fb20d0
YQ
8402016-02-18 Yao Qi <yao.qi@linaro.org>
841
842 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
843 Set "set breakpoint condition-evaluation" per $cond_bp_target.
844
21b1f8d2
DE
8452016-02-16 Doug Evans <dje@google.com>
846
847 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
848 * gdb.base/skip1.c: Ditto.
849 * gdb.base/skip.exp: Whitespace cleanup.
850
4041ed77
DB
8512016-02-16 Don Breazeal <donb@codesourcery.com>
852
853 PR remote/19496
854 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
855 Remove kfail for PR remote/19496.
856
c4ef31bf
SM
8572016-02-16 Simon Marchi <simon.marchi@ericsson.com>
858
859 * lib/gdb.exp (standard_temp_file): Return a path specific to
860 the runtest invocation.
861
266b65b3
SM
8622016-02-16 Simon Marchi <simon.marchi@ericsson.com>
863
864 * gdb.trace/save-trace.exp: Change relative path to be in the
865 standard output directory.
866
a7a0a6a9
JK
8672016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
868
869 * gdb.arch/i386-prologue.c: Add missing prototypes.
870
c99dbb42
JK
8712016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
872
873 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
874 * gdb.arch/i386-prologue.exp: Likewise.
875 * gdb.arch/i386-size.exp: Likewise.
876
aa480355
SM
8772016-02-15 Simon Marchi <simon.marchi@ericsson.com>
878
879 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
880 define object file path.
881 * gdb.btrace/gcore.exp: Use standard_output_file to define core
882 file path.
883 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
884 standard_output_file to define binfile.
885
ba881f50
JK
8862016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
887
888 Fix compatibility with recent gfortran-5.3.1.
889 * gdb.fortran/vla-history.exp (print vla1 allocated)
890 (print vla2 allocated, print $2, print $3): Remove
891 (print $4): Rename to ...
892 (print $2): ... here.
893 (print $9): Rename to ...
894 (print $5): ... here.
895 (print $10): Rename to ...
896 (print $6): ... here.
897 * gdb.fortran/vla.f90: Add pvla initialization.
898
e9fb005c
JK
8992016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
900
901 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
902 New test.
903 * gdb.fortran/vla-value-sub.exp: Likewise.
904
e44e00ff
MK
9052016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
906
907 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
908
97e94151
SM
9092016-02-12 Simon Marchi <simon.marchi@ericsson.com>
910
911 * i386-biarch-core.exp: Define corefile using
912 standard_output_file.
913
01113bc1
YQ
9142016-02-12 Yao Qi <yao.qi@linaro.org>
915
916 * gdb.arch/arm-single-step-kernel-helper.c: New.
917 * gdb.arch/arm-single-step-kernel-helper.exp: New.
918
33b4777c
MM
9192016-02-12 Markus Metzger <markus.t.metzger@intel.com>
920
921 * gdb.btrace/tailcall-only.exp: New.
922 * gdb.btrace/tailcall-only.c: New.
923 * gdb.btrace/x86_64-tailcall-only.S: New.
924 * gdb.btrace/i686-tailcall-only.S: New.
925
acc23c11
PA
9262016-02-11 Pedro Alves <palves@redhat.com>
927
928 * README (Parallel testing): Add missing double quotes.
929
e352bf0a
PA
9302016-02-11 Pedro Alves <palves@redhat.com>
931
932 * README (Parallel testing): New section.
933 (GDB_PARALLEL): Rewrite.
934 (FORCE_PARALLEL): Document.
935
9f5fed78
MK
9362016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
937
938 * gdb.trace/tfile-avx.c: New test.
939 * gdb.trace/tfile-avx.exp: New test.
940
9ef9e6a6
KS
9412016-02-09 Keith Seitz <keiths@redhat.com>
942
943 PR breakpoints/19546
944 * gdb.base/infcall-exec.c: New file.
945 * gdb.base/infcall-exec2.c: New file.
946 * gdb.base/infcall-exec.exp: New file.
947
a96e36da
KS
9482016-02-09 Keith Seitz <keiths@redhat.com>
949
950 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
951 (toplevel): Call test_bkpt_address.
952
9f61929f
KS
9532016-02-09 Keith Seitz <keiths@redhat.com>
954
955 PR python/19506
956 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
957 (toplevel): Call test_bkpt_address.
958
1e94266c
SM
9592016-02-09 Simon Marchi <simon.marchi@ericsson.com>
960
961 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
962 to AC_OUTPUT.
963 * configure: Regenerate.
964
2a7f3dff
PA
9652016-02-09 Pedro Alves <palves@redhat.com>
966
967 PR breakpoints/19548
968 * gdb.base/execl-update-breakpoints.c (some_function): New
969 function.
970 (main): Call it.
971 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
972 Tighten expected GDB output.
973
2151ccc5
SM
9742016-02-08 Simon Marchi <simon.marchi@ericsson.com>
975
976 * Makefile.in (ALL_SUBDIRS): Remove.
977 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
978 (distclean maintainer-clean realclean): Likewise.
979 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
980 * configure: Regenerate.
981 * gdb.ada/Makefile.in: Delete.
982 * gdb.arch/Makefile.in: Likewise.
983 * gdb.asm/Makefile.in: Likewise.
984 * gdb.base/Makefile.in: Likewise.
985 * gdb.btrace/Makefile.in: Likewise.
986 * gdb.cell/Makefile.in: Likewise.
987 * gdb.compile/Makefile.in: Likewise.
988 * gdb.cp/Makefile.in: Likewise.
989 * gdb.disasm/Makefile.in: Likewise.
990 * gdb.dlang/Makefile.in: Likewise.
991 * gdb.dwarf2/Makefile.in: Likewise.
992 * gdb.fortran/Makefile.in: Likewise.
993 * gdb.gdb/Makefile.in: Likewise.
994 * gdb.go/Makefile.in: Likewise.
995 * gdb.guile/Makefile.in: Likewise.
996 * gdb.java/Makefile.in: Likewise.
997 * gdb.linespec/Makefile.in: Likewise.
998 * gdb.mi/Makefile.in: Likewise.
999 * gdb.modula2/Makefile.in: Likewise.
1000 * gdb.multi/Makefile.in: Likewise.
1001 * gdb.objc/Makefile.in: Likewise.
1002 * gdb.opencl/Makefile.in: Likewise.
1003 * gdb.opt/Makefile.in: Likewise.
1004 * gdb.pascal/Makefile.in: Likewise.
1005 * gdb.perf/Makefile.in: Likewise.
1006 * gdb.python/Makefile.in: Likewise.
1007 * gdb.reverse/Makefile.in: Likewise.
1008 * gdb.server/Makefile.in: Likewise.
1009 * gdb.stabs/Makefile.in: Likewise.
1010 * gdb.threads/Makefile.in: Likewise.
1011 * gdb.trace/Makefile.in: Likewise.
1012 * gdb.xml/Makefile.in: Likewise.
1013 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1014 GDB_PARALLEL.
1015 (standard_output_file): Remove check for GDB_PARALLEL, always
1016 return path in outputs/$subdir/$testname.
1017
437277d4
SM
10182016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1019
1020 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1021 (site.exp): Assign abs_srcdir to tcl's srcdir.
1022
31d913c7
YQ
10232016-02-04 Yao Qi <yao.qi@linaro.org>
1024
1025 * gdb.base/foll-exec-mode.c: Include limits.h.
1026 (main): Add parameters argc and argv. Get directory from
1027 argv[0].
1028 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1029 compilation.
1030 * gdb.base/foll-exec.c: Include limits.h.
1031 (main): Add parameters argc and argv.
1032 Get directory from argv[0].
1033 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1034 Adjust tests on the number of lines as source code changed.
1035 * gdb.base/foll-vfork-exit.c: Include limits.h.
1036 (main): Add one line of statement before vfork.
1037 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1038 (main): Add parameters argc and argv. Get directory from
1039 argv[0].
1040 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1041 (setup_gdb): Set tbreak to skip some source lines.
1042 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1043 (main): Add parameters argc and argv. Get directory from
1044 argv[0].
1045 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1046 compilation.
1047 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1048 (main): Add parameters argc and argv. Get directory from
1049 argv[0].
1050 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1051 compilation.
1052
9482b9fb
DE
10532016-02-01 Doug Evans <dje@google.com>
1054
1055 * gdb.base/skip.exp: Clean up multiple references to same test name.
1056
6b2e4f10
PA
10572016-02-01 Pedro Alves <palves@redhat.com>
1058
ccb6afd6 1059 PR remote/19496
6b2e4f10
PA
1060 * gdb.threads/forking-threads-plus-breakpoint.exp
1061 (displaced_stepping_supported): New global.
1062 (probe_displaced_stepping_support): New procedure.
1063 (do_test): Add 'displaced' parameter, and use it.
1064 (top level): Check for displaced stepping support. Add displaced
1065 stepping on/off testing axis.
1066
37a8db1a
AB
10672016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1068
1069 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1070 pointer. Don't perform further tests on the unassociated pointer
1071 if the first test fails.
1072
5fdf6324
AB
10732016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1074
1075 * gdb.base/max-value-size.c: New file.
1076 * gdb.base/max-value-size.exp: New file.
1077 * gdb.base/huge.exp: Disable max-value-size for this test.
1078
935c6144
IB
10792016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1080
1081 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1082
7fe8399d
YQ
10832016-01-28 Yao Qi <yao.qi@linaro.org>
1084
1085 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1086
a2077e25
PA
10872016-01-25 Pedro Alves <palves@redhat.com>
1088
1089 PR threads/19461
1090 * gdb.base/fork-running-state.c: New file.
1091 * gdb.base/fork-running-state.exp: New file.
1092
1d2736d4
PA
10932016-01-25 Pedro Alves <palves@redhat.com>
1094
1095 PR gdb/19494
1096 * gdb.base/catch-fork-kill.c: New file.
1097 * gdb.base/catch-fork-kill.exp: New file.
1098
f1da4b11
PA
10992016-01-25 Pedro Alves <palves@redhat.com>
1100
1101 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1102 Delete, moved to lib/gdb.exp.
1103 * gdb.threads/forking-threads-plus-breakpoint.exp
1104 (foreach_with_prefix): Likewise.
1105 * gdb.threads/process-dies-while-handling-bp.exp
1106 (foreach_with_prefix): Likewise.
1107 * lib/gdb.exp (foreach_with_prefix): New procedure.
1108
45f38546
MK
11092016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1110
1111 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1112 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1113
dc29a1ce
MK
11142016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1115
1116 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1117 endian targets.
1118
092127d7
JK
11192016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1120 Pedro Alves <palves@redhat.com>
1121
1122 Fix testsuite compatibility with Guile.
1123 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1124 number.
1125
31d765d3
JK
11262016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1127
1128 Fix testsuite compatibility with Guile.
1129 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1130 (thread 1): New test for backtrace through signal handler.
1131
1ac78c04
YQ
11322016-01-22 Yao Qi <yao.qi@linaro.org>
1133
1134 PR testsuite/19491
1135 * gdb.base/multi-forks.c: Include
1136 ../lib/unbuffer_output.c
1137 (main): Call gdb_unbuffer_output.
1138
4f5946a8
DE
11392016-01-21 Doug Evans <dje@google.com>
1140
1141 * lib/ada.exp (gdb_compile_ada): Fix typo.
1142
305e13e6
JB
11432016-01-21 Joel Brobecker <brobecker@adacore.com>
1144
1145 * gdb.base/break-fun-addr.exp: New file.
1146 * gdb.base/break-fun-addr1.c: New file.
1147 * gdb.base/break-fun-addr2.c: New file.
1148
5f5dfff6
SM
11492016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1150
1151 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1152 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1153 enum flag values.
1154
fd356fa2
AA
11552016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1156
1157 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1158 when GDB can not set the vector return value. Add more comments
1159 for clarification.
1160
9df22175
AT
11612016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1162
1163 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1164 command.
1165
41d1845e
SM
11662016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1167
1168 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1169
01ac6840
SM
11702016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1171
1172 * Makefile.in (check-single): Pass --status to runtest.
1173 (check/%.exp): Likewise.
1174
11752016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1176
1177 * Makefile.in (check-parallel): Propagate return code from make
1178 do-check-parallel.
1179
bd0a71fa
MK
11802016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1181
1182 * gdb.trace/ftrace.exp: Fix expected message on continue.
1183 * gdb.trace/pending.exp: Fix expected message on continue.
1184 * gdb.trace/trace-break.exp: Fix expected message on continue.
1185
8bcbad33
SM
11862016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1187
1188 * lib/gdb.exp (gdb_test): Remove unused global references.
1189
f303dbd6
PA
11902016-01-18 Pedro Alves <palves@redhat.com>
1191
1192 * gdb.base/async-shell.exp: Adjust expected output.
1193 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1194 * gdb.base/siginfo-thread.exp: Adjust expected output.
1195 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1196 * gdb.java/jnpe.exp: Adjust expected output.
1197 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1198 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1199 * gdb.threads/leader-exit.exp: Adjust expected output.
1200 * gdb.threads/manythreads.exp: Adjust expected output.
1201 * gdb.threads/pthreads.exp: Adjust expected output.
1202 * gdb.threads/schedlock.exp: Adjust expected output.
1203 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1204 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1205 expected output.
1206 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1207 output.
1208 * gdb.threads/sigthread.exp: Adjust expected output.
1209 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1210
b2789696
YQ
12112016-01-18 Yao Qi <yao.qi@linaro.org>
1212
1213 * gdb.guile/scm-section-script.c: Replace @progbits with
1214 %progbits.
1215 * gdb.python/py-section-script.c: Likewise.
1216
71ef29a8
PA
12172016-01-15 Pedro Alves <palves@redhat.com>
1218
1219 * gdb.multi/tids.exp: Test star wildcard ranges.
1220
3f5b7598
PA
12212016-01-15 Pedro Alves <palves@redhat.com>
1222
1223 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1224 command from "thread apply" invocation.
1225 (thr_apply_info_thr_invalid): Default the expected output to the
1226 input tid list.
1227 (top level): Add tests that use convenience variables. Add tests
1228 for "thread apply" with a valid TID list, but missing the command.
1229
663f6d42
PA
12302016-01-13 Pedro Alves <palves@redhat.com>
1231
1232 * gdb.base/default.exp: Expect $_gthread as well.
1233 * gdb.multi/tids.exp: Test $_gthread.
1234 * gdb.threads/thread-specific.exp: Test $_gthread.
1235
c84f6bbf
PA
12362016-01-13 Pedro Alves <palves@redhat.com>
1237
1238 * gdb.multi/tids.exp: Test "info threads -gid".
1239
22a02324
PA
12402016-01-13 Pedro Alves <palves@redhat.com>
1241
1242 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1243 Breakpoint.thread.
1244 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1245
5d5658a1
PA
12462016-01-07 Pedro Alves <palves@redhat.com>
1247
1248 * gdb.base/break.exp: Adjust to output changes.
1249 * gdb.base/hbreak2.exp: Likewise.
1250 * gdb.base/sepdebug.exp: Likewise.
1251 * gdb.base/watch_thread_num.exp: Likewise.
1252 * gdb.linespec/keywords.exp: Likewise.
1253 * gdb.multi/info-threads.exp: Likewise.
1254 * gdb.threads/thread-find.exp: Likewise.
1255 * gdb.multi/tids.c: New file.
1256 * gdb.multi/tids.exp: New file.
1257
84654457
PA
12582016-01-13 Pedro Alves <palves@redhat.com>
1259
1260 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1261
e3940304
PA
12622016-01-13 Pedro Alves <palves@redhat.com>
1263
1264 * gdb.base/default.exp: Expect $_inferior as well.
1265 * gdb.multi/base.exp: Test $_inferior.
1266
a911d87a
PA
12672016-01-13 Pedro Alves <palves@redhat.com>
1268
1269 PR breakpoints/19388
1270 * gdb.base/catch-signal-siginfo-cond.c: New file.
1271 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1272
82075af2
JS
12732016-01-12 Josh Stone <jistone@redhat.com>
1274 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1275
1276 * gdb.base/catch-syscall.c (do_execve): New variable.
1277 (main): Conditionally trigger an execve.
1278 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1279 (test_catch_syscall_execve): New, check entry/return across execve.
1280 (do_syscall_tests): Call test_catch_syscall_execve.
1281
e46eeedd
PA
12822016-01-12 Pedro Alves <palves@redhat.com>
1283
1284 * gdb.base/random-signal.exp (do_test): New procedure, with body
1285 of testcase moved in.
1286
01d8c27e
JK
12872016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1288 Pedro Alves <palves@redhat.com>
1289
1290 * gdb.base/funcargs.exp (finish from indirectly called function):
1291 Reintroduce the case for 'First'.
1292
9a706302
JK
12932016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1294 Pedro Alves <palves@redhat.com>
1295
1296 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1297 (tcatch_vfork_then_child_follow_exec)
1298 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1299 identification.
1300
c0ecb95f
JK
13012016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1302
1303 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1304 and repeats to unlimited.
1305 * gdb.python/py-value.exp: Likewise.
1306 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1307 and repeats to unlimited.
1308
6cfc1fcb
JK
13092016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1310
1311 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1312 and reordering the functions.
1313 * gdb.multi/hangout.c: Likewise.
1314 * gdb.multi/hello.c: Likewise.
1315
582a1b00
SM
13162016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1317
1318 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1319 absolute.
1320 (SingleStatisticTestResult.report): Use dict.keys instead of
1321 dict.iterkeys.
1322
79bc59cb
PA
13232016-01-06 Pedro Alves <palves@redhat.com>
1324
1325 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1326
43368e1d
MM
13272016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1328
1329 * gdb.btrace/dlopen.exp: New.
1330 * gdb.btrace/dlopen.c: New.
1331 * gdb.btrace/dlopen-dso.c: New.
1332
79fad5b8
SL
13332015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1334
1335 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1336 PATTERN argument is optional.
1337
ab8314b3
JB
13382015-12-24 Joel Brobecker <brobecker@adacore.com>
1339
1340 * lib/ada.exp (target_compile_ada_from_dir): New function.
1341 (gdb_compile_ada): Reimplement avoiding the use of project files.
1342 * gdb.ada/gnat_ada.gpr: Delete.
1343 * gdb.ada/cond_lang.exp: Adjust test to make path before
1344 filename optional.
1345 * gdb.ada/small_reg_param.exp: Likewise.
1346
fe33faff
SM
13472015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1348
1349 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1350
6d265cb4
TP
13512015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1352
1353 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1354 case.
1355
10125099
SM
13562015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1357
1358 * gdb.base/break.exp: Remove dead code.
1359 * gdb.base/sepdebug.exp: Likewise.
1360
3ca22649
SM
13612015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1362
1363 * gdb.asm/asm-source.exp: Remove HP-UX references.
1364 * gdb.base/annota1.exp: Likewise.
1365 * gdb.base/annota3.exp: Likewise.
1366 * gdb.base/attach.exp: Likewise.
1367 * gdb.base/bigcore.exp: Likewise.
1368 * gdb.base/break.exp: Likewise.
1369 * gdb.base/call-ar-st.exp: Likewise.
1370 * gdb.base/callfuncs.exp: Likewise.
1371 * gdb.base/catch-fork-static.exp: Likewise.
1372 * gdb.base/display.exp: Likewise.
1373 * gdb.base/foll-exec-mode.exp: Likewise.
1374 * gdb.base/foll-exec.exp: Likewise.
1375 * gdb.base/foll-fork.exp: Likewise.
1376 * gdb.base/foll-vfork.exp: Likewise.
1377 * gdb.base/funcargs.exp: Likewise.
1378 * gdb.base/hbreak2.exp: Likewise.
1379 * gdb.base/inferior-died.exp: Likewise.
1380 * gdb.base/interrupt.exp: Likewise.
1381 * gdb.base/multi-forks.exp: Likewise.
1382 * gdb.base/nodebug.exp: Likewise.
1383 * gdb.base/sepdebug.exp: Likewise.
1384 * gdb.base/solib1.c: Likewise.
1385 * gdb.base/step-test.exp: Likewise.
1386 * gdb.mi/non-stop.c: Likewise.
1387 * gdb.mi/pthreads.c: Likewise.
1388 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1389 * gdb.threads/pthreads.c: Likewise.
1390 * gdb.threads/staticthreads.exp: Likewise.
1391 * lib/future.exp: Likewise.
1392 * lib/gdb.exp: Likewise.
1393 * gdb.base/so-indr-cl.c: Remove.
1394 * gdb.base/so-indr-cl.exp: Likewise.
1395 * gdb.base/solib.c: Likewise.
1396 * gdb.base/solib.exp: Likewise.
1397 * gdb.base/solib2.c: Likewise.
1398
b6304613
SM
13992015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1400
1401 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1402 * gdb.base/call-ar-st.exp: Likewise.
1403 * gdb.base/callfuncs.exp: Likewise.
1404 * gdb.base/condbreak.exp: Likewise.
1405 * gdb.base/constvars.exp: Likewise.
1406 * gdb.base/hbreak2.exp: Likewise.
1407 * gdb.base/langs.exp: Likewise.
1408 * gdb.base/list.exp: Likewise.
1409 * gdb.base/long_long.exp: Likewise.
1410 * gdb.base/ptype.exp: Likewise.
1411 * gdb.base/scope.exp: Likewise.
1412 * gdb.base/signals.exp: Likewise.
1413 * gdb.base/so-impl-ld.exp: Likewise.
1414 * gdb.base/varargs.exp: Likewise.
1415 * gdb.base/volatile.exp: Likewise.
1416 * gdb.base/whatis.exp: Likewise.
1417 * gdb.cp/cplusfuncs.exp: Likewise.
1418 * gdb.cp/inherit.exp: Likewise.
1419 * gdb.cp/local.exp: Likewise.
1420 * gdb.cp/member-ptr.exp: Likewise.
1421 * gdb.cp/method.exp: Likewise.
1422 * gdb.cp/overload.exp: Likewise.
1423 * gdb.cp/templates.exp: Likewise.
1424 * gdb.stabs/weird.exp: Likewise.
1425 * lib/compiler.c: Likewise.
1426 * lib/compiler.cc: Likewise.
1427 * lib/cp-support.exp: Likewise.
1428 * lib/gdb.exp: Likewise.
1429
bf401b07
SM
14302015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1431
1432 * configure.ac: Remove HP-UX case.
1433 * configure: Regenerate.
1434
aff9c0f8
SM
14352015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1436
1437 * lib/gdb.exp (gdb_compile): Add function doc.
1438
a6904d5a
PA
14392015-12-17 Pedro Alves <palves@redhat.com>
1440
1441 PR threads/19354
1442 * gdb.multi/info-threads.exp: New file.
1443
a22279dd
YQ
14442015-12-15 Yao Qi <yao.qi@linaro.org>
1445
1446 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1447 is aarch64*-*-*.
1448
0588c796
SL
14492015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1450
1451 * gdb.base/history-duplicates.exp: Skip if no readline support.
1452
5d978e17
SL
14532015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1454
1455 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1456
7e763b86
SL
14572015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1458
1459 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1460
87a3a92c
SL
14612015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1462
1463 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1464 ctrl-C if nointerrupts target property is set.
1465 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1466 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1467 * gdb.base/paginate-bg-execution.exp: Likewise.
1468 * gdb.base/paginate-execution-startup.exp: Likewise.
1469 * gdb.base/random-signal.exp: Likewise.
1470 * gdb.base/range-stepping.exp: Likewise.
1471 * gdb.cp/annota2.exp: Likewise.
1472 * gdb.cp/annota3.exp: Likewise.
1473 * gdb.gdb/selftest.exp: Likewise.
1474 * gdb.threads/continue-pending-status.exp: Likewise.
1475 * gdb.threads/leader-exit.exp: Likewise.
1476 * gdb.threads/manythreads.exp: Likewise.
1477 * gdb.threads/pthreads.exp: Likewise.
1478 * gdb.threads/schedlock.exp: Likewise.
1479 * gdb.threads/sigthread.exp: Likewise.
1480
a8f077dc
DB
14812015-12-11 Don Breazeal <donb@codesourcery.com>
1482
1483 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1484 remote.
1485 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1486 * gdb.base/foll-exec.exp (main): Enable for target remote.
1487 * gdb.base/foll-fork.exp (main): Likewise.
1488 * gdb.base/foll-vfork.exp (main): Likewise.
1489 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1490 (proc continue_to_exit_bp_loc): Use clean_restart.
1491 * gdb.base/pie-execl.exp (main): Disable for target remote.
1492 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1493 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1494 * gdb.threads/execl.exp (main): Likewise.
1495 * gdb.threads/fork-child-threads.exp (main): Likewise.
1496 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1497 remote.
1498 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1499 remote.
1500 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1501 pid.tid style ptids, instead of just tid.
1502 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1503 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1504 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1505 ptids, instead of just tid.
1506
3b2464a8
AB
15072015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1508
1509 * gdb.base/list.exp (test_list_forward): Add end of file error
1510 test.
1511 (test_repeat_list_command): Add end of file error test.
1512 (test_list_backwards): Add beginning of file error test.
1513
a0def019
AB
15142015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1515
1516 * gdb.base/list.exp (test_list_invalid_args): New function,
1517 defined, and called.
1518
5c000dff
AB
15192015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1520
1521 * gdb.base/list.exp (test_list): Make test names unique.
1522
f1637ebe
YQ
15232015-12-11 Yao Qi <yao.qi@linaro.org>
1524
1525 * gdb.base/coremaker2.c: Remove.
1526
36d6fc0a
PA
15272015-12-10 Pedro Alves <palves@redhat.com>
1528
1529 * gdb.multi/base.exp: Remove stale "spaces" references.
1530
762f7747
PA
15312015-12-10 Pedro Alves <palves@redhat.com>
1532
1533 * gdb.multi/base.exp: Don't use nowarnings.
1534 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1535 * gdb.multi/hangout.c: Include stdio.h.
1536 * gdb.multi/hello.c: Include stdlib.h.
1537 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1538 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1539 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1540
28d2bfb9
AB
15412015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1542
1543 * gdb.dwarf2/dw2-ranges-base.c: New file.
1544 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1545 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1546 support additional line table, and debug ranges generation.
1547 (Dwarf::ranges): New function, generate .debug_ranges.
1548 (Dwarf::lines): Support generating simple line table programs.
1549 (Dwarf::assemble): Initialise new namespace variables.
1550
5fc2beac
KB
15512015-12-09 Kevin Buettner <kevinb@redhat.com>
1552
1553 * gdb.base/async.exp (proc test_background): Add case for
1554 asynchronous execution not supported.
1555
1c35a88f
LM
15562015-12-09 Luis Machado <lgustavo@codesourcery.com>
1557
1558 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1559 format and change test names to make them unique.
1560
b593e3d9
RK
15612015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1562 Pedro Alves <pedro@redhat.com>
1563
1564 PR gdb/18702
1565 Add checking of floatformats setup on x86_64 hosts.
1566 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1567 (smallval, bigval): New labels/constants.
1568 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1569 float" after loading bigval and smallval.
1570
d72413e6
PMR
15712015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1572
1573 * gdb.ada/fun_overload_menu.exp: New testcase.
1574 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1575
ece66d65
JS
15762015-12-04 Josh Stone <jistone@redhat.com>
1577
1578 * gdb.base/catch-fork-static.exp: New.
1579
41d0efca
YQ
15802015-12-03 Yao Qi <yao.qi@linaro.org>
1581
1582 * gdb.base/sizeof.c: Don't include stdio.h and
1583 ../lib/unbuffer_output.c.
1584 (main): New variable 'size' and 'value'. Remove printf and
1585 gdb_unbuffer_output. Assign return value to size and value.
1586 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1587 at the beginning.
1588 (check_sizeof): Check the result by printing variable 'size'.
1589 (check_valueof): Check the result by printing variable 'value'.
1590
99fd02d9
YQ
15912015-12-01 Yao Qi <yao.qi@linaro.org>
1592
1593 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1594 for aarch64*-*-linux* target.
1595
f2faf941
PA
15962015-11-30 Pedro Alves <palves@redhat.com>
1597
1598 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1599
04bf20c5
PA
16002015-11-30 Pedro Alves <palves@redhat.com>
1601
1602 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1603 Handle non-stop mode vCont replies.
1604
09df4675
PA
16052015-11-30 Pedro Alves <palves@redhat.com>
1606
1607 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1608 prepare_for_testing. Start gdb with "set non-stop on" appended to
1609 GDBFLAGS. Lax expected stop output.
1610
58b584af
YQ
16112015-11-27 Yao Qi <yao.qi@linaro.org>
1612
1613 * gdb.arch/arm-neon.exp: New.
1614 * gdb.arch/arm-neon.c: New.
1615
dfcb77a8
YQ
16162015-11-27 Yao Qi <yao.qi@linaro.org>
1617
1618 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1619
88e8ec1b
YQ
16202015-11-27 Yao Qi <yao.qi@linaro.org>
1621
1622 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1623 frames-invalid annotation.
1624
bfde72c2
YQ
16252015-11-27 Yao Qi <yao.qi@linaro.org>
1626
1627 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1628
f6512a69
SM
16292015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1630
1631 * gdb.threads/names.exp: New file.
1632 * gdb.threads/names.c: New file.
1633 * README: Mention gdb,no_thread_names.
1634
46a3515b
MM
16352015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1636
1637 PR 19297
1638 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1639 support" error.
1640
62147a22
PA
16412015-11-24 Pedro Alves <palves@redhat.com>
1642
1643 PR 17539
1644 * gdb.base/display.exp: Expect displays to be sorted in ascending
1645 order. Use multi_line.
1646 * gdb.base/solib-display.exp: Likewise.
1647
2f341b6e
PA
16482015-11-24 Pedro Alves <palves@redhat.com>
1649
1650 PR 17539
1651 * gdb.base/display.exp: Expect displays to be sorted in ascending
1652 order. Use multi_line.
1653 * gdb.base/solib-display.exp: Likewise.
1654
7e0aa6aa
PA
16552015-11-24 Pedro Alves <palves@redhat.com>
1656
1657 PR 17539
1658 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1659 threads in ascending order.
1660 * gdb.base/foll-fork.exp: Likewise.
1661 * gdb.base/foll-vfork.exp: Likewise.
1662 * gdb.base/multi-forks.exp: Likewise.
1663 * gdb.mi/mi-nonstop.exp: Likewise.
1664 * gdb.mi/mi-nsintrall.exp: Likewise.
1665 * gdb.multi/base.exp: Likewise.
1666 * gdb.multi/multi-arch.exp: Likewise.
1667 * gdb.python/py-inferior.exp: Likewise.
1668 * gdb.threads/break-while-running.exp: Likewise.
1669 * gdb.threads/execl.exp: Likewise.
1670 * gdb.threads/gcore-thread.exp: Likewise.
1671 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1672 * gdb.threads/kill.exp: Likewise.
1673 * gdb.threads/linux-dp.exp: Likewise.
1674 * gdb.threads/multiple-step-overs.exp: Likewise.
1675 * gdb.threads/next-bp-other-thread.exp: Likewise.
1676 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1677 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1678 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1679 * gdb.threads/thread-find.exp: Likewise.
1680 * gdb.threads/tls.exp: Likewise.
1681 * lib/mi-support.exp (mi_reverse_list): Delete.
1682 (mi_check_thread_states): No longer reverse list.
1683
2cc57ad8
PA
16842015-11-24 Pedro Alves <palves@redhat.com>
1685
1686 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1687 use lowercase.
1688
c93e8391
SM
16892015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1690
1691 * gdb.trace/actions.c: Include trace-common.h.
1692 (main): Add a location for a fast tracepoint.
1693 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1694 the normal tracepoints.
1695 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1696
045ccf91
SM
16972015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1698
1699 * save-trace.exp: Factor out code to these...
1700 (gdb_save_tracepoints): New.
1701 (gdb_load_tracepoints): New.
1702 (do_save_load_test): New.
1703
5506f9f6
KB
17042015-11-23 Kevin Buettner <kevinb@redhat.com>
1705
1706 * gdb.base/asmlabel.exp: New test.
1707 * gdb.base/asmlabel.c: New test case.
1708
16c3b12f
JB
17092015-11-23 Joel Brobecker <brobecker@adacore.com>
1710
1711 * gdb.base/wrong_frame_bt_full-main.c: New file.
1712 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1713 * gdb.base/wrong_frame_bt_full.exp: New file.
1714
155bfbd3
JB
17152015-11-23 Joel Brobecker <brobecker@adacore.com>
1716
1717 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1718
bb097445
JM
17192015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1720
206853a0 1721 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
1722 pstate register when comparing registers values in
1723 sparc64-*-linux-gnu targets to avoid spurious differences.
1724
9c88ed8f
JM
17252015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1726
206853a0 1727 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 1728
96161e25
SL
17292015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1730
1731 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1732 as type argument to gdb_compile.
1733 * gdb.base/nested-subp2.exp: Likewise.
1734 * gdb.base/nested-subp3.exp: Likewise.
1735
340c2830
DV
17362015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1737
1738 * lib/dwarf.exp (_note): Fix left shift of negative value.
1739 * gdb.trace/trace-condition.exp: Likewise.
1740
c1862d0f
YQ
17412015-11-13 Yao Qi <yao.qi@linaro.org>
1742
1743 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1744 comments about d10v.
1745 (test_scalar_returns): Likewise.
1746 * gdb.base/d10v.ld: Remove.
1747 * gdb.base/overlays.exp: Remove the target triplet checking for
1748 d10v-*-*.
1749 * gdb.base/structs.exp (test_struct_returns): Remove the
1750 comments about d10v.
1751 (test_struct_calls): Likewise.
1752
77ae9c19
YQ
17532015-11-13 Yao Qi <yao.qi@linaro.org>
1754
1755 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1756 * gdb.base/gnu_vector.c: Don't include stdio.h.
1757 (main): Don't print res and call add_some_intvecs.
1758
430e004e
MK
17592015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1760
1761 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1762 macro.
1763 (func5): Removed.
1764 (func4): Use FAST_TRACEPOINT_LABEL.
1765 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1766 macro.
1767 (func): Removed.
1768 (thread_function): Use FAST_TRACEPOINT_LABEL.
1769 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1770 (func): Remove.
1771 (marker): Use FAST_TRACEPOINT_LABEL.
1772 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1773 (pendfunc1): Remove.
1774 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1775 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1776 (foo): Remove.
1777 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1778 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1779 macro.
1780 (func): Remove.
1781 (marker): Use FAST_TRACEPOINT_LABEL.
1782 * gdb.trace/trace-common.h: New header.
1783 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1784 macro.
1785 (func): Remove.
1786 (marker): Use FAST_TRACEPOINT_LABEL.
1787 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1788 (func): Remove.
1789 (thread_function): Use FAST_TRACEPOINT_LABEL.
1790
6e7675a7
MK
17912015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1792
1793 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1794 in front.
1795 * gdb.trace/change-loc.exp: Use global pcreg definition.
1796 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1797 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1798 in front.
1799 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1800 * gdb.trace/pending.exp: Likewise.
1801 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1802 * gdb.trace/trace-break.exp: Likewise.
1803 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1804 in front.
1805 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1806 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1807 in front.
1808 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1809
dddc0e16
JB
18102015-11-09 Joel Brobecker <brobecker@adacore.com>
1811
1812 * gdb.ada/fin_fun_out: New testcase.
1813
c6f0b406
KB
18142015-11-07 Kevin Buettner <kevinb@redhat.com>
1815
1816 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1817 value associated with DW_AT_byte_size.
1818 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1819 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1820 DW_AT_upper_bound.
1821
f01dcfd9
KB
18222015-11-07 Kevin Buettner <kevinb@redhat.com>
1823
1824 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1825 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1826 version.
1827 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1828 gdb.dwarf2/dw2-canonicalize-type.exp,
1829 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1830 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1831 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1832 provided by gdb_target_symbol_prefix_flags_asm.
1833 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1834 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1835 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1836 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1837 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1838 macros where needed). Use this macro for symbols which require
1839 the prefix provided by SYMBOL_PREFIX.
1840
2223449a
KB
18412015-11-05 Kevin Buettner <kevinb@redhat.com>
1842
1843 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1844 New procs.
1845 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1846 representing expressions, of more than one list element.
1847 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1848 to prepend linker symbol prefix to f.
1849 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1850 table_1 and table_2.
1851 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1852 Likewise, for f and g.
1853 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1854 for ptr.
1855 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1856 for main.
1857 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1858 table_1_ptr and table_2_ptr.
1859
6f2f1a3a
JK
18602015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1861 Joel Brobecker <brobecker@adacore.com>
1862
1863 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1864
566c56c9
MK
18652015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1866
1867 * gdb.reverse/s390-mvcle.c: New test.
1868 * gdb.reverse/s390-mvcle.exp: New file.
1869 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1870
d5f0636b
MK
18712015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1872
1873 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1874
7ad8b86c
MK
18752015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1876
1877 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1878 reaching marker2.
1879 * gdb.reverse/getresuid-reverse.exp: Likewise.
1880 * gdb.reverse/pipe-reverse.exp: Likewise.
1881 * gdb.reverse/readv-reverse.exp: Likewise.
1882 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1883 * gdb.reverse/time-reverse.exp: Likewise.
1884 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1885
4081c0f1
YQ
18862015-10-30 Yao Qi <yao.qi@linaro.org>
1887
1888 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1889 (empty_cycle): Remove.
1890 (main): Don't call empty_cycle. Don't use watch_count_done.
1891 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1892 empty_cycle. Rewrite the code counting HW watchpoints.
1893
452b4ba5
MK
18942015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1895
1896 * gdb.reverse/fstatat-reverse.c: New test.
1897 * gdb.reverse/fstatat-reverse.exp: New file.
1898 * gdb.reverse/getresuid-reverse.c: New test.
1899 * gdb.reverse/getresuid-reverse.exp: New file.
1900 * gdb.reverse/pipe-reverse.c: New test.
1901 * gdb.reverse/pipe-reverse.exp: New file.
1902 * gdb.reverse/readv-reverse.c: New test.
1903 * gdb.reverse/readv-reverse.exp: New file.
1904 * gdb.reverse/recvmsg-reverse.c: New test.
1905 * gdb.reverse/recvmsg-reverse.exp: New file.
1906 * gdb.reverse/time-reverse.c: New test.
1907 * gdb.reverse/time-reverse.exp: New file.
1908 * gdb.reverse/waitpid-reverse.c: New test.
1909 * gdb.reverse/waitpid-reverse.exp: New file.
1910
5e2e7507
JK
19112015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1912
1913 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1914
0fde2c53
DE
19152015-10-26 Doug Evans <dje@google.com>
1916
1917 PR symtab/17391
1918 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1919 * gdb.dwarf2/bad-regnum.c: New file.
1920 * gdb.dwarf2/bad-regnum.exp: New file.
1921
1a70ae97
DE
19222015-10-26 Doug Evans <dje@google.com>
1923
1924 PR python/18938
1925 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1926 file.
1927
27dc26ab
JK
19282015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1929
1930 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1931 for a change by "Mention language in compile error message".
1932
bed91f4d
SM
19332015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1934
1935 PR python/18073
1936 * gdb.python/py-type.c (C::a_method): New.
1937 (C::a_const_method): New.
1938 (C::a_static_method): New.
1939 (a_function): New.
1940 * gdb.python/py-type.exp (test_fields): Test getting fields
1941 from function and method.
1942
3f2f83dd
KB
19432015-10-21 Keven Boell <keven.boell@intel.com>
1944
1945 * gdb.fortran/vla-alloc-assoc.exp: New file.
1946 * gdb.fortran/vla-datatypes.exp: New file.
1947 * gdb.fortran/vla-datatypes.f90: New file.
1948 * gdb.fortran/vla-history.exp: New file.
1949 * gdb.fortran/vla-ptype-sub.exp: New file.
1950 * gdb.fortran/vla-ptype.exp: New file.
1951 * gdb.fortran/vla-sizeof.exp: New file.
1952 * gdb.fortran/vla-sub.f90: New file.
1953 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1954 * gdb.fortran/vla-value-sub-finish.exp: New file.
1955 * gdb.fortran/vla-value-sub.exp: New file.
1956 * gdb.fortran/vla-value.exp: New file.
1957 * gdb.fortran/vla-ptr-info.exp: New file.
1958 * gdb.mi/mi-vla-fortran.exp: New file.
1959 * gdb.mi/vla.f90: New file.
1960
27145d50
SL
19612015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1962
1963 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1964 of hardwired timeout value.
1965
5f3ff4f8
JK
19662015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1967 Pedro Alves <palves@redhat.com>
1968
1969 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1970 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1971
bfd09d20
JS
19722015-10-19 Josh Stone <jistone@redhat.com>
1973
1974 * gdb.base/catch-syscall.c: Include <sched.h>.
1975 (unknown_syscall): New variable.
1976 (main): Trigger a vfork and an unknown syscall.
1977 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1978 (unknown_syscall_number): Likewise.
1979 (check_call_to_syscall): Accept an optional syscall pattern.
1980 (check_return_from_syscall): Likewise.
1981 (check_continue): Likewise.
1982 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1983 (test_catch_syscall_skipping_return): New test toggling off 'catch
1984 syscall' to step over the syscall return, then toggling back on.
1985 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1986 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1987 (do_syscall_tests): Call test_catch_syscall_without_args and
1988 test_catch_syscall_mid_vfork.
1989 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1990 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1991
b32b93c6
AS
19922015-10-19 Andrew Stubbs <ams@codesourcery.com>
1993
1994 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1995 print g_vE): Add new pass patterns.
1996 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1997 print various symbol names for vptr fields.
1998
9d622bda
AB
19992015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2000
2001 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2002 results.
2003
0fd8ac1c
YQ
20042015-10-12 Yao Qi <yao.qi@linaro.org>
2005
2006 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2007
34240514
YQ
20082015-10-12 Yao Qi <yao.qi@linaro.org>
2009
2010 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2011 is aarch64*-*-linux*.
2012
8240f442
YQ
20132015-10-12 Yao Qi <yao.qi@linaro.org>
2014
2015 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2016 (can_relocate_bcond_true): ... it.
2017 (can_relocate_bcond_false): New function.
2018 (foo): Likewise.
2019 (can_relocate_bl): Likewise.
2020 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2021 can_relocate_bl.
2022
2520f728
PMR
20232015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2024
2025 * gdb.base/nested-addr.c: New file.
2026 * gdb.base/nested-addr.exp: New testcase.
2027
abcef95a
MM
20282015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2029
2030 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2031 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2032 its output. Ignore the output of "record goto begin" and instead
2033 check that GDB is replaying.
2034
145e3ddb
PA
20352015-10-09 Pedro Alves <palves@redhat.com>
2036
2037 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2038 (top level): Use it in the run with no args test.
2039
d5d8c4e1
IB
20402015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2041
2042 * gdb.dlang/properties.exp: New file.
2043
06e635ef
SL
20442015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2045
2046 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2047 whether or not address 0x1000 is mapped on the target.
2048
e019fd1d
SM
20492015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2050
2051 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2052 build.
2053
77ba2a67
MM
20542015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2055
2056 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2057 instruction-history test.
2058
c60eb31f
DE
20592015-09-28 Doug Evans <dje@google.com>
2060
2061 * gdb.base/gcore.c (array_func): Add reference to static_array.
2062
9a3c8263
SM
20632015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2064
2065 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2066 source line.
2067
9720e656
SL
20682015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2069
2070 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2071 short or char as base type.
2072
938d3bf2
SL
20732015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2074
2075 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2076 to allow any size enum.
2077
e6c2c623
PMR
20782015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2079
2080 * gdb.ada/array_ptr_renaming.exp: New testcase.
2081 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2082 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2083
06da0f77
PL
20842015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2085
2086 * gdb.trace/ftrace-lock.c: New file.
2087 * gdb.trace/ftrace-lock.exp: New file.
2088
4f51c22a
PL
20892015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2090
2091 * gdb.arch/insn-reloc.c: New file.
2092 * gdb.arch/ftrace-insn-reloc.exp: New file.
2093
7041adf4
PL
20942015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2095
2096 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2097 instruction.
2098 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2099 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2100 * gdb.trace/range-stepping.c: Likewise.
2101 * gdb.trace/trace-break.c: Likewise.
2102 * gdb.trace/trace-mt.c (thread_function): Likewise.
2103 * gdb.trace/ftrace.c (marker): Likewise.
2104 * gdb.trace/trace-condition.c (marker): Likewise.
2105 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2106 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2107 is_aarch64_target.
2108
015d2e7e
DE
21092015-09-18 Doug Evans <xdje42@gmail.com>
2110
2111 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2112 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2113
26b188a2
SL
21142015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2115
2116 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2117 the breakpoint.
2118
79dc332b
SL
21192015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2120
2121 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2122 the pending breakpoint. Remove timeout override for "Run till
2123 MI pending breakpoint on pendfunc3 on thread 2" test.
2124
f57929f2
SL
21252015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2126
2127 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2128 filename pattern.
2129
3f469b17
SL
21302015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2131
2132 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2133 in breakpoint filename pattern.
2134
515b89b3
SL
21352015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2136
7800dbe4
SL
2137 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2138
21392015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2140
515b89b3
SL
2141 * gdb.linespec/explicit.exp: Check for readline support for
2142 tab-completion tests. Fix obvious typo.
2143
d2939ba2
MM
21442015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2145
2146 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2147 and replay.
2148
cbb55fa7
MM
21492015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2150
2151 * gdb.btrace/non-stop.c: New.
2152 * gdb.btrace/non-stop.exp: New.
2153
43691ca1
PL
21542015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2155 Yao Qi <yao.qi@linaro.org>
2156
2157 * gdb.trace/trace-condition.c: New file.
2158 * gdb.trace/trace-condition.exp: New file.
2159
d78908cf
WW
21602015-09-16 Wei-cheng Wang <cole945@gmail.com>
2161
2162 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2163 for testing bytecode compilation.
2164
1ed415e2
PA
21652015-09-16 Pedro Alves <palves@redhat.com>
2166 Sandra Loosemore <sandra@codesourcery.com>
2167
2168 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2169 (SECONDS): Redefine.
2170 (main): Call pthread_kill and alarm early.
2171 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2172 support.
2173 (test): If the target can't hardware step and doesn't support
2174 displaced stepping, increase the timeout.
2175
d136eff5
PA
21762015-09-16 Pedro Alves <palves@redhat.com>
2177
2178 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2179 (enable_debug): New procedures.
2180 (test): Use them. Bail out if waiting for threads fails.
2181 (top level): Bail out if a test fails.
2182
991f019c
YQ
21832015-09-16 Yao Qi <yao.qi@linaro.org>
2184
2185 * gdb.asm/asm-source.exp: Set asm-arch for
2186 aarch64*-*-* target.
2187 * gdb.asm/aarch64.inc: New file.
2188
bfca584f
PMR
21892015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2190
2191 * gdb.ada/array_of_variable_length.exp: New testcase.
2192 * gdb.ada/array_of_variable_length/foo.adb: New file.
2193 * gdb.ada/array_of_variable_length/pck.adb: New file.
2194 * gdb.ada/array_of_variable_length/pck.ads: New file.
2195
b326e587
DE
21962015-09-15 Doug Evans <dje@google.com>
2197
2198 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2199 of function static local variable.
2200
5382cfab
PW
22012015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2202
2203 * gdb.threads/tls-so_extern.exp: New test file.
2204 * gdb.threads/tls-so_extern.c: New test file.
2205 * gdb.threads/tls-so_extern_main.c: New test file.
2206
141c5cc4
JK
22072015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2208
2209 * gdb.opt/solib-intra-step-lib.c: New file.
2210 * gdb.opt/solib-intra-step-main.c: New file.
2211 * gdb.opt/solib-intra-step.exp: New file.
2212
d15dcecd
PA
22132015-09-15 Pedro Alves <palves@redhat.com>
2214
2215 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2216 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2217
4c2f2a79
PA
22182015-09-14 Pedro Alves <palves@redhat.com>
2219
2220 * gdb.base/hook-stop-continue.c: Delete.
2221 * gdb.base/hook-stop-continue.exp: Delete.
2222 * gdb.base/hook-stop-frame.c: Delete.
2223 * gdb.base/hook-stop-frame.exp: Delete.
2224 * gdb.base/hook-stop.c: New file.
2225 * gdb.base/hook-stop.exp: New file.
2226
919e6dbe
PMR
22272015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2228
2229 * gdb.ada/access_to_packed_array.exp: New testcase.
2230 * gdb.ada/access_to_packed_array/foo.adb: New file.
2231 * gdb.ada/access_to_packed_array/pack.adb: New file.
2232 * gdb.ada/access_to_packed_array/pack.ads: New file.
2233
157280a4
MM
22342015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2235
2236 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2237 buffer size test.
2238
2fd33e94
DB
22392015-09-11 Don Breazeal <donb@codesourcery.com>
2240
2241 * gdb.base/foll-exec.c: Add copyright header. Fix
2242 formatting issues.
2243 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2244 (do_exec_tests): Use clean_restart in place of zap_session,
2245 and for test initialization. Fix formatting issues. Use
2246 fail in place of perror.
2247 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2248 an expect statement to match an expression with output from
2249 the program under debug.
2250 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2251 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2252 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2253 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2254 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2255
e70b6e8e
DE
22562015-09-09 Doug Evans <dje@google.com>
2257
2258 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2259
7a551a51
DE
22602015-09-09 Doug Evans <dje@google.com>
2261
2262 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2263
4c666f84
DE
22642015-09-09 Doug Evans <dje@google.com>
2265
2266 * gdb.base/savedregs.exp: Fix typo.
2267
243a9253
PA
22682015-09-09 Pedro Alves <palves@redhat.com>
2269
2270 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2271
c0fa8fbd
SL
22722015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2273
2274 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2275 command actually switches threads. Give up on remaining
2276 tests if target fails to stop at breakpoint.
2277
cd7c1778
PMR
22782015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2279
2280 * gdb.ada/funcall_char.exp: New testcase.
2281 * gdb.ada/funcall_char/foo.adb: New file.
2282
dc5c8746
PMR
22832015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2284
2285 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2286 expected outputs. Add two testcases for completing ambiguous
2287 functions.
2288 * gdb.ada/complete/aux_pck.adb: New file.
2289 * gdb.ada/complete/aux_pck.ads: New file.
2290 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2291 Ambiguous_Func functions.
2292 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2293 * gdb.ada/complete/pck.adb: Likewise.
2294
4e83a1e7
UW
22952015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2296
2297 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2298 failures to run the test program under GDB.
2299
8ce74153
LM
23002015-08-26 Luis Machado <lgustavo@codesourcery.com>
2301
2302 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2303 to C.
2304
e9756d52
PP
23052015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2306
2307 * gdb.base/run-after-attach.exp: New test file.
2308 * gdb.base/run-after-attach.c: New test file.
2309
8d37573b
DB
23102015-08-26 Don Breazeal <donb@codesourcery.com>
2311
2312 * gdb.base/foll-exec-2.c: New test program.
2313 * gdb.base/foll-exec-2.exp: New test.
2314
63e43d3a
PMR
23152015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2316
2317 * gdb.base/nested-subp1.exp: New file.
2318 * gdb.base/nested-subp1.c: New file.
2319 * gdb.base/nested-subp2.exp: New file.
2320 * gdb.base/nested-subp2.c: New file.
2321 * gdb.base/nested-subp3.exp: New file.
2322 * gdb.base/nested-subp3.c: New file.
2323
3d40fbb5
PA
23242015-08-24 Pedro Alves <palves@redhat.com>
2325
2326 * gdb.server/connect-without-multi-process.c: New file.
2327 * gdb.server/connect-without-multi-process.exp: New file.
2328
4422ac93
LM
23292015-08-24 Luis Machado <lgustavo@codesourcery.com>
2330
2331 * gdb.opt/inline-markers.c: Make z int.
2332
91dddb86
LM
23332015-08-24 Luis Machado <lgustavo@codesourcery.com>
2334
2335 * gdb.opt/inline-markers.c: Make z volatile.
2336
a48847ee
LM
23372015-08-24 Luis Machado <lgustavo@codesourcery.com>
2338
2339 * gdb.opt/inline-bt.c: New volatile global z.
2340 * gdb.opt/inline-cmds.c: Likewise.
2341 * gdb.opt/inline-locals.c: Likewise.
2342 * gdb.opt/inline-markers.c: New extern global z.
2343 (marker): Use z.
2344 (inline_fn): Likewise.
2345
0ebbc52b
PA
23462015-08-24 Pedro Alves <palves@redhat.com>
2347
2348 * config/m32r-stub.exp: Remove file.
2349 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2350 * gdb.base/call-rt-st.exp: Likewise.
2351 * gdb.base/call-strs.exp: Likewise.
2352 * gdb.base/default.exp: Remove references to h8300-*-hms and
2353 *-*-udi*.
2354 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2355
77c365df
AA
23562015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2357
2358 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2359 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2360 and "return" use KFAIL when GDB can not read/write the vector
2361 return value.
2362
4313b8c0
GB
23632015-08-21 Gary Benson <gbenson@redhat.com>
2364
2365 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2366
0e433b32
PA
23672015-08-20 Pedro Alves <palves@redhat.com>
2368
2369 * gdb.server/solib-list.exp: No longer expect an interior stop in
2370 non-stop mode.
2371
221e1a37
PA
23722015-08-20 Pedro Alves <palves@redhat.com>
2373
2374 * gdb.server/connect-stopped-target.c: New file.
2375 * gdb.server/connect-stopped-target.exp: New file.
2376
40e3ad0e
PA
23772015-08-20 Pedro Alves <palves@redhat.com>
2378
2379 * gdb.dwarf2/comp-unit-lang.exp: New file.
2380 * gdb.dwarf2/comp-unit-lang.c: New file.
2381
af39b327
PMR
23822015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2383
2384 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2385 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2386
7d45c7c3 23872015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2388
7d45c7c3
KB
2389 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2390 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2391
4d6cceb4
DE
23922015-08-18 Doug Evans <dje@google.com>
2393 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2394
2395 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2396 skip_python_tests. New arg prompt_regexp.
2397 (skip_python_tests): New function.
2398 * lib/mi-support.exp (mi_skip_python_tests): New function.
2399 * gdb.python/py-mi-objfile-gdb.py: New file.
2400 * gdb.python/py-mi-objfile.c: New file.
2401 * gdb.python/py-mi-objfile.exp: New file.
2402
ad89c2aa
KS
24032015-08-17 Keith Seitz <keiths@redhat.com>
2404
2405 * gdb.linespec/explicit.exp: Move strace test from here ...
2406 * gdb.trace/strace.exp: ... to here.
2407
e3ae3c43
PP
24082015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2409
2410 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2411 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2412
604b2636
DE
24132015-08-14 Doug Evans <xdje42@gmail.com>
2414
2415 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2416 inferior before selecting a new file.
2417
6ff0ba5f
DE
24182015-08-14 Doug Evans <xdje42@gmail.com>
2419
2420 * gdb.mi/mi-disassemble.exp: Update.
2421 * gdb.base/disasm-optim.S: New file.
2422 * gdb.base/disasm-optim.c: New file.
2423 * gdb.base/disasm-optim.h: New file.
2424 * gdb.base/disasm-optim.exp: New file.
2425
9ca98f92
KS
24262015-08-14 Keith Seitz <keiths@redhat.com>
2427
2428 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2429 "evaluated-by".
2430
52bbc560
JB
24312015-08-13 Joel Brobecker <brobecker@adacore.com>
2432
2433 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2434
5d8c3ed3
PMR
24352015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2436
2437 * gdb.ada/fun_renaming.exp: New testcase.
2438 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2439 * gdb.ada/fun_renaming/pack.adb: New file.
2440 * gdb.ada/fun_renaming/pack.ads: New file.
2441
ea8812bc
KS
24422015-08-12 Keith Seitz <keiths@redhat.com>
2443
2444 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2445 gdb_get_line_number.
2446
4dafcdeb
JB
24472015-08-12 Joel Brobecker <brobecker@adacore.com>
2448
2449 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2450 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2451 gdb.base/dso2dso.exp: New files.
2452
5ba32597
SDJ
24532015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2454 Pedro Alves <palves@redhat.com>
2455 Keith Seitz <keiths@redhat.com>
2456
2457 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2458 GDBFLAGS.
2459
b6dafabf
PP
24602015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2461
2462 * gdb.base/gdbhistsize-history.exp
2463 (test_histsize_history_setting): Use save_vars.
2464 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2465 Use save_vars.
2466 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2467 * gdb.base/readline.exp: Use save_vars.
2468
abe8e607
PP
24692015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2470
2471 * lib/gdb.exp (save_vars): New proc.
2472
629500fa
KS
24732015-08-11 Keith Seitz <keiths@redhat.com>
2474
2475 * gdb.base/help.exp: Update help_breakpoint_text.
2476
eb8c4e2e
KS
24772015-08-11 Keith Seitz <keiths@redhat.com>
2478
2479 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2480 (at toplevel): Call test_explicit_breakpoints.
2481 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2482 breakpoints.
2483 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2484 breakpoint conditions, "-cond".
2485
87f0e720
KS
24862015-08-11 Keith Seitz <keiths@redhat.com>
2487
2488 * gdb.linespec/3explicit.c: New file.
2489 * gdb.linespec/cpexplicit.cc: New file.
2490 * gdb.linespec/cpexplicit.exp: New file.
2491 * gdb.linespec/explicit.c: New file.
2492 * gdb.linespec/explicit.exp: New file.
2493 * gdb.linespec/explicit2.c: New file.
2494 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2495 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2496 before using in the matching pattern.
2497 Clarify that `prefix' is a regular expression.
2498
f00aae0f
KS
24992015-08-11 Keith Seitz <keiths@redhat.com>
2500
2501 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2502 test.
2503 Add tests for missing ",FMT" and ",".
2504
e27852be
DE
25052015-08-10 Doug Evans <dje@google.com>
2506 Keith Seitz <keiths@redhat.com>
2507
2508 PR gdb/17960
2509 * gdb.base/completion.exp: Add location completer tests.
2510
7f03bd92
PA
25112015-08-07 Pedro Alves <palves@redhat.com>
2512
2513 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2514 tests here.
2515 (top level): Run do_test with and without displaced stepping.
2516
3fc8eb30
PA
25172015-08-07 Pedro Alves <palves@redhat.com>
2518
2519 * gdb.base/valgrind-disp-step.c: New file.
2520 * gdb.base/valgrind-disp-step.exp: New file.
2521
d4569d7b
PA
25222015-08-07 Pedro Alves <palves@redhat.com>
2523
2524 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2525 Delete function.
2526 (main): Add alarm. Run an infinite loop instead of calling
2527 wait_threads.
2528 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2529 comment.
2530 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2531 Delete function.
2532 (main): Add alarm. Run an infinite loop instead of calling
2533 wait_threads.
2534 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2535 comment.
2536
e1316e60
PA
25372015-08-07 Pedro Alves <palves@redhat.com>
2538
2539 * gdb.base/checkpoint-ns.exp: New file.
2540 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2541 standard_testfile.
2542
da8c46d2
MM
25432015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2544
2545 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2546 * gdb.btrace/instruction_history.exp: Update.
2547 * gdb.btrace/tsx.exp: New.
2548 * gdb.btrace/tsx.c: New.
2549
de1c2c52
PA
25502015-08-06 Pedro Alves <palves@redhat.com>
2551
2552 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2553 increase timeout.
2554 * gdb.reverse/until-precsave.exp: Bump timeouts.
2555
782e0bf4
PA
25562015-08-06 Pedro Alves <palves@redhat.com>
2557
2558 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2559
83e97ed0
PA
25602015-08-06 Pedro Alves <palves@redhat.com>
2561
2562 PR gdb/18749
2563 * gdb.threads/process-dies-while-handling-bp.c: New file.
2564 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2565
863d01bd
PA
25662015-08-06 Pedro Alves <palves@redhat.com>
2567
2568 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2569 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2570
0a39bb32
PA
25712015-08-05 Pedro Alves <palves@redhat.com>
2572
2573 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2574 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2575
ee2d2b10
SL
25762015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2577
2578 * gdb.base/bp-permanent.exp: Report test as unsupported if
2579 the target cannot stop at the permanent breakpoint.
2580
4e1bdb00
DE
25812015-08-03 Doug Evans <dje@google.com>
2582
2583 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2584 10000.
2585
3d338901
DE
25862015-08-03 Doug Evans <dje@google.com>
2587
2588 * Makefile.in (workers/%.worker, build-perf): New rule.
2589 (GDB_PERFTEST_MODE): New variable.
2590 (check-perf): Use it.
2591 (clean): Clean up gdb.perf parallel build subdirs.
2592 * lib/build-piece.exp: New file.
2593 * lib/gdb.exp (make_gdb_parallel_path): New function
2594 (standard_output_file, standard_temp_file): Call it.
2595 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2596 of $GDB_PARALLEL.
2597 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2598
af061d3e
DE
25992015-08-03 Doug Evans <dje@google.com>
2600
8e1afc81 2601 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
2602 (LOG_FILE_NAME): New global.
2603 (TextReporter.__init__): Initialize self.txt_sum.
2604 (TextReporter.report): Add support for multiple data-points.
2605 Move report to perftest.sum, put raw data in perftest.log.
2606 (TextReporter.start): Open sum and log files.
2607 (TextReporter.end): Close sum and log files.
8e1afc81
DE
2608 * gdb.perf/lib/perftest/testresult.py
2609 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 2610
2c8c5d37
PA
26112015-07-31 Pedro Alves <palves@redhat.com>
2612
2613 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2614 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2615 kill_wait_spawned_process instead of explicit "kill -9".
2616 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2617 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2618 kill_wait_spawned_process.
2619 * gdb.base/attach-twice.exp: Likewise.
2620 * gdb.base/attach.exp: Likewise.
2621 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2622 gdb_test_multiple.
2623 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2624 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2625 kill_wait_spawned_process.
2626 * gdb.base/valgrind-infcall.exp: Likewise.
2627 * gdb.multi/multi-attach.exp: Likewise.
2628 * gdb.python/py-prompt.exp: Likewise.
2629 * gdb.python/py-sync-interp.exp: Likewise.
2630 * gdb.server/ext-attach.exp: Likewise.
2631 * gdb.threads/attach-into-signal.exp (corefunc): Use
2632 spawn_wait_for_attach, spawn_id_get_pid and
2633 kill_wait_spawned_process.
2634 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2635 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2636 spawn_id_get_pid and kill_wait_spawned_process.
2637 * gdb.threads/attach-stopped.exp (corefunc): Use
2638 spawn_wait_for_attach, spawn_id_get_pid and
2639 kill_wait_spawned_process.
2640 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2641 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2642 kill_wait_spawned_process instead of explicit "kill -9".
2643 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2644 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2645 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2646 processes. Don't map cygwin/windows pids here. Now returns a
2647 spawn id list.
2648
032a0fca
SL
26492015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2650
2651 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2652 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2653 correct patch.
2654
61a934ca
SL
26552015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2656
2657 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2658
4bc4d428
SL
26592015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2660
2661 Reapply:
2662 2014-05-21 Mark Wielaard <mjw@redhat.com>
2663
2664 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2665
998d452a
PA
26662015-07-30 Pedro Alves <palves@redhat.com>
2667
2668 * linux-low.c (handle_extended_wait): Set the child's last
2669 reported status to TARGET_WAITKIND_STOPPED.
2670
69dde7dc
PA
26712015-07-30 Pedro Alves <palves@redhat.com>
2672
2673 PR threads/18600
2674 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2675 only shows inferior 1.
2676
4dd63d48
PA
26772015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2678 Pedro Alves <palves@redhat.com>
2679
2680 PR threads/18600
2681 * gdb.threads/fork-plus-threads.c: New file.
2682 * gdb.threads/fork-plus-threads.exp: New file.
2683
d618e4c5
PP
26842015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2685
2686 * gdb.base/batch-preserve-term-settings.exp
2687 (test_terminal_settings_preserved_after_cli_exit): Use
2688 send_quit_command.
2689
1eef6428
PA
26902015-07-29 Pedro Alves <palves@redhat.com>
2691 Don Breazeal <donb@codesourcery.com>
2692
2693 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2694 output from both inferior_spawn_id and gdb_spawn_id.
2695
7da5b897
SDJ
26962015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2697
2698 * gdb.threads/attach-into-signal.exp (corefunc): Use
2699 with_test_prefix on nested loops, uniquefying the test messages.
2700
dac804df
SDJ
27012015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2702
2703 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2704 commit.
2705
06265e53
PP
27062015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2707
2708 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2709 New proc.
2710 (test_terminal_settings_preserved_after_sigterm): New test.
2711
18206ca3
PP
27122015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2713
2714 * gdb.base/batch-preserve-term-settings.exp
2715 (test_terminal_settings_preserved_after_cli_exit): New test.
2716
90074d11
PP
27172015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2718
2719 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2720 manipulation of saved_gdbflags.
2721 (test_terminal_settings_preserved): Remove global declaration of
2722 the unused variable pagination_prompt. Remove manipulation of
2723 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2724 GDBFLAGS.
2725
eb1a7902
PA
27262015-07-29 Pedro Alves <palves@redhat.com>
2727
2728 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2729
8b75dd3b
PA
27302015-07-29 Pedro Alves <palves@redhat.com>
2731
2732 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2733 at the top.
2734
dedad4e3
PA
27352015-07-29 Pedro Alves <palves@redhat.com>
2736
2737 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2738 (main): Call gdb_unbuffer_output.
2739 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2740 (main): Call gdb_unbuffer_output.
2741 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2742 (main): Call gdb_unbuffer_output.
2743 * gdb.base/call-strs.exp: Adjust to step over the
2744 gdb_unbuffer_output call.
2745 * gdb.base/catch-gdb-caused-signals.c: Include
2746 "../lib/unbuffer_output.c".
2747 (main): Call gdb_unbuffer_output.
2748 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2749 (main): Call gdb_unbuffer_output.
2750 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2751 (main): Call gdb_unbuffer_output.
2752 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2753 (main): Call gdb_unbuffer_output.
2754 * gdb.base/shlib-call.exp: Adjust to step over the
2755 gdb_unbuffer_output call.
2756 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2757 (main): Call gdb_unbuffer_output.
2758 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2759 (main): Call gdb_unbuffer_output.
2760 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2761 (main): Rename to ...
2762 (test): ... this.
2763 (main): Reimplement.
2764 * gdb.base/varargs.exp: Run to test instead of to main.
2765 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2766 (main): Call gdb_unbuffer_output.
2767
58789a91
PA
27682015-07-29 Pedro Alves <palves@redhat.com>
2769
2770 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2771 factore out from mi_continue_dprintf. For call-style dprintfs,
2772 expect dprintf output out of $inferior_spawn_id.
2773 (mi_continue_dprintf): Use mi_expect_dprintf.
2774 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2775 (main): Call gdb_unbuffer_output.
2776
e8376742
PA
27772015-07-29 Pedro Alves <palves@redhat.com>
2778
2779 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2780 (default_mi_gdb_start): Set inferior_spawn_id instead of
2781 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2782 gdb_spawn_id.
2783 (mi_gdb_test): Always expect inferior output from both
2784 $inferior_spawn_id and $gdb_spawn_id.
2785
08280010
PA
27862015-07-29 Pedro Alves <palves@redhat.com>
2787
2788 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2789 send_inferior and $inferior_spawn_id.
2790
4d30e432
PA
27912015-07-29 Pedro Alves <palves@redhat.com>
2792
2793 * gdb.gdb/complaints.exp (test_initial_complaints)
2794 (test_serial_complaints, test_short_complaints): Use
2795 gdb_test_stdio.
2796 (test_empty_complaint): Handle $inferior_spawn_id !=
2797 $gdb_spawn_id.
2798
0d30a335
PA
27992015-07-29 Pedro Alves <palves@redhat.com>
2800
2801 * gdb.base/varargs.exp: Use gdb_test_stdio.
2802
39413b29
PA
28032015-07-29 Pedro Alves <palves@redhat.com>
2804
2805 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2806
7cb000a9
PA
28072015-07-29 Pedro Alves <palves@redhat.com>
2808
2809 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2810
d7b8ac82
PA
28112015-07-29 Pedro Alves <palves@redhat.com>
2812
2813 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2814 parameter into two new parameters, "inf_result" and "gdb_result".
2815 Expect inferior output and gdb output from $inferior_spawn_id and
2816 $gdb_spawn_id, respectively. Adjust all callers.
2817
789c3a0c
PA
28182015-07-29 Pedro Alves <palves@redhat.com>
2819
2820 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2821 of gdb_test_sequence.
2822
77e760c3
PA
28232015-07-29 Pedro Alves <palves@redhat.com>
2824
2825 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2826 (saw_spurious_output): Expect inferior output from
2827 $inferior_spawn_id. Use gdb_test_stdio.
2828
8396d2cd
PA
28292015-07-29 Pedro Alves <palves@redhat.com>
2830
2831 * gdb.base/dprintf.exp: Use standard_testfile. Change
2832 prepare_for_testing call.
2833 (srcfile): Don't set.
2834 (restart): New procedure.
2835 (test_dprintf): New procecure, use to continue over dprintfs.
2836 (test_call, test_agent): New procedures, tests moved here.
2837 Restart gdb and recreate dprintfs. Adjust expected output.
2838
2051d61f
PA
28392015-07-29 Pedro Alves <palves@redhat.com>
2840
2841 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2842
452397af
PA
28432015-07-29 Pedro Alves <palves@redhat.com>
2844
2845 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2846
8aed9555
PA
28472015-07-29 Pedro Alves <palves@redhat.com>
2848
2849 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2850 gdb_test_stdio.
2851
188a61b4
PA
28522015-07-29 Pedro Alves <palves@redhat.com>
2853
2854 * lib/gdb.exp (gdb_test_stdio): New procedure.
2855
12264a45
PA
28562015-07-29 Pedro Alves <palves@redhat.com>
2857
2858 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2859
23ffc893
PA
28602015-07-29 Pedro Alves <palves@redhat.com>
2861
2862 * gdb.base/call-signal-resume.exp: Remove check for
2863 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2864 * gdb.base/unwindonsignal.exp: Likewise.
2865 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2866 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2867
65566918
PA
28682015-07-29 Pedro Alves <palves@redhat.com>
2869
2870 * gdb.base/siginfo-addr.c (pass): New function.
2871 (handler): Call it iff si_addr is correct.
2872 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2873 Set a breakpoint at "pass" and continue to it.
2874
d60a9221
SDJ
28752015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2876
2877 * gdb.python/py-objfile.exp: Make some tests have unique names.
2878 * gdb.python/py-pp-registration.exp: Likewise.
2879
bde40b8f
PA
28802015-07-28 Pedro Alves <palves@redhat.com>
2881
2882 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2883
13e1dec8
SM
28842015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2885
2886 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2887
da33c9a7
SM
28882015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2889
2890 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2891
077836f7
PP
28922015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2893
2894 * gdb.base/gdb-sigterm-2.exp: New test.
2895
b8cc7b2e
DE
28962015-07-25 Doug Evans <xdje42@gmail.com>
2897
2898 Revert:
2899 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2900 (workers/%.worker, build-perf): New rule.
2901 (GDB_PERFTEST_MODE): New variable.
2902 (check-perf): Use it.
2903 (clean): Clean up gdb.perf parallel build subdirs.
2904 * lib/build-piece.exp: New file.
2905 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2906 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2907 name.
2908 (standard_temp_file): Ditto.
2909 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2910 of $GDB_PARALLEL.
2911
c8bd4544
DE
29122015-07-24 Doug Evans <dje@google.com>
2913
2914 * gdb.perf/lib/perftest/utils.py: New file.
2915 * gdb.perf/gm-hello.cc: New file.
2916 * gdb.perf/gm-pervasive-typedef.cc: New file.
2917 * gdb.perf/gm-pervasive-typedef.h: New file.
2918 * gdb.perf/gm-std.cc: New file.
2919 * gdb.perf/gm-std.h: New file.
2920 * gdb.perf/gm-use-cerr.cc: New file.
2921 * gdb.perf/gm-utils.h: New file.
2922 * gdb.perf/gmonster-null-lookup.py: New file.
2923 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2924 * gdb.perf/gmonster-print-cerr.py: New file.
2925 * gdb.perf/gmonster-ptype-string.py: New file.
2926 * gdb.perf/gmonster-runto-main.py: New file.
2927 * gdb.perf/gmonster-select-file.py: New file.
2928 * gdb.perf/gmonster1-null-lookup.exp: New file.
2929 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2930 * gdb.perf/gmonster1-print-cerr.exp: New file.
2931 * gdb.perf/gmonster1-ptype-string.exp: New file.
2932 * gdb.perf/gmonster1-runto-main.exp: New file.
2933 * gdb.perf/gmonster1-select-file.exp: New file.
2934 * gdb.perf/gmonster1.cc: New file.
2935 * gdb.perf/gmonster1.exp: New file.
2936 * gdb.perf/gmonster2-null-lookup.exp: New file.
2937 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2938 * gdb.perf/gmonster2-print-cerr.exp: New file.
2939 * gdb.perf/gmonster2-ptype-string.exp: New file.
2940 * gdb.perf/gmonster2-runto-main.exp: New file.
2941 * gdb.perf/gmonster2-select-file.exp: New file.
2942 * gdb.perf/gmonster2.cc: New file.
2943 * gdb.perf/gmonster2.exp: New file.
2944
6eab34f3
DE
29452015-07-24 Doug Evans <dje@google.com>
2946
2947 * gdb.perf/README: New file.
2948 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2949 * lib/gen-perf-test.exp: New file.
2950
63738bfd
DE
29512015-07-24 Doug Evans <dje@google.com>
2952
2953 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2954 (PerfTest::startup): New function.
2955 (PerfTest::run): Return result of calling body.
2956 (PerfTest::assemble): Rewrite.
2957 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2958 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2959 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2960 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2961 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2962
7b606f95
DE
29632015-07-24 Doug Evans <dje@google.com>
2964
2965 * lib/gdb.exp (clean_restart): Make executable optional.
2966
a97b16b8
DE
29672015-07-24 Doug Evans <dje@google.com>
2968
2969 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2970 compiler_info references.
2971 * gdb.cp/temargs.exp: Ditto.
2972 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2973 (get_compiler_info): Early exit if already computed. Set compiler_info
2974 to "unknown" if there was a problem.
2975 (test_compiler_info): Add function comment. Call get_compiler_info.
2976
35baa57f
DE
29772015-07-24 Doug Evans <dje@google.com>
2978
2979 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2980 (workers/%.worker, build-perf): New rule.
2981 (GDB_PERFTEST_MODE): New variable.
2982 (check-perf): Use it.
2983 (clean): Clean up gdb.perf parallel build subdirs.
2984 * lib/build-piece.exp: New file.
2985 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2986 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2987 name.
2988 (standard_temp_file): Ditto.
2989 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2990 of $GDB_PARALLEL.
2991
6ebea266
DE
29922015-07-24 Doug Evans <dje@google.com>
2993
2994 * lib/future.exp (gdb_default_target_compile): New option
2995 "early_flags".
2996 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2997 --as-needed.
2998
1e76a7e9
SDJ
29992015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3000
3001 * gdb.base/catch-syscall.exp: Call gdb_exit before
3002 gdb_skip_xml_test.
3003
5068630a
PA
30042015-07-24 Pedro Alves <palves@redhat.com>
3005
3006 * gdb.python/py-events.exp: Accept output between the stop event
3007 and the prompt.
3008 * gdb.python/py-evsignal.exp: Likewise.
3009 * gdb.python/py-evthreads.exp: Likewise.
3010
77598427
PA
30112015-07-24 Pedro Alves <palves@redhat.com>
3012
3013 PR gdb/18717
3014 * gdb.threads/non-ldr-exit.c: New file.
3015 * gdb.threads/non-ldr-exit.exp: New file.
3016
11e6c98f
YQ
30172015-07-24 Yao Qi <yao.qi@linaro.org>
3018
3019 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3020 restarting process.
3021
51aee833
YQ
30222015-07-24 Yao Qi <yao.qi@linaro.org>
3023
3024 * gdb.server/ext-restart.exp: New file.
3025
8cfe207c
YQ
30262015-07-24 Yao Qi <yao.qi@linaro.org>
3027
3028 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3029 argument options.
3030 * gdb.server/ext-wrapper.exp: New file.
3031
cc12ce38
DE
30322015-07-23 Doug Evans <dje@google.com>
3033
3034 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3035 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3036
d0d84780
PMR
30372015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3038
3039 * gdb.ada/var_arr_typedef.exp: New testcase.
3040 * gdb.ada/var_arr_typedef/pack.adb: New file.
3041 * gdb.ada/var_arr_typedef/pack.ads: New file.
3042 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3043
8b558f79
JB
30442015-07-20 Joel Brobecker <brobecker@adacore.com>
3045
3046 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3047
775a3298
JK
30482015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3049
3050 * gdb.arch/i386-biarch-core.exp: Replace istarget
3051 by "complete set gnutarget". Remove expectation for the "core-file"
3052 command.
3053
db1ff28b
JK
30542015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3055
3056 Revert the previous commit:
3057 Tests for validate symbol file using build-id.
3058
0a94970d
JK
30592015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3060
3061 Tests for validate symbol file using build-id.
3062 * gdb.base/solib-mismatch-lib.c: New file.
3063 * gdb.base/solib-mismatch-libmod.c: New file.
3064 * gdb.base/solib-mismatch.c: New file.
3065 * gdb.base/solib-mismatch.exp: New file.
3066
03346981
SL
30672015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3068
3069 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3070 nios2-*-linux*.
3071 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3072 * gdb.base/siginfo.exp: Likewise.
3073 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3074
42422cc7
PL
30752015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3076
3077 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3078 Move it to ...
3079 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3080 ... here.
3081 * gdb.trace/range-stepping.exp: Check that the target supports
3082 range stepping.
3083
cfa68bae
JK
30842015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3085
3086 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3087
8ffdba26
PA
30882015-07-14 Pedro Alves <palves@redhat.com>
3089
3090 * gdb.base/killed-outside.exp: New file.
3091 * gdb.base/killed-outside.c: New file.
3092
218a5a11
JK
30932015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3094
3095 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3096 (n at main): New.
3097 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3098
e03ed3c6
AA
30992015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3100
3101 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3102 infcall tests instead of setting up for KFAIL.
3103
485668e5
MM
31042015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3105
3106 * gdb.btrace/record_goto-step.exp: New.
3107
08464196
JK
31082015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3109
3110 PR compile/18484
3111 * gdb.compile/compile.c (struct struct_type): Add volatile to
3112 selffield's type.
3113 * gdb.compile/compile.exp
3114 (compile code struct_object.selffield = &struct_object): Skip further
3115 struct_object tests if this one xfails.
3116
bcf5c1d9
RC
31172015-07-08 Robert O'Callahan <robert@ocallahan.org>
3118
3119 PR exp/18617
3120 * gdb.trace/ax.exp: Add test.
3121
4931af25
YQ
31222015-07-07 Yao Qi <yao.qi@linaro.org>
3123
3124 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3125 instead of istarget "aarch64*-*-*".
3126 * gdb.arch/aarch64-fp.exp: Likewise.
3127 * gdb.base/float.exp: Likewise.
3128 * gdb.reverse/aarch64.exp: Likewise.
3129 * lib/gdb.exp (is_aarch64_target): New proc.
3130
9fcf688e
YQ
31312015-07-07 Yao Qi <yao.qi@linaro.org>
3132
3133 * lib/gdb.exp (is_aarch32_target): New proc.
3134 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3135 instead of "istarget "arm*-*-*"".
3136 * gdb.arch/arm-disp-step.exp: Likewise.
3137 * gdb.arch/thumb-bx-pc.exp: Likewise.
3138 * gdb.arch/thumb-prologue.exp: Likewise.
3139 * gdb.arch/thumb-singlestep.exp: Likewise.
3140 * gdb.base/disp-step-syscall.exp: Likewise.
3141 * gdb.base/float.exp: Likewise.
3142
fbd8d50d
YQ
31432015-07-07 Yao Qi <yao.qi@linaro.org>
3144
3145 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3146 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3147
71be1fdc
YQ
31482015-07-07 Yao Qi <yao.qi@linaro.org>
3149
3150 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3151 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3152 if it exists.
3153 * gdb.multi/multi-arch.exp: Likewise.
3154
3e221d36
SM
31552015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3156
3157 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3158 print.
3159
d441430b
YQ
31602015-07-07 Yao Qi <yao.qi@linaro.org>
3161
3162 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3163
06f810bd
MG
31642015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3165
3166 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3167 '[' and ']' characters.
3168
5e61e7c0
IB
31692015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3170
3171 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3172
28bf096c
PA
31732015-06-29 Pedro Alves <palves@redhat.com>
3174
3175 PR threads/18127
3176 * gdb.threads/hand-call-new-thread.c: New file.
3177 * gdb.threads/hand-call-new-thread.c: New file.
3178
ee93cd5e
KS
31792015-06-26 Keith Seitz <keiths@redhat.com>
3180 Doug Evans <dje@google.com>
3181
3182 PR 16253
3183 * gdb.cp/var-tag-2.cc: New file.
3184 * gdb.cp/var-tag-3.cc: New file.
3185 * gdb.cp/var-tag-4.cc: New file.
3186 * gdb.cp/var-tag.cc: New file.
3187 * gdb.cp/var-tag.exp: New file.
3188
fc637f04
PP
31892015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3190
3191 * gdb.base/history-duplicates.exp: New test.
3192
2e52ae68
PP
31932015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3194
3195 * gdb.base/completion.exp: Test the completion of the "focus"
3196 command.
3197
6e22494e
JK
31982015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3199
3200 * gdb.arch/amd64-prologue-skip.S: New file.
3201 * gdb.arch/amd64-prologue-skip.exp: New file.
3202
bf7b9cd9
SM
32032015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3204
3205 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3206 is_address_zero_readable check.
3207
201e8dfd
PB
32082015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3209
3210 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3211 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3212
5cd867b4
YQ
32132015-06-24 Yao Qi <yao.qi@linaro.org>
3214
3215 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3216 linux targets.
3217
4d7be007
YQ
32182015-06-24 Yao Qi <yao.qi@linaro.org>
3219
3220 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3221 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3222 * gdb.base/siginfo-thread.exp: Likewise.
3223
07fcd301
YQ
32242015-06-22 Yao Qi <yao.qi@linaro.org>
3225
3226 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3227
52042a00
YQ
32282015-06-22 Yao Qi <yao.qi@linaro.org>
3229
3230 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3231 aarch64*-*-*.
3232 (skip_hw_watchpoint_tests): Likewise.
3233
74bd41ce
PP
32342015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3235
3236 * gdb.base/gdbinit-history.exp: Test the interaction between
3237 setting GDBHISTSIZE and setting the history size via .gdbinit.
3238
bc460514
PP
32392015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3240
3241 PR gdb/16999
3242 * gdb.base/gdbhistsize-history.exp: New test.
3243
b58c513b
PP
32442015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3245
3246 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3247 with GDBHISTSIZE.
3248 * gdb.base/readline.exp: Likewise.
3249
92046791
YQ
32502015-06-17 Yao Qi <yao.qi@linaro.org>
3251
3252 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3253 line.
3254
2093d2d3
PP
32552015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3256
3257 * gdb.base/gdbinit-history.exp: Add test case to check that
3258 an unlimited history file does not get truncated on exit.
3259
e6c693af
AA
32602015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3261
3262 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3263 (VECTOR): New macro. Use it...
3264 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3265 ...for these typedefs.
3266 (int8, char1, int1, double1): New typedefs.
3267 (struct just_int2, struct two_int2): New structures.
3268 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3269 (add_structvecs, add_singlevecs): New functions.
3270 (main): Call add_some_intvecs twice.
3271 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3272 the compile and exit upon failure. Try compiling for the "native"
3273 architecture. Test inferior function calls with vector arguments
3274 and vector return value handling with "finish" and "return".
3275
c74f7d1c
JT
32762015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3277
3278 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3279 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3280 PE file.
3281 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3282
98aa42ee
AT
32832015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3284
3285 PR breakpoints/16465
3286 * gdb.mi/mi-dprintf-pending.c: New file.
3287 * gdb.mi/mi-dprintf-pending.exp: New test.
3288 * gdb.mi/mi-dprintf-pendshr.c: New file.
3289
7d73c23c 32902015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3291 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3292
3293 * gdb.arch/i386-mpx-map.c: New file.
3294 * gdb.arch/i386-mpx-map.exp: New File.
3295
32962015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3297
3298 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3299 * gdb.arch/i386-mpx.exp: Indentation fixed.
3300
33012015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3302
3303 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3304 function and improved indentation.
3305 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3306 gdb_test_multiple. Added additional tests to skip the test.
3307
33082015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3309
3310 * gdb.arch/i386-avx512.c: Change path in include file.
3311 * gdb.arch/i386-avx512.exp: Change include dir path
3312 compilation flag.
3313 * gdb.arch/i386-mpx.c: Change path in include file.
3314 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3315 flag.
3316
d5eba19a
JK
33172015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3318
3319 * gdb.compile/compile-print.exp (compile print *vararray@3)
3320 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3321
7f361056
JK
33222015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3323
3324 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3325 (do not keep jit in memory): ... this.
3326 (expect 5): Change it to ...
3327 (expect no 5): ... this.
3328
3b462ec2
SM
33292015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3330
3331 PR gdb/15564
3332 * gdb.mi/mi-detach.exp: New file.
3333
e0619de6
JK
33342015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3335
3336 PR symtab/18392
3337 * gdb.arch/amd64-tailcall-self.S: New file.
3338 * gdb.arch/amd64-tailcall-self.c: New file.
3339 * gdb.arch/amd64-tailcall-self.exp: New file.
3340
e970cb34
DB
33412015-05-28 Don Breazeal <donb@codesourcery.com>
3342
3343 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3344 tests for remote targets by checking is_target_gdbserver.
3345
b2e2f908
DE
33462015-05-27 Doug Evans <dje@google.com>
3347
3348 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3349 * gdb.dwarf2/opaque-type-lookup.c: New file.
3350 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3351
82c7be31
DE
33522015-05-26 Doug Evans <dje@google.com>
3353
3354 * gdb.cp/iostream.cc: New file.
3355 * gdb.cp/iostream.exp: New file.
3356
b4f54984
DE
33572015-05-26 Doug Evans <dje@google.com>
3358
3359 * gdb.dwarf2/dw2-op-call.exp: Update.
3360 * gdb.dwarf2/dw4-sig-types.exp: Update.
3361 * gdb.dwarf2/implptr.exp: Update.
3362 * gdb.mi/mi-cmd-param-changed.exp: Update.
3363
4ea6efe9
DE
33642015-05-26 Doug Evans <dje@google.com>
3365
3366 * gdb.python/py-lazy-string.c: New file.
3367 * gdb.python/py-lazy-string.exp: New file.
3368 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3369 (main): Update. Add estring3.
3370 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3371 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3372
f6bb7db3
YQ
33732015-05-26 Omair Javaid <omair.javaid@linaro.org>
3374 Yao Qi <yao.qi@linaro.org>
3375
3376 * gdb.reverse/aarch64.c: New.
3377 * gdb.reverse/aarch64.exp: New.
3378
a81bfbd0
OJ
33792015-05-26 Omair Javaid <omair.javaid@linaro.org>
3380
3381 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3382 (supports_reverse): Likewise.
3383
158bf1b4
PP
33842015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3385
3386 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3387 Use with_test_prefix.
3388
a0145030
AB
33892015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3390
3391 * gdb.base/completion.exp: Add test for completion of layout
3392 names.
3393
ebe3b578
AB
33942015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3395
3396 * lib/gdb.exp (skip_tui_tests): New proc.
3397 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3398
84204ed7
PA
33992015-05-19 Pedro Alves <palves@redhat.com>
3400
3401 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3402 Save the whole env array instead of just HOME. Unset HISTSIZE in
3403 the environment while testing. Restore whole environment
3404 afterwards.
3405
37442ce1
DE
34062015-05-16 Doug Evans <xdje42@gmail.com>
3407
3408 * gdb.guile/scm-ports.c: New file.
3409 * gdb.guile/scm-ports.exp: Add memory port tests.
3410
36de76f9
JK
34112015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3412
3413 * gdb.compile/compile-print.c: New file.
3414 * gdb.compile/compile-print.exp: New file.
3415
3a9558c4
JK
34162015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3417
3418 * gdb.compile/compile-ops.exp: Cast param to void.
3419 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3420 (compile code struct_object.selffield = &struct_object): Add xfail.
3421
aa715135
JG
34222015-05-15 Joel Brobecker <brobecker@adacore.com>
3423
3424 * gdb.ada/arr_enum_with_gap: New testcase.
3425
931e5bc3
JG
34262015-05-15 Joel Brobecker <brobecker@adacore.com>
3427
3428 * gdb.ada/byte_packed_arr: New testcase.
3429
9cd4d857
JB
34302015-05-15 Joel Brobecker <brobecker@adacore.com>
3431
3432 * gdb.ada/pckd_neg: New testcase.
3433
ebfd00d2
PP
34342015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3435
3436 PR gdb/17820
3437 * gdb.base/gdbinit-history.exp: New test.
3438 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3439 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3440
4c082a81
SC
34412015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3442
3443 * gdb.python/py-xmethods.cc: Enhance test case.
3444 * gdb.python/py-xmethods.exp: New tests.
3445 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3446 function.
3447 (B_indexoper): Likewise.
3448 (global_dm_list) : Add new xmethod worker functions.
3449
f7797074
SDJ
34502015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3451
3452 * gdb.base/coredump-filter.exp: Correctly unset
3453 "coredump_var_addr" array.
3454
a4674e4e
PA
34552015-05-08 Pedro Alves <palves@redhat.com>
3456
3457 * gdb.server/non-existing-program.exp: Unset spawn_id.
3458
df2eb078
SC
34592015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3460
3461 PR python/18291
3462 * gdb.python/py-xmethods.exp: Add tests.
3463
422349a3
YQ
34642015-05-08 Yao Qi <yao.qi@linaro.org>
3465
3466 PR gdb/18208
3467 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3468 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3469 function set_coredump_filter, and remove remote_exec call.
3470 Remove argument ipid. Callers update.
3471 (top level): Don't get inferior's PID.
3472
63fc80ce
AA
34732015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3474
3475 * gdb.base/watch_thread_num.exp: Skip test on targets without
3476 access watchpoints.
3477
80ad801e
PA
34782015-05-06 Pedro Alves <palves@redhat.com>
3479
3480 PR server/18081
3481 * gdb.server/non-existing-program.exp: New file.
3482
0fa7fe50
JB
34832015-05-05 Joel Brobecker <brobecker@adacore.com>
3484
3485 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3486
3ea89b92
PMR
34872015-05-05 Joel Brobecker <brobecker@adacore.com>
3488
3489 * gdb.ada/out_of_line_in_inlined: New testcase.
3490
87b8eff0
JB
34912015-05-05 Joel Brobecker <brobecker@adacore.com>
3492
3493 * gdb.ada/var_rec_arr: New testcase.
3494
5fccc635
YQ
34952015-04-30 Yao Qi <yao.qi@linaro.org>
3496
3497 * gdb.base/break-idempotent.exp: If
3498 skip_hw_watchpoint_multi_tests returns true, skip the tests
3499 on "rwatch" and "awatch".
3500
42d38f42
YQ
35012015-04-30 Yao Qi <yao.qi@linaro.org>
3502
3503 * gdb.base/relativedebug.exp: Invoke gdb command
3504 "info sharedlibrary", and if libc.so doesn't have debug info,
3505 skip the test.
3506
2ce1cdbf
DE
35072015-04-29 Doug Evans <dje@google.com>
3508
3509 * gdb.python/py-xmethods.exp: Add ptype tests.
3510 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3511 get_result_type method.
3512
f24a38c5
LM
35132015-04-29 Luis Machado <lgustavo@codesourcery.com>
3514
3515 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3516 the target does not support hardware watchpoints.
3517
ecbf2b3c
LM
35182015-04-29 Luis Machado <lgustavo@codesourcery.com>
3519
3520 * gdb.base/break-always.exp: Abort testing if writing to memory
3521 causes an error.
3522
34f5f757
DE
35232015-04-28 Doug Evans <dje@google.com>
3524
3525 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3526 * gdb.python/py-pp-registration.exp: ... here. New file.
3527 * gdb.python/py-pp-registration.c: New file.
3528 * gdb.python/py-pp-registration.py: New file.
3529
69b4374a
DE
35302015-04-28 Doug Evans <dje@google.com>
3531
3532 * gdb.python/py-bad-printers.c: New file.
3533 * gdb.python/py-bad-printers.py: New file.
3534 * gdb.python/py-bad-printers.exp: New file.
3535
59fb7612
SS
35362015-04-28 Sasha Smundak <asmundak@google.com>
3537
3538 * gdb.python/py-type.exp: New test.
3539
2631b16a
AW
35402015-04-28 Andy Wingo <wingo@igalia.com>
3541
3542 * gdb.python/py-parameter.exp:
3543 * gdb.guile/scm-parameter.exp: Escape the path that we are
3544 matching against, as it might contain characters that are special
3545 to regular expressions.
3546
460efde1
JB
35472015-04-27 Joel Brobecker <brobecker@adacore.com>
3548
3549 * gdb.ada/rec_comp: New testcase.
3550
2d369d8e
SDJ
35512015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3552
3553 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3554 before using it.
3555
cf75d6c3
AB
35562015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3557
3558 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3559 new tests for verilog output.
3560
8dbe7ca5
YQ
35612015-04-24 Yao Qi <yao.qi@linaro.org>
3562
3563 * boards/remote-gdbserver-on-localhost.exp: New file.
3564
4ef9fb2f
PA
35652015-04-23 Pedro Alves <palves@redhat.com>
3566
3567 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3568 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3569 "end of file", remove $inferior_spawn_id from the indirect list.
3570
0a803169
PA
35712015-04-23 Pedro Alves <palves@redhat.com>
3572
3573 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3574
749ef8f8
PA
35752015-04-23 Pedro Alves <palves@redhat.com>
3576
3577 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3578 on $any_spawn_id instead of only on $gdb_spawn_id.
3579
8aae4344
PM
35802015-04-21 Pierre Muller <muller@sourceware.org>
3581
3582 PR pascal/17815
3583 * lib/pascal.exp (gpc_compile): Add new option "class".
3584 (fpc_compile): Likewise.
3585 * gdb.pascal/case-insensitive-symbols.pas: New file.
3586 * gdb.pascal/case-insensitive-symbols.exp: New file.
3587
1586c8fb
GB
35882015-04-20 Gary Benson <gbenson@redhat.com>
3589
3590 * gdb.base/attach.exp: Fix three extended remote failures.
3591
1b6e6f5c
GB
35922015-04-17 Gary Benson <gbenson@redhat.com>
3593
3594 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3595 the main executable over the remote protocol.
3596
e797481d
PA
35972015-04-16 Pedro Alves <palves@redhat.com>
3598
3599 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3600 a new gdbserver if gdbserver_reconnect_p is set.
3601
1ca99c42
PA
36022015-04-16 Pedro Alves <palves@redhat.com>
3603
3604 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3605 is set, don't exit gdbserver.
3606
af9fd6f8
AA
36072015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3608
3609 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3610 appropriate .insn, such that an older assembler can be used.
3611 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3612 the z/Architecture instruction set on 31-bit targets as well.
3613
04ff1e61
AA
36142015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3615
3616 * gdb.go/handcall.exp: Remove all logic related to the first
3617 breakpoint and rely on go_runto_main instead.
3618 * gdb.go/strings.exp: Likewise.
3619 * gdb.go/unsafe.exp: Likewise.
3620 * gdb.go/hello.exp: Likewise. Also rename the remaining
3621 breakpoint marker to "breakpoint 1".
3622 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3623 * gdb.go/strings.go: Likewise.
3624 * gdb.go/unsafe.go: Likewise.
3625 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3626 "set breakpoint 2 here" and rename the remaining breakpoint marker
3627 to "breakpoint 1".
3628
40d2f8d6
SM
36292015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3630
3631 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3632 if itertools.imap is not present.
3633 * gdb.python/py-objfile.exp: Add parentheses.
3634 * gdb.python/py-type.exp: Same.
3635 * gdb.python/py-unwind-maint.py: Same.
3636
8cbc97c6
YQ
36372015-04-15 Yao Qi <yao.qi@linaro.org>
3638
3639 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3640 of ":$ptr_size" and set its form explicitly.
3641
45fd756c
YQ
36422015-04-15 Pedro Alves <palves@redhat.com>
3643 Yao Qi <yao.qi@linaro.org>
3644
3645 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3646 timeout by factor of 4.
3647 (test_regular_watch): Likewise.
3648 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3649 * gdb.reverse/sigall-reverse.exp: Likewise.
3650 * gdb.reverse/until-precsave.exp: Likewise.
3651 * lib/gdb.exp (with_timeout_factor): New proc.
3652 (gdb_expect): Move some code to ...
3653 (get_largest_timeout): ... here. New procedure.
3654
9e811bc3
LM
36552015-04-14 Luis Machado <lgustavo@codesourcery.com>
3656
3657 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3658
0ff6fcb2
LM
36592015-04-13 Luis Machado <lgustavo@codesourcery.com>
3660
3661 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3662 to write to the .text section.
3663
7578d5f7
LM
36642015-04-13 Luis Machado <lgustavo@codesourcery.com>
3665
3666 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3667 Handle the case of targets that do not provide PID information.
3668
2efe15c4
YQ
36692015-04-13 Yao Qi <yao.qi@linaro.org>
3670
3671 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3672 and use expect instead of gdb_expect.
3673
8cd8f2f8
SDJ
36742015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3675
3676 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3677 "coredump_var_addr" to avoid naming conflict with other testcases.
3678
9ee41772
PA
36792015-04-10 Pedro Alves <palves@redhat.com>
3680
3681 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3682 gdb_test_sequence and gdb_assert.
3683
07473109
PA
36842015-04-10 Pedro Alves <palves@redhat.com>
3685
3686 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3687 test messages that don't include the breakpoint address.
3688
de3db44c
YQ
36892015-04-10 Yao Qi <yao.qi@linaro.org>
3690
3691 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3692 false for some offset and width combinations which aren't
3693 supported by linux kernel.
3694
c79d856c
PA
36952015-04-10 Pedro Alves <palves@redhat.com>
3696
3697 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3698 procedure, factored out from ...
3699 (top level): ... here. Add "set displaced-stepping" testing axis.
3700 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3701 parameter "displaced". Use it.
3702 (top level): Use foreach and add "set displaced-stepping" testing
3703 axis.
3704
ebc90b50
PA
37052015-04-10 Pedro Alves <palves@redhat.com>
3706
3707 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3708 Remove comment.
3709 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3710 both the address of the instruction that triggers the watchpoint
3711 and the address of the instruction immediately after, and use
3712 those addresses for the test. Fix comment.
3713
8f572e5c
PA
37142015-04-10 Pedro Alves <palves@redhat.com>
3715
3716 * gdb.base/sigstep.exp (breakpoint_to_handler)
3717 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3718 Test "backtrace" in handler.
3719 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3720 (top level): Add new "displaced" test axis to
3721 breakpoint_to_handler, breakpoint_to_handler_entry and
3722 breakpoint_over_handler.
3723
8d707a12
PA
37242015-04-10 Pedro Alves <palves@redhat.com>
3725
3726 PR gdb/18216
3727 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3728
ef713951
YQ
37292015-04-10 Yao Qi <yao.qi@linaro.org>
3730
3731 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3732 (test_add_rn_pc): New function.
3733 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3734 (top level): Invoke test_add_rn_pc.
3735
906d60cf
PA
37362015-04-10 Pedro Alves <palves@redhat.com>
3737
3738 PR gdb/13858
3739 * gdb.base/step-over-no-symbols.exp: New file.
3740
f2983cc3
AW
37412015-04-09 Andy Wingo <wingo@igalia.com>
3742
3743 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3744 after the Python tests.
3745
6d62641c
SDJ
37462015-04-08 Keith Seitz <keiths@redhat.com>
3747
3748 PR python/16699
3749 * gdb.python/py-completion.exp: New tests for completion.
3750 * gdb.python/py-completion.py (CompleteLimit1): New class.
3751 (CompleteLimit2): Likewise.
3752 (CompleteLimit3): Likewise.
3753 (CompleteLimit4): Likewise.
3754 (CompleteLimit5): Likewise.
3755 (CompleteLimit6): Likewise.
3756 (CompleteLimit7): Likewise.
3757
f3770638
PA
37582015-04-08 Pedro Alves <palves@redhat.com>
3759
3760 PR gdb/18214
3761 PR gdb/18216
3762 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3763 function.
3764 (main): Install it as SIGUSR1 handler.
3765 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3766 parameter. Always use "setup" as prefix. Toggle "set
3767 displaced-stepping" off/on depending on global. Don't switch to
3768 thread 1 here.
3769 (top level): Add displaced stepping "off/on" test axis. Update
3770 "setup" calls. Wrap each subtest with with_test_prefix. Test
3771 continuing with a queued signal in each thread.
3772
4496bed7
PA
37732015-04-08 Pedro Alves <palves@redhat.com>
3774
3775 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3776 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3777 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3778 Return early if running to main fails.
3779 * gdb.trace/while-stepping.exp: Likewise.
3780
b97fde92
PA
37812015-04-07 Pedro Alves <palves@redhat.com>
3782
3783 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3784 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3785 interact with inferior program.
3786
f71c18e7
PA
37872015-04-07 Pedro Alves <palves@redhat.com>
3788
3789 * lib/gdb.exp (inferior_spawn_id): New global.
3790 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3791 spawn id after processing the user code.
3792 (default_gdb_start): Set inferior_spawn_id.
3793 (send_inferior): New procedure.
3794 * lib/gdbserver-support.exp (gdbserver_start): Set
3795 inferior_spawn_id.
3796 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3797
6423214f
PA
37982015-04-07 Pedro Alves <palves@redhat.com>
3799
3800 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3801 * lib/gdbserver-support.exp (gdbserver_start): Make
3802 $server_spawn_id global.
3803 (gdbserver_start): Don't wait for gdbserver's spawn id with
3804 expect_background.
3805 (close_gdbserver): New procedure.
3806 (gdb_exit): Rename the default version and reimplement.
3807
71c0ee8c
PA
38082015-04-07 Pedro Alves <palves@redhat.com>
3809
72f4393d 3810 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
3811 append the substituted item, not the original item.
3812
203bc29b
PA
38132015-04-07 Pedro Alves <palves@redhat.com>
3814
3815 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3816 gdb_expect.
3817
508a3ddf
PA
38182015-04-07 Pedro Alves <palves@redhat.com>
3819
3820 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3821 output appearing once only.
3822
9f6dbe2b
PA
38232015-04-07 Pedro Alves <palves@redhat.com>
3824
3825 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3826 that doesn't expect anything. Return early if running to main
3827 fails.
3828
337532fa
YQ
38292015-04-07 Yao Qi <yao.qi@linaro.org>
3830
3831 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3832 (child_function): Call alarm.
3833 (main): Move call to alarm into the loop.
3834 * gdb.threads/non-stop-fair-events.exp: Build program with
3835 -DTIMEOUT=$timeout.
3836
01b622d4
DE
38372015-04-06 Doug Evans <xdje42@gmail.com>
3838
3839 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3840 Fix dest parameter to board_info.
3841 (fpc_compile): Ditto.
3842 (gdb_compile_pascal): Rename dest arg to destfile.
3843
961f4160
PMR
38442015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3845
3846 * gdb.ada/funcall_ref.exp: New file.
3847 * gdb.ada/funcall_ref/foo.adb: New file.
3848
cafda597
YQ
38492015-04-02 Yao Qi <yao.qi@linaro.org>
3850
3851 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3852 is remote.
3853
fed040c6
GB
38542015-04-02 Gary Benson <gbenson@redhat.com>
3855
3856 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3857
d11916aa
SS
38582015-04-01 Sasha Smundak <asmundak@google.com>
3859
3860 * gdb.python/py-unwind-maint.c: New file.
3861 * gdb.python/py-unwind-maint.exp: New test.
3862 * gdb.python/py-unwind-maint.py: New file.
3863 * gdb.python/py-unwind.c: New file.
3864 * gdb.python/py-unwind.exp: New test.
3865 * gdb.python/py-unwind.py: New test.
3866
a1471180
PA
38672015-04-01 Pedro Alves <palves@redhat.com>
3868
3869 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3870 to fail instead of non-existent $test.
3871
0bbeccb1
PA
38722015-04-01 Pedro Alves <palves@redhat.com>
3873
3874 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3875 GDBFLAGS if not empty.
3876
3c724c8c
PMR
38772015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3878
3879 * gdb.ada/complete.exp: Remove "multi_line".
3880 * gdb.ada/info_exc.exp: Remove "multi_line".
3881 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3882 * gdb.ada/ptype_field.exp: Remove "multi_line".
3883 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3884 * gdb.ada/tagged.exp: Remove "multi_line".
3885 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3886 [multi_line ...]
3887 * gdb.btrace/delta.exp: Likewise.
3888 * gdb.btrace/exception.exp: Likewise.
3889 * gdb.btrace/function_call_history.exp: Likewise.
3890 * gdb.btrace/instruction_history.exp: Likewise.
3891 * gdb.btrace/nohist.exp: Likewise.
3892 * gdb.btrace/record_goto.exp: Likewise.
3893 * gdb.btrace/segv.exp: Likewise.
3894 * gdb.btrace/stepi.exp: Likewise.
3895 * gdb.btrace/tailcall.exp: Likewise.
3896 * gdb.btrace/unknown_functions.exp: Likewise.
3897 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3898 * lib/gdb.exp: Add the "multi_line" helper.
3899
4eec2deb
PA
39002015-04-01 Pedro Alves <palves@redhat.com>
3901
3902 * gdb.threads/tid-reuse.c: New file.
3903 * gdb.threads/tid-reuse.exp: New file.
3904
df8411da
SDJ
39052015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3906
3907 PR corefiles/16092
3908 * gdb.base/coredump-filter.c: New file.
3909 * gdb.base/coredump-filter.exp: Likewise.
3910
6ef37366
PM
39112015-03-27 Petr Machata <pmachata@redhat.com>
3912
3913 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3914 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3915 (Dwarf::assemble): Initialize them.
3916 (Dwarf::lines): New function.
3917
7ec911b0
JT
39182015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3919
3920 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3921 SYMBOL_PREFIX for x86_64-*-cygwin.
3922
ff908ebf
AW
39232015-03-26 Andy Wingo <wingo@igalia.com>
3924
3925 PR symtab/18148
3926 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3927 const_value but not a location.
3928 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3929 location defined in non-main CUs are visible.
3930
6d5f0679
YQ
39312015-03-26 Yao Qi <yao.qi@linaro.org>
3932
3933 PR testsuite/18139
3934 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3935 Add a line number entry for the same line.
3936 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3937 Add a line number entry for the same line.
3938
2898689b
YQ
39392015-03-26 Yao Qi <yao.qi@linaro.org>
3940
3941 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3942 .int 0.
3943 (func): Likewise. Add .Lfunc_1 label.
3944 Use .Lfunc_1 label.
3945 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3946 .int 0.
3947 (func): Likewise.
3948 Use .Lfunc_1 label.
3949
85180498
YQ
39502015-03-26 Yao Qi <yao.qi@linaro.org>
3951
3952 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3953 Call gdb_compile instead to compile each .s files without debug
3954 information.
3955
8aa08a8d
YQ
39562015-03-26 Yao Qi <yao.qi@linaro.org>
3957
3958 * gdb.base/savedregs.exp (process_saved_regs): Make
3959 "Saved registers:" optional in the pattern.
3960
66849923
MM
39612015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3962
3963 * gdb.btrace/next.exp: Merged into step.exp.
3964 * gdb.btrace/finish.exp: Merged into step.exp.
3965 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3966 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3967 "record goto" and checking the exact replay position.
3968 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3969 check for "Recording format" in "info record" output.
3970 * gdb.btrace/record_goto.exp: Choose test file based on target.
3971 * gdb.btrace/x86-record_goto.S: Renamed into ...
3972 * gdb.btrace/x86_64-record_goto.S: ... this.
3973 * gdb.btrace/i686-record_goto.S: New.
3974 * gdb.btrace/x86-tailcall.S: Renamed into ...
3975 * gdb.btrace/x86_64-tailcall.S: ... this.
3976 * gdb.btrace/i686-tailcall.S: New.
3977 * gdb.btrace/x86-tailcall.c: Renamed into ...
3978 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3979 separate statements. Update test.
3980 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3981 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3982 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3983 * gdb.btrace/tailcall.exp: Choose test file based on target.
3984 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3985
11cc1b74
MM
39862015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3987
3988 * gdb.btrace/exception.exp: Increase BTS buffer size.
3989
a25d8bf9
PA
39902015-03-24 Pedro Alves <palves@redhat.com>
3991
3992 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3993
856e7dd6
PA
39942015-03-24 Pedro Alves <palves@redhat.com>
3995
3996 * gdb.threads/schedlock.exp (test_step): No longer expect that
3997 "set scheduler-locking step" with "next" over a function call runs
3998 threads unlocked.
3999
ad235a41
AT
40002015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4001
4002 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4003
15630549
AT
40042015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4005
4006 PR breakpoints/16466
4007 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4008 * gdb.mi/mi-pending.c (thread_func): New function.
4009 (int main): Add threading support required.
4010 * gdb.mi/mi-pending.exp: Add tests for this issue.
4011 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4012 (pendfunc2): Remove stdio dependency.
4013 * gdb.mi/mi-pendshr2.c: New file.
4014
693dca06
KS
40152015-03-23 Keith Seitz <keiths@redhat.com>
4016
4017 * gdb.linespec/keywords.c: New file.
4018 * gdb.linespec/keywords.exp: New file.
4019
7e993ebf
KS
40202015-03-23 Keith Seitz <keiths@redhat.com>
4021
4022 PR gdb/18021
4023 * gdb.dwarf2/staticvirtual.exp: New test.
4024
bc23328c
JK
40252015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4026
4027 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4028 * README: Remove HP-UX and gdb.hp.
4029 (configuration):
4030 * configure: Regenerate.
4031 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4032 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4033 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4034 gdb.hp/gdb.defects/Makefile.
4035 * gdb.hp/Makefile.in: File deleted.
4036 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4037 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4038 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4039 * gdb.hp/gdb.aCC/run.c: File deleted.
4040 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4041 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4042 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4043 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4044 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4045 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4046 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4047 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4048 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4049 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4050 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4051 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4052 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4053 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4054 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4055 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4056 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4057 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4058 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4059 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4060 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4061 * gdb.hp/gdb.compat/average.c: File deleted.
4062 * gdb.hp/gdb.compat/sum.c: File deleted.
4063 * gdb.hp/gdb.compat/xdb.c: File deleted.
4064 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4065 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4066 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4067 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4068 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4069 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4070 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4071 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4072 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4073 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4074 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4075 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4076 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4077 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4078 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4079 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4080 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4081 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4082 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4083 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4084 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4085 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4086 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4087 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4088 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4089 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4090 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4091 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4092 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4093 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4094 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4095 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4096 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4097 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4098 * gdb.hp/tools/odump: File deleted.
4099
8bf3b159
PA
41002015-03-19 Pedro Alves <palves@redhat.com>
4101
4102 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4103 (saw_thread_3): New globals.
4104 (top level): Increment them when an event for the corresponding
4105 thread is seen.
4106 (no thread starvation): New test.
4107
eb54c8bf
PA
41082015-03-19 Pedro Alves <palves@redhat.com>
4109
4110 * gdb.threads/continue-pending-status.c: New file.
4111 * gdb.threads/continue-pending-status.exp: New file.
4112
32d2e5d6
PA
41132015-03-18 Pedro Alves <palves@redhat.com>
4114
4115 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4116 Use gdb_is_target_remote instead of is_remote. Use
4117 gdb_test_multiple instead of gdb_expect. Exit early if
4118 gdb_test_multiple hits its internal matches. Tighten stepi tests
4119 expected output. Fail on exit with any signal, instead of just
4120 SIGILL.
4121
f68f11b7
YQ
41222015-03-18 Yao Qi <yao.qi@linaro.org>
4123
4124 PR tdep/18107
4125 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4126 variable.
4127 * gdb.base/catch-syscall.exp: Don't skip it on
4128 aarch64*-*-linux* target. Remove elements in all_syscalls.
4129 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4130 target.
4131 (setup_all_syscalls): New proc.
4132
ca5fd19b
YQ
41332015-03-16 Yao Qi <yao.qi@linaro.org>
4134
4135 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4136 (top level): Skip tests if valid_addr_p returns false for
4137 $cmd1 or $cmd2.
4138
85642ba0
AW
41392015-03-11 Andy Wingo <wingo@igalia.com>
4140
4141 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4142
e03f9645
YQ
41432015-03-11 Yao Qi <yao.qi@linaro.org>
4144
4145 * gdb.base/catch-syscall.exp: Fix typo in comments.
4146
5d0962b2
YQ
41472015-03-11 Yao Qi <yao.qi@linaro.org>
4148
4149 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4150
b2df3cef
PA
41512015-03-09 Pedro Alves <palves@redhat.com>
4152
4153 * dg-extract-results.py: Delete.
4154
ef878e53
PA
41552015-03-09 Pedro Alves <palves@redhat.com>
4156
4157 Merge dg-extract-results.sh from GCC upstream (r218843).
4158
4159 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4160 * dg-extract-results.sh: Use --text with grep to avoid issues with
4161 binary files. Fall back to cat -v, if that doesn't work.
4162
9494d219
PA
41632015-03-05 Pedro Alves <palves@redhat.com>
4164
4165 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4166
a8d9763a
SM
41672015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4168
4169 * lib/mi-support.exp (mi_expect_interrupt): Accept
4170 alternative event for when in all-stop mode.
4171
be9957b8
PA
41722015-03-04 Pedro Alves <palves@redhat.com>
4173
4174 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4175
d57be0f4 41762015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4177
4178 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4179
c214c7cf
AA
41802015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4181
4182 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4183 regexps for GDB's current line display, accept a hex address
4184 preceding the line number.
4185
6d74a497
AA
41862015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4187
4188 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4189 the 'arch1' variable for "s390*-linux*" targets.
4190
511aee7c
PA
41912015-03-04 Pedro Alves <palves@redhat.com>
4192
4193 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4194 (main): Pass missing retval argument to pthread_join call.
4195
95e50b27
PA
41962015-03-02 Pedro Alves <palves@redhat.com>
4197
4198 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4199 (top level): Call do_test with non-stop as well.
4200
28054d69
PA
42012015-03-02 Pedro Alves <palves@redhat.com>
4202
4203 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4204 -1.
4205
4fa5d7b4
AA
42062015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4207
4208 * gdb.arch/s390-vregs.exp: New test.
4209 * gdb.arch/s390-vregs.S: New file.
4210
97c18565
PA
42112015-02-27 Pedro Alves <palves@redhat.com>
4212
4213 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4214 call to catch_command_errors.
4215 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4216 catch_command_errors.
4217
a37bfa30
PA
42182015-02-27 Pedro Alves <palves@redhat.com>
4219
4220 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4221 "true" for boolean result.
4222 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4223 prototype of main.
4224
6f98576f
PA
42252015-02-27 Pedro Alves <palves@redhat.com>
4226
4227 * lib/unbuffer_output.c: New file.
4228 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4229 (main): Call gdb_unbuffer_output.
4230
eba5ab56
YQ
42312015-02-27 Yao Qi <yao.qi@linaro.org>
4232
4233 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4234 target.
4235
0def5aaa
DE
42362015-02-26 Doug Evans <dje@google.com>
4237
4238 * gdb.cp/class2.cc (Dbase, D): New classes.
4239 (main): New local delta.
4240 * gdb.cp/class2.exp: Test printing delta.
4241 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4242 (dynbar): New global.
4243 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4244
081a1c2c
JK
42452015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4246
4247 * gdb.compile/compile-ifunc.c: New file.
4248 * gdb.compile/compile-ifunc.exp: New file.
4249
2f41223f
AT
42502015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4251
4252 * gdb.base/structs.exp: Check for correct struct on finish.
4253
03eddd80
YQ
42542015-02-26 Yao Qi <yao.qi@linaro.org>
4255
4256 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4257 is zero.
4258
80c57053
JK
42592015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4260
4261 * gdb.arch/cordic.ko.bz2: New file.
4262 * gdb.arch/cordic.ko.debug.bz2: New file.
4263 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4264
21613c12
YQ
42652015-02-25 Yao Qi <yao.qi@linaro.org>
4266
4267 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4268 aarch64*-*-* target.
4269
d8b901ed
PA
42702015-02-23 Pedro Alves <palves@redhat.com>
4271
4272 * lib/gdb.exp (delete_breakpoints): Rewrite using
4273 gdb_test_multiple.
4274
e5b85ead
PA
42752015-02-23 Pedro Alves <palves@redhat.com>
4276
4277 * gdb.base/info-os.c: Include stdlib.h.
4278
85c3a371
DE
42792015-02-22 Doug Evans <xdje42@gmail.com>
4280
4281 PR symtab/17855
4282 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4283 is read after symbols have been re-read.
4284 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4285 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4286
96553a0c
DE
42872015-02-21 Doug Evans <dje@google.com>
4288
4289 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4290
97a0c697
JK
42912015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4292
4293 PR corefiles/17808
4294 * gdb.arch/i386-biarch-core.core.bz2: New file.
4295 * gdb.arch/i386-biarch-core.exp: New file.
4296
a47cd6e9
PA
42972015-02-21 Pedro Alves <palves@redhat.com>
4298
4299 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4300 runto_main fails.
4301
c5facdc4
PA
43022015-02-20 Pedro Alves <palves@redhat.com>
4303
4304 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4305 info probes.
4306
2db9a427
PA
43072015-02-20 Pedro Alves <palves@redhat.com>
4308
4309 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4310
60fb7e9e
PA
43112015-02-20 Pedro Alves <palves@redhat.com>
4312
4313 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4314 clean_restart before gdb_target_supports_trace.
4315
5c5019c2
PA
43162015-02-20 Pedro Alves <palves@redhat.com>
4317
4318 PR threads/18006
4319 * gdb.threads/clone-thread_db.c: New file.
4320 * gdb.threads/clone-thread_db.exp: New file.
4321
c9587f88
AT
43222015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4323
4324 PR breakpoints/16812
4325 * gdb.base/catch-gdb-caused-signals.c: New file.
4326 * gdb.base/catch-gdb-caused-signals.exp: New file.
4327
f6a88844
JM
43282015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4329
4330 * configure: Regenerated.
4331 * configure.ac: Use GDB_AC_TRANSFORM.
4332 * aclocal.m4: sinclude ../transform.m4.
4333
497c491b
JM
43342015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4335
4336 * lib/dtrace.exp: New file.
4337 * gdb.base/dtrace-probe.exp: Likewise.
4338 * gdb.base/dtrace-probe.d: Likewise.
4339 * gdb.base/dtrace-probe.c: Likewise.
4340 * lib/pdtrace.in: Likewise.
4341 * configure.ac: Output variables with the transformed names of
4342 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4343 * configure: Regenerated.
4344
03e98035
JM
43452015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4346
4347 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4348 expected message when trying to access $_probe_* convenience
4349 variables while not on a probe.
4350
63cc30e9
JK
43512015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4352
4353 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4354
0703599a
PA
43552015-02-11 Pedro Alves <pedro@codesourcery.com>
4356
4357 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4358 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4359
7e60a48e
DE
43602015-02-10 Doug Evans <xdje42@gmail.com>
4361
4362 * lib/gdb.exp (gdb_load): Always return a result.
4363
01b088bc
PA
43642015-02-10 Pedro Alves <palves@redhat.com>
4365
4366 * gdb.threads/signal-sigtrap.c: New file.
4367 * gdb.threads/signal-sigtrap.exp: New file.
4368
b05ec7a5
AT
43692015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4370
4371 * gdb.trace/no-attach-trace.c: New file.
4372 * gdb.trace/no-attach-trace.exp: New file.
4373
a2c2acaf
MW
43742015-02-09 Mark Wielaard <mjw@redhat.com>
4375
4376 * gdb.dwarf2/atomic.c: New file.
4377 * gdb.dwarf2/atomic-type.exp: Likewise.
4378
31fd9caa
MM
43792015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4380
4381 * gdb.btrace/buffer-size.exp: Update "info record" output.
4382 * gdb.btrace/delta.exp: Update "info record" output.
4383 * gdb.btrace/enable.exp: Update "info record" output.
4384 * gdb.btrace/finish.exp: Update "info record" output.
4385 * gdb.btrace/instruction_history.exp: Update "info record" output.
4386 * gdb.btrace/next.exp: Update "info record" output.
4387 * gdb.btrace/nexti.exp: Update "info record" output.
4388 * gdb.btrace/step.exp: Update "info record" output.
4389 * gdb.btrace/stepi.exp: Update "info record" output.
4390 * gdb.btrace/nohist.exp: Update "info record" output.
4391
d33501a5
MM
43922015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4393
4394 * gdb.btrace/buffer-size: New.
4395
f4abbc16
MM
43962015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4397
4398 * gdb.btrace/delta.exp: Update "info record" output.
4399 * gdb.btrace/enable.exp: Update "info record" output.
4400 * gdb.btrace/finish.exp: Update "info record" output.
4401 * gdb.btrace/instruction_history.exp: Update "info record" output.
4402 * gdb.btrace/next.exp: Update "info record" output.
4403 * gdb.btrace/nexti.exp: Update "info record" output.
4404 * gdb.btrace/step.exp: Update "info record" output.
4405 * gdb.btrace/stepi.exp: Update "info record" output.
4406 * gdb.btrace/nohist.exp: Update "info record" output.
4407
b9d61307
SM
44082015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4409
4410 PR gdb/15678
4411 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4412
e584fdbc
PA
44132015-02-06 Pedro Alves <palves@redhat.com>
4414
4415 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4416 macro.
4417 (seconds_left, again): New globals.
4418 (main): Wait seconds_left in a 1-second sleep loop instead of
4419 sleeping 180 seconds. If 'again' is set, reset the seconds
4420 counter.
4421 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4422 'again' in the inferior before detaching. Print the seconds left.
4423 (options): New global.
4424 (top level): Build program with -DTIMEOUT=$timeout.
4425
77f41761
PA
44262015-02-06 Pedro Alves <palves@redhat.com>
4427
4428 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4429 determine how many seconds to pass to 'alarm'.
4430 * gdb.base/gdb-sigterm.exp (top level): Build program with
4431 -DTIMEOUT=$timeout.
4432 (do_test): Return success/failure indication. Add more verbose
4433 logging. Don't fail if 200 single steps are seen. Instead, fail
4434 when the test times out.
4435 (passes): New global.
4436 (top level): Break the testing loop if testing fails on any
4437 iteration. Use gdb_assert.
4438
b9394193
DB
44392015-02-04 Don Breazeal <donb@codesourcery.com>
4440
4441 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4442 and initialize them.
4443 (ipc_cleanup): New function.
4444 (main): Don't declare shmid, semid, and msqid. Add a call to
4445 atexit so that we call ipc_cleanup on exit.
4446
42d9e528
PA
44472015-02-04 Pedro Alves <palves@redhat.com>
4448
4449 * boards/native-extended-gdbserver.exp: Remove any target variant
4450 specifications from the board name before clearing the isremote
4451 flag from board_info.
4452
ae6ae975
DE
44532015-01-31 Doug Evans <xdje42@gmail.com>
4454
4455 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4456
cfb069a8
GB
44572015-01-31 Gary Benson <gbenson@redhat.com>
4458
4459 * gdb.base/completion.exp: Disable completion limiting for
4460 existing tests. Add new tests to check completion limiting.
4461 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4462
5dd31d79
DE
44632015-01-31 Doug Evans <xdje42@gmail.com>
4464
4465 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4466
9f050062
DE
44672015-01-31 Doug Evans <xdje42@gmail.com>
4468
4469 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4470 entries. Duplicate file section script entries.
4471 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4472 inlined entries. Add test for safe-path rejection.
4473 * gdb.python/py-section-script.c: Add duplicate inlined section script
4474 entries. Duplicate file section script entries.
4475 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4476 inlined entries. Add test for safe-path rejection.
4477
df25ebbd
JB
44782015-01-29 Joel Brobecker <brobecker@adacore.com>
4479
4480 * gdb.ada/disc_arr_bound: New testcase.
4481
4a0ca9ec
JB
44822015-01-29 Joel Brobecker <brobecker@adacore.com>
4483
4484 * gdb.ada/mi_var_array: New testcase.
4485
3a8b707a
DE
44862015-01-27 Doug Evans <dje@google.com>
4487
4488 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4489 Add test for objfile.filename, objfile.username after objfile
4490 has been unloaded.
4491
f8313f6e
JB
44922015-01-26 Joel Brobecker <brobecker@adacore.com>
4493
4494 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4495 the second test to print the name attribute of value
4496 returned by the call to gdb.lookup_type, and adjust
4497 the expected output accordingly.
4498
37bc665e
MW
44992015-01-25 Mark Wielaard <mjw@redhat.com>
4500
4501 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4502 * gdb.base/disp-step-fork.c: Include unistd.h.
4503 * gdb.base/siginfo-obj.c: Include stdio.h.
4504 * gdb.base/siginfo-thread.c: Likewise.
4505 * gdb.mi/non-stop.c: Include unistd.h.
4506 * gdb.mi/nsthrexec.c: Include stdio.h.
4507 * gdb.mi/pthreads.c: Include unistd.h.
4508 * gdb.modula2/unbounded1.c (main): Declare returns int.
4509 * gdb.reverse/consecutive-reverse.c: Likewise.
4510 * gdb.threads/create-fail.c: Include unistd.h.
4511 * gdb.threads/killed.c: Likewise.
4512 * gdb.threads/linux-dp.c: Likewise.
4513 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4514 * gdb.threads/non-ldr-exc-2.c: Likewise.
4515 * gdb.threads/non-ldr-exc-3.c: Likewise.
4516 * gdb.threads/non-ldr-exc-4.c: Likewise.
4517 * gdb.threads/pthreads.c: Include unistd.h.
4518 (main): Declare returns int.
4519 * gdb.threads/tls-main.c (foo): New declaration.
4520 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4521
f7e5394d
SM
45222015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4523
4524 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4525 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4526
743649fd
MW
45272015-01-15 Mark Wielaard <mjw@redhat.com>
4528
4529 * gdb.base/noreturn-return.c: New file.
4530 * gdb.base/noreturn-return.exp: New file.
4531 * gdb.base/noreturn-finish.c: New file.
4532 * gdb.base/noreturn-finish.exp: New file.
4533
198297aa
PA
45342015-01-23 Pedro Alves <palves@redhat.com>
4535
4536 * gdb.threads/continue-pending-after-query.c: New file.
4537 * gdb.threads/continue-pending-after-query.exp: New file.
4538
717cf30c
AG
45392015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4540 Simon Marchi <simon.marchi@ericsson.com>
4541
4542 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4543 * gdb.base/valgrind-db-attach.exp: Same.
4544 * gdb.base/valgrind-infcall.exp: Same.
4545 * lib/mi-support.exp (default_mi_gdb_start): Same.
4546 * lib/prompt.exp (default_prompt_gdb_start): Same.
4547 * lib/gdb.exp (default_gdb_spawn): Same.
4548 (gdb_interact): New.
4549
4550
4b62a76e
JK
45512015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4552
4553 * gdb.compile/compile.exp (pointer to jit function): New test.
4554
b4cdae6f
WW
45552015-01-17 Wei-cheng Wang <cole945@gmail.com>
4556
4557 * lib/gdb.exp (supports_process_record): Return true for
4558 powerpc*-*-linux*.
4559 (supports_reverse): Likewise.
4560
d221e7ef
DB
45612015-01-15 Don Breazeal <donb@codesourcery.com>
4562
4563 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4564 instead of checking whether the target board is remote and
4565 use spawn_wait_for_attach instead of exec/sleep.
4566 * gdb.base/attach-twice.exp: Likewise.
4567
bafffb51
JB
45682015-01-15 Joel Brobecker <brobecker@adacore.com>
4569
4570 * gdb.ada/var_arr_attrs: New testcase.
4571
5589af0e
PA
45722015-01-14 Pedro Alves <palves@redhat.com>
4573 Joel Brobecker <brobecker@adacore.com>
4574
4575 PR gdb/17525
4576 * gdb.base/bp-cmds-execution-x-script.c: New file.
4577 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4578 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4579
6c400b59
PA
45802015-01-14 Pedro Alves <palves@redhat.com>
4581
4582 PR cli/17828
4583 * gdb.base/batch-preserve-term-settings.c: New file.
4584 * gdb.base/batch-preserve-term-settings.exp: New file.
4585
e02c96a7
DE
45862015-01-13 Doug Evans <dje@google.com>
4587
4588 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4589 binary.
4590
576fd14c
JB
45912015-01-13 Joel Brobecker <brobecker@adacore.com>
4592
4593 * Makefile.in (clean mostlyclean): Do not delete *.py.
4594
04dccad0
JB
45952015-01-13 Joel Brobecker <brobecker@adacore.com>
4596
4597 * gdb.python/py-lookup-type.exp: New file.
4598
3d230f71
PA
45992015-01-12 Pedro Alves <palves@redhat.com>
4600
4601 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4602 restore GDBFLAGS before returning.
4603
7e67715d
JK
46042015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4605
4606 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4607 is_amd64_regs_target and is_x86_like_target.
4608
f2e0d4b4
DE
46092015-01-11 Doug Evans <xdje42@gmail.com>
4610
4611 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4612 is given without an explicit form.
4613 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4614 attributes.
4615 * gdb.dwarf/corrupt.exp: Ditto.
4616 * gdb.dwarf2/enum-type.exp: Ditto.
4617 * gdb.trace/entry-values.exp: Ditto.
4618 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4619
439250fb
DE
46202015-01-11 Doug Evans <xdje42@gmail.com>
4621
4622 PR gdb/15830
4623 * gdb.base/maint.exp: Remove references to "maint demangle".
4624 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4625 Add tests for explicitly specifying language to demangle.
4626 * gdb.dlang/demangle.exp: Ditto.
4627
ede9f622
PA
46282015-01-09 Pedro Alves <palves@redhat.com>
4629
4630 * gdb.threads/non-stop-fair-events.c: New file.
4631 * gdb.threads/non-stop-fair-events.exp: New file.
4632
a7b796db
PA
46332015-01-09 Pedro Alves <palves@redhat.com>
4634
4635 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4636 the global scope. Set a breakpoint after all threads are started
4637 rather than stepping over two source lines. Expect the prompt.
4638 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4639 global.
4640 (NUM): Now 15.
4641 (main): Use threads_started_barrier to wait for all threads to
4642 start. Main thread no longer calls thread_function. Exit after
4643 180 seconds.
4644 (loop): New function.
4645 (thread_function): Wait on threads_started_barrier barrier. Call
4646 'loop' at each iteration.
4647 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4648 threads have started, instead of hardcoding number of "next"
4649 steps. Use an access watchpoint instead of a write watchpoint.
4650
9665ffdd
PA
46512015-01-09 Pedro Alves <palves@redhat.com>
4652
4653 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4654 (thread_func): Wait on barrier.
4655 (main): Wait for all threads to start before stopping GDB.
4656 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4657 global.
4658 (thread1_func, thread2_func): Wait on barrier.
4659 (main): Wait for all threads to start before stopping GDB.
4660 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4661 New global.
4662 (thread1_func, thread2_func): Wait on barrier.
4663 (main): Wait for all threads to start before stopping GDB.
4664
c945a99f
PA
46652015-01-09 Pedro Alves <palves@redhat.com>
4666
4667 * gdb.threads/attach-many-short-lived-threads.c: New file.
4668 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4669
c1a747c1
PA
46702014-01-09 Pedro Alves <palves@redhat.com>
4671
4672 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4673 instead of to thread 2.
4674 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4675 Add barrier around each pthread_create call instead of around all
4676 calls.
4677 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4678 Set a break on thread_function and have the child threads hit it
4679 one at at a time.
4680
60b3033e
PA
46812015-01-09 Pedro Alves <palves@redhat.com>
4682
4683 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4684 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4685 false.
4686 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4687 checking whether the target board is remote.
4688 * gdb.multi/multi-attach.exp: Likewise.
4689 * gdb.python/py-sync-interp.exp: Likewise.
4690 * gdb.server/ext-attach.exp: Likewise.
4691 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4692 tests that need to attach, instead of checking whether the target
4693 board is remote at the top of the file.
4694
acc018ac
YQ
46952015-01-08 Yao Qi <yao@codesourcery.com>
4696
4697 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4698
50a18af8
JK
46992015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4700
4701 Fix testcase compilation.
4702 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4703
8503d6e1
JB
47042015-01-06 Joel Brobecker <brobecker@adacore.com>
4705
4706 * gdb.python/py-type.exp: Add a couple test about empty
4707 array creation, and negative-length array creation.
4708
cc73dbcc
DE
47092015-01-02 Doug Evans <xdje42@gmail.com>
4710
4711 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4712
0300bbc7
DE
47132015-01-02 Doug Evans <dje@google.com>
4714
4715 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4716
9d85a0ec
YQ
47172014-12-29 Yao Qi <yao@codesourcery.com>
4718
4719 * gdb.trace/entry-values.exp: Update comments. Rename variable
4720 bar_call_foo to returned_from_foo.
4721
87186c6a
MMN
47222014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4723
4724 PR gdb/17394
4725 * gdb.linespec/break-asm-file.c: New file.
4726 * gdb.linespec/break-asm-file.exp: New file.
4727 * gdb.linespec/break-asm-file0.s: New file.
4728 * gdb.linespec/break-asm-file1.s: New file.
4729
1bab7383
YQ
47302014-12-18 Nigel Stephens <nigel@mips.com>
4731 Maciej W. Rozycki <macro@codesourcery.com>
4732
4733 * gdb.base/float.exp: Handle the new output from "info float" on
4734 MIPS targets.
4735
1bc1068a
JK
47362014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4737
4738 Fix MinGW compilation.
4739 * gdb.compile/compile-ops.exp: Update untested message if
4740 !skip_compile_feature_tests.
4741 * gdb.compile/compile-setjmp.exp: Likewise.
4742 * gdb.compile/compile-tls.exp: Likewise.
4743 * gdb.compile/compile.exp: Likewise.
4744 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4745 supported on this host".
4746
b6615d10
DE
47472014-12-16 Doug Evans <xdje42@gmail.com>
4748
4749 * boards/stabs.exp: New file.
4750
25dda427
AA
47512014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4752
4753 * gdb.base/completion.exp: Adjust to format changes of "maint
4754 print user-registers".
4755
bf330350
CU
47562014-12-16 Catalin Udma <catalin.udma@freescale.com>
4757
4758 PR server/17457
4759 * gdb.arch/aarch64-fp.c: New file.
4760 * gdb.arch/aarch64-fp.exp: New file.
4761
395cf596
SDJ
47622014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4763
4764 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4765 r210637, r210913, r211666, r215400, r215817).
4766
4767 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4768 * dg-extract-results.py: New file.
4769 * dg-extract-results.sh: Use it if the environment seems
4770 suitable.
4771
4772 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4773
4774 * dg-extract-results.py (parse_run): Handle warnings that
4775 are printed before a test harness is run.
4776
4777 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4778
4779 * dg-extract-results.py (Named): Remove __cmp__ method.
4780 (output_variation): Use a key to sort variation.harnesses.
4781
4782 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4783
4784 * dg-extract-results.py: For Python 3, force sys.stdout to
4785 handle surrogate escape sequences.
4786 (safe_open): New function.
4787 (output_segment, main): Use it.
4788
4789 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4790
4791 * dg-extract-results.py (Prog.result_re): Include options
4792 in test name.
4793
4794 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4795
4796 * dg-extract-results.py (output_variation): Always sort if
4797 do_sum.
4798
e882ef3c
SM
47992014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4800
4801 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4802 as long as we get pagination notifications.
4803
4992aa20
JM
48042014-12-15 Jason Merrill <jason@redhat.com>
4805
4806 * Makefile.in (check-gdb.%): Restore.
4807 * README: Mention it.
4808
c1b5a1a6
JB
48092014-12-13 Joel Brobecker <brobecker@adacore.com>
4810
4811 * gdb.ada/str_uninit: New testcase.
4812
5537b577
JK
48132014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4814
4815 PR symtab/17642
4816 * gdb.base/vla-stub-define.c: New file.
4817 * gdb.base/vla-stub.c: New file.
4818 * gdb.base/vla-stub.exp: New file.
4819
bb2ec1b3
TT
48202014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4821 Jan Kratochvil <jan.kratochvil@redhat.com>
4822 Tom Tromey <tromey@redhat.com>
4823
4824 * configure.ac: Add gdb.compile/.
4825 * configure: Regenerate.
4826 * gdb.compile/Makefile.in: New file.
4827 * gdb.compile/compile-ops.exp: New file.
4828 * gdb.compile/compile-ops.c: New file.
4829 * gdb.compile/compile-tls.c: New file.
4830 * gdb.compile/compile-tls.exp: New file.
4831 * gdb.compile/compile-constvar.S: New file.
4832 * gdb.compile/compile-constvar.c: New file.
4833 * gdb.compile/compile-mod.c: New file.
4834 * gdb.compile/compile-nodebug.c: New file.
4835 * gdb.compile/compile-setjmp-mod.c: New file.
4836 * gdb.compile/compile-setjmp.c: New file.
4837 * gdb.compile/compile-setjmp.exp: New file.
4838 * gdb.compile/compile-shlib.c: New file.
4839 * gdb.compile/compile.c: New file.
4840 * gdb.compile/compile.exp: New file.
4841 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4842
4ff709eb
TT
48432014-12-12 Tom Tromey <tromey@redhat.com>
4844
4845 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4846 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4847
6dddd6a5
DE
48482014-12-12 Doug Evans <dje@google.com>
4849
4850 * lib/gdb-python.exp (get_python_valueof): New function.
4851 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4852
71c24708
AA
48532014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4854
4855 * gdb.base/completion.exp: Add test for completion of "info
4856 registers ".
4857
3e29f34a
MR
48582014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4859
4860 * gdb.base/func-ptrs.c: New file.
4861 * gdb.base/func-ptrs.exp: New file.
4862
fc126975
SM
48632014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4864
4865 PR breakpoints/17012
4866 * gdb.base/dprintf-detach.c: New file.
4867 * gdb.base/dprintf-detach.exp: New file.
4868
0a46d518
SM
48692014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4870
4871 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4872 * lib/gdb.exp (target_is_gdbserver): New procedure.
4873
a0be3e44
DE
48742014-12-08 Doug Evans <dje@google.com>
4875
4876 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4877
df1b803a
YQ
48782014-12-05 Yao Qi <yao@codesourcery.com>
4879
4880 * gdb.guile/scm-error.exp: Remove the third argument to
4881 gdb_remote_download.
4882 * gdb.guile/scm-frame-args.exp: Likewise.
4883 * gdb.guile/scm-section-script.exp: Likewise.
4884
ddb9f679
YQ
48852014-12-05 Yao Qi <yao@codesourcery.com>
4886
4887 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4888
86e4ed39
DE
48892014-12-04 Doug Evans <dje@google.com>
4890
4891 * gdb.python/py-objfile.exp: Add tests for
4892 objfile.add_separate_debug_file.
4893
7c50a931
DE
48942014-12-04 Doug Evans <dje@google.com>
4895
4896 * lib/gdb.exp (get_build_id): New function.
4897 (build_id_debug_filename_get): Rewrite to use it.
4898 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4899
621661e3
MR
49002014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4901
4902 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4903 `method(long)', not just 0x0.
4904 * gdb.cp/nsalias.exp: Align code labels to 4.
4905 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4906 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4907 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4908 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4909 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4910 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4911
29f0c3b7
DE
49122014-12-02 Doug Evans <dje@google.com>
4913
e1e061e7 4914 PR symtab/17602
29f0c3b7 4915 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4916 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4917 * gdb.cp/anon-ns.exp: Update.
4918
162078c8
NB
49192014-12-02 Nick Bull <nicholaspbull@gmail.com>
4920
4921 * gdb.python/py-events.py (inferior_call_handler): New.
4922 (register_changed_handler, memory_changed_handler): New.
4923 (test_events.invoke): Register new handlers.
4924 * gdb.python/py-events.exp: Add tests for inferior call,
4925 memory_changed and register_changed events.
4926
fdb09caf
AA
49272014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4928
4929 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4930 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4931 if the linker doesn't understand this.
4932
55cfb2c4
SM
49332014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4934
4935 * gdb.python/python.exp: Change expected reply to help().
4936
9e8cd6df
YQ
49372014-12-01 Yao Qi <yao@codesourcery.com>
4938
4939 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4940 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4941 * configure: Re-generated.
4942
6c659fc2
SC
49432014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4944
4945 * gdb.cp/chained-calls.cc: New file.
4946 * gdb.cp/chained-calls.exp: New file.
4947 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4948
d7fc3181
SM
49492014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4950
4951 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4952 * gdb.dwarf2/symtab-producer.exp: Same.
4953 * gdb.gdb/python-interrupts.exp: Same.
4954 * gdb.gdb/python-selftest.exp: Same.
4955 * gdb.python/py-linetable.exp: Same.
4956 * gdb.python/py-type.exp: Same.
4957 * gdb.python/py-value-cc.exp: Same.
4958 * gdb.python/py-value.exp: Same.
4959
10e79639
YQ
49602014-11-28 Yao Qi <yao@codesourcery.com>
4961
4962 * gdb.base/break-probes.exp: Match library name prefixed with
4963 sysroot.
4964
f28a0564
SM
49652014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4966
4967 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4968 test expected output. Add parentheses for the call to print.
4969 Remove L suffix from integers.
4970
3fe1ce1d
DE
49712014-11-26 Doug Evans <dje@google.com>
4972
4973 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4974
84429e27
YQ
49752014-11-22 Yao Qi <yao@codesourcery.com>
4976
4977 * gdb.trace/entry-values.c: Remove asms.
4978 (foo): Add foo_label.
4979 (bar): Add bar_label.
4980 * gdb.trace/entry-values.exp: Remove code computing foo's
4981 length and bar's length.
4982 (Dwarf::assemble): Invoke function_range for bar and use
4983 MACRO_AT_func for foo.
4984
26741859
YQ
49852014-11-22 Yao Qi <yao@codesourcery.com>
4986
4987 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4988 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4989 Use .Lgcc43_procstart instead of gcc43.
4990
45e44d27
JB
49912014-11-21 Joel Brobecker <brobecker@adacore.com>
4992
4993 * gdb.ada/n_arr_bound: New testcase.
4994
458c8db8
SDJ
49952014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4996
4997 PR breakpoints/10737
4998 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4999 test_catch_syscall_multi_arch.
5000 (test_catch_syscall_multi_arch): New function.
5001
43f3e411
DE
50022014-11-20 Doug Evans <xdje42@gmail.com>
5003
5004 * gdb.base/maint.exp: Update expected output.
5005
0d7b2549
AA
50062014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5007
5008 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5009 4-byte instruction on S390.
5010
8908fca5
JB
50112014-11-19 Joel Brobecker <brobecker@adacore.com>
5012
5013 * gdb.ada/arr_arr: New testcase.
5014
4a46959e
JB
50152014-11-19 Joel Brobecker <brobecker@adacore.com>
5016
5017 * gdb.ada/pkd_arr_elem: New Testcase.
5018
470e2f4e
LM
50192014-11-18 Luis Machado <lgustavo@codesourcery.com>
5020
5021 * gdb.reverse/break-precsave: Expect completion message for
5022 core file reads.
5023 * gdb.reverse/consecutive-precsave.exp: Likewise.
5024 * gdb.reverse/finish-precsave.exp: Likewise.
5025 * gdb.reverse/i386-precsave.exp: Likewise.
5026 * gdb.reverse/machinestate-precsave.exp: Likewise.
5027 * gdb.reverse/sigall-precsave.exp: Likewise.
5028 * gdb.reverse/solib-precsave.exp: Likewise.
5029 * gdb.reverse/step-precsave.exp: Likewise.
5030 * gdb.reverse/until-precsave.exp: Likewise.
5031 * gdb.reverse/watch-precsave.exp: Likewise.
5032
a267f3ad
AA
50332014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5034
5035 * gdb.base/bp-permanent.c: Include unistd.h.
5036 * gdb.python/py-framefilter-mi.c (main): Add return type.
5037 * gdb.python/py-framefilter.c (main): Likewise.
5038 * gdb.trace/actions-changed.c (main): Likewise.
5039
12084a9a
AA
50402014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5041
5042 * gdb.mi/until.c: Add eye-catchers.
5043 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5044 line numbers.
5045
dc7e1a77
AA
50462014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5047
5048 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5049 function header variants in break1.c.
5050 * gdb.base/ena-dis-br.exp: Likewise.
5051 * gdb.base/hbreak2.exp: Likewise.
5052 * gdb.reverse/until-precsave.exp: Drop references to removed
5053 non-prototype function header variants in ur1.c.
5054 * gdb.reverse/until-reverse.exp: Likewise.
5055
41c77605
PM
50562014-11-17 Petr Machata <pmachata@redhat.com>
5057
5058 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5059 ${_cu_offset_size} bytes abbrev offset.
5060
34248c3a
DE
50612014-11-15 Doug Evans <xdje42@gmail.com>
5062
5063 PR symtab/17559
5064 * gdb.base/line-symtabs.exp: New file.
5065 * gdb.base/line-symtabs.c: New file.
5066 * gdb.base/line-symtabs.h: New file.
5067
646da059
YQ
50682014-11-14 Yao Qi <yao@codesourcery.com>
5069
5070 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5071 (func): Add label func_label.
5072 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5073 Replace low_pc and high_pc with MACRO_AT_range.
5074 Replace name, low_pc and high_pc with MACRO_AT_func.
5075
9301ebe6
YQ
50762014-11-14 Yao Qi <yao@codesourcery.com>
5077
5078 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5079 Replace name, low_pc and high_pc with MACRO_AT_func.
5080
f166b542
YQ
50812014-11-14 Yao Qi <yao@codesourcery.com>
5082
5083 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5084 produce debug information.
5085 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5086
0f6e71e3
YQ
50872014-11-14 Yao Qi <yao@codesourcery.com>
5088
5089 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5090 object and get function length.
5091 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5092 with MACRO_AT_func.
5093 (top-level): Replace gdb_compile and clean_restart with
5094 prepare_for_testing.
5095 * gdb.dwarf2/main.c (main): Add label main_label.
5096
876c4df9
YQ
50972014-11-14 Yao Qi <yao@codesourcery.com>
5098
5099 * lib/dwarf.exp (function_range): New procedure.
5100 (Dwarf::_handle_macro_at_func): New procedure.
5101 (Dwarf::_handle_macro_at_range): New procedure.
5102 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5103
02ad9cf1
YQ
51042014-11-14 Yao Qi <yao@codesourcery.com>
5105
5106 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5107 (_handle_attribute): New procedure.
5108
a59add0c
AA
51092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5110
5111 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5112 * gdb.base/call-sc.c (zed): Likewise.
5113 * gdb.base/checkpoint.c (main): Likewise.
5114 * gdb.base/dump.c (main): Likewise.
5115 * gdb.base/gcore.c (main): Likewise.
5116 * gdb.base/huge.c (main): Likewise.
5117 * gdb.base/multi-forks.c (main): Likewise.
5118 * gdb.base/pr10179-a.c (main): Likewise.
5119 * gdb.base/savedregs.c (main): Likewise.
5120 * gdb.base/sigaltstack.c (main): Likewise.
5121 * gdb.base/siginfo.c (main): Likewise.
5122 * gdb.base/structs.c (zed): Likewise.
5123 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5124 * gdb.mi/mi-syn-frame.c (main): Likewise.
5125 * gdb.mi/until.c (foo, main): Likewise.
5126 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5127 * gdb.base/solib-weak.c (foo): Declare.
5128 * gdb.base/attach-twice.c: Include stdio.h.
5129 * gdb.base/weaklib1.c: Likewise.
5130 * gdb.base/weaklib2.c: Likewise.
5131 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5132 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5133 unistd.h.
5134 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5135 * gdb.mi/mi-exit-code.c: Likewise.
5136 * gdb.base/break-interp-lib.c: Include string.h.
5137 * gdb.base/coremaker.c: Likewise.
5138 * gdb.base/testenv.c: Likewise.
5139 * gdb.python/py-finish-breakpoint.c: Likewise.
5140 * gdb.base/inferior-died.c: Include sys/wait.h.
5141 * gdb.base/fileio.c: Include time.h.
5142 * gdb.base/async-shell.c: Include unistd.h.
5143 * gdb.base/dprintf-non-stop.c: Likewise.
5144 * gdb.base/info-os.c: Likewise.
5145 * gdb.mi/mi-console.c: Likewise.
5146 * gdb.mi/watch-nonstop.c: Likewise.
5147 * gdb.python/py-events.c: Likewise.
5148 * gdb.base/async.c (baz): Move up before its invocation.
5149 * gdb.base/code_elim2.c (my_global_func): Likewise.
5150 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5151 * gdb.base/advance.c (func2): Likewise.
5152
3b5d5997
AA
51532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5154
5155 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5156 variant.
5157 * gdb.base/annota3.c: Likewise.
5158 * gdb.base/async.c: Likewise.
5159 * gdb.base/average.c: Likewise.
5160 * gdb.base/call-ar-st.c: Likewise.
5161 * gdb.base/call-rt-st.c: Likewise.
5162 * gdb.base/call-sc.c: Likewise.
5163 * gdb.base/call-strs.c: Likewise.
5164 * gdb.base/ending-run.c: Likewise.
5165 * gdb.base/execd-prog.c: Likewise.
5166 * gdb.base/exprs.c: Likewise.
5167 * gdb.base/foll-exec.c: Likewise.
5168 * gdb.base/foll-fork.c: Likewise.
5169 * gdb.base/foll-vfork.c: Likewise.
5170 * gdb.base/funcargs.c: Likewise.
5171 * gdb.base/gcore.c: Likewise.
5172 * gdb.base/jump.c: Likewise.
5173 * gdb.base/langs0.c: Likewise.
5174 * gdb.base/langs1.c: Likewise.
5175 * gdb.base/langs2.c: Likewise.
5176 * gdb.base/mips_pro.c: Likewise.
5177 * gdb.base/nodebug.c: Likewise.
5178 * gdb.base/opaque0.c: Likewise.
5179 * gdb.base/opaque1.c: Likewise.
5180 * gdb.base/recurse.c: Likewise.
5181 * gdb.base/run.c: Likewise.
5182 * gdb.base/scope0.c: Likewise.
5183 * gdb.base/scope1.c: Likewise.
5184 * gdb.base/setshow.c: Likewise.
5185 * gdb.base/setvar.c: Likewise.
5186 * gdb.base/shmain.c: Likewise.
5187 * gdb.base/shr1.c: Likewise.
5188 * gdb.base/shr2.c: Likewise.
5189 * gdb.base/sigall.c: Likewise.
5190 * gdb.base/signals.c: Likewise.
5191 * gdb.base/so-indr-cl.c: Likewise.
5192 * gdb.base/solib2.c: Likewise.
5193 * gdb.base/structs.c: Likewise.
5194 * gdb.base/sum.c: Likewise.
5195 * gdb.base/vforked-prog.c: Likewise.
5196 * gdb.base/watchpoint.c: Likewise.
5197 * gdb.reverse/shr2.c: Likewise.
5198 * gdb.reverse/until-reverse.c: Likewise.
5199 * gdb.reverse/ur1.c: Likewise.
5200 * gdb.reverse/watch-reverse.c: Likewise.
5201
066a77c5
AA
52022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5203
5204 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5205 variant.
5206 * gdb.base/sepdebug.exp: Drop references to removed code.
5207
4f204ea5
AA
52082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5209
5210 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5211 variant. Preserve original line numbering.
5212 * gdb.base/list1.c: Likewise.
5213
3b377a3a
AA
52142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5215
5216 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5217 variant.
5218 * gdb.base/break1.c: Likewise.
5219 * gdb.base/break.exp: Drop references to removed code.
5220
e444df73
AA
52212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5222
5223 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5224 variant.
5225
8008f2a7
AA
52262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5227
5228 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5229
a5a06887
AA
52302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5231
5232 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5233 logic into perform_all_tests() and invoke it with and without
5234 function header prototypes.
5235 (do_function_calls): Remove conditional XFAIL for PR 5318.
5236 (rerun_and_prepare): Remove duplicate code.
5237 (perform_all_tests): New. Main logic moved here.
5238
44dba9b9
AA
52392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5240
5241 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5242 code guarded by #ifdef NO_PROTOTYPES.
5243 (t_double_many_args): Likewise.
5244 (DEF_FUNC_MANY_ARGS_1): Likewise.
5245 (DEF_FUNC_VALUES_1): Likewise.
5246 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5247 guarded by #ifdef PROTOTYPES.
5248
d1fbcd56
AA
52492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5250
5251 * gdb.mi/mi-console.c: Add eye-catcher.
5252 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5253 instead of literal line number.
5254
b0e59b8f
AA
52552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5256
5257 * gdb.base/shr2.c: Add eye-catcher.
5258 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5259 line number.
5260
78f98cca
AA
52612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5262
5263 * gdb.base/jump.c: Add eye-catchers.
5264 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5265 numbers.
5266
58fa2af0
AA
52672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5268
5269 * gdb.base/execd-prog.c: Add eye-catchers.
5270 * gdb.base/foll-exec.c: Likewise.
5271 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5272 line numbers.
5273
04e5059b
AA
52742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5275
5276 * gdb.base/ending-run.c: Add eye-catchers.
5277 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5278 literal line numbers.
5279
dbfdb174
AA
52802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5281
5282 * gdb.base/call-rt-st.c: Add eye-catchers.
5283 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5284 literal line numbers.
5285
888a2ade
AA
52862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5287
5288 * gdb.base/call-ar-st.c: Add eye-catchers.
5289 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5290 literal line numbers.
5291
6acc2dde
AA
52922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5293
5294 * gdb.base/average.c: Add eye-catchers.
5295 * gdb.base/sum.c: Likewise.
5296 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5297 regexps dynamically.
5298
9ecfcd1d
AA
52992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5300
5301 * gdb.base/solib1.c: Add eye-catchers.
5302 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5303 literal line numbers.
5304
78708b7c
PA
53052014-11-12 Pedro Alves <palves@redhat.com>
5306
5307 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5308 leader has exited.
5309
af48d08f
PA
53102014-11-12 Pedro Alves <palves@redhat.com>
5311
5312 * gdb.arch/i386-bp_permanent.c: New file.
5313 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5314 (srcfile): Set to i386-bp_permanent.c.
5315 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5316 that stepi does not execute the 'leave' instruction, instead of
5317 testing it does execute.
5318 * gdb.base/bp-permanent.c: New file.
5319 * gdb.base/bp-permanent.exp: New file.
5320
af3768e9
DE
53212014-11-10 Doug Evans <xdje42@gmail.com>
5322
5323 PR symtab/17564
5324 * gdb.base/symtab-search-order.exp: New file.
5325 * gdb.base/symtab-search-order.c: New file.
5326 * gdb.base/symtab-search-order-1.c: New file.
5327 * gdb.base/symtab-search-order-shlib-1.c: New file.
5328
9de00a4a
PA
53292014-11-07 Pedro Alves <palves@redhat.com>
5330
5331 PR gdb/17511
5332 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5333 i?86-*-linux*.
5334
e0f52461
SC
53352014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5336
5337 PR c++/17494
5338 * gdb.cp/pr17494.cc: New file.
5339 * gdb.cp/pr17494.exp: New file.
5340
6ce8c980
YQ
53412014-11-02 Yao Qi <yao@codesourcery.com>
5342
5343 * gdb.python/python.exp: Get working directory and match the
5344 output of "set extended-prompt \\w " with it.
5345
02be9a71
DE
53462014-10-30 Doug Evans <dje@google.com>
5347
5348 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5349 in objfiles.
5350 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5351 in progspaces.
5352
3bdff46b
LM
53532014-10-30 Janis Johnson <janisjo@codesourcery.com>
5354
5355 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5356 * gdb.base/realname-expand.exp: Likewise.
5357 * gdb.linespec/macro-relative.exp: Likewise.
5358
ab917dfb
PA
53592014-10-29 Pedro Alves <palves@redhat.com>
5360
5361 PR gdb/17408
5362 * gdb.threads/schedlock.c (some_function): New function.
5363 (call_function): New global.
5364 (MAYBE_CALL_SOME_FUNCTION): New macro.
5365 (thread_function): Call it.
5366 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5367 and use it instead of a global counter. Adjust all callers.
5368 (get_current_thread): Use "find current thread" for test message
5369 here rather than having all callers pass down the same string.
5370 (goto_loop): New procedure, factored out from ...
5371 (my_continue): ... this.
5372 (step_ten_loops): Change parameter from test message to command to
5373 use. Adjust.
5374 (list_count): Delete global.
5375 (check_result): New procedure, factored out from duplicate top
5376 level code.
5377 (continue tests): Wrap in with_test_prefix.
5378 (test_step): New procedure, factored out from duplicate top level
5379 code.
5380 (top level): Test "step" in combination with all scheduler-locking
5381 modes. Test "next" in combination with all scheduler-locking
5382 modes, and in combination with stepping over a function call or
5383 not.
5384 * gdb.threads/next-bp-other-thread.c: New file.
5385 * gdb.threads/next-bp-other-thread.exp: New file.
5386
d3d4baed
PA
53872014-10-29 Pedro Alves <palves@redhat.com>
5388
5389 PR python/17372
5390 * gdb.python/python.exp: Test a multi-line command that spawns
5391 interactive Python.
5392 * gdb.base/multi-line-starts-subshell.exp: New file.
5393
563e8d85
YQ
53942014-10-29 Yao Qi <yao@codesourcery.com>
5395
5396 * gdb.base/fileio.exp: Make directories on host.
5397
0ea4d52e
YQ
53982014-10-29 Yao Qi <yao@codesourcery.com>
5399
5400 * gdb.base/fileio.c (test_write): Close the file.
5401
7f5ef605
PA
54022014-10-28 Pedro Alves <palves@redhat.com>
5403
5404 PR gdb/12623
5405 * gdb.base/sigstep.c (no_handler): New global.
5406 (main): If 'no_handler is true, set the signal handlers to
5407 SIG_IGN.
5408 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5409 with_sw_watch and no_handler parameters. Handle them.
5410 (top level) <stepping over handler when stopped at a breakpoint
5411 test>: Add a test axis for testing with a software watchpoint, and
5412 another for testing with the signal handler set to SIG_IGN.
5413 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5414 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5415
abbdbd03
PA
54162014-10-28 Pedro Alves <palves@redhat.com>
5417
5418 PR gdb/17511
5419 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5420 * gdb.base/sigstep.exp (other_handler_location): New global.
5421 (advance): Support stepping into the signal handler, and running
5422 commands while in the handler.
5423 (in_handler_map): New global.
5424 (top level): In the advance test, add combinations for getting
5425 into the handler with stepping commands, and for running commands
5426 in the handler. Add comment descripting the advancei tests.
5427
1df4399f
PA
54282014-10-28 Pedro Alves <palves@redhat.com>
5429
5430 * gdb.base/sigstep.exp: Use build_executable instead of
5431 prepare_for_testing.
5432 (top level): Move code that starts GDB, runs to main and creates a
5433 display to ...
5434 (restart): ... this new procedure.
5435 (top level): Move backtrace from signal handler test to ...
5436 (validate_backtrace): ... this new procedure.
5437 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5438 with_test_prefix. Always restart GDB.
5439 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5440 with_test_prefix. Always restart GDB. No need to delete
5441 breakpoints after the test.
5442 (test_skip_handler): Remove prefix parameter.
5443 (skip_over_handler, breakpoint_to_handler)
5444 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5445 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5446 restart GDB. No need to delete breakpoints after the test.
5447 (top level): Use foreach to call the test procedures with
5448 different commands.
5449
a5b6e449
PA
54502014-10-28 Pedro Alves <palves@redhat.com>
5451
5452 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5453 instead of GNATS numbers.
5454 * gdb.base/sigbpt.exp: Likewise.
5455 * gdb.base/siginfo.exp: Likewise.
5456 * gdb.base/sigstep.exp: Likewise.
5457
e5f8a7cc
PA
54582014-10-27 Pedro Alves <palves@redhat.com>
5459
5460 * gdb.base/sigstep.c (dummy): New global.
5461 (main): Issue a couple writes to the new global.
5462 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5463 procedures.
5464 (skip_over_handler): Use test_skip_handler.
5465 (top level): Call skip_over_handler for stepi and nexti too.
5466 (breakpoint_over_handler): Use test_skip_handler.
5467 (top level): Call breakpoint_over_handler for stepi and nexti too.
5468
763905a3
YQ
54692014-10-27 Yao Qi <yao@codesourcery.com>
5470
5471 * gdb.trace/tfile.c (adjust_function_address)
5472 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5473 function descriptor.
5474
6f259a23
DB
54752014-10-24 Don Breazeal <donb@codesourcery.com>
5476
5477 * gdb.base/foll-fork.exp (test_follow_fork,
5478 catch_fork_child_follow): Check for updated fork messages emitted
5479 from infrun.c.
5480 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5481 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5482 vfork_and_exec_child_follow_through_step): Check for updated vfork
5483 messages emitted from infrun.c.
5484
09dd9a69
PA
54852014-10-24 Pedro Alves <palves@redhat.com>
5486
5487 * gdb.base/corefile.exp: Remove references to ultrix.
5488 * gdb.base/interrupt.exp: Likewise.
5489 * gdb.base/whatis.exp: Likewise.
5490 * gdb.gdb/selftest.exp: Likewise.
5491 * gdb.threads/manythreads.exp: Likewise.
5492 * gdb.threads/print-threads.exp: Likewise.
5493 * gdb.threads/pthreads.exp:: Likewise.
5494 * gdb.threads/schedlock.exp: Likewise.
5495
3433cfa5
SC
54962014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5497
5498 * gdb.cp/non-trivial-retval.cc: Add a test case.
5499 * gdb.cp/non-trivial-retval.exp: Add a test.
5500
092f880b
YQ
55012014-10-20 Yao Qi <yao@codesourcery.com>
5502
5503 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5504 * gdb.python/py-objfile-script-gdb.py: New file.
5505 * gdb.python/py-objfile-script.exp: Update reference to
5506 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5507 of remote_download. Remove the dest file.
5508
acbdb7f3
YQ
55092014-10-20 Yao Qi <yao@codesourcery.com>
5510
5511 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5512 * gdb.base/step-line.exp: Likewise.
5513 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5514 * gdb.dwarf2/dw2-basic.exp: Likewise.
5515 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5516 * gdb.dwarf2/dw2-filename.exp: Likewise.
5517 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5518 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5519 * gdb.dwarf2/dw2-producer.exp: Likewise.
5520 * gdb.dwarf2/mac-fileno.exp: Likewise.
5521 * gdb.python/py-frame-args.exp: Likewise.
5522 * gdb.python/py-framefilter.exp: Likewise.
5523 * gdb.python/py-mi.exp: Likewise.
5524 * gdb.python/py-objfile-script.exp: Likewise
5525 * gdb.python/py-pp-integral.exp: Likewise.
5526 * gdb.python/py-pp-re-notag.exp: Likewise.
5527 * gdb.python/py-prettyprint.exp: Likewise.
5528 * gdb.python/py-section-script.exp: Likewise.
5529 * gdb.python/py-typeprint.exp: Likewise.
5530 * gdb.python/py-xmethods.exp: Likewise.
5531 * gdb.stabs/weird.exp: Likewise.
5532 * gdb.xml/tdesc-regs.exp: Likewise.
5533
bd286a29
KCY
55342014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5535
5536 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5537 (out_cu): Use addr_len for the size of addresses.
5538 (out_line): Likewise. Size DW_LNE_set_address instruction
5539 according to addr_len.
5540 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5541 (FUNC): Add START_INSNS to definition.
5542
673dc4a0
YQ
55432014-10-18 Yao Qi <yao@codesourcery.com>
5544
5545 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5546 gdb_has_argv0 return true.
5547 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5548 check [target_info exists noargs], check [gdb_has_argv0]
5549 instead.
5550 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5551 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5552 procedures.
5553
4ffbba72
DE
55542014-10-17 Doug Evans <dje@google.com>
5555
5556 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5557 event.
5558 * gdb.python/py-events.py: Add clear_objfiles event.
5559
d096d8c1
DE
55602014-10-17 Doug Evans <dje@google.com>
5561
5562 * gdb.python/py-objfile.exp: Test progspace attribute.
5563
a80db015
LM
55642014-10-17 Luis Machado <lgustavo@codesourcery.com>
5565
5566 * gdb.guile/scm-breakpoint.exp: Do not assume any
5567 directory separators when matching source file paths.
5568 * gdb.python/py-breakpoint.exp: Likewise.
5569 * gdb.reverse/break-precsave.exp: Likewise.
5570 * gdb.reverse/break-reverse.exp: Likewise.
5571 * gdb.reverse/consecutive-precsave.exp: Likewise.
5572 * gdb.reverse/finish-precsave.exp: Likewise.
5573 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5574 * gdb.reverse/finish-reverse.exp: Likewise.
5575 * gdb.reverse/i386-precsave.exp: Likewise.
5576 * gdb.reverse/i387-env-reverse.exp: Likewise.
5577 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5578 * gdb.reverse/machinestate-precsave.exp: Likewise.
5579 * gdb.reverse/machinestate.exp: Likewise.
5580 * gdb.reverse/sigall-precsave.exp: Likewise.
5581 * gdb.reverse/solib-precsave.exp: Likewise.
5582 * gdb.reverse/step-precsave.exp: Likewise.
5583 * gdb.reverse/until-precsave.exp: Likewise.
5584 * gdb.reverse/watch-precsave.exp: Likewise.
5585 * gdb.reverse/watch-reverse.exp: Likewise.
5586
b22089ab
YQ
55872014-10-17 Yao Qi <yao@codesourcery.com>
5588
5589 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5590 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5591
6c4486e6
PA
55922014-10-17 Pedro Alves <palves@redhat.com>
5593
5594 PR gdb/17471
5595 * gdb.base/bg-execution-repeat.c: New file.
5596 * gdb.base/bg-execution-repeat.exp: New file.
5597
0ff33695
PA
55982014-10-17 Pedro Alves <palves@redhat.com>
5599
5600 PR gdb/17300
5601 * gdb.base/continue-all-already-running.c: New file.
5602 * gdb.base/continue-all-already-running.exp: New file.
5603
6fdebc3d
PA
56042014-10-17 Pedro Alves <palves@redhat.com>
5605
5606 PR gdb/17472
5607 * gdb.base/annota-input-while-running.c: New file.
5608 * gdb.base/annota-input-while-running.exp: New file.
5609
32a8097b
PA
56102014-10-17 Pedro Alves <palves@redhat.com>
5611
5612 * gdb.base/callfuncs.exp: emove references to osf.
5613 * gdb.base/sigall.exp: Likewise.
5614 * gdb.gdb/selftest.exp: Likewise.
5615 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5616 * gdb.mi/non-stop.c: Likewise.
5617 * gdb.mi/pthreads.c: Likewise.
5618 * gdb.reverse/sigall-precsave.exp: Likewise.
5619 * gdb.reverse/sigall-reverse.exp: Likewise.
5620 * gdb.threads/pthreads.c: Likewise.
5621 * gdb.threads/pthreads.exp: Likewise.
5622
7a3517ff
YQ
56232014-10-17 Yao Qi <yao@codesourcery.com>
5624
5625 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5626 check 'target_info exists noargs'.
5627 (test_command_prompt_position): Likewise.
5628 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5629 Remove "set args".
5630 (progvar_simple_while_test): Likewise.
5631 (progvar_complex_if_while_test): Likewise.
5632 (if_while_breakpoint_command_test): Likewise.
5633 (infrun_breakpoint_command_test): Likewise.
5634 (breakpoint_command_test): Likewise.
5635 (watchpoint_command_test): Likewise.
5636 (bp_deleted_in_command_test): Likewise.
5637 (temporary_breakpoint_commands): Likewise.
5638
bb99c472
YQ
56392014-10-16 Yao Qi <yao@codesourcery.com>
5640
5641 * gdb.base/remotetimeout.exp: Remove noargs checking.
5642
7c16b83e
PA
56432014-10-15 Pedro Alves <palves@redhat.com>
5644
5645 PR breakpoints/9649
5646 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5647 * gdb.base/breakpoint-in-ro-region.exp
5648 (probe_target_hardware_step): New procedure.
5649 (top level): Probe hardware stepping and hardware breakpoint
5650 support. Test stepping through a read-only region, with both
5651 "breakpoint auto-hw" on and off and both "always-inserted" on and
5652 off.
5653
35a49624
IB
56542014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5655
5656 * gdb.dlang/demangle.exp: Update for demangling changes.
5657
2d1c107c
SC
56582014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5659
5660 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5661 * gdb.cp/non-trivial-retval.exp: Add new tests.
5662
778811d5
SC
56632014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5664
5665 PR c++/13403
5666 PR c++/15154
5667 * gdb.cp/non-trivial-retval.cc: New file.
5668 * gdb.cp/non-trivial-retval.exp: New file.
5669
10c5f0a8
YQ
56702014-10-15 Yao Qi <yao@codesourcery.com>
5671
5672 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5673 remote host.
5674
65d7b369
YQ
56752014-10-15 Yao Qi <yao@codesourcery.com>
5676
5677 * gdb.python/py-symbol.exp: Match file base name if host is
5678 remote, otherwise match file name with dir name.
5679 * gdb.python/py-symtab.exp: Likewise.
5680 * gdb.python/python.exp: Likewise.
5681
46dc1394
YQ
56822014-10-15 Yao Qi <yao@codesourcery.com>
5683
5684 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5685 pattern.
5686 * gdb.python/py-symtab.exp: Likewise.
5687 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5688 locationn.
5689
c40cc657
JB
56902014-10-14 Joel Brobecker <brobecker@adacore.com>
5691
5692 * gdb.ada/addr_arith: New testcase.
5693
2abf49e1
MR
56942014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5695
5696 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5697 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5698 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5699 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5700
f7088df3
SDJ
57012014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5702
5703 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5704 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5705 * gdb.arch/stap-eval-lang-ada.exp: New file.
5706
4dc06805
YQ
57072014-10-14 Yao Qi <yao@codesourcery.com>
5708
5709 * gdb.mi/mi-var-child.c (nothing1): New function.
5710 (nothing2): New function.
5711 (do_children_tests): Set function pointers by nothing1 and
5712 nothing2.
5713 * gdb.mi/mi-var-child.exp: Step over new added statements.
5714 Update test to match the new output.
5715 * gdb.mi/var-cmd.c (nothing1): New function.
5716 (nothing2): New function.
5717 (do_children_tests): Set function pointers by nothing1 and
5718 nothing2.
5719 * gdb.mi/mi-var-display.exp: Update test to match output.
5720 Step to the line specified by $line_dct_nothing.
5721 Increase the number of lines to step.
5722
46a93de2
YQ
57232014-10-14 Yao Qi <yao@codesourcery.com>
5724
5725 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5726 tests.
5727 * gdb.mi/mi2-var-child.exp: Likewise.
5728
14ea52ee
DE
57292014-10-13 Doug Evans <dje@google.com>
5730
5731 * gdb.python/py-objfile.exp: Change name of file name test.
5732
e5c6e92b
DE
57332014-10-13 Doug Evans <dje@google.com>
5734
5735 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5736 from the start of the CU.
5737
c780cc2f
JK
57382014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5739 Yao Qi <yao@codesourcery.com>
5740
5741 Fix "save breakpoints" for "catch" command.
5742 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5743 Remove -nonewline. Match also the added "main" line.
5744
99894e11
JK
57452014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5746
5747 Fix "save breakpoints" for "disable $bpnum" command.
5748 * gdb.base/save-bp.c (main): Add label.
5749 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5750
6e1ac5a3
JK
57512014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5752
5753 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5754
754dd2b0
YQ
57552014-10-11 Yao Qi <yao@codesourcery.com>
5756
5757 * gdb.server/server-kill.exp: Execute command
5758 "set remote trace-status-packet on" before "tstatus".
5759
f90183d7
YQ
57602014-10-11 Yao Qi <yao@codesourcery.com>
5761
5762 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5763 (main): Call getppid.
5764 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5765 and continue to it. Read variable "server_pid".
5766
bf40a607
YQ
57672014-10-11 Yao Qi <yao@codesourcery.com>
5768
5769 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5770
052ca370
YQ
57712014-10-11 Yao Qi <yao@codesourcery.com>
5772
5773 * gdb.threads/thread-find.exp: Don't execute command
5774 "info threads".
5775 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5776 * gdb.threads/linux-dp.exp: Don't check the condition
5777 $threads_created equals to zero.
5778
3831839c
PA
57792014-10-10 Pedro Alves <palves@redhat.com>
5780
5781 * gdb.base/bigcore.exp: Remove references to IRIX.
5782 * gdb.base/funcargs.exp: Likewise.
5783 * gdb.base/interrupt.exp: Likewise.
5784 * gdb.base/mips_pro.exp: Likewise.
5785 * gdb.base/nodebug.exp: Likewise.
5786 * gdb.base/setvar.exp: Likewise.
5787 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5788
8b9a549d
PA
57892014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5790 Pedro Alves <palves@redhat.com>
5791
5792 PR symtab/14466
5793 * gdb.base/vdso-warning.c: New file.
5794 * gdb.base/vdso-warning.exp: New file.
5795
d48ba5e8
DE
57962014-10-02 Doug Evans <dje@google.com>
5797
5798 * gdb.base/structs.c (main): Don't run forever.
5799
2278c276
PA
58002014-10-02 Pedro Alves <palves@redhat.com>
5801
5802 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5803 (top level) <stop threads 1, stop threads 2>: Use it.
5804
b57bacec
PA
58052014-10-02 Pedro Alves <palves@redhat.com>
5806
5807 * gdb.threads/break-while-running.exp (test): Add new
5808 'update_thread_list' argument. Skip "info threads" if false.
5809 (top level): Add new 'update_thread_list' axis.
5810
13fd3ff3
PA
58112014-10-02 Pedro Alves <palves@redhat.com>
5812
5813 PR breakpoints/17431
5814 * gdb.base/execl-update-breakpoints.c: New file.
5815 * gdb.base/execl-update-breakpoints.exp: New file.
5816
0fec99e8
PA
58172014-10-01 Pedro Alves <palves@redhat.com>
5818
5819 * gdb.base/breakpoint-in-ro-region.c: New file.
5820 * gdb.base/breakpoint-in-ro-region.exp: New file.
5821
2ddf4301
SM
58222014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5823
5824 * gdb.mi/mi-exit-code.exp: New file.
5825 * gdb.mi/mi-exit-code.c: New file.
5826
6a5f3f43
YQ
58272014-09-30 Yao Qi <yao@codesourcery.com>
5828
5829 * lib/prelink-support.exp (build_executable_own_libs): Error if
5830 the target isn't native.
5831
345bcc73
YQ
58322014-09-30 Yao Qi <yao@codesourcery.com>
5833
5834 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5835 false.
5836
a25a5a45
PA
58372014-09-22 Pedro Alves <palves@redhat.com>
5838
5839 * gdb.threads/break-while-running.exp: New file.
5840 * gdb.threads/break-while-running.c: New file.
5841
00ba3162
YQ
58422014-09-19 Yao Qi <yao@codesourcery.com>
5843
5844 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5845 Invoke test. Restart GDB with --readnow and invoke test again.
5846
c3b7b696
YQ
58472014-09-19 Yao Qi <yao@codesourcery.com>
5848
5849 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5850 proc set_breakpoint_on_gcd_function. Invoke
5851 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5852 invoke set_breakpoint_on_gcd_function again.
5853
2b4fd423
DE
58542014-09-18 Doug Evans <dje@google.com>
5855
5856 * gdb.dwarf2/symtab-producer.exp: New file.
5857
a5947601
SDJ
58582014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5859
5860 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5861 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5862 * gdb.base/global-var-nested-by-dso.c: Likewise.
5863 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5864
91c19059
SDJ
58652014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5866 Pedro Alves <palves@redhat.com>
5867
5868 * gdb.base/watch-bitfields.exp: Pass string other than test file
5869 name to prepare_for_testing.
5870 (watch): New procedure.
5871 (expect_watchpoint): Use with_test_prefix.
5872 (top level): Factor out tests to ...
5873 (test_watch_location, test_regular_watch): ... these new
5874 procedures, and use with_test_prefix and gdb_continue_to_end.
5875
bb9d5f81
PP
58762014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5877
5878 PR breakpoints/12526
5879 * gdb.base/watch-bitfields.exp: New file.
5880 * gdb.base/watch-bitfields.c: New file.
5881
635856f5
PA
58822014-09-16 Pedro Alves <palves@redhat.com>
5883
5884 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5885 software and hardware addresses, not software address against
5886 itself.
5887
7280ceea
PA
58882014-09-16 Pedro Alves <palves@redhat.com>
5889
5890 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5891 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5892
428b16bd
PA
58932014-09-16 Pedro Alves <palves@redhat.com>
5894
5895 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5896 files.
5897 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5898 "*-*-vxworks*" throughout.
5899 * gdb.base/break.exp: Likewise.
5900 * gdb.base/default.exp: Likewise.
5901 * gdb.base/scope.exp: Likewise.
5902 * gdb.base/sepdebug.exp: Likewise.
5903 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5904 throughout.
5905 * gdb.base/run.c: Likewise.
5906 * gdb.base/sepdebug.c: Likewise.
5907 * gdb.hp/gdb.aCC/run.c: Likewise.
5908 * gdb.reverse/until-reverse.c: Likewise.
5909 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5910
666d413c
YQ
59112014-09-16 Yao Qi <yao@codesourcery.com>
5912
5913 * boards/local-remote-host-native.exp: New file.
5914
57cbd724
DE
59152014-09-14 Doug Evans <xdje42@gmail.com>
5916
5917 * gdb.threads/queue-signal.c (thread_count): New variable.
5918 (thread_count_mutex, thread_count_condvar): New variables.
5919 (incr_thread_count, wait_all_threads_running): New functions.
5920 (main): Wait for all threads to be in their thread functions.
5921
81219e53
DE
59222014-09-13 Doug Evans <xdje42@gmail.com>
5923
5924 * gdb.threads/queue-signal.c: New file.
5925 * gdb.threads/queue-signal.exp: New file.
5926
3714cea7
DE
59272014-09-13 Doug Evans <xdje42@gmail.com>
5928
5929 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5930 be consistent with what default_gdb_init uses.
5931 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5932 the plain text of the prompt. Add some logging printfs.
5933 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5934
fa43b1d7
PA
59352014-09-12 Pedro Alves <palves@redhat.com>
5936
5937 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5938 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5939 * gdb.arch/i386-size-overlap.exp: Likewise.
5940 * gdb.arch/i386-size.exp: Likewise.
5941 * gdb.arch/i386-unwind.exp: Likewise.
5942 * gdb.base/a2-run.exp: Likewise.
5943 * gdb.base/break.exp: Likewise.
5944 * gdb.base/charset.exp: Likewise.
5945 * gdb.base/chng-syms.exp: Likewise.
5946 * gdb.base/commands.exp: Likewise.
5947 * gdb.base/dbx.exp: Likewise.
5948 * gdb.base/find.exp: Likewise.
5949 * gdb.base/funcargs.exp: Likewise.
5950 * gdb.base/jit-simple.exp: Likewise.
5951 * gdb.base/reread.exp: Likewise.
5952 * gdb.base/sepdebug.exp: Likewise.
5953 * gdb.base/step-bt.exp: Likewise.
5954 * gdb.cp/mb-inline.exp: Likewise.
5955 * gdb.cp/mb-templates.exp: Likewise.
5956 * gdb.objc/basicclass.exp: Likewise.
5957 * gdb.threads/killed.exp: Likewise.
5958
9d9bf2df
EBM
59592014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5960
5961 PR tdep/17379
5962 * gdb.arch/powerpc-stackless.S: New file.
5963 * gdb.arch/powerpc-stackless.exp: New file.
5964
1cf2f1b0
JK
59652014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5966
5967 * gdb.base/attach.c: Include unistd.h.
5968 (main): Call alarm. Add label postloop.
5969 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5970 gdb_breakpoint, gdb_continue_to_breakpoint.
5971 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5972
98880d46
PA
59732014-09-11 Pedro Alves <palves@redhat.com>
5974
5975 PR gdb/17347
5976 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5977 * gdb.base/attach.exp (test_command_line_attach_run): New
5978 procedure.
5979 (top level): Call it.
5980
4c92ff2c
PA
59812014-09-11 Pedro Alves <palves@redhat.com>
5982
5983 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5984 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5985 (do_command_attach_tests): Use spawn_wait_for_attach.
5986 * gdb.base/solib-overlap.exp: Likewise.
5987 * gdb.multi/multi-attach.exp: Likewise.
5988 * gdb.python/py-prompt.exp: Likewise.
5989 * gdb.python/py-sync-interp.exp: Likewise.
5990 * gdb.server/ext-attach.exp: Likewise.
5991
3adc1a7d
GKB
59922014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5993
5994 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5995 command in testcase. Simplify testcase.
5996
96334934
JB
59972014-09-10 Joel Brobecker <brobecker@adacore.com>
5998
5999 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6000
eb479039
JB
60012014-09-10 Joel Brobecker <brobecker@adacore.com>
6002
6003 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6004
deede10c
JB
60052014-09-10 Joel Brobecker <brobecker@adacore.com>
6006
6007 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6008
7828a5f5
JB
60092014-09-10 Joel Brobecker <brobecker@adacore.com>
6010
6011 * gdb.dwarf2/dynarr-ptr.c: New file.
6012 * gdb.dwarf2/dynarr-ptr.exp: New file.
6013
33aeebcf
MR
60142014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6015
6016 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6017 of 30 rather than hardcoding 120 for a slow test case. Take the
6018 `gdb,timeout' target setting into account for this calculation.
6019 Don't extend the timeout for the test cases that don't need it.
6020
7b415901
MR
60212014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6022
6023 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6024 a factor of 2 for a slow test case. Take the `gdb,timeout'
6025 target setting into account for this calculation.
6026 * gdb.reverse/until-precsave.exp: Increase the timeout by
6027 a factor of 15 and 3 respectively rather than adding 120
6028 for a pair of slow test cases. Take the `gdb,timeout'
6029 target setting into account for this calculation.
6030
4a40f85a
MR
60312014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6032
6033 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6034 timeout, don't pass one down to gdb_expect.
6035 (gdb_expect): Rework timeout selection.
6036
09635af7
MR
60372014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6038
6039 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6040 exception on timeout.
6041 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6042 (gdbserver_start_extended): Catch any `gdbserver_start' error
6043 exceptions.
6044 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6045 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6046 `gdbserver_gdb_load' error exceptions.
6047
2bdd10b7
MR
60482014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6049
6050 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6051 120 on waiting for the TCP socket to open.
6052
316935f0
DE
60532014-09-09 Doug Evans <xdje42@gmail.com>
6054
6055 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6056 _caller_matches, _any_caller_is, _any_caller_matches.
6057
83740597
DE
60582014-09-09 Doug Evans <xdje42@gmail.com>
6059
6060 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6061
4c122fc3
YQ
60622014-09-09 Yao Qi <yao@codesourcery.com>
6063
6064 * gdb.mi/mi-var-display.exp: Set print symbol off.
6065
a9f116cb
GKB
60662014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6067
6068 PR gdb/17035
6069 * gdb.base/commands.exp: Add tests to verify user-defined
6070 commands with empty bodies.
6071 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6072 python commands in `show user command`.
6073 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6074 scheme commands in `show user command`.
6075
c75bd3a2
JK
60762014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6077
6078 PR python/17355
6079 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6080 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6081 * gdb.python/py-framefilter-invalidarg.exp: New file.
6082 * gdb.python/py-framefilter-invalidarg.py: New file.
6083
faa42425
DE
60842014-09-06 Doug Evans <xdje42@gmail.com>
6085
6086 PR 15276
6087 * gdb.python/py-caller-is.c: New file.
6088 * gdb.python/py-caller-is.exp: New file.
6089
474ca4f6
SDJ
60902014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6091
6092 PR gdb/17235
6093 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6094 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6095
eb0b0463
SDJ
60962014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6097
6098 PR fortran/17237
6099 * gdb.fortran/print-formatted.exp: New file.
6100 * gdb.fortran/print-formatted.f90: Likewise.
6101
5f3b99cf
SS
61022014-09-03 Sasha Smundak <asmundak@google.com>
6103
6104 * gdb.python/py-frame.exp: Test Frame.read_register.
6105
7d793aa9
SDJ
61062014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6107
6108 PR python/16699
6109 * gdb.python/py-completion.exp: New file.
6110 * gdb.python/py-completion.py: Likewise.
6111
fb0576e9
DE
61122014-08-28 Doug Evans <dje@google.com>
6113
6114 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6115 eax,etc. are live with values set by gdb and thus the compiler can't
6116 use them.
6117 * gdb.arch/i386-pseudo.c (main): Ditto.
6118
ee92b0dd
DE
61192014-08-27 Doug Evans <dje@google.com>
6120
6121 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6122
6649db35
DE
61232014-08-25 Doug Evans <dje@google.com>
6124
6125 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6126 (main): Ditto.
6127
564b7600
DE
61282014-08-25 Doug Evans <dje@google.com>
6129
6130 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6131
3881fb67
YQ
61322014-08-24 Yao Qi <yao@codesourcery.com>
6133
6134 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6135 symbol off.
6136 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6137
a05a36a5
DE
61382014-08-22 Doug Evans <dje@google.com>
6139
6140 PR 17276
6141 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6142 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6143 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6144
7c343b48
YQ
61452014-08-22 Yao Qi <yao@codesourcery.com>
6146
6147 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6148 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6149 * gdb.python/python.exp: Likewise. Use .py file on the host
6150 instead of the build.
6151
22fd09ae
JK
61522014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6153
6154 * gdb.threads/gcore-stale-thread.c: New file.
6155 * gdb.threads/gcore-stale-thread.exp: New file.
6156
a8454a7c
PA
61572014-08-21 Pedro Alves <palves@redhat.com>
6158
6159 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6160 * gdb.base/gcore-relro-pie.exp: Likewise.
6161 * gdb.base/gcore-relro.exp: Likewise.
6162 * gdb.base/gcore.exp: Likewise.
6163 * gdb.base/print-symbol-loading.exp: Likewise.
6164 * gdb.threads/gcore-thread.exp: Likewise.
6165 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6166
2a31c623
PA
61672014-08-20 Pedro Alves <palves@redhat.com>
6168 Jan Kratochvil <jan.kratochvil@redhat.com>
6169
6170 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6171 configure.
6172 (EXPECT): Handle READ1 being set.
6173 (all): Depend on EXTRA_RULES.
6174 (check-read1, expect-read1, read1.so, read1): New rules.
6175 * README (Testsuite Parameters): Document the READ1 make variable.
6176 (Race detection): New section.
6177 * configure: Regenerate.
6178 * configure.ac: If build==host==target, and running under a
6179 GNU/glibc system, add read1 to the extra Makefile rules.
6180 (EXTRA_RULES): AC_SUBST it.
6181 * lib/read1.c: New file.
6182
d36430db
JB
61832014-08-20 Joel Brobecker <brobecker@adacore.com>
6184
6185 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6186 the handling of variables declared as a typedef to an array
6187 which a DW_AT_data_location attribute.
6188
9a0dc9e3
PA
61892014-08-19 Andrew Burgess <aburgess@broadcom.com>
6190 Pedro Alves <palves@redhat.com>
6191
6192 PR symtab/14604
6193 PR symtab/14605
6194 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6195 gdb_test.
6196
0718a8da
PA
61972014-08-19 Pedro Alves <palves@redhat.com>
6198
6199 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6200
13b448cd
YQ
62012014-08-19 Yao Qi <yao@codesourcery.com>
6202
6203 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6204 right line.
6205
1cbf5077
DB
62062014-08-18 David Blaikie <dblaikie@gmail.com>
6207
6208 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6209
bf0fae19
JB
62102014-08-18 Joel Brobecker <brobecker@adacore.com>
6211
6212 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6213 attribute in array range.
6214
3c8c5dcc
JB
62152014-08-18 Joel Brobecker <brobecker@adacore.com>
6216
6217 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6218
e66d4446
SC
62192014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6220
6221 PR c++/17132
6222 * gdb.cp/pr17132.cc: New file.
6223 * gdb.cp/pr17132.exp: New file.
6224
940df408
SC
62252014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6226
6227 * gdb.python/py-xmethods.py (A_getarrayind)
6228 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6229 Use 'print' with function call syntax.
6230 (E_method_matcher.match): Fix tab vs space indentation mixup.
6231
ebcc6c3a
YQ
62322014-08-15 Yao Qi <yao@codesourcery.com>
6233
6234 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6235 false.
6236
775e0f04
YQ
62372014-08-15 Yao Qi <yao@codesourcery.com>
6238
6239 * gdb.cp/casts.exp: Set print symbol off.
6240 * gdb.cp/class2.exp: Likewise.
6241 * gdb.cp/overload.exp: Likewise.
6242 * gdb.cp/templates.exp: Likewise.
6243
d769e349
DE
62442014-08-11 Doug Evans <dje@google.com>
6245
6246 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6247 (test_load_shlib): Update.
6248
20c6f1e1
YQ
62492014-08-09 Yao Qi <yao@codesourcery.com>
6250
6251 * gdb.base/display.exp: Invoke is_address_zero_readable.
6252 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6253 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6254 * gdb.base/hbreak-unmapped.exp: Return if
6255 is_address_zero_readable returns true.
6256 * gdb.base/signest.exp: Likewise.
6257 * gdb.base/signull.exp: Likewise.
6258 * gdb.base/sigbpt.exp: Likewise.
6259 * gdb.guile/scm-disasm.exp: Do the test if
6260 is_address_zero_readable returns false.
6261 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6262 * gdb.python/py-arch.exp: Likewise.
6263 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6264 * lib/gdb.exp (is_address_zero_readable): New proc.
6265
5792e8e3
YQ
62662014-08-09 Yao Qi <yao@codesourcery.com>
6267
6268 PR testsuite/13443
6269 * gdb.mi/mi-var-display.exp: Make test messages unique.
6270
3cecbbbe
TT
62712014-08-04 Tom Tromey <tromey@redhat.com>
6272
6273 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6274 target 0".
6275
00b51ff5
TT
62762014-08-04 Tom Tromey <tromey@redhat.com>
6277
6278 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6279 "target_resume".
6280
6908c509
JB
62812014-08-01 Joel Brobecker <brobecker@adacore.com>
6282
6283 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6284 inner_vla_struct_object_size.
6285 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6286 as xfail.
6287
cc6563d2
PA
62882014-07-30 Pedro Alves <palves@redhat.com>
6289
6290 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6291 comment.
6292
7e09a223
YQ
62932014-07-29 Yao Qi <yao@codesourcery.com>
6294
6295 PR gdb/17206
6296 * gdb.base/until-nodebug.exp: New.
6297
7ebdbe92
DE
62982014-07-28 Doug Evans <xdje42@gmail.com>
6299
6300 PR guile/17203
6301 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6302 previously existing parameter, and previously ambiguously spelled
6303 parameter.
6304
fdb1adc6
WN
63052014-07-28 Will Newton <will.newton@linaro.org>
6306
6307 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6308
186fcde0
DE
63092014-07-26 Ludovic Courtès <ludo@gnu.org>
6310 Doug Evans <xdje42@gmail.com>
6311
6312 PR guile/17146
6313 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6314
70509625
PA
63152014-07-25 Pedro Alves <palves@redhat.com>
6316
6317 * gdb.threads/signal-command-handle-nopass.c: New file.
6318 * gdb.threads/signal-command-handle-nopass.exp: New file.
6319 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6320 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6321 * gdb.threads/signal-delivered-right-thread.c: New file.
6322 * gdb.threads/signal-delivered-right-thread.exp: New file.
6323
c3f814a1
PA
63242014-07-25 Pedro Alves <palves@redhat.com>
6325
6326 * gdb.base/double-prompt-target-event-error.exp
6327 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6328 match.
6329 (cancel_pagination_in_target_event): Rework double prompt
6330 detection.
6331 * gdb.base/paginate-after-ctrl-c-running.exp
6332 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6333 <return>' match.
6334 * gdb.base/paginate-bg-execution.exp
6335 (test_bg_execution_pagination_return)
6336 (test_bg_execution_pagination_cancel): Remove '-notransfer
6337 <return>' matches.
6338 * gdb.base/paginate-execution-startup.exp
6339 (test_fg_execution_pagination_return)
6340 (test_fg_execution_pagination_cancel): Remove '-notransfer
6341 <return>' matches.
6342 * gdb.base/paginate-inferior-exit.exp
6343 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6344 match.
6345 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6346 * lib/gdb.exp (pagination_prompt): Run text through
6347 string_to_regexp.
6348 (gdb_test_multiple): Match $pagination_prompt instead of
6349 "<return>".
6350 (string_to_regexp): Move to lib/gdb-utils.exp.
6351
e214cf6c
JK
63522014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6353
6354 * gdb.arch/amd64-entry-value-paramref.S: New file.
6355 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6356 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6357 * gdb.arch/amd64-optimout-repeat.S: New file.
6358 * gdb.arch/amd64-optimout-repeat.c: New file.
6359 * gdb.arch/amd64-optimout-repeat.exp: New file.
6360
17d0c5c8
JK
63612014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6362
6363 PR gdb/17170
6364 * gdb.base/statistics.exp: New file.
6365
b8b8facf
DE
63662014-07-17 Doug Evans <dje@google.com>
6367
74b49205 6368 PR gdb/17170
b8b8facf
DE
6369 * gdb.base/maint.exp: Update testing of per-command stats.
6370
1b5d0ab3
PA
63712014-07-16 Pedro Alves <palves@redhat.com>
6372
6373 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6374 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6375 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6376 (tfile_write_buf): New functions.
6377 (add_memory_block): Rewrite using the above.
6378 (adjust_function_address): New function.
6379 (FUNCTION_ADDRESS): New macro.
6380 (write_basic_trace_file): Remove short_x local, and use
6381 tfile_write_16. Change type of func_addr local to unsigned long
6382 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6383 here. Cast argument of add_memory_block to char pointer.
6384 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6385 (main): Remove parameters.
6386 * gdb.trace/tfile.exp: Remove nowarnings.
6387
4d974e88
SM
63882014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6389
6390 * gdb.base/debug-expr.exp: Test string evaluation with
6391 "debug expression" on.
6392
41e99568
PA
63932014-07-15 Pedro Alves <palves@redhat.com>
6394
6395 * gdb.base/reread.exp: Use clean_restart.
6396
487d9753
PL
63972014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6398
6399 * gdb.arch/avr-flash-qualifer.c: New.
6400 * gdb.arch/avr-flash-qualifer.exp: New.
6401
cc1c52ad
PA
64022014-07-14 Pedro Alves <palves@redhat.com>
6403
6404 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6405 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6406
1e973570
PA
64072014-07-14 Pedro Alves <palves@redhat.com>
6408
6409 * gdb.base/double-prompt-target-event-error.c: New file.
6410 * gdb.base/double-prompt-target-event-error.exp: New file.
6411
93d6eb10
PA
64122014-07-14 Pedro Alves <palves@redhat.com>
6413
6414 PR gdb/17072
6415 * gdb.base/paginate-inferior-exit.c: New file.
6416 * gdb.base/paginate-inferior-exit.exp: New file.
6417
0017922d
PA
64182014-07-14 Pedro Alves <palves@redhat.com>
6419
6420 PR gdb/17072
6421 * gdb.base/paginate-bg-execution.c: New file.
6422 * gdb.base/paginate-bg-execution.exp: New file.
6423
94696ad3
PA
64242014-07-14 Pedro Alves <palves@redhat.com>
6425
6426 PR gdb/17072
6427 * gdb.base/paginate-execution-startup.c: New file.
6428 * gdb.base/paginate-execution-startup.exp: New file.
6429 * lib/gdb.exp (pagination_prompt): New global.
6430 (default_gdb_spawn): New procedure, factored out from
6431 default_gdb_spawn.
6432 (default_gdb_start): Adjust to call default_gdb_spawn.
6433 (gdb_spawn): New procedure.
6434
bd293940
PA
64352014-07-14 Pedro Alves <palves@redhat.com>
6436
6437 * lib/gdb.exp (gdb_assert): New procedure.
6438 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6439
c933f875
PA
64402014-07-14 Pedro Alves <palves@redhat.com>
6441
6442 * gdb.base/execution-termios.c: New file.
6443 * gdb.base/execution-termios.exp: New file.
6444
d98b7a16
TT
64452014-07-14 Tom Tromey <tromey@redhat.com>
6446
6447 * gdb.cp/vla-cxx.cc: New file.
6448 * gdb.cp/vla-cxx.exp: New file.
6449
548740d6
TT
64502014-07-14 Tom Tromey <tromey@redhat.com>
6451
6452 * gdb.reverse/rerun-prec.c: New file.
6453 * gdb.reverse/rerun-prec.exp: New file.
6454
a25eb028
MR
64552014-07-12 Maciej W. Rozycki <macro@mips.com>
6456 Maciej W. Rozycki <macro@codesourcery.com>
6457
6458 * lib/gdb-utils.exp: New file.
6459 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6460 inline `gdb_init_command' processing.
6461 (gdb_start_cmd): Likewise.
6462 * lib/mi-support.exp (mi_run_cmd): Likewise.
6463 * README: Document `gdb_init_command' and `gdb_init_commands'.
6464
218c2655
JK
64652014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6466
6467 Fix false FAIL running under a very long directory name.
6468 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6469 and "set print elements 10000". Twice.
6470
5401fde3
YQ
64712014-07-11 Yao Qi <yao@codesourcery.com>
6472
6473 * gdb.base/exprs.exp: "set print symbol off".
6474
e76126e8
PA
64752014-07-11 Pedro Alves <palves@redhat.com>
6476
6477 * gdb.threads/kill.c: New file.
6478 * gdb.threads/kill.exp: New file.
6479
2d6f0de6
YQ
64802014-07-10 Yao Qi <yao@codesourcery.com>
6481
6482 * gdb.trace/tfile.c (write_basic_trace_file)
6483 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6484 address written to trace file.
6485
7180e04a
PA
64862014-07-09 Pedro Alves <palves@redhat.com>
6487
6488 * gdb.base/attach-wait-input.exp: New file.
6489 * gdb.base/attach-wait-input.c: New file.
6490
9a9a7608
AB
64912014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6492
6493 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6494 setting up test structures.
6495 (main): Call new test function.
6496 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6497 test function, continue into test function and walk test
6498 structures.
6499
161ac41e
YQ
65002014-07-02 Yao Qi <yao@codesourcery.com>
6501
6502 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6503 'bar_start' at the beginning of functions 'foo' and 'bar'
6504 respectively.
6505 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6506 instead of 'foo' and 'bar'.
6507
1f267ae3
MM
65082014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6509
6510 * gdb.btrace/segv.exp: New.
6511 * gdb.btrace/segv.c: New.
6512
2b239efb
LM
65132014-07-02 Luis Machado <lgustavo@codesourcery.com>
6514
6515 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6516 instruction.
6517
cf363f18
MW
65182014-06-30 Mark Wielaard <mjw@redhat.com>
6519
6520 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6521 vulture, vilify, villar): New volatile array constants.
6522 (vindictive, vegetation): New const volatile array constants.
6523 * gdb.base/volatile.exp: Test volatile and const volatile array
6524 types.
6525
aebf9d24
AA
65262014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6527
6528 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6529 target lacks support for awatch, rwatch, or hbreak.
6530
b67a2c6f
YQ
65312014-06-27 Yao Qi <yao@codesourcery.com>
6532
6533 * gdb.multi/dummy-frame-restore.exp: New.
6534 * gdb.multi/dummy-frame-restore.c: New.
6535
aef92902
MM
65362014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6537
6538 * gdb.btrace/gcore.exp: New.
6539
8e9db26e
PA
65402014-06-23 Pedro Alves <palves@redhat.com>
6541
6542 * gdb.base/watchpoint-reuse-slot.c: New file.
6543 * gdb.base/watchpoint-reuse-slot.exp: New file.
6544
70afc5b7
SC
65452014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6546
6547 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6548 progspace's filename in 'info', 'enable' and 'disable' command
6549 tests.
6550
b972bd9c
JK
65512014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6552
6553 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6554 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6555 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6556
125f8a3d
GB
65572014-06-20 Gary Benson <gbenson@redhat.com>
6558
6559 * gdb.arch/i386-avx.exp: Fix include file location.
6560 * gdb.arch/i386-sse.exp: Likewise.
6561
3ed9baed
IB
65622014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6563
6564 * gdb.dlang/expression.exp: New file.
6565
034f788c
PA
65662014-06-19 Pedro Alves <palves@redhat.com>
6567
6568 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6569 out from ...
6570 (top level): ... here. Iterate running tests under different
6571 scheduler-locking settings.
6572
45371d0c
LM
65732014-06-18 Luis Machado <lgustavo@codesourcery.com>
6574
6575 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6576 to DW_FORM_addr and use non-zero addresses.
6577
5d376983
SC
65782014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6579
6580 PR gdb/17017
6581 * gdb.python/py-xmethods.cc: Add global function call counters and
6582 increment them in their respective functions. Remove "cout"
6583 statements.
6584 * gdb.python/py-xmethods.exp: Make tests check the global function
6585 call counters instead of depending on inferior IO.
6586
a1aa2221
LM
65872014-06-18 Don Breazeal <donb@codesourcery.com>
6588
6589 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6590 Deleted procedure.
6591 (explicit_fork_parent_follow): Deleted procedure.
6592 (explicit_fork_child_follow): Deleted procedure.
6593 (test_follow_fork): New procedure.
6594 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 6595 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
6596 procedure calls.
6597
0fc05997
YQ
65982014-06-17 Yao Qi <yao@codesourcery.com>
6599
6600 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6601 CP1252.
6602
70795c52
LM
66032014-06-17 Luis Machado <lgustavo@codesourcery.com>
6604
6605 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6606 Initialize ptr and S explicitly.
6607 (skip_type_update_when_not_use_rtti_test): Likewise.
6608
6be47f0c
KS
66092014-06-16 Keith Seitz <keiths@redhat.com>
6610
6611 PR mi/15863
6612 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6613 the inferior is started.
6614
d03de421
PA
66152014-06-16 Pedro Alves <palves@redhat.com>
6616
6617 * gdb.base/break-main-file-remove-fail.c: New file.
6618 * gdb.base/break-main-file-remove-fail.exp: New file.
6619 * gdb.base/break-unload-file.exp: Use build_executable instead of
6620 prepare_for_testing.
6621 (test_break): New parameter "initial_load". Handle it.
6622 (top level): Add initial_load cmdline/file axis.
6623
f9579b99
TT
66242014-06-12 Tom Tromey <tromey@redhat.com>
6625
6626 * gdb.base/completion.exp: Don't use directory name in test.
6627
3657956b
GB
66282014-06-09 Gary Benson <gbenson@redhat.com>
6629
6630 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6631 separate the always-available ANSI-standard signals from the
6632 signals that require checking.
6633 (main): Likewise.
6634 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6635 Likewise.
6636 (main): Likewise.
6637
4186eb54
KS
66382014-06-07 Keith Seitz <keiths@redhat.com>
6639
6640 Revert:
6641 PR c++/16253
6642 * gdb.cp/var-tag.cc: New file.
6643 * gdb.cp/var-tag.exp: New file.
6644 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6645 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6646 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6647 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6648
25326a28 66492014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
6650
6651 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6652
829155c9
PA
66532014-06-06 Pedro Alves <palves@redhat.com>
6654
6655 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6656 in target debug output instead of looking at RSP packets,
6657 disabling the test on any target that uses hardware stepping.
6658 Update comments.
6659
61c8d22e
PA
66602014-06-06 Pedro Alves <palves@redhat.com>
6661
6662 * gdb.base/break-unload-file.exp: Fix typo.
6663
d9a47287
YQ
66642014-06-06 Yao Qi <yao@codesourcery.com>
6665
6666 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6667 from "jit_function" to "^jit_function".
6668
e5e01dbf
YQ
66692014-06-06 Yao Qi <yao@codesourcery.com>
6670
6671 * gdb.base/async.c (foo): Add one statement.
6672 * gdb.base/async.exp: Get the next instruction address and
6673 match the output of "nexti" by instruction address. Match
6674 the hex address in the output of "finish".
6675
73ba372c
GB
66762014-06-06 Gary Benson <gbenson@redhat.com>
6677
6678 * gdb.base/call-signals.c: Remove preprocessor conditionals
6679 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6680 SIGSEGV and SIGTERM.
6681 * gdb.base/sigall.c: Likewise.
6682 * gdb.base/unwindonsignal.c: Likewise.
6683 * gdb.reverse/sigall-reverse.c: Likewise.
6684
831517df
YQ
66852014-06-06 Yao Qi <yao@codesourcery.com>
6686
6687 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6688 readable, skip the test.
6689
b8b91e98
YQ
66902014-06-06 Yao Qi <yao@codesourcery.com>
6691
6692 * gdb.threads/staticthreads.c (thread_function): Move the line
6693 setting breakpoint on forward.
6694 * gdb.threads/staticthreads.exp: Update comments.
6695
fb934770
LC
66962014-06-05 Ludovic Courtès <ludo@gnu.org>
6697
6698 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6699 "history-append! type error".
6700
6ef284bd
SM
67012014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6702
6703 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6704 erroneous dprintf expected input.
6705
a872e241
DE
67062014-06-04 Doug Evans <xdje42@gmail.com>
6707
6708 * gdb.guile/scm-generics.exp: Delete.
6709
16f691fb
DE
67102014-06-04 Doug Evans <xdje42@gmail.com>
6711
6712 * gdb.guile/scm-breakpoint.exp: Update.
6713 Add tests for breakpoint registration.
6714
012370f6
TT
67152014-06-04 Tom Tromey <tromey@redhat.com>
6716
6717 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6718 VLA-in-union.
6719 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6720 inner_vla_struct, vla_union types. Initialize objects of those
6721 types and compute their sizes.
6722
9f5a4cef
HZ
67232014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6724 Hui Zhu <hui@codesourcery.com>
6725
6726 * gdb.base/fileio.exp: Add test for shell not available as well as
6727 available.
6728 * gdb.base/fileio.c (test_system): Check for shell twice.
6729
90a45c4d
YQ
67302014-06-04 Yao Qi <yao@codesourcery.com>
6731
6732 * gdb.base/auto-connect-native-target.exp: Remove redundant
6733 space from the regexp pattern.
6734
70017e41
YQ
67352014-06-04 Yao Qi <yao@codesourcery.com>
6736
6737 * gdb.base/default.exp: Replace "child" with "native" in
6738 regexp pattern.
6739
883964a7
SC
67402014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6741
6742 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6743 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6744 * gdb.python/py-xmethods.py: Python script supporting the
6745 new testcase and tests.
6746
ef370185
JB
67472014-06-03 Joel Brobecker <brobecker@adacore.com>
6748 Pedro Alves <palves@redhat.com>
6749
6750 PR breakpoints/17000
6751 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6752 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6753
1e2ccb61
BM
67542014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6755
6756 * gdb.base/subst.exp: Add tests to verify partial path matching
6757 output.
6758
c6ec5ab2
PA
67592014-06-03 Pedro Alves <palves@redhat.com>
6760
6761 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6762 target that doesn't use software single-stepping.
6763
835c559f
PA
67642014-06-03 Pedro Alves <palves@redhat.com>
6765
6766 PR breakpoints/17000
6767 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6768 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6769
06eb1586
DE
67702014-06-02 Doug Evans <xdje42@gmail.com>
6771
6772 * gdb.guile/scm-parameter.exp: New file.
6773
e698b8c4
DE
67742014-06-02 Doug Evans <xdje42@gmail.com>
6775
6776 * gdb.guile/scm-cmd.c: New file.
6777 * gdb.guile/scm-cmd.exp: New file.
6778
ded03782
DE
67792014-06-02 Doug Evans <xdje42@gmail.com>
6780
6781 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6782 pretty-printer lookup.
6783 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6784 (make-pp_s-printer): Call it.
6785 (make-pretty-printer-from-dict): New function.
6786 (lookup-pretty-printer-maker-from-dict): New function.
6787 (*pretty-printer*): Simplify.
6788 (make-objfile-pp_s-printer): New function.
6789 (install-objfile-pretty-printers!): New function.
6790 (make-progspace-pp_s-printer): New function.
6791 (install-progspace-pretty-printers!): New function.
6792 * gdb.guile/scm-progspace.c: New file.
6793 * gdb.guile/scm-progspace.exp: New file.
6794
41fac0cf
PA
67952014-06-02 Pedro Alves <palves@redhat.com>
6796
6797 * gdb.base/dprintf-bp-same-addr.c: New file.
6798 * gdb.base/dprintf-bp-same-addr.exp: New file.
6799
96ae5695
EBM
68002014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6801
6802 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6803 * gdb.arch/powerpc-power.s: Likewise.
6804
da02b3a8
JB
68052014-06-02 Joel Brobecker <brobecker@adacore.com>
6806
6807 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6808
c72b2e7b
YQ
68092014-06-01 Yao Qi <yao@codesourcery.com>
6810
6811 * gdb.base/watchpoint.exp (test_watch_location): Check null
6812 pointer can be dereferenced. If not, do the test, otherwise
6813 skip it.
6814
53e8a631
AB
68152014-05-30 Andrew Burgess <aburgess@broadcom.com>
6816
6817 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6818 results.
6819 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6820
938f0e2f
AB
68212014-05-30 Andrew Burgess <aburgess@broadcom.com>
6822
6823 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6824 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6825 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6826 * gdb.arch/amd64-invalid-stack-top.c: New file.
6827 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6828
9ba6657a
PA
68292014-05-30 Pedro Alves <palves@redhat.com>
6830
6831 PR breakpoints/17000
6832 * gdb.base/sss-bp-on-user-bp.c: New file.
6833 * gdb.base/sss-bp-on-user-bp.exp: New file.
6834
522c09bf
DB
68352014-05-30 David Blaikie <dblaikie@gmail.com>
6836
6837 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6838 gnu_inline semantics via attribute.
6839 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6840 source explicitly specifies the required semantics.
6841
bf4ef81e
MR
68422014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6843
6844 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6845
329ea579
PA
68462014-05-29 Pedro Alves <palves@redhat.com>
6847 Tom Tromey <tromey@redhat.com>
6848
6849 * gdb.base/async-shell.exp: Don't enable target-async.
6850 * gdb.base/async.exp
6851 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6852 parameter. Adjust.
6853 (top level): Don't test with "target-async".
6854 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6855 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6856 * gdb.base/inferior-died.exp: Don't enable target-async.
6857 * gdb.base/interrupt-noterm.exp: Likewise.
6858 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6859 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6860 * gdb.mi/mi-nonstop.exp: Likewise.
6861 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6862 * gdb.mi/mi-nsintrall.exp: Likewise.
6863 * gdb.mi/mi-nsmoribund.exp: Likewise.
6864 * gdb.mi/mi-nsthrexec.exp: Likewise.
6865 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6866 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6867 * gdb.python/py-evsignal.exp: Don't enable target-async.
6868 * gdb.python/py-evthreads.exp: Likewise.
6869 * gdb.python/py-prompt.exp: Likewise.
6870 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6871 * gdb.server/solib-list.exp: Don't enable target-async.
6872 * gdb.threads/thread-specific-bp.exp: Likewise.
6873 * lib/mi-support.exp: Adjust to use mi-async.
6874
fd664c91
PA
68752014-05-29 Pedro Alves <palves@redhat.com>
6876
6877 PR gdb/13860
6878 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6879 reason, even in sync mode.
6880
251bde03
PA
68812014-05-29 Pedro Alves <palves@redhat.com>
6882 Hui Zhu <hui@codesourcery.com>
6883
6884 PR PR15693
6885 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6886 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6887 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6888 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6889
7f3c0343
JB
68902014-05-28 Joel Brobecker <brobecker@adacore.com>
6891
6892 * config/monitor.exp (gdb_target_monitor): Replace use of
6893 "set remotebaud" by "set serial baud".
6894
b2715b27
AW
68952014-05-26 Andy Wingo <wingo@igalia.com>
6896
6897 * gdb.guile/scm-breakpoint.exp:
6898 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6899 properties instead of gdb-object-properties.
6900
498a4489
YQ
69012014-05-26 Yao Qi <yao@codesourcery.com>
6902
6903 * gdb.server/no-thread-db.exp: Specify source file name
6904 explicitly when setting a breakpoint.
6905
589fdceb
MM
69062014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6907
6908 * gdb.btrace/vdso.c: New.
6909 * gdb.btrace/vdso.exp: New.
6910
e9089e05
MM
69112014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6912
6913 * gdb.base/gcore.exp (capture_command_output): Move ...
6914 * lib/gdb.exp (capture_command_output): ... here.
6915
67b5c0c1
MM
69162014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6917
6918 * gdb.btrace/data.exp: Test memory access during btrace replay.
6919
a2199296
SM
69202014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6921
6922 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6923
17b2616c
PA
69242014-05-21 Pedro Alves <palves@redhat.com>
6925
6926 PR gdb/13860
6927 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6928 (top level): Test that output related to execution commands is
6929 sent to the console with CLI commands, but not with MI commands.
6930 Test that breakpoint events are always mirrored to the console.
6931 Also expect the new source line to be output after a "next" in
6932 async mode too. Make it a pass/fail test.
6933 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6934 output.
6935 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6936
5166082f
PA
69372014-05-21 Pedro Alves <palves@redhat.com>
6938
6939 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6940 Use them to test variations of "list" after reaching a breakpoint.
6941 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6942 Test "list" with listsize 10 after reaching a breakpoint.
6943 * gdb.python/python.exp (decode_line current location line
6944 number): Adjust expected line number.
6945
2f25d70f
SM
69462014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6947
6948 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6949 behavior for $args, pass it directly to "run".
6950
ff604a67
MR
69512014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6952
6953 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6954 30000 to 65536.
6955
6a3cb8e8
PA
69562014-05-21 Pedro Alves <palves@redhat.com>
6957
6958 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6959 auto-connect-native-target off".
6960 * gdb.base/auto-connect-native-target.c: New file.
6961 * gdb.base/auto-connect-native-target.exp: New file.
6962
4ebfc96e
PA
69632014-05-21 Pedro Alves <palves@redhat.com>
6964
6965 * gdb.base/default.exp: Test "target native" instead of "target
6966 child".
6967
36d46afb
MW
69682014-05-21 Mark Wielaard <mjw@redhat.com>
6969
6970 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6971
5876f503
JK
69722014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6973
6974 Fix TLS access for -static -pthread.
6975 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6976 <HAVE_TLS> (thread_function, main): Initialize it.
6977 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6978 Add clean_restart.
6979 <$have_tls != "">: Check TLSVAR.
6980
0256a6ac
PA
69812014-05-21 Pedro Alves <palves@redhat.com>
6982
6983 * gdb.base/dcache-line-read-error.c: New.
6984 * gdb.base/dcache-line-read-error.exp: New.
6985
936d2992
PA
69862014-05-20 Pedro Alves <palves@redhat.com>
6987
6988 * gdb.base/compare-sections.c: New file.
6989 * gdb.base/compare-sections.exp: New file.
6990
802e8e6d
PA
69912014-05-20 Pedro Alves <palves@redhat.com>
6992
6993 * gdb.base/break-idempotent.c: New file.
6994 * gdb.base/break-idempotent.exp: New file.
6995
e59fa00f
MM
69962014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6997
6998 * gdb.btrace/nohist.exp: New.
6999
8b696e31
YQ
70002014-05-20 Yao Qi <yao@codesourcery.com>
7001
7002 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7003 gdb.reverse directory and gdb_reverse_timeout exists in board
7004 setting.
7005 * README: Document gdb_reverse_timeout.
7006
73c9764f
YQ
70072014-05-20 Yao Qi <yao@codesourcery.com>
7008
7009 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7010 'test_file_name'. Treat args as a string instead of a list.
7011 (gdb_init): Rename argument 'args' by 'test_file_name'.
7012
f1f4348a
JK
70132014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7014
7015 * gdb.arch/powerpc-power.exp: New file.
7016 * gdb.arch/powerpc-power.s: New file.
7017
0dbe70ce
DE
70182014-05-16 Doug Evans <dje@google.com>
7019
7020 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7021 * gdb.base/completion.exp: Check that all expected files exist
7022 before doing file completion.
0dbe70ce 7023
8d551b02
DE
70242014-05-16 Doug Evans <dje@google.com>
7025
7026 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7027 Update.
7028 (do_syscall_tests_without_xml): Update.
7029
73eb7709
PA
70302014-05-16 Pedro Alves <palves@redhat.com>
7031
7032 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7033 instead of "unknown output after running".
7034
3fae92fc
YQ
70352014-05-16 Yao Qi <yao@codesourcery.com>
7036
7037 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7038 file1.txt from host at the end.
7039 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7040
c2b2ccc5
DE
70412014-05-15 Doug Evans <dje@google.com>
7042
7043 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7044 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7045 loading file. Add test for TU lookup.
7046
8c217a4b
SM
70472014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7048
7049 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7050 calling "-exec-arguments" or "set args" before running the
7051 inferior.
7052
3deb39c6
SM
70532014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7054
7055 * lib/mi-support.exp (mi_expect_stop): Expect message for
7056 inferiors that exit with non-zero exit code.
7057
71a79f8c
YQ
70582014-05-14 Yao Qi <yao@codesourcery.com>
7059
7060 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7061 match absolute path on remote host.
7062 (test_file_list_exec_source_files): Remove "/" from the
7063 pattern.
7064
f23fcd46
YQ
70652014-05-14 Yao Qi <yao@codesourcery.com>
7066
7067 * boards/local-remote-host-notty.exp (${board}_file): New
7068 proc.
7069
9404b58f
KM
70702014-05-07 Kyle McMartin <kyle@redhat.com>
7071
7072 Pushed by Joel Brobecker <brobecker@adacore.com>.
7073 * gdb.arch/aarch64-atomic-inst.c: New file.
7074 * gdb.arch/aarch64-atomic-inst.exp: New file.
7075
5e45f04c
YQ
70762014-05-07 Yao Qi <yao@codesourcery.com>
7077
7078 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7079 in current context" too.
7080
c888a17d
KS
70812014-05-05 Keith Seitz <keiths@redhat.com>
7082
7083 * gdb.linespec/ls-dollar.exp: Add test for linespec
7084 file:convenience_variable.
7085
290a839c
YQ
70862014-05-05 Yao Qi <yao@codesourcery.com>
7087
7088 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7089 traceframes into tfile and ctf trace files. Read data from
7090 trace file and test collected data.
7091 (gdb_collect_locals_test): Likewise.
7092 (gdb_unavailable_registers_test): Likewise.
7093 (gdb_unavailable_floats): Likewise.
7094 (gdb_collect_globals_test): Likewise.
7095 (top-level): Append "ctf" to trace_file_targets if GDB
7096 supports.
7097
b5262cd0
YQ
70982014-05-05 Yao Qi <yao@codesourcery.com>
7099
7100 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7101 code to ...
7102 (gdb_collect_args_test_1): ... it. New proc.
7103 (gdb_collect_locals_test): Move some code to ...
7104 (gdb_collect_locals_test_1): ... it. New proc.
7105 (gdb_unavailable_registers_test): Move some code to ...
7106 (gdb_unavailable_registers_test_1): ... it. New proc.
7107 (gdb_unavailable_floats): Move some code to ...
7108 (gdb_unavailable_floats_1): ... it. New proc.
7109
30a1e6cc
SDJ
71102014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7111
7112 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7113 probes to test for bitness recognition.
7114 * gdb.arch/amd64-stap-optional-prefix.exp
7115 (test_probe_value_without_reg): New procedure.
7116 Add code to test for different kinds of bitness.
7117
f33da99a
SDJ
71182014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7119
7120 PR breakpoints/16889
7121 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7122 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7123
5b80f00d
PA
71242014-05-01 Pedro Alves <palves@redhat.com>
7125
7126 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7127 gdb_file_cmd if no file is specified.
7128 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7129 last_loaded_file to set the remote exec-file.
7130
f8c2a73c
PA
71312014-05-01 Pedro Alves <palves@redhat.com>
7132
7133 * boards/local-remote-host.exp: New file.
7134
be6e8ac7
PA
71352014-05-01 Pedro Alves <palves@redhat.com>
7136
7137 * boards/local-remote-host.exp: Rename to ...
7138 * boards/local-remote-host-notty.exp: ... this.
7139
cac0dc8f
JB
71402014-04-28 Joel Brobecker <brobecker@adacore.com>
7141
7142 * gdb.ada/dyn_arrayidx: New testcase.
7143
9730e6cc
YQ
71442014-04-26 Yao Qi <yao@codesourcery.com>
7145
7146 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7147 and compute the length of function main. Save it in
7148 $main_length.
7149 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7150 (top-level): Use gdb_compile to compile objects into
7151 executable and restart GDB. Remove invocation to
7152 prepare_for_testing.
7153
7ae1a6a6
PA
71542014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7155 Pedro Alves <palves@redhat.com>
7156
7157 PR server/16255
7158 * gdb.multi/multi-attach.c: New file.
7159 * gdb.multi/multi-attach.exp: New file.
7160
4082afcc
PA
71612014-04-25 Pedro Alves <palves@redhat.com>
7162
7163 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7164 user.
7165 (top level): Test that "set remote conditional-breakpoints-packet
7166 off" works as intended.
7167 * gdb.base/dprintf.exp: Test that "set remote
7168 breakpoint-commands-packet off" works as intended.
7169 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7170 New function.
7171 (top level): Call it.
7172 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7173 remote fast-tracepoints-packet off" works as intended.
7174 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7175 * lib/gdb.exp (gdb_is_target_remote): ... here.
7176
2abc3f8d
DB
71772014-04-24 David Blaikie <dblaikie@gmail.com>
7178
7179 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7180 ensure clang would not discard them.
7181 * gdb.base/gdbvars.c: Ditto.
7182 * gdb.base/memattr.c: Ditto.
7183 * gdb.base/whatis.c: Ditto.
7184 * gdb.python/py-prettyprint.c: Ditto.
7185 * gdb.trace/actions.c: Ditto.
7186 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7187 ensure clang would not discard it.
7188
bfd39632
DB
71892014-04-24 David Blaikie <dblaikie@gmail.com>
7190
7191 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7192 clang to emit the full definition of type required by the test
7193 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7194
22842ff6
DB
71952014-04-24 David Blaikie <dblaikie@gmail.com>
7196
7197 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7198 coax Clang into emitting the definition of the type.
7199 * gdb.cp/pr10728-x.h (y): Ditto.
7200 * gdb.cp/pr10728-y.cc (y): Ditto.
7201
c2e827ad
DB
72022014-04-24 David Blaikie <dblaikie@gmail.com>
7203
7204 * gdb.base/label.exp: XFAIL label related tests under Clang.
7205 * gdb.cp/cplabel.exp: Ditto.
7206 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7207 under Clang those using labels.
7208
4c2d33e7
YQ
72092014-04-25 Yao Qi <yao@codesourcery.com>
7210
7211 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7212 double_label.
7213 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7214 partial_label and double_label.
7215
56083b99
DB
72162014-04-24 David Blaikie <dblaikie@gmail.com>
7217
7218 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7219
25d4e99d
DB
72202014-04-24 David Blaikie <dblaikie@gmail.com>
7221
7222 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7223 of the function to work across GCC and Clang.
7224 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7225 pointer types (const void ** const V void **).
7226
01f9f808
MS
72272014-04-24 Michael Sturm <michael.sturm@mintel.com>
7228 Walfred Tedeschi <walfred.tedeschi@intel.com>
7229
7230 * Makefile.in (EXECUTABLES): Added i386-avx512.
7231 * gdb.arch/i386-avx512.c: New file.
7232 * gdb.arch/i386-avx512.exp: Likewise.
7233
4b48d439
KS
72342014-04-23 Keith Seitz <keiths@redhat.com>
7235
7236 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7237 (mi_make_breakpoint_table): New procedure.
7238 (mi_create_breakpoint): Use mi_make_breakpoint
7239 and return the result.
7240 (mi_make_breakpoint): New procedure.
7241 (mi_build_kv_pairs): New procedure.
7242
7243 * gdb.mi/mi-break.exp: Remove unused globals,
7244 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7245 All callers updated.
7246 * gdb.mi/mi-dprintf.exp: Use variable to track command
7247 number.
7248 Update all callers of mi_create_breakpoint and use
7249 mi_make_breakpoint_table.
7250 Remove any unused global variables.
7251 * gdb.mi/mi-nonstop.exp: Likewise.
7252 * gdb.mi/mi-nsintrall.exp: Likewise.
7253 * gdb.mi/mi-nsmoribund.exp: Likewise.
7254 * gdb.mi/mi-nsthrexec.exp: Likewise.
7255 * gdb.mi/mi-reverse.exp: Likewise.
7256 * gdb.mi/mi-simplerun.exp: Likewise.
7257 * gdb.mi/mi-stepn.exp: Likewise.
7258 * gdb.mi/mi-syn-frame.exp: Likewise.
7259 * gdb.mi/mi-until.exp: Likewise.
7260 * gdb.mi/mi-var-cp.exp: Likewise.
7261 * gdb.mi/mi-var-display.exp: Likewise.
7262 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7263 * gdb.mi/mi2-var-child.exp: Likewise.
7264 * gdb.mi/mi-vla-c99.exp: Likewise.
7265 * lib/mi-support.exp: Likewise.
7266
7267 From Ian Lance Taylor <iant@cygnus.com>:
7268 * lib/gdb.exp (parse_args): New procedure.
7269
08351840
PA
72702014-04-23 Pedro Alves <palves@redhat.com>
7271
7272 * gdb.base/break-unload-file.c: New file.
7273 * gdb.base/break-unload-file.exp: New file.
7274 * gdb.base/sym-file-lib.c (baz): New function.
7275 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7276 field.
7277 (load): Store the segment's mapped size.
7278 (unload): New function.
7279 (unload_shlib): New function.
7280 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7281 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7282 set a breakpoint at baz, and call it.
7283 * gdb.base/sym-file.exp: New tests for stale breakpoint
7284 instructions.
7285
076855f9
PA
72862014-04-23 Pedro Alves <palves@redhat.com>
7287
7288 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7289 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7290 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7291 * gdb.base/hbreak-unmapped.c: New file.
7292 * gdb.base/hbreak-unmapped.exp: New file.
7293 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7294 * lib/gdb.exp (gdb_is_target_remote): ... here.
7295
483805cf
PA
72962014-04-22 Pedro Alves <palves@redhat.com>
7297
7298 * gdb.base/consecutive-step-over.c: New file.
7299 * gdb.base/consecutive-step-over.exp: New file.
7300
06d97543
PA
73012014-04-22 Pedro Alves <palves@redhat.com>
7302
7303 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7304 instead of send_gdb/gdb_expect.
7305
b4429ea2
YQ
73062014-04-22 Yao Qi <yao@codesourcery.com>
7307
7308 * lib/trace-support.exp (generate_tracefile): New procedure.
7309 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7310 return 0.
7311 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7312 if generate_tracefile returns 1.
7313
51d48146
PA
73142014-04-18 Tom Tromey <palves@redhat.com>
7315 Pedro alves <tromey@redhat.com>
7316
7317 PR backtrace/15558
7318 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7319 with a backtrace limit.
7320 * gdb.python/py-frame-inline.exp: Test running to an inline
7321 function with a backtrace limit, and printing the newest frame.
7322 * gdb.python/py-frame-inline.c (main): Call f.
7323
bd1dce5f
MS
73242014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7325
7326 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7327
40d1a503
MS
73282014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7329
7330 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7331 Drop prefix from unsupported source file path.
7332
389b98f7
YQ
73332014-04-17 Yao Qi <yao@codesourcery.com>
7334
7335 * lib/gdb.exp (with_target_charset): New proc.
7336 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7337 with_target_charset.
7338 (test_print_strings): Likewise.
7339 (test_repeat_bytes): Likewise.
7340 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7341 for some tests.
7342
22869d73
KS
73432014-04-16 Keith Seitz <keiths@redhat.com>
7344
7345 PR gdb/15827
7346 * gdb.dwarf2/corrupt.c: New file.
7347 * gdb.dwarf2/corrupt.exp: New file.
7348
c4f87ca6
KS
73492014-04-16 Keith Seitz <keiths@redhat.com>
7350
7351 PR c++/16597
7352 * gdb.cp/namelessclass.cc: New file.
7353 * gdb.cp/namelessclass.exp: New file.
7354 * gdb.cp/namelessclass.S: New file.
7355
ab19de87
DE
73562014-04-16 Doug Evans <dje@google.com>
7357
7358 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7359 Add comment.
7360 (gdbserver_default_get_comm_port): New function.
7361 (gdbserver_start): Check if board file provided
7362 "gdbserver,get_comm_port" and use it if so.
7363 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7364 (gdb,socketport): Set to "stdio".
7365 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7366 (stdio_gdbserver_template): Delete.
7367 (${board}_get_remote_address): Update.
7368 (${board}_build_remote_cmd): Delete.
7369 (${board}_get_comm_port): New function.
7370 (${board}_spawn): Update.
7371 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7372 Delete.
7373 (${board}_get_remote_address): Update.
7374 (${board}_get_comm_port): New function.
7375
fc98a809
AB
73762014-04-16 Andrew Burgess <aburgess@broadcom.com>
7377
7378 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7379 appearing in any order.
7380
87fd9e6e
DE
73812014-04-15 Doug Evans <dje@google.com>
7382
7383 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7384 uninitialized value of "description".
7385
099fc3ea
KS
73862014-04-15 Keith Seitz <keiths@redhat.com>
7387
7388 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7389 Remove unused globals.
7390 (test_running_the_program): Likewise.
7391 (test_controlled_execution): Likewise.
7392 (test_controlling_breakpoints): Likewise.
7393 (test_program_termination): Likewise.
7394
5da151d4
KS
73952014-04-15 Keith Seitz <keiths@redhat.com>
7396
7397 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7398 unused globals.
7399 (test_rbreak_creation_and_listing): Likewise.
7400 (test_ignore_count): Likewise.
7401 (test_error): Likewise.
7402
35e5d2f0
PA
74032014-04-15 Pedro Alves <palves@redhat.com>
7404
7405 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7406 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7407 sym-file-loader.c.
7408 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7409 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7410 to sym-file-loader.c.
7411 (struct library): Forward declare.
7412 (load_shlib, lookup_function): Change prototypes.
7413 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7414 (translate_offset): Remove declarations.
7415 (get_text_addr): New declaration.
7416 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7417 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7418 sym-file-loader.h.
7419 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7420 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7421 here from sym-file-loader.h.
7422 (struct library): New structure.
7423 (load_shlib, lookup_function): Change prototypes and adjust to
7424 work with a struct library.
7425 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7426 (translate_offset): Make static.
7427 (get_text_addr): New function.
7428 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7429
eb4c1710
PA
74302014-04-15 Pedro Alves <palves@redhat.com>
7431
7432 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7433
2d1baf52
PA
74342014-04-15 Pedro Alves <palves@redhat.com>
7435
7436 * gdb.base/sym-file-loader.c: Include <limits.h>.
7437 (SELF_LINK): New define.
7438 (get_origin): New function.
7439 (load_shlib): Use it.
7440 * gdb.base/sym-file.exp: Don't early return if the target is
7441 remote. Use runto_main, and issue fail is that fails. Use
7442 gdb_load_shlibs.
7443 (shlib_name): Delete.
7444 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7445
7dd6df01
PA
74462014-04-15 Pedro Alves <palves@redhat.com>
7447
7448 * gdb.base/sym-file.exp: Remove regex characters from test
7449 message. Don't refer to breakpoint numbers in test messages.
7450
b50c8614
KS
74512014-04-14 Keith Seitz <keiths@redhat.com>
7452
7453 PR c++/16253
7454 * gdb.cp/var-tag.cc: New file.
7455 * gdb.cp/var-tag.exp: New file.
7456 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7457 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7458 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7459 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7460
3d567982
TT
74612014-04-14 Tom Tromey <tromey@redhat.com>
7462
7463 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7464 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7465 type.
7466 * gdb.cp/enum-class.exp: New file.
7467 * gdb.cp/enum-class.cc: New file.
7468
0626fc76
TT
74692014-04-14 Tom Tromey <tromey@redhat.com>
7470
7471 * gdb.dwarf2/enum-type.exp: New file.
7472
dca325b3
SA
74732014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7474
7475 * gdb.mi/mi-vla-c99.exp: New file.
7476 * gdb.mi/vla.c: New file.
7477
5854b38a
SA
74782014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7479
7480 * gdb.base/vla-datatypes.c: New file.
7481 * gdb.base/vla-datatypes.exp: New file.
7482
463bb957
SA
74832014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7484
7485 * gdb.base/vla-ptr.c: New file.
7486 * gdb.base/vla-ptr.exp: New file.
7487
3dd170be
SA
74882014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7489
7490 * gdb.dwarf2/count.exp: New file.
7491
5ecaaa66
SA
74922014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7493
7494 * gdb.base/vla-sideeffect.c: New file.
7495 * gdb.base/vla-sideeffect.exp: New file.
7496
41f1ada5
DB
74972014-04-14 David Blaikie <dblaikie@gmail.com>
7498
7499 * gdb.mi/non-stop.c: Add return value for non-void function return
7500 statement.
7501 * gdb.threads/staticthreads.c: Ditto.
7502
0be03e84
DE
75032014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7504 Doug Evans <xdje42@gmail.com>
7505
7506 * gdb.guile/scm-value.c: Improve test case.
7507 * gdb.guile/scm-value.exp: Add new test.
7508
f180a1fb
DB
75092014-04-11 David Blaikie <dblaikie@gmail.com>
7510
7511 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7512 override Clang's default.
7513
6b662e19
JB
75142014-04-11 Joel Brobecker <brobecker@adacore.com>
7515
7516 Revert the following changes (regressions):
7517
7518 * gdb.base/vla-sideeffect.c: New file.
7519 * gdb.base/vla-sideeffect.exp: New file.
7520
7521 * gdb.dwarf2/count.exp: New file.
7522
7523 * gdb.base/vla-multi.c: New file.
7524 * gdb.base/vla-multi.exp: New file.
7525
7526 * gdb.base/vla-ptr.c: New file.
7527 * gdb.base/vla-ptr.exp: New file.
7528
7529 * gdb.base/vla-datatypes.c: New file.
7530 * gdb.base/vla-datatypes.exp: New file.
7531
7532 * gdb.mi/mi-vla-c99.exp: New file.
7533 * gdb.mi/vla.c: New file.
7534
245a5f0b
KS
75352014-04-11 Keith Seitz <keiths@redhat.com>
7536
7537 PR c++/16675
7538 * gdb.cp/cpsizeof.exp: New file.
7539 * gdb.cp/cpsizeof.cc: New file.
7540
58a84dcf
SA
75412014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7542
191a8a90
JB
7543 * gdb.mi/mi-vla-c99.exp: New file.
7544 * gdb.mi/vla.c: New file.
58a84dcf 7545
c8655f75
SA
75462014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7547
7548 * gdb.base/vla-datatypes.c: New file.
7549 * gdb.base/vla-datatypes.exp: New file.
7550
024e13b4
SA
75512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7552
7553 * gdb.base/vla-ptr.c: New file.
7554 * gdb.base/vla-ptr.exp: New file.
7555
1a237e0e
SA
75562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7557
7558 * gdb.base/vla-multi.c: New file.
7559 * gdb.base/vla-multi.exp: New file.
7560
504f3432
SA
75612014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7562
7563 * gdb.dwarf2/count.exp: New file.
7564
3bce8237
SA
75652014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7566
191a8a90
JB
7567 * gdb.base/vla-sideeffect.c: New file.
7568 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 7569
322f9c21
YQ
75702014-04-11 Yao Qi <yao@codesourcery.com>
7571
7572 * gdb.base/completion.exp: Check file exists before running tests
7573 on file completion.
7574
d708bcd1
PA
75752014-04-10 Pedro Alves <palves@redhat.com>
7576
7577 * gdb.base/cond-eval-mode.c: New file.
7578 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7579 prepare_for_testing to build the new file. Check result of
7580 runto_main.
7581 (test_break, test_watch): New procedures.
7582 (top level): Use them.
7583
ae1d2761
PM
75842014-04-08 Pierre Muller <muller@sourceware.org>
7585
7586 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7587 Ctrl-V use for mingw hosts.
7588
7af389b8
SC
75892014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7590
7591 * gdb.python/py-value.c: Improve test case.
7592 * gdb.python/py-value.exp: Add new test.
7593
5e703181
DE
75942014-04-07 David Blaikie <dblaikie@gmail.com>
7595
7596 * lib/compiler.c: Identify the clang compiler.
7597 * lib/compiler.cc: Ditto.
7598
9810b410
YQ
75992014-04-03 Yao Qi <yao@codesourcery.com>
7600
7601 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7602
98d1b8dc
AB
76032014-04-01 Anton Blanchard <anton@samba.org>
7604
7605 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7606 messages unique.
7607
3114cea1
AB
76082014-04-01 Anton Blanchard <anton@samba.org>
7609
7610 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7611 prepare_for_testing.
7612
62f7182c
AB
76132014-04-01 Anton Blanchard <anton@samba.org>
7614
7615 * gdb.arch/ppc64-atomic-inst.c: Remove.
7616 * gdb.arch/ppc64-atomic-inst.S: New file.
7617 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7618
770e7fc7
DE
76192014-03-31 Doug Evans <dje@google.com>
7620
7621 * gdb.base/print-symbol-loading-lib.c: New file.
7622 * gdb.base/print-symbol-loading-main.c: New file.
7623 * gdb.base/print-symbol-loading.exp: New file.
7624
46e2bafa
YQ
76252014-03-31 Yao Qi <yao@codesourcery.com>
7626
7627 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7628
8776cfe9
JB
76292014-03-28 Joel Brobecker <brobecker@adacore.com>
7630
7631 * gdb.ada/mi_dyn_arr: New testcase.
7632
5d1ef361
DE
76332014-03-27 Doug Evans <dje@google.com>
7634
7635 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7636
b5bee914
YQ
76372014-03-27 Yao Qi <yao@codesourcery.com>
7638
7639 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7640 if target is nios2-*-*.
7641
0d4d0e77
YQ
76422014-03-26 Yao Qi <yao@codesourcery.com>
7643
7644 * lib/gdb.exp (readline_is_used): New proc.
7645 * gdb.base/completion.exp: Move tests on command complete up.
7646 Skip the rest of tests if readline is not used.
7647 * gdb.ada/complete.exp: Skp the test if readline is not
7648 used.
7649 * gdb.base/filesym.exp: Likewise.
7650 * gdb.base/macscp.exp: Likewise.
7651 * gdb.base/readline-ask.exp: Likewise.
7652 * gdb.base/readline.exp: Likewise.
7653 * gdb.python/py-cmd.exp: Likewise.
7654 * gdb.trace/tfile.exp: Likewise.
7655
29361eee
YQ
76562014-03-26 Yao Qi <yao@codesourcery.com>
7657
7658 * gdb.base/macscp.exp: Fix code format issues.
7659
bc9a5525
UW
76602014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7661
7662 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7663 * gdb.asm/powerpc64le.inc: New file.
7664
d3839ede
PA
76652014-03-25 Pedro Alves <palves@redhat.com>
7666 Doug Evans <dje@google.com>
7667
7668 * gdb.base/source-execution.c: New file.
7669 * gdb.base/source-execution.exp: New file.
7670 * gdb.base/source-execution.gdb: New file.
7671
01672a57
DE
76722014-03-24 Doug Evans <dje@google.com>
7673
7674 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7675 using fission.
7676
88bbeca9
HZ
76772014-03-24 Hui Zhu <hui@codesourcery.com>
7678 Pedro Alves <palves@redhat.com>
7679
7680 PR breakpoints/16101
7681 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7682 test pass/fail messages. Detect missing support for dprintf when
7683 breakpoints are actually inserted.
7684 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7685 breakpoints are actually inserted.
7686 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7687 fails.
7688
d2348791
JK
76892014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7690
7691 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7692
feef67ab
DE
76932014-03-22 Doug Evans <xdje42@gmail.com>
7694
7695 * gdb.python/python.exp (python not supported): Verify multi-line
7696 python command issues an error.
25d743f9 7697 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 7698 guile command issues an error.
feef67ab 7699
ecebef6a
MR
77002014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7701
7702 * gdb.threads/thread-specific.exp: Handle the lack of usable
7703 $this_breakpoint and $this_thread.
7704
ccdd1909
HZ
77052014-03-21 Hui Zhu <hui@codesourcery.com>
7706
7707 * gdb.base/attach.exp (do_command_attach_tests): New.
7708
beb460e8
PA
77092014-03-20 Tom Tromey <tromey@redhat.com>
7710 Pedro Alves <palves@redhat.com>
7711
7712 PR cli/15718
7713 * gdb.base/condbreak-call-false.c: New file.
7714 * gdb.base/condbreak-call-false.exp: New file.
7715
40acf43a
PA
77162014-03-20 Pedro Alves <palves@redhat.com>
7717
7718 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7719 Delete.
7720 (block_signals, unblock_signals): Delete.
7721 (child_function_2, main): Remove references to deleted variable
7722 and functions.
7723
9f5e1e02
PA
77242014-03-20 Pedro Alves <palves@redhat.com>
7725
7726 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7727 Use pthread_kill to signal thread 2.
7728 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7729 Adjust to make the test send itself a signal rather than using the
7730 host's "kill" command.
7731
99619bea
PA
77322014-03-20 Pedro Alves <palves@redhat.com>
7733
7734 * gdb.threads/multiple-step-overs.c: New file.
7735 * gdb.threads/multiple-step-overs.exp: New file.
7736 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7737 Adjust expected infrun debug output.
7738
2adfaa28
PA
77392014-03-20 Pedro Alves <palves@redhat.com>
7740
7741 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7742 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7743
31e77af2
PA
77442014-03-20 Pedro Alves <palves@redhat.com>
7745
7746 PR breakpoints/7143
7747 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7748 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7749 of gdb_test_multiple.
7750 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7751 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7752
b9f437de
PA
77532014-03-20 Pedro Alves <palves@redhat.com>
7754
7755 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7756 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7757
05adc73e
PA
77582014-03-19 Pedro Alves <palves@redhat.com>
7759
7760 * gdb.base/async.exp: Remove early return.
7761
6048b950
PA
77622014-03-19 Pedro Alves <palves@redhat.com>
7763
7764 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7765
8bcfb00a
PA
77662014-03-19 Pedro Alves <palves@redhat.com>
7767
7768 * gdb.base/async.exp (test_background): Expect \r\n after
7769 "completed." in the fail pattern.
7770
884e37dc
PA
77712014-03-19 Pedro Alves <palves@redhat.com>
7772
7773 * gdb.base/async.exp (test_background): New procedure.
7774 Use it for all background execution command tests.
7775
148e57e2
PA
77762014-03-19 Pedro Alves <palves@redhat.com>
7777
7778 * gdb.base/async.exp: Use prepare_for_testing.
7779
f48088c7
PA
77802014-03-19 Pedro Alves <palves@redhat.com>
7781
7782 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7783 the same line.
7784
e2f6c966
PA
77852014-03-19 Pedro Alves <palves@redhat.com>
7786
7787 * gdb.base/async.c (main): Add "jump here" and "until here" line
7788 marker comments.
7789 * gdb.base/async.exp (jump_here): New global.
7790 (jump& test): Use it.
7791 (until_here): New global.
7792 (until& test): Use it.
7793
c30568d4
PA
77942014-03-19 Pedro Alves <palves@redhat.com>
7795
7796 * gdb.base/async.exp: Don't frob gdb_protocol.
7797
0172b6a7
DE
77982014-03-18 Doug Evans <xdje42@gmail.com>
7799
7800 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7801 Fix spelling of exec-done-display.
7802
06c868a8
JK
78032014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7804
7805 PR gdb/15358
7806 * gdb.base/gdb-sigterm.c: New file.
7807 * gdb.base/gdb-sigterm.exp: New file.
7808
0c7e1a46
PA
78092014-03-18 Pedro Alves <palves@redhat.com>
7810
7811 PR gdb/13860
7812 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7813 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7814 solib-event.
7815
f7c77d93
JB
78162014-03-17 Joel Brobecker <brobecker@adacore.com>
7817
7818 * gdb.ada/pckd_arr_ren: New testcase.
7819
5a1e8c7a
DE
78202014-03-13 Doug Evans <xdje42@gmail.com>
7821
7822 PR guile/16612
7823 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7824 collect after discarding symbols.
7825
350e1a76
DE
78262014-03-13 Ludovic Courtès <ludo@gnu.org>
7827 Doug Evans <xdje42@gmail.com>
7828
7829 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7830 to history survives a gc.
7831
a69900ae
PA
78322014-03-13 Pedro Alves <palves@redhat.com>
7833
7834 * gdb.base/default.exp: Don't test "target procfs".
7835
5db9f0bd
PA
78362014-03-13 Pedro Alves <palves@redhat.com>
7837
7838 * gdb.base/default.exp: Update "target child" and "target procfs"
7839 tests to not expect "Unix".
7840
b3ccfe11
TT
78412014-03-12 Tom Tromey <tromey@redhat.com>
7842
7843 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7844 New procs. Add target-async tests.
7845 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7846 Add target-async tests.
7847
646f4417
AA
78482014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7849
7850 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7851 'func_start' and 'func_end' for the beginning and end of the
7852 function code, respectively.
7853 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7854 'func_end' instead of 'func' and 'main'.
7855
288c211f
AA
78562014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7857
7858 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7859 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7860 generate the debug info assembler source.
7861
e0c0f156
AA
78622014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7863
7864 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7865 * gdb.dwarf2/arr-subrange.exp: Likewise.
7866 * gdb.dwarf2/dwz.exp: Likewise.
7867 * gdb.dwarf2/method-ptr.exp: Likewise.
7868 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7869 * gdb.dwarf2/subrange.exp: Likewise.
7870 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7871 * gdb.dwarf2/implptrpiece.exp: Likewise.
7872 * gdb.dwarf2/nostaticblock.exp: Likewise.
7873
0e5c4555
AA
78742014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7875
7876 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7877 directory to absolute path name arguments.
7878
5ec18f2b
JG
78792014-03-10 Joel Brobecker <brobecker@adacore.com>
7880
7881 * gdb.ada/tagged_access: New testcase.
7882
847fc4f2
MM
78832014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7884
7885 * gdb.btrace/data.exp: Update expected output.
7886
cc3da688
YQ
78872014-03-06 Yao Qi <yao@codesourcery.com>
7888
7889 * gdb.trace/pr16508.exp: New file.
7890
0f26cec1
PA
78912014-03-05 Pedro Alves <palves@redhat.com>
7892
7893 PR gdb/16575
7894 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7895 procedure.
7896 (top level): Adjust to use it. Add tests that exercise breakpoint
7897 interaction with the code-cache.
7898
7a5a839f
LC
78992014-02-26 Ludovic Courtès <ludo@gnu.org>
7900
7901 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7902 test for 'history-append!'.
7903
31aa7e4e
JB
79042014-02-26 Joel Brobecker <brobecker@adacore.com>
7905
7906 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7907 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7908 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7909 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7910 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7911 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7912
1b588015
JB
79132014-02-26 Joel Brobecker <brobecker@adacore.com>
7914
7915 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7916 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7917 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7918
55426c9d
JB
79192014-02-26 Joel Brobecker <brobecker@adacore.com>
7920
7921 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7922
dc53a7ad
JB
79232014-02-26 Joel Brobecker <brobecker@adacore.com>
7924
7925 * gdb.dwarf2/arr-stride.c: New file.
7926 * gdb.dwarf2/arr-stride.exp: New file.
7927
12ab52e9
PA
79282014-02-26 Pedro Alves <palves@redhat.com>
7929
7930 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7931 that won't ever trigger. Make sure that GDB reports the correct
7932 breakpoint that caused the stop.
7933
849c862e
JK
79342014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7935
7936 PR gdb/16626
7937 * gdb.base/auto-load-script: New file.
7938 * gdb.base/auto-load.c: New file.
7939 * gdb.base/auto-load.exp: New file.
7940
71b7d793
JK
7941 PR gdb/16626
7942 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7943
e2f0d509
JK
79442014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7945
7946 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7947 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7948
50cc37c8
DE
79492014-02-24 Doug Evans <dje@google.com>
7950
7951 * lib/gdb.exp (run_on_host): Log error output if program fails.
7952
ea4758f2
PA
79532014-02-21 Pedro Alves <palves@redhat.com>
7954
7955 * gdb.threads/step-after-sr-lock.c: Rename to ...
7956 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7957 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7958 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7959 ... this.
7960
d7b30f67
SDJ
79612014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7962
7963 PR tdep/16397
7964 * gdb.arch/amd64-stap-special-operands.exp: New file.
7965 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7966 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7967 * gdb.arch/amd64-stap-triplet.S: Likewise.
7968 * gdb.arch/amd64-stap-triplet.c: Likewise.
7969
83deb43f
JB
79702014-02-20 Joel Brobecker <brobecker@adacore.com>
7971
7972 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7973 in .section pseudo-op.
7974
adde2bff
DE
79752014-02-20 lin zuojian <manjian2006@gmail.com>
7976 Joel Brobecker <brobecker@adacore.com>
7977 Doug Evans <xdje42@gmail.com>
7978
7979 PR symtab/16581
7980 * gdb.dwarf2/dw2-icycle.S: New file.
7981 * gdb.dwarf2/dw2-icycle.c: New file.
7982 * gdb.dwarf2/dw2-icycle.exp: New file.
7983
f7bd0f78
SC
79842014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7985
7986 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7987 operations on gdb.Value objects.
7988 * gdb.python/py-value-cc.exp: Add new test to test operations on
7989 gdb.Value objects.
7990
c17ef0d5
DE
79912014-02-18 Doug Evans <dje@google.com>
7992
7993 * Makefile.in (TESTS): New variable.
7994 (expanded_tests, expanded_tests_or_none): New variables
7995 (check-single): Pass $(expanded_tests_or_none) to runtest.
7996 (check-parallel): Only run tests in $(TESTS) if non-empty.
7997 (check/no-matching-tests-found): New rule.
7998 * README: Document TESTS makefile variable.
7999
5dd3176f
DE
80002014-02-18 Doug Evans <dje@google.com>
8001
8002 * Makefile.in (check-parallel): rm -rf outputs temp.
8003
0b10be4f
JK
80042014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8005
8006 Fix "ERROR: no fileid for" in the testsuite.
8007 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8008
85f224e7
DE
80092014-02-12 Doug Evans <dje@google.com>
8010
8011 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8012 (MISCELLANEOUS): New variable.
8013 (clean): rm -rf $(MISCELLANEOUS).
8014 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8015 dwp live in the same directory as symlinks, with each symlink pointed
8016 to a differently named file in a different directory.
8017
149b30ff
DE
80182014-02-11 Doug Evans <dje@google.com>
8019
8020 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8021 of Tcl file commands.
8022
1dfdac32
MK
80232014-02-10 Mark Kettenis <kettenis@gnu.org>
8024
8025 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8026 "kill -SIGUSR1 -1".
8027
aa4fb036
JB
80282014-02-10 Joel Brobecker <brobecker@adacore.com>
8029
8030 * gdb.ada/tick_length_array_enum_idx: New testcase.
8031
ed3ef339
DE
80322014-02-10 Doug Evans <xdje42@gmail.com>
8033
8034 * configure.ac (AC_OUTPUT): Add gdb.guile.
8035 * configure: Regenerate.
8036 * lib/gdb-guile.exp: New file.
8037 * lib/gdb.exp (get_target_charset): New function.
8038 * gdb.base/help.exp: Update expected output from "apropos apropos".
8039 * gdb.guile/Makefile.in: New file.
8040 * gdb.guile/guile.exp: New file.
8041 * gdb.guile/scm-arch.c: New file.
8042 * gdb.guile/scm-arch.exp: New file.
8043 * gdb.guile/scm-block.c: New file.
8044 * gdb.guile/scm-block.exp: New file.
8045 * gdb.guile/scm-breakpoint.c: New file.
8046 * gdb.guile/scm-breakpoint.exp: New file.
8047 * gdb.guile/scm-disasm.c: New file.
8048 * gdb.guile/scm-disasm.exp: New file.
8049 * gdb.guile/scm-equal.c: New file.
8050 * gdb.guile/scm-equal.exp: New file.
8051 * gdb.guile/scm-error.exp: New file.
8052 * gdb.guile/scm-error.scm: New file.
8053 * gdb.guile/scm-frame-args.c: New file.
8054 * gdb.guile/scm-frame-args.exp: New file.
8055 * gdb.guile/scm-frame-args.scm: New file.
8056 * gdb.guile/scm-frame-inline.c: New file.
8057 * gdb.guile/scm-frame-inline.exp: New file.
8058 * gdb.guile/scm-frame.c: New file.
8059 * gdb.guile/scm-frame.exp: New file.
8060 * gdb.guile/scm-generics.exp: New file.
8061 * gdb.guile/scm-gsmob.exp: New file.
8062 * gdb.guile/scm-iterator.c: New file.
8063 * gdb.guile/scm-iterator.exp: New file.
8064 * gdb.guile/scm-math.c: New file.
8065 * gdb.guile/scm-math.exp: New file.
8066 * gdb.guile/scm-objfile-script-gdb.in: New file.
8067 * gdb.guile/scm-objfile-script.c: New file.
8068 * gdb.guile/scm-objfile-script.exp: New file.
8069 * gdb.guile/scm-objfile.c: New file.
8070 * gdb.guile/scm-objfile.exp: New file.
8071 * gdb.guile/scm-ports.exp: New file.
8072 * gdb.guile/scm-pretty-print.c: New file.
8073 * gdb.guile/scm-pretty-print.exp: New file.
8074 * gdb.guile/scm-pretty-print.scm: New file.
8075 * gdb.guile/scm-section-script.c: New file.
8076 * gdb.guile/scm-section-script.exp: New file.
8077 * gdb.guile/scm-section-script.scm: New file.
8078 * gdb.guile/scm-symbol.c: New file.
8079 * gdb.guile/scm-symbol.exp: New file.
8080 * gdb.guile/scm-symtab-2.c: New file.
8081 * gdb.guile/scm-symtab.c: New file.
8082 * gdb.guile/scm-symtab.exp: New file.
8083 * gdb.guile/scm-type.c: New file.
8084 * gdb.guile/scm-type.exp: New file.
8085 * gdb.guile/scm-value-cc.cc: New file.
8086 * gdb.guile/scm-value-cc.exp: New file.
8087 * gdb.guile/scm-value.c: New file.
8088 * gdb.guile/scm-value.exp: New file.
8089 * gdb.guile/source2.scm: New file.
8090 * gdb.guile/types-module.cc: New file.
8091 * gdb.guile/types-module.exp: New file.
8092
7026a7c1
YQ
80932014-02-10 Yao Qi <yao@codesourcery.com>
8094
8095 PR testsuite/16543
8096 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8097 * configure: Regenerated.
8098 * Makefile.in: New file.
8099
6c466447
AS
81002014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8101
8102 * gdb.python/py-framefilter.exp: Fix typo.
8103
6e854735
YQ
81042014-02-08 Yao Qi <yao@codesourcery.com>
8105
8106 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8107 that no =breakpoint-modified is emitted when breakpoints are
8108 modified through MI commands.
8109
d137e6dc
PA
81102014-02-07 Pedro Alves <pedro@codesourcery.com>
8111 Pedro Alves <palves@redhat.com>
8112
8113 * gdb.threads/step-after-sr-lock.c: New file.
8114 * gdb.threads/step-after-sr-lock.exp: New file.
8115
b5ee5a50
PA
81162014-02-07 Pedro Alves <palves@redhat.com>
8117
8118 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8119
3c77faf3
JK
81202014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8121
8122 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8123 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8124
6dddc817
DE
81252014-02-06 Doug Evans <xdje42@gmail.com>
8126
8127 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8128 output.
8129
8130 * gdb.gdb/python-interrupts.exp: New file.
8131
de7b2893
YQ
81322014-02-05 Yao Qi <yao@codesourcery.com>
8133
8134 * gdb.trace/report.exp (use_collected_data): Test the output
8135 of "info threads" and "info inferiors".
8136
66d032ac
YQ
81372014-02-05 Yao Qi <yao@codesourcery.com>
8138
8139 Revert this patch:
8140
8141 2013-05-24 Yao Qi <yao@codesourcery.com>
8142
8143 * gdb.trace/tfile.exp: Test inferior and thread.
8144
591a12a1
UW
81452014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8146
8147 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8148 on a function.
8149 * gdb.base/step-bt.c: Call hello via function pointer to make
8150 sure its first instruction is executed on powerpc64le-linux.
8151
0ff3e01f
UW
81522014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8153
8154 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8155
084ee545
UW
81562014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8157
8158 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8159 of the test patterns for use on little-endian systems.
8160
6ed14ff3
UW
81612014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8162
8163 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8164 (decimal_vector): Fix for little-endian.
8165
401e27fd
JM
81662014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8167
8168 * gdb.arch/sparc-sysstep.exp: New file.
8169 * gdb.arch/sparc-sysstep.c: Likewise.
8170
8171 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8172
8b924729
EBM
81732014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8174
8175 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8176
fb151210
JB
81772014-01-23 Tom Tromey <tromey@redhat.com>
8178
8179 * gdb.ada/array_char_idx: New testcase.
8180
0740f8d8
TT
81812014-01-23 Tom Tromey <tromey@redhat.com>
8182
8183 PR python/16487:
8184 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8185 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8186 classes.
8187
21909fa1
TT
81882014-01-23 Tom Tromey <tromey@redhat.com>
8189
8190 PR python/16491:
8191 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8192 string from an inferior frame.
8193 * gdb.python/py-framefilter-mi.exp: Update.
8194
87ce2a04
DE
81952014-01-22 Doug Evans <dje@google.com>
8196
8197 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8198
237b092b
AA
81992014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8200
8201 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8202
d674a709
AA
82032014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8204
8205 * gdb.trace/entry-values.exp: Remove excess space character from
8206 regex patterns. Handle s390 call instruction.
8207
20fa3390
AA
82082014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8209
8210 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8211 define "*_start" label. Make "name" static.
8212 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8213 ${name} by references to ${name}_start.
8214
78466714
AA
82152014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8216
8217 * gdb.base/info-macros.exp: Remove "debug" from the compile
8218 options.
8219
ec9f644a
IB
82202014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8221
8222 * gdb.dlang/demangle.exp: New file.
8223
94b1b47e
IB
82242014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8225
8226 * gdb.dlang/primitive-types.exp: New file.
8227
7f420862
IB
82282014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8229
8230 * configure.ac: Create gdb.dlang/Makefile.
8231 * configure: Regenerate.
8232 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8233 * gdb.dlang/Makefile.in: New file.
8234 * lib/d-support.exp: New file.
8235 * lib/gdb.exp (skip_d_tests): New proc.
8236
52834460
MM
82372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8238
8239 * gdb.btrace/delta.exp: Check reverse stepi.
8240 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8241 * gdb.btrace/finish.exp: New.
8242 * gdb.btrace/next.exp: New.
8243 * gdb.btrace/nexti.exp: New.
8244 * gdb.btrace/record_goto.c: Add comments.
8245 * gdb.btrace/step.exp: New.
8246 * gdb.btrace/stepi.exp: New.
8247 * gdb.btrace/multi-thread-step.c: New.
8248 * gdb.btrace/multi-thread-step.exp: New.
8249 * gdb.btrace/rn-dl-bind.c: New.
8250 * gdb.btrace/rn-dl-bind.exp: New.
8251 * gdb.btrace/data.c: New.
8252 * gdb.btrace/data.exp: New.
8253 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8254
6e07b1d2
MM
82552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8256
8257 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8258 * gdb.btrace/exception.exp: Update.
8259 * gdb.btrace/instruction_history.exp: Update.
8260 * gdb.btrace/record_goto.exp: Update.
8261 * gdb.btrace/tailcall.exp: Update.
8262 * gdb.btrace/unknown_functions.exp: Update.
8263 * gdb.btrace/delta.exp: New.
8264
0b722aec
MM
82652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8266
8267 * gdb.btrace/record_goto.exp: Add backtrace test.
8268 * gdb.btrace/tailcall.exp: Add backtrace test.
8269
066ce621
MM
82702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8271
8272 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8273 * gdb.btrace/record_goto.c: New.
8274 * gdb.btrace/record_goto.exp: New.
8275 * gdb.btrace/x86-record_goto.S: New.
8276
0688d04e
MM
82772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8278
8279 * gdb.btrace/function_call_history.exp: Update tests.
8280 * gdb.btrace/instruction_history.exp: Update tests.
8281
8710b709
MM
82822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8283
8284 * gdb.btrace/function_call_history.exp: Fix expected field
8285 order for "record function-call-history".
8286 Add new tests for "record function-call-history /c".
8287 * gdb.btrace/exception.cc: New.
8288 * gdb.btrace/exception.exp: New.
8289 * gdb.btrace/tailcall.exp: New.
8290 * gdb.btrace/x86-tailcall.S: New.
8291 * gdb.btrace/x86-tailcall.c: New.
8292 * gdb.btrace/unknown_functions.c: New.
8293 * gdb.btrace/unknown_functions.exp: New.
8294 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8295
5de9129b
MM
82962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8297
8298 * gdb.btrace/instruction_history.exp: Update.
8299 * gdb.btrace/function_call_history.exp: Update.
8300
23a7fe75
MM
83012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8302
8303 * gdb.btrace/function_call_history.exp: Fix expected function
8304 trace.
8305 * gdb.btrace/instruction_history.exp: Initialize traced.
8306 Remove traced_functions.
8307
724c7dd8
MM
83082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8309
8310 * gdb.btrace/function_call_history.exp: Update
8311 * gdb.btrace/instruction_history.exp: Update.
8312
6d78d93b
MM
83132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8314
8315 * gdb.btrace/enable.exp: Update expected text.
8316
93a360cc
OJ
83172014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8318
8319 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8320 bytes.
8321
3772b53f
MR
83222014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8323
8324 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8325
596662fa
OJ
83262014-01-15 Omair Javaid <omair.javaid@linaro.org>
8327
8328 * lib/gdb.exp (supports_process_record): Return true for
8329 arm*-linux*. (supports_reverse): Likewise.
8330
b5b08fb4
SC
83312014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8332
8333 PR python/15464
8334 PR python/16113
8335 * gdb.python/py-type.c: Enhance test case.
8336 * gdb.python/py-value-cc.cc: Likewise
8337 * gdb.python/py-type.exp: Add new tests.
8338 * gdb.python/py-value-cc.exp: Likewise
8339
52d7fb13
AA
83402014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8341 Pedro Alves <palves@redhat.com>
8342
8343 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8344 Make "name" extern.
8345 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8346 references to ${name}_start by references to ${name}.
8347
a2cd8cfe
JB
83482014-01-10 Joel Brobecker <brobecker@adacore.com>
8349
8350 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8351
4e23fced
JB
83522014-01-10 Joel Brobecker <brobecker@adacore.com>
8353
8354 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8355
c6a9e42c
PA
83562014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8357 Pedro Alves <palves@redhat.com>
8358
8359 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8360 mi_gdb_target_load.
c6a9e42c 8361
b7ea362b
PA
83622014-01-08 Pedro Alves <palves@redhat.com>
8363
8364 * gdb.threads/reconnect-signal.c: New file.
8365 * gdb.threads/reconnect-signal.exp: New file.
8366
5e3f4fab
EBM
83672014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8368
8369 * gdb.base/source-dir.exp: New file.
8370
79301218
JB
83712014-01-07 Joel Brobecker <brobecker@adacore.com>
8372
8373 * gdb.ada/mi_interface: New testcase.
8374
8e355c5d
JB
83752014-01-07 Joel Brobecker <brobecker@adacore.com>
8376
8377 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8378 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8379 gdb.ada/pp-rec-component/pck.ads: New files.
8380
c0d48811
JB
83812014-01-07 Joel Brobecker <brobecker@adacore.com>
8382
8383 * gdb.python/py-pp-integral.c: New file.
8384 * gdb.python/py-pp-integral.py: New file.
8385 * gdb.python/py-pp-integral.exp: New file.
8386
17b609c3 8387For older changes see ChangeLog-1993-2013.
c906108c 8388\f
8d8cb839
EZ
8389;; Local Variables:
8390;; mode: change-log
8391;; left-margin: 8
8392;; fill-column: 74
8393;; version-control: never
8394;; End:
902f2ccb 8395
618f726f 8396 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8397 Copying and distribution of this file, with or without modification,
8398 are permitted provided the copyright notice and this notice are preserved.