]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Add variable length tests for emit_ref in trace-condition.exp
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
2320162a
AT
12016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2
3 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
4 bits types.
5 (main): Adapt to 8 to 64 bits types.
6 * gdb.trace/trace-condition.exp: Add new tests.
7
a7818233
AT
82016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9
10 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
11
0d336466
AT
122016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13
14 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15 Move condition tests...
16 * gdb.trace/trace-condition.exp: Here.
17
7faeb45a
AT
182016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
19
20 * gdb.trace/trace-condition.exp: Add counter-case tests.
21
e385593e
JK
222016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
23
24 PR c++/15231
25 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
26 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
27
744608cc
PA
282016-05-27 Pedro Alves <palves@redhat.com>
29
30 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
31 New procedure.
32 (top level): Call it, and bail out of DejaGnu is known to be bad.
33
ac775bf4
AB
342016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
35
36 * gdb.base/whatis.c: Extend the test case.
37 * gdb.base/whatis.exp: Add additional tests.
38
2bbad2ea
BH
392016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
40
41* gdb.fortran/type.f90: Add pointer variable.
42* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
43
8b70175d
BH
442016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
45
46 * gdb.fortran/vla-type.exp: Fix testcase name.
47
86d8a848
BH
482016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
49
50 * gdb.fortran/vla-type.exp: Access elements in nested structs.
51
e188eb36
BH
522016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
53
54 * gdb.fortran/type.f90: Add nested structures.
55 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
56 * gdb.fortran/derived-type.exp: Adapt expected output.
57 * gdb.fortran/vla-type.exp: Adapt expected output.
58
9b2db1fd
BH
592016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
60
61 * gdb.fortran/whatis_type.exp: Adapt expected output.
62
72b17055
BH
632016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
64
65 * gdb.fortran/print_type.exp: Fix expected output.
66 * gdb.fortran/whatis_type.exp: Fix expected output.
67
3cd81d8d
BH
682016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
69
70 * gdb.fortran/whatis_type.exp: Use multi_line.
71
ddae9462
TT
722016-05-24 Tom Tromey <tom@tromey.com>
73
74 PR python/17386:
75 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
76 use value as an index.
77
1957f6b8
TT
782016-05-23 Tom Tromey <tom@tromey.com>
79
80 PR python/17981:
81 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
82 no-breakpoint case.
83
026a9174
PA
842016-05-24 Pedro Alves <palves@redhat.com>
85
86 PR gdb/19828
87 * gdb.threads/clone-attach-detach.c: New file.
88 * gdb.threads/clone-attach-detach.exp: New file.
89
e70a7231
FR
902016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
91
92 * gdb.base/annota-input-while-running.exp: Fix syntax error.
93
0f6ed0e0
TT
942016-05-23 Tom Tromey <tom@tromey.com>
95
96 PR python/19438, PR python/18393:
97 * gdb.python/py-progspace.exp: Add "dir" test.
98 * gdb.python/py-objfile.exp: Add "dir" test.
99
ffd19d61
YQ
1002016-05-23 Yao Qi <yao.qi@linaro.org>
101
102 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
103 * gdb.arch/thumb2-it.exp: Likewise.
104
9e8f9b05
SM
1052016-05-18 Simon Marchi <simon.marchi@ericsson.com>
106
107 * gdb.mi/mi-threads-interrupt.c: New file.
108 * gdb.mi/mi-threads-interrupt.exp: New file.
109
61c6156d
SM
1102016-05-17 Simon Marchi <simon.marchi@ericsson.com>
111
112 PR gdb/18077
113 * gdb.mi/mi-async-run.exp: New file.
114 * gdb.mi/mi-async-run.c: New file.
115
67218854
TT
1162016-05-17 Tom Tromey <tom@tromey.com>
117 Manish Goregaokar <manishsmail@gmail.com>
118
119 * lib/rust-support.exp: New file.
120 * lib/gdb.exp (skip_rust_tests): New proc.
121 (build_executable_from_specs): Handle rust.
122 * lib/future.exp (gdb_find_rustc): New proc.
123 (gdb_default_target_compile): Handle rust.
124 * gdb.rust/expr.exp: New file.
125 * gdb.rust/generics.exp: New file.
126 * gdb.rust/generics.rs: New file.
127 * gdb.rust/methods.exp: New file.
128 * gdb.rust/methods.rs: New file.
129 * gdb.rust/modules.exp: New file.
130 * gdb.rust/modules.rs: New file.
131 * gdb.rust/simple.exp: New file.
132 * gdb.rust/simple.rs: New file.
133
c44af4eb
TT
1342016-05-17 Tom Tromey <tom@tromey.com>
135
136 * gdb.base/default.exp (set language): Add rust.
137
dcd1f979
TT
1382016-05-17 Tom Tromey <tom@tromey.com>
139
140 * gdb.gdb/unittest.exp: New file.
141
155b7f57
YQ
1422016-05-16 Yao Qi <yao.qi@linaro.org>
143
144 * gdb.base/batch-preserve-term-settings.exp: Remove variable
145 shell_prompt. Update shell_prompt_re.
146
8ddd5a6c
DE
1472016-05-12 Doug Evans <dje@google.com>
148
149 PR symtab/19999
150 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
151 $options when building executable.
152 * gdb.dwarf2/fission-loclists-pie.S: New file.
153 * gdb.dwarf2/fission-loclists-pie.exp: New file.
154
02e370d9
SM
1552016-05-04 Simon Marchi <simon.marchi@ericsson.com>
156
157 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
158 of [is_remote target],
159
8929ad8b
SM
1602016-05-04 Simon Marchi <simon.marchi@ericsson.com>
161
162 * lib/gdb.exp (use_gdb_stub): New procedure.
163
6c447423
DE
1642016-05-03 Yunlian Jiang <yunlian@google.com>
165 Doug Evans <dje@google.com>
166
167 PR symtab/19914
168 * gdb.dwarf2/dwp-sepdebug.c: New file.
169 * gdb.dwarf2/dwp-sepdebug.exp: New file.
170
444e826c
SM
1712016-05-02 Simon Marchi <simon.marchi@ericsson.com>
172
173 * gdb.base/detach.exp: Remove is_remote check.
174
740feeaa
SM
1752016-05-02 Simon Marchi <simon.marchi@ericsson.com>
176
177 * gdb.base/annota-input-while-running.exp: Don't check for
178 [is_remote target]. Enable annotations after running to main.
179 Remove unused "set test..." line.
180
9080ac9d
SM
1812016-04-28 Simon Marchi <simon.marchi@ericsson.com>
182
183 * gdb.trace/trace-enable-disable.exp: New file.
184 * gdb.trace/trace-enable-disable.c: New file.
185
952ebca5
SM
1862016-04-28 Simon Marchi <simon.marchi@ericsson.com>
187
188 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
189 use it in info sharedlibrary test.
190 * gdb.trace/ftrace-lock.exp: Likewise.
191 * gdb.trace/ftrace.exp: Likewise.
192 * gdb.trace/range-stepping.exp: Likewise.
193 * gdb.trace/trace-break.exp: Likewise.
194 * gdb.trace/trace-condition.exp: Likewise.
195 * gdb.trace/trace-mt.exp: Likewise.
196
d9019901
SM
1972016-04-27 Simon Marchi <simon.marchi@ericsson.com>
198
199 * lib/gdb.exp (gdb_load_shlibs): Rename to...
200 (gdb_load_shlib): ... this.
201 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
202 gdb_load_shlib.
203 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
204 * gdb.base/ctxobj.exp: Likewise.
205 * gdb.base/dprintf-pending.exp: Likewise.
206 * gdb.base/dso2dso.exp: Likewise.
207 * gdb.base/fixsection.exp: Likewise.
208 * gdb.base/gcore-relro.exp: Likewise.
209 * gdb.base/gdb1555.exp: Likewise.
210 * gdb.base/global-var-nested-by-dso.exp: Likewise.
211 * gdb.base/gnu-ifunc.exp: Likewise.
212 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
213 * gdb.base/jit-so.exp (one_jit_test): Likewise.
214 * gdb.base/pending.exp: Likewise.
215 * gdb.base/print-file-var.exp: Likewise.
216 * gdb.base/print-symbol-loading.exp: Likewise.
217 * gdb.base/shlib-call.exp: Likewise.
218 * gdb.base/shreloc.exp: Likewise.
219 * gdb.base/so-impl-ld.exp: Likewise.
220 * gdb.base/solib-disc.exp: Likewise.
221 * gdb.base/solib-nodir.exp: Likewise.
222 * gdb.base/solib-overlap.exp: Likewise.
223 * gdb.base/solib-symbol.exp: Likewise.
224 * gdb.base/solib-weak.exp (do_test): Likewise.
225 * gdb.base/sym-file.exp: Likewise.
226 * gdb.base/symtab-search-order.exp: Likewise.
227 * gdb.base/type-opaque.exp: Likewise.
228 * gdb.base/unload.exp: Likewise.
229 * gdb.base/watchpoint-solib.exp: Likewise.
230 * gdb.compile/compile.exp: Likewise.
231 * gdb.cp/gdb2384.exp: Likewise.
232 * gdb.cp/infcall-dlopen.exp: Likewise.
233 * gdb.cp/re-set-overloaded.exp: Likewise.
234 * gdb.fortran/library-module.exp: Likewise.
235 * gdb.opt/solib-intra-step.exp: Likewise.
236 * gdb.python/py-finish-breakpoint.exp: Likewise.
237 * gdb.python/py-shared.exp: Likewise.
238 * gdb.reverse/solib-precsave.exp: Likewise.
239 * gdb.reverse/solib-reverse.exp: Likewise.
240 * gdb.server/solib-list.exp: Likewise.
241 * gdb.threads/dlopen-libpthread.exp: Likewise.
242 * gdb.threads/tls-shared.exp: Likewise.
243 * gdb.threads/tls-so_extern.exp: Likewise.
244 * gdb.trace/change-loc.exp: Likewise.
245 * gdb.trace/ftrace-lock.exp: Likewise.
246 * gdb.trace/ftrace.exp: Likewise.
247 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
248 * gdb.trace/pending.exp: Likewise.
249 * gdb.trace/range-stepping.exp: Likewise.
250 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
251 (strace_info_marker): Likewise.
252 (strace_probe_marker): Likewise.
253 (strace_trace_on_same_addr): Likewise.
254 (strace_trace_on_diff_addr): Likewise.
255 * gdb.trace/trace-break.exp: Likewise.
256 * gdb.trace/trace-condition.exp: Likewise.
257 * gdb.trace/trace-mt.exp: Likewise.
258
fca4cfd9
SM
2592016-04-27 Simon Marchi <simon.marchi@ericsson.com>
260
261 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
262 result of gdb_remote_download.
263 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
264 * gdb.base/dso2dso.exp: Likewise.
265 * gdb.base/global-var-nested-by-dso.exp: Likewise.
266 * gdb.base/print-file-var.exp: Likewise.
267 * gdb.base/shlib-call.exp: Likewise.
268 * gdb.base/shreloc.exp: Likewise.
269 * gdb.base/solib-overlap.exp: Likewise.
270 * gdb.base/solib-weak.exp (do_test): Likewise.
271 * gdb.base/unload.exp: Likewise.
272
11cf4ffb
YQ
2732016-04-27 Yao Qi <yao.qi@linaro.org>
274
275 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
276 exists.
277
3e2e34f8
KB
2782016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
279
280 * vla-type.exp: Print structure from toplevel.
281
8f07e298
BH
2822016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
283
284 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
285 of dynamic types.
286 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
287 of dynamic types.
288
9920b434
BH
2892016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
290
291 * gdb.fortran/vla-type.f90: New file.
292 * gdb.fortran/vla-type.exp: New file.
293
f3abeff5
YQ
2942016-04-25 Yao Qi <yao.qi@linaro.org>
295
296 * gdb.base/branch-to-self.c: New file.
297 * gdb.base/branch-to-self.exp: New file.
298
0a5d52f0
YQ
2992016-04-22 Yao Qi <yao.qi@linaro.org>
300
301 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
302 more after $hex.
303
495346f6
YQ
3042016-04-22 Yao Qi <yao.qi@linaro.org>
305
306 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
307 * gdb.base/annota3.exp: Likewise.
308
4a7e075c
YQ
3092016-04-22 Yao Qi <yao.qi@linaro.org>
310
311 * gdb.reverse/step-precsave.exp: Do one step and test program
312 stops in "callee" and do multiple steps until program goes out
313 of "callee".
314 * gdb.reverse/step-reverse.exp: Likewise.
315
5b061e98
YQ
3162016-04-22 Yao Qi <yao.qi@linaro.org>
317
318 * gdb.trace/signal.exp: Also pass if
319 $tracepoint_hits($i) > $iterations.
320
5c5dc57f
YQ
3212016-04-22 Yao Qi <yao.qi@linaro.org>
322
323 * gdb.trace/signal.c: New file.
324 * gdb.trace/signal.exp: New file.
325
a55411b9
DE
3262016-04-19 Doug Evans <xdje42@gmail.com>
327
328 * gdb.base/bad-file.exp: New file.
329
a22df60a
MG
3302016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
331
332 * gdb.dwarf2/implref.exp: New file.
333
0c13f7e5
BH
3342016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
335
336 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
337 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
338 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
339 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
340 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
341 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
342 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
343 * lib/fortran.exp (fortran_int4): New procedure.
344 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
345 (fortran_logical4): Likewise.
346
9b9b09e9
BH
3472016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
348
349 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
350
a14d1f4d
BH
3512016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
352
353 * lib/compiler.c: Add Intel specific preprocessor macros.
354 * lib/compiler.cc: Likewise.
355
7d49b1d0
LM
3562016-04-13 Luis Machado <lgustavo@codesourcery.com>
357
358 * gdb.server/connect-with-no-symbol-file.c: New file.
359 * gdb.server/connect-with-no-symbol-file.exp: New file.
360
8392fa22
SM
3612016-04-13 Simon Marchi <simon.marchi@ericsson.com>
362
363 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
364
8c4c4aeb
SM
3652016-04-13 Simon Marchi <simon.marchi@ericsson.com>
366
367 * boards/gdbserver-base.exp (${board}_download): Copy source file to
368 standard output directory.
369
45e3745e
AT
3702016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
371
372 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
373
e26b7e41
MM
3742016-04-13 Markus Metzger <markus.t.metzger@intel.com>
375
376 * gdb.btrace/instruction_history.c (loop): Add declaration.
377
8ce09462
AT
3782016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
379
380 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
381
2e88a1ea
SM
3822016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
383
384 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
385 parentheses to print.
386 (continue_handler): Likewise.
387
f48e22e3
SM
3882016-04-08 Simon Marchi <simon.marchi@ericsson.com>
389
390 * gdb.server/solib-list.exp: Remove is_remote check.
391 Pass shlib= to gdb_compile. Don't link shared library with
392 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
393 Run binary filename through "readlink -f" on the target.
394
096be756
PA
3952016-04-08 Pedro Alves <palves@redhat.com>
396
397 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
398 interpreter filename as argument to gdbserver_spawn.
399 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
400 Return empty if $last_loaded_file does not exist.
401
06500533
JK
4022016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
403
404 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
405 * gdb.base/jit-main.c: Use exit after usage.
406
2d35e871
JK
4072016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
408
409 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
410 GDBHISTSIZE prior to the tests.
411 * gdb.base/gdbinit-history.exp: Likewise.
412
4132016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
414
415 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
416 instead of build_executable. Use gdb_load_shlibs.
417
c8064e7e
YQ
4182016-04-07 Yao Qi <yao.qi@linaro.org>
419
420 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
421 Execute "si" command.
422
bde47561
YQ
4232016-04-07 Yao Qi <yao.qi@linaro.org>
424
425 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
426 number instead of the comments on some line.
427
b16f8a3b
DB
4282016-04-06 Don Breazeal <donb@codesourcery.com>
429
430 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
431 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
432
c2f901df
SM
4332016-04-06 Simon Marchi <simon.marchi@ericsson.com>
434
435 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
436 standard_output_file. Remove unused binfile variable.
437
ac17fda0
CU
4382016-04-05 Catalin Udma <catalin.udma@freescale.com>
439
440 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
441 * gdb.python/py-mi-objfile.exp: Match "list main" output
442 in console format.
443
03a8c4df
SM
4442016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
445
446 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
447 absolute.
448
6e774b13
SM
4492016-04-05 Simon Marchi <simon.marchi@ericsson.com>
450
451 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
452 absolute.
453 * gdb.trace/ftrace.exp: Likewise.
454 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
455 targets as well.
456 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
457 (gdb_load_shlibs): Copy libraries to test directory when testing
458 natively. Only set solib-search-path if testing remotely.
459 * lib/mi-support.exp (mi_load_shlibs): Likewise.
460
7817ea46
SM
4612016-04-05 Simon Marchi <simon.marchi@ericsson.com>
462
463 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
464 gdb_download. Use it even if the target is not remote.
465 * gdb.base/jit.exp (compile_jit_test): Likewise.
466 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
467 output directory if the destination board is local, otherwise use
468 the standard remote_download from DejaGnu.
469 (gdb_download): Remove.
470 (gdb_load_shlibs): Use gdb_remote_download instead of
471 gdb_download.
472 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
473 Use gdb_remote_download instead of gdb_download. Use it even if
474 the target is not remote.
475 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
476 instead of gdb_download.
477
7beb7f68
SM
4782016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
479
480 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
481 (test_insert_delete_modify): Call mi_load_shlibs before trying to
482 run.
483
cc63428a
AV
4842016-04-01 Artemiy Volkov <artemiyv@acm.org>
485
486 PR gdb/19820
487 * gdb.base/printcmds.exp: Add artificial arrays tests.
488
64cdf930
PA
4892016-03-31 Pedro Alves <palves@redhat.com>
490
491 PR gdb/19858
492 * gdb.base/jit-main.c: Include unistd.h.
493 (ATTACH): Define to 0 if not already defined.
494 (wait_for_gdb, mypid): New globals.
495 (WAIT_FOR_GDB): New macro.
496 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
497 some breakpoint locations.
498 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
499 New procedures.
500 (one_jit_test): Add REATTACH parameter, and handle it. Use
501 continue_to_test_location.
502 (top level): Test attach, and adjusts calls to one_jit_test.
503
40dea8cb
PA
5042016-03-31 Pedro Alves <palves@redhat.com>
505
506 PR gdb/19858
507 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
508 BINSUFFIX parameter, and handle it.
509 (top level): Adjust calls compile_jit_test.
510
e7ea3ec7
CU
5112016-03-31 Catalin Udma <catalin.udma@freescale.com>
512
513 PR python/19743
514 * gdb.python/py-mi-events-gdb.py: New file.
515 * gdb.python/py-mi-events.c: New file.
516 * gdb.python/py-mi-events.exp: New file.
517
e6359af3
YQ
5182016-03-30 Yao Qi <yao.qi@linaro.org>
519
520 * gdb.reverse/until-precsave.exp: Match function name only.
521 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
522 Move malloc to a condition block.
523 * gdb.reverse/until-reverse.exp: Match function name only.
524
a4105d04
MK
5252016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
526
527 * gdb.trace/ftrace.exp: Set arg0exp for s390.
528 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
529 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
530 variable for GPR 0 instead of assuming it is register 0.
531 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
532 * lib/trace-support.exp: Add s390 registers.
533
bfa6adb9
YQ
5342016-03-29 Yao Qi <yao.qi@linaro.org>
535
536 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
537
1e6697ea
YQ
5382016-03-24 Yao Qi <yao.qi@linaro.org>
539
540 * gdb.reverse/break-reverse.exp: Add quotation mark in the
541 test message.
542
64bcd522
AA
5432016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
544
545 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
546 maintaining separate logic for constructing the output path.
547
7868401b
DB
5482016-03-16 Don Breazeal <donb@codesourcery.com>
549
550 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
551 Retry fork and waitpid on interrupted system call errors.
552 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
553 Use with_timeout_factor to increase timeout by factor of 10.
554
1cafadb4
DB
5552016-03-15 Don Breazeal <donb@codesourcery.com>
556
557 * gdb.cp/scope-err.cc: New test program.
558 * gdb.cp/scope-err.exp: New test script.
559 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
560 lines and "set breakpoint here" comment.
561 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
562 Fixed some whitespace and format issues.
563 * gdb.mi/mi-linespec-err-cp.cc: New test program.
564 * gdb.mi/mi-linespec-err-cp.exp: New test script.
565
81516450
DE
5662016-03-15 Doug Evans <dje@google.com>
567
568 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
569 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
570 All callers updated. Add tests for enums, mixed flags register.
571
aa52b601
DE
5722016-03-15 Doug Evans <dje@google.com>
573
574 * gdb.base/skip.c (main): Call test_skip_file_and_function.
575 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
576
fa4ff313
SM
5772016-03-14 Simon Marchi <simon.marchi@ericsson.com>
578
579 * gdb.base/default.exp: Add $_as_string to the list of expected
580 convenience functions.
581
f2403c39
AB
5822016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
583
584 * gdb.base/maint.exp: New tests for 'maint info line-table'.
585
f2f3ccb9
SM
5862016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
587
588 * gdb.python/py-as-string.exp: New file.
589 * gdb.python/py-as-string.c: New file.
590
00dbd492
PA
5912016-03-09 Pedro Alves <palves@redhat.com>
592
593 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
594 signal" -> "Thread NN received signal" output change.
595 * gdb.threads/ia64-sigill.exp: Likewise.
596 * gdb.threads/linux-dp.exp: Likewise.
597 * gdb.threads/manythreads.exp: Likewise.
598 * gdb.threads/pending-step.exp: Likewise.
599 * gdb.threads/print-threads.exp: Likewise.
600 * gdb.threads/sigstep-threads.exp: Likewise.
601 * gdb.threads/staticthreads.exp: Likewise.
602 * gdb.threads/tls.exp: Likewise.
603
1e6697ea
YQ
6042016-03-09 Pedro Alves <palves@redhat.com>
605
606 * gdb.base/command-line-input.exp: New file.
607
b04fd3be
MK
6082016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
609
610 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
611 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
612 * gdb.trace/pending.exp: Accept leading dot before function name.
613 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
614 * lib/trace-support.exp: Set registers for ppc.
615
98fa59e9
MK
6162016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
617
618 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
619 use it for disassembly; accept .main in addition to main in backtrace.
620
f77198c8
MK
6212016-03-09 Wei-cheng Wang <cole945@gmail.com>
622 Marcin Kościelnicki <koriakin@0x04.net>
623
624 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
625 (gdb_recursion_test_ptr): New global variable.
626 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
627 gdb_recursion_test.
628 (gdb_c_test): Ditto.
629
ba84e0da
MK
6302016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
631
632 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
633 ordering.
634
4366d36e
MK
6352016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
636
637 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
638 (bar): Add bar_start_lbl label.
639 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
640 of foo/bar for emitting DWARF and tracing.
641
5eb264df
SDJ
6422016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
643
644 * analyze-racy-logs.py: Set executable bit.
645
fb6a751f
SDJ
6462016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
647
648 * Makefile.in (DEFAULT_RACY_ITER): New variable.
649 (CHECK_TARGET_TMP): Likewise.
650 (check-single-racy): New rule.
651 (check-parallel-racy): Likewise.
652 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
653 (do-check-parallel-racy): New rule.
654 (check-racy/%.exp): Likewise.
655 * README (Racy testcases): New section.
656 * analyze-racy-logs.py: New file.
657
bdf7e230
DE
6582016-03-03 Doug Evans <dje@google.com>
659
660 * gdb.base/skip.exp: Use with_test_prefix.
661
4719d415
YQ
6622016-03-03 Yao Qi <yao.qi@linaro.org>
663
664 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
665 Invoke step_over_syscall "clone" and break_cond_on_syscall
666 "clone".
667 * gdb.base/step-over-clone.c: New file.
668
ea507862
YQ
6692016-03-03 Yao Qi <yao.qi@linaro.org>
670
671 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
672 code format.
673
8fc8cbda
YQ
6742016-03-03 Yao Qi <yao.qi@linaro.org>
675
676 * gdb.base/disp-step-fork.c: Rename to ...
677 * gdb.base/step-over-fork.c: ... it. New file.
678 * gdb.base/disp-step-vfork.c: Rename to ...
679 * gdb.base/step-over-vfork.c: ... it. New file.
680 * gdb.base/disp-step-syscall.exp: Rename to ...
681 * gdb.base/step-over-syscall.exp: ... it. New file.
682 (disp_step_cross_syscall): Rename to ...
683 (step_over_syscall): ... it.
684
92fa70b0
YQ
6852016-03-03 Yao Qi <yao.qi@linaro.org>
686
687 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
688 If target supports condition evaluation on target, invoke
689 break_cond_on_syscall for fork and vfork.
690
e197ad3c
YQ
6912016-03-03 Yao Qi <yao.qi@linaro.org>
692
693 * gdb.base/disp-step-syscall.exp: Don't invoke
694 support_displaced_stepping.
695 (disp_step_cross_syscall): Test with displaced stepping off and
696 on if supported.
697
0b47da9f
YQ
6982016-03-03 Yao Qi <yao.qi@linaro.org>
699
700 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
701 proc.
702 (setup): New proc.
703 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
704 and setup.
705
065ab6dc
BH
7062016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
707
708 * gdb.fortran/vla-history.exp: Remove breakpoint.
709
07e448ad 7102016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
711
712 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
713
9ac2d526 7142016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
715
716 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
717
17807369
BH
7182016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
719
720 * gdb.mi/vla.f90: Nullify pointer after declaration.
721
86e501af
PA
7222016-03-01 Pedro Alves <palves@redhat.com>
723
724 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
725
1e903e32
PA
7262016-03-01 Pedro Alves <palves@redhat.com>
727
728 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
729 before anything else.
730 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
731 _GNU_SOURCE here.
732 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
733 before anything else.
734 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
735
6ccb54e2
PA
7362016-03-01 Pedro Alves <palves@redhat.com>
737
738 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
739
30ca9da1
YQ
7402016-03-01 Yao Qi <yao.qi@linaro.org>
741
742 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
743 prepare_for_testing.
744
dc856b38
YQ
7452016-03-01 Yao Qi <yao.qi@linaro.org>
746
747 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
748
4a932159
AA
7492016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
750
751 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
752 manually constructing the output path.
753
f2489477
AA
7542016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
755
756 * gdb.arch/s390-stackless.S: New.
757 * gdb.arch/s390-stackless.exp: New.
758
38899f16
IB
7592016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
760
761 * gdb.dlang/circular.c: New file.
762 * gdb.dlang/circular.exp: New file.
763
9fde51ed
YQ
7642016-02-26 Yao Qi <yao.qi@linaro.org>
765
766 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
767 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
768 (testcases): Update.
769
ce90fefe
YQ
7702016-02-26 Yao Qi <yao.qi@linaro.org>
771
772 * gdb.reverse/aarch64.c: Rename to ...
773 * gdb.reverse/insn-reverse.c: ... it.
774 * gdb.reverse/aarch64.exp: Rename to ...
775 * gdb.reverse/insn-reverse.exp: ... it.
776
3263bceb
YQ
7772016-02-26 Yao Qi <yao.qi@linaro.org>
778
779 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
780 (testcase_ftype): New.
781 (testcases): New array.
782 (n_testcases): New.
783 (main): Call each element in testcases.
784 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
785 (read_testcase): New.
786 Do the tests in a loop.
787
6cb59ff1
YQ
7882016-02-25 Yao Qi <yao.qi@linaro.org>
789
790 * gdb.base/branches.c: Remove.
791
ae91f625
MK
7922016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
793
794 PR gdb/13808
795 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
796
678b48b7
MK
7972016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
798
799 * gdb.trace/ftrace.exp: Remove unnecessary target check.
800
7337a6f2
MK
8012016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
802
803 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
804 change x86_64 call_insn to 'callq'.
805
861ca91f
AT
8062016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
807
808 * gdb.trace/tfile-avx.c: Move to...
809 * gdb.trace/tracefile-pseudo-reg.c: Here.
810 * gdb.trace/tfile-avx.exp: Move to...
811 * gdb.trace/tracefile-pseudo-reg.exp: Here.
812
bf74e428
GB
8132016-02-24 Gary Benson <gbenson@redhat.com>
814
815 * gdb.base/attach-pie-noexec.exp: Do not expect an error
816 message on attach.
817
cce0e923
DE
8182016-02-23 Doug Evans <dje@google.com>
819
820 * gdb.base/skip.c (test_skip): New function.
821 (end_test_skip_file_and_function): New function.
822 (test_skip_file_and_function): New function.
823 * gdb.base/skip1.c (test_skip): New function.
824 (skip1_test_skip_file_and_function): New function.
825 * gdb.base/skip.exp: Add tests for new skip options.
826 * gdb.base/skip-solib.exp: Update expected output.
827 * gdb.perf/skip-command.cc: New file.
828 * gdb.perf/skip-command.exp: New file.
829 * gdb.perf/skip-command.py: New file.
830
4000e47e
MK
8312016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
832
833 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
834 info registers pattern.
835
24f75ead
IB
8362016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
837
838 * lib/future.exp: Add D support.
839 (gdb_find_gdc): New proc.
840 (gdb_default_target_compile): Add D support.
841
fbb7bcbe
WW
8422016-02-18 Wei-cheng Wang <cole945@gmail.com>
843
844 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
845 user+system time.
846 (trace_speed_test): Determine the iteration count for a time
847 between 15..30 seconds.
848
012b3a21
WT
8492016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
850
851 * gdb.arch/i386-mpx-sigsegv.c: New file.
852 * gdb.arch/i386-mpx-sigsegv.exp: New file.
853 * gdb.arch/i386-mpx-simple_segv.c: New file.
854 * gdb.arch/i386-mpx-simple_segv.exp: New file.
855
2d5189bd
YQ
8562016-02-18 Yao Qi <yao.qi@linaro.org>
857
858 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
859 Don't call setup_kfail.
860
40fb20d0
YQ
8612016-02-18 Yao Qi <yao.qi@linaro.org>
862
863 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
864 Set "set breakpoint condition-evaluation" per $cond_bp_target.
865
21b1f8d2
DE
8662016-02-16 Doug Evans <dje@google.com>
867
868 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
869 * gdb.base/skip1.c: Ditto.
870 * gdb.base/skip.exp: Whitespace cleanup.
871
4041ed77
DB
8722016-02-16 Don Breazeal <donb@codesourcery.com>
873
874 PR remote/19496
875 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
876 Remove kfail for PR remote/19496.
877
c4ef31bf
SM
8782016-02-16 Simon Marchi <simon.marchi@ericsson.com>
879
880 * lib/gdb.exp (standard_temp_file): Return a path specific to
881 the runtest invocation.
882
266b65b3
SM
8832016-02-16 Simon Marchi <simon.marchi@ericsson.com>
884
885 * gdb.trace/save-trace.exp: Change relative path to be in the
886 standard output directory.
887
a7a0a6a9
JK
8882016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
889
890 * gdb.arch/i386-prologue.c: Add missing prototypes.
891
c99dbb42
JK
8922016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
893
894 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
895 * gdb.arch/i386-prologue.exp: Likewise.
896 * gdb.arch/i386-size.exp: Likewise.
897
aa480355
SM
8982016-02-15 Simon Marchi <simon.marchi@ericsson.com>
899
900 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
901 define object file path.
902 * gdb.btrace/gcore.exp: Use standard_output_file to define core
903 file path.
904 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
905 standard_output_file to define binfile.
906
ba881f50
JK
9072016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
908
909 Fix compatibility with recent gfortran-5.3.1.
910 * gdb.fortran/vla-history.exp (print vla1 allocated)
911 (print vla2 allocated, print $2, print $3): Remove
912 (print $4): Rename to ...
913 (print $2): ... here.
914 (print $9): Rename to ...
915 (print $5): ... here.
916 (print $10): Rename to ...
917 (print $6): ... here.
918 * gdb.fortran/vla.f90: Add pvla initialization.
919
e9fb005c
JK
9202016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
921
922 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
923 New test.
924 * gdb.fortran/vla-value-sub.exp: Likewise.
925
e44e00ff
MK
9262016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
927
928 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
929
97e94151
SM
9302016-02-12 Simon Marchi <simon.marchi@ericsson.com>
931
932 * i386-biarch-core.exp: Define corefile using
933 standard_output_file.
934
01113bc1
YQ
9352016-02-12 Yao Qi <yao.qi@linaro.org>
936
937 * gdb.arch/arm-single-step-kernel-helper.c: New.
938 * gdb.arch/arm-single-step-kernel-helper.exp: New.
939
33b4777c
MM
9402016-02-12 Markus Metzger <markus.t.metzger@intel.com>
941
942 * gdb.btrace/tailcall-only.exp: New.
943 * gdb.btrace/tailcall-only.c: New.
944 * gdb.btrace/x86_64-tailcall-only.S: New.
945 * gdb.btrace/i686-tailcall-only.S: New.
946
acc23c11
PA
9472016-02-11 Pedro Alves <palves@redhat.com>
948
949 * README (Parallel testing): Add missing double quotes.
950
e352bf0a
PA
9512016-02-11 Pedro Alves <palves@redhat.com>
952
953 * README (Parallel testing): New section.
954 (GDB_PARALLEL): Rewrite.
955 (FORCE_PARALLEL): Document.
956
9f5fed78
MK
9572016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
958
959 * gdb.trace/tfile-avx.c: New test.
960 * gdb.trace/tfile-avx.exp: New test.
961
9ef9e6a6
KS
9622016-02-09 Keith Seitz <keiths@redhat.com>
963
964 PR breakpoints/19546
965 * gdb.base/infcall-exec.c: New file.
966 * gdb.base/infcall-exec2.c: New file.
967 * gdb.base/infcall-exec.exp: New file.
968
a96e36da
KS
9692016-02-09 Keith Seitz <keiths@redhat.com>
970
971 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
972 (toplevel): Call test_bkpt_address.
973
9f61929f
KS
9742016-02-09 Keith Seitz <keiths@redhat.com>
975
976 PR python/19506
977 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
978 (toplevel): Call test_bkpt_address.
979
1e94266c
SM
9802016-02-09 Simon Marchi <simon.marchi@ericsson.com>
981
982 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
983 to AC_OUTPUT.
984 * configure: Regenerate.
985
2a7f3dff
PA
9862016-02-09 Pedro Alves <palves@redhat.com>
987
988 PR breakpoints/19548
989 * gdb.base/execl-update-breakpoints.c (some_function): New
990 function.
991 (main): Call it.
992 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
993 Tighten expected GDB output.
994
2151ccc5
SM
9952016-02-08 Simon Marchi <simon.marchi@ericsson.com>
996
997 * Makefile.in (ALL_SUBDIRS): Remove.
998 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
999 (distclean maintainer-clean realclean): Likewise.
1000 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1001 * configure: Regenerate.
1002 * gdb.ada/Makefile.in: Delete.
1003 * gdb.arch/Makefile.in: Likewise.
1004 * gdb.asm/Makefile.in: Likewise.
1005 * gdb.base/Makefile.in: Likewise.
1006 * gdb.btrace/Makefile.in: Likewise.
1007 * gdb.cell/Makefile.in: Likewise.
1008 * gdb.compile/Makefile.in: Likewise.
1009 * gdb.cp/Makefile.in: Likewise.
1010 * gdb.disasm/Makefile.in: Likewise.
1011 * gdb.dlang/Makefile.in: Likewise.
1012 * gdb.dwarf2/Makefile.in: Likewise.
1013 * gdb.fortran/Makefile.in: Likewise.
1014 * gdb.gdb/Makefile.in: Likewise.
1015 * gdb.go/Makefile.in: Likewise.
1016 * gdb.guile/Makefile.in: Likewise.
1017 * gdb.java/Makefile.in: Likewise.
1018 * gdb.linespec/Makefile.in: Likewise.
1019 * gdb.mi/Makefile.in: Likewise.
1020 * gdb.modula2/Makefile.in: Likewise.
1021 * gdb.multi/Makefile.in: Likewise.
1022 * gdb.objc/Makefile.in: Likewise.
1023 * gdb.opencl/Makefile.in: Likewise.
1024 * gdb.opt/Makefile.in: Likewise.
1025 * gdb.pascal/Makefile.in: Likewise.
1026 * gdb.perf/Makefile.in: Likewise.
1027 * gdb.python/Makefile.in: Likewise.
1028 * gdb.reverse/Makefile.in: Likewise.
1029 * gdb.server/Makefile.in: Likewise.
1030 * gdb.stabs/Makefile.in: Likewise.
1031 * gdb.threads/Makefile.in: Likewise.
1032 * gdb.trace/Makefile.in: Likewise.
1033 * gdb.xml/Makefile.in: Likewise.
1034 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1035 GDB_PARALLEL.
1036 (standard_output_file): Remove check for GDB_PARALLEL, always
1037 return path in outputs/$subdir/$testname.
1038
437277d4
SM
10392016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1040
1041 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1042 (site.exp): Assign abs_srcdir to tcl's srcdir.
1043
31d913c7
YQ
10442016-02-04 Yao Qi <yao.qi@linaro.org>
1045
1046 * gdb.base/foll-exec-mode.c: Include limits.h.
1047 (main): Add parameters argc and argv. Get directory from
1048 argv[0].
1049 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1050 compilation.
1051 * gdb.base/foll-exec.c: Include limits.h.
1052 (main): Add parameters argc and argv.
1053 Get directory from argv[0].
1054 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1055 Adjust tests on the number of lines as source code changed.
1056 * gdb.base/foll-vfork-exit.c: Include limits.h.
1057 (main): Add one line of statement before vfork.
1058 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1059 (main): Add parameters argc and argv. Get directory from
1060 argv[0].
1061 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1062 (setup_gdb): Set tbreak to skip some source lines.
1063 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1064 (main): Add parameters argc and argv. Get directory from
1065 argv[0].
1066 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1067 compilation.
1068 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1069 (main): Add parameters argc and argv. Get directory from
1070 argv[0].
1071 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1072 compilation.
1073
9482b9fb
DE
10742016-02-01 Doug Evans <dje@google.com>
1075
1076 * gdb.base/skip.exp: Clean up multiple references to same test name.
1077
6b2e4f10
PA
10782016-02-01 Pedro Alves <palves@redhat.com>
1079
ccb6afd6 1080 PR remote/19496
6b2e4f10
PA
1081 * gdb.threads/forking-threads-plus-breakpoint.exp
1082 (displaced_stepping_supported): New global.
1083 (probe_displaced_stepping_support): New procedure.
1084 (do_test): Add 'displaced' parameter, and use it.
1085 (top level): Check for displaced stepping support. Add displaced
1086 stepping on/off testing axis.
1087
37a8db1a
AB
10882016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1089
1090 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1091 pointer. Don't perform further tests on the unassociated pointer
1092 if the first test fails.
1093
5fdf6324
AB
10942016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1095
1096 * gdb.base/max-value-size.c: New file.
1097 * gdb.base/max-value-size.exp: New file.
1098 * gdb.base/huge.exp: Disable max-value-size for this test.
1099
935c6144
IB
11002016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1101
1102 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1103
7fe8399d
YQ
11042016-01-28 Yao Qi <yao.qi@linaro.org>
1105
1106 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1107
a2077e25
PA
11082016-01-25 Pedro Alves <palves@redhat.com>
1109
1110 PR threads/19461
1111 * gdb.base/fork-running-state.c: New file.
1112 * gdb.base/fork-running-state.exp: New file.
1113
1d2736d4
PA
11142016-01-25 Pedro Alves <palves@redhat.com>
1115
1116 PR gdb/19494
1117 * gdb.base/catch-fork-kill.c: New file.
1118 * gdb.base/catch-fork-kill.exp: New file.
1119
f1da4b11
PA
11202016-01-25 Pedro Alves <palves@redhat.com>
1121
1122 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1123 Delete, moved to lib/gdb.exp.
1124 * gdb.threads/forking-threads-plus-breakpoint.exp
1125 (foreach_with_prefix): Likewise.
1126 * gdb.threads/process-dies-while-handling-bp.exp
1127 (foreach_with_prefix): Likewise.
1128 * lib/gdb.exp (foreach_with_prefix): New procedure.
1129
45f38546
MK
11302016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1131
1132 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1133 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1134
dc29a1ce
MK
11352016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1136
1137 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1138 endian targets.
1139
092127d7
JK
11402016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1141 Pedro Alves <palves@redhat.com>
1142
1143 Fix testsuite compatibility with Guile.
1144 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1145 number.
1146
31d765d3
JK
11472016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1148
1149 Fix testsuite compatibility with Guile.
1150 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1151 (thread 1): New test for backtrace through signal handler.
1152
1ac78c04
YQ
11532016-01-22 Yao Qi <yao.qi@linaro.org>
1154
1155 PR testsuite/19491
1156 * gdb.base/multi-forks.c: Include
1157 ../lib/unbuffer_output.c
1158 (main): Call gdb_unbuffer_output.
1159
4f5946a8
DE
11602016-01-21 Doug Evans <dje@google.com>
1161
1162 * lib/ada.exp (gdb_compile_ada): Fix typo.
1163
305e13e6
JB
11642016-01-21 Joel Brobecker <brobecker@adacore.com>
1165
1166 * gdb.base/break-fun-addr.exp: New file.
1167 * gdb.base/break-fun-addr1.c: New file.
1168 * gdb.base/break-fun-addr2.c: New file.
1169
5f5dfff6
SM
11702016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1171
1172 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1173 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1174 enum flag values.
1175
fd356fa2
AA
11762016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1177
1178 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1179 when GDB can not set the vector return value. Add more comments
1180 for clarification.
1181
9df22175
AT
11822016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1183
1184 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1185 command.
1186
41d1845e
SM
11872016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1188
1189 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1190
01ac6840
SM
11912016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1192
1193 * Makefile.in (check-single): Pass --status to runtest.
1194 (check/%.exp): Likewise.
1195
11962016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1197
1198 * Makefile.in (check-parallel): Propagate return code from make
1199 do-check-parallel.
1200
bd0a71fa
MK
12012016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1202
1203 * gdb.trace/ftrace.exp: Fix expected message on continue.
1204 * gdb.trace/pending.exp: Fix expected message on continue.
1205 * gdb.trace/trace-break.exp: Fix expected message on continue.
1206
8bcbad33
SM
12072016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1208
1209 * lib/gdb.exp (gdb_test): Remove unused global references.
1210
f303dbd6
PA
12112016-01-18 Pedro Alves <palves@redhat.com>
1212
1213 * gdb.base/async-shell.exp: Adjust expected output.
1214 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1215 * gdb.base/siginfo-thread.exp: Adjust expected output.
1216 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1217 * gdb.java/jnpe.exp: Adjust expected output.
1218 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1219 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1220 * gdb.threads/leader-exit.exp: Adjust expected output.
1221 * gdb.threads/manythreads.exp: Adjust expected output.
1222 * gdb.threads/pthreads.exp: Adjust expected output.
1223 * gdb.threads/schedlock.exp: Adjust expected output.
1224 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1225 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1226 expected output.
1227 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1228 output.
1229 * gdb.threads/sigthread.exp: Adjust expected output.
1230 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1231
b2789696
YQ
12322016-01-18 Yao Qi <yao.qi@linaro.org>
1233
1234 * gdb.guile/scm-section-script.c: Replace @progbits with
1235 %progbits.
1236 * gdb.python/py-section-script.c: Likewise.
1237
71ef29a8
PA
12382016-01-15 Pedro Alves <palves@redhat.com>
1239
1240 * gdb.multi/tids.exp: Test star wildcard ranges.
1241
3f5b7598
PA
12422016-01-15 Pedro Alves <palves@redhat.com>
1243
1244 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1245 command from "thread apply" invocation.
1246 (thr_apply_info_thr_invalid): Default the expected output to the
1247 input tid list.
1248 (top level): Add tests that use convenience variables. Add tests
1249 for "thread apply" with a valid TID list, but missing the command.
1250
663f6d42
PA
12512016-01-13 Pedro Alves <palves@redhat.com>
1252
1253 * gdb.base/default.exp: Expect $_gthread as well.
1254 * gdb.multi/tids.exp: Test $_gthread.
1255 * gdb.threads/thread-specific.exp: Test $_gthread.
1256
c84f6bbf
PA
12572016-01-13 Pedro Alves <palves@redhat.com>
1258
1259 * gdb.multi/tids.exp: Test "info threads -gid".
1260
22a02324
PA
12612016-01-13 Pedro Alves <palves@redhat.com>
1262
1263 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1264 Breakpoint.thread.
1265 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1266
5d5658a1
PA
12672016-01-07 Pedro Alves <palves@redhat.com>
1268
1269 * gdb.base/break.exp: Adjust to output changes.
1270 * gdb.base/hbreak2.exp: Likewise.
1271 * gdb.base/sepdebug.exp: Likewise.
1272 * gdb.base/watch_thread_num.exp: Likewise.
1273 * gdb.linespec/keywords.exp: Likewise.
1274 * gdb.multi/info-threads.exp: Likewise.
1275 * gdb.threads/thread-find.exp: Likewise.
1276 * gdb.multi/tids.c: New file.
1277 * gdb.multi/tids.exp: New file.
1278
84654457
PA
12792016-01-13 Pedro Alves <palves@redhat.com>
1280
1281 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1282
e3940304
PA
12832016-01-13 Pedro Alves <palves@redhat.com>
1284
1285 * gdb.base/default.exp: Expect $_inferior as well.
1286 * gdb.multi/base.exp: Test $_inferior.
1287
a911d87a
PA
12882016-01-13 Pedro Alves <palves@redhat.com>
1289
1290 PR breakpoints/19388
1291 * gdb.base/catch-signal-siginfo-cond.c: New file.
1292 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1293
82075af2
JS
12942016-01-12 Josh Stone <jistone@redhat.com>
1295 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1296
1297 * gdb.base/catch-syscall.c (do_execve): New variable.
1298 (main): Conditionally trigger an execve.
1299 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1300 (test_catch_syscall_execve): New, check entry/return across execve.
1301 (do_syscall_tests): Call test_catch_syscall_execve.
1302
e46eeedd
PA
13032016-01-12 Pedro Alves <palves@redhat.com>
1304
1305 * gdb.base/random-signal.exp (do_test): New procedure, with body
1306 of testcase moved in.
1307
01d8c27e
JK
13082016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1309 Pedro Alves <palves@redhat.com>
1310
1311 * gdb.base/funcargs.exp (finish from indirectly called function):
1312 Reintroduce the case for 'First'.
1313
9a706302
JK
13142016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1315 Pedro Alves <palves@redhat.com>
1316
1317 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1318 (tcatch_vfork_then_child_follow_exec)
1319 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1320 identification.
1321
c0ecb95f
JK
13222016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1323
1324 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1325 and repeats to unlimited.
1326 * gdb.python/py-value.exp: Likewise.
1327 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1328 and repeats to unlimited.
1329
6cfc1fcb
JK
13302016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1331
1332 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1333 and reordering the functions.
1334 * gdb.multi/hangout.c: Likewise.
1335 * gdb.multi/hello.c: Likewise.
1336
582a1b00
SM
13372016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1338
1339 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1340 absolute.
1341 (SingleStatisticTestResult.report): Use dict.keys instead of
1342 dict.iterkeys.
1343
79bc59cb
PA
13442016-01-06 Pedro Alves <palves@redhat.com>
1345
1346 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1347
43368e1d
MM
13482016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1349
1350 * gdb.btrace/dlopen.exp: New.
1351 * gdb.btrace/dlopen.c: New.
1352 * gdb.btrace/dlopen-dso.c: New.
1353
79fad5b8
SL
13542015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1355
1356 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1357 PATTERN argument is optional.
1358
ab8314b3
JB
13592015-12-24 Joel Brobecker <brobecker@adacore.com>
1360
1361 * lib/ada.exp (target_compile_ada_from_dir): New function.
1362 (gdb_compile_ada): Reimplement avoiding the use of project files.
1363 * gdb.ada/gnat_ada.gpr: Delete.
1364 * gdb.ada/cond_lang.exp: Adjust test to make path before
1365 filename optional.
1366 * gdb.ada/small_reg_param.exp: Likewise.
1367
fe33faff
SM
13682015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1369
1370 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1371
6d265cb4
TP
13722015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1373
1374 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1375 case.
1376
10125099
SM
13772015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1378
1379 * gdb.base/break.exp: Remove dead code.
1380 * gdb.base/sepdebug.exp: Likewise.
1381
3ca22649
SM
13822015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1383
1384 * gdb.asm/asm-source.exp: Remove HP-UX references.
1385 * gdb.base/annota1.exp: Likewise.
1386 * gdb.base/annota3.exp: Likewise.
1387 * gdb.base/attach.exp: Likewise.
1388 * gdb.base/bigcore.exp: Likewise.
1389 * gdb.base/break.exp: Likewise.
1390 * gdb.base/call-ar-st.exp: Likewise.
1391 * gdb.base/callfuncs.exp: Likewise.
1392 * gdb.base/catch-fork-static.exp: Likewise.
1393 * gdb.base/display.exp: Likewise.
1394 * gdb.base/foll-exec-mode.exp: Likewise.
1395 * gdb.base/foll-exec.exp: Likewise.
1396 * gdb.base/foll-fork.exp: Likewise.
1397 * gdb.base/foll-vfork.exp: Likewise.
1398 * gdb.base/funcargs.exp: Likewise.
1399 * gdb.base/hbreak2.exp: Likewise.
1400 * gdb.base/inferior-died.exp: Likewise.
1401 * gdb.base/interrupt.exp: Likewise.
1402 * gdb.base/multi-forks.exp: Likewise.
1403 * gdb.base/nodebug.exp: Likewise.
1404 * gdb.base/sepdebug.exp: Likewise.
1405 * gdb.base/solib1.c: Likewise.
1406 * gdb.base/step-test.exp: Likewise.
1407 * gdb.mi/non-stop.c: Likewise.
1408 * gdb.mi/pthreads.c: Likewise.
1409 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1410 * gdb.threads/pthreads.c: Likewise.
1411 * gdb.threads/staticthreads.exp: Likewise.
1412 * lib/future.exp: Likewise.
1413 * lib/gdb.exp: Likewise.
1414 * gdb.base/so-indr-cl.c: Remove.
1415 * gdb.base/so-indr-cl.exp: Likewise.
1416 * gdb.base/solib.c: Likewise.
1417 * gdb.base/solib.exp: Likewise.
1418 * gdb.base/solib2.c: Likewise.
1419
b6304613
SM
14202015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1421
1422 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1423 * gdb.base/call-ar-st.exp: Likewise.
1424 * gdb.base/callfuncs.exp: Likewise.
1425 * gdb.base/condbreak.exp: Likewise.
1426 * gdb.base/constvars.exp: Likewise.
1427 * gdb.base/hbreak2.exp: Likewise.
1428 * gdb.base/langs.exp: Likewise.
1429 * gdb.base/list.exp: Likewise.
1430 * gdb.base/long_long.exp: Likewise.
1431 * gdb.base/ptype.exp: Likewise.
1432 * gdb.base/scope.exp: Likewise.
1433 * gdb.base/signals.exp: Likewise.
1434 * gdb.base/so-impl-ld.exp: Likewise.
1435 * gdb.base/varargs.exp: Likewise.
1436 * gdb.base/volatile.exp: Likewise.
1437 * gdb.base/whatis.exp: Likewise.
1438 * gdb.cp/cplusfuncs.exp: Likewise.
1439 * gdb.cp/inherit.exp: Likewise.
1440 * gdb.cp/local.exp: Likewise.
1441 * gdb.cp/member-ptr.exp: Likewise.
1442 * gdb.cp/method.exp: Likewise.
1443 * gdb.cp/overload.exp: Likewise.
1444 * gdb.cp/templates.exp: Likewise.
1445 * gdb.stabs/weird.exp: Likewise.
1446 * lib/compiler.c: Likewise.
1447 * lib/compiler.cc: Likewise.
1448 * lib/cp-support.exp: Likewise.
1449 * lib/gdb.exp: Likewise.
1450
bf401b07
SM
14512015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1452
1453 * configure.ac: Remove HP-UX case.
1454 * configure: Regenerate.
1455
aff9c0f8
SM
14562015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1457
1458 * lib/gdb.exp (gdb_compile): Add function doc.
1459
a6904d5a
PA
14602015-12-17 Pedro Alves <palves@redhat.com>
1461
1462 PR threads/19354
1463 * gdb.multi/info-threads.exp: New file.
1464
a22279dd
YQ
14652015-12-15 Yao Qi <yao.qi@linaro.org>
1466
1467 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1468 is aarch64*-*-*.
1469
0588c796
SL
14702015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1471
1472 * gdb.base/history-duplicates.exp: Skip if no readline support.
1473
5d978e17
SL
14742015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1475
1476 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1477
7e763b86
SL
14782015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1479
1480 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1481
87a3a92c
SL
14822015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1483
1484 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1485 ctrl-C if nointerrupts target property is set.
1486 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1487 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1488 * gdb.base/paginate-bg-execution.exp: Likewise.
1489 * gdb.base/paginate-execution-startup.exp: Likewise.
1490 * gdb.base/random-signal.exp: Likewise.
1491 * gdb.base/range-stepping.exp: Likewise.
1492 * gdb.cp/annota2.exp: Likewise.
1493 * gdb.cp/annota3.exp: Likewise.
1494 * gdb.gdb/selftest.exp: Likewise.
1495 * gdb.threads/continue-pending-status.exp: Likewise.
1496 * gdb.threads/leader-exit.exp: Likewise.
1497 * gdb.threads/manythreads.exp: Likewise.
1498 * gdb.threads/pthreads.exp: Likewise.
1499 * gdb.threads/schedlock.exp: Likewise.
1500 * gdb.threads/sigthread.exp: Likewise.
1501
a8f077dc
DB
15022015-12-11 Don Breazeal <donb@codesourcery.com>
1503
1504 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1505 remote.
1506 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1507 * gdb.base/foll-exec.exp (main): Enable for target remote.
1508 * gdb.base/foll-fork.exp (main): Likewise.
1509 * gdb.base/foll-vfork.exp (main): Likewise.
1510 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1511 (proc continue_to_exit_bp_loc): Use clean_restart.
1512 * gdb.base/pie-execl.exp (main): Disable for target remote.
1513 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1514 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1515 * gdb.threads/execl.exp (main): Likewise.
1516 * gdb.threads/fork-child-threads.exp (main): Likewise.
1517 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1518 remote.
1519 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1520 remote.
1521 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1522 pid.tid style ptids, instead of just tid.
1523 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1524 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1525 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1526 ptids, instead of just tid.
1527
3b2464a8
AB
15282015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1529
1530 * gdb.base/list.exp (test_list_forward): Add end of file error
1531 test.
1532 (test_repeat_list_command): Add end of file error test.
1533 (test_list_backwards): Add beginning of file error test.
1534
a0def019
AB
15352015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1536
1537 * gdb.base/list.exp (test_list_invalid_args): New function,
1538 defined, and called.
1539
5c000dff
AB
15402015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1541
1542 * gdb.base/list.exp (test_list): Make test names unique.
1543
f1637ebe
YQ
15442015-12-11 Yao Qi <yao.qi@linaro.org>
1545
1546 * gdb.base/coremaker2.c: Remove.
1547
36d6fc0a
PA
15482015-12-10 Pedro Alves <palves@redhat.com>
1549
1550 * gdb.multi/base.exp: Remove stale "spaces" references.
1551
762f7747
PA
15522015-12-10 Pedro Alves <palves@redhat.com>
1553
1554 * gdb.multi/base.exp: Don't use nowarnings.
1555 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1556 * gdb.multi/hangout.c: Include stdio.h.
1557 * gdb.multi/hello.c: Include stdlib.h.
1558 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1559 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1560 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1561
28d2bfb9
AB
15622015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1563
1564 * gdb.dwarf2/dw2-ranges-base.c: New file.
1565 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1566 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1567 support additional line table, and debug ranges generation.
1568 (Dwarf::ranges): New function, generate .debug_ranges.
1569 (Dwarf::lines): Support generating simple line table programs.
1570 (Dwarf::assemble): Initialise new namespace variables.
1571
5fc2beac
KB
15722015-12-09 Kevin Buettner <kevinb@redhat.com>
1573
1574 * gdb.base/async.exp (proc test_background): Add case for
1575 asynchronous execution not supported.
1576
1c35a88f
LM
15772015-12-09 Luis Machado <lgustavo@codesourcery.com>
1578
1579 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1580 format and change test names to make them unique.
1581
b593e3d9
RK
15822015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1583 Pedro Alves <pedro@redhat.com>
1584
1585 PR gdb/18702
1586 Add checking of floatformats setup on x86_64 hosts.
1587 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1588 (smallval, bigval): New labels/constants.
1589 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1590 float" after loading bigval and smallval.
1591
d72413e6
PMR
15922015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1593
1594 * gdb.ada/fun_overload_menu.exp: New testcase.
1595 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1596
ece66d65
JS
15972015-12-04 Josh Stone <jistone@redhat.com>
1598
1599 * gdb.base/catch-fork-static.exp: New.
1600
41d0efca
YQ
16012015-12-03 Yao Qi <yao.qi@linaro.org>
1602
1603 * gdb.base/sizeof.c: Don't include stdio.h and
1604 ../lib/unbuffer_output.c.
1605 (main): New variable 'size' and 'value'. Remove printf and
1606 gdb_unbuffer_output. Assign return value to size and value.
1607 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1608 at the beginning.
1609 (check_sizeof): Check the result by printing variable 'size'.
1610 (check_valueof): Check the result by printing variable 'value'.
1611
99fd02d9
YQ
16122015-12-01 Yao Qi <yao.qi@linaro.org>
1613
1614 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1615 for aarch64*-*-linux* target.
1616
f2faf941
PA
16172015-11-30 Pedro Alves <palves@redhat.com>
1618
1619 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1620
04bf20c5
PA
16212015-11-30 Pedro Alves <palves@redhat.com>
1622
1623 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1624 Handle non-stop mode vCont replies.
1625
09df4675
PA
16262015-11-30 Pedro Alves <palves@redhat.com>
1627
1628 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1629 prepare_for_testing. Start gdb with "set non-stop on" appended to
1630 GDBFLAGS. Lax expected stop output.
1631
58b584af
YQ
16322015-11-27 Yao Qi <yao.qi@linaro.org>
1633
1634 * gdb.arch/arm-neon.exp: New.
1635 * gdb.arch/arm-neon.c: New.
1636
dfcb77a8
YQ
16372015-11-27 Yao Qi <yao.qi@linaro.org>
1638
1639 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1640
88e8ec1b
YQ
16412015-11-27 Yao Qi <yao.qi@linaro.org>
1642
1643 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1644 frames-invalid annotation.
1645
bfde72c2
YQ
16462015-11-27 Yao Qi <yao.qi@linaro.org>
1647
1648 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1649
f6512a69
SM
16502015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1651
1652 * gdb.threads/names.exp: New file.
1653 * gdb.threads/names.c: New file.
1654 * README: Mention gdb,no_thread_names.
1655
46a3515b
MM
16562015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1657
1658 PR 19297
1659 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1660 support" error.
1661
62147a22
PA
16622015-11-24 Pedro Alves <palves@redhat.com>
1663
1664 PR 17539
1665 * gdb.base/display.exp: Expect displays to be sorted in ascending
1666 order. Use multi_line.
1667 * gdb.base/solib-display.exp: Likewise.
1668
2f341b6e
PA
16692015-11-24 Pedro Alves <palves@redhat.com>
1670
1671 PR 17539
1672 * gdb.base/display.exp: Expect displays to be sorted in ascending
1673 order. Use multi_line.
1674 * gdb.base/solib-display.exp: Likewise.
1675
7e0aa6aa
PA
16762015-11-24 Pedro Alves <palves@redhat.com>
1677
1678 PR 17539
1679 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1680 threads in ascending order.
1681 * gdb.base/foll-fork.exp: Likewise.
1682 * gdb.base/foll-vfork.exp: Likewise.
1683 * gdb.base/multi-forks.exp: Likewise.
1684 * gdb.mi/mi-nonstop.exp: Likewise.
1685 * gdb.mi/mi-nsintrall.exp: Likewise.
1686 * gdb.multi/base.exp: Likewise.
1687 * gdb.multi/multi-arch.exp: Likewise.
1688 * gdb.python/py-inferior.exp: Likewise.
1689 * gdb.threads/break-while-running.exp: Likewise.
1690 * gdb.threads/execl.exp: Likewise.
1691 * gdb.threads/gcore-thread.exp: Likewise.
1692 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1693 * gdb.threads/kill.exp: Likewise.
1694 * gdb.threads/linux-dp.exp: Likewise.
1695 * gdb.threads/multiple-step-overs.exp: Likewise.
1696 * gdb.threads/next-bp-other-thread.exp: Likewise.
1697 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1698 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1699 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1700 * gdb.threads/thread-find.exp: Likewise.
1701 * gdb.threads/tls.exp: Likewise.
1702 * lib/mi-support.exp (mi_reverse_list): Delete.
1703 (mi_check_thread_states): No longer reverse list.
1704
2cc57ad8
PA
17052015-11-24 Pedro Alves <palves@redhat.com>
1706
1707 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1708 use lowercase.
1709
c93e8391
SM
17102015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1711
1712 * gdb.trace/actions.c: Include trace-common.h.
1713 (main): Add a location for a fast tracepoint.
1714 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1715 the normal tracepoints.
1716 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1717
045ccf91
SM
17182015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1719
1720 * save-trace.exp: Factor out code to these...
1721 (gdb_save_tracepoints): New.
1722 (gdb_load_tracepoints): New.
1723 (do_save_load_test): New.
1724
5506f9f6
KB
17252015-11-23 Kevin Buettner <kevinb@redhat.com>
1726
1727 * gdb.base/asmlabel.exp: New test.
1728 * gdb.base/asmlabel.c: New test case.
1729
16c3b12f
JB
17302015-11-23 Joel Brobecker <brobecker@adacore.com>
1731
1732 * gdb.base/wrong_frame_bt_full-main.c: New file.
1733 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1734 * gdb.base/wrong_frame_bt_full.exp: New file.
1735
155bfbd3
JB
17362015-11-23 Joel Brobecker <brobecker@adacore.com>
1737
1738 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1739
bb097445
JM
17402015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1741
206853a0 1742 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
1743 pstate register when comparing registers values in
1744 sparc64-*-linux-gnu targets to avoid spurious differences.
1745
9c88ed8f
JM
17462015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1747
206853a0 1748 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 1749
96161e25
SL
17502015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1751
1752 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1753 as type argument to gdb_compile.
1754 * gdb.base/nested-subp2.exp: Likewise.
1755 * gdb.base/nested-subp3.exp: Likewise.
1756
340c2830
DV
17572015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1758
1759 * lib/dwarf.exp (_note): Fix left shift of negative value.
1760 * gdb.trace/trace-condition.exp: Likewise.
1761
c1862d0f
YQ
17622015-11-13 Yao Qi <yao.qi@linaro.org>
1763
1764 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1765 comments about d10v.
1766 (test_scalar_returns): Likewise.
1767 * gdb.base/d10v.ld: Remove.
1768 * gdb.base/overlays.exp: Remove the target triplet checking for
1769 d10v-*-*.
1770 * gdb.base/structs.exp (test_struct_returns): Remove the
1771 comments about d10v.
1772 (test_struct_calls): Likewise.
1773
77ae9c19
YQ
17742015-11-13 Yao Qi <yao.qi@linaro.org>
1775
1776 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1777 * gdb.base/gnu_vector.c: Don't include stdio.h.
1778 (main): Don't print res and call add_some_intvecs.
1779
430e004e
MK
17802015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1781
1782 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1783 macro.
1784 (func5): Removed.
1785 (func4): Use FAST_TRACEPOINT_LABEL.
1786 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1787 macro.
1788 (func): Removed.
1789 (thread_function): Use FAST_TRACEPOINT_LABEL.
1790 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1791 (func): Remove.
1792 (marker): Use FAST_TRACEPOINT_LABEL.
1793 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1794 (pendfunc1): Remove.
1795 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1796 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1797 (foo): Remove.
1798 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1799 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1800 macro.
1801 (func): Remove.
1802 (marker): Use FAST_TRACEPOINT_LABEL.
1803 * gdb.trace/trace-common.h: New header.
1804 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1805 macro.
1806 (func): Remove.
1807 (marker): Use FAST_TRACEPOINT_LABEL.
1808 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1809 (func): Remove.
1810 (thread_function): Use FAST_TRACEPOINT_LABEL.
1811
6e7675a7
MK
18122015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1813
1814 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1815 in front.
1816 * gdb.trace/change-loc.exp: Use global pcreg definition.
1817 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1818 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1819 in front.
1820 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1821 * gdb.trace/pending.exp: Likewise.
1822 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1823 * gdb.trace/trace-break.exp: Likewise.
1824 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1825 in front.
1826 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1827 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1828 in front.
1829 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1830
dddc0e16
JB
18312015-11-09 Joel Brobecker <brobecker@adacore.com>
1832
1833 * gdb.ada/fin_fun_out: New testcase.
1834
c6f0b406
KB
18352015-11-07 Kevin Buettner <kevinb@redhat.com>
1836
1837 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1838 value associated with DW_AT_byte_size.
1839 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1840 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1841 DW_AT_upper_bound.
1842
f01dcfd9
KB
18432015-11-07 Kevin Buettner <kevinb@redhat.com>
1844
1845 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1846 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1847 version.
1848 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1849 gdb.dwarf2/dw2-canonicalize-type.exp,
1850 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1851 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1852 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1853 provided by gdb_target_symbol_prefix_flags_asm.
1854 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1855 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1856 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1857 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1858 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1859 macros where needed). Use this macro for symbols which require
1860 the prefix provided by SYMBOL_PREFIX.
1861
2223449a
KB
18622015-11-05 Kevin Buettner <kevinb@redhat.com>
1863
1864 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1865 New procs.
1866 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1867 representing expressions, of more than one list element.
1868 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1869 to prepend linker symbol prefix to f.
1870 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1871 table_1 and table_2.
1872 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1873 Likewise, for f and g.
1874 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1875 for ptr.
1876 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1877 for main.
1878 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1879 table_1_ptr and table_2_ptr.
1880
6f2f1a3a
JK
18812015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1882 Joel Brobecker <brobecker@adacore.com>
1883
1884 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1885
566c56c9
MK
18862015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1887
1888 * gdb.reverse/s390-mvcle.c: New test.
1889 * gdb.reverse/s390-mvcle.exp: New file.
1890 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1891
d5f0636b
MK
18922015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1893
1894 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1895
7ad8b86c
MK
18962015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1897
1898 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1899 reaching marker2.
1900 * gdb.reverse/getresuid-reverse.exp: Likewise.
1901 * gdb.reverse/pipe-reverse.exp: Likewise.
1902 * gdb.reverse/readv-reverse.exp: Likewise.
1903 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1904 * gdb.reverse/time-reverse.exp: Likewise.
1905 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1906
4081c0f1
YQ
19072015-10-30 Yao Qi <yao.qi@linaro.org>
1908
1909 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1910 (empty_cycle): Remove.
1911 (main): Don't call empty_cycle. Don't use watch_count_done.
1912 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1913 empty_cycle. Rewrite the code counting HW watchpoints.
1914
452b4ba5
MK
19152015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1916
1917 * gdb.reverse/fstatat-reverse.c: New test.
1918 * gdb.reverse/fstatat-reverse.exp: New file.
1919 * gdb.reverse/getresuid-reverse.c: New test.
1920 * gdb.reverse/getresuid-reverse.exp: New file.
1921 * gdb.reverse/pipe-reverse.c: New test.
1922 * gdb.reverse/pipe-reverse.exp: New file.
1923 * gdb.reverse/readv-reverse.c: New test.
1924 * gdb.reverse/readv-reverse.exp: New file.
1925 * gdb.reverse/recvmsg-reverse.c: New test.
1926 * gdb.reverse/recvmsg-reverse.exp: New file.
1927 * gdb.reverse/time-reverse.c: New test.
1928 * gdb.reverse/time-reverse.exp: New file.
1929 * gdb.reverse/waitpid-reverse.c: New test.
1930 * gdb.reverse/waitpid-reverse.exp: New file.
1931
5e2e7507
JK
19322015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1933
1934 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1935
0fde2c53
DE
19362015-10-26 Doug Evans <dje@google.com>
1937
1938 PR symtab/17391
1939 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1940 * gdb.dwarf2/bad-regnum.c: New file.
1941 * gdb.dwarf2/bad-regnum.exp: New file.
1942
1a70ae97
DE
19432015-10-26 Doug Evans <dje@google.com>
1944
1945 PR python/18938
1946 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1947 file.
1948
27dc26ab
JK
19492015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1950
1951 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1952 for a change by "Mention language in compile error message".
1953
bed91f4d
SM
19542015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1955
1956 PR python/18073
1957 * gdb.python/py-type.c (C::a_method): New.
1958 (C::a_const_method): New.
1959 (C::a_static_method): New.
1960 (a_function): New.
1961 * gdb.python/py-type.exp (test_fields): Test getting fields
1962 from function and method.
1963
3f2f83dd
KB
19642015-10-21 Keven Boell <keven.boell@intel.com>
1965
1966 * gdb.fortran/vla-alloc-assoc.exp: New file.
1967 * gdb.fortran/vla-datatypes.exp: New file.
1968 * gdb.fortran/vla-datatypes.f90: New file.
1969 * gdb.fortran/vla-history.exp: New file.
1970 * gdb.fortran/vla-ptype-sub.exp: New file.
1971 * gdb.fortran/vla-ptype.exp: New file.
1972 * gdb.fortran/vla-sizeof.exp: New file.
1973 * gdb.fortran/vla-sub.f90: New file.
1974 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1975 * gdb.fortran/vla-value-sub-finish.exp: New file.
1976 * gdb.fortran/vla-value-sub.exp: New file.
1977 * gdb.fortran/vla-value.exp: New file.
1978 * gdb.fortran/vla-ptr-info.exp: New file.
1979 * gdb.mi/mi-vla-fortran.exp: New file.
1980 * gdb.mi/vla.f90: New file.
1981
27145d50
SL
19822015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1983
1984 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1985 of hardwired timeout value.
1986
5f3ff4f8
JK
19872015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1988 Pedro Alves <palves@redhat.com>
1989
1990 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1991 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1992
bfd09d20
JS
19932015-10-19 Josh Stone <jistone@redhat.com>
1994
1995 * gdb.base/catch-syscall.c: Include <sched.h>.
1996 (unknown_syscall): New variable.
1997 (main): Trigger a vfork and an unknown syscall.
1998 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1999 (unknown_syscall_number): Likewise.
2000 (check_call_to_syscall): Accept an optional syscall pattern.
2001 (check_return_from_syscall): Likewise.
2002 (check_continue): Likewise.
2003 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2004 (test_catch_syscall_skipping_return): New test toggling off 'catch
2005 syscall' to step over the syscall return, then toggling back on.
2006 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2007 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2008 (do_syscall_tests): Call test_catch_syscall_without_args and
2009 test_catch_syscall_mid_vfork.
2010 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2011 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2012
b32b93c6
AS
20132015-10-19 Andrew Stubbs <ams@codesourcery.com>
2014
2015 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2016 print g_vE): Add new pass patterns.
2017 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2018 print various symbol names for vptr fields.
2019
9d622bda
AB
20202015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2021
2022 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2023 results.
2024
0fd8ac1c
YQ
20252015-10-12 Yao Qi <yao.qi@linaro.org>
2026
2027 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2028
34240514
YQ
20292015-10-12 Yao Qi <yao.qi@linaro.org>
2030
2031 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2032 is aarch64*-*-linux*.
2033
8240f442
YQ
20342015-10-12 Yao Qi <yao.qi@linaro.org>
2035
2036 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2037 (can_relocate_bcond_true): ... it.
2038 (can_relocate_bcond_false): New function.
2039 (foo): Likewise.
2040 (can_relocate_bl): Likewise.
2041 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2042 can_relocate_bl.
2043
2520f728
PMR
20442015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2045
2046 * gdb.base/nested-addr.c: New file.
2047 * gdb.base/nested-addr.exp: New testcase.
2048
abcef95a
MM
20492015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2050
2051 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2052 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2053 its output. Ignore the output of "record goto begin" and instead
2054 check that GDB is replaying.
2055
145e3ddb
PA
20562015-10-09 Pedro Alves <palves@redhat.com>
2057
2058 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2059 (top level): Use it in the run with no args test.
2060
d5d8c4e1
IB
20612015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2062
2063 * gdb.dlang/properties.exp: New file.
2064
06e635ef
SL
20652015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2066
2067 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2068 whether or not address 0x1000 is mapped on the target.
2069
e019fd1d
SM
20702015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2071
2072 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2073 build.
2074
77ba2a67
MM
20752015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2076
2077 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2078 instruction-history test.
2079
c60eb31f
DE
20802015-09-28 Doug Evans <dje@google.com>
2081
2082 * gdb.base/gcore.c (array_func): Add reference to static_array.
2083
9a3c8263
SM
20842015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2085
2086 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2087 source line.
2088
9720e656
SL
20892015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2090
2091 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2092 short or char as base type.
2093
938d3bf2
SL
20942015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2095
2096 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2097 to allow any size enum.
2098
e6c2c623
PMR
20992015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2100
2101 * gdb.ada/array_ptr_renaming.exp: New testcase.
2102 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2103 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2104
06da0f77
PL
21052015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2106
2107 * gdb.trace/ftrace-lock.c: New file.
2108 * gdb.trace/ftrace-lock.exp: New file.
2109
4f51c22a
PL
21102015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2111
2112 * gdb.arch/insn-reloc.c: New file.
2113 * gdb.arch/ftrace-insn-reloc.exp: New file.
2114
7041adf4
PL
21152015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2116
2117 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2118 instruction.
2119 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2120 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2121 * gdb.trace/range-stepping.c: Likewise.
2122 * gdb.trace/trace-break.c: Likewise.
2123 * gdb.trace/trace-mt.c (thread_function): Likewise.
2124 * gdb.trace/ftrace.c (marker): Likewise.
2125 * gdb.trace/trace-condition.c (marker): Likewise.
2126 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2127 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2128 is_aarch64_target.
2129
015d2e7e
DE
21302015-09-18 Doug Evans <xdje42@gmail.com>
2131
2132 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2133 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2134
26b188a2
SL
21352015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2136
2137 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2138 the breakpoint.
2139
79dc332b
SL
21402015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2141
2142 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2143 the pending breakpoint. Remove timeout override for "Run till
2144 MI pending breakpoint on pendfunc3 on thread 2" test.
2145
f57929f2
SL
21462015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2147
2148 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2149 filename pattern.
2150
3f469b17
SL
21512015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2152
2153 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2154 in breakpoint filename pattern.
2155
515b89b3
SL
21562015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2157
7800dbe4
SL
2158 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2159
21602015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2161
515b89b3
SL
2162 * gdb.linespec/explicit.exp: Check for readline support for
2163 tab-completion tests. Fix obvious typo.
2164
d2939ba2
MM
21652015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2166
2167 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2168 and replay.
2169
cbb55fa7
MM
21702015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2171
2172 * gdb.btrace/non-stop.c: New.
2173 * gdb.btrace/non-stop.exp: New.
2174
43691ca1
PL
21752015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2176 Yao Qi <yao.qi@linaro.org>
2177
2178 * gdb.trace/trace-condition.c: New file.
2179 * gdb.trace/trace-condition.exp: New file.
2180
d78908cf
WW
21812015-09-16 Wei-cheng Wang <cole945@gmail.com>
2182
2183 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2184 for testing bytecode compilation.
2185
1ed415e2
PA
21862015-09-16 Pedro Alves <palves@redhat.com>
2187 Sandra Loosemore <sandra@codesourcery.com>
2188
2189 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2190 (SECONDS): Redefine.
2191 (main): Call pthread_kill and alarm early.
2192 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2193 support.
2194 (test): If the target can't hardware step and doesn't support
2195 displaced stepping, increase the timeout.
2196
d136eff5
PA
21972015-09-16 Pedro Alves <palves@redhat.com>
2198
2199 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2200 (enable_debug): New procedures.
2201 (test): Use them. Bail out if waiting for threads fails.
2202 (top level): Bail out if a test fails.
2203
991f019c
YQ
22042015-09-16 Yao Qi <yao.qi@linaro.org>
2205
2206 * gdb.asm/asm-source.exp: Set asm-arch for
2207 aarch64*-*-* target.
2208 * gdb.asm/aarch64.inc: New file.
2209
bfca584f
PMR
22102015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2211
2212 * gdb.ada/array_of_variable_length.exp: New testcase.
2213 * gdb.ada/array_of_variable_length/foo.adb: New file.
2214 * gdb.ada/array_of_variable_length/pck.adb: New file.
2215 * gdb.ada/array_of_variable_length/pck.ads: New file.
2216
b326e587
DE
22172015-09-15 Doug Evans <dje@google.com>
2218
2219 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2220 of function static local variable.
2221
5382cfab
PW
22222015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2223
2224 * gdb.threads/tls-so_extern.exp: New test file.
2225 * gdb.threads/tls-so_extern.c: New test file.
2226 * gdb.threads/tls-so_extern_main.c: New test file.
2227
141c5cc4
JK
22282015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2229
2230 * gdb.opt/solib-intra-step-lib.c: New file.
2231 * gdb.opt/solib-intra-step-main.c: New file.
2232 * gdb.opt/solib-intra-step.exp: New file.
2233
d15dcecd
PA
22342015-09-15 Pedro Alves <palves@redhat.com>
2235
2236 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2237 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2238
4c2f2a79
PA
22392015-09-14 Pedro Alves <palves@redhat.com>
2240
2241 * gdb.base/hook-stop-continue.c: Delete.
2242 * gdb.base/hook-stop-continue.exp: Delete.
2243 * gdb.base/hook-stop-frame.c: Delete.
2244 * gdb.base/hook-stop-frame.exp: Delete.
2245 * gdb.base/hook-stop.c: New file.
2246 * gdb.base/hook-stop.exp: New file.
2247
919e6dbe
PMR
22482015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2249
2250 * gdb.ada/access_to_packed_array.exp: New testcase.
2251 * gdb.ada/access_to_packed_array/foo.adb: New file.
2252 * gdb.ada/access_to_packed_array/pack.adb: New file.
2253 * gdb.ada/access_to_packed_array/pack.ads: New file.
2254
157280a4
MM
22552015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2256
2257 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2258 buffer size test.
2259
2fd33e94
DB
22602015-09-11 Don Breazeal <donb@codesourcery.com>
2261
2262 * gdb.base/foll-exec.c: Add copyright header. Fix
2263 formatting issues.
2264 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2265 (do_exec_tests): Use clean_restart in place of zap_session,
2266 and for test initialization. Fix formatting issues. Use
2267 fail in place of perror.
2268 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2269 an expect statement to match an expression with output from
2270 the program under debug.
2271 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2272 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2273 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2274 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2275 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2276
e70b6e8e
DE
22772015-09-09 Doug Evans <dje@google.com>
2278
2279 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2280
7a551a51
DE
22812015-09-09 Doug Evans <dje@google.com>
2282
2283 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2284
4c666f84
DE
22852015-09-09 Doug Evans <dje@google.com>
2286
2287 * gdb.base/savedregs.exp: Fix typo.
2288
243a9253
PA
22892015-09-09 Pedro Alves <palves@redhat.com>
2290
2291 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2292
c0fa8fbd
SL
22932015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2294
2295 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2296 command actually switches threads. Give up on remaining
2297 tests if target fails to stop at breakpoint.
2298
cd7c1778
PMR
22992015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2300
2301 * gdb.ada/funcall_char.exp: New testcase.
2302 * gdb.ada/funcall_char/foo.adb: New file.
2303
dc5c8746
PMR
23042015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2305
2306 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2307 expected outputs. Add two testcases for completing ambiguous
2308 functions.
2309 * gdb.ada/complete/aux_pck.adb: New file.
2310 * gdb.ada/complete/aux_pck.ads: New file.
2311 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2312 Ambiguous_Func functions.
2313 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2314 * gdb.ada/complete/pck.adb: Likewise.
2315
4e83a1e7
UW
23162015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2317
2318 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2319 failures to run the test program under GDB.
2320
8ce74153
LM
23212015-08-26 Luis Machado <lgustavo@codesourcery.com>
2322
2323 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2324 to C.
2325
e9756d52
PP
23262015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2327
2328 * gdb.base/run-after-attach.exp: New test file.
2329 * gdb.base/run-after-attach.c: New test file.
2330
8d37573b
DB
23312015-08-26 Don Breazeal <donb@codesourcery.com>
2332
2333 * gdb.base/foll-exec-2.c: New test program.
2334 * gdb.base/foll-exec-2.exp: New test.
2335
63e43d3a
PMR
23362015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2337
2338 * gdb.base/nested-subp1.exp: New file.
2339 * gdb.base/nested-subp1.c: New file.
2340 * gdb.base/nested-subp2.exp: New file.
2341 * gdb.base/nested-subp2.c: New file.
2342 * gdb.base/nested-subp3.exp: New file.
2343 * gdb.base/nested-subp3.c: New file.
2344
3d40fbb5
PA
23452015-08-24 Pedro Alves <palves@redhat.com>
2346
2347 * gdb.server/connect-without-multi-process.c: New file.
2348 * gdb.server/connect-without-multi-process.exp: New file.
2349
4422ac93
LM
23502015-08-24 Luis Machado <lgustavo@codesourcery.com>
2351
2352 * gdb.opt/inline-markers.c: Make z int.
2353
91dddb86
LM
23542015-08-24 Luis Machado <lgustavo@codesourcery.com>
2355
2356 * gdb.opt/inline-markers.c: Make z volatile.
2357
a48847ee
LM
23582015-08-24 Luis Machado <lgustavo@codesourcery.com>
2359
2360 * gdb.opt/inline-bt.c: New volatile global z.
2361 * gdb.opt/inline-cmds.c: Likewise.
2362 * gdb.opt/inline-locals.c: Likewise.
2363 * gdb.opt/inline-markers.c: New extern global z.
2364 (marker): Use z.
2365 (inline_fn): Likewise.
2366
0ebbc52b
PA
23672015-08-24 Pedro Alves <palves@redhat.com>
2368
2369 * config/m32r-stub.exp: Remove file.
2370 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2371 * gdb.base/call-rt-st.exp: Likewise.
2372 * gdb.base/call-strs.exp: Likewise.
2373 * gdb.base/default.exp: Remove references to h8300-*-hms and
2374 *-*-udi*.
2375 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2376
77c365df
AA
23772015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2378
2379 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2380 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2381 and "return" use KFAIL when GDB can not read/write the vector
2382 return value.
2383
4313b8c0
GB
23842015-08-21 Gary Benson <gbenson@redhat.com>
2385
2386 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2387
0e433b32
PA
23882015-08-20 Pedro Alves <palves@redhat.com>
2389
2390 * gdb.server/solib-list.exp: No longer expect an interior stop in
2391 non-stop mode.
2392
221e1a37
PA
23932015-08-20 Pedro Alves <palves@redhat.com>
2394
2395 * gdb.server/connect-stopped-target.c: New file.
2396 * gdb.server/connect-stopped-target.exp: New file.
2397
40e3ad0e
PA
23982015-08-20 Pedro Alves <palves@redhat.com>
2399
2400 * gdb.dwarf2/comp-unit-lang.exp: New file.
2401 * gdb.dwarf2/comp-unit-lang.c: New file.
2402
af39b327
PMR
24032015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2404
2405 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2406 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2407
7d45c7c3 24082015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2409
7d45c7c3
KB
2410 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2411 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2412
4d6cceb4
DE
24132015-08-18 Doug Evans <dje@google.com>
2414 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2415
2416 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2417 skip_python_tests. New arg prompt_regexp.
2418 (skip_python_tests): New function.
2419 * lib/mi-support.exp (mi_skip_python_tests): New function.
2420 * gdb.python/py-mi-objfile-gdb.py: New file.
2421 * gdb.python/py-mi-objfile.c: New file.
2422 * gdb.python/py-mi-objfile.exp: New file.
2423
ad89c2aa
KS
24242015-08-17 Keith Seitz <keiths@redhat.com>
2425
2426 * gdb.linespec/explicit.exp: Move strace test from here ...
2427 * gdb.trace/strace.exp: ... to here.
2428
e3ae3c43
PP
24292015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2430
2431 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2432 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2433
604b2636
DE
24342015-08-14 Doug Evans <xdje42@gmail.com>
2435
2436 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2437 inferior before selecting a new file.
2438
6ff0ba5f
DE
24392015-08-14 Doug Evans <xdje42@gmail.com>
2440
2441 * gdb.mi/mi-disassemble.exp: Update.
2442 * gdb.base/disasm-optim.S: New file.
2443 * gdb.base/disasm-optim.c: New file.
2444 * gdb.base/disasm-optim.h: New file.
2445 * gdb.base/disasm-optim.exp: New file.
2446
9ca98f92
KS
24472015-08-14 Keith Seitz <keiths@redhat.com>
2448
2449 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2450 "evaluated-by".
2451
52bbc560
JB
24522015-08-13 Joel Brobecker <brobecker@adacore.com>
2453
2454 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2455
5d8c3ed3
PMR
24562015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2457
2458 * gdb.ada/fun_renaming.exp: New testcase.
2459 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2460 * gdb.ada/fun_renaming/pack.adb: New file.
2461 * gdb.ada/fun_renaming/pack.ads: New file.
2462
ea8812bc
KS
24632015-08-12 Keith Seitz <keiths@redhat.com>
2464
2465 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2466 gdb_get_line_number.
2467
4dafcdeb
JB
24682015-08-12 Joel Brobecker <brobecker@adacore.com>
2469
2470 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2471 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2472 gdb.base/dso2dso.exp: New files.
2473
5ba32597
SDJ
24742015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2475 Pedro Alves <palves@redhat.com>
2476 Keith Seitz <keiths@redhat.com>
2477
2478 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2479 GDBFLAGS.
2480
b6dafabf
PP
24812015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2482
2483 * gdb.base/gdbhistsize-history.exp
2484 (test_histsize_history_setting): Use save_vars.
2485 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2486 Use save_vars.
2487 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2488 * gdb.base/readline.exp: Use save_vars.
2489
abe8e607
PP
24902015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2491
2492 * lib/gdb.exp (save_vars): New proc.
2493
629500fa
KS
24942015-08-11 Keith Seitz <keiths@redhat.com>
2495
2496 * gdb.base/help.exp: Update help_breakpoint_text.
2497
eb8c4e2e
KS
24982015-08-11 Keith Seitz <keiths@redhat.com>
2499
2500 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2501 (at toplevel): Call test_explicit_breakpoints.
2502 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2503 breakpoints.
2504 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2505 breakpoint conditions, "-cond".
2506
87f0e720
KS
25072015-08-11 Keith Seitz <keiths@redhat.com>
2508
2509 * gdb.linespec/3explicit.c: New file.
2510 * gdb.linespec/cpexplicit.cc: New file.
2511 * gdb.linespec/cpexplicit.exp: New file.
2512 * gdb.linespec/explicit.c: New file.
2513 * gdb.linespec/explicit.exp: New file.
2514 * gdb.linespec/explicit2.c: New file.
2515 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2516 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2517 before using in the matching pattern.
2518 Clarify that `prefix' is a regular expression.
2519
f00aae0f
KS
25202015-08-11 Keith Seitz <keiths@redhat.com>
2521
2522 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2523 test.
2524 Add tests for missing ",FMT" and ",".
2525
e27852be
DE
25262015-08-10 Doug Evans <dje@google.com>
2527 Keith Seitz <keiths@redhat.com>
2528
2529 PR gdb/17960
2530 * gdb.base/completion.exp: Add location completer tests.
2531
7f03bd92
PA
25322015-08-07 Pedro Alves <palves@redhat.com>
2533
2534 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2535 tests here.
2536 (top level): Run do_test with and without displaced stepping.
2537
3fc8eb30
PA
25382015-08-07 Pedro Alves <palves@redhat.com>
2539
2540 * gdb.base/valgrind-disp-step.c: New file.
2541 * gdb.base/valgrind-disp-step.exp: New file.
2542
d4569d7b
PA
25432015-08-07 Pedro Alves <palves@redhat.com>
2544
2545 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2546 Delete function.
2547 (main): Add alarm. Run an infinite loop instead of calling
2548 wait_threads.
2549 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2550 comment.
2551 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2552 Delete function.
2553 (main): Add alarm. Run an infinite loop instead of calling
2554 wait_threads.
2555 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2556 comment.
2557
e1316e60
PA
25582015-08-07 Pedro Alves <palves@redhat.com>
2559
2560 * gdb.base/checkpoint-ns.exp: New file.
2561 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2562 standard_testfile.
2563
da8c46d2
MM
25642015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2565
2566 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2567 * gdb.btrace/instruction_history.exp: Update.
2568 * gdb.btrace/tsx.exp: New.
2569 * gdb.btrace/tsx.c: New.
2570
de1c2c52
PA
25712015-08-06 Pedro Alves <palves@redhat.com>
2572
2573 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2574 increase timeout.
2575 * gdb.reverse/until-precsave.exp: Bump timeouts.
2576
782e0bf4
PA
25772015-08-06 Pedro Alves <palves@redhat.com>
2578
2579 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2580
83e97ed0
PA
25812015-08-06 Pedro Alves <palves@redhat.com>
2582
2583 PR gdb/18749
2584 * gdb.threads/process-dies-while-handling-bp.c: New file.
2585 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2586
863d01bd
PA
25872015-08-06 Pedro Alves <palves@redhat.com>
2588
2589 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2590 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2591
0a39bb32
PA
25922015-08-05 Pedro Alves <palves@redhat.com>
2593
2594 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2595 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2596
ee2d2b10
SL
25972015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2598
2599 * gdb.base/bp-permanent.exp: Report test as unsupported if
2600 the target cannot stop at the permanent breakpoint.
2601
4e1bdb00
DE
26022015-08-03 Doug Evans <dje@google.com>
2603
2604 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2605 10000.
2606
3d338901
DE
26072015-08-03 Doug Evans <dje@google.com>
2608
2609 * Makefile.in (workers/%.worker, build-perf): New rule.
2610 (GDB_PERFTEST_MODE): New variable.
2611 (check-perf): Use it.
2612 (clean): Clean up gdb.perf parallel build subdirs.
2613 * lib/build-piece.exp: New file.
2614 * lib/gdb.exp (make_gdb_parallel_path): New function
2615 (standard_output_file, standard_temp_file): Call it.
2616 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2617 of $GDB_PARALLEL.
2618 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2619
af061d3e
DE
26202015-08-03 Doug Evans <dje@google.com>
2621
8e1afc81 2622 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
2623 (LOG_FILE_NAME): New global.
2624 (TextReporter.__init__): Initialize self.txt_sum.
2625 (TextReporter.report): Add support for multiple data-points.
2626 Move report to perftest.sum, put raw data in perftest.log.
2627 (TextReporter.start): Open sum and log files.
2628 (TextReporter.end): Close sum and log files.
8e1afc81
DE
2629 * gdb.perf/lib/perftest/testresult.py
2630 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 2631
2c8c5d37
PA
26322015-07-31 Pedro Alves <palves@redhat.com>
2633
2634 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2635 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2636 kill_wait_spawned_process instead of explicit "kill -9".
2637 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2638 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2639 kill_wait_spawned_process.
2640 * gdb.base/attach-twice.exp: Likewise.
2641 * gdb.base/attach.exp: Likewise.
2642 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2643 gdb_test_multiple.
2644 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2645 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2646 kill_wait_spawned_process.
2647 * gdb.base/valgrind-infcall.exp: Likewise.
2648 * gdb.multi/multi-attach.exp: Likewise.
2649 * gdb.python/py-prompt.exp: Likewise.
2650 * gdb.python/py-sync-interp.exp: Likewise.
2651 * gdb.server/ext-attach.exp: Likewise.
2652 * gdb.threads/attach-into-signal.exp (corefunc): Use
2653 spawn_wait_for_attach, spawn_id_get_pid and
2654 kill_wait_spawned_process.
2655 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2656 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2657 spawn_id_get_pid and kill_wait_spawned_process.
2658 * gdb.threads/attach-stopped.exp (corefunc): Use
2659 spawn_wait_for_attach, spawn_id_get_pid and
2660 kill_wait_spawned_process.
2661 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2662 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2663 kill_wait_spawned_process instead of explicit "kill -9".
2664 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2665 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2666 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2667 processes. Don't map cygwin/windows pids here. Now returns a
2668 spawn id list.
2669
032a0fca
SL
26702015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2671
2672 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2673 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2674 correct patch.
2675
61a934ca
SL
26762015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2677
2678 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2679
4bc4d428
SL
26802015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2681
2682 Reapply:
2683 2014-05-21 Mark Wielaard <mjw@redhat.com>
2684
2685 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2686
998d452a
PA
26872015-07-30 Pedro Alves <palves@redhat.com>
2688
2689 * linux-low.c (handle_extended_wait): Set the child's last
2690 reported status to TARGET_WAITKIND_STOPPED.
2691
69dde7dc
PA
26922015-07-30 Pedro Alves <palves@redhat.com>
2693
2694 PR threads/18600
2695 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2696 only shows inferior 1.
2697
4dd63d48
PA
26982015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2699 Pedro Alves <palves@redhat.com>
2700
2701 PR threads/18600
2702 * gdb.threads/fork-plus-threads.c: New file.
2703 * gdb.threads/fork-plus-threads.exp: New file.
2704
d618e4c5
PP
27052015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2706
2707 * gdb.base/batch-preserve-term-settings.exp
2708 (test_terminal_settings_preserved_after_cli_exit): Use
2709 send_quit_command.
2710
1eef6428
PA
27112015-07-29 Pedro Alves <palves@redhat.com>
2712 Don Breazeal <donb@codesourcery.com>
2713
2714 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2715 output from both inferior_spawn_id and gdb_spawn_id.
2716
7da5b897
SDJ
27172015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2718
2719 * gdb.threads/attach-into-signal.exp (corefunc): Use
2720 with_test_prefix on nested loops, uniquefying the test messages.
2721
dac804df
SDJ
27222015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2723
2724 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2725 commit.
2726
06265e53
PP
27272015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2728
2729 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2730 New proc.
2731 (test_terminal_settings_preserved_after_sigterm): New test.
2732
18206ca3
PP
27332015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2734
2735 * gdb.base/batch-preserve-term-settings.exp
2736 (test_terminal_settings_preserved_after_cli_exit): New test.
2737
90074d11
PP
27382015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2739
2740 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2741 manipulation of saved_gdbflags.
2742 (test_terminal_settings_preserved): Remove global declaration of
2743 the unused variable pagination_prompt. Remove manipulation of
2744 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2745 GDBFLAGS.
2746
eb1a7902
PA
27472015-07-29 Pedro Alves <palves@redhat.com>
2748
2749 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2750
8b75dd3b
PA
27512015-07-29 Pedro Alves <palves@redhat.com>
2752
2753 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2754 at the top.
2755
dedad4e3
PA
27562015-07-29 Pedro Alves <palves@redhat.com>
2757
2758 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2759 (main): Call gdb_unbuffer_output.
2760 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2761 (main): Call gdb_unbuffer_output.
2762 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2763 (main): Call gdb_unbuffer_output.
2764 * gdb.base/call-strs.exp: Adjust to step over the
2765 gdb_unbuffer_output call.
2766 * gdb.base/catch-gdb-caused-signals.c: Include
2767 "../lib/unbuffer_output.c".
2768 (main): Call gdb_unbuffer_output.
2769 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2770 (main): Call gdb_unbuffer_output.
2771 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2772 (main): Call gdb_unbuffer_output.
2773 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2774 (main): Call gdb_unbuffer_output.
2775 * gdb.base/shlib-call.exp: Adjust to step over the
2776 gdb_unbuffer_output call.
2777 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2778 (main): Call gdb_unbuffer_output.
2779 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2780 (main): Call gdb_unbuffer_output.
2781 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2782 (main): Rename to ...
2783 (test): ... this.
2784 (main): Reimplement.
2785 * gdb.base/varargs.exp: Run to test instead of to main.
2786 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2787 (main): Call gdb_unbuffer_output.
2788
58789a91
PA
27892015-07-29 Pedro Alves <palves@redhat.com>
2790
2791 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2792 factore out from mi_continue_dprintf. For call-style dprintfs,
2793 expect dprintf output out of $inferior_spawn_id.
2794 (mi_continue_dprintf): Use mi_expect_dprintf.
2795 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2796 (main): Call gdb_unbuffer_output.
2797
e8376742
PA
27982015-07-29 Pedro Alves <palves@redhat.com>
2799
2800 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2801 (default_mi_gdb_start): Set inferior_spawn_id instead of
2802 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2803 gdb_spawn_id.
2804 (mi_gdb_test): Always expect inferior output from both
2805 $inferior_spawn_id and $gdb_spawn_id.
2806
08280010
PA
28072015-07-29 Pedro Alves <palves@redhat.com>
2808
2809 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2810 send_inferior and $inferior_spawn_id.
2811
4d30e432
PA
28122015-07-29 Pedro Alves <palves@redhat.com>
2813
2814 * gdb.gdb/complaints.exp (test_initial_complaints)
2815 (test_serial_complaints, test_short_complaints): Use
2816 gdb_test_stdio.
2817 (test_empty_complaint): Handle $inferior_spawn_id !=
2818 $gdb_spawn_id.
2819
0d30a335
PA
28202015-07-29 Pedro Alves <palves@redhat.com>
2821
2822 * gdb.base/varargs.exp: Use gdb_test_stdio.
2823
39413b29
PA
28242015-07-29 Pedro Alves <palves@redhat.com>
2825
2826 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2827
7cb000a9
PA
28282015-07-29 Pedro Alves <palves@redhat.com>
2829
2830 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2831
d7b8ac82
PA
28322015-07-29 Pedro Alves <palves@redhat.com>
2833
2834 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2835 parameter into two new parameters, "inf_result" and "gdb_result".
2836 Expect inferior output and gdb output from $inferior_spawn_id and
2837 $gdb_spawn_id, respectively. Adjust all callers.
2838
789c3a0c
PA
28392015-07-29 Pedro Alves <palves@redhat.com>
2840
2841 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2842 of gdb_test_sequence.
2843
77e760c3
PA
28442015-07-29 Pedro Alves <palves@redhat.com>
2845
2846 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2847 (saw_spurious_output): Expect inferior output from
2848 $inferior_spawn_id. Use gdb_test_stdio.
2849
8396d2cd
PA
28502015-07-29 Pedro Alves <palves@redhat.com>
2851
2852 * gdb.base/dprintf.exp: Use standard_testfile. Change
2853 prepare_for_testing call.
2854 (srcfile): Don't set.
2855 (restart): New procedure.
2856 (test_dprintf): New procecure, use to continue over dprintfs.
2857 (test_call, test_agent): New procedures, tests moved here.
2858 Restart gdb and recreate dprintfs. Adjust expected output.
2859
2051d61f
PA
28602015-07-29 Pedro Alves <palves@redhat.com>
2861
2862 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2863
452397af
PA
28642015-07-29 Pedro Alves <palves@redhat.com>
2865
2866 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2867
8aed9555
PA
28682015-07-29 Pedro Alves <palves@redhat.com>
2869
2870 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2871 gdb_test_stdio.
2872
188a61b4
PA
28732015-07-29 Pedro Alves <palves@redhat.com>
2874
2875 * lib/gdb.exp (gdb_test_stdio): New procedure.
2876
12264a45
PA
28772015-07-29 Pedro Alves <palves@redhat.com>
2878
2879 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2880
23ffc893
PA
28812015-07-29 Pedro Alves <palves@redhat.com>
2882
2883 * gdb.base/call-signal-resume.exp: Remove check for
2884 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2885 * gdb.base/unwindonsignal.exp: Likewise.
2886 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2887 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2888
65566918
PA
28892015-07-29 Pedro Alves <palves@redhat.com>
2890
2891 * gdb.base/siginfo-addr.c (pass): New function.
2892 (handler): Call it iff si_addr is correct.
2893 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2894 Set a breakpoint at "pass" and continue to it.
2895
d60a9221
SDJ
28962015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2897
2898 * gdb.python/py-objfile.exp: Make some tests have unique names.
2899 * gdb.python/py-pp-registration.exp: Likewise.
2900
bde40b8f
PA
29012015-07-28 Pedro Alves <palves@redhat.com>
2902
2903 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2904
13e1dec8
SM
29052015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2906
2907 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2908
da33c9a7
SM
29092015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2910
2911 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2912
077836f7
PP
29132015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2914
2915 * gdb.base/gdb-sigterm-2.exp: New test.
2916
b8cc7b2e
DE
29172015-07-25 Doug Evans <xdje42@gmail.com>
2918
2919 Revert:
2920 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2921 (workers/%.worker, build-perf): New rule.
2922 (GDB_PERFTEST_MODE): New variable.
2923 (check-perf): Use it.
2924 (clean): Clean up gdb.perf parallel build subdirs.
2925 * lib/build-piece.exp: New file.
2926 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2927 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2928 name.
2929 (standard_temp_file): Ditto.
2930 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2931 of $GDB_PARALLEL.
2932
c8bd4544
DE
29332015-07-24 Doug Evans <dje@google.com>
2934
2935 * gdb.perf/lib/perftest/utils.py: New file.
2936 * gdb.perf/gm-hello.cc: New file.
2937 * gdb.perf/gm-pervasive-typedef.cc: New file.
2938 * gdb.perf/gm-pervasive-typedef.h: New file.
2939 * gdb.perf/gm-std.cc: New file.
2940 * gdb.perf/gm-std.h: New file.
2941 * gdb.perf/gm-use-cerr.cc: New file.
2942 * gdb.perf/gm-utils.h: New file.
2943 * gdb.perf/gmonster-null-lookup.py: New file.
2944 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2945 * gdb.perf/gmonster-print-cerr.py: New file.
2946 * gdb.perf/gmonster-ptype-string.py: New file.
2947 * gdb.perf/gmonster-runto-main.py: New file.
2948 * gdb.perf/gmonster-select-file.py: New file.
2949 * gdb.perf/gmonster1-null-lookup.exp: New file.
2950 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2951 * gdb.perf/gmonster1-print-cerr.exp: New file.
2952 * gdb.perf/gmonster1-ptype-string.exp: New file.
2953 * gdb.perf/gmonster1-runto-main.exp: New file.
2954 * gdb.perf/gmonster1-select-file.exp: New file.
2955 * gdb.perf/gmonster1.cc: New file.
2956 * gdb.perf/gmonster1.exp: New file.
2957 * gdb.perf/gmonster2-null-lookup.exp: New file.
2958 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2959 * gdb.perf/gmonster2-print-cerr.exp: New file.
2960 * gdb.perf/gmonster2-ptype-string.exp: New file.
2961 * gdb.perf/gmonster2-runto-main.exp: New file.
2962 * gdb.perf/gmonster2-select-file.exp: New file.
2963 * gdb.perf/gmonster2.cc: New file.
2964 * gdb.perf/gmonster2.exp: New file.
2965
6eab34f3
DE
29662015-07-24 Doug Evans <dje@google.com>
2967
2968 * gdb.perf/README: New file.
2969 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2970 * lib/gen-perf-test.exp: New file.
2971
63738bfd
DE
29722015-07-24 Doug Evans <dje@google.com>
2973
2974 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2975 (PerfTest::startup): New function.
2976 (PerfTest::run): Return result of calling body.
2977 (PerfTest::assemble): Rewrite.
2978 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2979 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2980 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2981 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2982 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2983
7b606f95
DE
29842015-07-24 Doug Evans <dje@google.com>
2985
2986 * lib/gdb.exp (clean_restart): Make executable optional.
2987
a97b16b8
DE
29882015-07-24 Doug Evans <dje@google.com>
2989
2990 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2991 compiler_info references.
2992 * gdb.cp/temargs.exp: Ditto.
2993 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2994 (get_compiler_info): Early exit if already computed. Set compiler_info
2995 to "unknown" if there was a problem.
2996 (test_compiler_info): Add function comment. Call get_compiler_info.
2997
35baa57f
DE
29982015-07-24 Doug Evans <dje@google.com>
2999
3000 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3001 (workers/%.worker, build-perf): New rule.
3002 (GDB_PERFTEST_MODE): New variable.
3003 (check-perf): Use it.
3004 (clean): Clean up gdb.perf parallel build subdirs.
3005 * lib/build-piece.exp: New file.
3006 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3007 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3008 name.
3009 (standard_temp_file): Ditto.
3010 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3011 of $GDB_PARALLEL.
3012
6ebea266
DE
30132015-07-24 Doug Evans <dje@google.com>
3014
3015 * lib/future.exp (gdb_default_target_compile): New option
3016 "early_flags".
3017 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3018 --as-needed.
3019
1e76a7e9
SDJ
30202015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3021
3022 * gdb.base/catch-syscall.exp: Call gdb_exit before
3023 gdb_skip_xml_test.
3024
5068630a
PA
30252015-07-24 Pedro Alves <palves@redhat.com>
3026
3027 * gdb.python/py-events.exp: Accept output between the stop event
3028 and the prompt.
3029 * gdb.python/py-evsignal.exp: Likewise.
3030 * gdb.python/py-evthreads.exp: Likewise.
3031
77598427
PA
30322015-07-24 Pedro Alves <palves@redhat.com>
3033
3034 PR gdb/18717
3035 * gdb.threads/non-ldr-exit.c: New file.
3036 * gdb.threads/non-ldr-exit.exp: New file.
3037
11e6c98f
YQ
30382015-07-24 Yao Qi <yao.qi@linaro.org>
3039
3040 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3041 restarting process.
3042
51aee833
YQ
30432015-07-24 Yao Qi <yao.qi@linaro.org>
3044
3045 * gdb.server/ext-restart.exp: New file.
3046
8cfe207c
YQ
30472015-07-24 Yao Qi <yao.qi@linaro.org>
3048
3049 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3050 argument options.
3051 * gdb.server/ext-wrapper.exp: New file.
3052
cc12ce38
DE
30532015-07-23 Doug Evans <dje@google.com>
3054
3055 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3056 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3057
d0d84780
PMR
30582015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3059
3060 * gdb.ada/var_arr_typedef.exp: New testcase.
3061 * gdb.ada/var_arr_typedef/pack.adb: New file.
3062 * gdb.ada/var_arr_typedef/pack.ads: New file.
3063 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3064
8b558f79
JB
30652015-07-20 Joel Brobecker <brobecker@adacore.com>
3066
3067 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3068
775a3298
JK
30692015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3070
3071 * gdb.arch/i386-biarch-core.exp: Replace istarget
3072 by "complete set gnutarget". Remove expectation for the "core-file"
3073 command.
3074
db1ff28b
JK
30752015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3076
3077 Revert the previous commit:
3078 Tests for validate symbol file using build-id.
3079
0a94970d
JK
30802015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3081
3082 Tests for validate symbol file using build-id.
3083 * gdb.base/solib-mismatch-lib.c: New file.
3084 * gdb.base/solib-mismatch-libmod.c: New file.
3085 * gdb.base/solib-mismatch.c: New file.
3086 * gdb.base/solib-mismatch.exp: New file.
3087
03346981
SL
30882015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3089
3090 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3091 nios2-*-linux*.
3092 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3093 * gdb.base/siginfo.exp: Likewise.
3094 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3095
42422cc7
PL
30962015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3097
3098 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3099 Move it to ...
3100 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3101 ... here.
3102 * gdb.trace/range-stepping.exp: Check that the target supports
3103 range stepping.
3104
cfa68bae
JK
31052015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3106
3107 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3108
8ffdba26
PA
31092015-07-14 Pedro Alves <palves@redhat.com>
3110
3111 * gdb.base/killed-outside.exp: New file.
3112 * gdb.base/killed-outside.c: New file.
3113
218a5a11
JK
31142015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3115
3116 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3117 (n at main): New.
3118 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3119
e03ed3c6
AA
31202015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3121
3122 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3123 infcall tests instead of setting up for KFAIL.
3124
485668e5
MM
31252015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3126
3127 * gdb.btrace/record_goto-step.exp: New.
3128
08464196
JK
31292015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3130
3131 PR compile/18484
3132 * gdb.compile/compile.c (struct struct_type): Add volatile to
3133 selffield's type.
3134 * gdb.compile/compile.exp
3135 (compile code struct_object.selffield = &struct_object): Skip further
3136 struct_object tests if this one xfails.
3137
bcf5c1d9
RC
31382015-07-08 Robert O'Callahan <robert@ocallahan.org>
3139
3140 PR exp/18617
3141 * gdb.trace/ax.exp: Add test.
3142
4931af25
YQ
31432015-07-07 Yao Qi <yao.qi@linaro.org>
3144
3145 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3146 instead of istarget "aarch64*-*-*".
3147 * gdb.arch/aarch64-fp.exp: Likewise.
3148 * gdb.base/float.exp: Likewise.
3149 * gdb.reverse/aarch64.exp: Likewise.
3150 * lib/gdb.exp (is_aarch64_target): New proc.
3151
9fcf688e
YQ
31522015-07-07 Yao Qi <yao.qi@linaro.org>
3153
3154 * lib/gdb.exp (is_aarch32_target): New proc.
3155 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3156 instead of "istarget "arm*-*-*"".
3157 * gdb.arch/arm-disp-step.exp: Likewise.
3158 * gdb.arch/thumb-bx-pc.exp: Likewise.
3159 * gdb.arch/thumb-prologue.exp: Likewise.
3160 * gdb.arch/thumb-singlestep.exp: Likewise.
3161 * gdb.base/disp-step-syscall.exp: Likewise.
3162 * gdb.base/float.exp: Likewise.
3163
fbd8d50d
YQ
31642015-07-07 Yao Qi <yao.qi@linaro.org>
3165
3166 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3167 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3168
71be1fdc
YQ
31692015-07-07 Yao Qi <yao.qi@linaro.org>
3170
3171 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3172 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3173 if it exists.
3174 * gdb.multi/multi-arch.exp: Likewise.
3175
3e221d36
SM
31762015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3177
3178 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3179 print.
3180
d441430b
YQ
31812015-07-07 Yao Qi <yao.qi@linaro.org>
3182
3183 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3184
06f810bd
MG
31852015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3186
3187 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3188 '[' and ']' characters.
3189
5e61e7c0
IB
31902015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3191
3192 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3193
28bf096c
PA
31942015-06-29 Pedro Alves <palves@redhat.com>
3195
3196 PR threads/18127
3197 * gdb.threads/hand-call-new-thread.c: New file.
3198 * gdb.threads/hand-call-new-thread.c: New file.
3199
ee93cd5e
KS
32002015-06-26 Keith Seitz <keiths@redhat.com>
3201 Doug Evans <dje@google.com>
3202
3203 PR 16253
3204 * gdb.cp/var-tag-2.cc: New file.
3205 * gdb.cp/var-tag-3.cc: New file.
3206 * gdb.cp/var-tag-4.cc: New file.
3207 * gdb.cp/var-tag.cc: New file.
3208 * gdb.cp/var-tag.exp: New file.
3209
fc637f04
PP
32102015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3211
3212 * gdb.base/history-duplicates.exp: New test.
3213
2e52ae68
PP
32142015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3215
3216 * gdb.base/completion.exp: Test the completion of the "focus"
3217 command.
3218
6e22494e
JK
32192015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3220
3221 * gdb.arch/amd64-prologue-skip.S: New file.
3222 * gdb.arch/amd64-prologue-skip.exp: New file.
3223
bf7b9cd9
SM
32242015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3225
3226 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3227 is_address_zero_readable check.
3228
201e8dfd
PB
32292015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3230
3231 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3232 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3233
5cd867b4
YQ
32342015-06-24 Yao Qi <yao.qi@linaro.org>
3235
3236 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3237 linux targets.
3238
4d7be007
YQ
32392015-06-24 Yao Qi <yao.qi@linaro.org>
3240
3241 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3242 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3243 * gdb.base/siginfo-thread.exp: Likewise.
3244
07fcd301
YQ
32452015-06-22 Yao Qi <yao.qi@linaro.org>
3246
3247 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3248
52042a00
YQ
32492015-06-22 Yao Qi <yao.qi@linaro.org>
3250
3251 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3252 aarch64*-*-*.
3253 (skip_hw_watchpoint_tests): Likewise.
3254
74bd41ce
PP
32552015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3256
3257 * gdb.base/gdbinit-history.exp: Test the interaction between
3258 setting GDBHISTSIZE and setting the history size via .gdbinit.
3259
bc460514
PP
32602015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3261
3262 PR gdb/16999
3263 * gdb.base/gdbhistsize-history.exp: New test.
3264
b58c513b
PP
32652015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3266
3267 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3268 with GDBHISTSIZE.
3269 * gdb.base/readline.exp: Likewise.
3270
92046791
YQ
32712015-06-17 Yao Qi <yao.qi@linaro.org>
3272
3273 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3274 line.
3275
2093d2d3
PP
32762015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3277
3278 * gdb.base/gdbinit-history.exp: Add test case to check that
3279 an unlimited history file does not get truncated on exit.
3280
e6c693af
AA
32812015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3282
3283 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3284 (VECTOR): New macro. Use it...
3285 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3286 ...for these typedefs.
3287 (int8, char1, int1, double1): New typedefs.
3288 (struct just_int2, struct two_int2): New structures.
3289 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3290 (add_structvecs, add_singlevecs): New functions.
3291 (main): Call add_some_intvecs twice.
3292 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3293 the compile and exit upon failure. Try compiling for the "native"
3294 architecture. Test inferior function calls with vector arguments
3295 and vector return value handling with "finish" and "return".
3296
c74f7d1c
JT
32972015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3298
3299 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3300 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3301 PE file.
3302 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3303
98aa42ee
AT
33042015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3305
3306 PR breakpoints/16465
3307 * gdb.mi/mi-dprintf-pending.c: New file.
3308 * gdb.mi/mi-dprintf-pending.exp: New test.
3309 * gdb.mi/mi-dprintf-pendshr.c: New file.
3310
7d73c23c 33112015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3312 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3313
3314 * gdb.arch/i386-mpx-map.c: New file.
3315 * gdb.arch/i386-mpx-map.exp: New File.
3316
33172015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3318
3319 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3320 * gdb.arch/i386-mpx.exp: Indentation fixed.
3321
33222015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3323
3324 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3325 function and improved indentation.
3326 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3327 gdb_test_multiple. Added additional tests to skip the test.
3328
33292015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3330
3331 * gdb.arch/i386-avx512.c: Change path in include file.
3332 * gdb.arch/i386-avx512.exp: Change include dir path
3333 compilation flag.
3334 * gdb.arch/i386-mpx.c: Change path in include file.
3335 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3336 flag.
3337
d5eba19a
JK
33382015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3339
3340 * gdb.compile/compile-print.exp (compile print *vararray@3)
3341 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3342
7f361056
JK
33432015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3344
3345 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3346 (do not keep jit in memory): ... this.
3347 (expect 5): Change it to ...
3348 (expect no 5): ... this.
3349
3b462ec2
SM
33502015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3351
3352 PR gdb/15564
3353 * gdb.mi/mi-detach.exp: New file.
3354
e0619de6
JK
33552015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3356
3357 PR symtab/18392
3358 * gdb.arch/amd64-tailcall-self.S: New file.
3359 * gdb.arch/amd64-tailcall-self.c: New file.
3360 * gdb.arch/amd64-tailcall-self.exp: New file.
3361
e970cb34
DB
33622015-05-28 Don Breazeal <donb@codesourcery.com>
3363
3364 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3365 tests for remote targets by checking is_target_gdbserver.
3366
b2e2f908
DE
33672015-05-27 Doug Evans <dje@google.com>
3368
3369 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3370 * gdb.dwarf2/opaque-type-lookup.c: New file.
3371 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3372
82c7be31
DE
33732015-05-26 Doug Evans <dje@google.com>
3374
3375 * gdb.cp/iostream.cc: New file.
3376 * gdb.cp/iostream.exp: New file.
3377
b4f54984
DE
33782015-05-26 Doug Evans <dje@google.com>
3379
3380 * gdb.dwarf2/dw2-op-call.exp: Update.
3381 * gdb.dwarf2/dw4-sig-types.exp: Update.
3382 * gdb.dwarf2/implptr.exp: Update.
3383 * gdb.mi/mi-cmd-param-changed.exp: Update.
3384
4ea6efe9
DE
33852015-05-26 Doug Evans <dje@google.com>
3386
3387 * gdb.python/py-lazy-string.c: New file.
3388 * gdb.python/py-lazy-string.exp: New file.
3389 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3390 (main): Update. Add estring3.
3391 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3392 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3393
f6bb7db3
YQ
33942015-05-26 Omair Javaid <omair.javaid@linaro.org>
3395 Yao Qi <yao.qi@linaro.org>
3396
3397 * gdb.reverse/aarch64.c: New.
3398 * gdb.reverse/aarch64.exp: New.
3399
a81bfbd0
OJ
34002015-05-26 Omair Javaid <omair.javaid@linaro.org>
3401
3402 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3403 (supports_reverse): Likewise.
3404
158bf1b4
PP
34052015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3406
3407 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3408 Use with_test_prefix.
3409
a0145030
AB
34102015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3411
3412 * gdb.base/completion.exp: Add test for completion of layout
3413 names.
3414
ebe3b578
AB
34152015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3416
3417 * lib/gdb.exp (skip_tui_tests): New proc.
3418 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3419
84204ed7
PA
34202015-05-19 Pedro Alves <palves@redhat.com>
3421
3422 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3423 Save the whole env array instead of just HOME. Unset HISTSIZE in
3424 the environment while testing. Restore whole environment
3425 afterwards.
3426
37442ce1
DE
34272015-05-16 Doug Evans <xdje42@gmail.com>
3428
3429 * gdb.guile/scm-ports.c: New file.
3430 * gdb.guile/scm-ports.exp: Add memory port tests.
3431
36de76f9
JK
34322015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3433
3434 * gdb.compile/compile-print.c: New file.
3435 * gdb.compile/compile-print.exp: New file.
3436
3a9558c4
JK
34372015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3438
3439 * gdb.compile/compile-ops.exp: Cast param to void.
3440 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3441 (compile code struct_object.selffield = &struct_object): Add xfail.
3442
aa715135
JG
34432015-05-15 Joel Brobecker <brobecker@adacore.com>
3444
3445 * gdb.ada/arr_enum_with_gap: New testcase.
3446
931e5bc3
JG
34472015-05-15 Joel Brobecker <brobecker@adacore.com>
3448
3449 * gdb.ada/byte_packed_arr: New testcase.
3450
9cd4d857
JB
34512015-05-15 Joel Brobecker <brobecker@adacore.com>
3452
3453 * gdb.ada/pckd_neg: New testcase.
3454
ebfd00d2
PP
34552015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3456
3457 PR gdb/17820
3458 * gdb.base/gdbinit-history.exp: New test.
3459 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3460 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3461
4c082a81
SC
34622015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3463
3464 * gdb.python/py-xmethods.cc: Enhance test case.
3465 * gdb.python/py-xmethods.exp: New tests.
3466 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3467 function.
3468 (B_indexoper): Likewise.
3469 (global_dm_list) : Add new xmethod worker functions.
3470
f7797074
SDJ
34712015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3472
3473 * gdb.base/coredump-filter.exp: Correctly unset
3474 "coredump_var_addr" array.
3475
a4674e4e
PA
34762015-05-08 Pedro Alves <palves@redhat.com>
3477
3478 * gdb.server/non-existing-program.exp: Unset spawn_id.
3479
df2eb078
SC
34802015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3481
3482 PR python/18291
3483 * gdb.python/py-xmethods.exp: Add tests.
3484
422349a3
YQ
34852015-05-08 Yao Qi <yao.qi@linaro.org>
3486
3487 PR gdb/18208
3488 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3489 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3490 function set_coredump_filter, and remove remote_exec call.
3491 Remove argument ipid. Callers update.
3492 (top level): Don't get inferior's PID.
3493
63fc80ce
AA
34942015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3495
3496 * gdb.base/watch_thread_num.exp: Skip test on targets without
3497 access watchpoints.
3498
80ad801e
PA
34992015-05-06 Pedro Alves <palves@redhat.com>
3500
3501 PR server/18081
3502 * gdb.server/non-existing-program.exp: New file.
3503
0fa7fe50
JB
35042015-05-05 Joel Brobecker <brobecker@adacore.com>
3505
3506 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3507
3ea89b92
PMR
35082015-05-05 Joel Brobecker <brobecker@adacore.com>
3509
3510 * gdb.ada/out_of_line_in_inlined: New testcase.
3511
87b8eff0
JB
35122015-05-05 Joel Brobecker <brobecker@adacore.com>
3513
3514 * gdb.ada/var_rec_arr: New testcase.
3515
5fccc635
YQ
35162015-04-30 Yao Qi <yao.qi@linaro.org>
3517
3518 * gdb.base/break-idempotent.exp: If
3519 skip_hw_watchpoint_multi_tests returns true, skip the tests
3520 on "rwatch" and "awatch".
3521
42d38f42
YQ
35222015-04-30 Yao Qi <yao.qi@linaro.org>
3523
3524 * gdb.base/relativedebug.exp: Invoke gdb command
3525 "info sharedlibrary", and if libc.so doesn't have debug info,
3526 skip the test.
3527
2ce1cdbf
DE
35282015-04-29 Doug Evans <dje@google.com>
3529
3530 * gdb.python/py-xmethods.exp: Add ptype tests.
3531 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3532 get_result_type method.
3533
f24a38c5
LM
35342015-04-29 Luis Machado <lgustavo@codesourcery.com>
3535
3536 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3537 the target does not support hardware watchpoints.
3538
ecbf2b3c
LM
35392015-04-29 Luis Machado <lgustavo@codesourcery.com>
3540
3541 * gdb.base/break-always.exp: Abort testing if writing to memory
3542 causes an error.
3543
34f5f757
DE
35442015-04-28 Doug Evans <dje@google.com>
3545
3546 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3547 * gdb.python/py-pp-registration.exp: ... here. New file.
3548 * gdb.python/py-pp-registration.c: New file.
3549 * gdb.python/py-pp-registration.py: New file.
3550
69b4374a
DE
35512015-04-28 Doug Evans <dje@google.com>
3552
3553 * gdb.python/py-bad-printers.c: New file.
3554 * gdb.python/py-bad-printers.py: New file.
3555 * gdb.python/py-bad-printers.exp: New file.
3556
59fb7612
SS
35572015-04-28 Sasha Smundak <asmundak@google.com>
3558
3559 * gdb.python/py-type.exp: New test.
3560
2631b16a
AW
35612015-04-28 Andy Wingo <wingo@igalia.com>
3562
3563 * gdb.python/py-parameter.exp:
3564 * gdb.guile/scm-parameter.exp: Escape the path that we are
3565 matching against, as it might contain characters that are special
3566 to regular expressions.
3567
460efde1
JB
35682015-04-27 Joel Brobecker <brobecker@adacore.com>
3569
3570 * gdb.ada/rec_comp: New testcase.
3571
2d369d8e
SDJ
35722015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3573
3574 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3575 before using it.
3576
cf75d6c3
AB
35772015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3578
3579 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3580 new tests for verilog output.
3581
8dbe7ca5
YQ
35822015-04-24 Yao Qi <yao.qi@linaro.org>
3583
3584 * boards/remote-gdbserver-on-localhost.exp: New file.
3585
4ef9fb2f
PA
35862015-04-23 Pedro Alves <palves@redhat.com>
3587
3588 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3589 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3590 "end of file", remove $inferior_spawn_id from the indirect list.
3591
0a803169
PA
35922015-04-23 Pedro Alves <palves@redhat.com>
3593
3594 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3595
749ef8f8
PA
35962015-04-23 Pedro Alves <palves@redhat.com>
3597
3598 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3599 on $any_spawn_id instead of only on $gdb_spawn_id.
3600
8aae4344
PM
36012015-04-21 Pierre Muller <muller@sourceware.org>
3602
3603 PR pascal/17815
3604 * lib/pascal.exp (gpc_compile): Add new option "class".
3605 (fpc_compile): Likewise.
3606 * gdb.pascal/case-insensitive-symbols.pas: New file.
3607 * gdb.pascal/case-insensitive-symbols.exp: New file.
3608
1586c8fb
GB
36092015-04-20 Gary Benson <gbenson@redhat.com>
3610
3611 * gdb.base/attach.exp: Fix three extended remote failures.
3612
1b6e6f5c
GB
36132015-04-17 Gary Benson <gbenson@redhat.com>
3614
3615 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3616 the main executable over the remote protocol.
3617
e797481d
PA
36182015-04-16 Pedro Alves <palves@redhat.com>
3619
3620 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3621 a new gdbserver if gdbserver_reconnect_p is set.
3622
1ca99c42
PA
36232015-04-16 Pedro Alves <palves@redhat.com>
3624
3625 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3626 is set, don't exit gdbserver.
3627
af9fd6f8
AA
36282015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3629
3630 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3631 appropriate .insn, such that an older assembler can be used.
3632 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3633 the z/Architecture instruction set on 31-bit targets as well.
3634
04ff1e61
AA
36352015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3636
3637 * gdb.go/handcall.exp: Remove all logic related to the first
3638 breakpoint and rely on go_runto_main instead.
3639 * gdb.go/strings.exp: Likewise.
3640 * gdb.go/unsafe.exp: Likewise.
3641 * gdb.go/hello.exp: Likewise. Also rename the remaining
3642 breakpoint marker to "breakpoint 1".
3643 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3644 * gdb.go/strings.go: Likewise.
3645 * gdb.go/unsafe.go: Likewise.
3646 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3647 "set breakpoint 2 here" and rename the remaining breakpoint marker
3648 to "breakpoint 1".
3649
40d2f8d6
SM
36502015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3651
3652 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3653 if itertools.imap is not present.
3654 * gdb.python/py-objfile.exp: Add parentheses.
3655 * gdb.python/py-type.exp: Same.
3656 * gdb.python/py-unwind-maint.py: Same.
3657
8cbc97c6
YQ
36582015-04-15 Yao Qi <yao.qi@linaro.org>
3659
3660 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3661 of ":$ptr_size" and set its form explicitly.
3662
45fd756c
YQ
36632015-04-15 Pedro Alves <palves@redhat.com>
3664 Yao Qi <yao.qi@linaro.org>
3665
3666 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3667 timeout by factor of 4.
3668 (test_regular_watch): Likewise.
3669 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3670 * gdb.reverse/sigall-reverse.exp: Likewise.
3671 * gdb.reverse/until-precsave.exp: Likewise.
3672 * lib/gdb.exp (with_timeout_factor): New proc.
3673 (gdb_expect): Move some code to ...
3674 (get_largest_timeout): ... here. New procedure.
3675
9e811bc3
LM
36762015-04-14 Luis Machado <lgustavo@codesourcery.com>
3677
3678 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3679
0ff6fcb2
LM
36802015-04-13 Luis Machado <lgustavo@codesourcery.com>
3681
3682 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3683 to write to the .text section.
3684
7578d5f7
LM
36852015-04-13 Luis Machado <lgustavo@codesourcery.com>
3686
3687 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3688 Handle the case of targets that do not provide PID information.
3689
2efe15c4
YQ
36902015-04-13 Yao Qi <yao.qi@linaro.org>
3691
3692 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3693 and use expect instead of gdb_expect.
3694
8cd8f2f8
SDJ
36952015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3696
3697 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3698 "coredump_var_addr" to avoid naming conflict with other testcases.
3699
9ee41772
PA
37002015-04-10 Pedro Alves <palves@redhat.com>
3701
3702 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3703 gdb_test_sequence and gdb_assert.
3704
07473109
PA
37052015-04-10 Pedro Alves <palves@redhat.com>
3706
3707 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3708 test messages that don't include the breakpoint address.
3709
de3db44c
YQ
37102015-04-10 Yao Qi <yao.qi@linaro.org>
3711
3712 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3713 false for some offset and width combinations which aren't
3714 supported by linux kernel.
3715
c79d856c
PA
37162015-04-10 Pedro Alves <palves@redhat.com>
3717
3718 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3719 procedure, factored out from ...
3720 (top level): ... here. Add "set displaced-stepping" testing axis.
3721 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3722 parameter "displaced". Use it.
3723 (top level): Use foreach and add "set displaced-stepping" testing
3724 axis.
3725
ebc90b50
PA
37262015-04-10 Pedro Alves <palves@redhat.com>
3727
3728 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3729 Remove comment.
3730 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3731 both the address of the instruction that triggers the watchpoint
3732 and the address of the instruction immediately after, and use
3733 those addresses for the test. Fix comment.
3734
8f572e5c
PA
37352015-04-10 Pedro Alves <palves@redhat.com>
3736
3737 * gdb.base/sigstep.exp (breakpoint_to_handler)
3738 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3739 Test "backtrace" in handler.
3740 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3741 (top level): Add new "displaced" test axis to
3742 breakpoint_to_handler, breakpoint_to_handler_entry and
3743 breakpoint_over_handler.
3744
8d707a12
PA
37452015-04-10 Pedro Alves <palves@redhat.com>
3746
3747 PR gdb/18216
3748 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3749
ef713951
YQ
37502015-04-10 Yao Qi <yao.qi@linaro.org>
3751
3752 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3753 (test_add_rn_pc): New function.
3754 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3755 (top level): Invoke test_add_rn_pc.
3756
906d60cf
PA
37572015-04-10 Pedro Alves <palves@redhat.com>
3758
3759 PR gdb/13858
3760 * gdb.base/step-over-no-symbols.exp: New file.
3761
f2983cc3
AW
37622015-04-09 Andy Wingo <wingo@igalia.com>
3763
3764 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3765 after the Python tests.
3766
6d62641c
SDJ
37672015-04-08 Keith Seitz <keiths@redhat.com>
3768
3769 PR python/16699
3770 * gdb.python/py-completion.exp: New tests for completion.
3771 * gdb.python/py-completion.py (CompleteLimit1): New class.
3772 (CompleteLimit2): Likewise.
3773 (CompleteLimit3): Likewise.
3774 (CompleteLimit4): Likewise.
3775 (CompleteLimit5): Likewise.
3776 (CompleteLimit6): Likewise.
3777 (CompleteLimit7): Likewise.
3778
f3770638
PA
37792015-04-08 Pedro Alves <palves@redhat.com>
3780
3781 PR gdb/18214
3782 PR gdb/18216
3783 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3784 function.
3785 (main): Install it as SIGUSR1 handler.
3786 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3787 parameter. Always use "setup" as prefix. Toggle "set
3788 displaced-stepping" off/on depending on global. Don't switch to
3789 thread 1 here.
3790 (top level): Add displaced stepping "off/on" test axis. Update
3791 "setup" calls. Wrap each subtest with with_test_prefix. Test
3792 continuing with a queued signal in each thread.
3793
4496bed7
PA
37942015-04-08 Pedro Alves <palves@redhat.com>
3795
3796 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3797 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3798 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3799 Return early if running to main fails.
3800 * gdb.trace/while-stepping.exp: Likewise.
3801
b97fde92
PA
38022015-04-07 Pedro Alves <palves@redhat.com>
3803
3804 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3805 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3806 interact with inferior program.
3807
f71c18e7
PA
38082015-04-07 Pedro Alves <palves@redhat.com>
3809
3810 * lib/gdb.exp (inferior_spawn_id): New global.
3811 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3812 spawn id after processing the user code.
3813 (default_gdb_start): Set inferior_spawn_id.
3814 (send_inferior): New procedure.
3815 * lib/gdbserver-support.exp (gdbserver_start): Set
3816 inferior_spawn_id.
3817 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3818
6423214f
PA
38192015-04-07 Pedro Alves <palves@redhat.com>
3820
3821 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3822 * lib/gdbserver-support.exp (gdbserver_start): Make
3823 $server_spawn_id global.
3824 (gdbserver_start): Don't wait for gdbserver's spawn id with
3825 expect_background.
3826 (close_gdbserver): New procedure.
3827 (gdb_exit): Rename the default version and reimplement.
3828
71c0ee8c
PA
38292015-04-07 Pedro Alves <palves@redhat.com>
3830
72f4393d 3831 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
3832 append the substituted item, not the original item.
3833
203bc29b
PA
38342015-04-07 Pedro Alves <palves@redhat.com>
3835
3836 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3837 gdb_expect.
3838
508a3ddf
PA
38392015-04-07 Pedro Alves <palves@redhat.com>
3840
3841 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3842 output appearing once only.
3843
9f6dbe2b
PA
38442015-04-07 Pedro Alves <palves@redhat.com>
3845
3846 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3847 that doesn't expect anything. Return early if running to main
3848 fails.
3849
337532fa
YQ
38502015-04-07 Yao Qi <yao.qi@linaro.org>
3851
3852 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3853 (child_function): Call alarm.
3854 (main): Move call to alarm into the loop.
3855 * gdb.threads/non-stop-fair-events.exp: Build program with
3856 -DTIMEOUT=$timeout.
3857
01b622d4
DE
38582015-04-06 Doug Evans <xdje42@gmail.com>
3859
3860 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3861 Fix dest parameter to board_info.
3862 (fpc_compile): Ditto.
3863 (gdb_compile_pascal): Rename dest arg to destfile.
3864
961f4160
PMR
38652015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3866
3867 * gdb.ada/funcall_ref.exp: New file.
3868 * gdb.ada/funcall_ref/foo.adb: New file.
3869
cafda597
YQ
38702015-04-02 Yao Qi <yao.qi@linaro.org>
3871
3872 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3873 is remote.
3874
fed040c6
GB
38752015-04-02 Gary Benson <gbenson@redhat.com>
3876
3877 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3878
d11916aa
SS
38792015-04-01 Sasha Smundak <asmundak@google.com>
3880
3881 * gdb.python/py-unwind-maint.c: New file.
3882 * gdb.python/py-unwind-maint.exp: New test.
3883 * gdb.python/py-unwind-maint.py: New file.
3884 * gdb.python/py-unwind.c: New file.
3885 * gdb.python/py-unwind.exp: New test.
3886 * gdb.python/py-unwind.py: New test.
3887
a1471180
PA
38882015-04-01 Pedro Alves <palves@redhat.com>
3889
3890 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3891 to fail instead of non-existent $test.
3892
0bbeccb1
PA
38932015-04-01 Pedro Alves <palves@redhat.com>
3894
3895 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3896 GDBFLAGS if not empty.
3897
3c724c8c
PMR
38982015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3899
3900 * gdb.ada/complete.exp: Remove "multi_line".
3901 * gdb.ada/info_exc.exp: Remove "multi_line".
3902 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3903 * gdb.ada/ptype_field.exp: Remove "multi_line".
3904 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3905 * gdb.ada/tagged.exp: Remove "multi_line".
3906 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3907 [multi_line ...]
3908 * gdb.btrace/delta.exp: Likewise.
3909 * gdb.btrace/exception.exp: Likewise.
3910 * gdb.btrace/function_call_history.exp: Likewise.
3911 * gdb.btrace/instruction_history.exp: Likewise.
3912 * gdb.btrace/nohist.exp: Likewise.
3913 * gdb.btrace/record_goto.exp: Likewise.
3914 * gdb.btrace/segv.exp: Likewise.
3915 * gdb.btrace/stepi.exp: Likewise.
3916 * gdb.btrace/tailcall.exp: Likewise.
3917 * gdb.btrace/unknown_functions.exp: Likewise.
3918 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3919 * lib/gdb.exp: Add the "multi_line" helper.
3920
4eec2deb
PA
39212015-04-01 Pedro Alves <palves@redhat.com>
3922
3923 * gdb.threads/tid-reuse.c: New file.
3924 * gdb.threads/tid-reuse.exp: New file.
3925
df8411da
SDJ
39262015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3927
3928 PR corefiles/16092
3929 * gdb.base/coredump-filter.c: New file.
3930 * gdb.base/coredump-filter.exp: Likewise.
3931
6ef37366
PM
39322015-03-27 Petr Machata <pmachata@redhat.com>
3933
3934 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3935 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3936 (Dwarf::assemble): Initialize them.
3937 (Dwarf::lines): New function.
3938
7ec911b0
JT
39392015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3940
3941 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3942 SYMBOL_PREFIX for x86_64-*-cygwin.
3943
ff908ebf
AW
39442015-03-26 Andy Wingo <wingo@igalia.com>
3945
3946 PR symtab/18148
3947 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3948 const_value but not a location.
3949 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3950 location defined in non-main CUs are visible.
3951
6d5f0679
YQ
39522015-03-26 Yao Qi <yao.qi@linaro.org>
3953
3954 PR testsuite/18139
3955 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3956 Add a line number entry for the same line.
3957 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3958 Add a line number entry for the same line.
3959
2898689b
YQ
39602015-03-26 Yao Qi <yao.qi@linaro.org>
3961
3962 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3963 .int 0.
3964 (func): Likewise. Add .Lfunc_1 label.
3965 Use .Lfunc_1 label.
3966 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3967 .int 0.
3968 (func): Likewise.
3969 Use .Lfunc_1 label.
3970
85180498
YQ
39712015-03-26 Yao Qi <yao.qi@linaro.org>
3972
3973 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3974 Call gdb_compile instead to compile each .s files without debug
3975 information.
3976
8aa08a8d
YQ
39772015-03-26 Yao Qi <yao.qi@linaro.org>
3978
3979 * gdb.base/savedregs.exp (process_saved_regs): Make
3980 "Saved registers:" optional in the pattern.
3981
66849923
MM
39822015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3983
3984 * gdb.btrace/next.exp: Merged into step.exp.
3985 * gdb.btrace/finish.exp: Merged into step.exp.
3986 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3987 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3988 "record goto" and checking the exact replay position.
3989 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3990 check for "Recording format" in "info record" output.
3991 * gdb.btrace/record_goto.exp: Choose test file based on target.
3992 * gdb.btrace/x86-record_goto.S: Renamed into ...
3993 * gdb.btrace/x86_64-record_goto.S: ... this.
3994 * gdb.btrace/i686-record_goto.S: New.
3995 * gdb.btrace/x86-tailcall.S: Renamed into ...
3996 * gdb.btrace/x86_64-tailcall.S: ... this.
3997 * gdb.btrace/i686-tailcall.S: New.
3998 * gdb.btrace/x86-tailcall.c: Renamed into ...
3999 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4000 separate statements. Update test.
4001 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4002 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4003 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4004 * gdb.btrace/tailcall.exp: Choose test file based on target.
4005 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4006
11cc1b74
MM
40072015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4008
4009 * gdb.btrace/exception.exp: Increase BTS buffer size.
4010
a25d8bf9
PA
40112015-03-24 Pedro Alves <palves@redhat.com>
4012
4013 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4014
856e7dd6
PA
40152015-03-24 Pedro Alves <palves@redhat.com>
4016
4017 * gdb.threads/schedlock.exp (test_step): No longer expect that
4018 "set scheduler-locking step" with "next" over a function call runs
4019 threads unlocked.
4020
ad235a41
AT
40212015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4022
4023 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4024
15630549
AT
40252015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4026
4027 PR breakpoints/16466
4028 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4029 * gdb.mi/mi-pending.c (thread_func): New function.
4030 (int main): Add threading support required.
4031 * gdb.mi/mi-pending.exp: Add tests for this issue.
4032 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4033 (pendfunc2): Remove stdio dependency.
4034 * gdb.mi/mi-pendshr2.c: New file.
4035
693dca06
KS
40362015-03-23 Keith Seitz <keiths@redhat.com>
4037
4038 * gdb.linespec/keywords.c: New file.
4039 * gdb.linespec/keywords.exp: New file.
4040
7e993ebf
KS
40412015-03-23 Keith Seitz <keiths@redhat.com>
4042
4043 PR gdb/18021
4044 * gdb.dwarf2/staticvirtual.exp: New test.
4045
bc23328c
JK
40462015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4047
4048 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4049 * README: Remove HP-UX and gdb.hp.
4050 (configuration):
4051 * configure: Regenerate.
4052 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4053 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4054 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4055 gdb.hp/gdb.defects/Makefile.
4056 * gdb.hp/Makefile.in: File deleted.
4057 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4058 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4059 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4060 * gdb.hp/gdb.aCC/run.c: File deleted.
4061 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4062 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4063 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4064 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4065 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4066 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4067 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4068 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4069 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4070 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4071 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4072 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4073 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4074 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4075 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4076 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4077 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4078 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4079 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4080 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4081 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4082 * gdb.hp/gdb.compat/average.c: File deleted.
4083 * gdb.hp/gdb.compat/sum.c: File deleted.
4084 * gdb.hp/gdb.compat/xdb.c: File deleted.
4085 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4086 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4087 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4088 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4089 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4090 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4091 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4092 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4093 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4094 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4095 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4096 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4097 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4098 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4099 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4100 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4101 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4102 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4103 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4104 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4105 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4106 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4107 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4108 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4109 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4110 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4111 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4112 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4113 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4114 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4115 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4116 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4117 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4118 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4119 * gdb.hp/tools/odump: File deleted.
4120
8bf3b159
PA
41212015-03-19 Pedro Alves <palves@redhat.com>
4122
4123 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4124 (saw_thread_3): New globals.
4125 (top level): Increment them when an event for the corresponding
4126 thread is seen.
4127 (no thread starvation): New test.
4128
eb54c8bf
PA
41292015-03-19 Pedro Alves <palves@redhat.com>
4130
4131 * gdb.threads/continue-pending-status.c: New file.
4132 * gdb.threads/continue-pending-status.exp: New file.
4133
32d2e5d6
PA
41342015-03-18 Pedro Alves <palves@redhat.com>
4135
4136 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4137 Use gdb_is_target_remote instead of is_remote. Use
4138 gdb_test_multiple instead of gdb_expect. Exit early if
4139 gdb_test_multiple hits its internal matches. Tighten stepi tests
4140 expected output. Fail on exit with any signal, instead of just
4141 SIGILL.
4142
f68f11b7
YQ
41432015-03-18 Yao Qi <yao.qi@linaro.org>
4144
4145 PR tdep/18107
4146 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4147 variable.
4148 * gdb.base/catch-syscall.exp: Don't skip it on
4149 aarch64*-*-linux* target. Remove elements in all_syscalls.
4150 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4151 target.
4152 (setup_all_syscalls): New proc.
4153
ca5fd19b
YQ
41542015-03-16 Yao Qi <yao.qi@linaro.org>
4155
4156 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4157 (top level): Skip tests if valid_addr_p returns false for
4158 $cmd1 or $cmd2.
4159
85642ba0
AW
41602015-03-11 Andy Wingo <wingo@igalia.com>
4161
4162 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4163
e03f9645
YQ
41642015-03-11 Yao Qi <yao.qi@linaro.org>
4165
4166 * gdb.base/catch-syscall.exp: Fix typo in comments.
4167
5d0962b2
YQ
41682015-03-11 Yao Qi <yao.qi@linaro.org>
4169
4170 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4171
b2df3cef
PA
41722015-03-09 Pedro Alves <palves@redhat.com>
4173
4174 * dg-extract-results.py: Delete.
4175
ef878e53
PA
41762015-03-09 Pedro Alves <palves@redhat.com>
4177
4178 Merge dg-extract-results.sh from GCC upstream (r218843).
4179
4180 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4181 * dg-extract-results.sh: Use --text with grep to avoid issues with
4182 binary files. Fall back to cat -v, if that doesn't work.
4183
9494d219
PA
41842015-03-05 Pedro Alves <palves@redhat.com>
4185
4186 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4187
a8d9763a
SM
41882015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4189
4190 * lib/mi-support.exp (mi_expect_interrupt): Accept
4191 alternative event for when in all-stop mode.
4192
be9957b8
PA
41932015-03-04 Pedro Alves <palves@redhat.com>
4194
4195 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4196
d57be0f4 41972015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4198
4199 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4200
c214c7cf
AA
42012015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4202
4203 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4204 regexps for GDB's current line display, accept a hex address
4205 preceding the line number.
4206
6d74a497
AA
42072015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4208
4209 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4210 the 'arch1' variable for "s390*-linux*" targets.
4211
511aee7c
PA
42122015-03-04 Pedro Alves <palves@redhat.com>
4213
4214 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4215 (main): Pass missing retval argument to pthread_join call.
4216
95e50b27
PA
42172015-03-02 Pedro Alves <palves@redhat.com>
4218
4219 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4220 (top level): Call do_test with non-stop as well.
4221
28054d69
PA
42222015-03-02 Pedro Alves <palves@redhat.com>
4223
4224 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4225 -1.
4226
4fa5d7b4
AA
42272015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4228
4229 * gdb.arch/s390-vregs.exp: New test.
4230 * gdb.arch/s390-vregs.S: New file.
4231
97c18565
PA
42322015-02-27 Pedro Alves <palves@redhat.com>
4233
4234 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4235 call to catch_command_errors.
4236 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4237 catch_command_errors.
4238
a37bfa30
PA
42392015-02-27 Pedro Alves <palves@redhat.com>
4240
4241 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4242 "true" for boolean result.
4243 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4244 prototype of main.
4245
6f98576f
PA
42462015-02-27 Pedro Alves <palves@redhat.com>
4247
4248 * lib/unbuffer_output.c: New file.
4249 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4250 (main): Call gdb_unbuffer_output.
4251
eba5ab56
YQ
42522015-02-27 Yao Qi <yao.qi@linaro.org>
4253
4254 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4255 target.
4256
0def5aaa
DE
42572015-02-26 Doug Evans <dje@google.com>
4258
4259 * gdb.cp/class2.cc (Dbase, D): New classes.
4260 (main): New local delta.
4261 * gdb.cp/class2.exp: Test printing delta.
4262 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4263 (dynbar): New global.
4264 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4265
081a1c2c
JK
42662015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4267
4268 * gdb.compile/compile-ifunc.c: New file.
4269 * gdb.compile/compile-ifunc.exp: New file.
4270
2f41223f
AT
42712015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4272
4273 * gdb.base/structs.exp: Check for correct struct on finish.
4274
03eddd80
YQ
42752015-02-26 Yao Qi <yao.qi@linaro.org>
4276
4277 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4278 is zero.
4279
80c57053
JK
42802015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4281
4282 * gdb.arch/cordic.ko.bz2: New file.
4283 * gdb.arch/cordic.ko.debug.bz2: New file.
4284 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4285
21613c12
YQ
42862015-02-25 Yao Qi <yao.qi@linaro.org>
4287
4288 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4289 aarch64*-*-* target.
4290
d8b901ed
PA
42912015-02-23 Pedro Alves <palves@redhat.com>
4292
4293 * lib/gdb.exp (delete_breakpoints): Rewrite using
4294 gdb_test_multiple.
4295
e5b85ead
PA
42962015-02-23 Pedro Alves <palves@redhat.com>
4297
4298 * gdb.base/info-os.c: Include stdlib.h.
4299
85c3a371
DE
43002015-02-22 Doug Evans <xdje42@gmail.com>
4301
4302 PR symtab/17855
4303 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4304 is read after symbols have been re-read.
4305 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4306 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4307
96553a0c
DE
43082015-02-21 Doug Evans <dje@google.com>
4309
4310 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4311
97a0c697
JK
43122015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4313
4314 PR corefiles/17808
4315 * gdb.arch/i386-biarch-core.core.bz2: New file.
4316 * gdb.arch/i386-biarch-core.exp: New file.
4317
a47cd6e9
PA
43182015-02-21 Pedro Alves <palves@redhat.com>
4319
4320 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4321 runto_main fails.
4322
c5facdc4
PA
43232015-02-20 Pedro Alves <palves@redhat.com>
4324
4325 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4326 info probes.
4327
2db9a427
PA
43282015-02-20 Pedro Alves <palves@redhat.com>
4329
4330 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4331
60fb7e9e
PA
43322015-02-20 Pedro Alves <palves@redhat.com>
4333
4334 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4335 clean_restart before gdb_target_supports_trace.
4336
5c5019c2
PA
43372015-02-20 Pedro Alves <palves@redhat.com>
4338
4339 PR threads/18006
4340 * gdb.threads/clone-thread_db.c: New file.
4341 * gdb.threads/clone-thread_db.exp: New file.
4342
c9587f88
AT
43432015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4344
4345 PR breakpoints/16812
4346 * gdb.base/catch-gdb-caused-signals.c: New file.
4347 * gdb.base/catch-gdb-caused-signals.exp: New file.
4348
f6a88844
JM
43492015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4350
4351 * configure: Regenerated.
4352 * configure.ac: Use GDB_AC_TRANSFORM.
4353 * aclocal.m4: sinclude ../transform.m4.
4354
497c491b
JM
43552015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4356
4357 * lib/dtrace.exp: New file.
4358 * gdb.base/dtrace-probe.exp: Likewise.
4359 * gdb.base/dtrace-probe.d: Likewise.
4360 * gdb.base/dtrace-probe.c: Likewise.
4361 * lib/pdtrace.in: Likewise.
4362 * configure.ac: Output variables with the transformed names of
4363 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4364 * configure: Regenerated.
4365
03e98035
JM
43662015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4367
4368 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4369 expected message when trying to access $_probe_* convenience
4370 variables while not on a probe.
4371
63cc30e9
JK
43722015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4373
4374 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4375
0703599a
PA
43762015-02-11 Pedro Alves <pedro@codesourcery.com>
4377
4378 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4379 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4380
7e60a48e
DE
43812015-02-10 Doug Evans <xdje42@gmail.com>
4382
4383 * lib/gdb.exp (gdb_load): Always return a result.
4384
01b088bc
PA
43852015-02-10 Pedro Alves <palves@redhat.com>
4386
4387 * gdb.threads/signal-sigtrap.c: New file.
4388 * gdb.threads/signal-sigtrap.exp: New file.
4389
b05ec7a5
AT
43902015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4391
4392 * gdb.trace/no-attach-trace.c: New file.
4393 * gdb.trace/no-attach-trace.exp: New file.
4394
a2c2acaf
MW
43952015-02-09 Mark Wielaard <mjw@redhat.com>
4396
4397 * gdb.dwarf2/atomic.c: New file.
4398 * gdb.dwarf2/atomic-type.exp: Likewise.
4399
31fd9caa
MM
44002015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4401
4402 * gdb.btrace/buffer-size.exp: Update "info record" output.
4403 * gdb.btrace/delta.exp: Update "info record" output.
4404 * gdb.btrace/enable.exp: Update "info record" output.
4405 * gdb.btrace/finish.exp: Update "info record" output.
4406 * gdb.btrace/instruction_history.exp: Update "info record" output.
4407 * gdb.btrace/next.exp: Update "info record" output.
4408 * gdb.btrace/nexti.exp: Update "info record" output.
4409 * gdb.btrace/step.exp: Update "info record" output.
4410 * gdb.btrace/stepi.exp: Update "info record" output.
4411 * gdb.btrace/nohist.exp: Update "info record" output.
4412
d33501a5
MM
44132015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4414
4415 * gdb.btrace/buffer-size: New.
4416
f4abbc16
MM
44172015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4418
4419 * gdb.btrace/delta.exp: Update "info record" output.
4420 * gdb.btrace/enable.exp: Update "info record" output.
4421 * gdb.btrace/finish.exp: Update "info record" output.
4422 * gdb.btrace/instruction_history.exp: Update "info record" output.
4423 * gdb.btrace/next.exp: Update "info record" output.
4424 * gdb.btrace/nexti.exp: Update "info record" output.
4425 * gdb.btrace/step.exp: Update "info record" output.
4426 * gdb.btrace/stepi.exp: Update "info record" output.
4427 * gdb.btrace/nohist.exp: Update "info record" output.
4428
b9d61307
SM
44292015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4430
4431 PR gdb/15678
4432 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4433
e584fdbc
PA
44342015-02-06 Pedro Alves <palves@redhat.com>
4435
4436 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4437 macro.
4438 (seconds_left, again): New globals.
4439 (main): Wait seconds_left in a 1-second sleep loop instead of
4440 sleeping 180 seconds. If 'again' is set, reset the seconds
4441 counter.
4442 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4443 'again' in the inferior before detaching. Print the seconds left.
4444 (options): New global.
4445 (top level): Build program with -DTIMEOUT=$timeout.
4446
77f41761
PA
44472015-02-06 Pedro Alves <palves@redhat.com>
4448
4449 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4450 determine how many seconds to pass to 'alarm'.
4451 * gdb.base/gdb-sigterm.exp (top level): Build program with
4452 -DTIMEOUT=$timeout.
4453 (do_test): Return success/failure indication. Add more verbose
4454 logging. Don't fail if 200 single steps are seen. Instead, fail
4455 when the test times out.
4456 (passes): New global.
4457 (top level): Break the testing loop if testing fails on any
4458 iteration. Use gdb_assert.
4459
b9394193
DB
44602015-02-04 Don Breazeal <donb@codesourcery.com>
4461
4462 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4463 and initialize them.
4464 (ipc_cleanup): New function.
4465 (main): Don't declare shmid, semid, and msqid. Add a call to
4466 atexit so that we call ipc_cleanup on exit.
4467
42d9e528
PA
44682015-02-04 Pedro Alves <palves@redhat.com>
4469
4470 * boards/native-extended-gdbserver.exp: Remove any target variant
4471 specifications from the board name before clearing the isremote
4472 flag from board_info.
4473
ae6ae975
DE
44742015-01-31 Doug Evans <xdje42@gmail.com>
4475
4476 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4477
cfb069a8
GB
44782015-01-31 Gary Benson <gbenson@redhat.com>
4479
4480 * gdb.base/completion.exp: Disable completion limiting for
4481 existing tests. Add new tests to check completion limiting.
4482 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4483
5dd31d79
DE
44842015-01-31 Doug Evans <xdje42@gmail.com>
4485
4486 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4487
9f050062
DE
44882015-01-31 Doug Evans <xdje42@gmail.com>
4489
4490 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4491 entries. Duplicate file section script entries.
4492 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4493 inlined entries. Add test for safe-path rejection.
4494 * gdb.python/py-section-script.c: Add duplicate inlined section script
4495 entries. Duplicate file section script entries.
4496 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4497 inlined entries. Add test for safe-path rejection.
4498
df25ebbd
JB
44992015-01-29 Joel Brobecker <brobecker@adacore.com>
4500
4501 * gdb.ada/disc_arr_bound: New testcase.
4502
4a0ca9ec
JB
45032015-01-29 Joel Brobecker <brobecker@adacore.com>
4504
4505 * gdb.ada/mi_var_array: New testcase.
4506
3a8b707a
DE
45072015-01-27 Doug Evans <dje@google.com>
4508
4509 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4510 Add test for objfile.filename, objfile.username after objfile
4511 has been unloaded.
4512
f8313f6e
JB
45132015-01-26 Joel Brobecker <brobecker@adacore.com>
4514
4515 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4516 the second test to print the name attribute of value
4517 returned by the call to gdb.lookup_type, and adjust
4518 the expected output accordingly.
4519
37bc665e
MW
45202015-01-25 Mark Wielaard <mjw@redhat.com>
4521
4522 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4523 * gdb.base/disp-step-fork.c: Include unistd.h.
4524 * gdb.base/siginfo-obj.c: Include stdio.h.
4525 * gdb.base/siginfo-thread.c: Likewise.
4526 * gdb.mi/non-stop.c: Include unistd.h.
4527 * gdb.mi/nsthrexec.c: Include stdio.h.
4528 * gdb.mi/pthreads.c: Include unistd.h.
4529 * gdb.modula2/unbounded1.c (main): Declare returns int.
4530 * gdb.reverse/consecutive-reverse.c: Likewise.
4531 * gdb.threads/create-fail.c: Include unistd.h.
4532 * gdb.threads/killed.c: Likewise.
4533 * gdb.threads/linux-dp.c: Likewise.
4534 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4535 * gdb.threads/non-ldr-exc-2.c: Likewise.
4536 * gdb.threads/non-ldr-exc-3.c: Likewise.
4537 * gdb.threads/non-ldr-exc-4.c: Likewise.
4538 * gdb.threads/pthreads.c: Include unistd.h.
4539 (main): Declare returns int.
4540 * gdb.threads/tls-main.c (foo): New declaration.
4541 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4542
f7e5394d
SM
45432015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4544
4545 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4546 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4547
743649fd
MW
45482015-01-15 Mark Wielaard <mjw@redhat.com>
4549
4550 * gdb.base/noreturn-return.c: New file.
4551 * gdb.base/noreturn-return.exp: New file.
4552 * gdb.base/noreturn-finish.c: New file.
4553 * gdb.base/noreturn-finish.exp: New file.
4554
198297aa
PA
45552015-01-23 Pedro Alves <palves@redhat.com>
4556
4557 * gdb.threads/continue-pending-after-query.c: New file.
4558 * gdb.threads/continue-pending-after-query.exp: New file.
4559
717cf30c
AG
45602015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4561 Simon Marchi <simon.marchi@ericsson.com>
4562
4563 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4564 * gdb.base/valgrind-db-attach.exp: Same.
4565 * gdb.base/valgrind-infcall.exp: Same.
4566 * lib/mi-support.exp (default_mi_gdb_start): Same.
4567 * lib/prompt.exp (default_prompt_gdb_start): Same.
4568 * lib/gdb.exp (default_gdb_spawn): Same.
4569 (gdb_interact): New.
4570
4571
4b62a76e
JK
45722015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4573
4574 * gdb.compile/compile.exp (pointer to jit function): New test.
4575
b4cdae6f
WW
45762015-01-17 Wei-cheng Wang <cole945@gmail.com>
4577
4578 * lib/gdb.exp (supports_process_record): Return true for
4579 powerpc*-*-linux*.
4580 (supports_reverse): Likewise.
4581
d221e7ef
DB
45822015-01-15 Don Breazeal <donb@codesourcery.com>
4583
4584 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4585 instead of checking whether the target board is remote and
4586 use spawn_wait_for_attach instead of exec/sleep.
4587 * gdb.base/attach-twice.exp: Likewise.
4588
bafffb51
JB
45892015-01-15 Joel Brobecker <brobecker@adacore.com>
4590
4591 * gdb.ada/var_arr_attrs: New testcase.
4592
5589af0e
PA
45932015-01-14 Pedro Alves <palves@redhat.com>
4594 Joel Brobecker <brobecker@adacore.com>
4595
4596 PR gdb/17525
4597 * gdb.base/bp-cmds-execution-x-script.c: New file.
4598 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4599 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4600
6c400b59
PA
46012015-01-14 Pedro Alves <palves@redhat.com>
4602
4603 PR cli/17828
4604 * gdb.base/batch-preserve-term-settings.c: New file.
4605 * gdb.base/batch-preserve-term-settings.exp: New file.
4606
e02c96a7
DE
46072015-01-13 Doug Evans <dje@google.com>
4608
4609 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4610 binary.
4611
576fd14c
JB
46122015-01-13 Joel Brobecker <brobecker@adacore.com>
4613
4614 * Makefile.in (clean mostlyclean): Do not delete *.py.
4615
04dccad0
JB
46162015-01-13 Joel Brobecker <brobecker@adacore.com>
4617
4618 * gdb.python/py-lookup-type.exp: New file.
4619
3d230f71
PA
46202015-01-12 Pedro Alves <palves@redhat.com>
4621
4622 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4623 restore GDBFLAGS before returning.
4624
7e67715d
JK
46252015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4626
4627 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4628 is_amd64_regs_target and is_x86_like_target.
4629
f2e0d4b4
DE
46302015-01-11 Doug Evans <xdje42@gmail.com>
4631
4632 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4633 is given without an explicit form.
4634 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4635 attributes.
4636 * gdb.dwarf/corrupt.exp: Ditto.
4637 * gdb.dwarf2/enum-type.exp: Ditto.
4638 * gdb.trace/entry-values.exp: Ditto.
4639 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4640
439250fb
DE
46412015-01-11 Doug Evans <xdje42@gmail.com>
4642
4643 PR gdb/15830
4644 * gdb.base/maint.exp: Remove references to "maint demangle".
4645 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4646 Add tests for explicitly specifying language to demangle.
4647 * gdb.dlang/demangle.exp: Ditto.
4648
ede9f622
PA
46492015-01-09 Pedro Alves <palves@redhat.com>
4650
4651 * gdb.threads/non-stop-fair-events.c: New file.
4652 * gdb.threads/non-stop-fair-events.exp: New file.
4653
a7b796db
PA
46542015-01-09 Pedro Alves <palves@redhat.com>
4655
4656 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4657 the global scope. Set a breakpoint after all threads are started
4658 rather than stepping over two source lines. Expect the prompt.
4659 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4660 global.
4661 (NUM): Now 15.
4662 (main): Use threads_started_barrier to wait for all threads to
4663 start. Main thread no longer calls thread_function. Exit after
4664 180 seconds.
4665 (loop): New function.
4666 (thread_function): Wait on threads_started_barrier barrier. Call
4667 'loop' at each iteration.
4668 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4669 threads have started, instead of hardcoding number of "next"
4670 steps. Use an access watchpoint instead of a write watchpoint.
4671
9665ffdd
PA
46722015-01-09 Pedro Alves <palves@redhat.com>
4673
4674 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4675 (thread_func): Wait on barrier.
4676 (main): Wait for all threads to start before stopping GDB.
4677 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4678 global.
4679 (thread1_func, thread2_func): Wait on barrier.
4680 (main): Wait for all threads to start before stopping GDB.
4681 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4682 New global.
4683 (thread1_func, thread2_func): Wait on barrier.
4684 (main): Wait for all threads to start before stopping GDB.
4685
c945a99f
PA
46862015-01-09 Pedro Alves <palves@redhat.com>
4687
4688 * gdb.threads/attach-many-short-lived-threads.c: New file.
4689 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4690
c1a747c1
PA
46912014-01-09 Pedro Alves <palves@redhat.com>
4692
4693 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4694 instead of to thread 2.
4695 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4696 Add barrier around each pthread_create call instead of around all
4697 calls.
4698 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4699 Set a break on thread_function and have the child threads hit it
4700 one at at a time.
4701
60b3033e
PA
47022015-01-09 Pedro Alves <palves@redhat.com>
4703
4704 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4705 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4706 false.
4707 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4708 checking whether the target board is remote.
4709 * gdb.multi/multi-attach.exp: Likewise.
4710 * gdb.python/py-sync-interp.exp: Likewise.
4711 * gdb.server/ext-attach.exp: Likewise.
4712 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4713 tests that need to attach, instead of checking whether the target
4714 board is remote at the top of the file.
4715
acc018ac
YQ
47162015-01-08 Yao Qi <yao@codesourcery.com>
4717
4718 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4719
50a18af8
JK
47202015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4721
4722 Fix testcase compilation.
4723 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4724
8503d6e1
JB
47252015-01-06 Joel Brobecker <brobecker@adacore.com>
4726
4727 * gdb.python/py-type.exp: Add a couple test about empty
4728 array creation, and negative-length array creation.
4729
cc73dbcc
DE
47302015-01-02 Doug Evans <xdje42@gmail.com>
4731
4732 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4733
0300bbc7
DE
47342015-01-02 Doug Evans <dje@google.com>
4735
4736 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4737
9d85a0ec
YQ
47382014-12-29 Yao Qi <yao@codesourcery.com>
4739
4740 * gdb.trace/entry-values.exp: Update comments. Rename variable
4741 bar_call_foo to returned_from_foo.
4742
87186c6a
MMN
47432014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4744
4745 PR gdb/17394
4746 * gdb.linespec/break-asm-file.c: New file.
4747 * gdb.linespec/break-asm-file.exp: New file.
4748 * gdb.linespec/break-asm-file0.s: New file.
4749 * gdb.linespec/break-asm-file1.s: New file.
4750
1bab7383
YQ
47512014-12-18 Nigel Stephens <nigel@mips.com>
4752 Maciej W. Rozycki <macro@codesourcery.com>
4753
4754 * gdb.base/float.exp: Handle the new output from "info float" on
4755 MIPS targets.
4756
1bc1068a
JK
47572014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4758
4759 Fix MinGW compilation.
4760 * gdb.compile/compile-ops.exp: Update untested message if
4761 !skip_compile_feature_tests.
4762 * gdb.compile/compile-setjmp.exp: Likewise.
4763 * gdb.compile/compile-tls.exp: Likewise.
4764 * gdb.compile/compile.exp: Likewise.
4765 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4766 supported on this host".
4767
b6615d10
DE
47682014-12-16 Doug Evans <xdje42@gmail.com>
4769
4770 * boards/stabs.exp: New file.
4771
25dda427
AA
47722014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4773
4774 * gdb.base/completion.exp: Adjust to format changes of "maint
4775 print user-registers".
4776
bf330350
CU
47772014-12-16 Catalin Udma <catalin.udma@freescale.com>
4778
4779 PR server/17457
4780 * gdb.arch/aarch64-fp.c: New file.
4781 * gdb.arch/aarch64-fp.exp: New file.
4782
395cf596
SDJ
47832014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4784
4785 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4786 r210637, r210913, r211666, r215400, r215817).
4787
4788 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4789 * dg-extract-results.py: New file.
4790 * dg-extract-results.sh: Use it if the environment seems
4791 suitable.
4792
4793 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4794
4795 * dg-extract-results.py (parse_run): Handle warnings that
4796 are printed before a test harness is run.
4797
4798 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4799
4800 * dg-extract-results.py (Named): Remove __cmp__ method.
4801 (output_variation): Use a key to sort variation.harnesses.
4802
4803 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4804
4805 * dg-extract-results.py: For Python 3, force sys.stdout to
4806 handle surrogate escape sequences.
4807 (safe_open): New function.
4808 (output_segment, main): Use it.
4809
4810 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4811
4812 * dg-extract-results.py (Prog.result_re): Include options
4813 in test name.
4814
4815 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4816
4817 * dg-extract-results.py (output_variation): Always sort if
4818 do_sum.
4819
e882ef3c
SM
48202014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4821
4822 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4823 as long as we get pagination notifications.
4824
4992aa20
JM
48252014-12-15 Jason Merrill <jason@redhat.com>
4826
4827 * Makefile.in (check-gdb.%): Restore.
4828 * README: Mention it.
4829
c1b5a1a6
JB
48302014-12-13 Joel Brobecker <brobecker@adacore.com>
4831
4832 * gdb.ada/str_uninit: New testcase.
4833
5537b577
JK
48342014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4835
4836 PR symtab/17642
4837 * gdb.base/vla-stub-define.c: New file.
4838 * gdb.base/vla-stub.c: New file.
4839 * gdb.base/vla-stub.exp: New file.
4840
bb2ec1b3
TT
48412014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4842 Jan Kratochvil <jan.kratochvil@redhat.com>
4843 Tom Tromey <tromey@redhat.com>
4844
4845 * configure.ac: Add gdb.compile/.
4846 * configure: Regenerate.
4847 * gdb.compile/Makefile.in: New file.
4848 * gdb.compile/compile-ops.exp: New file.
4849 * gdb.compile/compile-ops.c: New file.
4850 * gdb.compile/compile-tls.c: New file.
4851 * gdb.compile/compile-tls.exp: New file.
4852 * gdb.compile/compile-constvar.S: New file.
4853 * gdb.compile/compile-constvar.c: New file.
4854 * gdb.compile/compile-mod.c: New file.
4855 * gdb.compile/compile-nodebug.c: New file.
4856 * gdb.compile/compile-setjmp-mod.c: New file.
4857 * gdb.compile/compile-setjmp.c: New file.
4858 * gdb.compile/compile-setjmp.exp: New file.
4859 * gdb.compile/compile-shlib.c: New file.
4860 * gdb.compile/compile.c: New file.
4861 * gdb.compile/compile.exp: New file.
4862 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4863
4ff709eb
TT
48642014-12-12 Tom Tromey <tromey@redhat.com>
4865
4866 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4867 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4868
6dddd6a5
DE
48692014-12-12 Doug Evans <dje@google.com>
4870
4871 * lib/gdb-python.exp (get_python_valueof): New function.
4872 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4873
71c24708
AA
48742014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4875
4876 * gdb.base/completion.exp: Add test for completion of "info
4877 registers ".
4878
3e29f34a
MR
48792014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4880
4881 * gdb.base/func-ptrs.c: New file.
4882 * gdb.base/func-ptrs.exp: New file.
4883
fc126975
SM
48842014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4885
4886 PR breakpoints/17012
4887 * gdb.base/dprintf-detach.c: New file.
4888 * gdb.base/dprintf-detach.exp: New file.
4889
0a46d518
SM
48902014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4891
4892 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4893 * lib/gdb.exp (target_is_gdbserver): New procedure.
4894
a0be3e44
DE
48952014-12-08 Doug Evans <dje@google.com>
4896
4897 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4898
df1b803a
YQ
48992014-12-05 Yao Qi <yao@codesourcery.com>
4900
4901 * gdb.guile/scm-error.exp: Remove the third argument to
4902 gdb_remote_download.
4903 * gdb.guile/scm-frame-args.exp: Likewise.
4904 * gdb.guile/scm-section-script.exp: Likewise.
4905
ddb9f679
YQ
49062014-12-05 Yao Qi <yao@codesourcery.com>
4907
4908 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4909
86e4ed39
DE
49102014-12-04 Doug Evans <dje@google.com>
4911
4912 * gdb.python/py-objfile.exp: Add tests for
4913 objfile.add_separate_debug_file.
4914
7c50a931
DE
49152014-12-04 Doug Evans <dje@google.com>
4916
4917 * lib/gdb.exp (get_build_id): New function.
4918 (build_id_debug_filename_get): Rewrite to use it.
4919 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4920
621661e3
MR
49212014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4922
4923 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4924 `method(long)', not just 0x0.
4925 * gdb.cp/nsalias.exp: Align code labels to 4.
4926 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4927 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4928 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4929 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4930 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4931 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4932
29f0c3b7
DE
49332014-12-02 Doug Evans <dje@google.com>
4934
e1e061e7 4935 PR symtab/17602
29f0c3b7 4936 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4937 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4938 * gdb.cp/anon-ns.exp: Update.
4939
162078c8
NB
49402014-12-02 Nick Bull <nicholaspbull@gmail.com>
4941
4942 * gdb.python/py-events.py (inferior_call_handler): New.
4943 (register_changed_handler, memory_changed_handler): New.
4944 (test_events.invoke): Register new handlers.
4945 * gdb.python/py-events.exp: Add tests for inferior call,
4946 memory_changed and register_changed events.
4947
fdb09caf
AA
49482014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4949
4950 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4951 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4952 if the linker doesn't understand this.
4953
55cfb2c4
SM
49542014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4955
4956 * gdb.python/python.exp: Change expected reply to help().
4957
9e8cd6df
YQ
49582014-12-01 Yao Qi <yao@codesourcery.com>
4959
4960 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4961 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4962 * configure: Re-generated.
4963
6c659fc2
SC
49642014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4965
4966 * gdb.cp/chained-calls.cc: New file.
4967 * gdb.cp/chained-calls.exp: New file.
4968 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4969
d7fc3181
SM
49702014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4971
4972 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4973 * gdb.dwarf2/symtab-producer.exp: Same.
4974 * gdb.gdb/python-interrupts.exp: Same.
4975 * gdb.gdb/python-selftest.exp: Same.
4976 * gdb.python/py-linetable.exp: Same.
4977 * gdb.python/py-type.exp: Same.
4978 * gdb.python/py-value-cc.exp: Same.
4979 * gdb.python/py-value.exp: Same.
4980
10e79639
YQ
49812014-11-28 Yao Qi <yao@codesourcery.com>
4982
4983 * gdb.base/break-probes.exp: Match library name prefixed with
4984 sysroot.
4985
f28a0564
SM
49862014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4987
4988 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4989 test expected output. Add parentheses for the call to print.
4990 Remove L suffix from integers.
4991
3fe1ce1d
DE
49922014-11-26 Doug Evans <dje@google.com>
4993
4994 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4995
84429e27
YQ
49962014-11-22 Yao Qi <yao@codesourcery.com>
4997
4998 * gdb.trace/entry-values.c: Remove asms.
4999 (foo): Add foo_label.
5000 (bar): Add bar_label.
5001 * gdb.trace/entry-values.exp: Remove code computing foo's
5002 length and bar's length.
5003 (Dwarf::assemble): Invoke function_range for bar and use
5004 MACRO_AT_func for foo.
5005
26741859
YQ
50062014-11-22 Yao Qi <yao@codesourcery.com>
5007
5008 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5009 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5010 Use .Lgcc43_procstart instead of gcc43.
5011
45e44d27
JB
50122014-11-21 Joel Brobecker <brobecker@adacore.com>
5013
5014 * gdb.ada/n_arr_bound: New testcase.
5015
458c8db8
SDJ
50162014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5017
5018 PR breakpoints/10737
5019 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5020 test_catch_syscall_multi_arch.
5021 (test_catch_syscall_multi_arch): New function.
5022
43f3e411
DE
50232014-11-20 Doug Evans <xdje42@gmail.com>
5024
5025 * gdb.base/maint.exp: Update expected output.
5026
0d7b2549
AA
50272014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5028
5029 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5030 4-byte instruction on S390.
5031
8908fca5
JB
50322014-11-19 Joel Brobecker <brobecker@adacore.com>
5033
5034 * gdb.ada/arr_arr: New testcase.
5035
4a46959e
JB
50362014-11-19 Joel Brobecker <brobecker@adacore.com>
5037
5038 * gdb.ada/pkd_arr_elem: New Testcase.
5039
470e2f4e
LM
50402014-11-18 Luis Machado <lgustavo@codesourcery.com>
5041
5042 * gdb.reverse/break-precsave: Expect completion message for
5043 core file reads.
5044 * gdb.reverse/consecutive-precsave.exp: Likewise.
5045 * gdb.reverse/finish-precsave.exp: Likewise.
5046 * gdb.reverse/i386-precsave.exp: Likewise.
5047 * gdb.reverse/machinestate-precsave.exp: Likewise.
5048 * gdb.reverse/sigall-precsave.exp: Likewise.
5049 * gdb.reverse/solib-precsave.exp: Likewise.
5050 * gdb.reverse/step-precsave.exp: Likewise.
5051 * gdb.reverse/until-precsave.exp: Likewise.
5052 * gdb.reverse/watch-precsave.exp: Likewise.
5053
a267f3ad
AA
50542014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5055
5056 * gdb.base/bp-permanent.c: Include unistd.h.
5057 * gdb.python/py-framefilter-mi.c (main): Add return type.
5058 * gdb.python/py-framefilter.c (main): Likewise.
5059 * gdb.trace/actions-changed.c (main): Likewise.
5060
12084a9a
AA
50612014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5062
5063 * gdb.mi/until.c: Add eye-catchers.
5064 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5065 line numbers.
5066
dc7e1a77
AA
50672014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5068
5069 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5070 function header variants in break1.c.
5071 * gdb.base/ena-dis-br.exp: Likewise.
5072 * gdb.base/hbreak2.exp: Likewise.
5073 * gdb.reverse/until-precsave.exp: Drop references to removed
5074 non-prototype function header variants in ur1.c.
5075 * gdb.reverse/until-reverse.exp: Likewise.
5076
41c77605
PM
50772014-11-17 Petr Machata <pmachata@redhat.com>
5078
5079 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5080 ${_cu_offset_size} bytes abbrev offset.
5081
34248c3a
DE
50822014-11-15 Doug Evans <xdje42@gmail.com>
5083
5084 PR symtab/17559
5085 * gdb.base/line-symtabs.exp: New file.
5086 * gdb.base/line-symtabs.c: New file.
5087 * gdb.base/line-symtabs.h: New file.
5088
646da059
YQ
50892014-11-14 Yao Qi <yao@codesourcery.com>
5090
5091 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5092 (func): Add label func_label.
5093 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5094 Replace low_pc and high_pc with MACRO_AT_range.
5095 Replace name, low_pc and high_pc with MACRO_AT_func.
5096
9301ebe6
YQ
50972014-11-14 Yao Qi <yao@codesourcery.com>
5098
5099 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5100 Replace name, low_pc and high_pc with MACRO_AT_func.
5101
f166b542
YQ
51022014-11-14 Yao Qi <yao@codesourcery.com>
5103
5104 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5105 produce debug information.
5106 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5107
0f6e71e3
YQ
51082014-11-14 Yao Qi <yao@codesourcery.com>
5109
5110 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5111 object and get function length.
5112 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5113 with MACRO_AT_func.
5114 (top-level): Replace gdb_compile and clean_restart with
5115 prepare_for_testing.
5116 * gdb.dwarf2/main.c (main): Add label main_label.
5117
876c4df9
YQ
51182014-11-14 Yao Qi <yao@codesourcery.com>
5119
5120 * lib/dwarf.exp (function_range): New procedure.
5121 (Dwarf::_handle_macro_at_func): New procedure.
5122 (Dwarf::_handle_macro_at_range): New procedure.
5123 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5124
02ad9cf1
YQ
51252014-11-14 Yao Qi <yao@codesourcery.com>
5126
5127 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5128 (_handle_attribute): New procedure.
5129
a59add0c
AA
51302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5131
5132 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5133 * gdb.base/call-sc.c (zed): Likewise.
5134 * gdb.base/checkpoint.c (main): Likewise.
5135 * gdb.base/dump.c (main): Likewise.
5136 * gdb.base/gcore.c (main): Likewise.
5137 * gdb.base/huge.c (main): Likewise.
5138 * gdb.base/multi-forks.c (main): Likewise.
5139 * gdb.base/pr10179-a.c (main): Likewise.
5140 * gdb.base/savedregs.c (main): Likewise.
5141 * gdb.base/sigaltstack.c (main): Likewise.
5142 * gdb.base/siginfo.c (main): Likewise.
5143 * gdb.base/structs.c (zed): Likewise.
5144 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5145 * gdb.mi/mi-syn-frame.c (main): Likewise.
5146 * gdb.mi/until.c (foo, main): Likewise.
5147 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5148 * gdb.base/solib-weak.c (foo): Declare.
5149 * gdb.base/attach-twice.c: Include stdio.h.
5150 * gdb.base/weaklib1.c: Likewise.
5151 * gdb.base/weaklib2.c: Likewise.
5152 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5153 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5154 unistd.h.
5155 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5156 * gdb.mi/mi-exit-code.c: Likewise.
5157 * gdb.base/break-interp-lib.c: Include string.h.
5158 * gdb.base/coremaker.c: Likewise.
5159 * gdb.base/testenv.c: Likewise.
5160 * gdb.python/py-finish-breakpoint.c: Likewise.
5161 * gdb.base/inferior-died.c: Include sys/wait.h.
5162 * gdb.base/fileio.c: Include time.h.
5163 * gdb.base/async-shell.c: Include unistd.h.
5164 * gdb.base/dprintf-non-stop.c: Likewise.
5165 * gdb.base/info-os.c: Likewise.
5166 * gdb.mi/mi-console.c: Likewise.
5167 * gdb.mi/watch-nonstop.c: Likewise.
5168 * gdb.python/py-events.c: Likewise.
5169 * gdb.base/async.c (baz): Move up before its invocation.
5170 * gdb.base/code_elim2.c (my_global_func): Likewise.
5171 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5172 * gdb.base/advance.c (func2): Likewise.
5173
3b5d5997
AA
51742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5175
5176 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5177 variant.
5178 * gdb.base/annota3.c: Likewise.
5179 * gdb.base/async.c: Likewise.
5180 * gdb.base/average.c: Likewise.
5181 * gdb.base/call-ar-st.c: Likewise.
5182 * gdb.base/call-rt-st.c: Likewise.
5183 * gdb.base/call-sc.c: Likewise.
5184 * gdb.base/call-strs.c: Likewise.
5185 * gdb.base/ending-run.c: Likewise.
5186 * gdb.base/execd-prog.c: Likewise.
5187 * gdb.base/exprs.c: Likewise.
5188 * gdb.base/foll-exec.c: Likewise.
5189 * gdb.base/foll-fork.c: Likewise.
5190 * gdb.base/foll-vfork.c: Likewise.
5191 * gdb.base/funcargs.c: Likewise.
5192 * gdb.base/gcore.c: Likewise.
5193 * gdb.base/jump.c: Likewise.
5194 * gdb.base/langs0.c: Likewise.
5195 * gdb.base/langs1.c: Likewise.
5196 * gdb.base/langs2.c: Likewise.
5197 * gdb.base/mips_pro.c: Likewise.
5198 * gdb.base/nodebug.c: Likewise.
5199 * gdb.base/opaque0.c: Likewise.
5200 * gdb.base/opaque1.c: Likewise.
5201 * gdb.base/recurse.c: Likewise.
5202 * gdb.base/run.c: Likewise.
5203 * gdb.base/scope0.c: Likewise.
5204 * gdb.base/scope1.c: Likewise.
5205 * gdb.base/setshow.c: Likewise.
5206 * gdb.base/setvar.c: Likewise.
5207 * gdb.base/shmain.c: Likewise.
5208 * gdb.base/shr1.c: Likewise.
5209 * gdb.base/shr2.c: Likewise.
5210 * gdb.base/sigall.c: Likewise.
5211 * gdb.base/signals.c: Likewise.
5212 * gdb.base/so-indr-cl.c: Likewise.
5213 * gdb.base/solib2.c: Likewise.
5214 * gdb.base/structs.c: Likewise.
5215 * gdb.base/sum.c: Likewise.
5216 * gdb.base/vforked-prog.c: Likewise.
5217 * gdb.base/watchpoint.c: Likewise.
5218 * gdb.reverse/shr2.c: Likewise.
5219 * gdb.reverse/until-reverse.c: Likewise.
5220 * gdb.reverse/ur1.c: Likewise.
5221 * gdb.reverse/watch-reverse.c: Likewise.
5222
066a77c5
AA
52232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5224
5225 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5226 variant.
5227 * gdb.base/sepdebug.exp: Drop references to removed code.
5228
4f204ea5
AA
52292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5230
5231 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5232 variant. Preserve original line numbering.
5233 * gdb.base/list1.c: Likewise.
5234
3b377a3a
AA
52352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5236
5237 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5238 variant.
5239 * gdb.base/break1.c: Likewise.
5240 * gdb.base/break.exp: Drop references to removed code.
5241
e444df73
AA
52422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5243
5244 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5245 variant.
5246
8008f2a7
AA
52472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5248
5249 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5250
a5a06887
AA
52512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5252
5253 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5254 logic into perform_all_tests() and invoke it with and without
5255 function header prototypes.
5256 (do_function_calls): Remove conditional XFAIL for PR 5318.
5257 (rerun_and_prepare): Remove duplicate code.
5258 (perform_all_tests): New. Main logic moved here.
5259
44dba9b9
AA
52602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5261
5262 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5263 code guarded by #ifdef NO_PROTOTYPES.
5264 (t_double_many_args): Likewise.
5265 (DEF_FUNC_MANY_ARGS_1): Likewise.
5266 (DEF_FUNC_VALUES_1): Likewise.
5267 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5268 guarded by #ifdef PROTOTYPES.
5269
d1fbcd56
AA
52702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5271
5272 * gdb.mi/mi-console.c: Add eye-catcher.
5273 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5274 instead of literal line number.
5275
b0e59b8f
AA
52762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5277
5278 * gdb.base/shr2.c: Add eye-catcher.
5279 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5280 line number.
5281
78f98cca
AA
52822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5283
5284 * gdb.base/jump.c: Add eye-catchers.
5285 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5286 numbers.
5287
58fa2af0
AA
52882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5289
5290 * gdb.base/execd-prog.c: Add eye-catchers.
5291 * gdb.base/foll-exec.c: Likewise.
5292 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5293 line numbers.
5294
04e5059b
AA
52952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5296
5297 * gdb.base/ending-run.c: Add eye-catchers.
5298 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5299 literal line numbers.
5300
dbfdb174
AA
53012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5302
5303 * gdb.base/call-rt-st.c: Add eye-catchers.
5304 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5305 literal line numbers.
5306
888a2ade
AA
53072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5308
5309 * gdb.base/call-ar-st.c: Add eye-catchers.
5310 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5311 literal line numbers.
5312
6acc2dde
AA
53132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5314
5315 * gdb.base/average.c: Add eye-catchers.
5316 * gdb.base/sum.c: Likewise.
5317 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5318 regexps dynamically.
5319
9ecfcd1d
AA
53202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5321
5322 * gdb.base/solib1.c: Add eye-catchers.
5323 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5324 literal line numbers.
5325
78708b7c
PA
53262014-11-12 Pedro Alves <palves@redhat.com>
5327
5328 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5329 leader has exited.
5330
af48d08f
PA
53312014-11-12 Pedro Alves <palves@redhat.com>
5332
5333 * gdb.arch/i386-bp_permanent.c: New file.
5334 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5335 (srcfile): Set to i386-bp_permanent.c.
5336 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5337 that stepi does not execute the 'leave' instruction, instead of
5338 testing it does execute.
5339 * gdb.base/bp-permanent.c: New file.
5340 * gdb.base/bp-permanent.exp: New file.
5341
af3768e9
DE
53422014-11-10 Doug Evans <xdje42@gmail.com>
5343
5344 PR symtab/17564
5345 * gdb.base/symtab-search-order.exp: New file.
5346 * gdb.base/symtab-search-order.c: New file.
5347 * gdb.base/symtab-search-order-1.c: New file.
5348 * gdb.base/symtab-search-order-shlib-1.c: New file.
5349
9de00a4a
PA
53502014-11-07 Pedro Alves <palves@redhat.com>
5351
5352 PR gdb/17511
5353 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5354 i?86-*-linux*.
5355
e0f52461
SC
53562014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5357
5358 PR c++/17494
5359 * gdb.cp/pr17494.cc: New file.
5360 * gdb.cp/pr17494.exp: New file.
5361
6ce8c980
YQ
53622014-11-02 Yao Qi <yao@codesourcery.com>
5363
5364 * gdb.python/python.exp: Get working directory and match the
5365 output of "set extended-prompt \\w " with it.
5366
02be9a71
DE
53672014-10-30 Doug Evans <dje@google.com>
5368
5369 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5370 in objfiles.
5371 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5372 in progspaces.
5373
3bdff46b
LM
53742014-10-30 Janis Johnson <janisjo@codesourcery.com>
5375
5376 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5377 * gdb.base/realname-expand.exp: Likewise.
5378 * gdb.linespec/macro-relative.exp: Likewise.
5379
ab917dfb
PA
53802014-10-29 Pedro Alves <palves@redhat.com>
5381
5382 PR gdb/17408
5383 * gdb.threads/schedlock.c (some_function): New function.
5384 (call_function): New global.
5385 (MAYBE_CALL_SOME_FUNCTION): New macro.
5386 (thread_function): Call it.
5387 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5388 and use it instead of a global counter. Adjust all callers.
5389 (get_current_thread): Use "find current thread" for test message
5390 here rather than having all callers pass down the same string.
5391 (goto_loop): New procedure, factored out from ...
5392 (my_continue): ... this.
5393 (step_ten_loops): Change parameter from test message to command to
5394 use. Adjust.
5395 (list_count): Delete global.
5396 (check_result): New procedure, factored out from duplicate top
5397 level code.
5398 (continue tests): Wrap in with_test_prefix.
5399 (test_step): New procedure, factored out from duplicate top level
5400 code.
5401 (top level): Test "step" in combination with all scheduler-locking
5402 modes. Test "next" in combination with all scheduler-locking
5403 modes, and in combination with stepping over a function call or
5404 not.
5405 * gdb.threads/next-bp-other-thread.c: New file.
5406 * gdb.threads/next-bp-other-thread.exp: New file.
5407
d3d4baed
PA
54082014-10-29 Pedro Alves <palves@redhat.com>
5409
5410 PR python/17372
5411 * gdb.python/python.exp: Test a multi-line command that spawns
5412 interactive Python.
5413 * gdb.base/multi-line-starts-subshell.exp: New file.
5414
563e8d85
YQ
54152014-10-29 Yao Qi <yao@codesourcery.com>
5416
5417 * gdb.base/fileio.exp: Make directories on host.
5418
0ea4d52e
YQ
54192014-10-29 Yao Qi <yao@codesourcery.com>
5420
5421 * gdb.base/fileio.c (test_write): Close the file.
5422
7f5ef605
PA
54232014-10-28 Pedro Alves <palves@redhat.com>
5424
5425 PR gdb/12623
5426 * gdb.base/sigstep.c (no_handler): New global.
5427 (main): If 'no_handler is true, set the signal handlers to
5428 SIG_IGN.
5429 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5430 with_sw_watch and no_handler parameters. Handle them.
5431 (top level) <stepping over handler when stopped at a breakpoint
5432 test>: Add a test axis for testing with a software watchpoint, and
5433 another for testing with the signal handler set to SIG_IGN.
5434 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5435 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5436
abbdbd03
PA
54372014-10-28 Pedro Alves <palves@redhat.com>
5438
5439 PR gdb/17511
5440 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5441 * gdb.base/sigstep.exp (other_handler_location): New global.
5442 (advance): Support stepping into the signal handler, and running
5443 commands while in the handler.
5444 (in_handler_map): New global.
5445 (top level): In the advance test, add combinations for getting
5446 into the handler with stepping commands, and for running commands
5447 in the handler. Add comment descripting the advancei tests.
5448
1df4399f
PA
54492014-10-28 Pedro Alves <palves@redhat.com>
5450
5451 * gdb.base/sigstep.exp: Use build_executable instead of
5452 prepare_for_testing.
5453 (top level): Move code that starts GDB, runs to main and creates a
5454 display to ...
5455 (restart): ... this new procedure.
5456 (top level): Move backtrace from signal handler test to ...
5457 (validate_backtrace): ... this new procedure.
5458 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5459 with_test_prefix. Always restart GDB.
5460 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5461 with_test_prefix. Always restart GDB. No need to delete
5462 breakpoints after the test.
5463 (test_skip_handler): Remove prefix parameter.
5464 (skip_over_handler, breakpoint_to_handler)
5465 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5466 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5467 restart GDB. No need to delete breakpoints after the test.
5468 (top level): Use foreach to call the test procedures with
5469 different commands.
5470
a5b6e449
PA
54712014-10-28 Pedro Alves <palves@redhat.com>
5472
5473 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5474 instead of GNATS numbers.
5475 * gdb.base/sigbpt.exp: Likewise.
5476 * gdb.base/siginfo.exp: Likewise.
5477 * gdb.base/sigstep.exp: Likewise.
5478
e5f8a7cc
PA
54792014-10-27 Pedro Alves <palves@redhat.com>
5480
5481 * gdb.base/sigstep.c (dummy): New global.
5482 (main): Issue a couple writes to the new global.
5483 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5484 procedures.
5485 (skip_over_handler): Use test_skip_handler.
5486 (top level): Call skip_over_handler for stepi and nexti too.
5487 (breakpoint_over_handler): Use test_skip_handler.
5488 (top level): Call breakpoint_over_handler for stepi and nexti too.
5489
763905a3
YQ
54902014-10-27 Yao Qi <yao@codesourcery.com>
5491
5492 * gdb.trace/tfile.c (adjust_function_address)
5493 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5494 function descriptor.
5495
6f259a23
DB
54962014-10-24 Don Breazeal <donb@codesourcery.com>
5497
5498 * gdb.base/foll-fork.exp (test_follow_fork,
5499 catch_fork_child_follow): Check for updated fork messages emitted
5500 from infrun.c.
5501 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5502 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5503 vfork_and_exec_child_follow_through_step): Check for updated vfork
5504 messages emitted from infrun.c.
5505
09dd9a69
PA
55062014-10-24 Pedro Alves <palves@redhat.com>
5507
5508 * gdb.base/corefile.exp: Remove references to ultrix.
5509 * gdb.base/interrupt.exp: Likewise.
5510 * gdb.base/whatis.exp: Likewise.
5511 * gdb.gdb/selftest.exp: Likewise.
5512 * gdb.threads/manythreads.exp: Likewise.
5513 * gdb.threads/print-threads.exp: Likewise.
5514 * gdb.threads/pthreads.exp:: Likewise.
5515 * gdb.threads/schedlock.exp: Likewise.
5516
3433cfa5
SC
55172014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5518
5519 * gdb.cp/non-trivial-retval.cc: Add a test case.
5520 * gdb.cp/non-trivial-retval.exp: Add a test.
5521
092f880b
YQ
55222014-10-20 Yao Qi <yao@codesourcery.com>
5523
5524 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5525 * gdb.python/py-objfile-script-gdb.py: New file.
5526 * gdb.python/py-objfile-script.exp: Update reference to
5527 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5528 of remote_download. Remove the dest file.
5529
acbdb7f3
YQ
55302014-10-20 Yao Qi <yao@codesourcery.com>
5531
5532 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5533 * gdb.base/step-line.exp: Likewise.
5534 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5535 * gdb.dwarf2/dw2-basic.exp: Likewise.
5536 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5537 * gdb.dwarf2/dw2-filename.exp: Likewise.
5538 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5539 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5540 * gdb.dwarf2/dw2-producer.exp: Likewise.
5541 * gdb.dwarf2/mac-fileno.exp: Likewise.
5542 * gdb.python/py-frame-args.exp: Likewise.
5543 * gdb.python/py-framefilter.exp: Likewise.
5544 * gdb.python/py-mi.exp: Likewise.
5545 * gdb.python/py-objfile-script.exp: Likewise
5546 * gdb.python/py-pp-integral.exp: Likewise.
5547 * gdb.python/py-pp-re-notag.exp: Likewise.
5548 * gdb.python/py-prettyprint.exp: Likewise.
5549 * gdb.python/py-section-script.exp: Likewise.
5550 * gdb.python/py-typeprint.exp: Likewise.
5551 * gdb.python/py-xmethods.exp: Likewise.
5552 * gdb.stabs/weird.exp: Likewise.
5553 * gdb.xml/tdesc-regs.exp: Likewise.
5554
bd286a29
KCY
55552014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5556
5557 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5558 (out_cu): Use addr_len for the size of addresses.
5559 (out_line): Likewise. Size DW_LNE_set_address instruction
5560 according to addr_len.
5561 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5562 (FUNC): Add START_INSNS to definition.
5563
673dc4a0
YQ
55642014-10-18 Yao Qi <yao@codesourcery.com>
5565
5566 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5567 gdb_has_argv0 return true.
5568 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5569 check [target_info exists noargs], check [gdb_has_argv0]
5570 instead.
5571 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5572 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5573 procedures.
5574
4ffbba72
DE
55752014-10-17 Doug Evans <dje@google.com>
5576
5577 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5578 event.
5579 * gdb.python/py-events.py: Add clear_objfiles event.
5580
d096d8c1
DE
55812014-10-17 Doug Evans <dje@google.com>
5582
5583 * gdb.python/py-objfile.exp: Test progspace attribute.
5584
a80db015
LM
55852014-10-17 Luis Machado <lgustavo@codesourcery.com>
5586
5587 * gdb.guile/scm-breakpoint.exp: Do not assume any
5588 directory separators when matching source file paths.
5589 * gdb.python/py-breakpoint.exp: Likewise.
5590 * gdb.reverse/break-precsave.exp: Likewise.
5591 * gdb.reverse/break-reverse.exp: Likewise.
5592 * gdb.reverse/consecutive-precsave.exp: Likewise.
5593 * gdb.reverse/finish-precsave.exp: Likewise.
5594 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5595 * gdb.reverse/finish-reverse.exp: Likewise.
5596 * gdb.reverse/i386-precsave.exp: Likewise.
5597 * gdb.reverse/i387-env-reverse.exp: Likewise.
5598 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5599 * gdb.reverse/machinestate-precsave.exp: Likewise.
5600 * gdb.reverse/machinestate.exp: Likewise.
5601 * gdb.reverse/sigall-precsave.exp: Likewise.
5602 * gdb.reverse/solib-precsave.exp: Likewise.
5603 * gdb.reverse/step-precsave.exp: Likewise.
5604 * gdb.reverse/until-precsave.exp: Likewise.
5605 * gdb.reverse/watch-precsave.exp: Likewise.
5606 * gdb.reverse/watch-reverse.exp: Likewise.
5607
b22089ab
YQ
56082014-10-17 Yao Qi <yao@codesourcery.com>
5609
5610 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5611 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5612
6c4486e6
PA
56132014-10-17 Pedro Alves <palves@redhat.com>
5614
5615 PR gdb/17471
5616 * gdb.base/bg-execution-repeat.c: New file.
5617 * gdb.base/bg-execution-repeat.exp: New file.
5618
0ff33695
PA
56192014-10-17 Pedro Alves <palves@redhat.com>
5620
5621 PR gdb/17300
5622 * gdb.base/continue-all-already-running.c: New file.
5623 * gdb.base/continue-all-already-running.exp: New file.
5624
6fdebc3d
PA
56252014-10-17 Pedro Alves <palves@redhat.com>
5626
5627 PR gdb/17472
5628 * gdb.base/annota-input-while-running.c: New file.
5629 * gdb.base/annota-input-while-running.exp: New file.
5630
32a8097b
PA
56312014-10-17 Pedro Alves <palves@redhat.com>
5632
5633 * gdb.base/callfuncs.exp: emove references to osf.
5634 * gdb.base/sigall.exp: Likewise.
5635 * gdb.gdb/selftest.exp: Likewise.
5636 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5637 * gdb.mi/non-stop.c: Likewise.
5638 * gdb.mi/pthreads.c: Likewise.
5639 * gdb.reverse/sigall-precsave.exp: Likewise.
5640 * gdb.reverse/sigall-reverse.exp: Likewise.
5641 * gdb.threads/pthreads.c: Likewise.
5642 * gdb.threads/pthreads.exp: Likewise.
5643
7a3517ff
YQ
56442014-10-17 Yao Qi <yao@codesourcery.com>
5645
5646 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5647 check 'target_info exists noargs'.
5648 (test_command_prompt_position): Likewise.
5649 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5650 Remove "set args".
5651 (progvar_simple_while_test): Likewise.
5652 (progvar_complex_if_while_test): Likewise.
5653 (if_while_breakpoint_command_test): Likewise.
5654 (infrun_breakpoint_command_test): Likewise.
5655 (breakpoint_command_test): Likewise.
5656 (watchpoint_command_test): Likewise.
5657 (bp_deleted_in_command_test): Likewise.
5658 (temporary_breakpoint_commands): Likewise.
5659
bb99c472
YQ
56602014-10-16 Yao Qi <yao@codesourcery.com>
5661
5662 * gdb.base/remotetimeout.exp: Remove noargs checking.
5663
7c16b83e
PA
56642014-10-15 Pedro Alves <palves@redhat.com>
5665
5666 PR breakpoints/9649
5667 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5668 * gdb.base/breakpoint-in-ro-region.exp
5669 (probe_target_hardware_step): New procedure.
5670 (top level): Probe hardware stepping and hardware breakpoint
5671 support. Test stepping through a read-only region, with both
5672 "breakpoint auto-hw" on and off and both "always-inserted" on and
5673 off.
5674
35a49624
IB
56752014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5676
5677 * gdb.dlang/demangle.exp: Update for demangling changes.
5678
2d1c107c
SC
56792014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5680
5681 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5682 * gdb.cp/non-trivial-retval.exp: Add new tests.
5683
778811d5
SC
56842014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5685
5686 PR c++/13403
5687 PR c++/15154
5688 * gdb.cp/non-trivial-retval.cc: New file.
5689 * gdb.cp/non-trivial-retval.exp: New file.
5690
10c5f0a8
YQ
56912014-10-15 Yao Qi <yao@codesourcery.com>
5692
5693 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5694 remote host.
5695
65d7b369
YQ
56962014-10-15 Yao Qi <yao@codesourcery.com>
5697
5698 * gdb.python/py-symbol.exp: Match file base name if host is
5699 remote, otherwise match file name with dir name.
5700 * gdb.python/py-symtab.exp: Likewise.
5701 * gdb.python/python.exp: Likewise.
5702
46dc1394
YQ
57032014-10-15 Yao Qi <yao@codesourcery.com>
5704
5705 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5706 pattern.
5707 * gdb.python/py-symtab.exp: Likewise.
5708 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5709 locationn.
5710
c40cc657
JB
57112014-10-14 Joel Brobecker <brobecker@adacore.com>
5712
5713 * gdb.ada/addr_arith: New testcase.
5714
2abf49e1
MR
57152014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5716
5717 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5718 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5719 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5720 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5721
f7088df3
SDJ
57222014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5723
5724 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5725 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5726 * gdb.arch/stap-eval-lang-ada.exp: New file.
5727
4dc06805
YQ
57282014-10-14 Yao Qi <yao@codesourcery.com>
5729
5730 * gdb.mi/mi-var-child.c (nothing1): New function.
5731 (nothing2): New function.
5732 (do_children_tests): Set function pointers by nothing1 and
5733 nothing2.
5734 * gdb.mi/mi-var-child.exp: Step over new added statements.
5735 Update test to match the new output.
5736 * gdb.mi/var-cmd.c (nothing1): New function.
5737 (nothing2): New function.
5738 (do_children_tests): Set function pointers by nothing1 and
5739 nothing2.
5740 * gdb.mi/mi-var-display.exp: Update test to match output.
5741 Step to the line specified by $line_dct_nothing.
5742 Increase the number of lines to step.
5743
46a93de2
YQ
57442014-10-14 Yao Qi <yao@codesourcery.com>
5745
5746 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5747 tests.
5748 * gdb.mi/mi2-var-child.exp: Likewise.
5749
14ea52ee
DE
57502014-10-13 Doug Evans <dje@google.com>
5751
5752 * gdb.python/py-objfile.exp: Change name of file name test.
5753
e5c6e92b
DE
57542014-10-13 Doug Evans <dje@google.com>
5755
5756 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5757 from the start of the CU.
5758
c780cc2f
JK
57592014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5760 Yao Qi <yao@codesourcery.com>
5761
5762 Fix "save breakpoints" for "catch" command.
5763 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5764 Remove -nonewline. Match also the added "main" line.
5765
99894e11
JK
57662014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5767
5768 Fix "save breakpoints" for "disable $bpnum" command.
5769 * gdb.base/save-bp.c (main): Add label.
5770 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5771
6e1ac5a3
JK
57722014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5773
5774 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5775
754dd2b0
YQ
57762014-10-11 Yao Qi <yao@codesourcery.com>
5777
5778 * gdb.server/server-kill.exp: Execute command
5779 "set remote trace-status-packet on" before "tstatus".
5780
f90183d7
YQ
57812014-10-11 Yao Qi <yao@codesourcery.com>
5782
5783 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5784 (main): Call getppid.
5785 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5786 and continue to it. Read variable "server_pid".
5787
bf40a607
YQ
57882014-10-11 Yao Qi <yao@codesourcery.com>
5789
5790 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5791
052ca370
YQ
57922014-10-11 Yao Qi <yao@codesourcery.com>
5793
5794 * gdb.threads/thread-find.exp: Don't execute command
5795 "info threads".
5796 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5797 * gdb.threads/linux-dp.exp: Don't check the condition
5798 $threads_created equals to zero.
5799
3831839c
PA
58002014-10-10 Pedro Alves <palves@redhat.com>
5801
5802 * gdb.base/bigcore.exp: Remove references to IRIX.
5803 * gdb.base/funcargs.exp: Likewise.
5804 * gdb.base/interrupt.exp: Likewise.
5805 * gdb.base/mips_pro.exp: Likewise.
5806 * gdb.base/nodebug.exp: Likewise.
5807 * gdb.base/setvar.exp: Likewise.
5808 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5809
8b9a549d
PA
58102014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5811 Pedro Alves <palves@redhat.com>
5812
5813 PR symtab/14466
5814 * gdb.base/vdso-warning.c: New file.
5815 * gdb.base/vdso-warning.exp: New file.
5816
d48ba5e8
DE
58172014-10-02 Doug Evans <dje@google.com>
5818
5819 * gdb.base/structs.c (main): Don't run forever.
5820
2278c276
PA
58212014-10-02 Pedro Alves <palves@redhat.com>
5822
5823 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5824 (top level) <stop threads 1, stop threads 2>: Use it.
5825
b57bacec
PA
58262014-10-02 Pedro Alves <palves@redhat.com>
5827
5828 * gdb.threads/break-while-running.exp (test): Add new
5829 'update_thread_list' argument. Skip "info threads" if false.
5830 (top level): Add new 'update_thread_list' axis.
5831
13fd3ff3
PA
58322014-10-02 Pedro Alves <palves@redhat.com>
5833
5834 PR breakpoints/17431
5835 * gdb.base/execl-update-breakpoints.c: New file.
5836 * gdb.base/execl-update-breakpoints.exp: New file.
5837
0fec99e8
PA
58382014-10-01 Pedro Alves <palves@redhat.com>
5839
5840 * gdb.base/breakpoint-in-ro-region.c: New file.
5841 * gdb.base/breakpoint-in-ro-region.exp: New file.
5842
2ddf4301
SM
58432014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5844
5845 * gdb.mi/mi-exit-code.exp: New file.
5846 * gdb.mi/mi-exit-code.c: New file.
5847
6a5f3f43
YQ
58482014-09-30 Yao Qi <yao@codesourcery.com>
5849
5850 * lib/prelink-support.exp (build_executable_own_libs): Error if
5851 the target isn't native.
5852
345bcc73
YQ
58532014-09-30 Yao Qi <yao@codesourcery.com>
5854
5855 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5856 false.
5857
a25a5a45
PA
58582014-09-22 Pedro Alves <palves@redhat.com>
5859
5860 * gdb.threads/break-while-running.exp: New file.
5861 * gdb.threads/break-while-running.c: New file.
5862
00ba3162
YQ
58632014-09-19 Yao Qi <yao@codesourcery.com>
5864
5865 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5866 Invoke test. Restart GDB with --readnow and invoke test again.
5867
c3b7b696
YQ
58682014-09-19 Yao Qi <yao@codesourcery.com>
5869
5870 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5871 proc set_breakpoint_on_gcd_function. Invoke
5872 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5873 invoke set_breakpoint_on_gcd_function again.
5874
2b4fd423
DE
58752014-09-18 Doug Evans <dje@google.com>
5876
5877 * gdb.dwarf2/symtab-producer.exp: New file.
5878
a5947601
SDJ
58792014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5880
5881 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5882 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5883 * gdb.base/global-var-nested-by-dso.c: Likewise.
5884 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5885
91c19059
SDJ
58862014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5887 Pedro Alves <palves@redhat.com>
5888
5889 * gdb.base/watch-bitfields.exp: Pass string other than test file
5890 name to prepare_for_testing.
5891 (watch): New procedure.
5892 (expect_watchpoint): Use with_test_prefix.
5893 (top level): Factor out tests to ...
5894 (test_watch_location, test_regular_watch): ... these new
5895 procedures, and use with_test_prefix and gdb_continue_to_end.
5896
bb9d5f81
PP
58972014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5898
5899 PR breakpoints/12526
5900 * gdb.base/watch-bitfields.exp: New file.
5901 * gdb.base/watch-bitfields.c: New file.
5902
635856f5
PA
59032014-09-16 Pedro Alves <palves@redhat.com>
5904
5905 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5906 software and hardware addresses, not software address against
5907 itself.
5908
7280ceea
PA
59092014-09-16 Pedro Alves <palves@redhat.com>
5910
5911 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5912 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5913
428b16bd
PA
59142014-09-16 Pedro Alves <palves@redhat.com>
5915
5916 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5917 files.
5918 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5919 "*-*-vxworks*" throughout.
5920 * gdb.base/break.exp: Likewise.
5921 * gdb.base/default.exp: Likewise.
5922 * gdb.base/scope.exp: Likewise.
5923 * gdb.base/sepdebug.exp: Likewise.
5924 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5925 throughout.
5926 * gdb.base/run.c: Likewise.
5927 * gdb.base/sepdebug.c: Likewise.
5928 * gdb.hp/gdb.aCC/run.c: Likewise.
5929 * gdb.reverse/until-reverse.c: Likewise.
5930 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5931
666d413c
YQ
59322014-09-16 Yao Qi <yao@codesourcery.com>
5933
5934 * boards/local-remote-host-native.exp: New file.
5935
57cbd724
DE
59362014-09-14 Doug Evans <xdje42@gmail.com>
5937
5938 * gdb.threads/queue-signal.c (thread_count): New variable.
5939 (thread_count_mutex, thread_count_condvar): New variables.
5940 (incr_thread_count, wait_all_threads_running): New functions.
5941 (main): Wait for all threads to be in their thread functions.
5942
81219e53
DE
59432014-09-13 Doug Evans <xdje42@gmail.com>
5944
5945 * gdb.threads/queue-signal.c: New file.
5946 * gdb.threads/queue-signal.exp: New file.
5947
3714cea7
DE
59482014-09-13 Doug Evans <xdje42@gmail.com>
5949
5950 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5951 be consistent with what default_gdb_init uses.
5952 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5953 the plain text of the prompt. Add some logging printfs.
5954 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5955
fa43b1d7
PA
59562014-09-12 Pedro Alves <palves@redhat.com>
5957
5958 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5959 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5960 * gdb.arch/i386-size-overlap.exp: Likewise.
5961 * gdb.arch/i386-size.exp: Likewise.
5962 * gdb.arch/i386-unwind.exp: Likewise.
5963 * gdb.base/a2-run.exp: Likewise.
5964 * gdb.base/break.exp: Likewise.
5965 * gdb.base/charset.exp: Likewise.
5966 * gdb.base/chng-syms.exp: Likewise.
5967 * gdb.base/commands.exp: Likewise.
5968 * gdb.base/dbx.exp: Likewise.
5969 * gdb.base/find.exp: Likewise.
5970 * gdb.base/funcargs.exp: Likewise.
5971 * gdb.base/jit-simple.exp: Likewise.
5972 * gdb.base/reread.exp: Likewise.
5973 * gdb.base/sepdebug.exp: Likewise.
5974 * gdb.base/step-bt.exp: Likewise.
5975 * gdb.cp/mb-inline.exp: Likewise.
5976 * gdb.cp/mb-templates.exp: Likewise.
5977 * gdb.objc/basicclass.exp: Likewise.
5978 * gdb.threads/killed.exp: Likewise.
5979
9d9bf2df
EBM
59802014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5981
5982 PR tdep/17379
5983 * gdb.arch/powerpc-stackless.S: New file.
5984 * gdb.arch/powerpc-stackless.exp: New file.
5985
1cf2f1b0
JK
59862014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5987
5988 * gdb.base/attach.c: Include unistd.h.
5989 (main): Call alarm. Add label postloop.
5990 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5991 gdb_breakpoint, gdb_continue_to_breakpoint.
5992 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5993
98880d46
PA
59942014-09-11 Pedro Alves <palves@redhat.com>
5995
5996 PR gdb/17347
5997 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5998 * gdb.base/attach.exp (test_command_line_attach_run): New
5999 procedure.
6000 (top level): Call it.
6001
4c92ff2c
PA
60022014-09-11 Pedro Alves <palves@redhat.com>
6003
6004 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6005 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6006 (do_command_attach_tests): Use spawn_wait_for_attach.
6007 * gdb.base/solib-overlap.exp: Likewise.
6008 * gdb.multi/multi-attach.exp: Likewise.
6009 * gdb.python/py-prompt.exp: Likewise.
6010 * gdb.python/py-sync-interp.exp: Likewise.
6011 * gdb.server/ext-attach.exp: Likewise.
6012
3adc1a7d
GKB
60132014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6014
6015 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6016 command in testcase. Simplify testcase.
6017
96334934
JB
60182014-09-10 Joel Brobecker <brobecker@adacore.com>
6019
6020 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6021
eb479039
JB
60222014-09-10 Joel Brobecker <brobecker@adacore.com>
6023
6024 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6025
deede10c
JB
60262014-09-10 Joel Brobecker <brobecker@adacore.com>
6027
6028 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6029
7828a5f5
JB
60302014-09-10 Joel Brobecker <brobecker@adacore.com>
6031
6032 * gdb.dwarf2/dynarr-ptr.c: New file.
6033 * gdb.dwarf2/dynarr-ptr.exp: New file.
6034
33aeebcf
MR
60352014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6036
6037 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6038 of 30 rather than hardcoding 120 for a slow test case. Take the
6039 `gdb,timeout' target setting into account for this calculation.
6040 Don't extend the timeout for the test cases that don't need it.
6041
7b415901
MR
60422014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6043
6044 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6045 a factor of 2 for a slow test case. Take the `gdb,timeout'
6046 target setting into account for this calculation.
6047 * gdb.reverse/until-precsave.exp: Increase the timeout by
6048 a factor of 15 and 3 respectively rather than adding 120
6049 for a pair of slow test cases. Take the `gdb,timeout'
6050 target setting into account for this calculation.
6051
4a40f85a
MR
60522014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6053
6054 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6055 timeout, don't pass one down to gdb_expect.
6056 (gdb_expect): Rework timeout selection.
6057
09635af7
MR
60582014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6059
6060 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6061 exception on timeout.
6062 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6063 (gdbserver_start_extended): Catch any `gdbserver_start' error
6064 exceptions.
6065 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6066 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6067 `gdbserver_gdb_load' error exceptions.
6068
2bdd10b7
MR
60692014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6070
6071 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6072 120 on waiting for the TCP socket to open.
6073
316935f0
DE
60742014-09-09 Doug Evans <xdje42@gmail.com>
6075
6076 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6077 _caller_matches, _any_caller_is, _any_caller_matches.
6078
83740597
DE
60792014-09-09 Doug Evans <xdje42@gmail.com>
6080
6081 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6082
4c122fc3
YQ
60832014-09-09 Yao Qi <yao@codesourcery.com>
6084
6085 * gdb.mi/mi-var-display.exp: Set print symbol off.
6086
a9f116cb
GKB
60872014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6088
6089 PR gdb/17035
6090 * gdb.base/commands.exp: Add tests to verify user-defined
6091 commands with empty bodies.
6092 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6093 python commands in `show user command`.
6094 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6095 scheme commands in `show user command`.
6096
c75bd3a2
JK
60972014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6098
6099 PR python/17355
6100 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6101 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6102 * gdb.python/py-framefilter-invalidarg.exp: New file.
6103 * gdb.python/py-framefilter-invalidarg.py: New file.
6104
faa42425
DE
61052014-09-06 Doug Evans <xdje42@gmail.com>
6106
6107 PR 15276
6108 * gdb.python/py-caller-is.c: New file.
6109 * gdb.python/py-caller-is.exp: New file.
6110
474ca4f6
SDJ
61112014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6112
6113 PR gdb/17235
6114 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6115 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6116
eb0b0463
SDJ
61172014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6118
6119 PR fortran/17237
6120 * gdb.fortran/print-formatted.exp: New file.
6121 * gdb.fortran/print-formatted.f90: Likewise.
6122
5f3b99cf
SS
61232014-09-03 Sasha Smundak <asmundak@google.com>
6124
6125 * gdb.python/py-frame.exp: Test Frame.read_register.
6126
7d793aa9
SDJ
61272014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6128
6129 PR python/16699
6130 * gdb.python/py-completion.exp: New file.
6131 * gdb.python/py-completion.py: Likewise.
6132
fb0576e9
DE
61332014-08-28 Doug Evans <dje@google.com>
6134
6135 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6136 eax,etc. are live with values set by gdb and thus the compiler can't
6137 use them.
6138 * gdb.arch/i386-pseudo.c (main): Ditto.
6139
ee92b0dd
DE
61402014-08-27 Doug Evans <dje@google.com>
6141
6142 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6143
6649db35
DE
61442014-08-25 Doug Evans <dje@google.com>
6145
6146 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6147 (main): Ditto.
6148
564b7600
DE
61492014-08-25 Doug Evans <dje@google.com>
6150
6151 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6152
3881fb67
YQ
61532014-08-24 Yao Qi <yao@codesourcery.com>
6154
6155 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6156 symbol off.
6157 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6158
a05a36a5
DE
61592014-08-22 Doug Evans <dje@google.com>
6160
6161 PR 17276
6162 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6163 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6164 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6165
7c343b48
YQ
61662014-08-22 Yao Qi <yao@codesourcery.com>
6167
6168 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6169 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6170 * gdb.python/python.exp: Likewise. Use .py file on the host
6171 instead of the build.
6172
22fd09ae
JK
61732014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6174
6175 * gdb.threads/gcore-stale-thread.c: New file.
6176 * gdb.threads/gcore-stale-thread.exp: New file.
6177
a8454a7c
PA
61782014-08-21 Pedro Alves <palves@redhat.com>
6179
6180 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6181 * gdb.base/gcore-relro-pie.exp: Likewise.
6182 * gdb.base/gcore-relro.exp: Likewise.
6183 * gdb.base/gcore.exp: Likewise.
6184 * gdb.base/print-symbol-loading.exp: Likewise.
6185 * gdb.threads/gcore-thread.exp: Likewise.
6186 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6187
2a31c623
PA
61882014-08-20 Pedro Alves <palves@redhat.com>
6189 Jan Kratochvil <jan.kratochvil@redhat.com>
6190
6191 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6192 configure.
6193 (EXPECT): Handle READ1 being set.
6194 (all): Depend on EXTRA_RULES.
6195 (check-read1, expect-read1, read1.so, read1): New rules.
6196 * README (Testsuite Parameters): Document the READ1 make variable.
6197 (Race detection): New section.
6198 * configure: Regenerate.
6199 * configure.ac: If build==host==target, and running under a
6200 GNU/glibc system, add read1 to the extra Makefile rules.
6201 (EXTRA_RULES): AC_SUBST it.
6202 * lib/read1.c: New file.
6203
d36430db
JB
62042014-08-20 Joel Brobecker <brobecker@adacore.com>
6205
6206 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6207 the handling of variables declared as a typedef to an array
6208 which a DW_AT_data_location attribute.
6209
9a0dc9e3
PA
62102014-08-19 Andrew Burgess <aburgess@broadcom.com>
6211 Pedro Alves <palves@redhat.com>
6212
6213 PR symtab/14604
6214 PR symtab/14605
6215 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6216 gdb_test.
6217
0718a8da
PA
62182014-08-19 Pedro Alves <palves@redhat.com>
6219
6220 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6221
13b448cd
YQ
62222014-08-19 Yao Qi <yao@codesourcery.com>
6223
6224 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6225 right line.
6226
1cbf5077
DB
62272014-08-18 David Blaikie <dblaikie@gmail.com>
6228
6229 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6230
bf0fae19
JB
62312014-08-18 Joel Brobecker <brobecker@adacore.com>
6232
6233 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6234 attribute in array range.
6235
3c8c5dcc
JB
62362014-08-18 Joel Brobecker <brobecker@adacore.com>
6237
6238 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6239
e66d4446
SC
62402014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6241
6242 PR c++/17132
6243 * gdb.cp/pr17132.cc: New file.
6244 * gdb.cp/pr17132.exp: New file.
6245
940df408
SC
62462014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6247
6248 * gdb.python/py-xmethods.py (A_getarrayind)
6249 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6250 Use 'print' with function call syntax.
6251 (E_method_matcher.match): Fix tab vs space indentation mixup.
6252
ebcc6c3a
YQ
62532014-08-15 Yao Qi <yao@codesourcery.com>
6254
6255 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6256 false.
6257
775e0f04
YQ
62582014-08-15 Yao Qi <yao@codesourcery.com>
6259
6260 * gdb.cp/casts.exp: Set print symbol off.
6261 * gdb.cp/class2.exp: Likewise.
6262 * gdb.cp/overload.exp: Likewise.
6263 * gdb.cp/templates.exp: Likewise.
6264
d769e349
DE
62652014-08-11 Doug Evans <dje@google.com>
6266
6267 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6268 (test_load_shlib): Update.
6269
20c6f1e1
YQ
62702014-08-09 Yao Qi <yao@codesourcery.com>
6271
6272 * gdb.base/display.exp: Invoke is_address_zero_readable.
6273 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6274 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6275 * gdb.base/hbreak-unmapped.exp: Return if
6276 is_address_zero_readable returns true.
6277 * gdb.base/signest.exp: Likewise.
6278 * gdb.base/signull.exp: Likewise.
6279 * gdb.base/sigbpt.exp: Likewise.
6280 * gdb.guile/scm-disasm.exp: Do the test if
6281 is_address_zero_readable returns false.
6282 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6283 * gdb.python/py-arch.exp: Likewise.
6284 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6285 * lib/gdb.exp (is_address_zero_readable): New proc.
6286
5792e8e3
YQ
62872014-08-09 Yao Qi <yao@codesourcery.com>
6288
6289 PR testsuite/13443
6290 * gdb.mi/mi-var-display.exp: Make test messages unique.
6291
3cecbbbe
TT
62922014-08-04 Tom Tromey <tromey@redhat.com>
6293
6294 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6295 target 0".
6296
00b51ff5
TT
62972014-08-04 Tom Tromey <tromey@redhat.com>
6298
6299 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6300 "target_resume".
6301
6908c509
JB
63022014-08-01 Joel Brobecker <brobecker@adacore.com>
6303
6304 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6305 inner_vla_struct_object_size.
6306 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6307 as xfail.
6308
cc6563d2
PA
63092014-07-30 Pedro Alves <palves@redhat.com>
6310
6311 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6312 comment.
6313
7e09a223
YQ
63142014-07-29 Yao Qi <yao@codesourcery.com>
6315
6316 PR gdb/17206
6317 * gdb.base/until-nodebug.exp: New.
6318
7ebdbe92
DE
63192014-07-28 Doug Evans <xdje42@gmail.com>
6320
6321 PR guile/17203
6322 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6323 previously existing parameter, and previously ambiguously spelled
6324 parameter.
6325
fdb1adc6
WN
63262014-07-28 Will Newton <will.newton@linaro.org>
6327
6328 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6329
186fcde0
DE
63302014-07-26 Ludovic Courtès <ludo@gnu.org>
6331 Doug Evans <xdje42@gmail.com>
6332
6333 PR guile/17146
6334 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6335
70509625
PA
63362014-07-25 Pedro Alves <palves@redhat.com>
6337
6338 * gdb.threads/signal-command-handle-nopass.c: New file.
6339 * gdb.threads/signal-command-handle-nopass.exp: New file.
6340 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6341 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6342 * gdb.threads/signal-delivered-right-thread.c: New file.
6343 * gdb.threads/signal-delivered-right-thread.exp: New file.
6344
c3f814a1
PA
63452014-07-25 Pedro Alves <palves@redhat.com>
6346
6347 * gdb.base/double-prompt-target-event-error.exp
6348 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6349 match.
6350 (cancel_pagination_in_target_event): Rework double prompt
6351 detection.
6352 * gdb.base/paginate-after-ctrl-c-running.exp
6353 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6354 <return>' match.
6355 * gdb.base/paginate-bg-execution.exp
6356 (test_bg_execution_pagination_return)
6357 (test_bg_execution_pagination_cancel): Remove '-notransfer
6358 <return>' matches.
6359 * gdb.base/paginate-execution-startup.exp
6360 (test_fg_execution_pagination_return)
6361 (test_fg_execution_pagination_cancel): Remove '-notransfer
6362 <return>' matches.
6363 * gdb.base/paginate-inferior-exit.exp
6364 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6365 match.
6366 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6367 * lib/gdb.exp (pagination_prompt): Run text through
6368 string_to_regexp.
6369 (gdb_test_multiple): Match $pagination_prompt instead of
6370 "<return>".
6371 (string_to_regexp): Move to lib/gdb-utils.exp.
6372
e214cf6c
JK
63732014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6374
6375 * gdb.arch/amd64-entry-value-paramref.S: New file.
6376 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6377 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6378 * gdb.arch/amd64-optimout-repeat.S: New file.
6379 * gdb.arch/amd64-optimout-repeat.c: New file.
6380 * gdb.arch/amd64-optimout-repeat.exp: New file.
6381
17d0c5c8
JK
63822014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6383
6384 PR gdb/17170
6385 * gdb.base/statistics.exp: New file.
6386
b8b8facf
DE
63872014-07-17 Doug Evans <dje@google.com>
6388
74b49205 6389 PR gdb/17170
b8b8facf
DE
6390 * gdb.base/maint.exp: Update testing of per-command stats.
6391
1b5d0ab3
PA
63922014-07-16 Pedro Alves <palves@redhat.com>
6393
6394 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6395 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6396 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6397 (tfile_write_buf): New functions.
6398 (add_memory_block): Rewrite using the above.
6399 (adjust_function_address): New function.
6400 (FUNCTION_ADDRESS): New macro.
6401 (write_basic_trace_file): Remove short_x local, and use
6402 tfile_write_16. Change type of func_addr local to unsigned long
6403 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6404 here. Cast argument of add_memory_block to char pointer.
6405 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6406 (main): Remove parameters.
6407 * gdb.trace/tfile.exp: Remove nowarnings.
6408
4d974e88
SM
64092014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6410
6411 * gdb.base/debug-expr.exp: Test string evaluation with
6412 "debug expression" on.
6413
41e99568
PA
64142014-07-15 Pedro Alves <palves@redhat.com>
6415
6416 * gdb.base/reread.exp: Use clean_restart.
6417
487d9753
PL
64182014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6419
6420 * gdb.arch/avr-flash-qualifer.c: New.
6421 * gdb.arch/avr-flash-qualifer.exp: New.
6422
cc1c52ad
PA
64232014-07-14 Pedro Alves <palves@redhat.com>
6424
6425 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6426 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6427
1e973570
PA
64282014-07-14 Pedro Alves <palves@redhat.com>
6429
6430 * gdb.base/double-prompt-target-event-error.c: New file.
6431 * gdb.base/double-prompt-target-event-error.exp: New file.
6432
93d6eb10
PA
64332014-07-14 Pedro Alves <palves@redhat.com>
6434
6435 PR gdb/17072
6436 * gdb.base/paginate-inferior-exit.c: New file.
6437 * gdb.base/paginate-inferior-exit.exp: New file.
6438
0017922d
PA
64392014-07-14 Pedro Alves <palves@redhat.com>
6440
6441 PR gdb/17072
6442 * gdb.base/paginate-bg-execution.c: New file.
6443 * gdb.base/paginate-bg-execution.exp: New file.
6444
94696ad3
PA
64452014-07-14 Pedro Alves <palves@redhat.com>
6446
6447 PR gdb/17072
6448 * gdb.base/paginate-execution-startup.c: New file.
6449 * gdb.base/paginate-execution-startup.exp: New file.
6450 * lib/gdb.exp (pagination_prompt): New global.
6451 (default_gdb_spawn): New procedure, factored out from
6452 default_gdb_spawn.
6453 (default_gdb_start): Adjust to call default_gdb_spawn.
6454 (gdb_spawn): New procedure.
6455
bd293940
PA
64562014-07-14 Pedro Alves <palves@redhat.com>
6457
6458 * lib/gdb.exp (gdb_assert): New procedure.
6459 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6460
c933f875
PA
64612014-07-14 Pedro Alves <palves@redhat.com>
6462
6463 * gdb.base/execution-termios.c: New file.
6464 * gdb.base/execution-termios.exp: New file.
6465
d98b7a16
TT
64662014-07-14 Tom Tromey <tromey@redhat.com>
6467
6468 * gdb.cp/vla-cxx.cc: New file.
6469 * gdb.cp/vla-cxx.exp: New file.
6470
548740d6
TT
64712014-07-14 Tom Tromey <tromey@redhat.com>
6472
6473 * gdb.reverse/rerun-prec.c: New file.
6474 * gdb.reverse/rerun-prec.exp: New file.
6475
a25eb028
MR
64762014-07-12 Maciej W. Rozycki <macro@mips.com>
6477 Maciej W. Rozycki <macro@codesourcery.com>
6478
6479 * lib/gdb-utils.exp: New file.
6480 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6481 inline `gdb_init_command' processing.
6482 (gdb_start_cmd): Likewise.
6483 * lib/mi-support.exp (mi_run_cmd): Likewise.
6484 * README: Document `gdb_init_command' and `gdb_init_commands'.
6485
218c2655
JK
64862014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6487
6488 Fix false FAIL running under a very long directory name.
6489 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6490 and "set print elements 10000". Twice.
6491
5401fde3
YQ
64922014-07-11 Yao Qi <yao@codesourcery.com>
6493
6494 * gdb.base/exprs.exp: "set print symbol off".
6495
e76126e8
PA
64962014-07-11 Pedro Alves <palves@redhat.com>
6497
6498 * gdb.threads/kill.c: New file.
6499 * gdb.threads/kill.exp: New file.
6500
2d6f0de6
YQ
65012014-07-10 Yao Qi <yao@codesourcery.com>
6502
6503 * gdb.trace/tfile.c (write_basic_trace_file)
6504 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6505 address written to trace file.
6506
7180e04a
PA
65072014-07-09 Pedro Alves <palves@redhat.com>
6508
6509 * gdb.base/attach-wait-input.exp: New file.
6510 * gdb.base/attach-wait-input.c: New file.
6511
9a9a7608
AB
65122014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6513
6514 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6515 setting up test structures.
6516 (main): Call new test function.
6517 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6518 test function, continue into test function and walk test
6519 structures.
6520
161ac41e
YQ
65212014-07-02 Yao Qi <yao@codesourcery.com>
6522
6523 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6524 'bar_start' at the beginning of functions 'foo' and 'bar'
6525 respectively.
6526 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6527 instead of 'foo' and 'bar'.
6528
1f267ae3
MM
65292014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6530
6531 * gdb.btrace/segv.exp: New.
6532 * gdb.btrace/segv.c: New.
6533
2b239efb
LM
65342014-07-02 Luis Machado <lgustavo@codesourcery.com>
6535
6536 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6537 instruction.
6538
cf363f18
MW
65392014-06-30 Mark Wielaard <mjw@redhat.com>
6540
6541 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6542 vulture, vilify, villar): New volatile array constants.
6543 (vindictive, vegetation): New const volatile array constants.
6544 * gdb.base/volatile.exp: Test volatile and const volatile array
6545 types.
6546
aebf9d24
AA
65472014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6548
6549 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6550 target lacks support for awatch, rwatch, or hbreak.
6551
b67a2c6f
YQ
65522014-06-27 Yao Qi <yao@codesourcery.com>
6553
6554 * gdb.multi/dummy-frame-restore.exp: New.
6555 * gdb.multi/dummy-frame-restore.c: New.
6556
aef92902
MM
65572014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6558
6559 * gdb.btrace/gcore.exp: New.
6560
8e9db26e
PA
65612014-06-23 Pedro Alves <palves@redhat.com>
6562
6563 * gdb.base/watchpoint-reuse-slot.c: New file.
6564 * gdb.base/watchpoint-reuse-slot.exp: New file.
6565
70afc5b7
SC
65662014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6567
6568 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6569 progspace's filename in 'info', 'enable' and 'disable' command
6570 tests.
6571
b972bd9c
JK
65722014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6573
6574 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6575 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6576 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6577
125f8a3d
GB
65782014-06-20 Gary Benson <gbenson@redhat.com>
6579
6580 * gdb.arch/i386-avx.exp: Fix include file location.
6581 * gdb.arch/i386-sse.exp: Likewise.
6582
3ed9baed
IB
65832014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6584
6585 * gdb.dlang/expression.exp: New file.
6586
034f788c
PA
65872014-06-19 Pedro Alves <palves@redhat.com>
6588
6589 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6590 out from ...
6591 (top level): ... here. Iterate running tests under different
6592 scheduler-locking settings.
6593
45371d0c
LM
65942014-06-18 Luis Machado <lgustavo@codesourcery.com>
6595
6596 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6597 to DW_FORM_addr and use non-zero addresses.
6598
5d376983
SC
65992014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6600
6601 PR gdb/17017
6602 * gdb.python/py-xmethods.cc: Add global function call counters and
6603 increment them in their respective functions. Remove "cout"
6604 statements.
6605 * gdb.python/py-xmethods.exp: Make tests check the global function
6606 call counters instead of depending on inferior IO.
6607
a1aa2221
LM
66082014-06-18 Don Breazeal <donb@codesourcery.com>
6609
6610 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6611 Deleted procedure.
6612 (explicit_fork_parent_follow): Deleted procedure.
6613 (explicit_fork_child_follow): Deleted procedure.
6614 (test_follow_fork): New procedure.
6615 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 6616 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
6617 procedure calls.
6618
0fc05997
YQ
66192014-06-17 Yao Qi <yao@codesourcery.com>
6620
6621 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6622 CP1252.
6623
70795c52
LM
66242014-06-17 Luis Machado <lgustavo@codesourcery.com>
6625
6626 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6627 Initialize ptr and S explicitly.
6628 (skip_type_update_when_not_use_rtti_test): Likewise.
6629
6be47f0c
KS
66302014-06-16 Keith Seitz <keiths@redhat.com>
6631
6632 PR mi/15863
6633 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6634 the inferior is started.
6635
d03de421
PA
66362014-06-16 Pedro Alves <palves@redhat.com>
6637
6638 * gdb.base/break-main-file-remove-fail.c: New file.
6639 * gdb.base/break-main-file-remove-fail.exp: New file.
6640 * gdb.base/break-unload-file.exp: Use build_executable instead of
6641 prepare_for_testing.
6642 (test_break): New parameter "initial_load". Handle it.
6643 (top level): Add initial_load cmdline/file axis.
6644
f9579b99
TT
66452014-06-12 Tom Tromey <tromey@redhat.com>
6646
6647 * gdb.base/completion.exp: Don't use directory name in test.
6648
3657956b
GB
66492014-06-09 Gary Benson <gbenson@redhat.com>
6650
6651 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6652 separate the always-available ANSI-standard signals from the
6653 signals that require checking.
6654 (main): Likewise.
6655 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6656 Likewise.
6657 (main): Likewise.
6658
4186eb54
KS
66592014-06-07 Keith Seitz <keiths@redhat.com>
6660
6661 Revert:
6662 PR c++/16253
6663 * gdb.cp/var-tag.cc: New file.
6664 * gdb.cp/var-tag.exp: New file.
6665 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6666 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6667 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6668 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6669
25326a28 66702014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
6671
6672 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6673
829155c9
PA
66742014-06-06 Pedro Alves <palves@redhat.com>
6675
6676 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6677 in target debug output instead of looking at RSP packets,
6678 disabling the test on any target that uses hardware stepping.
6679 Update comments.
6680
61c8d22e
PA
66812014-06-06 Pedro Alves <palves@redhat.com>
6682
6683 * gdb.base/break-unload-file.exp: Fix typo.
6684
d9a47287
YQ
66852014-06-06 Yao Qi <yao@codesourcery.com>
6686
6687 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6688 from "jit_function" to "^jit_function".
6689
e5e01dbf
YQ
66902014-06-06 Yao Qi <yao@codesourcery.com>
6691
6692 * gdb.base/async.c (foo): Add one statement.
6693 * gdb.base/async.exp: Get the next instruction address and
6694 match the output of "nexti" by instruction address. Match
6695 the hex address in the output of "finish".
6696
73ba372c
GB
66972014-06-06 Gary Benson <gbenson@redhat.com>
6698
6699 * gdb.base/call-signals.c: Remove preprocessor conditionals
6700 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6701 SIGSEGV and SIGTERM.
6702 * gdb.base/sigall.c: Likewise.
6703 * gdb.base/unwindonsignal.c: Likewise.
6704 * gdb.reverse/sigall-reverse.c: Likewise.
6705
831517df
YQ
67062014-06-06 Yao Qi <yao@codesourcery.com>
6707
6708 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6709 readable, skip the test.
6710
b8b91e98
YQ
67112014-06-06 Yao Qi <yao@codesourcery.com>
6712
6713 * gdb.threads/staticthreads.c (thread_function): Move the line
6714 setting breakpoint on forward.
6715 * gdb.threads/staticthreads.exp: Update comments.
6716
fb934770
LC
67172014-06-05 Ludovic Courtès <ludo@gnu.org>
6718
6719 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6720 "history-append! type error".
6721
6ef284bd
SM
67222014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6723
6724 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6725 erroneous dprintf expected input.
6726
a872e241
DE
67272014-06-04 Doug Evans <xdje42@gmail.com>
6728
6729 * gdb.guile/scm-generics.exp: Delete.
6730
16f691fb
DE
67312014-06-04 Doug Evans <xdje42@gmail.com>
6732
6733 * gdb.guile/scm-breakpoint.exp: Update.
6734 Add tests for breakpoint registration.
6735
012370f6
TT
67362014-06-04 Tom Tromey <tromey@redhat.com>
6737
6738 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6739 VLA-in-union.
6740 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6741 inner_vla_struct, vla_union types. Initialize objects of those
6742 types and compute their sizes.
6743
9f5a4cef
HZ
67442014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6745 Hui Zhu <hui@codesourcery.com>
6746
6747 * gdb.base/fileio.exp: Add test for shell not available as well as
6748 available.
6749 * gdb.base/fileio.c (test_system): Check for shell twice.
6750
90a45c4d
YQ
67512014-06-04 Yao Qi <yao@codesourcery.com>
6752
6753 * gdb.base/auto-connect-native-target.exp: Remove redundant
6754 space from the regexp pattern.
6755
70017e41
YQ
67562014-06-04 Yao Qi <yao@codesourcery.com>
6757
6758 * gdb.base/default.exp: Replace "child" with "native" in
6759 regexp pattern.
6760
883964a7
SC
67612014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6762
6763 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6764 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6765 * gdb.python/py-xmethods.py: Python script supporting the
6766 new testcase and tests.
6767
ef370185
JB
67682014-06-03 Joel Brobecker <brobecker@adacore.com>
6769 Pedro Alves <palves@redhat.com>
6770
6771 PR breakpoints/17000
6772 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6773 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6774
1e2ccb61
BM
67752014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6776
6777 * gdb.base/subst.exp: Add tests to verify partial path matching
6778 output.
6779
c6ec5ab2
PA
67802014-06-03 Pedro Alves <palves@redhat.com>
6781
6782 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6783 target that doesn't use software single-stepping.
6784
835c559f
PA
67852014-06-03 Pedro Alves <palves@redhat.com>
6786
6787 PR breakpoints/17000
6788 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6789 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6790
06eb1586
DE
67912014-06-02 Doug Evans <xdje42@gmail.com>
6792
6793 * gdb.guile/scm-parameter.exp: New file.
6794
e698b8c4
DE
67952014-06-02 Doug Evans <xdje42@gmail.com>
6796
6797 * gdb.guile/scm-cmd.c: New file.
6798 * gdb.guile/scm-cmd.exp: New file.
6799
ded03782
DE
68002014-06-02 Doug Evans <xdje42@gmail.com>
6801
6802 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6803 pretty-printer lookup.
6804 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6805 (make-pp_s-printer): Call it.
6806 (make-pretty-printer-from-dict): New function.
6807 (lookup-pretty-printer-maker-from-dict): New function.
6808 (*pretty-printer*): Simplify.
6809 (make-objfile-pp_s-printer): New function.
6810 (install-objfile-pretty-printers!): New function.
6811 (make-progspace-pp_s-printer): New function.
6812 (install-progspace-pretty-printers!): New function.
6813 * gdb.guile/scm-progspace.c: New file.
6814 * gdb.guile/scm-progspace.exp: New file.
6815
41fac0cf
PA
68162014-06-02 Pedro Alves <palves@redhat.com>
6817
6818 * gdb.base/dprintf-bp-same-addr.c: New file.
6819 * gdb.base/dprintf-bp-same-addr.exp: New file.
6820
96ae5695
EBM
68212014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6822
6823 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6824 * gdb.arch/powerpc-power.s: Likewise.
6825
da02b3a8
JB
68262014-06-02 Joel Brobecker <brobecker@adacore.com>
6827
6828 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6829
c72b2e7b
YQ
68302014-06-01 Yao Qi <yao@codesourcery.com>
6831
6832 * gdb.base/watchpoint.exp (test_watch_location): Check null
6833 pointer can be dereferenced. If not, do the test, otherwise
6834 skip it.
6835
53e8a631
AB
68362014-05-30 Andrew Burgess <aburgess@broadcom.com>
6837
6838 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6839 results.
6840 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6841
938f0e2f
AB
68422014-05-30 Andrew Burgess <aburgess@broadcom.com>
6843
6844 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6845 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6846 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6847 * gdb.arch/amd64-invalid-stack-top.c: New file.
6848 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6849
9ba6657a
PA
68502014-05-30 Pedro Alves <palves@redhat.com>
6851
6852 PR breakpoints/17000
6853 * gdb.base/sss-bp-on-user-bp.c: New file.
6854 * gdb.base/sss-bp-on-user-bp.exp: New file.
6855
522c09bf
DB
68562014-05-30 David Blaikie <dblaikie@gmail.com>
6857
6858 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6859 gnu_inline semantics via attribute.
6860 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6861 source explicitly specifies the required semantics.
6862
bf4ef81e
MR
68632014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6864
6865 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6866
329ea579
PA
68672014-05-29 Pedro Alves <palves@redhat.com>
6868 Tom Tromey <tromey@redhat.com>
6869
6870 * gdb.base/async-shell.exp: Don't enable target-async.
6871 * gdb.base/async.exp
6872 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6873 parameter. Adjust.
6874 (top level): Don't test with "target-async".
6875 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6876 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6877 * gdb.base/inferior-died.exp: Don't enable target-async.
6878 * gdb.base/interrupt-noterm.exp: Likewise.
6879 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6880 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6881 * gdb.mi/mi-nonstop.exp: Likewise.
6882 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6883 * gdb.mi/mi-nsintrall.exp: Likewise.
6884 * gdb.mi/mi-nsmoribund.exp: Likewise.
6885 * gdb.mi/mi-nsthrexec.exp: Likewise.
6886 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6887 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6888 * gdb.python/py-evsignal.exp: Don't enable target-async.
6889 * gdb.python/py-evthreads.exp: Likewise.
6890 * gdb.python/py-prompt.exp: Likewise.
6891 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6892 * gdb.server/solib-list.exp: Don't enable target-async.
6893 * gdb.threads/thread-specific-bp.exp: Likewise.
6894 * lib/mi-support.exp: Adjust to use mi-async.
6895
fd664c91
PA
68962014-05-29 Pedro Alves <palves@redhat.com>
6897
6898 PR gdb/13860
6899 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6900 reason, even in sync mode.
6901
251bde03
PA
69022014-05-29 Pedro Alves <palves@redhat.com>
6903 Hui Zhu <hui@codesourcery.com>
6904
6905 PR PR15693
6906 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6907 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6908 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6909 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6910
7f3c0343
JB
69112014-05-28 Joel Brobecker <brobecker@adacore.com>
6912
6913 * config/monitor.exp (gdb_target_monitor): Replace use of
6914 "set remotebaud" by "set serial baud".
6915
b2715b27
AW
69162014-05-26 Andy Wingo <wingo@igalia.com>
6917
6918 * gdb.guile/scm-breakpoint.exp:
6919 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6920 properties instead of gdb-object-properties.
6921
498a4489
YQ
69222014-05-26 Yao Qi <yao@codesourcery.com>
6923
6924 * gdb.server/no-thread-db.exp: Specify source file name
6925 explicitly when setting a breakpoint.
6926
589fdceb
MM
69272014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6928
6929 * gdb.btrace/vdso.c: New.
6930 * gdb.btrace/vdso.exp: New.
6931
e9089e05
MM
69322014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6933
6934 * gdb.base/gcore.exp (capture_command_output): Move ...
6935 * lib/gdb.exp (capture_command_output): ... here.
6936
67b5c0c1
MM
69372014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6938
6939 * gdb.btrace/data.exp: Test memory access during btrace replay.
6940
a2199296
SM
69412014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6942
6943 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6944
17b2616c
PA
69452014-05-21 Pedro Alves <palves@redhat.com>
6946
6947 PR gdb/13860
6948 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6949 (top level): Test that output related to execution commands is
6950 sent to the console with CLI commands, but not with MI commands.
6951 Test that breakpoint events are always mirrored to the console.
6952 Also expect the new source line to be output after a "next" in
6953 async mode too. Make it a pass/fail test.
6954 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6955 output.
6956 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6957
5166082f
PA
69582014-05-21 Pedro Alves <palves@redhat.com>
6959
6960 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6961 Use them to test variations of "list" after reaching a breakpoint.
6962 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6963 Test "list" with listsize 10 after reaching a breakpoint.
6964 * gdb.python/python.exp (decode_line current location line
6965 number): Adjust expected line number.
6966
2f25d70f
SM
69672014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6968
6969 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6970 behavior for $args, pass it directly to "run".
6971
ff604a67
MR
69722014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6973
6974 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6975 30000 to 65536.
6976
6a3cb8e8
PA
69772014-05-21 Pedro Alves <palves@redhat.com>
6978
6979 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6980 auto-connect-native-target off".
6981 * gdb.base/auto-connect-native-target.c: New file.
6982 * gdb.base/auto-connect-native-target.exp: New file.
6983
4ebfc96e
PA
69842014-05-21 Pedro Alves <palves@redhat.com>
6985
6986 * gdb.base/default.exp: Test "target native" instead of "target
6987 child".
6988
36d46afb
MW
69892014-05-21 Mark Wielaard <mjw@redhat.com>
6990
6991 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6992
5876f503
JK
69932014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6994
6995 Fix TLS access for -static -pthread.
6996 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6997 <HAVE_TLS> (thread_function, main): Initialize it.
6998 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6999 Add clean_restart.
7000 <$have_tls != "">: Check TLSVAR.
7001
0256a6ac
PA
70022014-05-21 Pedro Alves <palves@redhat.com>
7003
7004 * gdb.base/dcache-line-read-error.c: New.
7005 * gdb.base/dcache-line-read-error.exp: New.
7006
936d2992
PA
70072014-05-20 Pedro Alves <palves@redhat.com>
7008
7009 * gdb.base/compare-sections.c: New file.
7010 * gdb.base/compare-sections.exp: New file.
7011
802e8e6d
PA
70122014-05-20 Pedro Alves <palves@redhat.com>
7013
7014 * gdb.base/break-idempotent.c: New file.
7015 * gdb.base/break-idempotent.exp: New file.
7016
e59fa00f
MM
70172014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7018
7019 * gdb.btrace/nohist.exp: New.
7020
8b696e31
YQ
70212014-05-20 Yao Qi <yao@codesourcery.com>
7022
7023 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7024 gdb.reverse directory and gdb_reverse_timeout exists in board
7025 setting.
7026 * README: Document gdb_reverse_timeout.
7027
73c9764f
YQ
70282014-05-20 Yao Qi <yao@codesourcery.com>
7029
7030 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7031 'test_file_name'. Treat args as a string instead of a list.
7032 (gdb_init): Rename argument 'args' by 'test_file_name'.
7033
f1f4348a
JK
70342014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7035
7036 * gdb.arch/powerpc-power.exp: New file.
7037 * gdb.arch/powerpc-power.s: New file.
7038
0dbe70ce
DE
70392014-05-16 Doug Evans <dje@google.com>
7040
7041 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7042 * gdb.base/completion.exp: Check that all expected files exist
7043 before doing file completion.
0dbe70ce 7044
8d551b02
DE
70452014-05-16 Doug Evans <dje@google.com>
7046
7047 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7048 Update.
7049 (do_syscall_tests_without_xml): Update.
7050
73eb7709
PA
70512014-05-16 Pedro Alves <palves@redhat.com>
7052
7053 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7054 instead of "unknown output after running".
7055
3fae92fc
YQ
70562014-05-16 Yao Qi <yao@codesourcery.com>
7057
7058 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7059 file1.txt from host at the end.
7060 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7061
c2b2ccc5
DE
70622014-05-15 Doug Evans <dje@google.com>
7063
7064 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7065 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7066 loading file. Add test for TU lookup.
7067
8c217a4b
SM
70682014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7069
7070 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7071 calling "-exec-arguments" or "set args" before running the
7072 inferior.
7073
3deb39c6
SM
70742014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7075
7076 * lib/mi-support.exp (mi_expect_stop): Expect message for
7077 inferiors that exit with non-zero exit code.
7078
71a79f8c
YQ
70792014-05-14 Yao Qi <yao@codesourcery.com>
7080
7081 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7082 match absolute path on remote host.
7083 (test_file_list_exec_source_files): Remove "/" from the
7084 pattern.
7085
f23fcd46
YQ
70862014-05-14 Yao Qi <yao@codesourcery.com>
7087
7088 * boards/local-remote-host-notty.exp (${board}_file): New
7089 proc.
7090
9404b58f
KM
70912014-05-07 Kyle McMartin <kyle@redhat.com>
7092
7093 Pushed by Joel Brobecker <brobecker@adacore.com>.
7094 * gdb.arch/aarch64-atomic-inst.c: New file.
7095 * gdb.arch/aarch64-atomic-inst.exp: New file.
7096
5e45f04c
YQ
70972014-05-07 Yao Qi <yao@codesourcery.com>
7098
7099 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7100 in current context" too.
7101
c888a17d
KS
71022014-05-05 Keith Seitz <keiths@redhat.com>
7103
7104 * gdb.linespec/ls-dollar.exp: Add test for linespec
7105 file:convenience_variable.
7106
290a839c
YQ
71072014-05-05 Yao Qi <yao@codesourcery.com>
7108
7109 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7110 traceframes into tfile and ctf trace files. Read data from
7111 trace file and test collected data.
7112 (gdb_collect_locals_test): Likewise.
7113 (gdb_unavailable_registers_test): Likewise.
7114 (gdb_unavailable_floats): Likewise.
7115 (gdb_collect_globals_test): Likewise.
7116 (top-level): Append "ctf" to trace_file_targets if GDB
7117 supports.
7118
b5262cd0
YQ
71192014-05-05 Yao Qi <yao@codesourcery.com>
7120
7121 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7122 code to ...
7123 (gdb_collect_args_test_1): ... it. New proc.
7124 (gdb_collect_locals_test): Move some code to ...
7125 (gdb_collect_locals_test_1): ... it. New proc.
7126 (gdb_unavailable_registers_test): Move some code to ...
7127 (gdb_unavailable_registers_test_1): ... it. New proc.
7128 (gdb_unavailable_floats): Move some code to ...
7129 (gdb_unavailable_floats_1): ... it. New proc.
7130
30a1e6cc
SDJ
71312014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7132
7133 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7134 probes to test for bitness recognition.
7135 * gdb.arch/amd64-stap-optional-prefix.exp
7136 (test_probe_value_without_reg): New procedure.
7137 Add code to test for different kinds of bitness.
7138
f33da99a
SDJ
71392014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7140
7141 PR breakpoints/16889
7142 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7143 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7144
5b80f00d
PA
71452014-05-01 Pedro Alves <palves@redhat.com>
7146
7147 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7148 gdb_file_cmd if no file is specified.
7149 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7150 last_loaded_file to set the remote exec-file.
7151
f8c2a73c
PA
71522014-05-01 Pedro Alves <palves@redhat.com>
7153
7154 * boards/local-remote-host.exp: New file.
7155
be6e8ac7
PA
71562014-05-01 Pedro Alves <palves@redhat.com>
7157
7158 * boards/local-remote-host.exp: Rename to ...
7159 * boards/local-remote-host-notty.exp: ... this.
7160
cac0dc8f
JB
71612014-04-28 Joel Brobecker <brobecker@adacore.com>
7162
7163 * gdb.ada/dyn_arrayidx: New testcase.
7164
9730e6cc
YQ
71652014-04-26 Yao Qi <yao@codesourcery.com>
7166
7167 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7168 and compute the length of function main. Save it in
7169 $main_length.
7170 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7171 (top-level): Use gdb_compile to compile objects into
7172 executable and restart GDB. Remove invocation to
7173 prepare_for_testing.
7174
7ae1a6a6
PA
71752014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7176 Pedro Alves <palves@redhat.com>
7177
7178 PR server/16255
7179 * gdb.multi/multi-attach.c: New file.
7180 * gdb.multi/multi-attach.exp: New file.
7181
4082afcc
PA
71822014-04-25 Pedro Alves <palves@redhat.com>
7183
7184 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7185 user.
7186 (top level): Test that "set remote conditional-breakpoints-packet
7187 off" works as intended.
7188 * gdb.base/dprintf.exp: Test that "set remote
7189 breakpoint-commands-packet off" works as intended.
7190 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7191 New function.
7192 (top level): Call it.
7193 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7194 remote fast-tracepoints-packet off" works as intended.
7195 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7196 * lib/gdb.exp (gdb_is_target_remote): ... here.
7197
2abc3f8d
DB
71982014-04-24 David Blaikie <dblaikie@gmail.com>
7199
7200 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7201 ensure clang would not discard them.
7202 * gdb.base/gdbvars.c: Ditto.
7203 * gdb.base/memattr.c: Ditto.
7204 * gdb.base/whatis.c: Ditto.
7205 * gdb.python/py-prettyprint.c: Ditto.
7206 * gdb.trace/actions.c: Ditto.
7207 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7208 ensure clang would not discard it.
7209
bfd39632
DB
72102014-04-24 David Blaikie <dblaikie@gmail.com>
7211
7212 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7213 clang to emit the full definition of type required by the test
7214 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7215
22842ff6
DB
72162014-04-24 David Blaikie <dblaikie@gmail.com>
7217
7218 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7219 coax Clang into emitting the definition of the type.
7220 * gdb.cp/pr10728-x.h (y): Ditto.
7221 * gdb.cp/pr10728-y.cc (y): Ditto.
7222
c2e827ad
DB
72232014-04-24 David Blaikie <dblaikie@gmail.com>
7224
7225 * gdb.base/label.exp: XFAIL label related tests under Clang.
7226 * gdb.cp/cplabel.exp: Ditto.
7227 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7228 under Clang those using labels.
7229
4c2d33e7
YQ
72302014-04-25 Yao Qi <yao@codesourcery.com>
7231
7232 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7233 double_label.
7234 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7235 partial_label and double_label.
7236
56083b99
DB
72372014-04-24 David Blaikie <dblaikie@gmail.com>
7238
7239 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7240
25d4e99d
DB
72412014-04-24 David Blaikie <dblaikie@gmail.com>
7242
7243 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7244 of the function to work across GCC and Clang.
7245 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7246 pointer types (const void ** const V void **).
7247
01f9f808
MS
72482014-04-24 Michael Sturm <michael.sturm@mintel.com>
7249 Walfred Tedeschi <walfred.tedeschi@intel.com>
7250
7251 * Makefile.in (EXECUTABLES): Added i386-avx512.
7252 * gdb.arch/i386-avx512.c: New file.
7253 * gdb.arch/i386-avx512.exp: Likewise.
7254
4b48d439
KS
72552014-04-23 Keith Seitz <keiths@redhat.com>
7256
7257 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7258 (mi_make_breakpoint_table): New procedure.
7259 (mi_create_breakpoint): Use mi_make_breakpoint
7260 and return the result.
7261 (mi_make_breakpoint): New procedure.
7262 (mi_build_kv_pairs): New procedure.
7263
7264 * gdb.mi/mi-break.exp: Remove unused globals,
7265 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7266 All callers updated.
7267 * gdb.mi/mi-dprintf.exp: Use variable to track command
7268 number.
7269 Update all callers of mi_create_breakpoint and use
7270 mi_make_breakpoint_table.
7271 Remove any unused global variables.
7272 * gdb.mi/mi-nonstop.exp: Likewise.
7273 * gdb.mi/mi-nsintrall.exp: Likewise.
7274 * gdb.mi/mi-nsmoribund.exp: Likewise.
7275 * gdb.mi/mi-nsthrexec.exp: Likewise.
7276 * gdb.mi/mi-reverse.exp: Likewise.
7277 * gdb.mi/mi-simplerun.exp: Likewise.
7278 * gdb.mi/mi-stepn.exp: Likewise.
7279 * gdb.mi/mi-syn-frame.exp: Likewise.
7280 * gdb.mi/mi-until.exp: Likewise.
7281 * gdb.mi/mi-var-cp.exp: Likewise.
7282 * gdb.mi/mi-var-display.exp: Likewise.
7283 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7284 * gdb.mi/mi2-var-child.exp: Likewise.
7285 * gdb.mi/mi-vla-c99.exp: Likewise.
7286 * lib/mi-support.exp: Likewise.
7287
7288 From Ian Lance Taylor <iant@cygnus.com>:
7289 * lib/gdb.exp (parse_args): New procedure.
7290
08351840
PA
72912014-04-23 Pedro Alves <palves@redhat.com>
7292
7293 * gdb.base/break-unload-file.c: New file.
7294 * gdb.base/break-unload-file.exp: New file.
7295 * gdb.base/sym-file-lib.c (baz): New function.
7296 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7297 field.
7298 (load): Store the segment's mapped size.
7299 (unload): New function.
7300 (unload_shlib): New function.
7301 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7302 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7303 set a breakpoint at baz, and call it.
7304 * gdb.base/sym-file.exp: New tests for stale breakpoint
7305 instructions.
7306
076855f9
PA
73072014-04-23 Pedro Alves <palves@redhat.com>
7308
7309 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7310 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7311 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7312 * gdb.base/hbreak-unmapped.c: New file.
7313 * gdb.base/hbreak-unmapped.exp: New file.
7314 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7315 * lib/gdb.exp (gdb_is_target_remote): ... here.
7316
483805cf
PA
73172014-04-22 Pedro Alves <palves@redhat.com>
7318
7319 * gdb.base/consecutive-step-over.c: New file.
7320 * gdb.base/consecutive-step-over.exp: New file.
7321
06d97543
PA
73222014-04-22 Pedro Alves <palves@redhat.com>
7323
7324 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7325 instead of send_gdb/gdb_expect.
7326
b4429ea2
YQ
73272014-04-22 Yao Qi <yao@codesourcery.com>
7328
7329 * lib/trace-support.exp (generate_tracefile): New procedure.
7330 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7331 return 0.
7332 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7333 if generate_tracefile returns 1.
7334
51d48146
PA
73352014-04-18 Tom Tromey <palves@redhat.com>
7336 Pedro alves <tromey@redhat.com>
7337
7338 PR backtrace/15558
7339 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7340 with a backtrace limit.
7341 * gdb.python/py-frame-inline.exp: Test running to an inline
7342 function with a backtrace limit, and printing the newest frame.
7343 * gdb.python/py-frame-inline.c (main): Call f.
7344
bd1dce5f
MS
73452014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7346
7347 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7348
40d1a503
MS
73492014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7350
7351 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7352 Drop prefix from unsupported source file path.
7353
389b98f7
YQ
73542014-04-17 Yao Qi <yao@codesourcery.com>
7355
7356 * lib/gdb.exp (with_target_charset): New proc.
7357 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7358 with_target_charset.
7359 (test_print_strings): Likewise.
7360 (test_repeat_bytes): Likewise.
7361 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7362 for some tests.
7363
22869d73
KS
73642014-04-16 Keith Seitz <keiths@redhat.com>
7365
7366 PR gdb/15827
7367 * gdb.dwarf2/corrupt.c: New file.
7368 * gdb.dwarf2/corrupt.exp: New file.
7369
c4f87ca6
KS
73702014-04-16 Keith Seitz <keiths@redhat.com>
7371
7372 PR c++/16597
7373 * gdb.cp/namelessclass.cc: New file.
7374 * gdb.cp/namelessclass.exp: New file.
7375 * gdb.cp/namelessclass.S: New file.
7376
ab19de87
DE
73772014-04-16 Doug Evans <dje@google.com>
7378
7379 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7380 Add comment.
7381 (gdbserver_default_get_comm_port): New function.
7382 (gdbserver_start): Check if board file provided
7383 "gdbserver,get_comm_port" and use it if so.
7384 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7385 (gdb,socketport): Set to "stdio".
7386 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7387 (stdio_gdbserver_template): Delete.
7388 (${board}_get_remote_address): Update.
7389 (${board}_build_remote_cmd): Delete.
7390 (${board}_get_comm_port): New function.
7391 (${board}_spawn): Update.
7392 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7393 Delete.
7394 (${board}_get_remote_address): Update.
7395 (${board}_get_comm_port): New function.
7396
fc98a809
AB
73972014-04-16 Andrew Burgess <aburgess@broadcom.com>
7398
7399 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7400 appearing in any order.
7401
87fd9e6e
DE
74022014-04-15 Doug Evans <dje@google.com>
7403
7404 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7405 uninitialized value of "description".
7406
099fc3ea
KS
74072014-04-15 Keith Seitz <keiths@redhat.com>
7408
7409 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7410 Remove unused globals.
7411 (test_running_the_program): Likewise.
7412 (test_controlled_execution): Likewise.
7413 (test_controlling_breakpoints): Likewise.
7414 (test_program_termination): Likewise.
7415
5da151d4
KS
74162014-04-15 Keith Seitz <keiths@redhat.com>
7417
7418 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7419 unused globals.
7420 (test_rbreak_creation_and_listing): Likewise.
7421 (test_ignore_count): Likewise.
7422 (test_error): Likewise.
7423
35e5d2f0
PA
74242014-04-15 Pedro Alves <palves@redhat.com>
7425
7426 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7427 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7428 sym-file-loader.c.
7429 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7430 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7431 to sym-file-loader.c.
7432 (struct library): Forward declare.
7433 (load_shlib, lookup_function): Change prototypes.
7434 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7435 (translate_offset): Remove declarations.
7436 (get_text_addr): New declaration.
7437 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7438 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7439 sym-file-loader.h.
7440 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7441 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7442 here from sym-file-loader.h.
7443 (struct library): New structure.
7444 (load_shlib, lookup_function): Change prototypes and adjust to
7445 work with a struct library.
7446 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7447 (translate_offset): Make static.
7448 (get_text_addr): New function.
7449 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7450
eb4c1710
PA
74512014-04-15 Pedro Alves <palves@redhat.com>
7452
7453 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7454
2d1baf52
PA
74552014-04-15 Pedro Alves <palves@redhat.com>
7456
7457 * gdb.base/sym-file-loader.c: Include <limits.h>.
7458 (SELF_LINK): New define.
7459 (get_origin): New function.
7460 (load_shlib): Use it.
7461 * gdb.base/sym-file.exp: Don't early return if the target is
7462 remote. Use runto_main, and issue fail is that fails. Use
7463 gdb_load_shlibs.
7464 (shlib_name): Delete.
7465 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7466
7dd6df01
PA
74672014-04-15 Pedro Alves <palves@redhat.com>
7468
7469 * gdb.base/sym-file.exp: Remove regex characters from test
7470 message. Don't refer to breakpoint numbers in test messages.
7471
b50c8614
KS
74722014-04-14 Keith Seitz <keiths@redhat.com>
7473
7474 PR c++/16253
7475 * gdb.cp/var-tag.cc: New file.
7476 * gdb.cp/var-tag.exp: New file.
7477 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7478 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7479 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7480 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7481
3d567982
TT
74822014-04-14 Tom Tromey <tromey@redhat.com>
7483
7484 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7485 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7486 type.
7487 * gdb.cp/enum-class.exp: New file.
7488 * gdb.cp/enum-class.cc: New file.
7489
0626fc76
TT
74902014-04-14 Tom Tromey <tromey@redhat.com>
7491
7492 * gdb.dwarf2/enum-type.exp: New file.
7493
dca325b3
SA
74942014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7495
7496 * gdb.mi/mi-vla-c99.exp: New file.
7497 * gdb.mi/vla.c: New file.
7498
5854b38a
SA
74992014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7500
7501 * gdb.base/vla-datatypes.c: New file.
7502 * gdb.base/vla-datatypes.exp: New file.
7503
463bb957
SA
75042014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7505
7506 * gdb.base/vla-ptr.c: New file.
7507 * gdb.base/vla-ptr.exp: New file.
7508
3dd170be
SA
75092014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7510
7511 * gdb.dwarf2/count.exp: New file.
7512
5ecaaa66
SA
75132014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7514
7515 * gdb.base/vla-sideeffect.c: New file.
7516 * gdb.base/vla-sideeffect.exp: New file.
7517
41f1ada5
DB
75182014-04-14 David Blaikie <dblaikie@gmail.com>
7519
7520 * gdb.mi/non-stop.c: Add return value for non-void function return
7521 statement.
7522 * gdb.threads/staticthreads.c: Ditto.
7523
0be03e84
DE
75242014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7525 Doug Evans <xdje42@gmail.com>
7526
7527 * gdb.guile/scm-value.c: Improve test case.
7528 * gdb.guile/scm-value.exp: Add new test.
7529
f180a1fb
DB
75302014-04-11 David Blaikie <dblaikie@gmail.com>
7531
7532 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7533 override Clang's default.
7534
6b662e19
JB
75352014-04-11 Joel Brobecker <brobecker@adacore.com>
7536
7537 Revert the following changes (regressions):
7538
7539 * gdb.base/vla-sideeffect.c: New file.
7540 * gdb.base/vla-sideeffect.exp: New file.
7541
7542 * gdb.dwarf2/count.exp: New file.
7543
7544 * gdb.base/vla-multi.c: New file.
7545 * gdb.base/vla-multi.exp: New file.
7546
7547 * gdb.base/vla-ptr.c: New file.
7548 * gdb.base/vla-ptr.exp: New file.
7549
7550 * gdb.base/vla-datatypes.c: New file.
7551 * gdb.base/vla-datatypes.exp: New file.
7552
7553 * gdb.mi/mi-vla-c99.exp: New file.
7554 * gdb.mi/vla.c: New file.
7555
245a5f0b
KS
75562014-04-11 Keith Seitz <keiths@redhat.com>
7557
7558 PR c++/16675
7559 * gdb.cp/cpsizeof.exp: New file.
7560 * gdb.cp/cpsizeof.cc: New file.
7561
58a84dcf
SA
75622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7563
191a8a90
JB
7564 * gdb.mi/mi-vla-c99.exp: New file.
7565 * gdb.mi/vla.c: New file.
58a84dcf 7566
c8655f75
SA
75672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7568
7569 * gdb.base/vla-datatypes.c: New file.
7570 * gdb.base/vla-datatypes.exp: New file.
7571
024e13b4
SA
75722014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7573
7574 * gdb.base/vla-ptr.c: New file.
7575 * gdb.base/vla-ptr.exp: New file.
7576
1a237e0e
SA
75772014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7578
7579 * gdb.base/vla-multi.c: New file.
7580 * gdb.base/vla-multi.exp: New file.
7581
504f3432
SA
75822014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7583
7584 * gdb.dwarf2/count.exp: New file.
7585
3bce8237
SA
75862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7587
191a8a90
JB
7588 * gdb.base/vla-sideeffect.c: New file.
7589 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 7590
322f9c21
YQ
75912014-04-11 Yao Qi <yao@codesourcery.com>
7592
7593 * gdb.base/completion.exp: Check file exists before running tests
7594 on file completion.
7595
d708bcd1
PA
75962014-04-10 Pedro Alves <palves@redhat.com>
7597
7598 * gdb.base/cond-eval-mode.c: New file.
7599 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7600 prepare_for_testing to build the new file. Check result of
7601 runto_main.
7602 (test_break, test_watch): New procedures.
7603 (top level): Use them.
7604
ae1d2761
PM
76052014-04-08 Pierre Muller <muller@sourceware.org>
7606
7607 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7608 Ctrl-V use for mingw hosts.
7609
7af389b8
SC
76102014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7611
7612 * gdb.python/py-value.c: Improve test case.
7613 * gdb.python/py-value.exp: Add new test.
7614
5e703181
DE
76152014-04-07 David Blaikie <dblaikie@gmail.com>
7616
7617 * lib/compiler.c: Identify the clang compiler.
7618 * lib/compiler.cc: Ditto.
7619
9810b410
YQ
76202014-04-03 Yao Qi <yao@codesourcery.com>
7621
7622 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7623
98d1b8dc
AB
76242014-04-01 Anton Blanchard <anton@samba.org>
7625
7626 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7627 messages unique.
7628
3114cea1
AB
76292014-04-01 Anton Blanchard <anton@samba.org>
7630
7631 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7632 prepare_for_testing.
7633
62f7182c
AB
76342014-04-01 Anton Blanchard <anton@samba.org>
7635
7636 * gdb.arch/ppc64-atomic-inst.c: Remove.
7637 * gdb.arch/ppc64-atomic-inst.S: New file.
7638 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7639
770e7fc7
DE
76402014-03-31 Doug Evans <dje@google.com>
7641
7642 * gdb.base/print-symbol-loading-lib.c: New file.
7643 * gdb.base/print-symbol-loading-main.c: New file.
7644 * gdb.base/print-symbol-loading.exp: New file.
7645
46e2bafa
YQ
76462014-03-31 Yao Qi <yao@codesourcery.com>
7647
7648 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7649
8776cfe9
JB
76502014-03-28 Joel Brobecker <brobecker@adacore.com>
7651
7652 * gdb.ada/mi_dyn_arr: New testcase.
7653
5d1ef361
DE
76542014-03-27 Doug Evans <dje@google.com>
7655
7656 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7657
b5bee914
YQ
76582014-03-27 Yao Qi <yao@codesourcery.com>
7659
7660 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7661 if target is nios2-*-*.
7662
0d4d0e77
YQ
76632014-03-26 Yao Qi <yao@codesourcery.com>
7664
7665 * lib/gdb.exp (readline_is_used): New proc.
7666 * gdb.base/completion.exp: Move tests on command complete up.
7667 Skip the rest of tests if readline is not used.
7668 * gdb.ada/complete.exp: Skp the test if readline is not
7669 used.
7670 * gdb.base/filesym.exp: Likewise.
7671 * gdb.base/macscp.exp: Likewise.
7672 * gdb.base/readline-ask.exp: Likewise.
7673 * gdb.base/readline.exp: Likewise.
7674 * gdb.python/py-cmd.exp: Likewise.
7675 * gdb.trace/tfile.exp: Likewise.
7676
29361eee
YQ
76772014-03-26 Yao Qi <yao@codesourcery.com>
7678
7679 * gdb.base/macscp.exp: Fix code format issues.
7680
bc9a5525
UW
76812014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7682
7683 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7684 * gdb.asm/powerpc64le.inc: New file.
7685
d3839ede
PA
76862014-03-25 Pedro Alves <palves@redhat.com>
7687 Doug Evans <dje@google.com>
7688
7689 * gdb.base/source-execution.c: New file.
7690 * gdb.base/source-execution.exp: New file.
7691 * gdb.base/source-execution.gdb: New file.
7692
01672a57
DE
76932014-03-24 Doug Evans <dje@google.com>
7694
7695 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7696 using fission.
7697
88bbeca9
HZ
76982014-03-24 Hui Zhu <hui@codesourcery.com>
7699 Pedro Alves <palves@redhat.com>
7700
7701 PR breakpoints/16101
7702 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7703 test pass/fail messages. Detect missing support for dprintf when
7704 breakpoints are actually inserted.
7705 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7706 breakpoints are actually inserted.
7707 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7708 fails.
7709
d2348791
JK
77102014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7711
7712 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7713
feef67ab
DE
77142014-03-22 Doug Evans <xdje42@gmail.com>
7715
7716 * gdb.python/python.exp (python not supported): Verify multi-line
7717 python command issues an error.
25d743f9 7718 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 7719 guile command issues an error.
feef67ab 7720
ecebef6a
MR
77212014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7722
7723 * gdb.threads/thread-specific.exp: Handle the lack of usable
7724 $this_breakpoint and $this_thread.
7725
ccdd1909
HZ
77262014-03-21 Hui Zhu <hui@codesourcery.com>
7727
7728 * gdb.base/attach.exp (do_command_attach_tests): New.
7729
beb460e8
PA
77302014-03-20 Tom Tromey <tromey@redhat.com>
7731 Pedro Alves <palves@redhat.com>
7732
7733 PR cli/15718
7734 * gdb.base/condbreak-call-false.c: New file.
7735 * gdb.base/condbreak-call-false.exp: New file.
7736
40acf43a
PA
77372014-03-20 Pedro Alves <palves@redhat.com>
7738
7739 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7740 Delete.
7741 (block_signals, unblock_signals): Delete.
7742 (child_function_2, main): Remove references to deleted variable
7743 and functions.
7744
9f5e1e02
PA
77452014-03-20 Pedro Alves <palves@redhat.com>
7746
7747 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7748 Use pthread_kill to signal thread 2.
7749 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7750 Adjust to make the test send itself a signal rather than using the
7751 host's "kill" command.
7752
99619bea
PA
77532014-03-20 Pedro Alves <palves@redhat.com>
7754
7755 * gdb.threads/multiple-step-overs.c: New file.
7756 * gdb.threads/multiple-step-overs.exp: New file.
7757 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7758 Adjust expected infrun debug output.
7759
2adfaa28
PA
77602014-03-20 Pedro Alves <palves@redhat.com>
7761
7762 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7763 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7764
31e77af2
PA
77652014-03-20 Pedro Alves <palves@redhat.com>
7766
7767 PR breakpoints/7143
7768 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7769 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7770 of gdb_test_multiple.
7771 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7772 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7773
b9f437de
PA
77742014-03-20 Pedro Alves <palves@redhat.com>
7775
7776 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7777 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7778
05adc73e
PA
77792014-03-19 Pedro Alves <palves@redhat.com>
7780
7781 * gdb.base/async.exp: Remove early return.
7782
6048b950
PA
77832014-03-19 Pedro Alves <palves@redhat.com>
7784
7785 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7786
8bcfb00a
PA
77872014-03-19 Pedro Alves <palves@redhat.com>
7788
7789 * gdb.base/async.exp (test_background): Expect \r\n after
7790 "completed." in the fail pattern.
7791
884e37dc
PA
77922014-03-19 Pedro Alves <palves@redhat.com>
7793
7794 * gdb.base/async.exp (test_background): New procedure.
7795 Use it for all background execution command tests.
7796
148e57e2
PA
77972014-03-19 Pedro Alves <palves@redhat.com>
7798
7799 * gdb.base/async.exp: Use prepare_for_testing.
7800
f48088c7
PA
78012014-03-19 Pedro Alves <palves@redhat.com>
7802
7803 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7804 the same line.
7805
e2f6c966
PA
78062014-03-19 Pedro Alves <palves@redhat.com>
7807
7808 * gdb.base/async.c (main): Add "jump here" and "until here" line
7809 marker comments.
7810 * gdb.base/async.exp (jump_here): New global.
7811 (jump& test): Use it.
7812 (until_here): New global.
7813 (until& test): Use it.
7814
c30568d4
PA
78152014-03-19 Pedro Alves <palves@redhat.com>
7816
7817 * gdb.base/async.exp: Don't frob gdb_protocol.
7818
0172b6a7
DE
78192014-03-18 Doug Evans <xdje42@gmail.com>
7820
7821 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7822 Fix spelling of exec-done-display.
7823
06c868a8
JK
78242014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7825
7826 PR gdb/15358
7827 * gdb.base/gdb-sigterm.c: New file.
7828 * gdb.base/gdb-sigterm.exp: New file.
7829
0c7e1a46
PA
78302014-03-18 Pedro Alves <palves@redhat.com>
7831
7832 PR gdb/13860
7833 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7834 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7835 solib-event.
7836
f7c77d93
JB
78372014-03-17 Joel Brobecker <brobecker@adacore.com>
7838
7839 * gdb.ada/pckd_arr_ren: New testcase.
7840
5a1e8c7a
DE
78412014-03-13 Doug Evans <xdje42@gmail.com>
7842
7843 PR guile/16612
7844 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7845 collect after discarding symbols.
7846
350e1a76
DE
78472014-03-13 Ludovic Courtès <ludo@gnu.org>
7848 Doug Evans <xdje42@gmail.com>
7849
7850 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7851 to history survives a gc.
7852
a69900ae
PA
78532014-03-13 Pedro Alves <palves@redhat.com>
7854
7855 * gdb.base/default.exp: Don't test "target procfs".
7856
5db9f0bd
PA
78572014-03-13 Pedro Alves <palves@redhat.com>
7858
7859 * gdb.base/default.exp: Update "target child" and "target procfs"
7860 tests to not expect "Unix".
7861
b3ccfe11
TT
78622014-03-12 Tom Tromey <tromey@redhat.com>
7863
7864 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7865 New procs. Add target-async tests.
7866 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7867 Add target-async tests.
7868
646f4417
AA
78692014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7870
7871 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7872 'func_start' and 'func_end' for the beginning and end of the
7873 function code, respectively.
7874 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7875 'func_end' instead of 'func' and 'main'.
7876
288c211f
AA
78772014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7878
7879 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7880 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7881 generate the debug info assembler source.
7882
e0c0f156
AA
78832014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7884
7885 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7886 * gdb.dwarf2/arr-subrange.exp: Likewise.
7887 * gdb.dwarf2/dwz.exp: Likewise.
7888 * gdb.dwarf2/method-ptr.exp: Likewise.
7889 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7890 * gdb.dwarf2/subrange.exp: Likewise.
7891 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7892 * gdb.dwarf2/implptrpiece.exp: Likewise.
7893 * gdb.dwarf2/nostaticblock.exp: Likewise.
7894
0e5c4555
AA
78952014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7896
7897 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7898 directory to absolute path name arguments.
7899
5ec18f2b
JG
79002014-03-10 Joel Brobecker <brobecker@adacore.com>
7901
7902 * gdb.ada/tagged_access: New testcase.
7903
847fc4f2
MM
79042014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7905
7906 * gdb.btrace/data.exp: Update expected output.
7907
cc3da688
YQ
79082014-03-06 Yao Qi <yao@codesourcery.com>
7909
7910 * gdb.trace/pr16508.exp: New file.
7911
0f26cec1
PA
79122014-03-05 Pedro Alves <palves@redhat.com>
7913
7914 PR gdb/16575
7915 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7916 procedure.
7917 (top level): Adjust to use it. Add tests that exercise breakpoint
7918 interaction with the code-cache.
7919
7a5a839f
LC
79202014-02-26 Ludovic Courtès <ludo@gnu.org>
7921
7922 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7923 test for 'history-append!'.
7924
31aa7e4e
JB
79252014-02-26 Joel Brobecker <brobecker@adacore.com>
7926
7927 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7928 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7929 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7930 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7931 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7932 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7933
1b588015
JB
79342014-02-26 Joel Brobecker <brobecker@adacore.com>
7935
7936 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7937 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7938 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7939
55426c9d
JB
79402014-02-26 Joel Brobecker <brobecker@adacore.com>
7941
7942 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7943
dc53a7ad
JB
79442014-02-26 Joel Brobecker <brobecker@adacore.com>
7945
7946 * gdb.dwarf2/arr-stride.c: New file.
7947 * gdb.dwarf2/arr-stride.exp: New file.
7948
12ab52e9
PA
79492014-02-26 Pedro Alves <palves@redhat.com>
7950
7951 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7952 that won't ever trigger. Make sure that GDB reports the correct
7953 breakpoint that caused the stop.
7954
849c862e
JK
79552014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7956
7957 PR gdb/16626
7958 * gdb.base/auto-load-script: New file.
7959 * gdb.base/auto-load.c: New file.
7960 * gdb.base/auto-load.exp: New file.
7961
71b7d793
JK
7962 PR gdb/16626
7963 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7964
e2f0d509
JK
79652014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7966
7967 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7968 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7969
50cc37c8
DE
79702014-02-24 Doug Evans <dje@google.com>
7971
7972 * lib/gdb.exp (run_on_host): Log error output if program fails.
7973
ea4758f2
PA
79742014-02-21 Pedro Alves <palves@redhat.com>
7975
7976 * gdb.threads/step-after-sr-lock.c: Rename to ...
7977 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7978 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7979 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7980 ... this.
7981
d7b30f67
SDJ
79822014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7983
7984 PR tdep/16397
7985 * gdb.arch/amd64-stap-special-operands.exp: New file.
7986 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7987 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7988 * gdb.arch/amd64-stap-triplet.S: Likewise.
7989 * gdb.arch/amd64-stap-triplet.c: Likewise.
7990
83deb43f
JB
79912014-02-20 Joel Brobecker <brobecker@adacore.com>
7992
7993 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7994 in .section pseudo-op.
7995
adde2bff
DE
79962014-02-20 lin zuojian <manjian2006@gmail.com>
7997 Joel Brobecker <brobecker@adacore.com>
7998 Doug Evans <xdje42@gmail.com>
7999
8000 PR symtab/16581
8001 * gdb.dwarf2/dw2-icycle.S: New file.
8002 * gdb.dwarf2/dw2-icycle.c: New file.
8003 * gdb.dwarf2/dw2-icycle.exp: New file.
8004
f7bd0f78
SC
80052014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8006
8007 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8008 operations on gdb.Value objects.
8009 * gdb.python/py-value-cc.exp: Add new test to test operations on
8010 gdb.Value objects.
8011
c17ef0d5
DE
80122014-02-18 Doug Evans <dje@google.com>
8013
8014 * Makefile.in (TESTS): New variable.
8015 (expanded_tests, expanded_tests_or_none): New variables
8016 (check-single): Pass $(expanded_tests_or_none) to runtest.
8017 (check-parallel): Only run tests in $(TESTS) if non-empty.
8018 (check/no-matching-tests-found): New rule.
8019 * README: Document TESTS makefile variable.
8020
5dd3176f
DE
80212014-02-18 Doug Evans <dje@google.com>
8022
8023 * Makefile.in (check-parallel): rm -rf outputs temp.
8024
0b10be4f
JK
80252014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8026
8027 Fix "ERROR: no fileid for" in the testsuite.
8028 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8029
85f224e7
DE
80302014-02-12 Doug Evans <dje@google.com>
8031
8032 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8033 (MISCELLANEOUS): New variable.
8034 (clean): rm -rf $(MISCELLANEOUS).
8035 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8036 dwp live in the same directory as symlinks, with each symlink pointed
8037 to a differently named file in a different directory.
8038
149b30ff
DE
80392014-02-11 Doug Evans <dje@google.com>
8040
8041 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8042 of Tcl file commands.
8043
1dfdac32
MK
80442014-02-10 Mark Kettenis <kettenis@gnu.org>
8045
8046 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8047 "kill -SIGUSR1 -1".
8048
aa4fb036
JB
80492014-02-10 Joel Brobecker <brobecker@adacore.com>
8050
8051 * gdb.ada/tick_length_array_enum_idx: New testcase.
8052
ed3ef339
DE
80532014-02-10 Doug Evans <xdje42@gmail.com>
8054
8055 * configure.ac (AC_OUTPUT): Add gdb.guile.
8056 * configure: Regenerate.
8057 * lib/gdb-guile.exp: New file.
8058 * lib/gdb.exp (get_target_charset): New function.
8059 * gdb.base/help.exp: Update expected output from "apropos apropos".
8060 * gdb.guile/Makefile.in: New file.
8061 * gdb.guile/guile.exp: New file.
8062 * gdb.guile/scm-arch.c: New file.
8063 * gdb.guile/scm-arch.exp: New file.
8064 * gdb.guile/scm-block.c: New file.
8065 * gdb.guile/scm-block.exp: New file.
8066 * gdb.guile/scm-breakpoint.c: New file.
8067 * gdb.guile/scm-breakpoint.exp: New file.
8068 * gdb.guile/scm-disasm.c: New file.
8069 * gdb.guile/scm-disasm.exp: New file.
8070 * gdb.guile/scm-equal.c: New file.
8071 * gdb.guile/scm-equal.exp: New file.
8072 * gdb.guile/scm-error.exp: New file.
8073 * gdb.guile/scm-error.scm: New file.
8074 * gdb.guile/scm-frame-args.c: New file.
8075 * gdb.guile/scm-frame-args.exp: New file.
8076 * gdb.guile/scm-frame-args.scm: New file.
8077 * gdb.guile/scm-frame-inline.c: New file.
8078 * gdb.guile/scm-frame-inline.exp: New file.
8079 * gdb.guile/scm-frame.c: New file.
8080 * gdb.guile/scm-frame.exp: New file.
8081 * gdb.guile/scm-generics.exp: New file.
8082 * gdb.guile/scm-gsmob.exp: New file.
8083 * gdb.guile/scm-iterator.c: New file.
8084 * gdb.guile/scm-iterator.exp: New file.
8085 * gdb.guile/scm-math.c: New file.
8086 * gdb.guile/scm-math.exp: New file.
8087 * gdb.guile/scm-objfile-script-gdb.in: New file.
8088 * gdb.guile/scm-objfile-script.c: New file.
8089 * gdb.guile/scm-objfile-script.exp: New file.
8090 * gdb.guile/scm-objfile.c: New file.
8091 * gdb.guile/scm-objfile.exp: New file.
8092 * gdb.guile/scm-ports.exp: New file.
8093 * gdb.guile/scm-pretty-print.c: New file.
8094 * gdb.guile/scm-pretty-print.exp: New file.
8095 * gdb.guile/scm-pretty-print.scm: New file.
8096 * gdb.guile/scm-section-script.c: New file.
8097 * gdb.guile/scm-section-script.exp: New file.
8098 * gdb.guile/scm-section-script.scm: New file.
8099 * gdb.guile/scm-symbol.c: New file.
8100 * gdb.guile/scm-symbol.exp: New file.
8101 * gdb.guile/scm-symtab-2.c: New file.
8102 * gdb.guile/scm-symtab.c: New file.
8103 * gdb.guile/scm-symtab.exp: New file.
8104 * gdb.guile/scm-type.c: New file.
8105 * gdb.guile/scm-type.exp: New file.
8106 * gdb.guile/scm-value-cc.cc: New file.
8107 * gdb.guile/scm-value-cc.exp: New file.
8108 * gdb.guile/scm-value.c: New file.
8109 * gdb.guile/scm-value.exp: New file.
8110 * gdb.guile/source2.scm: New file.
8111 * gdb.guile/types-module.cc: New file.
8112 * gdb.guile/types-module.exp: New file.
8113
7026a7c1
YQ
81142014-02-10 Yao Qi <yao@codesourcery.com>
8115
8116 PR testsuite/16543
8117 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8118 * configure: Regenerated.
8119 * Makefile.in: New file.
8120
6c466447
AS
81212014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8122
8123 * gdb.python/py-framefilter.exp: Fix typo.
8124
6e854735
YQ
81252014-02-08 Yao Qi <yao@codesourcery.com>
8126
8127 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8128 that no =breakpoint-modified is emitted when breakpoints are
8129 modified through MI commands.
8130
d137e6dc
PA
81312014-02-07 Pedro Alves <pedro@codesourcery.com>
8132 Pedro Alves <palves@redhat.com>
8133
8134 * gdb.threads/step-after-sr-lock.c: New file.
8135 * gdb.threads/step-after-sr-lock.exp: New file.
8136
b5ee5a50
PA
81372014-02-07 Pedro Alves <palves@redhat.com>
8138
8139 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8140
3c77faf3
JK
81412014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8142
8143 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8144 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8145
6dddc817
DE
81462014-02-06 Doug Evans <xdje42@gmail.com>
8147
8148 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8149 output.
8150
8151 * gdb.gdb/python-interrupts.exp: New file.
8152
de7b2893
YQ
81532014-02-05 Yao Qi <yao@codesourcery.com>
8154
8155 * gdb.trace/report.exp (use_collected_data): Test the output
8156 of "info threads" and "info inferiors".
8157
66d032ac
YQ
81582014-02-05 Yao Qi <yao@codesourcery.com>
8159
8160 Revert this patch:
8161
8162 2013-05-24 Yao Qi <yao@codesourcery.com>
8163
8164 * gdb.trace/tfile.exp: Test inferior and thread.
8165
591a12a1
UW
81662014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8167
8168 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8169 on a function.
8170 * gdb.base/step-bt.c: Call hello via function pointer to make
8171 sure its first instruction is executed on powerpc64le-linux.
8172
0ff3e01f
UW
81732014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8174
8175 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8176
084ee545
UW
81772014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8178
8179 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8180 of the test patterns for use on little-endian systems.
8181
6ed14ff3
UW
81822014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8183
8184 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8185 (decimal_vector): Fix for little-endian.
8186
401e27fd
JM
81872014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8188
8189 * gdb.arch/sparc-sysstep.exp: New file.
8190 * gdb.arch/sparc-sysstep.c: Likewise.
8191
8192 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8193
8b924729
EBM
81942014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8195
8196 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8197
fb151210
JB
81982014-01-23 Tom Tromey <tromey@redhat.com>
8199
8200 * gdb.ada/array_char_idx: New testcase.
8201
0740f8d8
TT
82022014-01-23 Tom Tromey <tromey@redhat.com>
8203
8204 PR python/16487:
8205 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8206 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8207 classes.
8208
21909fa1
TT
82092014-01-23 Tom Tromey <tromey@redhat.com>
8210
8211 PR python/16491:
8212 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8213 string from an inferior frame.
8214 * gdb.python/py-framefilter-mi.exp: Update.
8215
87ce2a04
DE
82162014-01-22 Doug Evans <dje@google.com>
8217
8218 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8219
237b092b
AA
82202014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8221
8222 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8223
d674a709
AA
82242014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8225
8226 * gdb.trace/entry-values.exp: Remove excess space character from
8227 regex patterns. Handle s390 call instruction.
8228
20fa3390
AA
82292014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8230
8231 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8232 define "*_start" label. Make "name" static.
8233 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8234 ${name} by references to ${name}_start.
8235
78466714
AA
82362014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8237
8238 * gdb.base/info-macros.exp: Remove "debug" from the compile
8239 options.
8240
ec9f644a
IB
82412014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8242
8243 * gdb.dlang/demangle.exp: New file.
8244
94b1b47e
IB
82452014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8246
8247 * gdb.dlang/primitive-types.exp: New file.
8248
7f420862
IB
82492014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8250
8251 * configure.ac: Create gdb.dlang/Makefile.
8252 * configure: Regenerate.
8253 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8254 * gdb.dlang/Makefile.in: New file.
8255 * lib/d-support.exp: New file.
8256 * lib/gdb.exp (skip_d_tests): New proc.
8257
52834460
MM
82582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8259
8260 * gdb.btrace/delta.exp: Check reverse stepi.
8261 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8262 * gdb.btrace/finish.exp: New.
8263 * gdb.btrace/next.exp: New.
8264 * gdb.btrace/nexti.exp: New.
8265 * gdb.btrace/record_goto.c: Add comments.
8266 * gdb.btrace/step.exp: New.
8267 * gdb.btrace/stepi.exp: New.
8268 * gdb.btrace/multi-thread-step.c: New.
8269 * gdb.btrace/multi-thread-step.exp: New.
8270 * gdb.btrace/rn-dl-bind.c: New.
8271 * gdb.btrace/rn-dl-bind.exp: New.
8272 * gdb.btrace/data.c: New.
8273 * gdb.btrace/data.exp: New.
8274 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8275
6e07b1d2
MM
82762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8277
8278 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8279 * gdb.btrace/exception.exp: Update.
8280 * gdb.btrace/instruction_history.exp: Update.
8281 * gdb.btrace/record_goto.exp: Update.
8282 * gdb.btrace/tailcall.exp: Update.
8283 * gdb.btrace/unknown_functions.exp: Update.
8284 * gdb.btrace/delta.exp: New.
8285
0b722aec
MM
82862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8287
8288 * gdb.btrace/record_goto.exp: Add backtrace test.
8289 * gdb.btrace/tailcall.exp: Add backtrace test.
8290
066ce621
MM
82912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8292
8293 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8294 * gdb.btrace/record_goto.c: New.
8295 * gdb.btrace/record_goto.exp: New.
8296 * gdb.btrace/x86-record_goto.S: New.
8297
0688d04e
MM
82982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8299
8300 * gdb.btrace/function_call_history.exp: Update tests.
8301 * gdb.btrace/instruction_history.exp: Update tests.
8302
8710b709
MM
83032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8304
8305 * gdb.btrace/function_call_history.exp: Fix expected field
8306 order for "record function-call-history".
8307 Add new tests for "record function-call-history /c".
8308 * gdb.btrace/exception.cc: New.
8309 * gdb.btrace/exception.exp: New.
8310 * gdb.btrace/tailcall.exp: New.
8311 * gdb.btrace/x86-tailcall.S: New.
8312 * gdb.btrace/x86-tailcall.c: New.
8313 * gdb.btrace/unknown_functions.c: New.
8314 * gdb.btrace/unknown_functions.exp: New.
8315 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8316
5de9129b
MM
83172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8318
8319 * gdb.btrace/instruction_history.exp: Update.
8320 * gdb.btrace/function_call_history.exp: Update.
8321
23a7fe75
MM
83222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8323
8324 * gdb.btrace/function_call_history.exp: Fix expected function
8325 trace.
8326 * gdb.btrace/instruction_history.exp: Initialize traced.
8327 Remove traced_functions.
8328
724c7dd8
MM
83292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8330
8331 * gdb.btrace/function_call_history.exp: Update
8332 * gdb.btrace/instruction_history.exp: Update.
8333
6d78d93b
MM
83342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8335
8336 * gdb.btrace/enable.exp: Update expected text.
8337
93a360cc
OJ
83382014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8339
8340 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8341 bytes.
8342
3772b53f
MR
83432014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8344
8345 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8346
596662fa
OJ
83472014-01-15 Omair Javaid <omair.javaid@linaro.org>
8348
8349 * lib/gdb.exp (supports_process_record): Return true for
8350 arm*-linux*. (supports_reverse): Likewise.
8351
b5b08fb4
SC
83522014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8353
8354 PR python/15464
8355 PR python/16113
8356 * gdb.python/py-type.c: Enhance test case.
8357 * gdb.python/py-value-cc.cc: Likewise
8358 * gdb.python/py-type.exp: Add new tests.
8359 * gdb.python/py-value-cc.exp: Likewise
8360
52d7fb13
AA
83612014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8362 Pedro Alves <palves@redhat.com>
8363
8364 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8365 Make "name" extern.
8366 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8367 references to ${name}_start by references to ${name}.
8368
a2cd8cfe
JB
83692014-01-10 Joel Brobecker <brobecker@adacore.com>
8370
8371 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8372
4e23fced
JB
83732014-01-10 Joel Brobecker <brobecker@adacore.com>
8374
8375 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8376
c6a9e42c
PA
83772014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8378 Pedro Alves <palves@redhat.com>
8379
8380 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8381 mi_gdb_target_load.
c6a9e42c 8382
b7ea362b
PA
83832014-01-08 Pedro Alves <palves@redhat.com>
8384
8385 * gdb.threads/reconnect-signal.c: New file.
8386 * gdb.threads/reconnect-signal.exp: New file.
8387
5e3f4fab
EBM
83882014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8389
8390 * gdb.base/source-dir.exp: New file.
8391
79301218
JB
83922014-01-07 Joel Brobecker <brobecker@adacore.com>
8393
8394 * gdb.ada/mi_interface: New testcase.
8395
8e355c5d
JB
83962014-01-07 Joel Brobecker <brobecker@adacore.com>
8397
8398 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8399 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8400 gdb.ada/pp-rec-component/pck.ads: New files.
8401
c0d48811
JB
84022014-01-07 Joel Brobecker <brobecker@adacore.com>
8403
8404 * gdb.python/py-pp-integral.c: New file.
8405 * gdb.python/py-pp-integral.py: New file.
8406 * gdb.python/py-pp-integral.exp: New file.
8407
17b609c3 8408For older changes see ChangeLog-1993-2013.
c906108c 8409\f
8d8cb839
EZ
8410;; Local Variables:
8411;; mode: change-log
8412;; left-margin: 8
8413;; fill-column: 74
8414;; version-control: never
8415;; End:
902f2ccb 8416
618f726f 8417 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8418 Copying and distribution of this file, with or without modification,
8419 are permitted provided the copyright notice and this notice are preserved.