Make gdb/linux-nat.c consider a waitstatus pending on the infrun side
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e70a7231
FR
12016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
2
3 * gdb.base/annota-input-while-running.exp: Fix syntax error.
4
0f6ed0e0
TT
52016-05-23 Tom Tromey <tom@tromey.com>
6
7 PR python/19438, PR python/18393:
8 * gdb.python/py-progspace.exp: Add "dir" test.
9 * gdb.python/py-objfile.exp: Add "dir" test.
10
ffd19d61
YQ
112016-05-23 Yao Qi <yao.qi@linaro.org>
12
13 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
14 * gdb.arch/thumb2-it.exp: Likewise.
15
9e8f9b05
SM
162016-05-18 Simon Marchi <simon.marchi@ericsson.com>
17
18 * gdb.mi/mi-threads-interrupt.c: New file.
19 * gdb.mi/mi-threads-interrupt.exp: New file.
20
61c6156d
SM
212016-05-17 Simon Marchi <simon.marchi@ericsson.com>
22
23 PR gdb/18077
24 * gdb.mi/mi-async-run.exp: New file.
25 * gdb.mi/mi-async-run.c: New file.
26
67218854
TT
272016-05-17 Tom Tromey <tom@tromey.com>
28 Manish Goregaokar <manishsmail@gmail.com>
29
30 * lib/rust-support.exp: New file.
31 * lib/gdb.exp (skip_rust_tests): New proc.
32 (build_executable_from_specs): Handle rust.
33 * lib/future.exp (gdb_find_rustc): New proc.
34 (gdb_default_target_compile): Handle rust.
35 * gdb.rust/expr.exp: New file.
36 * gdb.rust/generics.exp: New file.
37 * gdb.rust/generics.rs: New file.
38 * gdb.rust/methods.exp: New file.
39 * gdb.rust/methods.rs: New file.
40 * gdb.rust/modules.exp: New file.
41 * gdb.rust/modules.rs: New file.
42 * gdb.rust/simple.exp: New file.
43 * gdb.rust/simple.rs: New file.
44
c44af4eb
TT
452016-05-17 Tom Tromey <tom@tromey.com>
46
47 * gdb.base/default.exp (set language): Add rust.
48
dcd1f979
TT
492016-05-17 Tom Tromey <tom@tromey.com>
50
51 * gdb.gdb/unittest.exp: New file.
52
155b7f57
YQ
532016-05-16 Yao Qi <yao.qi@linaro.org>
54
55 * gdb.base/batch-preserve-term-settings.exp: Remove variable
56 shell_prompt. Update shell_prompt_re.
57
8ddd5a6c
DE
582016-05-12 Doug Evans <dje@google.com>
59
60 PR symtab/19999
61 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
62 $options when building executable.
63 * gdb.dwarf2/fission-loclists-pie.S: New file.
64 * gdb.dwarf2/fission-loclists-pie.exp: New file.
65
02e370d9
SM
662016-05-04 Simon Marchi <simon.marchi@ericsson.com>
67
68 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
69 of [is_remote target],
70
8929ad8b
SM
712016-05-04 Simon Marchi <simon.marchi@ericsson.com>
72
73 * lib/gdb.exp (use_gdb_stub): New procedure.
74
6c447423
DE
752016-05-03 Yunlian Jiang <yunlian@google.com>
76 Doug Evans <dje@google.com>
77
78 PR symtab/19914
79 * gdb.dwarf2/dwp-sepdebug.c: New file.
80 * gdb.dwarf2/dwp-sepdebug.exp: New file.
81
444e826c
SM
822016-05-02 Simon Marchi <simon.marchi@ericsson.com>
83
84 * gdb.base/detach.exp: Remove is_remote check.
85
740feeaa
SM
862016-05-02 Simon Marchi <simon.marchi@ericsson.com>
87
88 * gdb.base/annota-input-while-running.exp: Don't check for
89 [is_remote target]. Enable annotations after running to main.
90 Remove unused "set test..." line.
91
9080ac9d
SM
922016-04-28 Simon Marchi <simon.marchi@ericsson.com>
93
94 * gdb.trace/trace-enable-disable.exp: New file.
95 * gdb.trace/trace-enable-disable.c: New file.
96
952ebca5
SM
972016-04-28 Simon Marchi <simon.marchi@ericsson.com>
98
99 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
100 use it in info sharedlibrary test.
101 * gdb.trace/ftrace-lock.exp: Likewise.
102 * gdb.trace/ftrace.exp: Likewise.
103 * gdb.trace/range-stepping.exp: Likewise.
104 * gdb.trace/trace-break.exp: Likewise.
105 * gdb.trace/trace-condition.exp: Likewise.
106 * gdb.trace/trace-mt.exp: Likewise.
107
d9019901
SM
1082016-04-27 Simon Marchi <simon.marchi@ericsson.com>
109
110 * lib/gdb.exp (gdb_load_shlibs): Rename to...
111 (gdb_load_shlib): ... this.
112 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
113 gdb_load_shlib.
114 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
115 * gdb.base/ctxobj.exp: Likewise.
116 * gdb.base/dprintf-pending.exp: Likewise.
117 * gdb.base/dso2dso.exp: Likewise.
118 * gdb.base/fixsection.exp: Likewise.
119 * gdb.base/gcore-relro.exp: Likewise.
120 * gdb.base/gdb1555.exp: Likewise.
121 * gdb.base/global-var-nested-by-dso.exp: Likewise.
122 * gdb.base/gnu-ifunc.exp: Likewise.
123 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
124 * gdb.base/jit-so.exp (one_jit_test): Likewise.
125 * gdb.base/pending.exp: Likewise.
126 * gdb.base/print-file-var.exp: Likewise.
127 * gdb.base/print-symbol-loading.exp: Likewise.
128 * gdb.base/shlib-call.exp: Likewise.
129 * gdb.base/shreloc.exp: Likewise.
130 * gdb.base/so-impl-ld.exp: Likewise.
131 * gdb.base/solib-disc.exp: Likewise.
132 * gdb.base/solib-nodir.exp: Likewise.
133 * gdb.base/solib-overlap.exp: Likewise.
134 * gdb.base/solib-symbol.exp: Likewise.
135 * gdb.base/solib-weak.exp (do_test): Likewise.
136 * gdb.base/sym-file.exp: Likewise.
137 * gdb.base/symtab-search-order.exp: Likewise.
138 * gdb.base/type-opaque.exp: Likewise.
139 * gdb.base/unload.exp: Likewise.
140 * gdb.base/watchpoint-solib.exp: Likewise.
141 * gdb.compile/compile.exp: Likewise.
142 * gdb.cp/gdb2384.exp: Likewise.
143 * gdb.cp/infcall-dlopen.exp: Likewise.
144 * gdb.cp/re-set-overloaded.exp: Likewise.
145 * gdb.fortran/library-module.exp: Likewise.
146 * gdb.opt/solib-intra-step.exp: Likewise.
147 * gdb.python/py-finish-breakpoint.exp: Likewise.
148 * gdb.python/py-shared.exp: Likewise.
149 * gdb.reverse/solib-precsave.exp: Likewise.
150 * gdb.reverse/solib-reverse.exp: Likewise.
151 * gdb.server/solib-list.exp: Likewise.
152 * gdb.threads/dlopen-libpthread.exp: Likewise.
153 * gdb.threads/tls-shared.exp: Likewise.
154 * gdb.threads/tls-so_extern.exp: Likewise.
155 * gdb.trace/change-loc.exp: Likewise.
156 * gdb.trace/ftrace-lock.exp: Likewise.
157 * gdb.trace/ftrace.exp: Likewise.
158 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
159 * gdb.trace/pending.exp: Likewise.
160 * gdb.trace/range-stepping.exp: Likewise.
161 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
162 (strace_info_marker): Likewise.
163 (strace_probe_marker): Likewise.
164 (strace_trace_on_same_addr): Likewise.
165 (strace_trace_on_diff_addr): Likewise.
166 * gdb.trace/trace-break.exp: Likewise.
167 * gdb.trace/trace-condition.exp: Likewise.
168 * gdb.trace/trace-mt.exp: Likewise.
169
fca4cfd9
SM
1702016-04-27 Simon Marchi <simon.marchi@ericsson.com>
171
172 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
173 result of gdb_remote_download.
174 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
175 * gdb.base/dso2dso.exp: Likewise.
176 * gdb.base/global-var-nested-by-dso.exp: Likewise.
177 * gdb.base/print-file-var.exp: Likewise.
178 * gdb.base/shlib-call.exp: Likewise.
179 * gdb.base/shreloc.exp: Likewise.
180 * gdb.base/solib-overlap.exp: Likewise.
181 * gdb.base/solib-weak.exp (do_test): Likewise.
182 * gdb.base/unload.exp: Likewise.
183
11cf4ffb
YQ
1842016-04-27 Yao Qi <yao.qi@linaro.org>
185
186 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
187 exists.
188
3e2e34f8
KB
1892016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
190
191 * vla-type.exp: Print structure from toplevel.
192
8f07e298
BH
1932016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
194
195 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
196 of dynamic types.
197 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
198 of dynamic types.
199
9920b434
BH
2002016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
201
202 * gdb.fortran/vla-type.f90: New file.
203 * gdb.fortran/vla-type.exp: New file.
204
f3abeff5
YQ
2052016-04-25 Yao Qi <yao.qi@linaro.org>
206
207 * gdb.base/branch-to-self.c: New file.
208 * gdb.base/branch-to-self.exp: New file.
209
0a5d52f0
YQ
2102016-04-22 Yao Qi <yao.qi@linaro.org>
211
212 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
213 more after $hex.
214
495346f6
YQ
2152016-04-22 Yao Qi <yao.qi@linaro.org>
216
217 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
218 * gdb.base/annota3.exp: Likewise.
219
4a7e075c
YQ
2202016-04-22 Yao Qi <yao.qi@linaro.org>
221
222 * gdb.reverse/step-precsave.exp: Do one step and test program
223 stops in "callee" and do multiple steps until program goes out
224 of "callee".
225 * gdb.reverse/step-reverse.exp: Likewise.
226
5b061e98
YQ
2272016-04-22 Yao Qi <yao.qi@linaro.org>
228
229 * gdb.trace/signal.exp: Also pass if
230 $tracepoint_hits($i) > $iterations.
231
5c5dc57f
YQ
2322016-04-22 Yao Qi <yao.qi@linaro.org>
233
234 * gdb.trace/signal.c: New file.
235 * gdb.trace/signal.exp: New file.
236
a55411b9
DE
2372016-04-19 Doug Evans <xdje42@gmail.com>
238
239 * gdb.base/bad-file.exp: New file.
240
a22df60a
MG
2412016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
242
243 * gdb.dwarf2/implref.exp: New file.
244
0c13f7e5
BH
2452016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
246
247 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
248 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
249 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
250 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
251 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
252 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
253 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
254 * lib/fortran.exp (fortran_int4): New procedure.
255 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
256 (fortran_logical4): Likewise.
257
9b9b09e9
BH
2582016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
259
260 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
261
a14d1f4d
BH
2622016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
263
264 * lib/compiler.c: Add Intel specific preprocessor macros.
265 * lib/compiler.cc: Likewise.
266
7d49b1d0
LM
2672016-04-13 Luis Machado <lgustavo@codesourcery.com>
268
269 * gdb.server/connect-with-no-symbol-file.c: New file.
270 * gdb.server/connect-with-no-symbol-file.exp: New file.
271
8392fa22
SM
2722016-04-13 Simon Marchi <simon.marchi@ericsson.com>
273
274 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
275
8c4c4aeb
SM
2762016-04-13 Simon Marchi <simon.marchi@ericsson.com>
277
278 * boards/gdbserver-base.exp (${board}_download): Copy source file to
279 standard output directory.
280
45e3745e
AT
2812016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
282
283 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
284
e26b7e41
MM
2852016-04-13 Markus Metzger <markus.t.metzger@intel.com>
286
287 * gdb.btrace/instruction_history.c (loop): Add declaration.
288
8ce09462
AT
2892016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
290
291 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
292
2e88a1ea
SM
2932016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
294
295 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
296 parentheses to print.
297 (continue_handler): Likewise.
298
f48e22e3
SM
2992016-04-08 Simon Marchi <simon.marchi@ericsson.com>
300
301 * gdb.server/solib-list.exp: Remove is_remote check.
302 Pass shlib= to gdb_compile. Don't link shared library with
303 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
304 Run binary filename through "readlink -f" on the target.
305
096be756
PA
3062016-04-08 Pedro Alves <palves@redhat.com>
307
308 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
309 interpreter filename as argument to gdbserver_spawn.
310 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
311 Return empty if $last_loaded_file does not exist.
312
06500533
JK
3132016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
314
315 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
316 * gdb.base/jit-main.c: Use exit after usage.
317
2d35e871
JK
3182016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
319
320 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
321 GDBHISTSIZE prior to the tests.
322 * gdb.base/gdbinit-history.exp: Likewise.
323
3242016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
325
326 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
327 instead of build_executable. Use gdb_load_shlibs.
328
c8064e7e
YQ
3292016-04-07 Yao Qi <yao.qi@linaro.org>
330
331 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
332 Execute "si" command.
333
bde47561
YQ
3342016-04-07 Yao Qi <yao.qi@linaro.org>
335
336 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
337 number instead of the comments on some line.
338
b16f8a3b
DB
3392016-04-06 Don Breazeal <donb@codesourcery.com>
340
341 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
342 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
343
c2f901df
SM
3442016-04-06 Simon Marchi <simon.marchi@ericsson.com>
345
346 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
347 standard_output_file. Remove unused binfile variable.
348
ac17fda0
CU
3492016-04-05 Catalin Udma <catalin.udma@freescale.com>
350
351 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
352 * gdb.python/py-mi-objfile.exp: Match "list main" output
353 in console format.
354
03a8c4df
SM
3552016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
356
357 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
358 absolute.
359
6e774b13
SM
3602016-04-05 Simon Marchi <simon.marchi@ericsson.com>
361
362 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
363 absolute.
364 * gdb.trace/ftrace.exp: Likewise.
365 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
366 targets as well.
367 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
368 (gdb_load_shlibs): Copy libraries to test directory when testing
369 natively. Only set solib-search-path if testing remotely.
370 * lib/mi-support.exp (mi_load_shlibs): Likewise.
371
7817ea46
SM
3722016-04-05 Simon Marchi <simon.marchi@ericsson.com>
373
374 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
375 gdb_download. Use it even if the target is not remote.
376 * gdb.base/jit.exp (compile_jit_test): Likewise.
377 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
378 output directory if the destination board is local, otherwise use
379 the standard remote_download from DejaGnu.
380 (gdb_download): Remove.
381 (gdb_load_shlibs): Use gdb_remote_download instead of
382 gdb_download.
383 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
384 Use gdb_remote_download instead of gdb_download. Use it even if
385 the target is not remote.
386 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
387 instead of gdb_download.
388
7beb7f68
SM
3892016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
390
391 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
392 (test_insert_delete_modify): Call mi_load_shlibs before trying to
393 run.
394
cc63428a
AV
3952016-04-01 Artemiy Volkov <artemiyv@acm.org>
396
397 PR gdb/19820
398 * gdb.base/printcmds.exp: Add artificial arrays tests.
399
64cdf930
PA
4002016-03-31 Pedro Alves <palves@redhat.com>
401
402 PR gdb/19858
403 * gdb.base/jit-main.c: Include unistd.h.
404 (ATTACH): Define to 0 if not already defined.
405 (wait_for_gdb, mypid): New globals.
406 (WAIT_FOR_GDB): New macro.
407 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
408 some breakpoint locations.
409 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
410 New procedures.
411 (one_jit_test): Add REATTACH parameter, and handle it. Use
412 continue_to_test_location.
413 (top level): Test attach, and adjusts calls to one_jit_test.
414
40dea8cb
PA
4152016-03-31 Pedro Alves <palves@redhat.com>
416
417 PR gdb/19858
418 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
419 BINSUFFIX parameter, and handle it.
420 (top level): Adjust calls compile_jit_test.
421
e7ea3ec7
CU
4222016-03-31 Catalin Udma <catalin.udma@freescale.com>
423
424 PR python/19743
425 * gdb.python/py-mi-events-gdb.py: New file.
426 * gdb.python/py-mi-events.c: New file.
427 * gdb.python/py-mi-events.exp: New file.
428
e6359af3
YQ
4292016-03-30 Yao Qi <yao.qi@linaro.org>
430
431 * gdb.reverse/until-precsave.exp: Match function name only.
432 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
433 Move malloc to a condition block.
434 * gdb.reverse/until-reverse.exp: Match function name only.
435
a4105d04
MK
4362016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
437
438 * gdb.trace/ftrace.exp: Set arg0exp for s390.
439 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
440 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
441 variable for GPR 0 instead of assuming it is register 0.
442 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
443 * lib/trace-support.exp: Add s390 registers.
444
bfa6adb9
YQ
4452016-03-29 Yao Qi <yao.qi@linaro.org>
446
447 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
448
1e6697ea
YQ
4492016-03-24 Yao Qi <yao.qi@linaro.org>
450
451 * gdb.reverse/break-reverse.exp: Add quotation mark in the
452 test message.
453
64bcd522
AA
4542016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
455
456 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
457 maintaining separate logic for constructing the output path.
458
7868401b
DB
4592016-03-16 Don Breazeal <donb@codesourcery.com>
460
461 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
462 Retry fork and waitpid on interrupted system call errors.
463 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
464 Use with_timeout_factor to increase timeout by factor of 10.
465
1cafadb4
DB
4662016-03-15 Don Breazeal <donb@codesourcery.com>
467
468 * gdb.cp/scope-err.cc: New test program.
469 * gdb.cp/scope-err.exp: New test script.
470 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
471 lines and "set breakpoint here" comment.
472 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
473 Fixed some whitespace and format issues.
474 * gdb.mi/mi-linespec-err-cp.cc: New test program.
475 * gdb.mi/mi-linespec-err-cp.exp: New test script.
476
81516450
DE
4772016-03-15 Doug Evans <dje@google.com>
478
479 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
480 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
481 All callers updated. Add tests for enums, mixed flags register.
482
aa52b601
DE
4832016-03-15 Doug Evans <dje@google.com>
484
485 * gdb.base/skip.c (main): Call test_skip_file_and_function.
486 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
487
fa4ff313
SM
4882016-03-14 Simon Marchi <simon.marchi@ericsson.com>
489
490 * gdb.base/default.exp: Add $_as_string to the list of expected
491 convenience functions.
492
f2403c39
AB
4932016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
494
495 * gdb.base/maint.exp: New tests for 'maint info line-table'.
496
f2f3ccb9
SM
4972016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
498
499 * gdb.python/py-as-string.exp: New file.
500 * gdb.python/py-as-string.c: New file.
501
00dbd492
PA
5022016-03-09 Pedro Alves <palves@redhat.com>
503
504 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
505 signal" -> "Thread NN received signal" output change.
506 * gdb.threads/ia64-sigill.exp: Likewise.
507 * gdb.threads/linux-dp.exp: Likewise.
508 * gdb.threads/manythreads.exp: Likewise.
509 * gdb.threads/pending-step.exp: Likewise.
510 * gdb.threads/print-threads.exp: Likewise.
511 * gdb.threads/sigstep-threads.exp: Likewise.
512 * gdb.threads/staticthreads.exp: Likewise.
513 * gdb.threads/tls.exp: Likewise.
514
1e6697ea
YQ
5152016-03-09 Pedro Alves <palves@redhat.com>
516
517 * gdb.base/command-line-input.exp: New file.
518
b04fd3be
MK
5192016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
520
521 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
522 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
523 * gdb.trace/pending.exp: Accept leading dot before function name.
524 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
525 * lib/trace-support.exp: Set registers for ppc.
526
98fa59e9
MK
5272016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
528
529 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
530 use it for disassembly; accept .main in addition to main in backtrace.
531
f77198c8
MK
5322016-03-09 Wei-cheng Wang <cole945@gmail.com>
533 Marcin Kościelnicki <koriakin@0x04.net>
534
535 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
536 (gdb_recursion_test_ptr): New global variable.
537 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
538 gdb_recursion_test.
539 (gdb_c_test): Ditto.
540
ba84e0da
MK
5412016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
542
543 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
544 ordering.
545
4366d36e
MK
5462016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
547
548 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
549 (bar): Add bar_start_lbl label.
550 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
551 of foo/bar for emitting DWARF and tracing.
552
5eb264df
SDJ
5532016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
554
555 * analyze-racy-logs.py: Set executable bit.
556
fb6a751f
SDJ
5572016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
558
559 * Makefile.in (DEFAULT_RACY_ITER): New variable.
560 (CHECK_TARGET_TMP): Likewise.
561 (check-single-racy): New rule.
562 (check-parallel-racy): Likewise.
563 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
564 (do-check-parallel-racy): New rule.
565 (check-racy/%.exp): Likewise.
566 * README (Racy testcases): New section.
567 * analyze-racy-logs.py: New file.
568
bdf7e230
DE
5692016-03-03 Doug Evans <dje@google.com>
570
571 * gdb.base/skip.exp: Use with_test_prefix.
572
4719d415
YQ
5732016-03-03 Yao Qi <yao.qi@linaro.org>
574
575 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
576 Invoke step_over_syscall "clone" and break_cond_on_syscall
577 "clone".
578 * gdb.base/step-over-clone.c: New file.
579
ea507862
YQ
5802016-03-03 Yao Qi <yao.qi@linaro.org>
581
582 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
583 code format.
584
8fc8cbda
YQ
5852016-03-03 Yao Qi <yao.qi@linaro.org>
586
587 * gdb.base/disp-step-fork.c: Rename to ...
588 * gdb.base/step-over-fork.c: ... it. New file.
589 * gdb.base/disp-step-vfork.c: Rename to ...
590 * gdb.base/step-over-vfork.c: ... it. New file.
591 * gdb.base/disp-step-syscall.exp: Rename to ...
592 * gdb.base/step-over-syscall.exp: ... it. New file.
593 (disp_step_cross_syscall): Rename to ...
594 (step_over_syscall): ... it.
595
92fa70b0
YQ
5962016-03-03 Yao Qi <yao.qi@linaro.org>
597
598 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
599 If target supports condition evaluation on target, invoke
600 break_cond_on_syscall for fork and vfork.
601
e197ad3c
YQ
6022016-03-03 Yao Qi <yao.qi@linaro.org>
603
604 * gdb.base/disp-step-syscall.exp: Don't invoke
605 support_displaced_stepping.
606 (disp_step_cross_syscall): Test with displaced stepping off and
607 on if supported.
608
0b47da9f
YQ
6092016-03-03 Yao Qi <yao.qi@linaro.org>
610
611 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
612 proc.
613 (setup): New proc.
614 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
615 and setup.
616
065ab6dc
BH
6172016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
618
619 * gdb.fortran/vla-history.exp: Remove breakpoint.
620
07e448ad 6212016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
622
623 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
624
9ac2d526 6252016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
626
627 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
628
17807369
BH
6292016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
630
631 * gdb.mi/vla.f90: Nullify pointer after declaration.
632
86e501af
PA
6332016-03-01 Pedro Alves <palves@redhat.com>
634
635 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
636
1e903e32
PA
6372016-03-01 Pedro Alves <palves@redhat.com>
638
639 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
640 before anything else.
641 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
642 _GNU_SOURCE here.
643 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
644 before anything else.
645 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
646
6ccb54e2
PA
6472016-03-01 Pedro Alves <palves@redhat.com>
648
649 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
650
30ca9da1
YQ
6512016-03-01 Yao Qi <yao.qi@linaro.org>
652
653 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
654 prepare_for_testing.
655
dc856b38
YQ
6562016-03-01 Yao Qi <yao.qi@linaro.org>
657
658 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
659
4a932159
AA
6602016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
661
662 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
663 manually constructing the output path.
664
f2489477
AA
6652016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
666
667 * gdb.arch/s390-stackless.S: New.
668 * gdb.arch/s390-stackless.exp: New.
669
38899f16
IB
6702016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
671
672 * gdb.dlang/circular.c: New file.
673 * gdb.dlang/circular.exp: New file.
674
9fde51ed
YQ
6752016-02-26 Yao Qi <yao.qi@linaro.org>
676
677 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
678 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
679 (testcases): Update.
680
ce90fefe
YQ
6812016-02-26 Yao Qi <yao.qi@linaro.org>
682
683 * gdb.reverse/aarch64.c: Rename to ...
684 * gdb.reverse/insn-reverse.c: ... it.
685 * gdb.reverse/aarch64.exp: Rename to ...
686 * gdb.reverse/insn-reverse.exp: ... it.
687
3263bceb
YQ
6882016-02-26 Yao Qi <yao.qi@linaro.org>
689
690 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
691 (testcase_ftype): New.
692 (testcases): New array.
693 (n_testcases): New.
694 (main): Call each element in testcases.
695 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
696 (read_testcase): New.
697 Do the tests in a loop.
698
6cb59ff1
YQ
6992016-02-25 Yao Qi <yao.qi@linaro.org>
700
701 * gdb.base/branches.c: Remove.
702
ae91f625
MK
7032016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
704
705 PR gdb/13808
706 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
707
678b48b7
MK
7082016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
709
710 * gdb.trace/ftrace.exp: Remove unnecessary target check.
711
7337a6f2
MK
7122016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
713
714 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
715 change x86_64 call_insn to 'callq'.
716
861ca91f
AT
7172016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
718
719 * gdb.trace/tfile-avx.c: Move to...
720 * gdb.trace/tracefile-pseudo-reg.c: Here.
721 * gdb.trace/tfile-avx.exp: Move to...
722 * gdb.trace/tracefile-pseudo-reg.exp: Here.
723
bf74e428
GB
7242016-02-24 Gary Benson <gbenson@redhat.com>
725
726 * gdb.base/attach-pie-noexec.exp: Do not expect an error
727 message on attach.
728
cce0e923
DE
7292016-02-23 Doug Evans <dje@google.com>
730
731 * gdb.base/skip.c (test_skip): New function.
732 (end_test_skip_file_and_function): New function.
733 (test_skip_file_and_function): New function.
734 * gdb.base/skip1.c (test_skip): New function.
735 (skip1_test_skip_file_and_function): New function.
736 * gdb.base/skip.exp: Add tests for new skip options.
737 * gdb.base/skip-solib.exp: Update expected output.
738 * gdb.perf/skip-command.cc: New file.
739 * gdb.perf/skip-command.exp: New file.
740 * gdb.perf/skip-command.py: New file.
741
4000e47e
MK
7422016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
743
744 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
745 info registers pattern.
746
24f75ead
IB
7472016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
748
749 * lib/future.exp: Add D support.
750 (gdb_find_gdc): New proc.
751 (gdb_default_target_compile): Add D support.
752
fbb7bcbe
WW
7532016-02-18 Wei-cheng Wang <cole945@gmail.com>
754
755 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
756 user+system time.
757 (trace_speed_test): Determine the iteration count for a time
758 between 15..30 seconds.
759
012b3a21
WT
7602016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
761
762 * gdb.arch/i386-mpx-sigsegv.c: New file.
763 * gdb.arch/i386-mpx-sigsegv.exp: New file.
764 * gdb.arch/i386-mpx-simple_segv.c: New file.
765 * gdb.arch/i386-mpx-simple_segv.exp: New file.
766
2d5189bd
YQ
7672016-02-18 Yao Qi <yao.qi@linaro.org>
768
769 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
770 Don't call setup_kfail.
771
40fb20d0
YQ
7722016-02-18 Yao Qi <yao.qi@linaro.org>
773
774 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
775 Set "set breakpoint condition-evaluation" per $cond_bp_target.
776
21b1f8d2
DE
7772016-02-16 Doug Evans <dje@google.com>
778
779 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
780 * gdb.base/skip1.c: Ditto.
781 * gdb.base/skip.exp: Whitespace cleanup.
782
4041ed77
DB
7832016-02-16 Don Breazeal <donb@codesourcery.com>
784
785 PR remote/19496
786 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
787 Remove kfail for PR remote/19496.
788
c4ef31bf
SM
7892016-02-16 Simon Marchi <simon.marchi@ericsson.com>
790
791 * lib/gdb.exp (standard_temp_file): Return a path specific to
792 the runtest invocation.
793
266b65b3
SM
7942016-02-16 Simon Marchi <simon.marchi@ericsson.com>
795
796 * gdb.trace/save-trace.exp: Change relative path to be in the
797 standard output directory.
798
a7a0a6a9
JK
7992016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
800
801 * gdb.arch/i386-prologue.c: Add missing prototypes.
802
c99dbb42
JK
8032016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
804
805 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
806 * gdb.arch/i386-prologue.exp: Likewise.
807 * gdb.arch/i386-size.exp: Likewise.
808
aa480355
SM
8092016-02-15 Simon Marchi <simon.marchi@ericsson.com>
810
811 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
812 define object file path.
813 * gdb.btrace/gcore.exp: Use standard_output_file to define core
814 file path.
815 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
816 standard_output_file to define binfile.
817
ba881f50
JK
8182016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
819
820 Fix compatibility with recent gfortran-5.3.1.
821 * gdb.fortran/vla-history.exp (print vla1 allocated)
822 (print vla2 allocated, print $2, print $3): Remove
823 (print $4): Rename to ...
824 (print $2): ... here.
825 (print $9): Rename to ...
826 (print $5): ... here.
827 (print $10): Rename to ...
828 (print $6): ... here.
829 * gdb.fortran/vla.f90: Add pvla initialization.
830
e9fb005c
JK
8312016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
832
833 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
834 New test.
835 * gdb.fortran/vla-value-sub.exp: Likewise.
836
e44e00ff
MK
8372016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
838
839 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
840
97e94151
SM
8412016-02-12 Simon Marchi <simon.marchi@ericsson.com>
842
843 * i386-biarch-core.exp: Define corefile using
844 standard_output_file.
845
01113bc1
YQ
8462016-02-12 Yao Qi <yao.qi@linaro.org>
847
848 * gdb.arch/arm-single-step-kernel-helper.c: New.
849 * gdb.arch/arm-single-step-kernel-helper.exp: New.
850
33b4777c
MM
8512016-02-12 Markus Metzger <markus.t.metzger@intel.com>
852
853 * gdb.btrace/tailcall-only.exp: New.
854 * gdb.btrace/tailcall-only.c: New.
855 * gdb.btrace/x86_64-tailcall-only.S: New.
856 * gdb.btrace/i686-tailcall-only.S: New.
857
acc23c11
PA
8582016-02-11 Pedro Alves <palves@redhat.com>
859
860 * README (Parallel testing): Add missing double quotes.
861
e352bf0a
PA
8622016-02-11 Pedro Alves <palves@redhat.com>
863
864 * README (Parallel testing): New section.
865 (GDB_PARALLEL): Rewrite.
866 (FORCE_PARALLEL): Document.
867
9f5fed78
MK
8682016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
869
870 * gdb.trace/tfile-avx.c: New test.
871 * gdb.trace/tfile-avx.exp: New test.
872
9ef9e6a6
KS
8732016-02-09 Keith Seitz <keiths@redhat.com>
874
875 PR breakpoints/19546
876 * gdb.base/infcall-exec.c: New file.
877 * gdb.base/infcall-exec2.c: New file.
878 * gdb.base/infcall-exec.exp: New file.
879
a96e36da
KS
8802016-02-09 Keith Seitz <keiths@redhat.com>
881
882 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
883 (toplevel): Call test_bkpt_address.
884
9f61929f
KS
8852016-02-09 Keith Seitz <keiths@redhat.com>
886
887 PR python/19506
888 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
889 (toplevel): Call test_bkpt_address.
890
1e94266c
SM
8912016-02-09 Simon Marchi <simon.marchi@ericsson.com>
892
893 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
894 to AC_OUTPUT.
895 * configure: Regenerate.
896
2a7f3dff
PA
8972016-02-09 Pedro Alves <palves@redhat.com>
898
899 PR breakpoints/19548
900 * gdb.base/execl-update-breakpoints.c (some_function): New
901 function.
902 (main): Call it.
903 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
904 Tighten expected GDB output.
905
2151ccc5
SM
9062016-02-08 Simon Marchi <simon.marchi@ericsson.com>
907
908 * Makefile.in (ALL_SUBDIRS): Remove.
909 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
910 (distclean maintainer-clean realclean): Likewise.
911 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
912 * configure: Regenerate.
913 * gdb.ada/Makefile.in: Delete.
914 * gdb.arch/Makefile.in: Likewise.
915 * gdb.asm/Makefile.in: Likewise.
916 * gdb.base/Makefile.in: Likewise.
917 * gdb.btrace/Makefile.in: Likewise.
918 * gdb.cell/Makefile.in: Likewise.
919 * gdb.compile/Makefile.in: Likewise.
920 * gdb.cp/Makefile.in: Likewise.
921 * gdb.disasm/Makefile.in: Likewise.
922 * gdb.dlang/Makefile.in: Likewise.
923 * gdb.dwarf2/Makefile.in: Likewise.
924 * gdb.fortran/Makefile.in: Likewise.
925 * gdb.gdb/Makefile.in: Likewise.
926 * gdb.go/Makefile.in: Likewise.
927 * gdb.guile/Makefile.in: Likewise.
928 * gdb.java/Makefile.in: Likewise.
929 * gdb.linespec/Makefile.in: Likewise.
930 * gdb.mi/Makefile.in: Likewise.
931 * gdb.modula2/Makefile.in: Likewise.
932 * gdb.multi/Makefile.in: Likewise.
933 * gdb.objc/Makefile.in: Likewise.
934 * gdb.opencl/Makefile.in: Likewise.
935 * gdb.opt/Makefile.in: Likewise.
936 * gdb.pascal/Makefile.in: Likewise.
937 * gdb.perf/Makefile.in: Likewise.
938 * gdb.python/Makefile.in: Likewise.
939 * gdb.reverse/Makefile.in: Likewise.
940 * gdb.server/Makefile.in: Likewise.
941 * gdb.stabs/Makefile.in: Likewise.
942 * gdb.threads/Makefile.in: Likewise.
943 * gdb.trace/Makefile.in: Likewise.
944 * gdb.xml/Makefile.in: Likewise.
945 * lib/gdb.exp (make_gdb_parallel_path): Add check for
946 GDB_PARALLEL.
947 (standard_output_file): Remove check for GDB_PARALLEL, always
948 return path in outputs/$subdir/$testname.
949
437277d4
SM
9502016-02-08 Simon Marchi <simon.marchi@ericsson.com>
951
952 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
953 (site.exp): Assign abs_srcdir to tcl's srcdir.
954
31d913c7
YQ
9552016-02-04 Yao Qi <yao.qi@linaro.org>
956
957 * gdb.base/foll-exec-mode.c: Include limits.h.
958 (main): Add parameters argc and argv. Get directory from
959 argv[0].
960 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
961 compilation.
962 * gdb.base/foll-exec.c: Include limits.h.
963 (main): Add parameters argc and argv.
964 Get directory from argv[0].
965 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
966 Adjust tests on the number of lines as source code changed.
967 * gdb.base/foll-vfork-exit.c: Include limits.h.
968 (main): Add one line of statement before vfork.
969 * gdb.base/foll-vfork.c: Include limits.h and string.h.
970 (main): Add parameters argc and argv. Get directory from
971 argv[0].
972 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
973 (setup_gdb): Set tbreak to skip some source lines.
974 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
975 (main): Add parameters argc and argv. Get directory from
976 argv[0].
977 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
978 compilation.
979 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
980 (main): Add parameters argc and argv. Get directory from
981 argv[0].
982 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
983 compilation.
984
9482b9fb
DE
9852016-02-01 Doug Evans <dje@google.com>
986
987 * gdb.base/skip.exp: Clean up multiple references to same test name.
988
6b2e4f10
PA
9892016-02-01 Pedro Alves <palves@redhat.com>
990
ccb6afd6 991 PR remote/19496
6b2e4f10
PA
992 * gdb.threads/forking-threads-plus-breakpoint.exp
993 (displaced_stepping_supported): New global.
994 (probe_displaced_stepping_support): New procedure.
995 (do_test): Add 'displaced' parameter, and use it.
996 (top level): Check for displaced stepping support. Add displaced
997 stepping on/off testing axis.
998
37a8db1a
AB
9992016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1000
1001 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1002 pointer. Don't perform further tests on the unassociated pointer
1003 if the first test fails.
1004
5fdf6324
AB
10052016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1006
1007 * gdb.base/max-value-size.c: New file.
1008 * gdb.base/max-value-size.exp: New file.
1009 * gdb.base/huge.exp: Disable max-value-size for this test.
1010
935c6144
IB
10112016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1012
1013 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1014
7fe8399d
YQ
10152016-01-28 Yao Qi <yao.qi@linaro.org>
1016
1017 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1018
a2077e25
PA
10192016-01-25 Pedro Alves <palves@redhat.com>
1020
1021 PR threads/19461
1022 * gdb.base/fork-running-state.c: New file.
1023 * gdb.base/fork-running-state.exp: New file.
1024
1d2736d4
PA
10252016-01-25 Pedro Alves <palves@redhat.com>
1026
1027 PR gdb/19494
1028 * gdb.base/catch-fork-kill.c: New file.
1029 * gdb.base/catch-fork-kill.exp: New file.
1030
f1da4b11
PA
10312016-01-25 Pedro Alves <palves@redhat.com>
1032
1033 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1034 Delete, moved to lib/gdb.exp.
1035 * gdb.threads/forking-threads-plus-breakpoint.exp
1036 (foreach_with_prefix): Likewise.
1037 * gdb.threads/process-dies-while-handling-bp.exp
1038 (foreach_with_prefix): Likewise.
1039 * lib/gdb.exp (foreach_with_prefix): New procedure.
1040
45f38546
MK
10412016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1042
1043 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1044 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1045
dc29a1ce
MK
10462016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1047
1048 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1049 endian targets.
1050
092127d7
JK
10512016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1052 Pedro Alves <palves@redhat.com>
1053
1054 Fix testsuite compatibility with Guile.
1055 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1056 number.
1057
31d765d3
JK
10582016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1059
1060 Fix testsuite compatibility with Guile.
1061 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1062 (thread 1): New test for backtrace through signal handler.
1063
1ac78c04
YQ
10642016-01-22 Yao Qi <yao.qi@linaro.org>
1065
1066 PR testsuite/19491
1067 * gdb.base/multi-forks.c: Include
1068 ../lib/unbuffer_output.c
1069 (main): Call gdb_unbuffer_output.
1070
4f5946a8
DE
10712016-01-21 Doug Evans <dje@google.com>
1072
1073 * lib/ada.exp (gdb_compile_ada): Fix typo.
1074
305e13e6
JB
10752016-01-21 Joel Brobecker <brobecker@adacore.com>
1076
1077 * gdb.base/break-fun-addr.exp: New file.
1078 * gdb.base/break-fun-addr1.c: New file.
1079 * gdb.base/break-fun-addr2.c: New file.
1080
5f5dfff6
SM
10812016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1082
1083 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1084 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1085 enum flag values.
1086
fd356fa2
AA
10872016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1088
1089 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1090 when GDB can not set the vector return value. Add more comments
1091 for clarification.
1092
9df22175
AT
10932016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1094
1095 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1096 command.
1097
41d1845e
SM
10982016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1099
1100 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1101
01ac6840
SM
11022016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1103
1104 * Makefile.in (check-single): Pass --status to runtest.
1105 (check/%.exp): Likewise.
1106
11072016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1108
1109 * Makefile.in (check-parallel): Propagate return code from make
1110 do-check-parallel.
1111
bd0a71fa
MK
11122016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1113
1114 * gdb.trace/ftrace.exp: Fix expected message on continue.
1115 * gdb.trace/pending.exp: Fix expected message on continue.
1116 * gdb.trace/trace-break.exp: Fix expected message on continue.
1117
8bcbad33
SM
11182016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1119
1120 * lib/gdb.exp (gdb_test): Remove unused global references.
1121
f303dbd6
PA
11222016-01-18 Pedro Alves <palves@redhat.com>
1123
1124 * gdb.base/async-shell.exp: Adjust expected output.
1125 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1126 * gdb.base/siginfo-thread.exp: Adjust expected output.
1127 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1128 * gdb.java/jnpe.exp: Adjust expected output.
1129 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1130 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1131 * gdb.threads/leader-exit.exp: Adjust expected output.
1132 * gdb.threads/manythreads.exp: Adjust expected output.
1133 * gdb.threads/pthreads.exp: Adjust expected output.
1134 * gdb.threads/schedlock.exp: Adjust expected output.
1135 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1136 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1137 expected output.
1138 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1139 output.
1140 * gdb.threads/sigthread.exp: Adjust expected output.
1141 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1142
b2789696
YQ
11432016-01-18 Yao Qi <yao.qi@linaro.org>
1144
1145 * gdb.guile/scm-section-script.c: Replace @progbits with
1146 %progbits.
1147 * gdb.python/py-section-script.c: Likewise.
1148
71ef29a8
PA
11492016-01-15 Pedro Alves <palves@redhat.com>
1150
1151 * gdb.multi/tids.exp: Test star wildcard ranges.
1152
3f5b7598
PA
11532016-01-15 Pedro Alves <palves@redhat.com>
1154
1155 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1156 command from "thread apply" invocation.
1157 (thr_apply_info_thr_invalid): Default the expected output to the
1158 input tid list.
1159 (top level): Add tests that use convenience variables. Add tests
1160 for "thread apply" with a valid TID list, but missing the command.
1161
663f6d42
PA
11622016-01-13 Pedro Alves <palves@redhat.com>
1163
1164 * gdb.base/default.exp: Expect $_gthread as well.
1165 * gdb.multi/tids.exp: Test $_gthread.
1166 * gdb.threads/thread-specific.exp: Test $_gthread.
1167
c84f6bbf
PA
11682016-01-13 Pedro Alves <palves@redhat.com>
1169
1170 * gdb.multi/tids.exp: Test "info threads -gid".
1171
22a02324
PA
11722016-01-13 Pedro Alves <palves@redhat.com>
1173
1174 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1175 Breakpoint.thread.
1176 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1177
5d5658a1
PA
11782016-01-07 Pedro Alves <palves@redhat.com>
1179
1180 * gdb.base/break.exp: Adjust to output changes.
1181 * gdb.base/hbreak2.exp: Likewise.
1182 * gdb.base/sepdebug.exp: Likewise.
1183 * gdb.base/watch_thread_num.exp: Likewise.
1184 * gdb.linespec/keywords.exp: Likewise.
1185 * gdb.multi/info-threads.exp: Likewise.
1186 * gdb.threads/thread-find.exp: Likewise.
1187 * gdb.multi/tids.c: New file.
1188 * gdb.multi/tids.exp: New file.
1189
84654457
PA
11902016-01-13 Pedro Alves <palves@redhat.com>
1191
1192 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1193
e3940304
PA
11942016-01-13 Pedro Alves <palves@redhat.com>
1195
1196 * gdb.base/default.exp: Expect $_inferior as well.
1197 * gdb.multi/base.exp: Test $_inferior.
1198
a911d87a
PA
11992016-01-13 Pedro Alves <palves@redhat.com>
1200
1201 PR breakpoints/19388
1202 * gdb.base/catch-signal-siginfo-cond.c: New file.
1203 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1204
82075af2
JS
12052016-01-12 Josh Stone <jistone@redhat.com>
1206 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1207
1208 * gdb.base/catch-syscall.c (do_execve): New variable.
1209 (main): Conditionally trigger an execve.
1210 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1211 (test_catch_syscall_execve): New, check entry/return across execve.
1212 (do_syscall_tests): Call test_catch_syscall_execve.
1213
e46eeedd
PA
12142016-01-12 Pedro Alves <palves@redhat.com>
1215
1216 * gdb.base/random-signal.exp (do_test): New procedure, with body
1217 of testcase moved in.
1218
01d8c27e
JK
12192016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1220 Pedro Alves <palves@redhat.com>
1221
1222 * gdb.base/funcargs.exp (finish from indirectly called function):
1223 Reintroduce the case for 'First'.
1224
9a706302
JK
12252016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1226 Pedro Alves <palves@redhat.com>
1227
1228 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1229 (tcatch_vfork_then_child_follow_exec)
1230 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1231 identification.
1232
c0ecb95f
JK
12332016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1234
1235 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1236 and repeats to unlimited.
1237 * gdb.python/py-value.exp: Likewise.
1238 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1239 and repeats to unlimited.
1240
6cfc1fcb
JK
12412016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1242
1243 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1244 and reordering the functions.
1245 * gdb.multi/hangout.c: Likewise.
1246 * gdb.multi/hello.c: Likewise.
1247
582a1b00
SM
12482016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1249
1250 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1251 absolute.
1252 (SingleStatisticTestResult.report): Use dict.keys instead of
1253 dict.iterkeys.
1254
79bc59cb
PA
12552016-01-06 Pedro Alves <palves@redhat.com>
1256
1257 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1258
43368e1d
MM
12592016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1260
1261 * gdb.btrace/dlopen.exp: New.
1262 * gdb.btrace/dlopen.c: New.
1263 * gdb.btrace/dlopen-dso.c: New.
1264
79fad5b8
SL
12652015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1266
1267 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1268 PATTERN argument is optional.
1269
ab8314b3
JB
12702015-12-24 Joel Brobecker <brobecker@adacore.com>
1271
1272 * lib/ada.exp (target_compile_ada_from_dir): New function.
1273 (gdb_compile_ada): Reimplement avoiding the use of project files.
1274 * gdb.ada/gnat_ada.gpr: Delete.
1275 * gdb.ada/cond_lang.exp: Adjust test to make path before
1276 filename optional.
1277 * gdb.ada/small_reg_param.exp: Likewise.
1278
fe33faff
SM
12792015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1280
1281 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1282
6d265cb4
TP
12832015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1284
1285 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1286 case.
1287
10125099
SM
12882015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1289
1290 * gdb.base/break.exp: Remove dead code.
1291 * gdb.base/sepdebug.exp: Likewise.
1292
3ca22649
SM
12932015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1294
1295 * gdb.asm/asm-source.exp: Remove HP-UX references.
1296 * gdb.base/annota1.exp: Likewise.
1297 * gdb.base/annota3.exp: Likewise.
1298 * gdb.base/attach.exp: Likewise.
1299 * gdb.base/bigcore.exp: Likewise.
1300 * gdb.base/break.exp: Likewise.
1301 * gdb.base/call-ar-st.exp: Likewise.
1302 * gdb.base/callfuncs.exp: Likewise.
1303 * gdb.base/catch-fork-static.exp: Likewise.
1304 * gdb.base/display.exp: Likewise.
1305 * gdb.base/foll-exec-mode.exp: Likewise.
1306 * gdb.base/foll-exec.exp: Likewise.
1307 * gdb.base/foll-fork.exp: Likewise.
1308 * gdb.base/foll-vfork.exp: Likewise.
1309 * gdb.base/funcargs.exp: Likewise.
1310 * gdb.base/hbreak2.exp: Likewise.
1311 * gdb.base/inferior-died.exp: Likewise.
1312 * gdb.base/interrupt.exp: Likewise.
1313 * gdb.base/multi-forks.exp: Likewise.
1314 * gdb.base/nodebug.exp: Likewise.
1315 * gdb.base/sepdebug.exp: Likewise.
1316 * gdb.base/solib1.c: Likewise.
1317 * gdb.base/step-test.exp: Likewise.
1318 * gdb.mi/non-stop.c: Likewise.
1319 * gdb.mi/pthreads.c: Likewise.
1320 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1321 * gdb.threads/pthreads.c: Likewise.
1322 * gdb.threads/staticthreads.exp: Likewise.
1323 * lib/future.exp: Likewise.
1324 * lib/gdb.exp: Likewise.
1325 * gdb.base/so-indr-cl.c: Remove.
1326 * gdb.base/so-indr-cl.exp: Likewise.
1327 * gdb.base/solib.c: Likewise.
1328 * gdb.base/solib.exp: Likewise.
1329 * gdb.base/solib2.c: Likewise.
1330
b6304613
SM
13312015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1332
1333 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1334 * gdb.base/call-ar-st.exp: Likewise.
1335 * gdb.base/callfuncs.exp: Likewise.
1336 * gdb.base/condbreak.exp: Likewise.
1337 * gdb.base/constvars.exp: Likewise.
1338 * gdb.base/hbreak2.exp: Likewise.
1339 * gdb.base/langs.exp: Likewise.
1340 * gdb.base/list.exp: Likewise.
1341 * gdb.base/long_long.exp: Likewise.
1342 * gdb.base/ptype.exp: Likewise.
1343 * gdb.base/scope.exp: Likewise.
1344 * gdb.base/signals.exp: Likewise.
1345 * gdb.base/so-impl-ld.exp: Likewise.
1346 * gdb.base/varargs.exp: Likewise.
1347 * gdb.base/volatile.exp: Likewise.
1348 * gdb.base/whatis.exp: Likewise.
1349 * gdb.cp/cplusfuncs.exp: Likewise.
1350 * gdb.cp/inherit.exp: Likewise.
1351 * gdb.cp/local.exp: Likewise.
1352 * gdb.cp/member-ptr.exp: Likewise.
1353 * gdb.cp/method.exp: Likewise.
1354 * gdb.cp/overload.exp: Likewise.
1355 * gdb.cp/templates.exp: Likewise.
1356 * gdb.stabs/weird.exp: Likewise.
1357 * lib/compiler.c: Likewise.
1358 * lib/compiler.cc: Likewise.
1359 * lib/cp-support.exp: Likewise.
1360 * lib/gdb.exp: Likewise.
1361
bf401b07
SM
13622015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1363
1364 * configure.ac: Remove HP-UX case.
1365 * configure: Regenerate.
1366
aff9c0f8
SM
13672015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1368
1369 * lib/gdb.exp (gdb_compile): Add function doc.
1370
a6904d5a
PA
13712015-12-17 Pedro Alves <palves@redhat.com>
1372
1373 PR threads/19354
1374 * gdb.multi/info-threads.exp: New file.
1375
a22279dd
YQ
13762015-12-15 Yao Qi <yao.qi@linaro.org>
1377
1378 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1379 is aarch64*-*-*.
1380
0588c796
SL
13812015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1382
1383 * gdb.base/history-duplicates.exp: Skip if no readline support.
1384
5d978e17
SL
13852015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1386
1387 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1388
7e763b86
SL
13892015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1390
1391 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1392
87a3a92c
SL
13932015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1394
1395 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1396 ctrl-C if nointerrupts target property is set.
1397 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1398 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1399 * gdb.base/paginate-bg-execution.exp: Likewise.
1400 * gdb.base/paginate-execution-startup.exp: Likewise.
1401 * gdb.base/random-signal.exp: Likewise.
1402 * gdb.base/range-stepping.exp: Likewise.
1403 * gdb.cp/annota2.exp: Likewise.
1404 * gdb.cp/annota3.exp: Likewise.
1405 * gdb.gdb/selftest.exp: Likewise.
1406 * gdb.threads/continue-pending-status.exp: Likewise.
1407 * gdb.threads/leader-exit.exp: Likewise.
1408 * gdb.threads/manythreads.exp: Likewise.
1409 * gdb.threads/pthreads.exp: Likewise.
1410 * gdb.threads/schedlock.exp: Likewise.
1411 * gdb.threads/sigthread.exp: Likewise.
1412
a8f077dc
DB
14132015-12-11 Don Breazeal <donb@codesourcery.com>
1414
1415 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1416 remote.
1417 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1418 * gdb.base/foll-exec.exp (main): Enable for target remote.
1419 * gdb.base/foll-fork.exp (main): Likewise.
1420 * gdb.base/foll-vfork.exp (main): Likewise.
1421 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1422 (proc continue_to_exit_bp_loc): Use clean_restart.
1423 * gdb.base/pie-execl.exp (main): Disable for target remote.
1424 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1425 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1426 * gdb.threads/execl.exp (main): Likewise.
1427 * gdb.threads/fork-child-threads.exp (main): Likewise.
1428 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1429 remote.
1430 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1431 remote.
1432 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1433 pid.tid style ptids, instead of just tid.
1434 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1435 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1436 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1437 ptids, instead of just tid.
1438
3b2464a8
AB
14392015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1440
1441 * gdb.base/list.exp (test_list_forward): Add end of file error
1442 test.
1443 (test_repeat_list_command): Add end of file error test.
1444 (test_list_backwards): Add beginning of file error test.
1445
a0def019
AB
14462015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1447
1448 * gdb.base/list.exp (test_list_invalid_args): New function,
1449 defined, and called.
1450
5c000dff
AB
14512015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1452
1453 * gdb.base/list.exp (test_list): Make test names unique.
1454
f1637ebe
YQ
14552015-12-11 Yao Qi <yao.qi@linaro.org>
1456
1457 * gdb.base/coremaker2.c: Remove.
1458
36d6fc0a
PA
14592015-12-10 Pedro Alves <palves@redhat.com>
1460
1461 * gdb.multi/base.exp: Remove stale "spaces" references.
1462
762f7747
PA
14632015-12-10 Pedro Alves <palves@redhat.com>
1464
1465 * gdb.multi/base.exp: Don't use nowarnings.
1466 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1467 * gdb.multi/hangout.c: Include stdio.h.
1468 * gdb.multi/hello.c: Include stdlib.h.
1469 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1470 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1471 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1472
28d2bfb9
AB
14732015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1474
1475 * gdb.dwarf2/dw2-ranges-base.c: New file.
1476 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1477 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1478 support additional line table, and debug ranges generation.
1479 (Dwarf::ranges): New function, generate .debug_ranges.
1480 (Dwarf::lines): Support generating simple line table programs.
1481 (Dwarf::assemble): Initialise new namespace variables.
1482
5fc2beac
KB
14832015-12-09 Kevin Buettner <kevinb@redhat.com>
1484
1485 * gdb.base/async.exp (proc test_background): Add case for
1486 asynchronous execution not supported.
1487
1c35a88f
LM
14882015-12-09 Luis Machado <lgustavo@codesourcery.com>
1489
1490 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1491 format and change test names to make them unique.
1492
b593e3d9
RK
14932015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1494 Pedro Alves <pedro@redhat.com>
1495
1496 PR gdb/18702
1497 Add checking of floatformats setup on x86_64 hosts.
1498 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1499 (smallval, bigval): New labels/constants.
1500 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1501 float" after loading bigval and smallval.
1502
d72413e6
PMR
15032015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1504
1505 * gdb.ada/fun_overload_menu.exp: New testcase.
1506 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1507
ece66d65
JS
15082015-12-04 Josh Stone <jistone@redhat.com>
1509
1510 * gdb.base/catch-fork-static.exp: New.
1511
41d0efca
YQ
15122015-12-03 Yao Qi <yao.qi@linaro.org>
1513
1514 * gdb.base/sizeof.c: Don't include stdio.h and
1515 ../lib/unbuffer_output.c.
1516 (main): New variable 'size' and 'value'. Remove printf and
1517 gdb_unbuffer_output. Assign return value to size and value.
1518 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1519 at the beginning.
1520 (check_sizeof): Check the result by printing variable 'size'.
1521 (check_valueof): Check the result by printing variable 'value'.
1522
99fd02d9
YQ
15232015-12-01 Yao Qi <yao.qi@linaro.org>
1524
1525 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1526 for aarch64*-*-linux* target.
1527
f2faf941
PA
15282015-11-30 Pedro Alves <palves@redhat.com>
1529
1530 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1531
04bf20c5
PA
15322015-11-30 Pedro Alves <palves@redhat.com>
1533
1534 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1535 Handle non-stop mode vCont replies.
1536
09df4675
PA
15372015-11-30 Pedro Alves <palves@redhat.com>
1538
1539 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1540 prepare_for_testing. Start gdb with "set non-stop on" appended to
1541 GDBFLAGS. Lax expected stop output.
1542
58b584af
YQ
15432015-11-27 Yao Qi <yao.qi@linaro.org>
1544
1545 * gdb.arch/arm-neon.exp: New.
1546 * gdb.arch/arm-neon.c: New.
1547
dfcb77a8
YQ
15482015-11-27 Yao Qi <yao.qi@linaro.org>
1549
1550 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1551
88e8ec1b
YQ
15522015-11-27 Yao Qi <yao.qi@linaro.org>
1553
1554 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1555 frames-invalid annotation.
1556
bfde72c2
YQ
15572015-11-27 Yao Qi <yao.qi@linaro.org>
1558
1559 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1560
f6512a69
SM
15612015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1562
1563 * gdb.threads/names.exp: New file.
1564 * gdb.threads/names.c: New file.
1565 * README: Mention gdb,no_thread_names.
1566
46a3515b
MM
15672015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1568
1569 PR 19297
1570 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1571 support" error.
1572
62147a22
PA
15732015-11-24 Pedro Alves <palves@redhat.com>
1574
1575 PR 17539
1576 * gdb.base/display.exp: Expect displays to be sorted in ascending
1577 order. Use multi_line.
1578 * gdb.base/solib-display.exp: Likewise.
1579
2f341b6e
PA
15802015-11-24 Pedro Alves <palves@redhat.com>
1581
1582 PR 17539
1583 * gdb.base/display.exp: Expect displays to be sorted in ascending
1584 order. Use multi_line.
1585 * gdb.base/solib-display.exp: Likewise.
1586
7e0aa6aa
PA
15872015-11-24 Pedro Alves <palves@redhat.com>
1588
1589 PR 17539
1590 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1591 threads in ascending order.
1592 * gdb.base/foll-fork.exp: Likewise.
1593 * gdb.base/foll-vfork.exp: Likewise.
1594 * gdb.base/multi-forks.exp: Likewise.
1595 * gdb.mi/mi-nonstop.exp: Likewise.
1596 * gdb.mi/mi-nsintrall.exp: Likewise.
1597 * gdb.multi/base.exp: Likewise.
1598 * gdb.multi/multi-arch.exp: Likewise.
1599 * gdb.python/py-inferior.exp: Likewise.
1600 * gdb.threads/break-while-running.exp: Likewise.
1601 * gdb.threads/execl.exp: Likewise.
1602 * gdb.threads/gcore-thread.exp: Likewise.
1603 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1604 * gdb.threads/kill.exp: Likewise.
1605 * gdb.threads/linux-dp.exp: Likewise.
1606 * gdb.threads/multiple-step-overs.exp: Likewise.
1607 * gdb.threads/next-bp-other-thread.exp: Likewise.
1608 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1609 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1610 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1611 * gdb.threads/thread-find.exp: Likewise.
1612 * gdb.threads/tls.exp: Likewise.
1613 * lib/mi-support.exp (mi_reverse_list): Delete.
1614 (mi_check_thread_states): No longer reverse list.
1615
2cc57ad8
PA
16162015-11-24 Pedro Alves <palves@redhat.com>
1617
1618 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1619 use lowercase.
1620
c93e8391
SM
16212015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1622
1623 * gdb.trace/actions.c: Include trace-common.h.
1624 (main): Add a location for a fast tracepoint.
1625 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1626 the normal tracepoints.
1627 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1628
045ccf91
SM
16292015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1630
1631 * save-trace.exp: Factor out code to these...
1632 (gdb_save_tracepoints): New.
1633 (gdb_load_tracepoints): New.
1634 (do_save_load_test): New.
1635
5506f9f6
KB
16362015-11-23 Kevin Buettner <kevinb@redhat.com>
1637
1638 * gdb.base/asmlabel.exp: New test.
1639 * gdb.base/asmlabel.c: New test case.
1640
16c3b12f
JB
16412015-11-23 Joel Brobecker <brobecker@adacore.com>
1642
1643 * gdb.base/wrong_frame_bt_full-main.c: New file.
1644 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1645 * gdb.base/wrong_frame_bt_full.exp: New file.
1646
155bfbd3
JB
16472015-11-23 Joel Brobecker <brobecker@adacore.com>
1648
1649 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1650
bb097445
JM
16512015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1652
206853a0 1653 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
1654 pstate register when comparing registers values in
1655 sparc64-*-linux-gnu targets to avoid spurious differences.
1656
9c88ed8f
JM
16572015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1658
206853a0 1659 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 1660
96161e25
SL
16612015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1662
1663 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1664 as type argument to gdb_compile.
1665 * gdb.base/nested-subp2.exp: Likewise.
1666 * gdb.base/nested-subp3.exp: Likewise.
1667
340c2830
DV
16682015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1669
1670 * lib/dwarf.exp (_note): Fix left shift of negative value.
1671 * gdb.trace/trace-condition.exp: Likewise.
1672
c1862d0f
YQ
16732015-11-13 Yao Qi <yao.qi@linaro.org>
1674
1675 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1676 comments about d10v.
1677 (test_scalar_returns): Likewise.
1678 * gdb.base/d10v.ld: Remove.
1679 * gdb.base/overlays.exp: Remove the target triplet checking for
1680 d10v-*-*.
1681 * gdb.base/structs.exp (test_struct_returns): Remove the
1682 comments about d10v.
1683 (test_struct_calls): Likewise.
1684
77ae9c19
YQ
16852015-11-13 Yao Qi <yao.qi@linaro.org>
1686
1687 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1688 * gdb.base/gnu_vector.c: Don't include stdio.h.
1689 (main): Don't print res and call add_some_intvecs.
1690
430e004e
MK
16912015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1692
1693 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1694 macro.
1695 (func5): Removed.
1696 (func4): Use FAST_TRACEPOINT_LABEL.
1697 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1698 macro.
1699 (func): Removed.
1700 (thread_function): Use FAST_TRACEPOINT_LABEL.
1701 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1702 (func): Remove.
1703 (marker): Use FAST_TRACEPOINT_LABEL.
1704 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1705 (pendfunc1): Remove.
1706 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1707 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1708 (foo): Remove.
1709 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1710 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1711 macro.
1712 (func): Remove.
1713 (marker): Use FAST_TRACEPOINT_LABEL.
1714 * gdb.trace/trace-common.h: New header.
1715 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1716 macro.
1717 (func): Remove.
1718 (marker): Use FAST_TRACEPOINT_LABEL.
1719 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1720 (func): Remove.
1721 (thread_function): Use FAST_TRACEPOINT_LABEL.
1722
6e7675a7
MK
17232015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1724
1725 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1726 in front.
1727 * gdb.trace/change-loc.exp: Use global pcreg definition.
1728 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1729 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1730 in front.
1731 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1732 * gdb.trace/pending.exp: Likewise.
1733 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1734 * gdb.trace/trace-break.exp: Likewise.
1735 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1736 in front.
1737 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1738 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1739 in front.
1740 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1741
dddc0e16
JB
17422015-11-09 Joel Brobecker <brobecker@adacore.com>
1743
1744 * gdb.ada/fin_fun_out: New testcase.
1745
c6f0b406
KB
17462015-11-07 Kevin Buettner <kevinb@redhat.com>
1747
1748 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1749 value associated with DW_AT_byte_size.
1750 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1751 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1752 DW_AT_upper_bound.
1753
f01dcfd9
KB
17542015-11-07 Kevin Buettner <kevinb@redhat.com>
1755
1756 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1757 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1758 version.
1759 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1760 gdb.dwarf2/dw2-canonicalize-type.exp,
1761 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1762 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1763 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1764 provided by gdb_target_symbol_prefix_flags_asm.
1765 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1766 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1767 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1768 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1769 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1770 macros where needed). Use this macro for symbols which require
1771 the prefix provided by SYMBOL_PREFIX.
1772
2223449a
KB
17732015-11-05 Kevin Buettner <kevinb@redhat.com>
1774
1775 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1776 New procs.
1777 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1778 representing expressions, of more than one list element.
1779 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1780 to prepend linker symbol prefix to f.
1781 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1782 table_1 and table_2.
1783 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1784 Likewise, for f and g.
1785 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1786 for ptr.
1787 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1788 for main.
1789 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1790 table_1_ptr and table_2_ptr.
1791
6f2f1a3a
JK
17922015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1793 Joel Brobecker <brobecker@adacore.com>
1794
1795 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1796
566c56c9
MK
17972015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1798
1799 * gdb.reverse/s390-mvcle.c: New test.
1800 * gdb.reverse/s390-mvcle.exp: New file.
1801 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1802
d5f0636b
MK
18032015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1804
1805 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1806
7ad8b86c
MK
18072015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1808
1809 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1810 reaching marker2.
1811 * gdb.reverse/getresuid-reverse.exp: Likewise.
1812 * gdb.reverse/pipe-reverse.exp: Likewise.
1813 * gdb.reverse/readv-reverse.exp: Likewise.
1814 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1815 * gdb.reverse/time-reverse.exp: Likewise.
1816 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1817
4081c0f1
YQ
18182015-10-30 Yao Qi <yao.qi@linaro.org>
1819
1820 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1821 (empty_cycle): Remove.
1822 (main): Don't call empty_cycle. Don't use watch_count_done.
1823 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1824 empty_cycle. Rewrite the code counting HW watchpoints.
1825
452b4ba5
MK
18262015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1827
1828 * gdb.reverse/fstatat-reverse.c: New test.
1829 * gdb.reverse/fstatat-reverse.exp: New file.
1830 * gdb.reverse/getresuid-reverse.c: New test.
1831 * gdb.reverse/getresuid-reverse.exp: New file.
1832 * gdb.reverse/pipe-reverse.c: New test.
1833 * gdb.reverse/pipe-reverse.exp: New file.
1834 * gdb.reverse/readv-reverse.c: New test.
1835 * gdb.reverse/readv-reverse.exp: New file.
1836 * gdb.reverse/recvmsg-reverse.c: New test.
1837 * gdb.reverse/recvmsg-reverse.exp: New file.
1838 * gdb.reverse/time-reverse.c: New test.
1839 * gdb.reverse/time-reverse.exp: New file.
1840 * gdb.reverse/waitpid-reverse.c: New test.
1841 * gdb.reverse/waitpid-reverse.exp: New file.
1842
5e2e7507
JK
18432015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1844
1845 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1846
0fde2c53
DE
18472015-10-26 Doug Evans <dje@google.com>
1848
1849 PR symtab/17391
1850 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1851 * gdb.dwarf2/bad-regnum.c: New file.
1852 * gdb.dwarf2/bad-regnum.exp: New file.
1853
1a70ae97
DE
18542015-10-26 Doug Evans <dje@google.com>
1855
1856 PR python/18938
1857 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1858 file.
1859
27dc26ab
JK
18602015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1861
1862 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1863 for a change by "Mention language in compile error message".
1864
bed91f4d
SM
18652015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1866
1867 PR python/18073
1868 * gdb.python/py-type.c (C::a_method): New.
1869 (C::a_const_method): New.
1870 (C::a_static_method): New.
1871 (a_function): New.
1872 * gdb.python/py-type.exp (test_fields): Test getting fields
1873 from function and method.
1874
3f2f83dd
KB
18752015-10-21 Keven Boell <keven.boell@intel.com>
1876
1877 * gdb.fortran/vla-alloc-assoc.exp: New file.
1878 * gdb.fortran/vla-datatypes.exp: New file.
1879 * gdb.fortran/vla-datatypes.f90: New file.
1880 * gdb.fortran/vla-history.exp: New file.
1881 * gdb.fortran/vla-ptype-sub.exp: New file.
1882 * gdb.fortran/vla-ptype.exp: New file.
1883 * gdb.fortran/vla-sizeof.exp: New file.
1884 * gdb.fortran/vla-sub.f90: New file.
1885 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1886 * gdb.fortran/vla-value-sub-finish.exp: New file.
1887 * gdb.fortran/vla-value-sub.exp: New file.
1888 * gdb.fortran/vla-value.exp: New file.
1889 * gdb.fortran/vla-ptr-info.exp: New file.
1890 * gdb.mi/mi-vla-fortran.exp: New file.
1891 * gdb.mi/vla.f90: New file.
1892
27145d50
SL
18932015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1894
1895 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1896 of hardwired timeout value.
1897
5f3ff4f8
JK
18982015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1899 Pedro Alves <palves@redhat.com>
1900
1901 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1902 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1903
bfd09d20
JS
19042015-10-19 Josh Stone <jistone@redhat.com>
1905
1906 * gdb.base/catch-syscall.c: Include <sched.h>.
1907 (unknown_syscall): New variable.
1908 (main): Trigger a vfork and an unknown syscall.
1909 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1910 (unknown_syscall_number): Likewise.
1911 (check_call_to_syscall): Accept an optional syscall pattern.
1912 (check_return_from_syscall): Likewise.
1913 (check_continue): Likewise.
1914 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1915 (test_catch_syscall_skipping_return): New test toggling off 'catch
1916 syscall' to step over the syscall return, then toggling back on.
1917 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1918 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1919 (do_syscall_tests): Call test_catch_syscall_without_args and
1920 test_catch_syscall_mid_vfork.
1921 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1922 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1923
b32b93c6
AS
19242015-10-19 Andrew Stubbs <ams@codesourcery.com>
1925
1926 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1927 print g_vE): Add new pass patterns.
1928 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1929 print various symbol names for vptr fields.
1930
9d622bda
AB
19312015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1932
1933 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1934 results.
1935
0fd8ac1c
YQ
19362015-10-12 Yao Qi <yao.qi@linaro.org>
1937
1938 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1939
34240514
YQ
19402015-10-12 Yao Qi <yao.qi@linaro.org>
1941
1942 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1943 is aarch64*-*-linux*.
1944
8240f442
YQ
19452015-10-12 Yao Qi <yao.qi@linaro.org>
1946
1947 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1948 (can_relocate_bcond_true): ... it.
1949 (can_relocate_bcond_false): New function.
1950 (foo): Likewise.
1951 (can_relocate_bl): Likewise.
1952 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1953 can_relocate_bl.
1954
2520f728
PMR
19552015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1956
1957 * gdb.base/nested-addr.c: New file.
1958 * gdb.base/nested-addr.exp: New testcase.
1959
abcef95a
MM
19602015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1961
1962 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1963 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1964 its output. Ignore the output of "record goto begin" and instead
1965 check that GDB is replaying.
1966
145e3ddb
PA
19672015-10-09 Pedro Alves <palves@redhat.com>
1968
1969 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1970 (top level): Use it in the run with no args test.
1971
d5d8c4e1
IB
19722015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1973
1974 * gdb.dlang/properties.exp: New file.
1975
06e635ef
SL
19762015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1977
1978 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1979 whether or not address 0x1000 is mapped on the target.
1980
e019fd1d
SM
19812015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1982
1983 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1984 build.
1985
77ba2a67
MM
19862015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1987
1988 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1989 instruction-history test.
1990
c60eb31f
DE
19912015-09-28 Doug Evans <dje@google.com>
1992
1993 * gdb.base/gcore.c (array_func): Add reference to static_array.
1994
9a3c8263
SM
19952015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1996
1997 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1998 source line.
1999
9720e656
SL
20002015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2001
2002 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2003 short or char as base type.
2004
938d3bf2
SL
20052015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2006
2007 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2008 to allow any size enum.
2009
e6c2c623
PMR
20102015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2011
2012 * gdb.ada/array_ptr_renaming.exp: New testcase.
2013 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2014 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2015
06da0f77
PL
20162015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2017
2018 * gdb.trace/ftrace-lock.c: New file.
2019 * gdb.trace/ftrace-lock.exp: New file.
2020
4f51c22a
PL
20212015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2022
2023 * gdb.arch/insn-reloc.c: New file.
2024 * gdb.arch/ftrace-insn-reloc.exp: New file.
2025
7041adf4
PL
20262015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2027
2028 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2029 instruction.
2030 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2031 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2032 * gdb.trace/range-stepping.c: Likewise.
2033 * gdb.trace/trace-break.c: Likewise.
2034 * gdb.trace/trace-mt.c (thread_function): Likewise.
2035 * gdb.trace/ftrace.c (marker): Likewise.
2036 * gdb.trace/trace-condition.c (marker): Likewise.
2037 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2038 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2039 is_aarch64_target.
2040
015d2e7e
DE
20412015-09-18 Doug Evans <xdje42@gmail.com>
2042
2043 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2044 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2045
26b188a2
SL
20462015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2047
2048 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2049 the breakpoint.
2050
79dc332b
SL
20512015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2052
2053 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2054 the pending breakpoint. Remove timeout override for "Run till
2055 MI pending breakpoint on pendfunc3 on thread 2" test.
2056
f57929f2
SL
20572015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2058
2059 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2060 filename pattern.
2061
3f469b17
SL
20622015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2063
2064 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2065 in breakpoint filename pattern.
2066
515b89b3
SL
20672015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2068
7800dbe4
SL
2069 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2070
20712015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2072
515b89b3
SL
2073 * gdb.linespec/explicit.exp: Check for readline support for
2074 tab-completion tests. Fix obvious typo.
2075
d2939ba2
MM
20762015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2077
2078 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2079 and replay.
2080
cbb55fa7
MM
20812015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2082
2083 * gdb.btrace/non-stop.c: New.
2084 * gdb.btrace/non-stop.exp: New.
2085
43691ca1
PL
20862015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2087 Yao Qi <yao.qi@linaro.org>
2088
2089 * gdb.trace/trace-condition.c: New file.
2090 * gdb.trace/trace-condition.exp: New file.
2091
d78908cf
WW
20922015-09-16 Wei-cheng Wang <cole945@gmail.com>
2093
2094 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2095 for testing bytecode compilation.
2096
1ed415e2
PA
20972015-09-16 Pedro Alves <palves@redhat.com>
2098 Sandra Loosemore <sandra@codesourcery.com>
2099
2100 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2101 (SECONDS): Redefine.
2102 (main): Call pthread_kill and alarm early.
2103 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2104 support.
2105 (test): If the target can't hardware step and doesn't support
2106 displaced stepping, increase the timeout.
2107
d136eff5
PA
21082015-09-16 Pedro Alves <palves@redhat.com>
2109
2110 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2111 (enable_debug): New procedures.
2112 (test): Use them. Bail out if waiting for threads fails.
2113 (top level): Bail out if a test fails.
2114
991f019c
YQ
21152015-09-16 Yao Qi <yao.qi@linaro.org>
2116
2117 * gdb.asm/asm-source.exp: Set asm-arch for
2118 aarch64*-*-* target.
2119 * gdb.asm/aarch64.inc: New file.
2120
bfca584f
PMR
21212015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2122
2123 * gdb.ada/array_of_variable_length.exp: New testcase.
2124 * gdb.ada/array_of_variable_length/foo.adb: New file.
2125 * gdb.ada/array_of_variable_length/pck.adb: New file.
2126 * gdb.ada/array_of_variable_length/pck.ads: New file.
2127
b326e587
DE
21282015-09-15 Doug Evans <dje@google.com>
2129
2130 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2131 of function static local variable.
2132
5382cfab
PW
21332015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2134
2135 * gdb.threads/tls-so_extern.exp: New test file.
2136 * gdb.threads/tls-so_extern.c: New test file.
2137 * gdb.threads/tls-so_extern_main.c: New test file.
2138
141c5cc4
JK
21392015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2140
2141 * gdb.opt/solib-intra-step-lib.c: New file.
2142 * gdb.opt/solib-intra-step-main.c: New file.
2143 * gdb.opt/solib-intra-step.exp: New file.
2144
d15dcecd
PA
21452015-09-15 Pedro Alves <palves@redhat.com>
2146
2147 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2148 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2149
4c2f2a79
PA
21502015-09-14 Pedro Alves <palves@redhat.com>
2151
2152 * gdb.base/hook-stop-continue.c: Delete.
2153 * gdb.base/hook-stop-continue.exp: Delete.
2154 * gdb.base/hook-stop-frame.c: Delete.
2155 * gdb.base/hook-stop-frame.exp: Delete.
2156 * gdb.base/hook-stop.c: New file.
2157 * gdb.base/hook-stop.exp: New file.
2158
919e6dbe
PMR
21592015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2160
2161 * gdb.ada/access_to_packed_array.exp: New testcase.
2162 * gdb.ada/access_to_packed_array/foo.adb: New file.
2163 * gdb.ada/access_to_packed_array/pack.adb: New file.
2164 * gdb.ada/access_to_packed_array/pack.ads: New file.
2165
157280a4
MM
21662015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2167
2168 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2169 buffer size test.
2170
2fd33e94
DB
21712015-09-11 Don Breazeal <donb@codesourcery.com>
2172
2173 * gdb.base/foll-exec.c: Add copyright header. Fix
2174 formatting issues.
2175 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2176 (do_exec_tests): Use clean_restart in place of zap_session,
2177 and for test initialization. Fix formatting issues. Use
2178 fail in place of perror.
2179 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2180 an expect statement to match an expression with output from
2181 the program under debug.
2182 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2183 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2184 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2185 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2186 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2187
e70b6e8e
DE
21882015-09-09 Doug Evans <dje@google.com>
2189
2190 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2191
7a551a51
DE
21922015-09-09 Doug Evans <dje@google.com>
2193
2194 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2195
4c666f84
DE
21962015-09-09 Doug Evans <dje@google.com>
2197
2198 * gdb.base/savedregs.exp: Fix typo.
2199
243a9253
PA
22002015-09-09 Pedro Alves <palves@redhat.com>
2201
2202 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2203
c0fa8fbd
SL
22042015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2205
2206 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2207 command actually switches threads. Give up on remaining
2208 tests if target fails to stop at breakpoint.
2209
cd7c1778
PMR
22102015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2211
2212 * gdb.ada/funcall_char.exp: New testcase.
2213 * gdb.ada/funcall_char/foo.adb: New file.
2214
dc5c8746
PMR
22152015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2216
2217 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2218 expected outputs. Add two testcases for completing ambiguous
2219 functions.
2220 * gdb.ada/complete/aux_pck.adb: New file.
2221 * gdb.ada/complete/aux_pck.ads: New file.
2222 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2223 Ambiguous_Func functions.
2224 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2225 * gdb.ada/complete/pck.adb: Likewise.
2226
4e83a1e7
UW
22272015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2228
2229 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2230 failures to run the test program under GDB.
2231
8ce74153
LM
22322015-08-26 Luis Machado <lgustavo@codesourcery.com>
2233
2234 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2235 to C.
2236
e9756d52
PP
22372015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2238
2239 * gdb.base/run-after-attach.exp: New test file.
2240 * gdb.base/run-after-attach.c: New test file.
2241
8d37573b
DB
22422015-08-26 Don Breazeal <donb@codesourcery.com>
2243
2244 * gdb.base/foll-exec-2.c: New test program.
2245 * gdb.base/foll-exec-2.exp: New test.
2246
63e43d3a
PMR
22472015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2248
2249 * gdb.base/nested-subp1.exp: New file.
2250 * gdb.base/nested-subp1.c: New file.
2251 * gdb.base/nested-subp2.exp: New file.
2252 * gdb.base/nested-subp2.c: New file.
2253 * gdb.base/nested-subp3.exp: New file.
2254 * gdb.base/nested-subp3.c: New file.
2255
3d40fbb5
PA
22562015-08-24 Pedro Alves <palves@redhat.com>
2257
2258 * gdb.server/connect-without-multi-process.c: New file.
2259 * gdb.server/connect-without-multi-process.exp: New file.
2260
4422ac93
LM
22612015-08-24 Luis Machado <lgustavo@codesourcery.com>
2262
2263 * gdb.opt/inline-markers.c: Make z int.
2264
91dddb86
LM
22652015-08-24 Luis Machado <lgustavo@codesourcery.com>
2266
2267 * gdb.opt/inline-markers.c: Make z volatile.
2268
a48847ee
LM
22692015-08-24 Luis Machado <lgustavo@codesourcery.com>
2270
2271 * gdb.opt/inline-bt.c: New volatile global z.
2272 * gdb.opt/inline-cmds.c: Likewise.
2273 * gdb.opt/inline-locals.c: Likewise.
2274 * gdb.opt/inline-markers.c: New extern global z.
2275 (marker): Use z.
2276 (inline_fn): Likewise.
2277
0ebbc52b
PA
22782015-08-24 Pedro Alves <palves@redhat.com>
2279
2280 * config/m32r-stub.exp: Remove file.
2281 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2282 * gdb.base/call-rt-st.exp: Likewise.
2283 * gdb.base/call-strs.exp: Likewise.
2284 * gdb.base/default.exp: Remove references to h8300-*-hms and
2285 *-*-udi*.
2286 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2287
77c365df
AA
22882015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2289
2290 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2291 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2292 and "return" use KFAIL when GDB can not read/write the vector
2293 return value.
2294
4313b8c0
GB
22952015-08-21 Gary Benson <gbenson@redhat.com>
2296
2297 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2298
0e433b32
PA
22992015-08-20 Pedro Alves <palves@redhat.com>
2300
2301 * gdb.server/solib-list.exp: No longer expect an interior stop in
2302 non-stop mode.
2303
221e1a37
PA
23042015-08-20 Pedro Alves <palves@redhat.com>
2305
2306 * gdb.server/connect-stopped-target.c: New file.
2307 * gdb.server/connect-stopped-target.exp: New file.
2308
40e3ad0e
PA
23092015-08-20 Pedro Alves <palves@redhat.com>
2310
2311 * gdb.dwarf2/comp-unit-lang.exp: New file.
2312 * gdb.dwarf2/comp-unit-lang.c: New file.
2313
af39b327
PMR
23142015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2315
2316 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2317 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2318
7d45c7c3 23192015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2320
7d45c7c3
KB
2321 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2322 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2323
4d6cceb4
DE
23242015-08-18 Doug Evans <dje@google.com>
2325 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2326
2327 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2328 skip_python_tests. New arg prompt_regexp.
2329 (skip_python_tests): New function.
2330 * lib/mi-support.exp (mi_skip_python_tests): New function.
2331 * gdb.python/py-mi-objfile-gdb.py: New file.
2332 * gdb.python/py-mi-objfile.c: New file.
2333 * gdb.python/py-mi-objfile.exp: New file.
2334
ad89c2aa
KS
23352015-08-17 Keith Seitz <keiths@redhat.com>
2336
2337 * gdb.linespec/explicit.exp: Move strace test from here ...
2338 * gdb.trace/strace.exp: ... to here.
2339
e3ae3c43
PP
23402015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2341
2342 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2343 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2344
604b2636
DE
23452015-08-14 Doug Evans <xdje42@gmail.com>
2346
2347 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2348 inferior before selecting a new file.
2349
6ff0ba5f
DE
23502015-08-14 Doug Evans <xdje42@gmail.com>
2351
2352 * gdb.mi/mi-disassemble.exp: Update.
2353 * gdb.base/disasm-optim.S: New file.
2354 * gdb.base/disasm-optim.c: New file.
2355 * gdb.base/disasm-optim.h: New file.
2356 * gdb.base/disasm-optim.exp: New file.
2357
9ca98f92
KS
23582015-08-14 Keith Seitz <keiths@redhat.com>
2359
2360 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2361 "evaluated-by".
2362
52bbc560
JB
23632015-08-13 Joel Brobecker <brobecker@adacore.com>
2364
2365 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2366
5d8c3ed3
PMR
23672015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2368
2369 * gdb.ada/fun_renaming.exp: New testcase.
2370 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2371 * gdb.ada/fun_renaming/pack.adb: New file.
2372 * gdb.ada/fun_renaming/pack.ads: New file.
2373
ea8812bc
KS
23742015-08-12 Keith Seitz <keiths@redhat.com>
2375
2376 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2377 gdb_get_line_number.
2378
4dafcdeb
JB
23792015-08-12 Joel Brobecker <brobecker@adacore.com>
2380
2381 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2382 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2383 gdb.base/dso2dso.exp: New files.
2384
5ba32597
SDJ
23852015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2386 Pedro Alves <palves@redhat.com>
2387 Keith Seitz <keiths@redhat.com>
2388
2389 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2390 GDBFLAGS.
2391
b6dafabf
PP
23922015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2393
2394 * gdb.base/gdbhistsize-history.exp
2395 (test_histsize_history_setting): Use save_vars.
2396 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2397 Use save_vars.
2398 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2399 * gdb.base/readline.exp: Use save_vars.
2400
abe8e607
PP
24012015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2402
2403 * lib/gdb.exp (save_vars): New proc.
2404
629500fa
KS
24052015-08-11 Keith Seitz <keiths@redhat.com>
2406
2407 * gdb.base/help.exp: Update help_breakpoint_text.
2408
eb8c4e2e
KS
24092015-08-11 Keith Seitz <keiths@redhat.com>
2410
2411 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2412 (at toplevel): Call test_explicit_breakpoints.
2413 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2414 breakpoints.
2415 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2416 breakpoint conditions, "-cond".
2417
87f0e720
KS
24182015-08-11 Keith Seitz <keiths@redhat.com>
2419
2420 * gdb.linespec/3explicit.c: New file.
2421 * gdb.linespec/cpexplicit.cc: New file.
2422 * gdb.linespec/cpexplicit.exp: New file.
2423 * gdb.linespec/explicit.c: New file.
2424 * gdb.linespec/explicit.exp: New file.
2425 * gdb.linespec/explicit2.c: New file.
2426 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2427 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2428 before using in the matching pattern.
2429 Clarify that `prefix' is a regular expression.
2430
f00aae0f
KS
24312015-08-11 Keith Seitz <keiths@redhat.com>
2432
2433 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2434 test.
2435 Add tests for missing ",FMT" and ",".
2436
e27852be
DE
24372015-08-10 Doug Evans <dje@google.com>
2438 Keith Seitz <keiths@redhat.com>
2439
2440 PR gdb/17960
2441 * gdb.base/completion.exp: Add location completer tests.
2442
7f03bd92
PA
24432015-08-07 Pedro Alves <palves@redhat.com>
2444
2445 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2446 tests here.
2447 (top level): Run do_test with and without displaced stepping.
2448
3fc8eb30
PA
24492015-08-07 Pedro Alves <palves@redhat.com>
2450
2451 * gdb.base/valgrind-disp-step.c: New file.
2452 * gdb.base/valgrind-disp-step.exp: New file.
2453
d4569d7b
PA
24542015-08-07 Pedro Alves <palves@redhat.com>
2455
2456 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2457 Delete function.
2458 (main): Add alarm. Run an infinite loop instead of calling
2459 wait_threads.
2460 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2461 comment.
2462 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2463 Delete function.
2464 (main): Add alarm. Run an infinite loop instead of calling
2465 wait_threads.
2466 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2467 comment.
2468
e1316e60
PA
24692015-08-07 Pedro Alves <palves@redhat.com>
2470
2471 * gdb.base/checkpoint-ns.exp: New file.
2472 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2473 standard_testfile.
2474
da8c46d2
MM
24752015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2476
2477 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2478 * gdb.btrace/instruction_history.exp: Update.
2479 * gdb.btrace/tsx.exp: New.
2480 * gdb.btrace/tsx.c: New.
2481
de1c2c52
PA
24822015-08-06 Pedro Alves <palves@redhat.com>
2483
2484 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2485 increase timeout.
2486 * gdb.reverse/until-precsave.exp: Bump timeouts.
2487
782e0bf4
PA
24882015-08-06 Pedro Alves <palves@redhat.com>
2489
2490 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2491
83e97ed0
PA
24922015-08-06 Pedro Alves <palves@redhat.com>
2493
2494 PR gdb/18749
2495 * gdb.threads/process-dies-while-handling-bp.c: New file.
2496 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2497
863d01bd
PA
24982015-08-06 Pedro Alves <palves@redhat.com>
2499
2500 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2501 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2502
0a39bb32
PA
25032015-08-05 Pedro Alves <palves@redhat.com>
2504
2505 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2506 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2507
ee2d2b10
SL
25082015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2509
2510 * gdb.base/bp-permanent.exp: Report test as unsupported if
2511 the target cannot stop at the permanent breakpoint.
2512
4e1bdb00
DE
25132015-08-03 Doug Evans <dje@google.com>
2514
2515 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2516 10000.
2517
3d338901
DE
25182015-08-03 Doug Evans <dje@google.com>
2519
2520 * Makefile.in (workers/%.worker, build-perf): New rule.
2521 (GDB_PERFTEST_MODE): New variable.
2522 (check-perf): Use it.
2523 (clean): Clean up gdb.perf parallel build subdirs.
2524 * lib/build-piece.exp: New file.
2525 * lib/gdb.exp (make_gdb_parallel_path): New function
2526 (standard_output_file, standard_temp_file): Call it.
2527 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2528 of $GDB_PARALLEL.
2529 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2530
af061d3e
DE
25312015-08-03 Doug Evans <dje@google.com>
2532
8e1afc81 2533 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
2534 (LOG_FILE_NAME): New global.
2535 (TextReporter.__init__): Initialize self.txt_sum.
2536 (TextReporter.report): Add support for multiple data-points.
2537 Move report to perftest.sum, put raw data in perftest.log.
2538 (TextReporter.start): Open sum and log files.
2539 (TextReporter.end): Close sum and log files.
8e1afc81
DE
2540 * gdb.perf/lib/perftest/testresult.py
2541 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 2542
2c8c5d37
PA
25432015-07-31 Pedro Alves <palves@redhat.com>
2544
2545 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2546 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2547 kill_wait_spawned_process instead of explicit "kill -9".
2548 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2549 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2550 kill_wait_spawned_process.
2551 * gdb.base/attach-twice.exp: Likewise.
2552 * gdb.base/attach.exp: Likewise.
2553 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2554 gdb_test_multiple.
2555 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2556 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2557 kill_wait_spawned_process.
2558 * gdb.base/valgrind-infcall.exp: Likewise.
2559 * gdb.multi/multi-attach.exp: Likewise.
2560 * gdb.python/py-prompt.exp: Likewise.
2561 * gdb.python/py-sync-interp.exp: Likewise.
2562 * gdb.server/ext-attach.exp: Likewise.
2563 * gdb.threads/attach-into-signal.exp (corefunc): Use
2564 spawn_wait_for_attach, spawn_id_get_pid and
2565 kill_wait_spawned_process.
2566 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2567 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2568 spawn_id_get_pid and kill_wait_spawned_process.
2569 * gdb.threads/attach-stopped.exp (corefunc): Use
2570 spawn_wait_for_attach, spawn_id_get_pid and
2571 kill_wait_spawned_process.
2572 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2573 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2574 kill_wait_spawned_process instead of explicit "kill -9".
2575 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2576 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2577 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2578 processes. Don't map cygwin/windows pids here. Now returns a
2579 spawn id list.
2580
032a0fca
SL
25812015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2582
2583 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2584 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2585 correct patch.
2586
61a934ca
SL
25872015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2588
2589 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2590
4bc4d428
SL
25912015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2592
2593 Reapply:
2594 2014-05-21 Mark Wielaard <mjw@redhat.com>
2595
2596 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2597
998d452a
PA
25982015-07-30 Pedro Alves <palves@redhat.com>
2599
2600 * linux-low.c (handle_extended_wait): Set the child's last
2601 reported status to TARGET_WAITKIND_STOPPED.
2602
69dde7dc
PA
26032015-07-30 Pedro Alves <palves@redhat.com>
2604
2605 PR threads/18600
2606 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2607 only shows inferior 1.
2608
4dd63d48
PA
26092015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2610 Pedro Alves <palves@redhat.com>
2611
2612 PR threads/18600
2613 * gdb.threads/fork-plus-threads.c: New file.
2614 * gdb.threads/fork-plus-threads.exp: New file.
2615
d618e4c5
PP
26162015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2617
2618 * gdb.base/batch-preserve-term-settings.exp
2619 (test_terminal_settings_preserved_after_cli_exit): Use
2620 send_quit_command.
2621
1eef6428
PA
26222015-07-29 Pedro Alves <palves@redhat.com>
2623 Don Breazeal <donb@codesourcery.com>
2624
2625 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2626 output from both inferior_spawn_id and gdb_spawn_id.
2627
7da5b897
SDJ
26282015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2629
2630 * gdb.threads/attach-into-signal.exp (corefunc): Use
2631 with_test_prefix on nested loops, uniquefying the test messages.
2632
dac804df
SDJ
26332015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2634
2635 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2636 commit.
2637
06265e53
PP
26382015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2639
2640 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2641 New proc.
2642 (test_terminal_settings_preserved_after_sigterm): New test.
2643
18206ca3
PP
26442015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2645
2646 * gdb.base/batch-preserve-term-settings.exp
2647 (test_terminal_settings_preserved_after_cli_exit): New test.
2648
90074d11
PP
26492015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2650
2651 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2652 manipulation of saved_gdbflags.
2653 (test_terminal_settings_preserved): Remove global declaration of
2654 the unused variable pagination_prompt. Remove manipulation of
2655 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2656 GDBFLAGS.
2657
eb1a7902
PA
26582015-07-29 Pedro Alves <palves@redhat.com>
2659
2660 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2661
8b75dd3b
PA
26622015-07-29 Pedro Alves <palves@redhat.com>
2663
2664 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2665 at the top.
2666
dedad4e3
PA
26672015-07-29 Pedro Alves <palves@redhat.com>
2668
2669 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2670 (main): Call gdb_unbuffer_output.
2671 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2672 (main): Call gdb_unbuffer_output.
2673 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2674 (main): Call gdb_unbuffer_output.
2675 * gdb.base/call-strs.exp: Adjust to step over the
2676 gdb_unbuffer_output call.
2677 * gdb.base/catch-gdb-caused-signals.c: Include
2678 "../lib/unbuffer_output.c".
2679 (main): Call gdb_unbuffer_output.
2680 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2681 (main): Call gdb_unbuffer_output.
2682 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2683 (main): Call gdb_unbuffer_output.
2684 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2685 (main): Call gdb_unbuffer_output.
2686 * gdb.base/shlib-call.exp: Adjust to step over the
2687 gdb_unbuffer_output call.
2688 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2689 (main): Call gdb_unbuffer_output.
2690 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2691 (main): Call gdb_unbuffer_output.
2692 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2693 (main): Rename to ...
2694 (test): ... this.
2695 (main): Reimplement.
2696 * gdb.base/varargs.exp: Run to test instead of to main.
2697 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2698 (main): Call gdb_unbuffer_output.
2699
58789a91
PA
27002015-07-29 Pedro Alves <palves@redhat.com>
2701
2702 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2703 factore out from mi_continue_dprintf. For call-style dprintfs,
2704 expect dprintf output out of $inferior_spawn_id.
2705 (mi_continue_dprintf): Use mi_expect_dprintf.
2706 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2707 (main): Call gdb_unbuffer_output.
2708
e8376742
PA
27092015-07-29 Pedro Alves <palves@redhat.com>
2710
2711 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2712 (default_mi_gdb_start): Set inferior_spawn_id instead of
2713 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2714 gdb_spawn_id.
2715 (mi_gdb_test): Always expect inferior output from both
2716 $inferior_spawn_id and $gdb_spawn_id.
2717
08280010
PA
27182015-07-29 Pedro Alves <palves@redhat.com>
2719
2720 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2721 send_inferior and $inferior_spawn_id.
2722
4d30e432
PA
27232015-07-29 Pedro Alves <palves@redhat.com>
2724
2725 * gdb.gdb/complaints.exp (test_initial_complaints)
2726 (test_serial_complaints, test_short_complaints): Use
2727 gdb_test_stdio.
2728 (test_empty_complaint): Handle $inferior_spawn_id !=
2729 $gdb_spawn_id.
2730
0d30a335
PA
27312015-07-29 Pedro Alves <palves@redhat.com>
2732
2733 * gdb.base/varargs.exp: Use gdb_test_stdio.
2734
39413b29
PA
27352015-07-29 Pedro Alves <palves@redhat.com>
2736
2737 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2738
7cb000a9
PA
27392015-07-29 Pedro Alves <palves@redhat.com>
2740
2741 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2742
d7b8ac82
PA
27432015-07-29 Pedro Alves <palves@redhat.com>
2744
2745 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2746 parameter into two new parameters, "inf_result" and "gdb_result".
2747 Expect inferior output and gdb output from $inferior_spawn_id and
2748 $gdb_spawn_id, respectively. Adjust all callers.
2749
789c3a0c
PA
27502015-07-29 Pedro Alves <palves@redhat.com>
2751
2752 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2753 of gdb_test_sequence.
2754
77e760c3
PA
27552015-07-29 Pedro Alves <palves@redhat.com>
2756
2757 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2758 (saw_spurious_output): Expect inferior output from
2759 $inferior_spawn_id. Use gdb_test_stdio.
2760
8396d2cd
PA
27612015-07-29 Pedro Alves <palves@redhat.com>
2762
2763 * gdb.base/dprintf.exp: Use standard_testfile. Change
2764 prepare_for_testing call.
2765 (srcfile): Don't set.
2766 (restart): New procedure.
2767 (test_dprintf): New procecure, use to continue over dprintfs.
2768 (test_call, test_agent): New procedures, tests moved here.
2769 Restart gdb and recreate dprintfs. Adjust expected output.
2770
2051d61f
PA
27712015-07-29 Pedro Alves <palves@redhat.com>
2772
2773 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2774
452397af
PA
27752015-07-29 Pedro Alves <palves@redhat.com>
2776
2777 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2778
8aed9555
PA
27792015-07-29 Pedro Alves <palves@redhat.com>
2780
2781 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2782 gdb_test_stdio.
2783
188a61b4
PA
27842015-07-29 Pedro Alves <palves@redhat.com>
2785
2786 * lib/gdb.exp (gdb_test_stdio): New procedure.
2787
12264a45
PA
27882015-07-29 Pedro Alves <palves@redhat.com>
2789
2790 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2791
23ffc893
PA
27922015-07-29 Pedro Alves <palves@redhat.com>
2793
2794 * gdb.base/call-signal-resume.exp: Remove check for
2795 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2796 * gdb.base/unwindonsignal.exp: Likewise.
2797 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2798 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2799
65566918
PA
28002015-07-29 Pedro Alves <palves@redhat.com>
2801
2802 * gdb.base/siginfo-addr.c (pass): New function.
2803 (handler): Call it iff si_addr is correct.
2804 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2805 Set a breakpoint at "pass" and continue to it.
2806
d60a9221
SDJ
28072015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2808
2809 * gdb.python/py-objfile.exp: Make some tests have unique names.
2810 * gdb.python/py-pp-registration.exp: Likewise.
2811
bde40b8f
PA
28122015-07-28 Pedro Alves <palves@redhat.com>
2813
2814 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2815
13e1dec8
SM
28162015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2817
2818 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2819
da33c9a7
SM
28202015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2821
2822 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2823
077836f7
PP
28242015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2825
2826 * gdb.base/gdb-sigterm-2.exp: New test.
2827
b8cc7b2e
DE
28282015-07-25 Doug Evans <xdje42@gmail.com>
2829
2830 Revert:
2831 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2832 (workers/%.worker, build-perf): New rule.
2833 (GDB_PERFTEST_MODE): New variable.
2834 (check-perf): Use it.
2835 (clean): Clean up gdb.perf parallel build subdirs.
2836 * lib/build-piece.exp: New file.
2837 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2838 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2839 name.
2840 (standard_temp_file): Ditto.
2841 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2842 of $GDB_PARALLEL.
2843
c8bd4544
DE
28442015-07-24 Doug Evans <dje@google.com>
2845
2846 * gdb.perf/lib/perftest/utils.py: New file.
2847 * gdb.perf/gm-hello.cc: New file.
2848 * gdb.perf/gm-pervasive-typedef.cc: New file.
2849 * gdb.perf/gm-pervasive-typedef.h: New file.
2850 * gdb.perf/gm-std.cc: New file.
2851 * gdb.perf/gm-std.h: New file.
2852 * gdb.perf/gm-use-cerr.cc: New file.
2853 * gdb.perf/gm-utils.h: New file.
2854 * gdb.perf/gmonster-null-lookup.py: New file.
2855 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2856 * gdb.perf/gmonster-print-cerr.py: New file.
2857 * gdb.perf/gmonster-ptype-string.py: New file.
2858 * gdb.perf/gmonster-runto-main.py: New file.
2859 * gdb.perf/gmonster-select-file.py: New file.
2860 * gdb.perf/gmonster1-null-lookup.exp: New file.
2861 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2862 * gdb.perf/gmonster1-print-cerr.exp: New file.
2863 * gdb.perf/gmonster1-ptype-string.exp: New file.
2864 * gdb.perf/gmonster1-runto-main.exp: New file.
2865 * gdb.perf/gmonster1-select-file.exp: New file.
2866 * gdb.perf/gmonster1.cc: New file.
2867 * gdb.perf/gmonster1.exp: New file.
2868 * gdb.perf/gmonster2-null-lookup.exp: New file.
2869 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2870 * gdb.perf/gmonster2-print-cerr.exp: New file.
2871 * gdb.perf/gmonster2-ptype-string.exp: New file.
2872 * gdb.perf/gmonster2-runto-main.exp: New file.
2873 * gdb.perf/gmonster2-select-file.exp: New file.
2874 * gdb.perf/gmonster2.cc: New file.
2875 * gdb.perf/gmonster2.exp: New file.
2876
6eab34f3
DE
28772015-07-24 Doug Evans <dje@google.com>
2878
2879 * gdb.perf/README: New file.
2880 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2881 * lib/gen-perf-test.exp: New file.
2882
63738bfd
DE
28832015-07-24 Doug Evans <dje@google.com>
2884
2885 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2886 (PerfTest::startup): New function.
2887 (PerfTest::run): Return result of calling body.
2888 (PerfTest::assemble): Rewrite.
2889 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2890 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2891 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2892 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2893 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2894
7b606f95
DE
28952015-07-24 Doug Evans <dje@google.com>
2896
2897 * lib/gdb.exp (clean_restart): Make executable optional.
2898
a97b16b8
DE
28992015-07-24 Doug Evans <dje@google.com>
2900
2901 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2902 compiler_info references.
2903 * gdb.cp/temargs.exp: Ditto.
2904 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2905 (get_compiler_info): Early exit if already computed. Set compiler_info
2906 to "unknown" if there was a problem.
2907 (test_compiler_info): Add function comment. Call get_compiler_info.
2908
35baa57f
DE
29092015-07-24 Doug Evans <dje@google.com>
2910
2911 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2912 (workers/%.worker, build-perf): New rule.
2913 (GDB_PERFTEST_MODE): New variable.
2914 (check-perf): Use it.
2915 (clean): Clean up gdb.perf parallel build subdirs.
2916 * lib/build-piece.exp: New file.
2917 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2918 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2919 name.
2920 (standard_temp_file): Ditto.
2921 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2922 of $GDB_PARALLEL.
2923
6ebea266
DE
29242015-07-24 Doug Evans <dje@google.com>
2925
2926 * lib/future.exp (gdb_default_target_compile): New option
2927 "early_flags".
2928 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2929 --as-needed.
2930
1e76a7e9
SDJ
29312015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2932
2933 * gdb.base/catch-syscall.exp: Call gdb_exit before
2934 gdb_skip_xml_test.
2935
5068630a
PA
29362015-07-24 Pedro Alves <palves@redhat.com>
2937
2938 * gdb.python/py-events.exp: Accept output between the stop event
2939 and the prompt.
2940 * gdb.python/py-evsignal.exp: Likewise.
2941 * gdb.python/py-evthreads.exp: Likewise.
2942
77598427
PA
29432015-07-24 Pedro Alves <palves@redhat.com>
2944
2945 PR gdb/18717
2946 * gdb.threads/non-ldr-exit.c: New file.
2947 * gdb.threads/non-ldr-exit.exp: New file.
2948
11e6c98f
YQ
29492015-07-24 Yao Qi <yao.qi@linaro.org>
2950
2951 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2952 restarting process.
2953
51aee833
YQ
29542015-07-24 Yao Qi <yao.qi@linaro.org>
2955
2956 * gdb.server/ext-restart.exp: New file.
2957
8cfe207c
YQ
29582015-07-24 Yao Qi <yao.qi@linaro.org>
2959
2960 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2961 argument options.
2962 * gdb.server/ext-wrapper.exp: New file.
2963
cc12ce38
DE
29642015-07-23 Doug Evans <dje@google.com>
2965
2966 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2967 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2968
d0d84780
PMR
29692015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2970
2971 * gdb.ada/var_arr_typedef.exp: New testcase.
2972 * gdb.ada/var_arr_typedef/pack.adb: New file.
2973 * gdb.ada/var_arr_typedef/pack.ads: New file.
2974 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2975
8b558f79
JB
29762015-07-20 Joel Brobecker <brobecker@adacore.com>
2977
2978 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2979
775a3298
JK
29802015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2981
2982 * gdb.arch/i386-biarch-core.exp: Replace istarget
2983 by "complete set gnutarget". Remove expectation for the "core-file"
2984 command.
2985
db1ff28b
JK
29862015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2987
2988 Revert the previous commit:
2989 Tests for validate symbol file using build-id.
2990
0a94970d
JK
29912015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2992
2993 Tests for validate symbol file using build-id.
2994 * gdb.base/solib-mismatch-lib.c: New file.
2995 * gdb.base/solib-mismatch-libmod.c: New file.
2996 * gdb.base/solib-mismatch.c: New file.
2997 * gdb.base/solib-mismatch.exp: New file.
2998
03346981
SL
29992015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3000
3001 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3002 nios2-*-linux*.
3003 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3004 * gdb.base/siginfo.exp: Likewise.
3005 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3006
42422cc7
PL
30072015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3008
3009 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3010 Move it to ...
3011 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3012 ... here.
3013 * gdb.trace/range-stepping.exp: Check that the target supports
3014 range stepping.
3015
cfa68bae
JK
30162015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3017
3018 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3019
8ffdba26
PA
30202015-07-14 Pedro Alves <palves@redhat.com>
3021
3022 * gdb.base/killed-outside.exp: New file.
3023 * gdb.base/killed-outside.c: New file.
3024
218a5a11
JK
30252015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3026
3027 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3028 (n at main): New.
3029 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3030
e03ed3c6
AA
30312015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3032
3033 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3034 infcall tests instead of setting up for KFAIL.
3035
485668e5
MM
30362015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3037
3038 * gdb.btrace/record_goto-step.exp: New.
3039
08464196
JK
30402015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3041
3042 PR compile/18484
3043 * gdb.compile/compile.c (struct struct_type): Add volatile to
3044 selffield's type.
3045 * gdb.compile/compile.exp
3046 (compile code struct_object.selffield = &struct_object): Skip further
3047 struct_object tests if this one xfails.
3048
bcf5c1d9
RC
30492015-07-08 Robert O'Callahan <robert@ocallahan.org>
3050
3051 PR exp/18617
3052 * gdb.trace/ax.exp: Add test.
3053
4931af25
YQ
30542015-07-07 Yao Qi <yao.qi@linaro.org>
3055
3056 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3057 instead of istarget "aarch64*-*-*".
3058 * gdb.arch/aarch64-fp.exp: Likewise.
3059 * gdb.base/float.exp: Likewise.
3060 * gdb.reverse/aarch64.exp: Likewise.
3061 * lib/gdb.exp (is_aarch64_target): New proc.
3062
9fcf688e
YQ
30632015-07-07 Yao Qi <yao.qi@linaro.org>
3064
3065 * lib/gdb.exp (is_aarch32_target): New proc.
3066 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3067 instead of "istarget "arm*-*-*"".
3068 * gdb.arch/arm-disp-step.exp: Likewise.
3069 * gdb.arch/thumb-bx-pc.exp: Likewise.
3070 * gdb.arch/thumb-prologue.exp: Likewise.
3071 * gdb.arch/thumb-singlestep.exp: Likewise.
3072 * gdb.base/disp-step-syscall.exp: Likewise.
3073 * gdb.base/float.exp: Likewise.
3074
fbd8d50d
YQ
30752015-07-07 Yao Qi <yao.qi@linaro.org>
3076
3077 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3078 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3079
71be1fdc
YQ
30802015-07-07 Yao Qi <yao.qi@linaro.org>
3081
3082 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3083 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3084 if it exists.
3085 * gdb.multi/multi-arch.exp: Likewise.
3086
3e221d36
SM
30872015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3088
3089 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3090 print.
3091
d441430b
YQ
30922015-07-07 Yao Qi <yao.qi@linaro.org>
3093
3094 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3095
06f810bd
MG
30962015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3097
3098 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3099 '[' and ']' characters.
3100
5e61e7c0
IB
31012015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3102
3103 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3104
28bf096c
PA
31052015-06-29 Pedro Alves <palves@redhat.com>
3106
3107 PR threads/18127
3108 * gdb.threads/hand-call-new-thread.c: New file.
3109 * gdb.threads/hand-call-new-thread.c: New file.
3110
ee93cd5e
KS
31112015-06-26 Keith Seitz <keiths@redhat.com>
3112 Doug Evans <dje@google.com>
3113
3114 PR 16253
3115 * gdb.cp/var-tag-2.cc: New file.
3116 * gdb.cp/var-tag-3.cc: New file.
3117 * gdb.cp/var-tag-4.cc: New file.
3118 * gdb.cp/var-tag.cc: New file.
3119 * gdb.cp/var-tag.exp: New file.
3120
fc637f04
PP
31212015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3122
3123 * gdb.base/history-duplicates.exp: New test.
3124
2e52ae68
PP
31252015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3126
3127 * gdb.base/completion.exp: Test the completion of the "focus"
3128 command.
3129
6e22494e
JK
31302015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3131
3132 * gdb.arch/amd64-prologue-skip.S: New file.
3133 * gdb.arch/amd64-prologue-skip.exp: New file.
3134
bf7b9cd9
SM
31352015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3136
3137 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3138 is_address_zero_readable check.
3139
201e8dfd
PB
31402015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3141
3142 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3143 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3144
5cd867b4
YQ
31452015-06-24 Yao Qi <yao.qi@linaro.org>
3146
3147 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3148 linux targets.
3149
4d7be007
YQ
31502015-06-24 Yao Qi <yao.qi@linaro.org>
3151
3152 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3153 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3154 * gdb.base/siginfo-thread.exp: Likewise.
3155
07fcd301
YQ
31562015-06-22 Yao Qi <yao.qi@linaro.org>
3157
3158 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3159
52042a00
YQ
31602015-06-22 Yao Qi <yao.qi@linaro.org>
3161
3162 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3163 aarch64*-*-*.
3164 (skip_hw_watchpoint_tests): Likewise.
3165
74bd41ce
PP
31662015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3167
3168 * gdb.base/gdbinit-history.exp: Test the interaction between
3169 setting GDBHISTSIZE and setting the history size via .gdbinit.
3170
bc460514
PP
31712015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3172
3173 PR gdb/16999
3174 * gdb.base/gdbhistsize-history.exp: New test.
3175
b58c513b
PP
31762015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3177
3178 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3179 with GDBHISTSIZE.
3180 * gdb.base/readline.exp: Likewise.
3181
92046791
YQ
31822015-06-17 Yao Qi <yao.qi@linaro.org>
3183
3184 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3185 line.
3186
2093d2d3
PP
31872015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3188
3189 * gdb.base/gdbinit-history.exp: Add test case to check that
3190 an unlimited history file does not get truncated on exit.
3191
e6c693af
AA
31922015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3193
3194 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3195 (VECTOR): New macro. Use it...
3196 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3197 ...for these typedefs.
3198 (int8, char1, int1, double1): New typedefs.
3199 (struct just_int2, struct two_int2): New structures.
3200 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3201 (add_structvecs, add_singlevecs): New functions.
3202 (main): Call add_some_intvecs twice.
3203 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3204 the compile and exit upon failure. Try compiling for the "native"
3205 architecture. Test inferior function calls with vector arguments
3206 and vector return value handling with "finish" and "return".
3207
c74f7d1c
JT
32082015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3209
3210 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3211 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3212 PE file.
3213 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3214
98aa42ee
AT
32152015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3216
3217 PR breakpoints/16465
3218 * gdb.mi/mi-dprintf-pending.c: New file.
3219 * gdb.mi/mi-dprintf-pending.exp: New test.
3220 * gdb.mi/mi-dprintf-pendshr.c: New file.
3221
7d73c23c 32222015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3223 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3224
3225 * gdb.arch/i386-mpx-map.c: New file.
3226 * gdb.arch/i386-mpx-map.exp: New File.
3227
32282015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3229
3230 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3231 * gdb.arch/i386-mpx.exp: Indentation fixed.
3232
32332015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3234
3235 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3236 function and improved indentation.
3237 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3238 gdb_test_multiple. Added additional tests to skip the test.
3239
32402015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3241
3242 * gdb.arch/i386-avx512.c: Change path in include file.
3243 * gdb.arch/i386-avx512.exp: Change include dir path
3244 compilation flag.
3245 * gdb.arch/i386-mpx.c: Change path in include file.
3246 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3247 flag.
3248
d5eba19a
JK
32492015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3250
3251 * gdb.compile/compile-print.exp (compile print *vararray@3)
3252 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3253
7f361056
JK
32542015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3255
3256 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3257 (do not keep jit in memory): ... this.
3258 (expect 5): Change it to ...
3259 (expect no 5): ... this.
3260
3b462ec2
SM
32612015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3262
3263 PR gdb/15564
3264 * gdb.mi/mi-detach.exp: New file.
3265
e0619de6
JK
32662015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3267
3268 PR symtab/18392
3269 * gdb.arch/amd64-tailcall-self.S: New file.
3270 * gdb.arch/amd64-tailcall-self.c: New file.
3271 * gdb.arch/amd64-tailcall-self.exp: New file.
3272
e970cb34
DB
32732015-05-28 Don Breazeal <donb@codesourcery.com>
3274
3275 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3276 tests for remote targets by checking is_target_gdbserver.
3277
b2e2f908
DE
32782015-05-27 Doug Evans <dje@google.com>
3279
3280 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3281 * gdb.dwarf2/opaque-type-lookup.c: New file.
3282 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3283
82c7be31
DE
32842015-05-26 Doug Evans <dje@google.com>
3285
3286 * gdb.cp/iostream.cc: New file.
3287 * gdb.cp/iostream.exp: New file.
3288
b4f54984
DE
32892015-05-26 Doug Evans <dje@google.com>
3290
3291 * gdb.dwarf2/dw2-op-call.exp: Update.
3292 * gdb.dwarf2/dw4-sig-types.exp: Update.
3293 * gdb.dwarf2/implptr.exp: Update.
3294 * gdb.mi/mi-cmd-param-changed.exp: Update.
3295
4ea6efe9
DE
32962015-05-26 Doug Evans <dje@google.com>
3297
3298 * gdb.python/py-lazy-string.c: New file.
3299 * gdb.python/py-lazy-string.exp: New file.
3300 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3301 (main): Update. Add estring3.
3302 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3303 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3304
f6bb7db3
YQ
33052015-05-26 Omair Javaid <omair.javaid@linaro.org>
3306 Yao Qi <yao.qi@linaro.org>
3307
3308 * gdb.reverse/aarch64.c: New.
3309 * gdb.reverse/aarch64.exp: New.
3310
a81bfbd0
OJ
33112015-05-26 Omair Javaid <omair.javaid@linaro.org>
3312
3313 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3314 (supports_reverse): Likewise.
3315
158bf1b4
PP
33162015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3317
3318 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3319 Use with_test_prefix.
3320
a0145030
AB
33212015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3322
3323 * gdb.base/completion.exp: Add test for completion of layout
3324 names.
3325
ebe3b578
AB
33262015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3327
3328 * lib/gdb.exp (skip_tui_tests): New proc.
3329 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3330
84204ed7
PA
33312015-05-19 Pedro Alves <palves@redhat.com>
3332
3333 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3334 Save the whole env array instead of just HOME. Unset HISTSIZE in
3335 the environment while testing. Restore whole environment
3336 afterwards.
3337
37442ce1
DE
33382015-05-16 Doug Evans <xdje42@gmail.com>
3339
3340 * gdb.guile/scm-ports.c: New file.
3341 * gdb.guile/scm-ports.exp: Add memory port tests.
3342
36de76f9
JK
33432015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3344
3345 * gdb.compile/compile-print.c: New file.
3346 * gdb.compile/compile-print.exp: New file.
3347
3a9558c4
JK
33482015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3349
3350 * gdb.compile/compile-ops.exp: Cast param to void.
3351 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3352 (compile code struct_object.selffield = &struct_object): Add xfail.
3353
aa715135
JG
33542015-05-15 Joel Brobecker <brobecker@adacore.com>
3355
3356 * gdb.ada/arr_enum_with_gap: New testcase.
3357
931e5bc3
JG
33582015-05-15 Joel Brobecker <brobecker@adacore.com>
3359
3360 * gdb.ada/byte_packed_arr: New testcase.
3361
9cd4d857
JB
33622015-05-15 Joel Brobecker <brobecker@adacore.com>
3363
3364 * gdb.ada/pckd_neg: New testcase.
3365
ebfd00d2
PP
33662015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3367
3368 PR gdb/17820
3369 * gdb.base/gdbinit-history.exp: New test.
3370 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3371 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3372
4c082a81
SC
33732015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3374
3375 * gdb.python/py-xmethods.cc: Enhance test case.
3376 * gdb.python/py-xmethods.exp: New tests.
3377 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3378 function.
3379 (B_indexoper): Likewise.
3380 (global_dm_list) : Add new xmethod worker functions.
3381
f7797074
SDJ
33822015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3383
3384 * gdb.base/coredump-filter.exp: Correctly unset
3385 "coredump_var_addr" array.
3386
a4674e4e
PA
33872015-05-08 Pedro Alves <palves@redhat.com>
3388
3389 * gdb.server/non-existing-program.exp: Unset spawn_id.
3390
df2eb078
SC
33912015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3392
3393 PR python/18291
3394 * gdb.python/py-xmethods.exp: Add tests.
3395
422349a3
YQ
33962015-05-08 Yao Qi <yao.qi@linaro.org>
3397
3398 PR gdb/18208
3399 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3400 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3401 function set_coredump_filter, and remove remote_exec call.
3402 Remove argument ipid. Callers update.
3403 (top level): Don't get inferior's PID.
3404
63fc80ce
AA
34052015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3406
3407 * gdb.base/watch_thread_num.exp: Skip test on targets without
3408 access watchpoints.
3409
80ad801e
PA
34102015-05-06 Pedro Alves <palves@redhat.com>
3411
3412 PR server/18081
3413 * gdb.server/non-existing-program.exp: New file.
3414
0fa7fe50
JB
34152015-05-05 Joel Brobecker <brobecker@adacore.com>
3416
3417 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3418
3ea89b92
PMR
34192015-05-05 Joel Brobecker <brobecker@adacore.com>
3420
3421 * gdb.ada/out_of_line_in_inlined: New testcase.
3422
87b8eff0
JB
34232015-05-05 Joel Brobecker <brobecker@adacore.com>
3424
3425 * gdb.ada/var_rec_arr: New testcase.
3426
5fccc635
YQ
34272015-04-30 Yao Qi <yao.qi@linaro.org>
3428
3429 * gdb.base/break-idempotent.exp: If
3430 skip_hw_watchpoint_multi_tests returns true, skip the tests
3431 on "rwatch" and "awatch".
3432
42d38f42
YQ
34332015-04-30 Yao Qi <yao.qi@linaro.org>
3434
3435 * gdb.base/relativedebug.exp: Invoke gdb command
3436 "info sharedlibrary", and if libc.so doesn't have debug info,
3437 skip the test.
3438
2ce1cdbf
DE
34392015-04-29 Doug Evans <dje@google.com>
3440
3441 * gdb.python/py-xmethods.exp: Add ptype tests.
3442 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3443 get_result_type method.
3444
f24a38c5
LM
34452015-04-29 Luis Machado <lgustavo@codesourcery.com>
3446
3447 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3448 the target does not support hardware watchpoints.
3449
ecbf2b3c
LM
34502015-04-29 Luis Machado <lgustavo@codesourcery.com>
3451
3452 * gdb.base/break-always.exp: Abort testing if writing to memory
3453 causes an error.
3454
34f5f757
DE
34552015-04-28 Doug Evans <dje@google.com>
3456
3457 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3458 * gdb.python/py-pp-registration.exp: ... here. New file.
3459 * gdb.python/py-pp-registration.c: New file.
3460 * gdb.python/py-pp-registration.py: New file.
3461
69b4374a
DE
34622015-04-28 Doug Evans <dje@google.com>
3463
3464 * gdb.python/py-bad-printers.c: New file.
3465 * gdb.python/py-bad-printers.py: New file.
3466 * gdb.python/py-bad-printers.exp: New file.
3467
59fb7612
SS
34682015-04-28 Sasha Smundak <asmundak@google.com>
3469
3470 * gdb.python/py-type.exp: New test.
3471
2631b16a
AW
34722015-04-28 Andy Wingo <wingo@igalia.com>
3473
3474 * gdb.python/py-parameter.exp:
3475 * gdb.guile/scm-parameter.exp: Escape the path that we are
3476 matching against, as it might contain characters that are special
3477 to regular expressions.
3478
460efde1
JB
34792015-04-27 Joel Brobecker <brobecker@adacore.com>
3480
3481 * gdb.ada/rec_comp: New testcase.
3482
2d369d8e
SDJ
34832015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3484
3485 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3486 before using it.
3487
cf75d6c3
AB
34882015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3489
3490 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3491 new tests for verilog output.
3492
8dbe7ca5
YQ
34932015-04-24 Yao Qi <yao.qi@linaro.org>
3494
3495 * boards/remote-gdbserver-on-localhost.exp: New file.
3496
4ef9fb2f
PA
34972015-04-23 Pedro Alves <palves@redhat.com>
3498
3499 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3500 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3501 "end of file", remove $inferior_spawn_id from the indirect list.
3502
0a803169
PA
35032015-04-23 Pedro Alves <palves@redhat.com>
3504
3505 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3506
749ef8f8
PA
35072015-04-23 Pedro Alves <palves@redhat.com>
3508
3509 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3510 on $any_spawn_id instead of only on $gdb_spawn_id.
3511
8aae4344
PM
35122015-04-21 Pierre Muller <muller@sourceware.org>
3513
3514 PR pascal/17815
3515 * lib/pascal.exp (gpc_compile): Add new option "class".
3516 (fpc_compile): Likewise.
3517 * gdb.pascal/case-insensitive-symbols.pas: New file.
3518 * gdb.pascal/case-insensitive-symbols.exp: New file.
3519
1586c8fb
GB
35202015-04-20 Gary Benson <gbenson@redhat.com>
3521
3522 * gdb.base/attach.exp: Fix three extended remote failures.
3523
1b6e6f5c
GB
35242015-04-17 Gary Benson <gbenson@redhat.com>
3525
3526 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3527 the main executable over the remote protocol.
3528
e797481d
PA
35292015-04-16 Pedro Alves <palves@redhat.com>
3530
3531 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3532 a new gdbserver if gdbserver_reconnect_p is set.
3533
1ca99c42
PA
35342015-04-16 Pedro Alves <palves@redhat.com>
3535
3536 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3537 is set, don't exit gdbserver.
3538
af9fd6f8
AA
35392015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3540
3541 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3542 appropriate .insn, such that an older assembler can be used.
3543 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3544 the z/Architecture instruction set on 31-bit targets as well.
3545
04ff1e61
AA
35462015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3547
3548 * gdb.go/handcall.exp: Remove all logic related to the first
3549 breakpoint and rely on go_runto_main instead.
3550 * gdb.go/strings.exp: Likewise.
3551 * gdb.go/unsafe.exp: Likewise.
3552 * gdb.go/hello.exp: Likewise. Also rename the remaining
3553 breakpoint marker to "breakpoint 1".
3554 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3555 * gdb.go/strings.go: Likewise.
3556 * gdb.go/unsafe.go: Likewise.
3557 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3558 "set breakpoint 2 here" and rename the remaining breakpoint marker
3559 to "breakpoint 1".
3560
40d2f8d6
SM
35612015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3562
3563 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3564 if itertools.imap is not present.
3565 * gdb.python/py-objfile.exp: Add parentheses.
3566 * gdb.python/py-type.exp: Same.
3567 * gdb.python/py-unwind-maint.py: Same.
3568
8cbc97c6
YQ
35692015-04-15 Yao Qi <yao.qi@linaro.org>
3570
3571 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3572 of ":$ptr_size" and set its form explicitly.
3573
45fd756c
YQ
35742015-04-15 Pedro Alves <palves@redhat.com>
3575 Yao Qi <yao.qi@linaro.org>
3576
3577 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3578 timeout by factor of 4.
3579 (test_regular_watch): Likewise.
3580 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3581 * gdb.reverse/sigall-reverse.exp: Likewise.
3582 * gdb.reverse/until-precsave.exp: Likewise.
3583 * lib/gdb.exp (with_timeout_factor): New proc.
3584 (gdb_expect): Move some code to ...
3585 (get_largest_timeout): ... here. New procedure.
3586
9e811bc3
LM
35872015-04-14 Luis Machado <lgustavo@codesourcery.com>
3588
3589 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3590
0ff6fcb2
LM
35912015-04-13 Luis Machado <lgustavo@codesourcery.com>
3592
3593 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3594 to write to the .text section.
3595
7578d5f7
LM
35962015-04-13 Luis Machado <lgustavo@codesourcery.com>
3597
3598 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3599 Handle the case of targets that do not provide PID information.
3600
2efe15c4
YQ
36012015-04-13 Yao Qi <yao.qi@linaro.org>
3602
3603 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3604 and use expect instead of gdb_expect.
3605
8cd8f2f8
SDJ
36062015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3607
3608 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3609 "coredump_var_addr" to avoid naming conflict with other testcases.
3610
9ee41772
PA
36112015-04-10 Pedro Alves <palves@redhat.com>
3612
3613 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3614 gdb_test_sequence and gdb_assert.
3615
07473109
PA
36162015-04-10 Pedro Alves <palves@redhat.com>
3617
3618 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3619 test messages that don't include the breakpoint address.
3620
de3db44c
YQ
36212015-04-10 Yao Qi <yao.qi@linaro.org>
3622
3623 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3624 false for some offset and width combinations which aren't
3625 supported by linux kernel.
3626
c79d856c
PA
36272015-04-10 Pedro Alves <palves@redhat.com>
3628
3629 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3630 procedure, factored out from ...
3631 (top level): ... here. Add "set displaced-stepping" testing axis.
3632 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3633 parameter "displaced". Use it.
3634 (top level): Use foreach and add "set displaced-stepping" testing
3635 axis.
3636
ebc90b50
PA
36372015-04-10 Pedro Alves <palves@redhat.com>
3638
3639 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3640 Remove comment.
3641 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3642 both the address of the instruction that triggers the watchpoint
3643 and the address of the instruction immediately after, and use
3644 those addresses for the test. Fix comment.
3645
8f572e5c
PA
36462015-04-10 Pedro Alves <palves@redhat.com>
3647
3648 * gdb.base/sigstep.exp (breakpoint_to_handler)
3649 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3650 Test "backtrace" in handler.
3651 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3652 (top level): Add new "displaced" test axis to
3653 breakpoint_to_handler, breakpoint_to_handler_entry and
3654 breakpoint_over_handler.
3655
8d707a12
PA
36562015-04-10 Pedro Alves <palves@redhat.com>
3657
3658 PR gdb/18216
3659 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3660
ef713951
YQ
36612015-04-10 Yao Qi <yao.qi@linaro.org>
3662
3663 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3664 (test_add_rn_pc): New function.
3665 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3666 (top level): Invoke test_add_rn_pc.
3667
906d60cf
PA
36682015-04-10 Pedro Alves <palves@redhat.com>
3669
3670 PR gdb/13858
3671 * gdb.base/step-over-no-symbols.exp: New file.
3672
f2983cc3
AW
36732015-04-09 Andy Wingo <wingo@igalia.com>
3674
3675 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3676 after the Python tests.
3677
6d62641c
SDJ
36782015-04-08 Keith Seitz <keiths@redhat.com>
3679
3680 PR python/16699
3681 * gdb.python/py-completion.exp: New tests for completion.
3682 * gdb.python/py-completion.py (CompleteLimit1): New class.
3683 (CompleteLimit2): Likewise.
3684 (CompleteLimit3): Likewise.
3685 (CompleteLimit4): Likewise.
3686 (CompleteLimit5): Likewise.
3687 (CompleteLimit6): Likewise.
3688 (CompleteLimit7): Likewise.
3689
f3770638
PA
36902015-04-08 Pedro Alves <palves@redhat.com>
3691
3692 PR gdb/18214
3693 PR gdb/18216
3694 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3695 function.
3696 (main): Install it as SIGUSR1 handler.
3697 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3698 parameter. Always use "setup" as prefix. Toggle "set
3699 displaced-stepping" off/on depending on global. Don't switch to
3700 thread 1 here.
3701 (top level): Add displaced stepping "off/on" test axis. Update
3702 "setup" calls. Wrap each subtest with with_test_prefix. Test
3703 continuing with a queued signal in each thread.
3704
4496bed7
PA
37052015-04-08 Pedro Alves <palves@redhat.com>
3706
3707 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3708 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3709 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3710 Return early if running to main fails.
3711 * gdb.trace/while-stepping.exp: Likewise.
3712
b97fde92
PA
37132015-04-07 Pedro Alves <palves@redhat.com>
3714
3715 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3716 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3717 interact with inferior program.
3718
f71c18e7
PA
37192015-04-07 Pedro Alves <palves@redhat.com>
3720
3721 * lib/gdb.exp (inferior_spawn_id): New global.
3722 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3723 spawn id after processing the user code.
3724 (default_gdb_start): Set inferior_spawn_id.
3725 (send_inferior): New procedure.
3726 * lib/gdbserver-support.exp (gdbserver_start): Set
3727 inferior_spawn_id.
3728 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3729
6423214f
PA
37302015-04-07 Pedro Alves <palves@redhat.com>
3731
3732 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3733 * lib/gdbserver-support.exp (gdbserver_start): Make
3734 $server_spawn_id global.
3735 (gdbserver_start): Don't wait for gdbserver's spawn id with
3736 expect_background.
3737 (close_gdbserver): New procedure.
3738 (gdb_exit): Rename the default version and reimplement.
3739
71c0ee8c
PA
37402015-04-07 Pedro Alves <palves@redhat.com>
3741
72f4393d 3742 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
3743 append the substituted item, not the original item.
3744
203bc29b
PA
37452015-04-07 Pedro Alves <palves@redhat.com>
3746
3747 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3748 gdb_expect.
3749
508a3ddf
PA
37502015-04-07 Pedro Alves <palves@redhat.com>
3751
3752 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3753 output appearing once only.
3754
9f6dbe2b
PA
37552015-04-07 Pedro Alves <palves@redhat.com>
3756
3757 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3758 that doesn't expect anything. Return early if running to main
3759 fails.
3760
337532fa
YQ
37612015-04-07 Yao Qi <yao.qi@linaro.org>
3762
3763 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3764 (child_function): Call alarm.
3765 (main): Move call to alarm into the loop.
3766 * gdb.threads/non-stop-fair-events.exp: Build program with
3767 -DTIMEOUT=$timeout.
3768
01b622d4
DE
37692015-04-06 Doug Evans <xdje42@gmail.com>
3770
3771 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3772 Fix dest parameter to board_info.
3773 (fpc_compile): Ditto.
3774 (gdb_compile_pascal): Rename dest arg to destfile.
3775
961f4160
PMR
37762015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3777
3778 * gdb.ada/funcall_ref.exp: New file.
3779 * gdb.ada/funcall_ref/foo.adb: New file.
3780
cafda597
YQ
37812015-04-02 Yao Qi <yao.qi@linaro.org>
3782
3783 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3784 is remote.
3785
fed040c6
GB
37862015-04-02 Gary Benson <gbenson@redhat.com>
3787
3788 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3789
d11916aa
SS
37902015-04-01 Sasha Smundak <asmundak@google.com>
3791
3792 * gdb.python/py-unwind-maint.c: New file.
3793 * gdb.python/py-unwind-maint.exp: New test.
3794 * gdb.python/py-unwind-maint.py: New file.
3795 * gdb.python/py-unwind.c: New file.
3796 * gdb.python/py-unwind.exp: New test.
3797 * gdb.python/py-unwind.py: New test.
3798
a1471180
PA
37992015-04-01 Pedro Alves <palves@redhat.com>
3800
3801 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3802 to fail instead of non-existent $test.
3803
0bbeccb1
PA
38042015-04-01 Pedro Alves <palves@redhat.com>
3805
3806 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3807 GDBFLAGS if not empty.
3808
3c724c8c
PMR
38092015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3810
3811 * gdb.ada/complete.exp: Remove "multi_line".
3812 * gdb.ada/info_exc.exp: Remove "multi_line".
3813 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3814 * gdb.ada/ptype_field.exp: Remove "multi_line".
3815 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3816 * gdb.ada/tagged.exp: Remove "multi_line".
3817 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3818 [multi_line ...]
3819 * gdb.btrace/delta.exp: Likewise.
3820 * gdb.btrace/exception.exp: Likewise.
3821 * gdb.btrace/function_call_history.exp: Likewise.
3822 * gdb.btrace/instruction_history.exp: Likewise.
3823 * gdb.btrace/nohist.exp: Likewise.
3824 * gdb.btrace/record_goto.exp: Likewise.
3825 * gdb.btrace/segv.exp: Likewise.
3826 * gdb.btrace/stepi.exp: Likewise.
3827 * gdb.btrace/tailcall.exp: Likewise.
3828 * gdb.btrace/unknown_functions.exp: Likewise.
3829 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3830 * lib/gdb.exp: Add the "multi_line" helper.
3831
4eec2deb
PA
38322015-04-01 Pedro Alves <palves@redhat.com>
3833
3834 * gdb.threads/tid-reuse.c: New file.
3835 * gdb.threads/tid-reuse.exp: New file.
3836
df8411da
SDJ
38372015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3838
3839 PR corefiles/16092
3840 * gdb.base/coredump-filter.c: New file.
3841 * gdb.base/coredump-filter.exp: Likewise.
3842
6ef37366
PM
38432015-03-27 Petr Machata <pmachata@redhat.com>
3844
3845 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3846 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3847 (Dwarf::assemble): Initialize them.
3848 (Dwarf::lines): New function.
3849
7ec911b0
JT
38502015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3851
3852 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3853 SYMBOL_PREFIX for x86_64-*-cygwin.
3854
ff908ebf
AW
38552015-03-26 Andy Wingo <wingo@igalia.com>
3856
3857 PR symtab/18148
3858 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3859 const_value but not a location.
3860 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3861 location defined in non-main CUs are visible.
3862
6d5f0679
YQ
38632015-03-26 Yao Qi <yao.qi@linaro.org>
3864
3865 PR testsuite/18139
3866 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3867 Add a line number entry for the same line.
3868 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3869 Add a line number entry for the same line.
3870
2898689b
YQ
38712015-03-26 Yao Qi <yao.qi@linaro.org>
3872
3873 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3874 .int 0.
3875 (func): Likewise. Add .Lfunc_1 label.
3876 Use .Lfunc_1 label.
3877 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3878 .int 0.
3879 (func): Likewise.
3880 Use .Lfunc_1 label.
3881
85180498
YQ
38822015-03-26 Yao Qi <yao.qi@linaro.org>
3883
3884 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3885 Call gdb_compile instead to compile each .s files without debug
3886 information.
3887
8aa08a8d
YQ
38882015-03-26 Yao Qi <yao.qi@linaro.org>
3889
3890 * gdb.base/savedregs.exp (process_saved_regs): Make
3891 "Saved registers:" optional in the pattern.
3892
66849923
MM
38932015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3894
3895 * gdb.btrace/next.exp: Merged into step.exp.
3896 * gdb.btrace/finish.exp: Merged into step.exp.
3897 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3898 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3899 "record goto" and checking the exact replay position.
3900 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3901 check for "Recording format" in "info record" output.
3902 * gdb.btrace/record_goto.exp: Choose test file based on target.
3903 * gdb.btrace/x86-record_goto.S: Renamed into ...
3904 * gdb.btrace/x86_64-record_goto.S: ... this.
3905 * gdb.btrace/i686-record_goto.S: New.
3906 * gdb.btrace/x86-tailcall.S: Renamed into ...
3907 * gdb.btrace/x86_64-tailcall.S: ... this.
3908 * gdb.btrace/i686-tailcall.S: New.
3909 * gdb.btrace/x86-tailcall.c: Renamed into ...
3910 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3911 separate statements. Update test.
3912 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3913 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3914 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3915 * gdb.btrace/tailcall.exp: Choose test file based on target.
3916 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3917
11cc1b74
MM
39182015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3919
3920 * gdb.btrace/exception.exp: Increase BTS buffer size.
3921
a25d8bf9
PA
39222015-03-24 Pedro Alves <palves@redhat.com>
3923
3924 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3925
856e7dd6
PA
39262015-03-24 Pedro Alves <palves@redhat.com>
3927
3928 * gdb.threads/schedlock.exp (test_step): No longer expect that
3929 "set scheduler-locking step" with "next" over a function call runs
3930 threads unlocked.
3931
ad235a41
AT
39322015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3933
3934 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3935
15630549
AT
39362015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3937
3938 PR breakpoints/16466
3939 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3940 * gdb.mi/mi-pending.c (thread_func): New function.
3941 (int main): Add threading support required.
3942 * gdb.mi/mi-pending.exp: Add tests for this issue.
3943 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3944 (pendfunc2): Remove stdio dependency.
3945 * gdb.mi/mi-pendshr2.c: New file.
3946
693dca06
KS
39472015-03-23 Keith Seitz <keiths@redhat.com>
3948
3949 * gdb.linespec/keywords.c: New file.
3950 * gdb.linespec/keywords.exp: New file.
3951
7e993ebf
KS
39522015-03-23 Keith Seitz <keiths@redhat.com>
3953
3954 PR gdb/18021
3955 * gdb.dwarf2/staticvirtual.exp: New test.
3956
bc23328c
JK
39572015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3958
3959 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3960 * README: Remove HP-UX and gdb.hp.
3961 (configuration):
3962 * configure: Regenerate.
3963 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3964 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3965 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3966 gdb.hp/gdb.defects/Makefile.
3967 * gdb.hp/Makefile.in: File deleted.
3968 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3969 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3970 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3971 * gdb.hp/gdb.aCC/run.c: File deleted.
3972 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3973 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3974 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3975 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3976 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3977 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3978 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3979 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3980 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3981 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3982 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3983 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3984 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3985 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3986 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3987 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3988 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3989 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3990 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3991 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3992 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3993 * gdb.hp/gdb.compat/average.c: File deleted.
3994 * gdb.hp/gdb.compat/sum.c: File deleted.
3995 * gdb.hp/gdb.compat/xdb.c: File deleted.
3996 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3997 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3998 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3999 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4000 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4001 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4002 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4003 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4004 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4005 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4006 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4007 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4008 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4009 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4010 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4011 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4012 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4013 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4014 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4015 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4016 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4017 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4018 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4019 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4020 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4021 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4022 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4023 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4024 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4025 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4026 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4027 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4028 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4029 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4030 * gdb.hp/tools/odump: File deleted.
4031
8bf3b159
PA
40322015-03-19 Pedro Alves <palves@redhat.com>
4033
4034 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4035 (saw_thread_3): New globals.
4036 (top level): Increment them when an event for the corresponding
4037 thread is seen.
4038 (no thread starvation): New test.
4039
eb54c8bf
PA
40402015-03-19 Pedro Alves <palves@redhat.com>
4041
4042 * gdb.threads/continue-pending-status.c: New file.
4043 * gdb.threads/continue-pending-status.exp: New file.
4044
32d2e5d6
PA
40452015-03-18 Pedro Alves <palves@redhat.com>
4046
4047 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4048 Use gdb_is_target_remote instead of is_remote. Use
4049 gdb_test_multiple instead of gdb_expect. Exit early if
4050 gdb_test_multiple hits its internal matches. Tighten stepi tests
4051 expected output. Fail on exit with any signal, instead of just
4052 SIGILL.
4053
f68f11b7
YQ
40542015-03-18 Yao Qi <yao.qi@linaro.org>
4055
4056 PR tdep/18107
4057 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4058 variable.
4059 * gdb.base/catch-syscall.exp: Don't skip it on
4060 aarch64*-*-linux* target. Remove elements in all_syscalls.
4061 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4062 target.
4063 (setup_all_syscalls): New proc.
4064
ca5fd19b
YQ
40652015-03-16 Yao Qi <yao.qi@linaro.org>
4066
4067 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4068 (top level): Skip tests if valid_addr_p returns false for
4069 $cmd1 or $cmd2.
4070
85642ba0
AW
40712015-03-11 Andy Wingo <wingo@igalia.com>
4072
4073 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4074
e03f9645
YQ
40752015-03-11 Yao Qi <yao.qi@linaro.org>
4076
4077 * gdb.base/catch-syscall.exp: Fix typo in comments.
4078
5d0962b2
YQ
40792015-03-11 Yao Qi <yao.qi@linaro.org>
4080
4081 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4082
b2df3cef
PA
40832015-03-09 Pedro Alves <palves@redhat.com>
4084
4085 * dg-extract-results.py: Delete.
4086
ef878e53
PA
40872015-03-09 Pedro Alves <palves@redhat.com>
4088
4089 Merge dg-extract-results.sh from GCC upstream (r218843).
4090
4091 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4092 * dg-extract-results.sh: Use --text with grep to avoid issues with
4093 binary files. Fall back to cat -v, if that doesn't work.
4094
9494d219
PA
40952015-03-05 Pedro Alves <palves@redhat.com>
4096
4097 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4098
a8d9763a
SM
40992015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4100
4101 * lib/mi-support.exp (mi_expect_interrupt): Accept
4102 alternative event for when in all-stop mode.
4103
be9957b8
PA
41042015-03-04 Pedro Alves <palves@redhat.com>
4105
4106 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4107
d57be0f4 41082015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4109
4110 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4111
c214c7cf
AA
41122015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4113
4114 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4115 regexps for GDB's current line display, accept a hex address
4116 preceding the line number.
4117
6d74a497
AA
41182015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4119
4120 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4121 the 'arch1' variable for "s390*-linux*" targets.
4122
511aee7c
PA
41232015-03-04 Pedro Alves <palves@redhat.com>
4124
4125 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4126 (main): Pass missing retval argument to pthread_join call.
4127
95e50b27
PA
41282015-03-02 Pedro Alves <palves@redhat.com>
4129
4130 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4131 (top level): Call do_test with non-stop as well.
4132
28054d69
PA
41332015-03-02 Pedro Alves <palves@redhat.com>
4134
4135 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4136 -1.
4137
4fa5d7b4
AA
41382015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4139
4140 * gdb.arch/s390-vregs.exp: New test.
4141 * gdb.arch/s390-vregs.S: New file.
4142
97c18565
PA
41432015-02-27 Pedro Alves <palves@redhat.com>
4144
4145 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4146 call to catch_command_errors.
4147 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4148 catch_command_errors.
4149
a37bfa30
PA
41502015-02-27 Pedro Alves <palves@redhat.com>
4151
4152 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4153 "true" for boolean result.
4154 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4155 prototype of main.
4156
6f98576f
PA
41572015-02-27 Pedro Alves <palves@redhat.com>
4158
4159 * lib/unbuffer_output.c: New file.
4160 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4161 (main): Call gdb_unbuffer_output.
4162
eba5ab56
YQ
41632015-02-27 Yao Qi <yao.qi@linaro.org>
4164
4165 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4166 target.
4167
0def5aaa
DE
41682015-02-26 Doug Evans <dje@google.com>
4169
4170 * gdb.cp/class2.cc (Dbase, D): New classes.
4171 (main): New local delta.
4172 * gdb.cp/class2.exp: Test printing delta.
4173 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4174 (dynbar): New global.
4175 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4176
081a1c2c
JK
41772015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4178
4179 * gdb.compile/compile-ifunc.c: New file.
4180 * gdb.compile/compile-ifunc.exp: New file.
4181
2f41223f
AT
41822015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4183
4184 * gdb.base/structs.exp: Check for correct struct on finish.
4185
03eddd80
YQ
41862015-02-26 Yao Qi <yao.qi@linaro.org>
4187
4188 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4189 is zero.
4190
80c57053
JK
41912015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4192
4193 * gdb.arch/cordic.ko.bz2: New file.
4194 * gdb.arch/cordic.ko.debug.bz2: New file.
4195 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4196
21613c12
YQ
41972015-02-25 Yao Qi <yao.qi@linaro.org>
4198
4199 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4200 aarch64*-*-* target.
4201
d8b901ed
PA
42022015-02-23 Pedro Alves <palves@redhat.com>
4203
4204 * lib/gdb.exp (delete_breakpoints): Rewrite using
4205 gdb_test_multiple.
4206
e5b85ead
PA
42072015-02-23 Pedro Alves <palves@redhat.com>
4208
4209 * gdb.base/info-os.c: Include stdlib.h.
4210
85c3a371
DE
42112015-02-22 Doug Evans <xdje42@gmail.com>
4212
4213 PR symtab/17855
4214 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4215 is read after symbols have been re-read.
4216 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4217 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4218
96553a0c
DE
42192015-02-21 Doug Evans <dje@google.com>
4220
4221 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4222
97a0c697
JK
42232015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4224
4225 PR corefiles/17808
4226 * gdb.arch/i386-biarch-core.core.bz2: New file.
4227 * gdb.arch/i386-biarch-core.exp: New file.
4228
a47cd6e9
PA
42292015-02-21 Pedro Alves <palves@redhat.com>
4230
4231 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4232 runto_main fails.
4233
c5facdc4
PA
42342015-02-20 Pedro Alves <palves@redhat.com>
4235
4236 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4237 info probes.
4238
2db9a427
PA
42392015-02-20 Pedro Alves <palves@redhat.com>
4240
4241 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4242
60fb7e9e
PA
42432015-02-20 Pedro Alves <palves@redhat.com>
4244
4245 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4246 clean_restart before gdb_target_supports_trace.
4247
5c5019c2
PA
42482015-02-20 Pedro Alves <palves@redhat.com>
4249
4250 PR threads/18006
4251 * gdb.threads/clone-thread_db.c: New file.
4252 * gdb.threads/clone-thread_db.exp: New file.
4253
c9587f88
AT
42542015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4255
4256 PR breakpoints/16812
4257 * gdb.base/catch-gdb-caused-signals.c: New file.
4258 * gdb.base/catch-gdb-caused-signals.exp: New file.
4259
f6a88844
JM
42602015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4261
4262 * configure: Regenerated.
4263 * configure.ac: Use GDB_AC_TRANSFORM.
4264 * aclocal.m4: sinclude ../transform.m4.
4265
497c491b
JM
42662015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4267
4268 * lib/dtrace.exp: New file.
4269 * gdb.base/dtrace-probe.exp: Likewise.
4270 * gdb.base/dtrace-probe.d: Likewise.
4271 * gdb.base/dtrace-probe.c: Likewise.
4272 * lib/pdtrace.in: Likewise.
4273 * configure.ac: Output variables with the transformed names of
4274 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4275 * configure: Regenerated.
4276
03e98035
JM
42772015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4278
4279 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4280 expected message when trying to access $_probe_* convenience
4281 variables while not on a probe.
4282
63cc30e9
JK
42832015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4284
4285 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4286
0703599a
PA
42872015-02-11 Pedro Alves <pedro@codesourcery.com>
4288
4289 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4290 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4291
7e60a48e
DE
42922015-02-10 Doug Evans <xdje42@gmail.com>
4293
4294 * lib/gdb.exp (gdb_load): Always return a result.
4295
01b088bc
PA
42962015-02-10 Pedro Alves <palves@redhat.com>
4297
4298 * gdb.threads/signal-sigtrap.c: New file.
4299 * gdb.threads/signal-sigtrap.exp: New file.
4300
b05ec7a5
AT
43012015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4302
4303 * gdb.trace/no-attach-trace.c: New file.
4304 * gdb.trace/no-attach-trace.exp: New file.
4305
a2c2acaf
MW
43062015-02-09 Mark Wielaard <mjw@redhat.com>
4307
4308 * gdb.dwarf2/atomic.c: New file.
4309 * gdb.dwarf2/atomic-type.exp: Likewise.
4310
31fd9caa
MM
43112015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4312
4313 * gdb.btrace/buffer-size.exp: Update "info record" output.
4314 * gdb.btrace/delta.exp: Update "info record" output.
4315 * gdb.btrace/enable.exp: Update "info record" output.
4316 * gdb.btrace/finish.exp: Update "info record" output.
4317 * gdb.btrace/instruction_history.exp: Update "info record" output.
4318 * gdb.btrace/next.exp: Update "info record" output.
4319 * gdb.btrace/nexti.exp: Update "info record" output.
4320 * gdb.btrace/step.exp: Update "info record" output.
4321 * gdb.btrace/stepi.exp: Update "info record" output.
4322 * gdb.btrace/nohist.exp: Update "info record" output.
4323
d33501a5
MM
43242015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4325
4326 * gdb.btrace/buffer-size: New.
4327
f4abbc16
MM
43282015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4329
4330 * gdb.btrace/delta.exp: Update "info record" output.
4331 * gdb.btrace/enable.exp: Update "info record" output.
4332 * gdb.btrace/finish.exp: Update "info record" output.
4333 * gdb.btrace/instruction_history.exp: Update "info record" output.
4334 * gdb.btrace/next.exp: Update "info record" output.
4335 * gdb.btrace/nexti.exp: Update "info record" output.
4336 * gdb.btrace/step.exp: Update "info record" output.
4337 * gdb.btrace/stepi.exp: Update "info record" output.
4338 * gdb.btrace/nohist.exp: Update "info record" output.
4339
b9d61307
SM
43402015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4341
4342 PR gdb/15678
4343 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4344
e584fdbc
PA
43452015-02-06 Pedro Alves <palves@redhat.com>
4346
4347 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4348 macro.
4349 (seconds_left, again): New globals.
4350 (main): Wait seconds_left in a 1-second sleep loop instead of
4351 sleeping 180 seconds. If 'again' is set, reset the seconds
4352 counter.
4353 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4354 'again' in the inferior before detaching. Print the seconds left.
4355 (options): New global.
4356 (top level): Build program with -DTIMEOUT=$timeout.
4357
77f41761
PA
43582015-02-06 Pedro Alves <palves@redhat.com>
4359
4360 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4361 determine how many seconds to pass to 'alarm'.
4362 * gdb.base/gdb-sigterm.exp (top level): Build program with
4363 -DTIMEOUT=$timeout.
4364 (do_test): Return success/failure indication. Add more verbose
4365 logging. Don't fail if 200 single steps are seen. Instead, fail
4366 when the test times out.
4367 (passes): New global.
4368 (top level): Break the testing loop if testing fails on any
4369 iteration. Use gdb_assert.
4370
b9394193
DB
43712015-02-04 Don Breazeal <donb@codesourcery.com>
4372
4373 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4374 and initialize them.
4375 (ipc_cleanup): New function.
4376 (main): Don't declare shmid, semid, and msqid. Add a call to
4377 atexit so that we call ipc_cleanup on exit.
4378
42d9e528
PA
43792015-02-04 Pedro Alves <palves@redhat.com>
4380
4381 * boards/native-extended-gdbserver.exp: Remove any target variant
4382 specifications from the board name before clearing the isremote
4383 flag from board_info.
4384
ae6ae975
DE
43852015-01-31 Doug Evans <xdje42@gmail.com>
4386
4387 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4388
cfb069a8
GB
43892015-01-31 Gary Benson <gbenson@redhat.com>
4390
4391 * gdb.base/completion.exp: Disable completion limiting for
4392 existing tests. Add new tests to check completion limiting.
4393 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4394
5dd31d79
DE
43952015-01-31 Doug Evans <xdje42@gmail.com>
4396
4397 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4398
9f050062
DE
43992015-01-31 Doug Evans <xdje42@gmail.com>
4400
4401 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4402 entries. Duplicate file section script entries.
4403 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4404 inlined entries. Add test for safe-path rejection.
4405 * gdb.python/py-section-script.c: Add duplicate inlined section script
4406 entries. Duplicate file section script entries.
4407 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4408 inlined entries. Add test for safe-path rejection.
4409
df25ebbd
JB
44102015-01-29 Joel Brobecker <brobecker@adacore.com>
4411
4412 * gdb.ada/disc_arr_bound: New testcase.
4413
4a0ca9ec
JB
44142015-01-29 Joel Brobecker <brobecker@adacore.com>
4415
4416 * gdb.ada/mi_var_array: New testcase.
4417
3a8b707a
DE
44182015-01-27 Doug Evans <dje@google.com>
4419
4420 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4421 Add test for objfile.filename, objfile.username after objfile
4422 has been unloaded.
4423
f8313f6e
JB
44242015-01-26 Joel Brobecker <brobecker@adacore.com>
4425
4426 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4427 the second test to print the name attribute of value
4428 returned by the call to gdb.lookup_type, and adjust
4429 the expected output accordingly.
4430
37bc665e
MW
44312015-01-25 Mark Wielaard <mjw@redhat.com>
4432
4433 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4434 * gdb.base/disp-step-fork.c: Include unistd.h.
4435 * gdb.base/siginfo-obj.c: Include stdio.h.
4436 * gdb.base/siginfo-thread.c: Likewise.
4437 * gdb.mi/non-stop.c: Include unistd.h.
4438 * gdb.mi/nsthrexec.c: Include stdio.h.
4439 * gdb.mi/pthreads.c: Include unistd.h.
4440 * gdb.modula2/unbounded1.c (main): Declare returns int.
4441 * gdb.reverse/consecutive-reverse.c: Likewise.
4442 * gdb.threads/create-fail.c: Include unistd.h.
4443 * gdb.threads/killed.c: Likewise.
4444 * gdb.threads/linux-dp.c: Likewise.
4445 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4446 * gdb.threads/non-ldr-exc-2.c: Likewise.
4447 * gdb.threads/non-ldr-exc-3.c: Likewise.
4448 * gdb.threads/non-ldr-exc-4.c: Likewise.
4449 * gdb.threads/pthreads.c: Include unistd.h.
4450 (main): Declare returns int.
4451 * gdb.threads/tls-main.c (foo): New declaration.
4452 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4453
f7e5394d
SM
44542015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4455
4456 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4457 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4458
743649fd
MW
44592015-01-15 Mark Wielaard <mjw@redhat.com>
4460
4461 * gdb.base/noreturn-return.c: New file.
4462 * gdb.base/noreturn-return.exp: New file.
4463 * gdb.base/noreturn-finish.c: New file.
4464 * gdb.base/noreturn-finish.exp: New file.
4465
198297aa
PA
44662015-01-23 Pedro Alves <palves@redhat.com>
4467
4468 * gdb.threads/continue-pending-after-query.c: New file.
4469 * gdb.threads/continue-pending-after-query.exp: New file.
4470
717cf30c
AG
44712015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4472 Simon Marchi <simon.marchi@ericsson.com>
4473
4474 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4475 * gdb.base/valgrind-db-attach.exp: Same.
4476 * gdb.base/valgrind-infcall.exp: Same.
4477 * lib/mi-support.exp (default_mi_gdb_start): Same.
4478 * lib/prompt.exp (default_prompt_gdb_start): Same.
4479 * lib/gdb.exp (default_gdb_spawn): Same.
4480 (gdb_interact): New.
4481
4482
4b62a76e
JK
44832015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4484
4485 * gdb.compile/compile.exp (pointer to jit function): New test.
4486
b4cdae6f
WW
44872015-01-17 Wei-cheng Wang <cole945@gmail.com>
4488
4489 * lib/gdb.exp (supports_process_record): Return true for
4490 powerpc*-*-linux*.
4491 (supports_reverse): Likewise.
4492
d221e7ef
DB
44932015-01-15 Don Breazeal <donb@codesourcery.com>
4494
4495 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4496 instead of checking whether the target board is remote and
4497 use spawn_wait_for_attach instead of exec/sleep.
4498 * gdb.base/attach-twice.exp: Likewise.
4499
bafffb51
JB
45002015-01-15 Joel Brobecker <brobecker@adacore.com>
4501
4502 * gdb.ada/var_arr_attrs: New testcase.
4503
5589af0e
PA
45042015-01-14 Pedro Alves <palves@redhat.com>
4505 Joel Brobecker <brobecker@adacore.com>
4506
4507 PR gdb/17525
4508 * gdb.base/bp-cmds-execution-x-script.c: New file.
4509 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4510 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4511
6c400b59
PA
45122015-01-14 Pedro Alves <palves@redhat.com>
4513
4514 PR cli/17828
4515 * gdb.base/batch-preserve-term-settings.c: New file.
4516 * gdb.base/batch-preserve-term-settings.exp: New file.
4517
e02c96a7
DE
45182015-01-13 Doug Evans <dje@google.com>
4519
4520 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4521 binary.
4522
576fd14c
JB
45232015-01-13 Joel Brobecker <brobecker@adacore.com>
4524
4525 * Makefile.in (clean mostlyclean): Do not delete *.py.
4526
04dccad0
JB
45272015-01-13 Joel Brobecker <brobecker@adacore.com>
4528
4529 * gdb.python/py-lookup-type.exp: New file.
4530
3d230f71
PA
45312015-01-12 Pedro Alves <palves@redhat.com>
4532
4533 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4534 restore GDBFLAGS before returning.
4535
7e67715d
JK
45362015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4537
4538 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4539 is_amd64_regs_target and is_x86_like_target.
4540
f2e0d4b4
DE
45412015-01-11 Doug Evans <xdje42@gmail.com>
4542
4543 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4544 is given without an explicit form.
4545 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4546 attributes.
4547 * gdb.dwarf/corrupt.exp: Ditto.
4548 * gdb.dwarf2/enum-type.exp: Ditto.
4549 * gdb.trace/entry-values.exp: Ditto.
4550 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4551
439250fb
DE
45522015-01-11 Doug Evans <xdje42@gmail.com>
4553
4554 PR gdb/15830
4555 * gdb.base/maint.exp: Remove references to "maint demangle".
4556 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4557 Add tests for explicitly specifying language to demangle.
4558 * gdb.dlang/demangle.exp: Ditto.
4559
ede9f622
PA
45602015-01-09 Pedro Alves <palves@redhat.com>
4561
4562 * gdb.threads/non-stop-fair-events.c: New file.
4563 * gdb.threads/non-stop-fair-events.exp: New file.
4564
a7b796db
PA
45652015-01-09 Pedro Alves <palves@redhat.com>
4566
4567 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4568 the global scope. Set a breakpoint after all threads are started
4569 rather than stepping over two source lines. Expect the prompt.
4570 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4571 global.
4572 (NUM): Now 15.
4573 (main): Use threads_started_barrier to wait for all threads to
4574 start. Main thread no longer calls thread_function. Exit after
4575 180 seconds.
4576 (loop): New function.
4577 (thread_function): Wait on threads_started_barrier barrier. Call
4578 'loop' at each iteration.
4579 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4580 threads have started, instead of hardcoding number of "next"
4581 steps. Use an access watchpoint instead of a write watchpoint.
4582
9665ffdd
PA
45832015-01-09 Pedro Alves <palves@redhat.com>
4584
4585 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4586 (thread_func): Wait on barrier.
4587 (main): Wait for all threads to start before stopping GDB.
4588 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4589 global.
4590 (thread1_func, thread2_func): Wait on barrier.
4591 (main): Wait for all threads to start before stopping GDB.
4592 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4593 New global.
4594 (thread1_func, thread2_func): Wait on barrier.
4595 (main): Wait for all threads to start before stopping GDB.
4596
c945a99f
PA
45972015-01-09 Pedro Alves <palves@redhat.com>
4598
4599 * gdb.threads/attach-many-short-lived-threads.c: New file.
4600 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4601
c1a747c1
PA
46022014-01-09 Pedro Alves <palves@redhat.com>
4603
4604 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4605 instead of to thread 2.
4606 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4607 Add barrier around each pthread_create call instead of around all
4608 calls.
4609 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4610 Set a break on thread_function and have the child threads hit it
4611 one at at a time.
4612
60b3033e
PA
46132015-01-09 Pedro Alves <palves@redhat.com>
4614
4615 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4616 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4617 false.
4618 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4619 checking whether the target board is remote.
4620 * gdb.multi/multi-attach.exp: Likewise.
4621 * gdb.python/py-sync-interp.exp: Likewise.
4622 * gdb.server/ext-attach.exp: Likewise.
4623 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4624 tests that need to attach, instead of checking whether the target
4625 board is remote at the top of the file.
4626
acc018ac
YQ
46272015-01-08 Yao Qi <yao@codesourcery.com>
4628
4629 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4630
50a18af8
JK
46312015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4632
4633 Fix testcase compilation.
4634 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4635
8503d6e1
JB
46362015-01-06 Joel Brobecker <brobecker@adacore.com>
4637
4638 * gdb.python/py-type.exp: Add a couple test about empty
4639 array creation, and negative-length array creation.
4640
cc73dbcc
DE
46412015-01-02 Doug Evans <xdje42@gmail.com>
4642
4643 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4644
0300bbc7
DE
46452015-01-02 Doug Evans <dje@google.com>
4646
4647 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4648
9d85a0ec
YQ
46492014-12-29 Yao Qi <yao@codesourcery.com>
4650
4651 * gdb.trace/entry-values.exp: Update comments. Rename variable
4652 bar_call_foo to returned_from_foo.
4653
87186c6a
MMN
46542014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4655
4656 PR gdb/17394
4657 * gdb.linespec/break-asm-file.c: New file.
4658 * gdb.linespec/break-asm-file.exp: New file.
4659 * gdb.linespec/break-asm-file0.s: New file.
4660 * gdb.linespec/break-asm-file1.s: New file.
4661
1bab7383
YQ
46622014-12-18 Nigel Stephens <nigel@mips.com>
4663 Maciej W. Rozycki <macro@codesourcery.com>
4664
4665 * gdb.base/float.exp: Handle the new output from "info float" on
4666 MIPS targets.
4667
1bc1068a
JK
46682014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4669
4670 Fix MinGW compilation.
4671 * gdb.compile/compile-ops.exp: Update untested message if
4672 !skip_compile_feature_tests.
4673 * gdb.compile/compile-setjmp.exp: Likewise.
4674 * gdb.compile/compile-tls.exp: Likewise.
4675 * gdb.compile/compile.exp: Likewise.
4676 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4677 supported on this host".
4678
b6615d10
DE
46792014-12-16 Doug Evans <xdje42@gmail.com>
4680
4681 * boards/stabs.exp: New file.
4682
25dda427
AA
46832014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4684
4685 * gdb.base/completion.exp: Adjust to format changes of "maint
4686 print user-registers".
4687
bf330350
CU
46882014-12-16 Catalin Udma <catalin.udma@freescale.com>
4689
4690 PR server/17457
4691 * gdb.arch/aarch64-fp.c: New file.
4692 * gdb.arch/aarch64-fp.exp: New file.
4693
395cf596
SDJ
46942014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4695
4696 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4697 r210637, r210913, r211666, r215400, r215817).
4698
4699 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4700 * dg-extract-results.py: New file.
4701 * dg-extract-results.sh: Use it if the environment seems
4702 suitable.
4703
4704 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4705
4706 * dg-extract-results.py (parse_run): Handle warnings that
4707 are printed before a test harness is run.
4708
4709 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4710
4711 * dg-extract-results.py (Named): Remove __cmp__ method.
4712 (output_variation): Use a key to sort variation.harnesses.
4713
4714 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4715
4716 * dg-extract-results.py: For Python 3, force sys.stdout to
4717 handle surrogate escape sequences.
4718 (safe_open): New function.
4719 (output_segment, main): Use it.
4720
4721 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4722
4723 * dg-extract-results.py (Prog.result_re): Include options
4724 in test name.
4725
4726 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4727
4728 * dg-extract-results.py (output_variation): Always sort if
4729 do_sum.
4730
e882ef3c
SM
47312014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4732
4733 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4734 as long as we get pagination notifications.
4735
4992aa20
JM
47362014-12-15 Jason Merrill <jason@redhat.com>
4737
4738 * Makefile.in (check-gdb.%): Restore.
4739 * README: Mention it.
4740
c1b5a1a6
JB
47412014-12-13 Joel Brobecker <brobecker@adacore.com>
4742
4743 * gdb.ada/str_uninit: New testcase.
4744
5537b577
JK
47452014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4746
4747 PR symtab/17642
4748 * gdb.base/vla-stub-define.c: New file.
4749 * gdb.base/vla-stub.c: New file.
4750 * gdb.base/vla-stub.exp: New file.
4751
bb2ec1b3
TT
47522014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4753 Jan Kratochvil <jan.kratochvil@redhat.com>
4754 Tom Tromey <tromey@redhat.com>
4755
4756 * configure.ac: Add gdb.compile/.
4757 * configure: Regenerate.
4758 * gdb.compile/Makefile.in: New file.
4759 * gdb.compile/compile-ops.exp: New file.
4760 * gdb.compile/compile-ops.c: New file.
4761 * gdb.compile/compile-tls.c: New file.
4762 * gdb.compile/compile-tls.exp: New file.
4763 * gdb.compile/compile-constvar.S: New file.
4764 * gdb.compile/compile-constvar.c: New file.
4765 * gdb.compile/compile-mod.c: New file.
4766 * gdb.compile/compile-nodebug.c: New file.
4767 * gdb.compile/compile-setjmp-mod.c: New file.
4768 * gdb.compile/compile-setjmp.c: New file.
4769 * gdb.compile/compile-setjmp.exp: New file.
4770 * gdb.compile/compile-shlib.c: New file.
4771 * gdb.compile/compile.c: New file.
4772 * gdb.compile/compile.exp: New file.
4773 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4774
4ff709eb
TT
47752014-12-12 Tom Tromey <tromey@redhat.com>
4776
4777 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4778 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4779
6dddd6a5
DE
47802014-12-12 Doug Evans <dje@google.com>
4781
4782 * lib/gdb-python.exp (get_python_valueof): New function.
4783 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4784
71c24708
AA
47852014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4786
4787 * gdb.base/completion.exp: Add test for completion of "info
4788 registers ".
4789
3e29f34a
MR
47902014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4791
4792 * gdb.base/func-ptrs.c: New file.
4793 * gdb.base/func-ptrs.exp: New file.
4794
fc126975
SM
47952014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4796
4797 PR breakpoints/17012
4798 * gdb.base/dprintf-detach.c: New file.
4799 * gdb.base/dprintf-detach.exp: New file.
4800
0a46d518
SM
48012014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4802
4803 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4804 * lib/gdb.exp (target_is_gdbserver): New procedure.
4805
a0be3e44
DE
48062014-12-08 Doug Evans <dje@google.com>
4807
4808 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4809
df1b803a
YQ
48102014-12-05 Yao Qi <yao@codesourcery.com>
4811
4812 * gdb.guile/scm-error.exp: Remove the third argument to
4813 gdb_remote_download.
4814 * gdb.guile/scm-frame-args.exp: Likewise.
4815 * gdb.guile/scm-section-script.exp: Likewise.
4816
ddb9f679
YQ
48172014-12-05 Yao Qi <yao@codesourcery.com>
4818
4819 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4820
86e4ed39
DE
48212014-12-04 Doug Evans <dje@google.com>
4822
4823 * gdb.python/py-objfile.exp: Add tests for
4824 objfile.add_separate_debug_file.
4825
7c50a931
DE
48262014-12-04 Doug Evans <dje@google.com>
4827
4828 * lib/gdb.exp (get_build_id): New function.
4829 (build_id_debug_filename_get): Rewrite to use it.
4830 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4831
621661e3
MR
48322014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4833
4834 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4835 `method(long)', not just 0x0.
4836 * gdb.cp/nsalias.exp: Align code labels to 4.
4837 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4838 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4839 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4840 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4841 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4842 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4843
29f0c3b7
DE
48442014-12-02 Doug Evans <dje@google.com>
4845
e1e061e7 4846 PR symtab/17602
29f0c3b7 4847 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4848 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4849 * gdb.cp/anon-ns.exp: Update.
4850
162078c8
NB
48512014-12-02 Nick Bull <nicholaspbull@gmail.com>
4852
4853 * gdb.python/py-events.py (inferior_call_handler): New.
4854 (register_changed_handler, memory_changed_handler): New.
4855 (test_events.invoke): Register new handlers.
4856 * gdb.python/py-events.exp: Add tests for inferior call,
4857 memory_changed and register_changed events.
4858
fdb09caf
AA
48592014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4860
4861 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4862 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4863 if the linker doesn't understand this.
4864
55cfb2c4
SM
48652014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4866
4867 * gdb.python/python.exp: Change expected reply to help().
4868
9e8cd6df
YQ
48692014-12-01 Yao Qi <yao@codesourcery.com>
4870
4871 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4872 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4873 * configure: Re-generated.
4874
6c659fc2
SC
48752014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4876
4877 * gdb.cp/chained-calls.cc: New file.
4878 * gdb.cp/chained-calls.exp: New file.
4879 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4880
d7fc3181
SM
48812014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4882
4883 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4884 * gdb.dwarf2/symtab-producer.exp: Same.
4885 * gdb.gdb/python-interrupts.exp: Same.
4886 * gdb.gdb/python-selftest.exp: Same.
4887 * gdb.python/py-linetable.exp: Same.
4888 * gdb.python/py-type.exp: Same.
4889 * gdb.python/py-value-cc.exp: Same.
4890 * gdb.python/py-value.exp: Same.
4891
10e79639
YQ
48922014-11-28 Yao Qi <yao@codesourcery.com>
4893
4894 * gdb.base/break-probes.exp: Match library name prefixed with
4895 sysroot.
4896
f28a0564
SM
48972014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4898
4899 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4900 test expected output. Add parentheses for the call to print.
4901 Remove L suffix from integers.
4902
3fe1ce1d
DE
49032014-11-26 Doug Evans <dje@google.com>
4904
4905 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4906
84429e27
YQ
49072014-11-22 Yao Qi <yao@codesourcery.com>
4908
4909 * gdb.trace/entry-values.c: Remove asms.
4910 (foo): Add foo_label.
4911 (bar): Add bar_label.
4912 * gdb.trace/entry-values.exp: Remove code computing foo's
4913 length and bar's length.
4914 (Dwarf::assemble): Invoke function_range for bar and use
4915 MACRO_AT_func for foo.
4916
26741859
YQ
49172014-11-22 Yao Qi <yao@codesourcery.com>
4918
4919 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4920 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4921 Use .Lgcc43_procstart instead of gcc43.
4922
45e44d27
JB
49232014-11-21 Joel Brobecker <brobecker@adacore.com>
4924
4925 * gdb.ada/n_arr_bound: New testcase.
4926
458c8db8
SDJ
49272014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4928
4929 PR breakpoints/10737
4930 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4931 test_catch_syscall_multi_arch.
4932 (test_catch_syscall_multi_arch): New function.
4933
43f3e411
DE
49342014-11-20 Doug Evans <xdje42@gmail.com>
4935
4936 * gdb.base/maint.exp: Update expected output.
4937
0d7b2549
AA
49382014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4939
4940 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4941 4-byte instruction on S390.
4942
8908fca5
JB
49432014-11-19 Joel Brobecker <brobecker@adacore.com>
4944
4945 * gdb.ada/arr_arr: New testcase.
4946
4a46959e
JB
49472014-11-19 Joel Brobecker <brobecker@adacore.com>
4948
4949 * gdb.ada/pkd_arr_elem: New Testcase.
4950
470e2f4e
LM
49512014-11-18 Luis Machado <lgustavo@codesourcery.com>
4952
4953 * gdb.reverse/break-precsave: Expect completion message for
4954 core file reads.
4955 * gdb.reverse/consecutive-precsave.exp: Likewise.
4956 * gdb.reverse/finish-precsave.exp: Likewise.
4957 * gdb.reverse/i386-precsave.exp: Likewise.
4958 * gdb.reverse/machinestate-precsave.exp: Likewise.
4959 * gdb.reverse/sigall-precsave.exp: Likewise.
4960 * gdb.reverse/solib-precsave.exp: Likewise.
4961 * gdb.reverse/step-precsave.exp: Likewise.
4962 * gdb.reverse/until-precsave.exp: Likewise.
4963 * gdb.reverse/watch-precsave.exp: Likewise.
4964
a267f3ad
AA
49652014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4966
4967 * gdb.base/bp-permanent.c: Include unistd.h.
4968 * gdb.python/py-framefilter-mi.c (main): Add return type.
4969 * gdb.python/py-framefilter.c (main): Likewise.
4970 * gdb.trace/actions-changed.c (main): Likewise.
4971
12084a9a
AA
49722014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4973
4974 * gdb.mi/until.c: Add eye-catchers.
4975 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4976 line numbers.
4977
dc7e1a77
AA
49782014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4979
4980 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4981 function header variants in break1.c.
4982 * gdb.base/ena-dis-br.exp: Likewise.
4983 * gdb.base/hbreak2.exp: Likewise.
4984 * gdb.reverse/until-precsave.exp: Drop references to removed
4985 non-prototype function header variants in ur1.c.
4986 * gdb.reverse/until-reverse.exp: Likewise.
4987
41c77605
PM
49882014-11-17 Petr Machata <pmachata@redhat.com>
4989
4990 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4991 ${_cu_offset_size} bytes abbrev offset.
4992
34248c3a
DE
49932014-11-15 Doug Evans <xdje42@gmail.com>
4994
4995 PR symtab/17559
4996 * gdb.base/line-symtabs.exp: New file.
4997 * gdb.base/line-symtabs.c: New file.
4998 * gdb.base/line-symtabs.h: New file.
4999
646da059
YQ
50002014-11-14 Yao Qi <yao@codesourcery.com>
5001
5002 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5003 (func): Add label func_label.
5004 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5005 Replace low_pc and high_pc with MACRO_AT_range.
5006 Replace name, low_pc and high_pc with MACRO_AT_func.
5007
9301ebe6
YQ
50082014-11-14 Yao Qi <yao@codesourcery.com>
5009
5010 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5011 Replace name, low_pc and high_pc with MACRO_AT_func.
5012
f166b542
YQ
50132014-11-14 Yao Qi <yao@codesourcery.com>
5014
5015 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5016 produce debug information.
5017 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5018
0f6e71e3
YQ
50192014-11-14 Yao Qi <yao@codesourcery.com>
5020
5021 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5022 object and get function length.
5023 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5024 with MACRO_AT_func.
5025 (top-level): Replace gdb_compile and clean_restart with
5026 prepare_for_testing.
5027 * gdb.dwarf2/main.c (main): Add label main_label.
5028
876c4df9
YQ
50292014-11-14 Yao Qi <yao@codesourcery.com>
5030
5031 * lib/dwarf.exp (function_range): New procedure.
5032 (Dwarf::_handle_macro_at_func): New procedure.
5033 (Dwarf::_handle_macro_at_range): New procedure.
5034 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5035
02ad9cf1
YQ
50362014-11-14 Yao Qi <yao@codesourcery.com>
5037
5038 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5039 (_handle_attribute): New procedure.
5040
a59add0c
AA
50412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5042
5043 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5044 * gdb.base/call-sc.c (zed): Likewise.
5045 * gdb.base/checkpoint.c (main): Likewise.
5046 * gdb.base/dump.c (main): Likewise.
5047 * gdb.base/gcore.c (main): Likewise.
5048 * gdb.base/huge.c (main): Likewise.
5049 * gdb.base/multi-forks.c (main): Likewise.
5050 * gdb.base/pr10179-a.c (main): Likewise.
5051 * gdb.base/savedregs.c (main): Likewise.
5052 * gdb.base/sigaltstack.c (main): Likewise.
5053 * gdb.base/siginfo.c (main): Likewise.
5054 * gdb.base/structs.c (zed): Likewise.
5055 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5056 * gdb.mi/mi-syn-frame.c (main): Likewise.
5057 * gdb.mi/until.c (foo, main): Likewise.
5058 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5059 * gdb.base/solib-weak.c (foo): Declare.
5060 * gdb.base/attach-twice.c: Include stdio.h.
5061 * gdb.base/weaklib1.c: Likewise.
5062 * gdb.base/weaklib2.c: Likewise.
5063 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5064 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5065 unistd.h.
5066 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5067 * gdb.mi/mi-exit-code.c: Likewise.
5068 * gdb.base/break-interp-lib.c: Include string.h.
5069 * gdb.base/coremaker.c: Likewise.
5070 * gdb.base/testenv.c: Likewise.
5071 * gdb.python/py-finish-breakpoint.c: Likewise.
5072 * gdb.base/inferior-died.c: Include sys/wait.h.
5073 * gdb.base/fileio.c: Include time.h.
5074 * gdb.base/async-shell.c: Include unistd.h.
5075 * gdb.base/dprintf-non-stop.c: Likewise.
5076 * gdb.base/info-os.c: Likewise.
5077 * gdb.mi/mi-console.c: Likewise.
5078 * gdb.mi/watch-nonstop.c: Likewise.
5079 * gdb.python/py-events.c: Likewise.
5080 * gdb.base/async.c (baz): Move up before its invocation.
5081 * gdb.base/code_elim2.c (my_global_func): Likewise.
5082 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5083 * gdb.base/advance.c (func2): Likewise.
5084
3b5d5997
AA
50852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5086
5087 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5088 variant.
5089 * gdb.base/annota3.c: Likewise.
5090 * gdb.base/async.c: Likewise.
5091 * gdb.base/average.c: Likewise.
5092 * gdb.base/call-ar-st.c: Likewise.
5093 * gdb.base/call-rt-st.c: Likewise.
5094 * gdb.base/call-sc.c: Likewise.
5095 * gdb.base/call-strs.c: Likewise.
5096 * gdb.base/ending-run.c: Likewise.
5097 * gdb.base/execd-prog.c: Likewise.
5098 * gdb.base/exprs.c: Likewise.
5099 * gdb.base/foll-exec.c: Likewise.
5100 * gdb.base/foll-fork.c: Likewise.
5101 * gdb.base/foll-vfork.c: Likewise.
5102 * gdb.base/funcargs.c: Likewise.
5103 * gdb.base/gcore.c: Likewise.
5104 * gdb.base/jump.c: Likewise.
5105 * gdb.base/langs0.c: Likewise.
5106 * gdb.base/langs1.c: Likewise.
5107 * gdb.base/langs2.c: Likewise.
5108 * gdb.base/mips_pro.c: Likewise.
5109 * gdb.base/nodebug.c: Likewise.
5110 * gdb.base/opaque0.c: Likewise.
5111 * gdb.base/opaque1.c: Likewise.
5112 * gdb.base/recurse.c: Likewise.
5113 * gdb.base/run.c: Likewise.
5114 * gdb.base/scope0.c: Likewise.
5115 * gdb.base/scope1.c: Likewise.
5116 * gdb.base/setshow.c: Likewise.
5117 * gdb.base/setvar.c: Likewise.
5118 * gdb.base/shmain.c: Likewise.
5119 * gdb.base/shr1.c: Likewise.
5120 * gdb.base/shr2.c: Likewise.
5121 * gdb.base/sigall.c: Likewise.
5122 * gdb.base/signals.c: Likewise.
5123 * gdb.base/so-indr-cl.c: Likewise.
5124 * gdb.base/solib2.c: Likewise.
5125 * gdb.base/structs.c: Likewise.
5126 * gdb.base/sum.c: Likewise.
5127 * gdb.base/vforked-prog.c: Likewise.
5128 * gdb.base/watchpoint.c: Likewise.
5129 * gdb.reverse/shr2.c: Likewise.
5130 * gdb.reverse/until-reverse.c: Likewise.
5131 * gdb.reverse/ur1.c: Likewise.
5132 * gdb.reverse/watch-reverse.c: Likewise.
5133
066a77c5
AA
51342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5135
5136 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5137 variant.
5138 * gdb.base/sepdebug.exp: Drop references to removed code.
5139
4f204ea5
AA
51402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5141
5142 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5143 variant. Preserve original line numbering.
5144 * gdb.base/list1.c: Likewise.
5145
3b377a3a
AA
51462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5147
5148 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5149 variant.
5150 * gdb.base/break1.c: Likewise.
5151 * gdb.base/break.exp: Drop references to removed code.
5152
e444df73
AA
51532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5154
5155 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5156 variant.
5157
8008f2a7
AA
51582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5159
5160 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5161
a5a06887
AA
51622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5163
5164 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5165 logic into perform_all_tests() and invoke it with and without
5166 function header prototypes.
5167 (do_function_calls): Remove conditional XFAIL for PR 5318.
5168 (rerun_and_prepare): Remove duplicate code.
5169 (perform_all_tests): New. Main logic moved here.
5170
44dba9b9
AA
51712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5172
5173 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5174 code guarded by #ifdef NO_PROTOTYPES.
5175 (t_double_many_args): Likewise.
5176 (DEF_FUNC_MANY_ARGS_1): Likewise.
5177 (DEF_FUNC_VALUES_1): Likewise.
5178 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5179 guarded by #ifdef PROTOTYPES.
5180
d1fbcd56
AA
51812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5182
5183 * gdb.mi/mi-console.c: Add eye-catcher.
5184 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5185 instead of literal line number.
5186
b0e59b8f
AA
51872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5188
5189 * gdb.base/shr2.c: Add eye-catcher.
5190 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5191 line number.
5192
78f98cca
AA
51932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5194
5195 * gdb.base/jump.c: Add eye-catchers.
5196 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5197 numbers.
5198
58fa2af0
AA
51992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5200
5201 * gdb.base/execd-prog.c: Add eye-catchers.
5202 * gdb.base/foll-exec.c: Likewise.
5203 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5204 line numbers.
5205
04e5059b
AA
52062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5207
5208 * gdb.base/ending-run.c: Add eye-catchers.
5209 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5210 literal line numbers.
5211
dbfdb174
AA
52122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5213
5214 * gdb.base/call-rt-st.c: Add eye-catchers.
5215 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5216 literal line numbers.
5217
888a2ade
AA
52182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5219
5220 * gdb.base/call-ar-st.c: Add eye-catchers.
5221 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5222 literal line numbers.
5223
6acc2dde
AA
52242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5225
5226 * gdb.base/average.c: Add eye-catchers.
5227 * gdb.base/sum.c: Likewise.
5228 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5229 regexps dynamically.
5230
9ecfcd1d
AA
52312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5232
5233 * gdb.base/solib1.c: Add eye-catchers.
5234 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5235 literal line numbers.
5236
78708b7c
PA
52372014-11-12 Pedro Alves <palves@redhat.com>
5238
5239 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5240 leader has exited.
5241
af48d08f
PA
52422014-11-12 Pedro Alves <palves@redhat.com>
5243
5244 * gdb.arch/i386-bp_permanent.c: New file.
5245 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5246 (srcfile): Set to i386-bp_permanent.c.
5247 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5248 that stepi does not execute the 'leave' instruction, instead of
5249 testing it does execute.
5250 * gdb.base/bp-permanent.c: New file.
5251 * gdb.base/bp-permanent.exp: New file.
5252
af3768e9
DE
52532014-11-10 Doug Evans <xdje42@gmail.com>
5254
5255 PR symtab/17564
5256 * gdb.base/symtab-search-order.exp: New file.
5257 * gdb.base/symtab-search-order.c: New file.
5258 * gdb.base/symtab-search-order-1.c: New file.
5259 * gdb.base/symtab-search-order-shlib-1.c: New file.
5260
9de00a4a
PA
52612014-11-07 Pedro Alves <palves@redhat.com>
5262
5263 PR gdb/17511
5264 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5265 i?86-*-linux*.
5266
e0f52461
SC
52672014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5268
5269 PR c++/17494
5270 * gdb.cp/pr17494.cc: New file.
5271 * gdb.cp/pr17494.exp: New file.
5272
6ce8c980
YQ
52732014-11-02 Yao Qi <yao@codesourcery.com>
5274
5275 * gdb.python/python.exp: Get working directory and match the
5276 output of "set extended-prompt \\w " with it.
5277
02be9a71
DE
52782014-10-30 Doug Evans <dje@google.com>
5279
5280 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5281 in objfiles.
5282 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5283 in progspaces.
5284
3bdff46b
LM
52852014-10-30 Janis Johnson <janisjo@codesourcery.com>
5286
5287 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5288 * gdb.base/realname-expand.exp: Likewise.
5289 * gdb.linespec/macro-relative.exp: Likewise.
5290
ab917dfb
PA
52912014-10-29 Pedro Alves <palves@redhat.com>
5292
5293 PR gdb/17408
5294 * gdb.threads/schedlock.c (some_function): New function.
5295 (call_function): New global.
5296 (MAYBE_CALL_SOME_FUNCTION): New macro.
5297 (thread_function): Call it.
5298 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5299 and use it instead of a global counter. Adjust all callers.
5300 (get_current_thread): Use "find current thread" for test message
5301 here rather than having all callers pass down the same string.
5302 (goto_loop): New procedure, factored out from ...
5303 (my_continue): ... this.
5304 (step_ten_loops): Change parameter from test message to command to
5305 use. Adjust.
5306 (list_count): Delete global.
5307 (check_result): New procedure, factored out from duplicate top
5308 level code.
5309 (continue tests): Wrap in with_test_prefix.
5310 (test_step): New procedure, factored out from duplicate top level
5311 code.
5312 (top level): Test "step" in combination with all scheduler-locking
5313 modes. Test "next" in combination with all scheduler-locking
5314 modes, and in combination with stepping over a function call or
5315 not.
5316 * gdb.threads/next-bp-other-thread.c: New file.
5317 * gdb.threads/next-bp-other-thread.exp: New file.
5318
d3d4baed
PA
53192014-10-29 Pedro Alves <palves@redhat.com>
5320
5321 PR python/17372
5322 * gdb.python/python.exp: Test a multi-line command that spawns
5323 interactive Python.
5324 * gdb.base/multi-line-starts-subshell.exp: New file.
5325
563e8d85
YQ
53262014-10-29 Yao Qi <yao@codesourcery.com>
5327
5328 * gdb.base/fileio.exp: Make directories on host.
5329
0ea4d52e
YQ
53302014-10-29 Yao Qi <yao@codesourcery.com>
5331
5332 * gdb.base/fileio.c (test_write): Close the file.
5333
7f5ef605
PA
53342014-10-28 Pedro Alves <palves@redhat.com>
5335
5336 PR gdb/12623
5337 * gdb.base/sigstep.c (no_handler): New global.
5338 (main): If 'no_handler is true, set the signal handlers to
5339 SIG_IGN.
5340 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5341 with_sw_watch and no_handler parameters. Handle them.
5342 (top level) <stepping over handler when stopped at a breakpoint
5343 test>: Add a test axis for testing with a software watchpoint, and
5344 another for testing with the signal handler set to SIG_IGN.
5345 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5346 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5347
abbdbd03
PA
53482014-10-28 Pedro Alves <palves@redhat.com>
5349
5350 PR gdb/17511
5351 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5352 * gdb.base/sigstep.exp (other_handler_location): New global.
5353 (advance): Support stepping into the signal handler, and running
5354 commands while in the handler.
5355 (in_handler_map): New global.
5356 (top level): In the advance test, add combinations for getting
5357 into the handler with stepping commands, and for running commands
5358 in the handler. Add comment descripting the advancei tests.
5359
1df4399f
PA
53602014-10-28 Pedro Alves <palves@redhat.com>
5361
5362 * gdb.base/sigstep.exp: Use build_executable instead of
5363 prepare_for_testing.
5364 (top level): Move code that starts GDB, runs to main and creates a
5365 display to ...
5366 (restart): ... this new procedure.
5367 (top level): Move backtrace from signal handler test to ...
5368 (validate_backtrace): ... this new procedure.
5369 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5370 with_test_prefix. Always restart GDB.
5371 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5372 with_test_prefix. Always restart GDB. No need to delete
5373 breakpoints after the test.
5374 (test_skip_handler): Remove prefix parameter.
5375 (skip_over_handler, breakpoint_to_handler)
5376 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5377 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5378 restart GDB. No need to delete breakpoints after the test.
5379 (top level): Use foreach to call the test procedures with
5380 different commands.
5381
a5b6e449
PA
53822014-10-28 Pedro Alves <palves@redhat.com>
5383
5384 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5385 instead of GNATS numbers.
5386 * gdb.base/sigbpt.exp: Likewise.
5387 * gdb.base/siginfo.exp: Likewise.
5388 * gdb.base/sigstep.exp: Likewise.
5389
e5f8a7cc
PA
53902014-10-27 Pedro Alves <palves@redhat.com>
5391
5392 * gdb.base/sigstep.c (dummy): New global.
5393 (main): Issue a couple writes to the new global.
5394 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5395 procedures.
5396 (skip_over_handler): Use test_skip_handler.
5397 (top level): Call skip_over_handler for stepi and nexti too.
5398 (breakpoint_over_handler): Use test_skip_handler.
5399 (top level): Call breakpoint_over_handler for stepi and nexti too.
5400
763905a3
YQ
54012014-10-27 Yao Qi <yao@codesourcery.com>
5402
5403 * gdb.trace/tfile.c (adjust_function_address)
5404 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5405 function descriptor.
5406
6f259a23
DB
54072014-10-24 Don Breazeal <donb@codesourcery.com>
5408
5409 * gdb.base/foll-fork.exp (test_follow_fork,
5410 catch_fork_child_follow): Check for updated fork messages emitted
5411 from infrun.c.
5412 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5413 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5414 vfork_and_exec_child_follow_through_step): Check for updated vfork
5415 messages emitted from infrun.c.
5416
09dd9a69
PA
54172014-10-24 Pedro Alves <palves@redhat.com>
5418
5419 * gdb.base/corefile.exp: Remove references to ultrix.
5420 * gdb.base/interrupt.exp: Likewise.
5421 * gdb.base/whatis.exp: Likewise.
5422 * gdb.gdb/selftest.exp: Likewise.
5423 * gdb.threads/manythreads.exp: Likewise.
5424 * gdb.threads/print-threads.exp: Likewise.
5425 * gdb.threads/pthreads.exp:: Likewise.
5426 * gdb.threads/schedlock.exp: Likewise.
5427
3433cfa5
SC
54282014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5429
5430 * gdb.cp/non-trivial-retval.cc: Add a test case.
5431 * gdb.cp/non-trivial-retval.exp: Add a test.
5432
092f880b
YQ
54332014-10-20 Yao Qi <yao@codesourcery.com>
5434
5435 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5436 * gdb.python/py-objfile-script-gdb.py: New file.
5437 * gdb.python/py-objfile-script.exp: Update reference to
5438 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5439 of remote_download. Remove the dest file.
5440
acbdb7f3
YQ
54412014-10-20 Yao Qi <yao@codesourcery.com>
5442
5443 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5444 * gdb.base/step-line.exp: Likewise.
5445 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5446 * gdb.dwarf2/dw2-basic.exp: Likewise.
5447 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5448 * gdb.dwarf2/dw2-filename.exp: Likewise.
5449 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5450 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5451 * gdb.dwarf2/dw2-producer.exp: Likewise.
5452 * gdb.dwarf2/mac-fileno.exp: Likewise.
5453 * gdb.python/py-frame-args.exp: Likewise.
5454 * gdb.python/py-framefilter.exp: Likewise.
5455 * gdb.python/py-mi.exp: Likewise.
5456 * gdb.python/py-objfile-script.exp: Likewise
5457 * gdb.python/py-pp-integral.exp: Likewise.
5458 * gdb.python/py-pp-re-notag.exp: Likewise.
5459 * gdb.python/py-prettyprint.exp: Likewise.
5460 * gdb.python/py-section-script.exp: Likewise.
5461 * gdb.python/py-typeprint.exp: Likewise.
5462 * gdb.python/py-xmethods.exp: Likewise.
5463 * gdb.stabs/weird.exp: Likewise.
5464 * gdb.xml/tdesc-regs.exp: Likewise.
5465
bd286a29
KCY
54662014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5467
5468 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5469 (out_cu): Use addr_len for the size of addresses.
5470 (out_line): Likewise. Size DW_LNE_set_address instruction
5471 according to addr_len.
5472 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5473 (FUNC): Add START_INSNS to definition.
5474
673dc4a0
YQ
54752014-10-18 Yao Qi <yao@codesourcery.com>
5476
5477 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5478 gdb_has_argv0 return true.
5479 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5480 check [target_info exists noargs], check [gdb_has_argv0]
5481 instead.
5482 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5483 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5484 procedures.
5485
4ffbba72
DE
54862014-10-17 Doug Evans <dje@google.com>
5487
5488 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5489 event.
5490 * gdb.python/py-events.py: Add clear_objfiles event.
5491
d096d8c1
DE
54922014-10-17 Doug Evans <dje@google.com>
5493
5494 * gdb.python/py-objfile.exp: Test progspace attribute.
5495
a80db015
LM
54962014-10-17 Luis Machado <lgustavo@codesourcery.com>
5497
5498 * gdb.guile/scm-breakpoint.exp: Do not assume any
5499 directory separators when matching source file paths.
5500 * gdb.python/py-breakpoint.exp: Likewise.
5501 * gdb.reverse/break-precsave.exp: Likewise.
5502 * gdb.reverse/break-reverse.exp: Likewise.
5503 * gdb.reverse/consecutive-precsave.exp: Likewise.
5504 * gdb.reverse/finish-precsave.exp: Likewise.
5505 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5506 * gdb.reverse/finish-reverse.exp: Likewise.
5507 * gdb.reverse/i386-precsave.exp: Likewise.
5508 * gdb.reverse/i387-env-reverse.exp: Likewise.
5509 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5510 * gdb.reverse/machinestate-precsave.exp: Likewise.
5511 * gdb.reverse/machinestate.exp: Likewise.
5512 * gdb.reverse/sigall-precsave.exp: Likewise.
5513 * gdb.reverse/solib-precsave.exp: Likewise.
5514 * gdb.reverse/step-precsave.exp: Likewise.
5515 * gdb.reverse/until-precsave.exp: Likewise.
5516 * gdb.reverse/watch-precsave.exp: Likewise.
5517 * gdb.reverse/watch-reverse.exp: Likewise.
5518
b22089ab
YQ
55192014-10-17 Yao Qi <yao@codesourcery.com>
5520
5521 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5522 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5523
6c4486e6
PA
55242014-10-17 Pedro Alves <palves@redhat.com>
5525
5526 PR gdb/17471
5527 * gdb.base/bg-execution-repeat.c: New file.
5528 * gdb.base/bg-execution-repeat.exp: New file.
5529
0ff33695
PA
55302014-10-17 Pedro Alves <palves@redhat.com>
5531
5532 PR gdb/17300
5533 * gdb.base/continue-all-already-running.c: New file.
5534 * gdb.base/continue-all-already-running.exp: New file.
5535
6fdebc3d
PA
55362014-10-17 Pedro Alves <palves@redhat.com>
5537
5538 PR gdb/17472
5539 * gdb.base/annota-input-while-running.c: New file.
5540 * gdb.base/annota-input-while-running.exp: New file.
5541
32a8097b
PA
55422014-10-17 Pedro Alves <palves@redhat.com>
5543
5544 * gdb.base/callfuncs.exp: emove references to osf.
5545 * gdb.base/sigall.exp: Likewise.
5546 * gdb.gdb/selftest.exp: Likewise.
5547 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5548 * gdb.mi/non-stop.c: Likewise.
5549 * gdb.mi/pthreads.c: Likewise.
5550 * gdb.reverse/sigall-precsave.exp: Likewise.
5551 * gdb.reverse/sigall-reverse.exp: Likewise.
5552 * gdb.threads/pthreads.c: Likewise.
5553 * gdb.threads/pthreads.exp: Likewise.
5554
7a3517ff
YQ
55552014-10-17 Yao Qi <yao@codesourcery.com>
5556
5557 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5558 check 'target_info exists noargs'.
5559 (test_command_prompt_position): Likewise.
5560 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5561 Remove "set args".
5562 (progvar_simple_while_test): Likewise.
5563 (progvar_complex_if_while_test): Likewise.
5564 (if_while_breakpoint_command_test): Likewise.
5565 (infrun_breakpoint_command_test): Likewise.
5566 (breakpoint_command_test): Likewise.
5567 (watchpoint_command_test): Likewise.
5568 (bp_deleted_in_command_test): Likewise.
5569 (temporary_breakpoint_commands): Likewise.
5570
bb99c472
YQ
55712014-10-16 Yao Qi <yao@codesourcery.com>
5572
5573 * gdb.base/remotetimeout.exp: Remove noargs checking.
5574
7c16b83e
PA
55752014-10-15 Pedro Alves <palves@redhat.com>
5576
5577 PR breakpoints/9649
5578 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5579 * gdb.base/breakpoint-in-ro-region.exp
5580 (probe_target_hardware_step): New procedure.
5581 (top level): Probe hardware stepping and hardware breakpoint
5582 support. Test stepping through a read-only region, with both
5583 "breakpoint auto-hw" on and off and both "always-inserted" on and
5584 off.
5585
35a49624
IB
55862014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5587
5588 * gdb.dlang/demangle.exp: Update for demangling changes.
5589
2d1c107c
SC
55902014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5591
5592 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5593 * gdb.cp/non-trivial-retval.exp: Add new tests.
5594
778811d5
SC
55952014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5596
5597 PR c++/13403
5598 PR c++/15154
5599 * gdb.cp/non-trivial-retval.cc: New file.
5600 * gdb.cp/non-trivial-retval.exp: New file.
5601
10c5f0a8
YQ
56022014-10-15 Yao Qi <yao@codesourcery.com>
5603
5604 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5605 remote host.
5606
65d7b369
YQ
56072014-10-15 Yao Qi <yao@codesourcery.com>
5608
5609 * gdb.python/py-symbol.exp: Match file base name if host is
5610 remote, otherwise match file name with dir name.
5611 * gdb.python/py-symtab.exp: Likewise.
5612 * gdb.python/python.exp: Likewise.
5613
46dc1394
YQ
56142014-10-15 Yao Qi <yao@codesourcery.com>
5615
5616 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5617 pattern.
5618 * gdb.python/py-symtab.exp: Likewise.
5619 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5620 locationn.
5621
c40cc657
JB
56222014-10-14 Joel Brobecker <brobecker@adacore.com>
5623
5624 * gdb.ada/addr_arith: New testcase.
5625
2abf49e1
MR
56262014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5627
5628 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5629 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5630 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5631 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5632
f7088df3
SDJ
56332014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5634
5635 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5636 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5637 * gdb.arch/stap-eval-lang-ada.exp: New file.
5638
4dc06805
YQ
56392014-10-14 Yao Qi <yao@codesourcery.com>
5640
5641 * gdb.mi/mi-var-child.c (nothing1): New function.
5642 (nothing2): New function.
5643 (do_children_tests): Set function pointers by nothing1 and
5644 nothing2.
5645 * gdb.mi/mi-var-child.exp: Step over new added statements.
5646 Update test to match the new output.
5647 * gdb.mi/var-cmd.c (nothing1): New function.
5648 (nothing2): New function.
5649 (do_children_tests): Set function pointers by nothing1 and
5650 nothing2.
5651 * gdb.mi/mi-var-display.exp: Update test to match output.
5652 Step to the line specified by $line_dct_nothing.
5653 Increase the number of lines to step.
5654
46a93de2
YQ
56552014-10-14 Yao Qi <yao@codesourcery.com>
5656
5657 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5658 tests.
5659 * gdb.mi/mi2-var-child.exp: Likewise.
5660
14ea52ee
DE
56612014-10-13 Doug Evans <dje@google.com>
5662
5663 * gdb.python/py-objfile.exp: Change name of file name test.
5664
e5c6e92b
DE
56652014-10-13 Doug Evans <dje@google.com>
5666
5667 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5668 from the start of the CU.
5669
c780cc2f
JK
56702014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5671 Yao Qi <yao@codesourcery.com>
5672
5673 Fix "save breakpoints" for "catch" command.
5674 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5675 Remove -nonewline. Match also the added "main" line.
5676
99894e11
JK
56772014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5678
5679 Fix "save breakpoints" for "disable $bpnum" command.
5680 * gdb.base/save-bp.c (main): Add label.
5681 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5682
6e1ac5a3
JK
56832014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5684
5685 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5686
754dd2b0
YQ
56872014-10-11 Yao Qi <yao@codesourcery.com>
5688
5689 * gdb.server/server-kill.exp: Execute command
5690 "set remote trace-status-packet on" before "tstatus".
5691
f90183d7
YQ
56922014-10-11 Yao Qi <yao@codesourcery.com>
5693
5694 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5695 (main): Call getppid.
5696 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5697 and continue to it. Read variable "server_pid".
5698
bf40a607
YQ
56992014-10-11 Yao Qi <yao@codesourcery.com>
5700
5701 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5702
052ca370
YQ
57032014-10-11 Yao Qi <yao@codesourcery.com>
5704
5705 * gdb.threads/thread-find.exp: Don't execute command
5706 "info threads".
5707 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5708 * gdb.threads/linux-dp.exp: Don't check the condition
5709 $threads_created equals to zero.
5710
3831839c
PA
57112014-10-10 Pedro Alves <palves@redhat.com>
5712
5713 * gdb.base/bigcore.exp: Remove references to IRIX.
5714 * gdb.base/funcargs.exp: Likewise.
5715 * gdb.base/interrupt.exp: Likewise.
5716 * gdb.base/mips_pro.exp: Likewise.
5717 * gdb.base/nodebug.exp: Likewise.
5718 * gdb.base/setvar.exp: Likewise.
5719 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5720
8b9a549d
PA
57212014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5722 Pedro Alves <palves@redhat.com>
5723
5724 PR symtab/14466
5725 * gdb.base/vdso-warning.c: New file.
5726 * gdb.base/vdso-warning.exp: New file.
5727
d48ba5e8
DE
57282014-10-02 Doug Evans <dje@google.com>
5729
5730 * gdb.base/structs.c (main): Don't run forever.
5731
2278c276
PA
57322014-10-02 Pedro Alves <palves@redhat.com>
5733
5734 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5735 (top level) <stop threads 1, stop threads 2>: Use it.
5736
b57bacec
PA
57372014-10-02 Pedro Alves <palves@redhat.com>
5738
5739 * gdb.threads/break-while-running.exp (test): Add new
5740 'update_thread_list' argument. Skip "info threads" if false.
5741 (top level): Add new 'update_thread_list' axis.
5742
13fd3ff3
PA
57432014-10-02 Pedro Alves <palves@redhat.com>
5744
5745 PR breakpoints/17431
5746 * gdb.base/execl-update-breakpoints.c: New file.
5747 * gdb.base/execl-update-breakpoints.exp: New file.
5748
0fec99e8
PA
57492014-10-01 Pedro Alves <palves@redhat.com>
5750
5751 * gdb.base/breakpoint-in-ro-region.c: New file.
5752 * gdb.base/breakpoint-in-ro-region.exp: New file.
5753
2ddf4301
SM
57542014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5755
5756 * gdb.mi/mi-exit-code.exp: New file.
5757 * gdb.mi/mi-exit-code.c: New file.
5758
6a5f3f43
YQ
57592014-09-30 Yao Qi <yao@codesourcery.com>
5760
5761 * lib/prelink-support.exp (build_executable_own_libs): Error if
5762 the target isn't native.
5763
345bcc73
YQ
57642014-09-30 Yao Qi <yao@codesourcery.com>
5765
5766 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5767 false.
5768
a25a5a45
PA
57692014-09-22 Pedro Alves <palves@redhat.com>
5770
5771 * gdb.threads/break-while-running.exp: New file.
5772 * gdb.threads/break-while-running.c: New file.
5773
00ba3162
YQ
57742014-09-19 Yao Qi <yao@codesourcery.com>
5775
5776 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5777 Invoke test. Restart GDB with --readnow and invoke test again.
5778
c3b7b696
YQ
57792014-09-19 Yao Qi <yao@codesourcery.com>
5780
5781 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5782 proc set_breakpoint_on_gcd_function. Invoke
5783 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5784 invoke set_breakpoint_on_gcd_function again.
5785
2b4fd423
DE
57862014-09-18 Doug Evans <dje@google.com>
5787
5788 * gdb.dwarf2/symtab-producer.exp: New file.
5789
a5947601
SDJ
57902014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5791
5792 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5793 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5794 * gdb.base/global-var-nested-by-dso.c: Likewise.
5795 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5796
91c19059
SDJ
57972014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5798 Pedro Alves <palves@redhat.com>
5799
5800 * gdb.base/watch-bitfields.exp: Pass string other than test file
5801 name to prepare_for_testing.
5802 (watch): New procedure.
5803 (expect_watchpoint): Use with_test_prefix.
5804 (top level): Factor out tests to ...
5805 (test_watch_location, test_regular_watch): ... these new
5806 procedures, and use with_test_prefix and gdb_continue_to_end.
5807
bb9d5f81
PP
58082014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5809
5810 PR breakpoints/12526
5811 * gdb.base/watch-bitfields.exp: New file.
5812 * gdb.base/watch-bitfields.c: New file.
5813
635856f5
PA
58142014-09-16 Pedro Alves <palves@redhat.com>
5815
5816 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5817 software and hardware addresses, not software address against
5818 itself.
5819
7280ceea
PA
58202014-09-16 Pedro Alves <palves@redhat.com>
5821
5822 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5823 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5824
428b16bd
PA
58252014-09-16 Pedro Alves <palves@redhat.com>
5826
5827 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5828 files.
5829 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5830 "*-*-vxworks*" throughout.
5831 * gdb.base/break.exp: Likewise.
5832 * gdb.base/default.exp: Likewise.
5833 * gdb.base/scope.exp: Likewise.
5834 * gdb.base/sepdebug.exp: Likewise.
5835 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5836 throughout.
5837 * gdb.base/run.c: Likewise.
5838 * gdb.base/sepdebug.c: Likewise.
5839 * gdb.hp/gdb.aCC/run.c: Likewise.
5840 * gdb.reverse/until-reverse.c: Likewise.
5841 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5842
666d413c
YQ
58432014-09-16 Yao Qi <yao@codesourcery.com>
5844
5845 * boards/local-remote-host-native.exp: New file.
5846
57cbd724
DE
58472014-09-14 Doug Evans <xdje42@gmail.com>
5848
5849 * gdb.threads/queue-signal.c (thread_count): New variable.
5850 (thread_count_mutex, thread_count_condvar): New variables.
5851 (incr_thread_count, wait_all_threads_running): New functions.
5852 (main): Wait for all threads to be in their thread functions.
5853
81219e53
DE
58542014-09-13 Doug Evans <xdje42@gmail.com>
5855
5856 * gdb.threads/queue-signal.c: New file.
5857 * gdb.threads/queue-signal.exp: New file.
5858
3714cea7
DE
58592014-09-13 Doug Evans <xdje42@gmail.com>
5860
5861 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5862 be consistent with what default_gdb_init uses.
5863 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5864 the plain text of the prompt. Add some logging printfs.
5865 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5866
fa43b1d7
PA
58672014-09-12 Pedro Alves <palves@redhat.com>
5868
5869 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5870 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5871 * gdb.arch/i386-size-overlap.exp: Likewise.
5872 * gdb.arch/i386-size.exp: Likewise.
5873 * gdb.arch/i386-unwind.exp: Likewise.
5874 * gdb.base/a2-run.exp: Likewise.
5875 * gdb.base/break.exp: Likewise.
5876 * gdb.base/charset.exp: Likewise.
5877 * gdb.base/chng-syms.exp: Likewise.
5878 * gdb.base/commands.exp: Likewise.
5879 * gdb.base/dbx.exp: Likewise.
5880 * gdb.base/find.exp: Likewise.
5881 * gdb.base/funcargs.exp: Likewise.
5882 * gdb.base/jit-simple.exp: Likewise.
5883 * gdb.base/reread.exp: Likewise.
5884 * gdb.base/sepdebug.exp: Likewise.
5885 * gdb.base/step-bt.exp: Likewise.
5886 * gdb.cp/mb-inline.exp: Likewise.
5887 * gdb.cp/mb-templates.exp: Likewise.
5888 * gdb.objc/basicclass.exp: Likewise.
5889 * gdb.threads/killed.exp: Likewise.
5890
9d9bf2df
EBM
58912014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5892
5893 PR tdep/17379
5894 * gdb.arch/powerpc-stackless.S: New file.
5895 * gdb.arch/powerpc-stackless.exp: New file.
5896
1cf2f1b0
JK
58972014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5898
5899 * gdb.base/attach.c: Include unistd.h.
5900 (main): Call alarm. Add label postloop.
5901 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5902 gdb_breakpoint, gdb_continue_to_breakpoint.
5903 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5904
98880d46
PA
59052014-09-11 Pedro Alves <palves@redhat.com>
5906
5907 PR gdb/17347
5908 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5909 * gdb.base/attach.exp (test_command_line_attach_run): New
5910 procedure.
5911 (top level): Call it.
5912
4c92ff2c
PA
59132014-09-11 Pedro Alves <palves@redhat.com>
5914
5915 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5916 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5917 (do_command_attach_tests): Use spawn_wait_for_attach.
5918 * gdb.base/solib-overlap.exp: Likewise.
5919 * gdb.multi/multi-attach.exp: Likewise.
5920 * gdb.python/py-prompt.exp: Likewise.
5921 * gdb.python/py-sync-interp.exp: Likewise.
5922 * gdb.server/ext-attach.exp: Likewise.
5923
3adc1a7d
GKB
59242014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5925
5926 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5927 command in testcase. Simplify testcase.
5928
96334934
JB
59292014-09-10 Joel Brobecker <brobecker@adacore.com>
5930
5931 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5932
eb479039
JB
59332014-09-10 Joel Brobecker <brobecker@adacore.com>
5934
5935 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5936
deede10c
JB
59372014-09-10 Joel Brobecker <brobecker@adacore.com>
5938
5939 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5940
7828a5f5
JB
59412014-09-10 Joel Brobecker <brobecker@adacore.com>
5942
5943 * gdb.dwarf2/dynarr-ptr.c: New file.
5944 * gdb.dwarf2/dynarr-ptr.exp: New file.
5945
33aeebcf
MR
59462014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5947
5948 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5949 of 30 rather than hardcoding 120 for a slow test case. Take the
5950 `gdb,timeout' target setting into account for this calculation.
5951 Don't extend the timeout for the test cases that don't need it.
5952
7b415901
MR
59532014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5954
5955 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5956 a factor of 2 for a slow test case. Take the `gdb,timeout'
5957 target setting into account for this calculation.
5958 * gdb.reverse/until-precsave.exp: Increase the timeout by
5959 a factor of 15 and 3 respectively rather than adding 120
5960 for a pair of slow test cases. Take the `gdb,timeout'
5961 target setting into account for this calculation.
5962
4a40f85a
MR
59632014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5964
5965 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5966 timeout, don't pass one down to gdb_expect.
5967 (gdb_expect): Rework timeout selection.
5968
09635af7
MR
59692014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5970
5971 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5972 exception on timeout.
5973 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5974 (gdbserver_start_extended): Catch any `gdbserver_start' error
5975 exceptions.
5976 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5977 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5978 `gdbserver_gdb_load' error exceptions.
5979
2bdd10b7
MR
59802014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5981
5982 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5983 120 on waiting for the TCP socket to open.
5984
316935f0
DE
59852014-09-09 Doug Evans <xdje42@gmail.com>
5986
5987 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5988 _caller_matches, _any_caller_is, _any_caller_matches.
5989
83740597
DE
59902014-09-09 Doug Evans <xdje42@gmail.com>
5991
5992 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5993
4c122fc3
YQ
59942014-09-09 Yao Qi <yao@codesourcery.com>
5995
5996 * gdb.mi/mi-var-display.exp: Set print symbol off.
5997
a9f116cb
GKB
59982014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5999
6000 PR gdb/17035
6001 * gdb.base/commands.exp: Add tests to verify user-defined
6002 commands with empty bodies.
6003 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6004 python commands in `show user command`.
6005 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6006 scheme commands in `show user command`.
6007
c75bd3a2
JK
60082014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6009
6010 PR python/17355
6011 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6012 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6013 * gdb.python/py-framefilter-invalidarg.exp: New file.
6014 * gdb.python/py-framefilter-invalidarg.py: New file.
6015
faa42425
DE
60162014-09-06 Doug Evans <xdje42@gmail.com>
6017
6018 PR 15276
6019 * gdb.python/py-caller-is.c: New file.
6020 * gdb.python/py-caller-is.exp: New file.
6021
474ca4f6
SDJ
60222014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6023
6024 PR gdb/17235
6025 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6026 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6027
eb0b0463
SDJ
60282014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6029
6030 PR fortran/17237
6031 * gdb.fortran/print-formatted.exp: New file.
6032 * gdb.fortran/print-formatted.f90: Likewise.
6033
5f3b99cf
SS
60342014-09-03 Sasha Smundak <asmundak@google.com>
6035
6036 * gdb.python/py-frame.exp: Test Frame.read_register.
6037
7d793aa9
SDJ
60382014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6039
6040 PR python/16699
6041 * gdb.python/py-completion.exp: New file.
6042 * gdb.python/py-completion.py: Likewise.
6043
fb0576e9
DE
60442014-08-28 Doug Evans <dje@google.com>
6045
6046 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6047 eax,etc. are live with values set by gdb and thus the compiler can't
6048 use them.
6049 * gdb.arch/i386-pseudo.c (main): Ditto.
6050
ee92b0dd
DE
60512014-08-27 Doug Evans <dje@google.com>
6052
6053 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6054
6649db35
DE
60552014-08-25 Doug Evans <dje@google.com>
6056
6057 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6058 (main): Ditto.
6059
564b7600
DE
60602014-08-25 Doug Evans <dje@google.com>
6061
6062 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6063
3881fb67
YQ
60642014-08-24 Yao Qi <yao@codesourcery.com>
6065
6066 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6067 symbol off.
6068 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6069
a05a36a5
DE
60702014-08-22 Doug Evans <dje@google.com>
6071
6072 PR 17276
6073 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6074 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6075 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6076
7c343b48
YQ
60772014-08-22 Yao Qi <yao@codesourcery.com>
6078
6079 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6080 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6081 * gdb.python/python.exp: Likewise. Use .py file on the host
6082 instead of the build.
6083
22fd09ae
JK
60842014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6085
6086 * gdb.threads/gcore-stale-thread.c: New file.
6087 * gdb.threads/gcore-stale-thread.exp: New file.
6088
a8454a7c
PA
60892014-08-21 Pedro Alves <palves@redhat.com>
6090
6091 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6092 * gdb.base/gcore-relro-pie.exp: Likewise.
6093 * gdb.base/gcore-relro.exp: Likewise.
6094 * gdb.base/gcore.exp: Likewise.
6095 * gdb.base/print-symbol-loading.exp: Likewise.
6096 * gdb.threads/gcore-thread.exp: Likewise.
6097 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6098
2a31c623
PA
60992014-08-20 Pedro Alves <palves@redhat.com>
6100 Jan Kratochvil <jan.kratochvil@redhat.com>
6101
6102 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6103 configure.
6104 (EXPECT): Handle READ1 being set.
6105 (all): Depend on EXTRA_RULES.
6106 (check-read1, expect-read1, read1.so, read1): New rules.
6107 * README (Testsuite Parameters): Document the READ1 make variable.
6108 (Race detection): New section.
6109 * configure: Regenerate.
6110 * configure.ac: If build==host==target, and running under a
6111 GNU/glibc system, add read1 to the extra Makefile rules.
6112 (EXTRA_RULES): AC_SUBST it.
6113 * lib/read1.c: New file.
6114
d36430db
JB
61152014-08-20 Joel Brobecker <brobecker@adacore.com>
6116
6117 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6118 the handling of variables declared as a typedef to an array
6119 which a DW_AT_data_location attribute.
6120
9a0dc9e3
PA
61212014-08-19 Andrew Burgess <aburgess@broadcom.com>
6122 Pedro Alves <palves@redhat.com>
6123
6124 PR symtab/14604
6125 PR symtab/14605
6126 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6127 gdb_test.
6128
0718a8da
PA
61292014-08-19 Pedro Alves <palves@redhat.com>
6130
6131 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6132
13b448cd
YQ
61332014-08-19 Yao Qi <yao@codesourcery.com>
6134
6135 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6136 right line.
6137
1cbf5077
DB
61382014-08-18 David Blaikie <dblaikie@gmail.com>
6139
6140 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6141
bf0fae19
JB
61422014-08-18 Joel Brobecker <brobecker@adacore.com>
6143
6144 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6145 attribute in array range.
6146
3c8c5dcc
JB
61472014-08-18 Joel Brobecker <brobecker@adacore.com>
6148
6149 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6150
e66d4446
SC
61512014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6152
6153 PR c++/17132
6154 * gdb.cp/pr17132.cc: New file.
6155 * gdb.cp/pr17132.exp: New file.
6156
940df408
SC
61572014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6158
6159 * gdb.python/py-xmethods.py (A_getarrayind)
6160 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6161 Use 'print' with function call syntax.
6162 (E_method_matcher.match): Fix tab vs space indentation mixup.
6163
ebcc6c3a
YQ
61642014-08-15 Yao Qi <yao@codesourcery.com>
6165
6166 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6167 false.
6168
775e0f04
YQ
61692014-08-15 Yao Qi <yao@codesourcery.com>
6170
6171 * gdb.cp/casts.exp: Set print symbol off.
6172 * gdb.cp/class2.exp: Likewise.
6173 * gdb.cp/overload.exp: Likewise.
6174 * gdb.cp/templates.exp: Likewise.
6175
d769e349
DE
61762014-08-11 Doug Evans <dje@google.com>
6177
6178 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6179 (test_load_shlib): Update.
6180
20c6f1e1
YQ
61812014-08-09 Yao Qi <yao@codesourcery.com>
6182
6183 * gdb.base/display.exp: Invoke is_address_zero_readable.
6184 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6185 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6186 * gdb.base/hbreak-unmapped.exp: Return if
6187 is_address_zero_readable returns true.
6188 * gdb.base/signest.exp: Likewise.
6189 * gdb.base/signull.exp: Likewise.
6190 * gdb.base/sigbpt.exp: Likewise.
6191 * gdb.guile/scm-disasm.exp: Do the test if
6192 is_address_zero_readable returns false.
6193 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6194 * gdb.python/py-arch.exp: Likewise.
6195 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6196 * lib/gdb.exp (is_address_zero_readable): New proc.
6197
5792e8e3
YQ
61982014-08-09 Yao Qi <yao@codesourcery.com>
6199
6200 PR testsuite/13443
6201 * gdb.mi/mi-var-display.exp: Make test messages unique.
6202
3cecbbbe
TT
62032014-08-04 Tom Tromey <tromey@redhat.com>
6204
6205 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6206 target 0".
6207
00b51ff5
TT
62082014-08-04 Tom Tromey <tromey@redhat.com>
6209
6210 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6211 "target_resume".
6212
6908c509
JB
62132014-08-01 Joel Brobecker <brobecker@adacore.com>
6214
6215 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6216 inner_vla_struct_object_size.
6217 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6218 as xfail.
6219
cc6563d2
PA
62202014-07-30 Pedro Alves <palves@redhat.com>
6221
6222 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6223 comment.
6224
7e09a223
YQ
62252014-07-29 Yao Qi <yao@codesourcery.com>
6226
6227 PR gdb/17206
6228 * gdb.base/until-nodebug.exp: New.
6229
7ebdbe92
DE
62302014-07-28 Doug Evans <xdje42@gmail.com>
6231
6232 PR guile/17203
6233 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6234 previously existing parameter, and previously ambiguously spelled
6235 parameter.
6236
fdb1adc6
WN
62372014-07-28 Will Newton <will.newton@linaro.org>
6238
6239 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6240
186fcde0
DE
62412014-07-26 Ludovic Courtès <ludo@gnu.org>
6242 Doug Evans <xdje42@gmail.com>
6243
6244 PR guile/17146
6245 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6246
70509625
PA
62472014-07-25 Pedro Alves <palves@redhat.com>
6248
6249 * gdb.threads/signal-command-handle-nopass.c: New file.
6250 * gdb.threads/signal-command-handle-nopass.exp: New file.
6251 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6252 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6253 * gdb.threads/signal-delivered-right-thread.c: New file.
6254 * gdb.threads/signal-delivered-right-thread.exp: New file.
6255
c3f814a1
PA
62562014-07-25 Pedro Alves <palves@redhat.com>
6257
6258 * gdb.base/double-prompt-target-event-error.exp
6259 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6260 match.
6261 (cancel_pagination_in_target_event): Rework double prompt
6262 detection.
6263 * gdb.base/paginate-after-ctrl-c-running.exp
6264 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6265 <return>' match.
6266 * gdb.base/paginate-bg-execution.exp
6267 (test_bg_execution_pagination_return)
6268 (test_bg_execution_pagination_cancel): Remove '-notransfer
6269 <return>' matches.
6270 * gdb.base/paginate-execution-startup.exp
6271 (test_fg_execution_pagination_return)
6272 (test_fg_execution_pagination_cancel): Remove '-notransfer
6273 <return>' matches.
6274 * gdb.base/paginate-inferior-exit.exp
6275 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6276 match.
6277 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6278 * lib/gdb.exp (pagination_prompt): Run text through
6279 string_to_regexp.
6280 (gdb_test_multiple): Match $pagination_prompt instead of
6281 "<return>".
6282 (string_to_regexp): Move to lib/gdb-utils.exp.
6283
e214cf6c
JK
62842014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6285
6286 * gdb.arch/amd64-entry-value-paramref.S: New file.
6287 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6288 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6289 * gdb.arch/amd64-optimout-repeat.S: New file.
6290 * gdb.arch/amd64-optimout-repeat.c: New file.
6291 * gdb.arch/amd64-optimout-repeat.exp: New file.
6292
17d0c5c8
JK
62932014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6294
6295 PR gdb/17170
6296 * gdb.base/statistics.exp: New file.
6297
b8b8facf
DE
62982014-07-17 Doug Evans <dje@google.com>
6299
74b49205 6300 PR gdb/17170
b8b8facf
DE
6301 * gdb.base/maint.exp: Update testing of per-command stats.
6302
1b5d0ab3
PA
63032014-07-16 Pedro Alves <palves@redhat.com>
6304
6305 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6306 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6307 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6308 (tfile_write_buf): New functions.
6309 (add_memory_block): Rewrite using the above.
6310 (adjust_function_address): New function.
6311 (FUNCTION_ADDRESS): New macro.
6312 (write_basic_trace_file): Remove short_x local, and use
6313 tfile_write_16. Change type of func_addr local to unsigned long
6314 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6315 here. Cast argument of add_memory_block to char pointer.
6316 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6317 (main): Remove parameters.
6318 * gdb.trace/tfile.exp: Remove nowarnings.
6319
4d974e88
SM
63202014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6321
6322 * gdb.base/debug-expr.exp: Test string evaluation with
6323 "debug expression" on.
6324
41e99568
PA
63252014-07-15 Pedro Alves <palves@redhat.com>
6326
6327 * gdb.base/reread.exp: Use clean_restart.
6328
487d9753
PL
63292014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6330
6331 * gdb.arch/avr-flash-qualifer.c: New.
6332 * gdb.arch/avr-flash-qualifer.exp: New.
6333
cc1c52ad
PA
63342014-07-14 Pedro Alves <palves@redhat.com>
6335
6336 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6337 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6338
1e973570
PA
63392014-07-14 Pedro Alves <palves@redhat.com>
6340
6341 * gdb.base/double-prompt-target-event-error.c: New file.
6342 * gdb.base/double-prompt-target-event-error.exp: New file.
6343
93d6eb10
PA
63442014-07-14 Pedro Alves <palves@redhat.com>
6345
6346 PR gdb/17072
6347 * gdb.base/paginate-inferior-exit.c: New file.
6348 * gdb.base/paginate-inferior-exit.exp: New file.
6349
0017922d
PA
63502014-07-14 Pedro Alves <palves@redhat.com>
6351
6352 PR gdb/17072
6353 * gdb.base/paginate-bg-execution.c: New file.
6354 * gdb.base/paginate-bg-execution.exp: New file.
6355
94696ad3
PA
63562014-07-14 Pedro Alves <palves@redhat.com>
6357
6358 PR gdb/17072
6359 * gdb.base/paginate-execution-startup.c: New file.
6360 * gdb.base/paginate-execution-startup.exp: New file.
6361 * lib/gdb.exp (pagination_prompt): New global.
6362 (default_gdb_spawn): New procedure, factored out from
6363 default_gdb_spawn.
6364 (default_gdb_start): Adjust to call default_gdb_spawn.
6365 (gdb_spawn): New procedure.
6366
bd293940
PA
63672014-07-14 Pedro Alves <palves@redhat.com>
6368
6369 * lib/gdb.exp (gdb_assert): New procedure.
6370 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6371
c933f875
PA
63722014-07-14 Pedro Alves <palves@redhat.com>
6373
6374 * gdb.base/execution-termios.c: New file.
6375 * gdb.base/execution-termios.exp: New file.
6376
d98b7a16
TT
63772014-07-14 Tom Tromey <tromey@redhat.com>
6378
6379 * gdb.cp/vla-cxx.cc: New file.
6380 * gdb.cp/vla-cxx.exp: New file.
6381
548740d6
TT
63822014-07-14 Tom Tromey <tromey@redhat.com>
6383
6384 * gdb.reverse/rerun-prec.c: New file.
6385 * gdb.reverse/rerun-prec.exp: New file.
6386
a25eb028
MR
63872014-07-12 Maciej W. Rozycki <macro@mips.com>
6388 Maciej W. Rozycki <macro@codesourcery.com>
6389
6390 * lib/gdb-utils.exp: New file.
6391 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6392 inline `gdb_init_command' processing.
6393 (gdb_start_cmd): Likewise.
6394 * lib/mi-support.exp (mi_run_cmd): Likewise.
6395 * README: Document `gdb_init_command' and `gdb_init_commands'.
6396
218c2655
JK
63972014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6398
6399 Fix false FAIL running under a very long directory name.
6400 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6401 and "set print elements 10000". Twice.
6402
5401fde3
YQ
64032014-07-11 Yao Qi <yao@codesourcery.com>
6404
6405 * gdb.base/exprs.exp: "set print symbol off".
6406
e76126e8
PA
64072014-07-11 Pedro Alves <palves@redhat.com>
6408
6409 * gdb.threads/kill.c: New file.
6410 * gdb.threads/kill.exp: New file.
6411
2d6f0de6
YQ
64122014-07-10 Yao Qi <yao@codesourcery.com>
6413
6414 * gdb.trace/tfile.c (write_basic_trace_file)
6415 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6416 address written to trace file.
6417
7180e04a
PA
64182014-07-09 Pedro Alves <palves@redhat.com>
6419
6420 * gdb.base/attach-wait-input.exp: New file.
6421 * gdb.base/attach-wait-input.c: New file.
6422
9a9a7608
AB
64232014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6424
6425 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6426 setting up test structures.
6427 (main): Call new test function.
6428 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6429 test function, continue into test function and walk test
6430 structures.
6431
161ac41e
YQ
64322014-07-02 Yao Qi <yao@codesourcery.com>
6433
6434 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6435 'bar_start' at the beginning of functions 'foo' and 'bar'
6436 respectively.
6437 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6438 instead of 'foo' and 'bar'.
6439
1f267ae3
MM
64402014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6441
6442 * gdb.btrace/segv.exp: New.
6443 * gdb.btrace/segv.c: New.
6444
2b239efb
LM
64452014-07-02 Luis Machado <lgustavo@codesourcery.com>
6446
6447 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6448 instruction.
6449
cf363f18
MW
64502014-06-30 Mark Wielaard <mjw@redhat.com>
6451
6452 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6453 vulture, vilify, villar): New volatile array constants.
6454 (vindictive, vegetation): New const volatile array constants.
6455 * gdb.base/volatile.exp: Test volatile and const volatile array
6456 types.
6457
aebf9d24
AA
64582014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6459
6460 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6461 target lacks support for awatch, rwatch, or hbreak.
6462
b67a2c6f
YQ
64632014-06-27 Yao Qi <yao@codesourcery.com>
6464
6465 * gdb.multi/dummy-frame-restore.exp: New.
6466 * gdb.multi/dummy-frame-restore.c: New.
6467
aef92902
MM
64682014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6469
6470 * gdb.btrace/gcore.exp: New.
6471
8e9db26e
PA
64722014-06-23 Pedro Alves <palves@redhat.com>
6473
6474 * gdb.base/watchpoint-reuse-slot.c: New file.
6475 * gdb.base/watchpoint-reuse-slot.exp: New file.
6476
70afc5b7
SC
64772014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6478
6479 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6480 progspace's filename in 'info', 'enable' and 'disable' command
6481 tests.
6482
b972bd9c
JK
64832014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6484
6485 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6486 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6487 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6488
125f8a3d
GB
64892014-06-20 Gary Benson <gbenson@redhat.com>
6490
6491 * gdb.arch/i386-avx.exp: Fix include file location.
6492 * gdb.arch/i386-sse.exp: Likewise.
6493
3ed9baed
IB
64942014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6495
6496 * gdb.dlang/expression.exp: New file.
6497
034f788c
PA
64982014-06-19 Pedro Alves <palves@redhat.com>
6499
6500 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6501 out from ...
6502 (top level): ... here. Iterate running tests under different
6503 scheduler-locking settings.
6504
45371d0c
LM
65052014-06-18 Luis Machado <lgustavo@codesourcery.com>
6506
6507 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6508 to DW_FORM_addr and use non-zero addresses.
6509
5d376983
SC
65102014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6511
6512 PR gdb/17017
6513 * gdb.python/py-xmethods.cc: Add global function call counters and
6514 increment them in their respective functions. Remove "cout"
6515 statements.
6516 * gdb.python/py-xmethods.exp: Make tests check the global function
6517 call counters instead of depending on inferior IO.
6518
a1aa2221
LM
65192014-06-18 Don Breazeal <donb@codesourcery.com>
6520
6521 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6522 Deleted procedure.
6523 (explicit_fork_parent_follow): Deleted procedure.
6524 (explicit_fork_child_follow): Deleted procedure.
6525 (test_follow_fork): New procedure.
6526 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 6527 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
6528 procedure calls.
6529
0fc05997
YQ
65302014-06-17 Yao Qi <yao@codesourcery.com>
6531
6532 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6533 CP1252.
6534
70795c52
LM
65352014-06-17 Luis Machado <lgustavo@codesourcery.com>
6536
6537 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6538 Initialize ptr and S explicitly.
6539 (skip_type_update_when_not_use_rtti_test): Likewise.
6540
6be47f0c
KS
65412014-06-16 Keith Seitz <keiths@redhat.com>
6542
6543 PR mi/15863
6544 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6545 the inferior is started.
6546
d03de421
PA
65472014-06-16 Pedro Alves <palves@redhat.com>
6548
6549 * gdb.base/break-main-file-remove-fail.c: New file.
6550 * gdb.base/break-main-file-remove-fail.exp: New file.
6551 * gdb.base/break-unload-file.exp: Use build_executable instead of
6552 prepare_for_testing.
6553 (test_break): New parameter "initial_load". Handle it.
6554 (top level): Add initial_load cmdline/file axis.
6555
f9579b99
TT
65562014-06-12 Tom Tromey <tromey@redhat.com>
6557
6558 * gdb.base/completion.exp: Don't use directory name in test.
6559
3657956b
GB
65602014-06-09 Gary Benson <gbenson@redhat.com>
6561
6562 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6563 separate the always-available ANSI-standard signals from the
6564 signals that require checking.
6565 (main): Likewise.
6566 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6567 Likewise.
6568 (main): Likewise.
6569
4186eb54
KS
65702014-06-07 Keith Seitz <keiths@redhat.com>
6571
6572 Revert:
6573 PR c++/16253
6574 * gdb.cp/var-tag.cc: New file.
6575 * gdb.cp/var-tag.exp: New file.
6576 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6577 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6578 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6579 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6580
25326a28 65812014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
6582
6583 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6584
829155c9
PA
65852014-06-06 Pedro Alves <palves@redhat.com>
6586
6587 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6588 in target debug output instead of looking at RSP packets,
6589 disabling the test on any target that uses hardware stepping.
6590 Update comments.
6591
61c8d22e
PA
65922014-06-06 Pedro Alves <palves@redhat.com>
6593
6594 * gdb.base/break-unload-file.exp: Fix typo.
6595
d9a47287
YQ
65962014-06-06 Yao Qi <yao@codesourcery.com>
6597
6598 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6599 from "jit_function" to "^jit_function".
6600
e5e01dbf
YQ
66012014-06-06 Yao Qi <yao@codesourcery.com>
6602
6603 * gdb.base/async.c (foo): Add one statement.
6604 * gdb.base/async.exp: Get the next instruction address and
6605 match the output of "nexti" by instruction address. Match
6606 the hex address in the output of "finish".
6607
73ba372c
GB
66082014-06-06 Gary Benson <gbenson@redhat.com>
6609
6610 * gdb.base/call-signals.c: Remove preprocessor conditionals
6611 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6612 SIGSEGV and SIGTERM.
6613 * gdb.base/sigall.c: Likewise.
6614 * gdb.base/unwindonsignal.c: Likewise.
6615 * gdb.reverse/sigall-reverse.c: Likewise.
6616
831517df
YQ
66172014-06-06 Yao Qi <yao@codesourcery.com>
6618
6619 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6620 readable, skip the test.
6621
b8b91e98
YQ
66222014-06-06 Yao Qi <yao@codesourcery.com>
6623
6624 * gdb.threads/staticthreads.c (thread_function): Move the line
6625 setting breakpoint on forward.
6626 * gdb.threads/staticthreads.exp: Update comments.
6627
fb934770
LC
66282014-06-05 Ludovic Courtès <ludo@gnu.org>
6629
6630 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6631 "history-append! type error".
6632
6ef284bd
SM
66332014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6634
6635 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6636 erroneous dprintf expected input.
6637
a872e241
DE
66382014-06-04 Doug Evans <xdje42@gmail.com>
6639
6640 * gdb.guile/scm-generics.exp: Delete.
6641
16f691fb
DE
66422014-06-04 Doug Evans <xdje42@gmail.com>
6643
6644 * gdb.guile/scm-breakpoint.exp: Update.
6645 Add tests for breakpoint registration.
6646
012370f6
TT
66472014-06-04 Tom Tromey <tromey@redhat.com>
6648
6649 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6650 VLA-in-union.
6651 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6652 inner_vla_struct, vla_union types. Initialize objects of those
6653 types and compute their sizes.
6654
9f5a4cef
HZ
66552014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6656 Hui Zhu <hui@codesourcery.com>
6657
6658 * gdb.base/fileio.exp: Add test for shell not available as well as
6659 available.
6660 * gdb.base/fileio.c (test_system): Check for shell twice.
6661
90a45c4d
YQ
66622014-06-04 Yao Qi <yao@codesourcery.com>
6663
6664 * gdb.base/auto-connect-native-target.exp: Remove redundant
6665 space from the regexp pattern.
6666
70017e41
YQ
66672014-06-04 Yao Qi <yao@codesourcery.com>
6668
6669 * gdb.base/default.exp: Replace "child" with "native" in
6670 regexp pattern.
6671
883964a7
SC
66722014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6673
6674 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6675 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6676 * gdb.python/py-xmethods.py: Python script supporting the
6677 new testcase and tests.
6678
ef370185
JB
66792014-06-03 Joel Brobecker <brobecker@adacore.com>
6680 Pedro Alves <palves@redhat.com>
6681
6682 PR breakpoints/17000
6683 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6684 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6685
1e2ccb61
BM
66862014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6687
6688 * gdb.base/subst.exp: Add tests to verify partial path matching
6689 output.
6690
c6ec5ab2
PA
66912014-06-03 Pedro Alves <palves@redhat.com>
6692
6693 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6694 target that doesn't use software single-stepping.
6695
835c559f
PA
66962014-06-03 Pedro Alves <palves@redhat.com>
6697
6698 PR breakpoints/17000
6699 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6700 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6701
06eb1586
DE
67022014-06-02 Doug Evans <xdje42@gmail.com>
6703
6704 * gdb.guile/scm-parameter.exp: New file.
6705
e698b8c4
DE
67062014-06-02 Doug Evans <xdje42@gmail.com>
6707
6708 * gdb.guile/scm-cmd.c: New file.
6709 * gdb.guile/scm-cmd.exp: New file.
6710
ded03782
DE
67112014-06-02 Doug Evans <xdje42@gmail.com>
6712
6713 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6714 pretty-printer lookup.
6715 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6716 (make-pp_s-printer): Call it.
6717 (make-pretty-printer-from-dict): New function.
6718 (lookup-pretty-printer-maker-from-dict): New function.
6719 (*pretty-printer*): Simplify.
6720 (make-objfile-pp_s-printer): New function.
6721 (install-objfile-pretty-printers!): New function.
6722 (make-progspace-pp_s-printer): New function.
6723 (install-progspace-pretty-printers!): New function.
6724 * gdb.guile/scm-progspace.c: New file.
6725 * gdb.guile/scm-progspace.exp: New file.
6726
41fac0cf
PA
67272014-06-02 Pedro Alves <palves@redhat.com>
6728
6729 * gdb.base/dprintf-bp-same-addr.c: New file.
6730 * gdb.base/dprintf-bp-same-addr.exp: New file.
6731
96ae5695
EBM
67322014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6733
6734 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6735 * gdb.arch/powerpc-power.s: Likewise.
6736
da02b3a8
JB
67372014-06-02 Joel Brobecker <brobecker@adacore.com>
6738
6739 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6740
c72b2e7b
YQ
67412014-06-01 Yao Qi <yao@codesourcery.com>
6742
6743 * gdb.base/watchpoint.exp (test_watch_location): Check null
6744 pointer can be dereferenced. If not, do the test, otherwise
6745 skip it.
6746
53e8a631
AB
67472014-05-30 Andrew Burgess <aburgess@broadcom.com>
6748
6749 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6750 results.
6751 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6752
938f0e2f
AB
67532014-05-30 Andrew Burgess <aburgess@broadcom.com>
6754
6755 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6756 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6757 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6758 * gdb.arch/amd64-invalid-stack-top.c: New file.
6759 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6760
9ba6657a
PA
67612014-05-30 Pedro Alves <palves@redhat.com>
6762
6763 PR breakpoints/17000
6764 * gdb.base/sss-bp-on-user-bp.c: New file.
6765 * gdb.base/sss-bp-on-user-bp.exp: New file.
6766
522c09bf
DB
67672014-05-30 David Blaikie <dblaikie@gmail.com>
6768
6769 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6770 gnu_inline semantics via attribute.
6771 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6772 source explicitly specifies the required semantics.
6773
bf4ef81e
MR
67742014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6775
6776 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6777
329ea579
PA
67782014-05-29 Pedro Alves <palves@redhat.com>
6779 Tom Tromey <tromey@redhat.com>
6780
6781 * gdb.base/async-shell.exp: Don't enable target-async.
6782 * gdb.base/async.exp
6783 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6784 parameter. Adjust.
6785 (top level): Don't test with "target-async".
6786 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6787 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6788 * gdb.base/inferior-died.exp: Don't enable target-async.
6789 * gdb.base/interrupt-noterm.exp: Likewise.
6790 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6791 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6792 * gdb.mi/mi-nonstop.exp: Likewise.
6793 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6794 * gdb.mi/mi-nsintrall.exp: Likewise.
6795 * gdb.mi/mi-nsmoribund.exp: Likewise.
6796 * gdb.mi/mi-nsthrexec.exp: Likewise.
6797 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6798 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6799 * gdb.python/py-evsignal.exp: Don't enable target-async.
6800 * gdb.python/py-evthreads.exp: Likewise.
6801 * gdb.python/py-prompt.exp: Likewise.
6802 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6803 * gdb.server/solib-list.exp: Don't enable target-async.
6804 * gdb.threads/thread-specific-bp.exp: Likewise.
6805 * lib/mi-support.exp: Adjust to use mi-async.
6806
fd664c91
PA
68072014-05-29 Pedro Alves <palves@redhat.com>
6808
6809 PR gdb/13860
6810 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6811 reason, even in sync mode.
6812
251bde03
PA
68132014-05-29 Pedro Alves <palves@redhat.com>
6814 Hui Zhu <hui@codesourcery.com>
6815
6816 PR PR15693
6817 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6818 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6819 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6820 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6821
7f3c0343
JB
68222014-05-28 Joel Brobecker <brobecker@adacore.com>
6823
6824 * config/monitor.exp (gdb_target_monitor): Replace use of
6825 "set remotebaud" by "set serial baud".
6826
b2715b27
AW
68272014-05-26 Andy Wingo <wingo@igalia.com>
6828
6829 * gdb.guile/scm-breakpoint.exp:
6830 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6831 properties instead of gdb-object-properties.
6832
498a4489
YQ
68332014-05-26 Yao Qi <yao@codesourcery.com>
6834
6835 * gdb.server/no-thread-db.exp: Specify source file name
6836 explicitly when setting a breakpoint.
6837
589fdceb
MM
68382014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6839
6840 * gdb.btrace/vdso.c: New.
6841 * gdb.btrace/vdso.exp: New.
6842
e9089e05
MM
68432014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6844
6845 * gdb.base/gcore.exp (capture_command_output): Move ...
6846 * lib/gdb.exp (capture_command_output): ... here.
6847
67b5c0c1
MM
68482014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6849
6850 * gdb.btrace/data.exp: Test memory access during btrace replay.
6851
a2199296
SM
68522014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6853
6854 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6855
17b2616c
PA
68562014-05-21 Pedro Alves <palves@redhat.com>
6857
6858 PR gdb/13860
6859 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6860 (top level): Test that output related to execution commands is
6861 sent to the console with CLI commands, but not with MI commands.
6862 Test that breakpoint events are always mirrored to the console.
6863 Also expect the new source line to be output after a "next" in
6864 async mode too. Make it a pass/fail test.
6865 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6866 output.
6867 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6868
5166082f
PA
68692014-05-21 Pedro Alves <palves@redhat.com>
6870
6871 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6872 Use them to test variations of "list" after reaching a breakpoint.
6873 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6874 Test "list" with listsize 10 after reaching a breakpoint.
6875 * gdb.python/python.exp (decode_line current location line
6876 number): Adjust expected line number.
6877
2f25d70f
SM
68782014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6879
6880 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6881 behavior for $args, pass it directly to "run".
6882
ff604a67
MR
68832014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6884
6885 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6886 30000 to 65536.
6887
6a3cb8e8
PA
68882014-05-21 Pedro Alves <palves@redhat.com>
6889
6890 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6891 auto-connect-native-target off".
6892 * gdb.base/auto-connect-native-target.c: New file.
6893 * gdb.base/auto-connect-native-target.exp: New file.
6894
4ebfc96e
PA
68952014-05-21 Pedro Alves <palves@redhat.com>
6896
6897 * gdb.base/default.exp: Test "target native" instead of "target
6898 child".
6899
36d46afb
MW
69002014-05-21 Mark Wielaard <mjw@redhat.com>
6901
6902 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6903
5876f503
JK
69042014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6905
6906 Fix TLS access for -static -pthread.
6907 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6908 <HAVE_TLS> (thread_function, main): Initialize it.
6909 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6910 Add clean_restart.
6911 <$have_tls != "">: Check TLSVAR.
6912
0256a6ac
PA
69132014-05-21 Pedro Alves <palves@redhat.com>
6914
6915 * gdb.base/dcache-line-read-error.c: New.
6916 * gdb.base/dcache-line-read-error.exp: New.
6917
936d2992
PA
69182014-05-20 Pedro Alves <palves@redhat.com>
6919
6920 * gdb.base/compare-sections.c: New file.
6921 * gdb.base/compare-sections.exp: New file.
6922
802e8e6d
PA
69232014-05-20 Pedro Alves <palves@redhat.com>
6924
6925 * gdb.base/break-idempotent.c: New file.
6926 * gdb.base/break-idempotent.exp: New file.
6927
e59fa00f
MM
69282014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6929
6930 * gdb.btrace/nohist.exp: New.
6931
8b696e31
YQ
69322014-05-20 Yao Qi <yao@codesourcery.com>
6933
6934 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6935 gdb.reverse directory and gdb_reverse_timeout exists in board
6936 setting.
6937 * README: Document gdb_reverse_timeout.
6938
73c9764f
YQ
69392014-05-20 Yao Qi <yao@codesourcery.com>
6940
6941 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6942 'test_file_name'. Treat args as a string instead of a list.
6943 (gdb_init): Rename argument 'args' by 'test_file_name'.
6944
f1f4348a
JK
69452014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6946
6947 * gdb.arch/powerpc-power.exp: New file.
6948 * gdb.arch/powerpc-power.s: New file.
6949
0dbe70ce
DE
69502014-05-16 Doug Evans <dje@google.com>
6951
6952 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6953 * gdb.base/completion.exp: Check that all expected files exist
6954 before doing file completion.
0dbe70ce 6955
8d551b02
DE
69562014-05-16 Doug Evans <dje@google.com>
6957
6958 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6959 Update.
6960 (do_syscall_tests_without_xml): Update.
6961
73eb7709
PA
69622014-05-16 Pedro Alves <palves@redhat.com>
6963
6964 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6965 instead of "unknown output after running".
6966
3fae92fc
YQ
69672014-05-16 Yao Qi <yao@codesourcery.com>
6968
6969 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6970 file1.txt from host at the end.
6971 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6972
c2b2ccc5
DE
69732014-05-15 Doug Evans <dje@google.com>
6974
6975 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6976 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6977 loading file. Add test for TU lookup.
6978
8c217a4b
SM
69792014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6980
6981 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6982 calling "-exec-arguments" or "set args" before running the
6983 inferior.
6984
3deb39c6
SM
69852014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6986
6987 * lib/mi-support.exp (mi_expect_stop): Expect message for
6988 inferiors that exit with non-zero exit code.
6989
71a79f8c
YQ
69902014-05-14 Yao Qi <yao@codesourcery.com>
6991
6992 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6993 match absolute path on remote host.
6994 (test_file_list_exec_source_files): Remove "/" from the
6995 pattern.
6996
f23fcd46
YQ
69972014-05-14 Yao Qi <yao@codesourcery.com>
6998
6999 * boards/local-remote-host-notty.exp (${board}_file): New
7000 proc.
7001
9404b58f
KM
70022014-05-07 Kyle McMartin <kyle@redhat.com>
7003
7004 Pushed by Joel Brobecker <brobecker@adacore.com>.
7005 * gdb.arch/aarch64-atomic-inst.c: New file.
7006 * gdb.arch/aarch64-atomic-inst.exp: New file.
7007
5e45f04c
YQ
70082014-05-07 Yao Qi <yao@codesourcery.com>
7009
7010 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7011 in current context" too.
7012
c888a17d
KS
70132014-05-05 Keith Seitz <keiths@redhat.com>
7014
7015 * gdb.linespec/ls-dollar.exp: Add test for linespec
7016 file:convenience_variable.
7017
290a839c
YQ
70182014-05-05 Yao Qi <yao@codesourcery.com>
7019
7020 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7021 traceframes into tfile and ctf trace files. Read data from
7022 trace file and test collected data.
7023 (gdb_collect_locals_test): Likewise.
7024 (gdb_unavailable_registers_test): Likewise.
7025 (gdb_unavailable_floats): Likewise.
7026 (gdb_collect_globals_test): Likewise.
7027 (top-level): Append "ctf" to trace_file_targets if GDB
7028 supports.
7029
b5262cd0
YQ
70302014-05-05 Yao Qi <yao@codesourcery.com>
7031
7032 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7033 code to ...
7034 (gdb_collect_args_test_1): ... it. New proc.
7035 (gdb_collect_locals_test): Move some code to ...
7036 (gdb_collect_locals_test_1): ... it. New proc.
7037 (gdb_unavailable_registers_test): Move some code to ...
7038 (gdb_unavailable_registers_test_1): ... it. New proc.
7039 (gdb_unavailable_floats): Move some code to ...
7040 (gdb_unavailable_floats_1): ... it. New proc.
7041
30a1e6cc
SDJ
70422014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7043
7044 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7045 probes to test for bitness recognition.
7046 * gdb.arch/amd64-stap-optional-prefix.exp
7047 (test_probe_value_without_reg): New procedure.
7048 Add code to test for different kinds of bitness.
7049
f33da99a
SDJ
70502014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7051
7052 PR breakpoints/16889
7053 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7054 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7055
5b80f00d
PA
70562014-05-01 Pedro Alves <palves@redhat.com>
7057
7058 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7059 gdb_file_cmd if no file is specified.
7060 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7061 last_loaded_file to set the remote exec-file.
7062
f8c2a73c
PA
70632014-05-01 Pedro Alves <palves@redhat.com>
7064
7065 * boards/local-remote-host.exp: New file.
7066
be6e8ac7
PA
70672014-05-01 Pedro Alves <palves@redhat.com>
7068
7069 * boards/local-remote-host.exp: Rename to ...
7070 * boards/local-remote-host-notty.exp: ... this.
7071
cac0dc8f
JB
70722014-04-28 Joel Brobecker <brobecker@adacore.com>
7073
7074 * gdb.ada/dyn_arrayidx: New testcase.
7075
9730e6cc
YQ
70762014-04-26 Yao Qi <yao@codesourcery.com>
7077
7078 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7079 and compute the length of function main. Save it in
7080 $main_length.
7081 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7082 (top-level): Use gdb_compile to compile objects into
7083 executable and restart GDB. Remove invocation to
7084 prepare_for_testing.
7085
7ae1a6a6
PA
70862014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7087 Pedro Alves <palves@redhat.com>
7088
7089 PR server/16255
7090 * gdb.multi/multi-attach.c: New file.
7091 * gdb.multi/multi-attach.exp: New file.
7092
4082afcc
PA
70932014-04-25 Pedro Alves <palves@redhat.com>
7094
7095 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7096 user.
7097 (top level): Test that "set remote conditional-breakpoints-packet
7098 off" works as intended.
7099 * gdb.base/dprintf.exp: Test that "set remote
7100 breakpoint-commands-packet off" works as intended.
7101 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7102 New function.
7103 (top level): Call it.
7104 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7105 remote fast-tracepoints-packet off" works as intended.
7106 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7107 * lib/gdb.exp (gdb_is_target_remote): ... here.
7108
2abc3f8d
DB
71092014-04-24 David Blaikie <dblaikie@gmail.com>
7110
7111 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7112 ensure clang would not discard them.
7113 * gdb.base/gdbvars.c: Ditto.
7114 * gdb.base/memattr.c: Ditto.
7115 * gdb.base/whatis.c: Ditto.
7116 * gdb.python/py-prettyprint.c: Ditto.
7117 * gdb.trace/actions.c: Ditto.
7118 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7119 ensure clang would not discard it.
7120
bfd39632
DB
71212014-04-24 David Blaikie <dblaikie@gmail.com>
7122
7123 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7124 clang to emit the full definition of type required by the test
7125 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7126
22842ff6
DB
71272014-04-24 David Blaikie <dblaikie@gmail.com>
7128
7129 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7130 coax Clang into emitting the definition of the type.
7131 * gdb.cp/pr10728-x.h (y): Ditto.
7132 * gdb.cp/pr10728-y.cc (y): Ditto.
7133
c2e827ad
DB
71342014-04-24 David Blaikie <dblaikie@gmail.com>
7135
7136 * gdb.base/label.exp: XFAIL label related tests under Clang.
7137 * gdb.cp/cplabel.exp: Ditto.
7138 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7139 under Clang those using labels.
7140
4c2d33e7
YQ
71412014-04-25 Yao Qi <yao@codesourcery.com>
7142
7143 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7144 double_label.
7145 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7146 partial_label and double_label.
7147
56083b99
DB
71482014-04-24 David Blaikie <dblaikie@gmail.com>
7149
7150 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7151
25d4e99d
DB
71522014-04-24 David Blaikie <dblaikie@gmail.com>
7153
7154 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7155 of the function to work across GCC and Clang.
7156 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7157 pointer types (const void ** const V void **).
7158
01f9f808
MS
71592014-04-24 Michael Sturm <michael.sturm@mintel.com>
7160 Walfred Tedeschi <walfred.tedeschi@intel.com>
7161
7162 * Makefile.in (EXECUTABLES): Added i386-avx512.
7163 * gdb.arch/i386-avx512.c: New file.
7164 * gdb.arch/i386-avx512.exp: Likewise.
7165
4b48d439
KS
71662014-04-23 Keith Seitz <keiths@redhat.com>
7167
7168 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7169 (mi_make_breakpoint_table): New procedure.
7170 (mi_create_breakpoint): Use mi_make_breakpoint
7171 and return the result.
7172 (mi_make_breakpoint): New procedure.
7173 (mi_build_kv_pairs): New procedure.
7174
7175 * gdb.mi/mi-break.exp: Remove unused globals,
7176 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7177 All callers updated.
7178 * gdb.mi/mi-dprintf.exp: Use variable to track command
7179 number.
7180 Update all callers of mi_create_breakpoint and use
7181 mi_make_breakpoint_table.
7182 Remove any unused global variables.
7183 * gdb.mi/mi-nonstop.exp: Likewise.
7184 * gdb.mi/mi-nsintrall.exp: Likewise.
7185 * gdb.mi/mi-nsmoribund.exp: Likewise.
7186 * gdb.mi/mi-nsthrexec.exp: Likewise.
7187 * gdb.mi/mi-reverse.exp: Likewise.
7188 * gdb.mi/mi-simplerun.exp: Likewise.
7189 * gdb.mi/mi-stepn.exp: Likewise.
7190 * gdb.mi/mi-syn-frame.exp: Likewise.
7191 * gdb.mi/mi-until.exp: Likewise.
7192 * gdb.mi/mi-var-cp.exp: Likewise.
7193 * gdb.mi/mi-var-display.exp: Likewise.
7194 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7195 * gdb.mi/mi2-var-child.exp: Likewise.
7196 * gdb.mi/mi-vla-c99.exp: Likewise.
7197 * lib/mi-support.exp: Likewise.
7198
7199 From Ian Lance Taylor <iant@cygnus.com>:
7200 * lib/gdb.exp (parse_args): New procedure.
7201
08351840
PA
72022014-04-23 Pedro Alves <palves@redhat.com>
7203
7204 * gdb.base/break-unload-file.c: New file.
7205 * gdb.base/break-unload-file.exp: New file.
7206 * gdb.base/sym-file-lib.c (baz): New function.
7207 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7208 field.
7209 (load): Store the segment's mapped size.
7210 (unload): New function.
7211 (unload_shlib): New function.
7212 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7213 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7214 set a breakpoint at baz, and call it.
7215 * gdb.base/sym-file.exp: New tests for stale breakpoint
7216 instructions.
7217
076855f9
PA
72182014-04-23 Pedro Alves <palves@redhat.com>
7219
7220 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7221 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7222 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7223 * gdb.base/hbreak-unmapped.c: New file.
7224 * gdb.base/hbreak-unmapped.exp: New file.
7225 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7226 * lib/gdb.exp (gdb_is_target_remote): ... here.
7227
483805cf
PA
72282014-04-22 Pedro Alves <palves@redhat.com>
7229
7230 * gdb.base/consecutive-step-over.c: New file.
7231 * gdb.base/consecutive-step-over.exp: New file.
7232
06d97543
PA
72332014-04-22 Pedro Alves <palves@redhat.com>
7234
7235 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7236 instead of send_gdb/gdb_expect.
7237
b4429ea2
YQ
72382014-04-22 Yao Qi <yao@codesourcery.com>
7239
7240 * lib/trace-support.exp (generate_tracefile): New procedure.
7241 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7242 return 0.
7243 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7244 if generate_tracefile returns 1.
7245
51d48146
PA
72462014-04-18 Tom Tromey <palves@redhat.com>
7247 Pedro alves <tromey@redhat.com>
7248
7249 PR backtrace/15558
7250 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7251 with a backtrace limit.
7252 * gdb.python/py-frame-inline.exp: Test running to an inline
7253 function with a backtrace limit, and printing the newest frame.
7254 * gdb.python/py-frame-inline.c (main): Call f.
7255
bd1dce5f
MS
72562014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7257
7258 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7259
40d1a503
MS
72602014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7261
7262 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7263 Drop prefix from unsupported source file path.
7264
389b98f7
YQ
72652014-04-17 Yao Qi <yao@codesourcery.com>
7266
7267 * lib/gdb.exp (with_target_charset): New proc.
7268 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7269 with_target_charset.
7270 (test_print_strings): Likewise.
7271 (test_repeat_bytes): Likewise.
7272 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7273 for some tests.
7274
22869d73
KS
72752014-04-16 Keith Seitz <keiths@redhat.com>
7276
7277 PR gdb/15827
7278 * gdb.dwarf2/corrupt.c: New file.
7279 * gdb.dwarf2/corrupt.exp: New file.
7280
c4f87ca6
KS
72812014-04-16 Keith Seitz <keiths@redhat.com>
7282
7283 PR c++/16597
7284 * gdb.cp/namelessclass.cc: New file.
7285 * gdb.cp/namelessclass.exp: New file.
7286 * gdb.cp/namelessclass.S: New file.
7287
ab19de87
DE
72882014-04-16 Doug Evans <dje@google.com>
7289
7290 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7291 Add comment.
7292 (gdbserver_default_get_comm_port): New function.
7293 (gdbserver_start): Check if board file provided
7294 "gdbserver,get_comm_port" and use it if so.
7295 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7296 (gdb,socketport): Set to "stdio".
7297 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7298 (stdio_gdbserver_template): Delete.
7299 (${board}_get_remote_address): Update.
7300 (${board}_build_remote_cmd): Delete.
7301 (${board}_get_comm_port): New function.
7302 (${board}_spawn): Update.
7303 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7304 Delete.
7305 (${board}_get_remote_address): Update.
7306 (${board}_get_comm_port): New function.
7307
fc98a809
AB
73082014-04-16 Andrew Burgess <aburgess@broadcom.com>
7309
7310 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7311 appearing in any order.
7312
87fd9e6e
DE
73132014-04-15 Doug Evans <dje@google.com>
7314
7315 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7316 uninitialized value of "description".
7317
099fc3ea
KS
73182014-04-15 Keith Seitz <keiths@redhat.com>
7319
7320 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7321 Remove unused globals.
7322 (test_running_the_program): Likewise.
7323 (test_controlled_execution): Likewise.
7324 (test_controlling_breakpoints): Likewise.
7325 (test_program_termination): Likewise.
7326
5da151d4
KS
73272014-04-15 Keith Seitz <keiths@redhat.com>
7328
7329 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7330 unused globals.
7331 (test_rbreak_creation_and_listing): Likewise.
7332 (test_ignore_count): Likewise.
7333 (test_error): Likewise.
7334
35e5d2f0
PA
73352014-04-15 Pedro Alves <palves@redhat.com>
7336
7337 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7338 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7339 sym-file-loader.c.
7340 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7341 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7342 to sym-file-loader.c.
7343 (struct library): Forward declare.
7344 (load_shlib, lookup_function): Change prototypes.
7345 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7346 (translate_offset): Remove declarations.
7347 (get_text_addr): New declaration.
7348 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7349 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7350 sym-file-loader.h.
7351 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7352 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7353 here from sym-file-loader.h.
7354 (struct library): New structure.
7355 (load_shlib, lookup_function): Change prototypes and adjust to
7356 work with a struct library.
7357 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7358 (translate_offset): Make static.
7359 (get_text_addr): New function.
7360 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7361
eb4c1710
PA
73622014-04-15 Pedro Alves <palves@redhat.com>
7363
7364 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7365
2d1baf52
PA
73662014-04-15 Pedro Alves <palves@redhat.com>
7367
7368 * gdb.base/sym-file-loader.c: Include <limits.h>.
7369 (SELF_LINK): New define.
7370 (get_origin): New function.
7371 (load_shlib): Use it.
7372 * gdb.base/sym-file.exp: Don't early return if the target is
7373 remote. Use runto_main, and issue fail is that fails. Use
7374 gdb_load_shlibs.
7375 (shlib_name): Delete.
7376 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7377
7dd6df01
PA
73782014-04-15 Pedro Alves <palves@redhat.com>
7379
7380 * gdb.base/sym-file.exp: Remove regex characters from test
7381 message. Don't refer to breakpoint numbers in test messages.
7382
b50c8614
KS
73832014-04-14 Keith Seitz <keiths@redhat.com>
7384
7385 PR c++/16253
7386 * gdb.cp/var-tag.cc: New file.
7387 * gdb.cp/var-tag.exp: New file.
7388 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7389 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7390 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7391 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7392
3d567982
TT
73932014-04-14 Tom Tromey <tromey@redhat.com>
7394
7395 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7396 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7397 type.
7398 * gdb.cp/enum-class.exp: New file.
7399 * gdb.cp/enum-class.cc: New file.
7400
0626fc76
TT
74012014-04-14 Tom Tromey <tromey@redhat.com>
7402
7403 * gdb.dwarf2/enum-type.exp: New file.
7404
dca325b3
SA
74052014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7406
7407 * gdb.mi/mi-vla-c99.exp: New file.
7408 * gdb.mi/vla.c: New file.
7409
5854b38a
SA
74102014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7411
7412 * gdb.base/vla-datatypes.c: New file.
7413 * gdb.base/vla-datatypes.exp: New file.
7414
463bb957
SA
74152014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7416
7417 * gdb.base/vla-ptr.c: New file.
7418 * gdb.base/vla-ptr.exp: New file.
7419
3dd170be
SA
74202014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7421
7422 * gdb.dwarf2/count.exp: New file.
7423
5ecaaa66
SA
74242014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7425
7426 * gdb.base/vla-sideeffect.c: New file.
7427 * gdb.base/vla-sideeffect.exp: New file.
7428
41f1ada5
DB
74292014-04-14 David Blaikie <dblaikie@gmail.com>
7430
7431 * gdb.mi/non-stop.c: Add return value for non-void function return
7432 statement.
7433 * gdb.threads/staticthreads.c: Ditto.
7434
0be03e84
DE
74352014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7436 Doug Evans <xdje42@gmail.com>
7437
7438 * gdb.guile/scm-value.c: Improve test case.
7439 * gdb.guile/scm-value.exp: Add new test.
7440
f180a1fb
DB
74412014-04-11 David Blaikie <dblaikie@gmail.com>
7442
7443 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7444 override Clang's default.
7445
6b662e19
JB
74462014-04-11 Joel Brobecker <brobecker@adacore.com>
7447
7448 Revert the following changes (regressions):
7449
7450 * gdb.base/vla-sideeffect.c: New file.
7451 * gdb.base/vla-sideeffect.exp: New file.
7452
7453 * gdb.dwarf2/count.exp: New file.
7454
7455 * gdb.base/vla-multi.c: New file.
7456 * gdb.base/vla-multi.exp: New file.
7457
7458 * gdb.base/vla-ptr.c: New file.
7459 * gdb.base/vla-ptr.exp: New file.
7460
7461 * gdb.base/vla-datatypes.c: New file.
7462 * gdb.base/vla-datatypes.exp: New file.
7463
7464 * gdb.mi/mi-vla-c99.exp: New file.
7465 * gdb.mi/vla.c: New file.
7466
245a5f0b
KS
74672014-04-11 Keith Seitz <keiths@redhat.com>
7468
7469 PR c++/16675
7470 * gdb.cp/cpsizeof.exp: New file.
7471 * gdb.cp/cpsizeof.cc: New file.
7472
58a84dcf
SA
74732014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7474
191a8a90
JB
7475 * gdb.mi/mi-vla-c99.exp: New file.
7476 * gdb.mi/vla.c: New file.
58a84dcf 7477
c8655f75
SA
74782014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7479
7480 * gdb.base/vla-datatypes.c: New file.
7481 * gdb.base/vla-datatypes.exp: New file.
7482
024e13b4
SA
74832014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7484
7485 * gdb.base/vla-ptr.c: New file.
7486 * gdb.base/vla-ptr.exp: New file.
7487
1a237e0e
SA
74882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7489
7490 * gdb.base/vla-multi.c: New file.
7491 * gdb.base/vla-multi.exp: New file.
7492
504f3432
SA
74932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7494
7495 * gdb.dwarf2/count.exp: New file.
7496
3bce8237
SA
74972014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7498
191a8a90
JB
7499 * gdb.base/vla-sideeffect.c: New file.
7500 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 7501
322f9c21
YQ
75022014-04-11 Yao Qi <yao@codesourcery.com>
7503
7504 * gdb.base/completion.exp: Check file exists before running tests
7505 on file completion.
7506
d708bcd1
PA
75072014-04-10 Pedro Alves <palves@redhat.com>
7508
7509 * gdb.base/cond-eval-mode.c: New file.
7510 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7511 prepare_for_testing to build the new file. Check result of
7512 runto_main.
7513 (test_break, test_watch): New procedures.
7514 (top level): Use them.
7515
ae1d2761
PM
75162014-04-08 Pierre Muller <muller@sourceware.org>
7517
7518 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7519 Ctrl-V use for mingw hosts.
7520
7af389b8
SC
75212014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7522
7523 * gdb.python/py-value.c: Improve test case.
7524 * gdb.python/py-value.exp: Add new test.
7525
5e703181
DE
75262014-04-07 David Blaikie <dblaikie@gmail.com>
7527
7528 * lib/compiler.c: Identify the clang compiler.
7529 * lib/compiler.cc: Ditto.
7530
9810b410
YQ
75312014-04-03 Yao Qi <yao@codesourcery.com>
7532
7533 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7534
98d1b8dc
AB
75352014-04-01 Anton Blanchard <anton@samba.org>
7536
7537 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7538 messages unique.
7539
3114cea1
AB
75402014-04-01 Anton Blanchard <anton@samba.org>
7541
7542 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7543 prepare_for_testing.
7544
62f7182c
AB
75452014-04-01 Anton Blanchard <anton@samba.org>
7546
7547 * gdb.arch/ppc64-atomic-inst.c: Remove.
7548 * gdb.arch/ppc64-atomic-inst.S: New file.
7549 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7550
770e7fc7
DE
75512014-03-31 Doug Evans <dje@google.com>
7552
7553 * gdb.base/print-symbol-loading-lib.c: New file.
7554 * gdb.base/print-symbol-loading-main.c: New file.
7555 * gdb.base/print-symbol-loading.exp: New file.
7556
46e2bafa
YQ
75572014-03-31 Yao Qi <yao@codesourcery.com>
7558
7559 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7560
8776cfe9
JB
75612014-03-28 Joel Brobecker <brobecker@adacore.com>
7562
7563 * gdb.ada/mi_dyn_arr: New testcase.
7564
5d1ef361
DE
75652014-03-27 Doug Evans <dje@google.com>
7566
7567 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7568
b5bee914
YQ
75692014-03-27 Yao Qi <yao@codesourcery.com>
7570
7571 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7572 if target is nios2-*-*.
7573
0d4d0e77
YQ
75742014-03-26 Yao Qi <yao@codesourcery.com>
7575
7576 * lib/gdb.exp (readline_is_used): New proc.
7577 * gdb.base/completion.exp: Move tests on command complete up.
7578 Skip the rest of tests if readline is not used.
7579 * gdb.ada/complete.exp: Skp the test if readline is not
7580 used.
7581 * gdb.base/filesym.exp: Likewise.
7582 * gdb.base/macscp.exp: Likewise.
7583 * gdb.base/readline-ask.exp: Likewise.
7584 * gdb.base/readline.exp: Likewise.
7585 * gdb.python/py-cmd.exp: Likewise.
7586 * gdb.trace/tfile.exp: Likewise.
7587
29361eee
YQ
75882014-03-26 Yao Qi <yao@codesourcery.com>
7589
7590 * gdb.base/macscp.exp: Fix code format issues.
7591
bc9a5525
UW
75922014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7593
7594 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7595 * gdb.asm/powerpc64le.inc: New file.
7596
d3839ede
PA
75972014-03-25 Pedro Alves <palves@redhat.com>
7598 Doug Evans <dje@google.com>
7599
7600 * gdb.base/source-execution.c: New file.
7601 * gdb.base/source-execution.exp: New file.
7602 * gdb.base/source-execution.gdb: New file.
7603
01672a57
DE
76042014-03-24 Doug Evans <dje@google.com>
7605
7606 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7607 using fission.
7608
88bbeca9
HZ
76092014-03-24 Hui Zhu <hui@codesourcery.com>
7610 Pedro Alves <palves@redhat.com>
7611
7612 PR breakpoints/16101
7613 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7614 test pass/fail messages. Detect missing support for dprintf when
7615 breakpoints are actually inserted.
7616 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7617 breakpoints are actually inserted.
7618 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7619 fails.
7620
d2348791
JK
76212014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7622
7623 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7624
feef67ab
DE
76252014-03-22 Doug Evans <xdje42@gmail.com>
7626
7627 * gdb.python/python.exp (python not supported): Verify multi-line
7628 python command issues an error.
25d743f9 7629 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 7630 guile command issues an error.
feef67ab 7631
ecebef6a
MR
76322014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7633
7634 * gdb.threads/thread-specific.exp: Handle the lack of usable
7635 $this_breakpoint and $this_thread.
7636
ccdd1909
HZ
76372014-03-21 Hui Zhu <hui@codesourcery.com>
7638
7639 * gdb.base/attach.exp (do_command_attach_tests): New.
7640
beb460e8
PA
76412014-03-20 Tom Tromey <tromey@redhat.com>
7642 Pedro Alves <palves@redhat.com>
7643
7644 PR cli/15718
7645 * gdb.base/condbreak-call-false.c: New file.
7646 * gdb.base/condbreak-call-false.exp: New file.
7647
40acf43a
PA
76482014-03-20 Pedro Alves <palves@redhat.com>
7649
7650 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7651 Delete.
7652 (block_signals, unblock_signals): Delete.
7653 (child_function_2, main): Remove references to deleted variable
7654 and functions.
7655
9f5e1e02
PA
76562014-03-20 Pedro Alves <palves@redhat.com>
7657
7658 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7659 Use pthread_kill to signal thread 2.
7660 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7661 Adjust to make the test send itself a signal rather than using the
7662 host's "kill" command.
7663
99619bea
PA
76642014-03-20 Pedro Alves <palves@redhat.com>
7665
7666 * gdb.threads/multiple-step-overs.c: New file.
7667 * gdb.threads/multiple-step-overs.exp: New file.
7668 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7669 Adjust expected infrun debug output.
7670
2adfaa28
PA
76712014-03-20 Pedro Alves <palves@redhat.com>
7672
7673 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7674 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7675
31e77af2
PA
76762014-03-20 Pedro Alves <palves@redhat.com>
7677
7678 PR breakpoints/7143
7679 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7680 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7681 of gdb_test_multiple.
7682 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7683 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7684
b9f437de
PA
76852014-03-20 Pedro Alves <palves@redhat.com>
7686
7687 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7688 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7689
05adc73e
PA
76902014-03-19 Pedro Alves <palves@redhat.com>
7691
7692 * gdb.base/async.exp: Remove early return.
7693
6048b950
PA
76942014-03-19 Pedro Alves <palves@redhat.com>
7695
7696 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7697
8bcfb00a
PA
76982014-03-19 Pedro Alves <palves@redhat.com>
7699
7700 * gdb.base/async.exp (test_background): Expect \r\n after
7701 "completed." in the fail pattern.
7702
884e37dc
PA
77032014-03-19 Pedro Alves <palves@redhat.com>
7704
7705 * gdb.base/async.exp (test_background): New procedure.
7706 Use it for all background execution command tests.
7707
148e57e2
PA
77082014-03-19 Pedro Alves <palves@redhat.com>
7709
7710 * gdb.base/async.exp: Use prepare_for_testing.
7711
f48088c7
PA
77122014-03-19 Pedro Alves <palves@redhat.com>
7713
7714 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7715 the same line.
7716
e2f6c966
PA
77172014-03-19 Pedro Alves <palves@redhat.com>
7718
7719 * gdb.base/async.c (main): Add "jump here" and "until here" line
7720 marker comments.
7721 * gdb.base/async.exp (jump_here): New global.
7722 (jump& test): Use it.
7723 (until_here): New global.
7724 (until& test): Use it.
7725
c30568d4
PA
77262014-03-19 Pedro Alves <palves@redhat.com>
7727
7728 * gdb.base/async.exp: Don't frob gdb_protocol.
7729
0172b6a7
DE
77302014-03-18 Doug Evans <xdje42@gmail.com>
7731
7732 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7733 Fix spelling of exec-done-display.
7734
06c868a8
JK
77352014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7736
7737 PR gdb/15358
7738 * gdb.base/gdb-sigterm.c: New file.
7739 * gdb.base/gdb-sigterm.exp: New file.
7740
0c7e1a46
PA
77412014-03-18 Pedro Alves <palves@redhat.com>
7742
7743 PR gdb/13860
7744 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7745 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7746 solib-event.
7747
f7c77d93
JB
77482014-03-17 Joel Brobecker <brobecker@adacore.com>
7749
7750 * gdb.ada/pckd_arr_ren: New testcase.
7751
5a1e8c7a
DE
77522014-03-13 Doug Evans <xdje42@gmail.com>
7753
7754 PR guile/16612
7755 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7756 collect after discarding symbols.
7757
350e1a76
DE
77582014-03-13 Ludovic Courtès <ludo@gnu.org>
7759 Doug Evans <xdje42@gmail.com>
7760
7761 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7762 to history survives a gc.
7763
a69900ae
PA
77642014-03-13 Pedro Alves <palves@redhat.com>
7765
7766 * gdb.base/default.exp: Don't test "target procfs".
7767
5db9f0bd
PA
77682014-03-13 Pedro Alves <palves@redhat.com>
7769
7770 * gdb.base/default.exp: Update "target child" and "target procfs"
7771 tests to not expect "Unix".
7772
b3ccfe11
TT
77732014-03-12 Tom Tromey <tromey@redhat.com>
7774
7775 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7776 New procs. Add target-async tests.
7777 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7778 Add target-async tests.
7779
646f4417
AA
77802014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7781
7782 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7783 'func_start' and 'func_end' for the beginning and end of the
7784 function code, respectively.
7785 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7786 'func_end' instead of 'func' and 'main'.
7787
288c211f
AA
77882014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7789
7790 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7791 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7792 generate the debug info assembler source.
7793
e0c0f156
AA
77942014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7795
7796 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7797 * gdb.dwarf2/arr-subrange.exp: Likewise.
7798 * gdb.dwarf2/dwz.exp: Likewise.
7799 * gdb.dwarf2/method-ptr.exp: Likewise.
7800 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7801 * gdb.dwarf2/subrange.exp: Likewise.
7802 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7803 * gdb.dwarf2/implptrpiece.exp: Likewise.
7804 * gdb.dwarf2/nostaticblock.exp: Likewise.
7805
0e5c4555
AA
78062014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7807
7808 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7809 directory to absolute path name arguments.
7810
5ec18f2b
JG
78112014-03-10 Joel Brobecker <brobecker@adacore.com>
7812
7813 * gdb.ada/tagged_access: New testcase.
7814
847fc4f2
MM
78152014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7816
7817 * gdb.btrace/data.exp: Update expected output.
7818
cc3da688
YQ
78192014-03-06 Yao Qi <yao@codesourcery.com>
7820
7821 * gdb.trace/pr16508.exp: New file.
7822
0f26cec1
PA
78232014-03-05 Pedro Alves <palves@redhat.com>
7824
7825 PR gdb/16575
7826 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7827 procedure.
7828 (top level): Adjust to use it. Add tests that exercise breakpoint
7829 interaction with the code-cache.
7830
7a5a839f
LC
78312014-02-26 Ludovic Courtès <ludo@gnu.org>
7832
7833 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7834 test for 'history-append!'.
7835
31aa7e4e
JB
78362014-02-26 Joel Brobecker <brobecker@adacore.com>
7837
7838 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7839 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7840 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7841 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7842 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7843 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7844
1b588015
JB
78452014-02-26 Joel Brobecker <brobecker@adacore.com>
7846
7847 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7848 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7849 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7850
55426c9d
JB
78512014-02-26 Joel Brobecker <brobecker@adacore.com>
7852
7853 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7854
dc53a7ad
JB
78552014-02-26 Joel Brobecker <brobecker@adacore.com>
7856
7857 * gdb.dwarf2/arr-stride.c: New file.
7858 * gdb.dwarf2/arr-stride.exp: New file.
7859
12ab52e9
PA
78602014-02-26 Pedro Alves <palves@redhat.com>
7861
7862 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7863 that won't ever trigger. Make sure that GDB reports the correct
7864 breakpoint that caused the stop.
7865
849c862e
JK
78662014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7867
7868 PR gdb/16626
7869 * gdb.base/auto-load-script: New file.
7870 * gdb.base/auto-load.c: New file.
7871 * gdb.base/auto-load.exp: New file.
7872
71b7d793
JK
7873 PR gdb/16626
7874 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7875
e2f0d509
JK
78762014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7877
7878 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7879 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7880
50cc37c8
DE
78812014-02-24 Doug Evans <dje@google.com>
7882
7883 * lib/gdb.exp (run_on_host): Log error output if program fails.
7884
ea4758f2
PA
78852014-02-21 Pedro Alves <palves@redhat.com>
7886
7887 * gdb.threads/step-after-sr-lock.c: Rename to ...
7888 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7889 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7890 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7891 ... this.
7892
d7b30f67
SDJ
78932014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7894
7895 PR tdep/16397
7896 * gdb.arch/amd64-stap-special-operands.exp: New file.
7897 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7898 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7899 * gdb.arch/amd64-stap-triplet.S: Likewise.
7900 * gdb.arch/amd64-stap-triplet.c: Likewise.
7901
83deb43f
JB
79022014-02-20 Joel Brobecker <brobecker@adacore.com>
7903
7904 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7905 in .section pseudo-op.
7906
adde2bff
DE
79072014-02-20 lin zuojian <manjian2006@gmail.com>
7908 Joel Brobecker <brobecker@adacore.com>
7909 Doug Evans <xdje42@gmail.com>
7910
7911 PR symtab/16581
7912 * gdb.dwarf2/dw2-icycle.S: New file.
7913 * gdb.dwarf2/dw2-icycle.c: New file.
7914 * gdb.dwarf2/dw2-icycle.exp: New file.
7915
f7bd0f78
SC
79162014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7917
7918 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7919 operations on gdb.Value objects.
7920 * gdb.python/py-value-cc.exp: Add new test to test operations on
7921 gdb.Value objects.
7922
c17ef0d5
DE
79232014-02-18 Doug Evans <dje@google.com>
7924
7925 * Makefile.in (TESTS): New variable.
7926 (expanded_tests, expanded_tests_or_none): New variables
7927 (check-single): Pass $(expanded_tests_or_none) to runtest.
7928 (check-parallel): Only run tests in $(TESTS) if non-empty.
7929 (check/no-matching-tests-found): New rule.
7930 * README: Document TESTS makefile variable.
7931
5dd3176f
DE
79322014-02-18 Doug Evans <dje@google.com>
7933
7934 * Makefile.in (check-parallel): rm -rf outputs temp.
7935
0b10be4f
JK
79362014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7937
7938 Fix "ERROR: no fileid for" in the testsuite.
7939 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7940
85f224e7
DE
79412014-02-12 Doug Evans <dje@google.com>
7942
7943 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7944 (MISCELLANEOUS): New variable.
7945 (clean): rm -rf $(MISCELLANEOUS).
7946 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7947 dwp live in the same directory as symlinks, with each symlink pointed
7948 to a differently named file in a different directory.
7949
149b30ff
DE
79502014-02-11 Doug Evans <dje@google.com>
7951
7952 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7953 of Tcl file commands.
7954
1dfdac32
MK
79552014-02-10 Mark Kettenis <kettenis@gnu.org>
7956
7957 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7958 "kill -SIGUSR1 -1".
7959
aa4fb036
JB
79602014-02-10 Joel Brobecker <brobecker@adacore.com>
7961
7962 * gdb.ada/tick_length_array_enum_idx: New testcase.
7963
ed3ef339
DE
79642014-02-10 Doug Evans <xdje42@gmail.com>
7965
7966 * configure.ac (AC_OUTPUT): Add gdb.guile.
7967 * configure: Regenerate.
7968 * lib/gdb-guile.exp: New file.
7969 * lib/gdb.exp (get_target_charset): New function.
7970 * gdb.base/help.exp: Update expected output from "apropos apropos".
7971 * gdb.guile/Makefile.in: New file.
7972 * gdb.guile/guile.exp: New file.
7973 * gdb.guile/scm-arch.c: New file.
7974 * gdb.guile/scm-arch.exp: New file.
7975 * gdb.guile/scm-block.c: New file.
7976 * gdb.guile/scm-block.exp: New file.
7977 * gdb.guile/scm-breakpoint.c: New file.
7978 * gdb.guile/scm-breakpoint.exp: New file.
7979 * gdb.guile/scm-disasm.c: New file.
7980 * gdb.guile/scm-disasm.exp: New file.
7981 * gdb.guile/scm-equal.c: New file.
7982 * gdb.guile/scm-equal.exp: New file.
7983 * gdb.guile/scm-error.exp: New file.
7984 * gdb.guile/scm-error.scm: New file.
7985 * gdb.guile/scm-frame-args.c: New file.
7986 * gdb.guile/scm-frame-args.exp: New file.
7987 * gdb.guile/scm-frame-args.scm: New file.
7988 * gdb.guile/scm-frame-inline.c: New file.
7989 * gdb.guile/scm-frame-inline.exp: New file.
7990 * gdb.guile/scm-frame.c: New file.
7991 * gdb.guile/scm-frame.exp: New file.
7992 * gdb.guile/scm-generics.exp: New file.
7993 * gdb.guile/scm-gsmob.exp: New file.
7994 * gdb.guile/scm-iterator.c: New file.
7995 * gdb.guile/scm-iterator.exp: New file.
7996 * gdb.guile/scm-math.c: New file.
7997 * gdb.guile/scm-math.exp: New file.
7998 * gdb.guile/scm-objfile-script-gdb.in: New file.
7999 * gdb.guile/scm-objfile-script.c: New file.
8000 * gdb.guile/scm-objfile-script.exp: New file.
8001 * gdb.guile/scm-objfile.c: New file.
8002 * gdb.guile/scm-objfile.exp: New file.
8003 * gdb.guile/scm-ports.exp: New file.
8004 * gdb.guile/scm-pretty-print.c: New file.
8005 * gdb.guile/scm-pretty-print.exp: New file.
8006 * gdb.guile/scm-pretty-print.scm: New file.
8007 * gdb.guile/scm-section-script.c: New file.
8008 * gdb.guile/scm-section-script.exp: New file.
8009 * gdb.guile/scm-section-script.scm: New file.
8010 * gdb.guile/scm-symbol.c: New file.
8011 * gdb.guile/scm-symbol.exp: New file.
8012 * gdb.guile/scm-symtab-2.c: New file.
8013 * gdb.guile/scm-symtab.c: New file.
8014 * gdb.guile/scm-symtab.exp: New file.
8015 * gdb.guile/scm-type.c: New file.
8016 * gdb.guile/scm-type.exp: New file.
8017 * gdb.guile/scm-value-cc.cc: New file.
8018 * gdb.guile/scm-value-cc.exp: New file.
8019 * gdb.guile/scm-value.c: New file.
8020 * gdb.guile/scm-value.exp: New file.
8021 * gdb.guile/source2.scm: New file.
8022 * gdb.guile/types-module.cc: New file.
8023 * gdb.guile/types-module.exp: New file.
8024
7026a7c1
YQ
80252014-02-10 Yao Qi <yao@codesourcery.com>
8026
8027 PR testsuite/16543
8028 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8029 * configure: Regenerated.
8030 * Makefile.in: New file.
8031
6c466447
AS
80322014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8033
8034 * gdb.python/py-framefilter.exp: Fix typo.
8035
6e854735
YQ
80362014-02-08 Yao Qi <yao@codesourcery.com>
8037
8038 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8039 that no =breakpoint-modified is emitted when breakpoints are
8040 modified through MI commands.
8041
d137e6dc
PA
80422014-02-07 Pedro Alves <pedro@codesourcery.com>
8043 Pedro Alves <palves@redhat.com>
8044
8045 * gdb.threads/step-after-sr-lock.c: New file.
8046 * gdb.threads/step-after-sr-lock.exp: New file.
8047
b5ee5a50
PA
80482014-02-07 Pedro Alves <palves@redhat.com>
8049
8050 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8051
3c77faf3
JK
80522014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8053
8054 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8055 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8056
6dddc817
DE
80572014-02-06 Doug Evans <xdje42@gmail.com>
8058
8059 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8060 output.
8061
8062 * gdb.gdb/python-interrupts.exp: New file.
8063
de7b2893
YQ
80642014-02-05 Yao Qi <yao@codesourcery.com>
8065
8066 * gdb.trace/report.exp (use_collected_data): Test the output
8067 of "info threads" and "info inferiors".
8068
66d032ac
YQ
80692014-02-05 Yao Qi <yao@codesourcery.com>
8070
8071 Revert this patch:
8072
8073 2013-05-24 Yao Qi <yao@codesourcery.com>
8074
8075 * gdb.trace/tfile.exp: Test inferior and thread.
8076
591a12a1
UW
80772014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8078
8079 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8080 on a function.
8081 * gdb.base/step-bt.c: Call hello via function pointer to make
8082 sure its first instruction is executed on powerpc64le-linux.
8083
0ff3e01f
UW
80842014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8085
8086 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8087
084ee545
UW
80882014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8089
8090 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8091 of the test patterns for use on little-endian systems.
8092
6ed14ff3
UW
80932014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8094
8095 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8096 (decimal_vector): Fix for little-endian.
8097
401e27fd
JM
80982014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8099
8100 * gdb.arch/sparc-sysstep.exp: New file.
8101 * gdb.arch/sparc-sysstep.c: Likewise.
8102
8103 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8104
8b924729
EBM
81052014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8106
8107 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8108
fb151210
JB
81092014-01-23 Tom Tromey <tromey@redhat.com>
8110
8111 * gdb.ada/array_char_idx: New testcase.
8112
0740f8d8
TT
81132014-01-23 Tom Tromey <tromey@redhat.com>
8114
8115 PR python/16487:
8116 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8117 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8118 classes.
8119
21909fa1
TT
81202014-01-23 Tom Tromey <tromey@redhat.com>
8121
8122 PR python/16491:
8123 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8124 string from an inferior frame.
8125 * gdb.python/py-framefilter-mi.exp: Update.
8126
87ce2a04
DE
81272014-01-22 Doug Evans <dje@google.com>
8128
8129 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8130
237b092b
AA
81312014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8132
8133 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8134
d674a709
AA
81352014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8136
8137 * gdb.trace/entry-values.exp: Remove excess space character from
8138 regex patterns. Handle s390 call instruction.
8139
20fa3390
AA
81402014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8141
8142 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8143 define "*_start" label. Make "name" static.
8144 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8145 ${name} by references to ${name}_start.
8146
78466714
AA
81472014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8148
8149 * gdb.base/info-macros.exp: Remove "debug" from the compile
8150 options.
8151
ec9f644a
IB
81522014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8153
8154 * gdb.dlang/demangle.exp: New file.
8155
94b1b47e
IB
81562014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8157
8158 * gdb.dlang/primitive-types.exp: New file.
8159
7f420862
IB
81602014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8161
8162 * configure.ac: Create gdb.dlang/Makefile.
8163 * configure: Regenerate.
8164 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8165 * gdb.dlang/Makefile.in: New file.
8166 * lib/d-support.exp: New file.
8167 * lib/gdb.exp (skip_d_tests): New proc.
8168
52834460
MM
81692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8170
8171 * gdb.btrace/delta.exp: Check reverse stepi.
8172 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8173 * gdb.btrace/finish.exp: New.
8174 * gdb.btrace/next.exp: New.
8175 * gdb.btrace/nexti.exp: New.
8176 * gdb.btrace/record_goto.c: Add comments.
8177 * gdb.btrace/step.exp: New.
8178 * gdb.btrace/stepi.exp: New.
8179 * gdb.btrace/multi-thread-step.c: New.
8180 * gdb.btrace/multi-thread-step.exp: New.
8181 * gdb.btrace/rn-dl-bind.c: New.
8182 * gdb.btrace/rn-dl-bind.exp: New.
8183 * gdb.btrace/data.c: New.
8184 * gdb.btrace/data.exp: New.
8185 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8186
6e07b1d2
MM
81872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8188
8189 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8190 * gdb.btrace/exception.exp: Update.
8191 * gdb.btrace/instruction_history.exp: Update.
8192 * gdb.btrace/record_goto.exp: Update.
8193 * gdb.btrace/tailcall.exp: Update.
8194 * gdb.btrace/unknown_functions.exp: Update.
8195 * gdb.btrace/delta.exp: New.
8196
0b722aec
MM
81972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8198
8199 * gdb.btrace/record_goto.exp: Add backtrace test.
8200 * gdb.btrace/tailcall.exp: Add backtrace test.
8201
066ce621
MM
82022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8203
8204 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8205 * gdb.btrace/record_goto.c: New.
8206 * gdb.btrace/record_goto.exp: New.
8207 * gdb.btrace/x86-record_goto.S: New.
8208
0688d04e
MM
82092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8210
8211 * gdb.btrace/function_call_history.exp: Update tests.
8212 * gdb.btrace/instruction_history.exp: Update tests.
8213
8710b709
MM
82142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8215
8216 * gdb.btrace/function_call_history.exp: Fix expected field
8217 order for "record function-call-history".
8218 Add new tests for "record function-call-history /c".
8219 * gdb.btrace/exception.cc: New.
8220 * gdb.btrace/exception.exp: New.
8221 * gdb.btrace/tailcall.exp: New.
8222 * gdb.btrace/x86-tailcall.S: New.
8223 * gdb.btrace/x86-tailcall.c: New.
8224 * gdb.btrace/unknown_functions.c: New.
8225 * gdb.btrace/unknown_functions.exp: New.
8226 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8227
5de9129b
MM
82282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8229
8230 * gdb.btrace/instruction_history.exp: Update.
8231 * gdb.btrace/function_call_history.exp: Update.
8232
23a7fe75
MM
82332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8234
8235 * gdb.btrace/function_call_history.exp: Fix expected function
8236 trace.
8237 * gdb.btrace/instruction_history.exp: Initialize traced.
8238 Remove traced_functions.
8239
724c7dd8
MM
82402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8241
8242 * gdb.btrace/function_call_history.exp: Update
8243 * gdb.btrace/instruction_history.exp: Update.
8244
6d78d93b
MM
82452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8246
8247 * gdb.btrace/enable.exp: Update expected text.
8248
93a360cc
OJ
82492014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8250
8251 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8252 bytes.
8253
3772b53f
MR
82542014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8255
8256 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8257
596662fa
OJ
82582014-01-15 Omair Javaid <omair.javaid@linaro.org>
8259
8260 * lib/gdb.exp (supports_process_record): Return true for
8261 arm*-linux*. (supports_reverse): Likewise.
8262
b5b08fb4
SC
82632014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8264
8265 PR python/15464
8266 PR python/16113
8267 * gdb.python/py-type.c: Enhance test case.
8268 * gdb.python/py-value-cc.cc: Likewise
8269 * gdb.python/py-type.exp: Add new tests.
8270 * gdb.python/py-value-cc.exp: Likewise
8271
52d7fb13
AA
82722014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8273 Pedro Alves <palves@redhat.com>
8274
8275 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8276 Make "name" extern.
8277 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8278 references to ${name}_start by references to ${name}.
8279
a2cd8cfe
JB
82802014-01-10 Joel Brobecker <brobecker@adacore.com>
8281
8282 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8283
4e23fced
JB
82842014-01-10 Joel Brobecker <brobecker@adacore.com>
8285
8286 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8287
c6a9e42c
PA
82882014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8289 Pedro Alves <palves@redhat.com>
8290
8291 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8292 mi_gdb_target_load.
c6a9e42c 8293
b7ea362b
PA
82942014-01-08 Pedro Alves <palves@redhat.com>
8295
8296 * gdb.threads/reconnect-signal.c: New file.
8297 * gdb.threads/reconnect-signal.exp: New file.
8298
5e3f4fab
EBM
82992014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8300
8301 * gdb.base/source-dir.exp: New file.
8302
79301218
JB
83032014-01-07 Joel Brobecker <brobecker@adacore.com>
8304
8305 * gdb.ada/mi_interface: New testcase.
8306
8e355c5d
JB
83072014-01-07 Joel Brobecker <brobecker@adacore.com>
8308
8309 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8310 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8311 gdb.ada/pp-rec-component/pck.ads: New files.
8312
c0d48811
JB
83132014-01-07 Joel Brobecker <brobecker@adacore.com>
8314
8315 * gdb.python/py-pp-integral.c: New file.
8316 * gdb.python/py-pp-integral.py: New file.
8317 * gdb.python/py-pp-integral.exp: New file.
8318
17b609c3 8319For older changes see ChangeLog-1993-2013.
c906108c 8320\f
8d8cb839
EZ
8321;; Local Variables:
8322;; mode: change-log
8323;; left-margin: 8
8324;; fill-column: 74
8325;; version-control: never
8326;; End:
902f2ccb 8327
618f726f 8328 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8329 Copying and distribution of this file, with or without modification,
8330 are permitted provided the copyright notice and this notice are preserved.
This page took 2.720566 seconds and 4 git commands to generate.