]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
66849923
MM
12015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2
3 * gdb.btrace/next.exp: Merged into step.exp.
4 * gdb.btrace/finish.exp: Merged into step.exp.
5 * gdb.btrace/nexti.exp: Merged into stepi.exp.
6 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
7 "record goto" and checking the exact replay position.
8 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
9 check for "Recording format" in "info record" output.
10 * gdb.btrace/record_goto.exp: Choose test file based on target.
11 * gdb.btrace/x86-record_goto.S: Renamed into ...
12 * gdb.btrace/x86_64-record_goto.S: ... this.
13 * gdb.btrace/i686-record_goto.S: New.
14 * gdb.btrace/x86-tailcall.S: Renamed into ...
15 * gdb.btrace/x86_64-tailcall.S: ... this.
16 * gdb.btrace/i686-tailcall.S: New.
17 * gdb.btrace/x86-tailcall.c: Renamed into ...
18 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19 separate statements. Update test.
20 * gdb.btrace/delta.exp: Use record_goto.c as test file.
21 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
22 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
23 * gdb.btrace/tailcall.exp: Choose test file based on target.
24 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
25
11cc1b74
MM
262015-03-25 Markus Metzger <markus.t.metzger@intel.com>
27
28 * gdb.btrace/exception.exp: Increase BTS buffer size.
29
a25d8bf9
PA
302015-03-24 Pedro Alves <palves@redhat.com>
31
32 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
33
856e7dd6
PA
342015-03-24 Pedro Alves <palves@redhat.com>
35
36 * gdb.threads/schedlock.exp (test_step): No longer expect that
37 "set scheduler-locking step" with "next" over a function call runs
38 threads unlocked.
39
ad235a41
AT
402015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
41
42 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
43
15630549
AT
442015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
45
46 PR breakpoints/16466
47 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
48 * gdb.mi/mi-pending.c (thread_func): New function.
49 (int main): Add threading support required.
50 * gdb.mi/mi-pending.exp: Add tests for this issue.
51 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
52 (pendfunc2): Remove stdio dependency.
53 * gdb.mi/mi-pendshr2.c: New file.
54
693dca06
KS
552015-03-23 Keith Seitz <keiths@redhat.com>
56
57 * gdb.linespec/keywords.c: New file.
58 * gdb.linespec/keywords.exp: New file.
59
7e993ebf
KS
602015-03-23 Keith Seitz <keiths@redhat.com>
61
62 PR gdb/18021
63 * gdb.dwarf2/staticvirtual.exp: New test.
64
bc23328c
JK
652015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
66
67 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
68 * README: Remove HP-UX and gdb.hp.
69 (configuration):
70 * configure: Regenerate.
71 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
72 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
73 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
74 gdb.hp/gdb.defects/Makefile.
75 * gdb.hp/Makefile.in: File deleted.
76 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
77 * gdb.hp/gdb.aCC/optimize.c: File deleted.
78 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
79 * gdb.hp/gdb.aCC/run.c: File deleted.
80 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
81 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
82 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
83 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
84 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
85 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
86 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
87 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
88 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
89 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
90 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
91 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
92 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
93 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
94 * gdb.hp/gdb.base-hp/reg.s: File deleted.
95 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
96 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
97 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
98 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
99 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
100 * gdb.hp/gdb.compat/Makefile.in: File deleted.
101 * gdb.hp/gdb.compat/average.c: File deleted.
102 * gdb.hp/gdb.compat/sum.c: File deleted.
103 * gdb.hp/gdb.compat/xdb.c: File deleted.
104 * gdb.hp/gdb.compat/xdb0.c: File deleted.
105 * gdb.hp/gdb.compat/xdb0.h: File deleted.
106 * gdb.hp/gdb.compat/xdb1.c: File deleted.
107 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
108 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
109 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
110 * gdb.hp/gdb.defects/Makefile.in: File deleted.
111 * gdb.hp/gdb.defects/bs14602.c: File deleted.
112 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
113 * gdb.hp/gdb.defects/solib-d.c: File deleted.
114 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
115 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
116 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
117 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
118 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
119 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
120 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
121 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
122 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
123 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
124 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
125 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
126 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
127 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
128 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
129 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
130 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
131 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
132 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
133 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
134 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
135 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
136 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
137 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
138 * gdb.hp/tools/odump: File deleted.
139
8bf3b159
PA
1402015-03-19 Pedro Alves <palves@redhat.com>
141
142 * gdb.threads/continue-pending-status.exp (saw_thread_2)
143 (saw_thread_3): New globals.
144 (top level): Increment them when an event for the corresponding
145 thread is seen.
146 (no thread starvation): New test.
147
eb54c8bf
PA
1482015-03-19 Pedro Alves <palves@redhat.com>
149
150 * gdb.threads/continue-pending-status.c: New file.
151 * gdb.threads/continue-pending-status.exp: New file.
152
32d2e5d6
PA
1532015-03-18 Pedro Alves <palves@redhat.com>
154
155 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
156 Use gdb_is_target_remote instead of is_remote. Use
157 gdb_test_multiple instead of gdb_expect. Exit early if
158 gdb_test_multiple hits its internal matches. Tighten stepi tests
159 expected output. Fail on exit with any signal, instead of just
160 SIGILL.
161
f68f11b7
YQ
1622015-03-18 Yao Qi <yao.qi@linaro.org>
163
164 PR tdep/18107
165 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
166 variable.
167 * gdb.base/catch-syscall.exp: Don't skip it on
168 aarch64*-*-linux* target. Remove elements in all_syscalls.
169 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
170 target.
171 (setup_all_syscalls): New proc.
172
ca5fd19b
YQ
1732015-03-16 Yao Qi <yao.qi@linaro.org>
174
175 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
176 (top level): Skip tests if valid_addr_p returns false for
177 $cmd1 or $cmd2.
178
85642ba0
AW
1792015-03-11 Andy Wingo <wingo@igalia.com>
180
181 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
182
e03f9645
YQ
1832015-03-11 Yao Qi <yao.qi@linaro.org>
184
185 * gdb.base/catch-syscall.exp: Fix typo in comments.
186
5d0962b2
YQ
1872015-03-11 Yao Qi <yao.qi@linaro.org>
188
189 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
190
b2df3cef
PA
1912015-03-09 Pedro Alves <palves@redhat.com>
192
193 * dg-extract-results.py: Delete.
194
ef878e53
PA
1952015-03-09 Pedro Alves <palves@redhat.com>
196
197 Merge dg-extract-results.sh from GCC upstream (r218843).
198
199 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
200 * dg-extract-results.sh: Use --text with grep to avoid issues with
201 binary files. Fall back to cat -v, if that doesn't work.
202
9494d219
PA
2032015-03-05 Pedro Alves <palves@redhat.com>
204
205 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
206
a8d9763a
SM
2072015-03-04 Simon Marchi <simon.marchi@ericsson.com>
208
209 * lib/mi-support.exp (mi_expect_interrupt): Accept
210 alternative event for when in all-stop mode.
211
be9957b8
PA
2122015-03-04 Pedro Alves <palves@redhat.com>
213
214 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
215
d57be0f4 2162015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
217
218 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
219
c214c7cf
AA
2202015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
221
222 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
223 regexps for GDB's current line display, accept a hex address
224 preceding the line number.
225
6d74a497
AA
2262015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
227
228 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
229 the 'arch1' variable for "s390*-linux*" targets.
230
511aee7c
PA
2312015-03-04 Pedro Alves <palves@redhat.com>
232
233 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
234 (main): Pass missing retval argument to pthread_join call.
235
95e50b27
PA
2362015-03-02 Pedro Alves <palves@redhat.com>
237
238 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
239 (top level): Call do_test with non-stop as well.
240
28054d69
PA
2412015-03-02 Pedro Alves <palves@redhat.com>
242
243 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
244 -1.
245
4fa5d7b4
AA
2462015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
247
248 * gdb.arch/s390-vregs.exp: New test.
249 * gdb.arch/s390-vregs.S: New file.
250
97c18565
PA
2512015-02-27 Pedro Alves <palves@redhat.com>
252
253 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
254 call to catch_command_errors.
255 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
256 catch_command_errors.
257
a37bfa30
PA
2582015-02-27 Pedro Alves <palves@redhat.com>
259
260 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
261 "true" for boolean result.
262 * gdb.gdb/selftest.exp (test_with_self): Also accept full
263 prototype of main.
264
6f98576f
PA
2652015-02-27 Pedro Alves <palves@redhat.com>
266
267 * lib/unbuffer_output.c: New file.
268 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
269 (main): Call gdb_unbuffer_output.
270
eba5ab56
YQ
2712015-02-27 Yao Qi <yao.qi@linaro.org>
272
273 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
274 target.
275
0def5aaa
DE
2762015-02-26 Doug Evans <dje@google.com>
277
278 * gdb.cp/class2.cc (Dbase, D): New classes.
279 (main): New local delta.
280 * gdb.cp/class2.exp: Test printing delta.
281 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
282 (dynbar): New global.
283 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
284
081a1c2c
JK
2852015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
286
287 * gdb.compile/compile-ifunc.c: New file.
288 * gdb.compile/compile-ifunc.exp: New file.
289
2f41223f
AT
2902015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
291
292 * gdb.base/structs.exp: Check for correct struct on finish.
293
03eddd80
YQ
2942015-02-26 Yao Qi <yao.qi@linaro.org>
295
296 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
297 is zero.
298
80c57053
JK
2992015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
300
301 * gdb.arch/cordic.ko.bz2: New file.
302 * gdb.arch/cordic.ko.debug.bz2: New file.
303 * gdb.arch/ppc64-symtab-cordic.exp: New file.
304
21613c12
YQ
3052015-02-25 Yao Qi <yao.qi@linaro.org>
306
307 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
308 aarch64*-*-* target.
309
d8b901ed
PA
3102015-02-23 Pedro Alves <palves@redhat.com>
311
312 * lib/gdb.exp (delete_breakpoints): Rewrite using
313 gdb_test_multiple.
314
e5b85ead
PA
3152015-02-23 Pedro Alves <palves@redhat.com>
316
317 * gdb.base/info-os.c: Include stdlib.h.
318
85c3a371
DE
3192015-02-22 Doug Evans <xdje42@gmail.com>
320
321 PR symtab/17855
322 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
323 is read after symbols have been re-read.
324 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
325 * gdb.ada/exec_changed/second.adb (Second): Ditto.
326
96553a0c
DE
3272015-02-21 Doug Evans <dje@google.com>
328
329 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
330
97a0c697
JK
3312015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
332
333 PR corefiles/17808
334 * gdb.arch/i386-biarch-core.core.bz2: New file.
335 * gdb.arch/i386-biarch-core.exp: New file.
336
a47cd6e9
PA
3372015-02-21 Pedro Alves <palves@redhat.com>
338
339 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
340 runto_main fails.
341
c5facdc4
PA
3422015-02-20 Pedro Alves <palves@redhat.com>
343
344 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
345 info probes.
346
2db9a427
PA
3472015-02-20 Pedro Alves <palves@redhat.com>
348
349 * gdb.threads/multi-create-ns-info-thr.exp: New file.
350
60fb7e9e
PA
3512015-02-20 Pedro Alves <palves@redhat.com>
352
353 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
354 clean_restart before gdb_target_supports_trace.
355
5c5019c2
PA
3562015-02-20 Pedro Alves <palves@redhat.com>
357
358 PR threads/18006
359 * gdb.threads/clone-thread_db.c: New file.
360 * gdb.threads/clone-thread_db.exp: New file.
361
c9587f88
AT
3622015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
363
364 PR breakpoints/16812
365 * gdb.base/catch-gdb-caused-signals.c: New file.
366 * gdb.base/catch-gdb-caused-signals.exp: New file.
367
f6a88844
JM
3682015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
369
370 * configure: Regenerated.
371 * configure.ac: Use GDB_AC_TRANSFORM.
372 * aclocal.m4: sinclude ../transform.m4.
373
497c491b
JM
3742015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
375
376 * lib/dtrace.exp: New file.
377 * gdb.base/dtrace-probe.exp: Likewise.
378 * gdb.base/dtrace-probe.d: Likewise.
379 * gdb.base/dtrace-probe.c: Likewise.
380 * lib/pdtrace.in: Likewise.
381 * configure.ac: Output variables with the transformed names of
382 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
383 * configure: Regenerated.
384
03e98035
JM
3852015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
386
387 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
388 expected message when trying to access $_probe_* convenience
389 variables while not on a probe.
390
63cc30e9
JK
3912015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
392
393 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
394
0703599a
PA
3952015-02-11 Pedro Alves <pedro@codesourcery.com>
396
397 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
398 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
399
7e60a48e
DE
4002015-02-10 Doug Evans <xdje42@gmail.com>
401
402 * lib/gdb.exp (gdb_load): Always return a result.
403
01b088bc
PA
4042015-02-10 Pedro Alves <palves@redhat.com>
405
406 * gdb.threads/signal-sigtrap.c: New file.
407 * gdb.threads/signal-sigtrap.exp: New file.
408
b05ec7a5
AT
4092015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
410
411 * gdb.trace/no-attach-trace.c: New file.
412 * gdb.trace/no-attach-trace.exp: New file.
413
a2c2acaf
MW
4142015-02-09 Mark Wielaard <mjw@redhat.com>
415
416 * gdb.dwarf2/atomic.c: New file.
417 * gdb.dwarf2/atomic-type.exp: Likewise.
418
31fd9caa
MM
4192015-02-09 Markus Metzger <markus.t.metzger@intel.com>
420
421 * gdb.btrace/buffer-size.exp: Update "info record" output.
422 * gdb.btrace/delta.exp: Update "info record" output.
423 * gdb.btrace/enable.exp: Update "info record" output.
424 * gdb.btrace/finish.exp: Update "info record" output.
425 * gdb.btrace/instruction_history.exp: Update "info record" output.
426 * gdb.btrace/next.exp: Update "info record" output.
427 * gdb.btrace/nexti.exp: Update "info record" output.
428 * gdb.btrace/step.exp: Update "info record" output.
429 * gdb.btrace/stepi.exp: Update "info record" output.
430 * gdb.btrace/nohist.exp: Update "info record" output.
431
d33501a5
MM
4322015-02-09 Markus Metzger <markus.t.metzger@intel.com>
433
434 * gdb.btrace/buffer-size: New.
435
f4abbc16
MM
4362015-02-09 Markus Metzger <markus.t.metzger@intel.com>
437
438 * gdb.btrace/delta.exp: Update "info record" output.
439 * gdb.btrace/enable.exp: Update "info record" output.
440 * gdb.btrace/finish.exp: Update "info record" output.
441 * gdb.btrace/instruction_history.exp: Update "info record" output.
442 * gdb.btrace/next.exp: Update "info record" output.
443 * gdb.btrace/nexti.exp: Update "info record" output.
444 * gdb.btrace/step.exp: Update "info record" output.
445 * gdb.btrace/stepi.exp: Update "info record" output.
446 * gdb.btrace/nohist.exp: Update "info record" output.
447
b9d61307
SM
4482015-02-06 Simon Marchi <simon.marchi@ericsson.com>
449
450 PR gdb/15678
451 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
452
e584fdbc
PA
4532015-02-06 Pedro Alves <palves@redhat.com>
454
455 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
456 macro.
457 (seconds_left, again): New globals.
458 (main): Wait seconds_left in a 1-second sleep loop instead of
459 sleeping 180 seconds. If 'again' is set, reset the seconds
460 counter.
461 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
462 'again' in the inferior before detaching. Print the seconds left.
463 (options): New global.
464 (top level): Build program with -DTIMEOUT=$timeout.
465
77f41761
PA
4662015-02-06 Pedro Alves <palves@redhat.com>
467
468 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
469 determine how many seconds to pass to 'alarm'.
470 * gdb.base/gdb-sigterm.exp (top level): Build program with
471 -DTIMEOUT=$timeout.
472 (do_test): Return success/failure indication. Add more verbose
473 logging. Don't fail if 200 single steps are seen. Instead, fail
474 when the test times out.
475 (passes): New global.
476 (top level): Break the testing loop if testing fails on any
477 iteration. Use gdb_assert.
478
b9394193
DB
4792015-02-04 Don Breazeal <donb@codesourcery.com>
480
481 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
482 and initialize them.
483 (ipc_cleanup): New function.
484 (main): Don't declare shmid, semid, and msqid. Add a call to
485 atexit so that we call ipc_cleanup on exit.
486
42d9e528
PA
4872015-02-04 Pedro Alves <palves@redhat.com>
488
489 * boards/native-extended-gdbserver.exp: Remove any target variant
490 specifications from the board name before clearing the isremote
491 flag from board_info.
492
ae6ae975
DE
4932015-01-31 Doug Evans <xdje42@gmail.com>
494
495 * gdb.base/maint.exp <maint print type argc>: Update expected output.
496
cfb069a8
GB
4972015-01-31 Gary Benson <gbenson@redhat.com>
498
499 * gdb.base/completion.exp: Disable completion limiting for
500 existing tests. Add new tests to check completion limiting.
501 * gdb.linespec/ls-errs.exp: Disable completion limiting.
502
5dd31d79
DE
5032015-01-31 Doug Evans <xdje42@gmail.com>
504
505 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
506
9f050062
DE
5072015-01-31 Doug Evans <xdje42@gmail.com>
508
509 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
510 entries. Duplicate file section script entries.
511 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
512 inlined entries. Add test for safe-path rejection.
513 * gdb.python/py-section-script.c: Add duplicate inlined section script
514 entries. Duplicate file section script entries.
515 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
516 inlined entries. Add test for safe-path rejection.
517
df25ebbd
JB
5182015-01-29 Joel Brobecker <brobecker@adacore.com>
519
520 * gdb.ada/disc_arr_bound: New testcase.
521
4a0ca9ec
JB
5222015-01-29 Joel Brobecker <brobecker@adacore.com>
523
524 * gdb.ada/mi_var_array: New testcase.
525
3a8b707a
DE
5262015-01-27 Doug Evans <dje@google.com>
527
528 * gdb.python/py-objfile.exp: Add tests for objfile.username.
529 Add test for objfile.filename, objfile.username after objfile
530 has been unloaded.
531
f8313f6e
JB
5322015-01-26 Joel Brobecker <brobecker@adacore.com>
533
534 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
535 the second test to print the name attribute of value
536 returned by the call to gdb.lookup_type, and adjust
537 the expected output accordingly.
538
37bc665e
MW
5392015-01-25 Mark Wielaard <mjw@redhat.com>
540
541 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
542 * gdb.base/disp-step-fork.c: Include unistd.h.
543 * gdb.base/siginfo-obj.c: Include stdio.h.
544 * gdb.base/siginfo-thread.c: Likewise.
545 * gdb.mi/non-stop.c: Include unistd.h.
546 * gdb.mi/nsthrexec.c: Include stdio.h.
547 * gdb.mi/pthreads.c: Include unistd.h.
548 * gdb.modula2/unbounded1.c (main): Declare returns int.
549 * gdb.reverse/consecutive-reverse.c: Likewise.
550 * gdb.threads/create-fail.c: Include unistd.h.
551 * gdb.threads/killed.c: Likewise.
552 * gdb.threads/linux-dp.c: Likewise.
553 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
554 * gdb.threads/non-ldr-exc-2.c: Likewise.
555 * gdb.threads/non-ldr-exc-3.c: Likewise.
556 * gdb.threads/non-ldr-exc-4.c: Likewise.
557 * gdb.threads/pthreads.c: Include unistd.h.
558 (main): Declare returns int.
559 * gdb.threads/tls-main.c (foo): New declaration.
560 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
561
f7e5394d
SM
5622015-01-23 Simon Marchi <simon.marchi@ericsson.com>
563
564 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
565 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
566
743649fd
MW
5672015-01-15 Mark Wielaard <mjw@redhat.com>
568
569 * gdb.base/noreturn-return.c: New file.
570 * gdb.base/noreturn-return.exp: New file.
571 * gdb.base/noreturn-finish.c: New file.
572 * gdb.base/noreturn-finish.exp: New file.
573
198297aa
PA
5742015-01-23 Pedro Alves <palves@redhat.com>
575
576 * gdb.threads/continue-pending-after-query.c: New file.
577 * gdb.threads/continue-pending-after-query.exp: New file.
578
717cf30c
AG
5792015-01-22 Anders Granlund <anders.granlund@ericsson.com>
580 Simon Marchi <simon.marchi@ericsson.com>
581
582 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
583 * gdb.base/valgrind-db-attach.exp: Same.
584 * gdb.base/valgrind-infcall.exp: Same.
585 * lib/mi-support.exp (default_mi_gdb_start): Same.
586 * lib/prompt.exp (default_prompt_gdb_start): Same.
587 * lib/gdb.exp (default_gdb_spawn): Same.
588 (gdb_interact): New.
589
590
4b62a76e
JK
5912015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
592
593 * gdb.compile/compile.exp (pointer to jit function): New test.
594
b4cdae6f
WW
5952015-01-17 Wei-cheng Wang <cole945@gmail.com>
596
597 * lib/gdb.exp (supports_process_record): Return true for
598 powerpc*-*-linux*.
599 (supports_reverse): Likewise.
600
d221e7ef
DB
6012015-01-15 Don Breazeal <donb@codesourcery.com>
602
603 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
604 instead of checking whether the target board is remote and
605 use spawn_wait_for_attach instead of exec/sleep.
606 * gdb.base/attach-twice.exp: Likewise.
607
bafffb51
JB
6082015-01-15 Joel Brobecker <brobecker@adacore.com>
609
610 * gdb.ada/var_arr_attrs: New testcase.
611
5589af0e
PA
6122015-01-14 Pedro Alves <palves@redhat.com>
613 Joel Brobecker <brobecker@adacore.com>
614
615 PR gdb/17525
616 * gdb.base/bp-cmds-execution-x-script.c: New file.
617 * gdb.base/bp-cmds-execution-x-script.exp: New file.
618 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
619
6c400b59
PA
6202015-01-14 Pedro Alves <palves@redhat.com>
621
622 PR cli/17828
623 * gdb.base/batch-preserve-term-settings.c: New file.
624 * gdb.base/batch-preserve-term-settings.exp: New file.
625
e02c96a7
DE
6262015-01-13 Doug Evans <dje@google.com>
627
628 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
629 binary.
630
576fd14c
JB
6312015-01-13 Joel Brobecker <brobecker@adacore.com>
632
633 * Makefile.in (clean mostlyclean): Do not delete *.py.
634
04dccad0
JB
6352015-01-13 Joel Brobecker <brobecker@adacore.com>
636
637 * gdb.python/py-lookup-type.exp: New file.
638
3d230f71
PA
6392015-01-12 Pedro Alves <palves@redhat.com>
640
641 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
642 restore GDBFLAGS before returning.
643
7e67715d
JK
6442015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
645
646 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
647 is_amd64_regs_target and is_x86_like_target.
648
f2e0d4b4
DE
6492015-01-11 Doug Evans <xdje42@gmail.com>
650
651 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
652 is given without an explicit form.
653 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
654 attributes.
655 * gdb.dwarf/corrupt.exp: Ditto.
656 * gdb.dwarf2/enum-type.exp: Ditto.
657 * gdb.trace/entry-values.exp: Ditto.
658 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
659
439250fb
DE
6602015-01-11 Doug Evans <xdje42@gmail.com>
661
662 PR gdb/15830
663 * gdb.base/maint.exp: Remove references to "maint demangle".
664 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
665 Add tests for explicitly specifying language to demangle.
666 * gdb.dlang/demangle.exp: Ditto.
667
ede9f622
PA
6682015-01-09 Pedro Alves <palves@redhat.com>
669
670 * gdb.threads/non-stop-fair-events.c: New file.
671 * gdb.threads/non-stop-fair-events.exp: New file.
672
a7b796db
PA
6732015-01-09 Pedro Alves <palves@redhat.com>
674
675 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
676 the global scope. Set a breakpoint after all threads are started
677 rather than stepping over two source lines. Expect the prompt.
678 * gdb.base/watch_thread_num.c (threads_started_barrier): New
679 global.
680 (NUM): Now 15.
681 (main): Use threads_started_barrier to wait for all threads to
682 start. Main thread no longer calls thread_function. Exit after
683 180 seconds.
684 (loop): New function.
685 (thread_function): Wait on threads_started_barrier barrier. Call
686 'loop' at each iteration.
687 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
688 threads have started, instead of hardcoding number of "next"
689 steps. Use an access watchpoint instead of a write watchpoint.
690
9665ffdd
PA
6912015-01-09 Pedro Alves <palves@redhat.com>
692
693 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
694 (thread_func): Wait on barrier.
695 (main): Wait for all threads to start before stopping GDB.
696 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
697 global.
698 (thread1_func, thread2_func): Wait on barrier.
699 (main): Wait for all threads to start before stopping GDB.
700 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
701 New global.
702 (thread1_func, thread2_func): Wait on barrier.
703 (main): Wait for all threads to start before stopping GDB.
704
c945a99f
PA
7052015-01-09 Pedro Alves <palves@redhat.com>
706
707 * gdb.threads/attach-many-short-lived-threads.c: New file.
708 * gdb.threads/attach-many-short-lived-threads.exp: New file.
709
c1a747c1
PA
7102014-01-09 Pedro Alves <palves@redhat.com>
711
712 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
713 instead of to thread 2.
714 * gdb.threads/signal-command-multiple-signals-pending.c (main):
715 Add barrier around each pthread_create call instead of around all
716 calls.
717 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
718 Set a break on thread_function and have the child threads hit it
719 one at at a time.
720
60b3033e
PA
7212015-01-09 Pedro Alves <palves@redhat.com>
722
723 * lib/gdb.exp (can_spawn_for_attach): New procedure.
724 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
725 false.
726 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
727 checking whether the target board is remote.
728 * gdb.multi/multi-attach.exp: Likewise.
729 * gdb.python/py-sync-interp.exp: Likewise.
730 * gdb.server/ext-attach.exp: Likewise.
731 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
732 tests that need to attach, instead of checking whether the target
733 board is remote at the top of the file.
734
acc018ac
YQ
7352015-01-08 Yao Qi <yao@codesourcery.com>
736
737 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
738
50a18af8
JK
7392015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
740
741 Fix testcase compilation.
742 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
743
8503d6e1
JB
7442015-01-06 Joel Brobecker <brobecker@adacore.com>
745
746 * gdb.python/py-type.exp: Add a couple test about empty
747 array creation, and negative-length array creation.
748
cc73dbcc
DE
7492015-01-02 Doug Evans <xdje42@gmail.com>
750
751 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
752
0300bbc7
DE
7532015-01-02 Doug Evans <dje@google.com>
754
755 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
756
9d85a0ec
YQ
7572014-12-29 Yao Qi <yao@codesourcery.com>
758
759 * gdb.trace/entry-values.exp: Update comments. Rename variable
760 bar_call_foo to returned_from_foo.
761
87186c6a
MMN
7622014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
763
764 PR gdb/17394
765 * gdb.linespec/break-asm-file.c: New file.
766 * gdb.linespec/break-asm-file.exp: New file.
767 * gdb.linespec/break-asm-file0.s: New file.
768 * gdb.linespec/break-asm-file1.s: New file.
769
1bab7383
YQ
7702014-12-18 Nigel Stephens <nigel@mips.com>
771 Maciej W. Rozycki <macro@codesourcery.com>
772
773 * gdb.base/float.exp: Handle the new output from "info float" on
774 MIPS targets.
775
1bc1068a
JK
7762014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
777
778 Fix MinGW compilation.
779 * gdb.compile/compile-ops.exp: Update untested message if
780 !skip_compile_feature_tests.
781 * gdb.compile/compile-setjmp.exp: Likewise.
782 * gdb.compile/compile-tls.exp: Likewise.
783 * gdb.compile/compile.exp: Likewise.
784 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
785 supported on this host".
786
b6615d10
DE
7872014-12-16 Doug Evans <xdje42@gmail.com>
788
789 * boards/stabs.exp: New file.
790
25dda427
AA
7912014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
792
793 * gdb.base/completion.exp: Adjust to format changes of "maint
794 print user-registers".
795
bf330350
CU
7962014-12-16 Catalin Udma <catalin.udma@freescale.com>
797
798 PR server/17457
799 * gdb.arch/aarch64-fp.c: New file.
800 * gdb.arch/aarch64-fp.exp: New file.
801
395cf596
SDJ
8022014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
803
804 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
805 r210637, r210913, r211666, r215400, r215817).
806
807 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
808 * dg-extract-results.py: New file.
809 * dg-extract-results.sh: Use it if the environment seems
810 suitable.
811
812 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
813
814 * dg-extract-results.py (parse_run): Handle warnings that
815 are printed before a test harness is run.
816
817 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
818
819 * dg-extract-results.py (Named): Remove __cmp__ method.
820 (output_variation): Use a key to sort variation.harnesses.
821
822 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
823
824 * dg-extract-results.py: For Python 3, force sys.stdout to
825 handle surrogate escape sequences.
826 (safe_open): New function.
827 (output_segment, main): Use it.
828
829 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
830
831 * dg-extract-results.py (Prog.result_re): Include options
832 in test name.
833
834 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
835
836 * dg-extract-results.py (output_variation): Always sort if
837 do_sum.
838
e882ef3c
SM
8392014-12-15 Simon Marchi <simon.marchi@ericsson.com>
840
841 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
842 as long as we get pagination notifications.
843
4992aa20
JM
8442014-12-15 Jason Merrill <jason@redhat.com>
845
846 * Makefile.in (check-gdb.%): Restore.
847 * README: Mention it.
848
c1b5a1a6
JB
8492014-12-13 Joel Brobecker <brobecker@adacore.com>
850
851 * gdb.ada/str_uninit: New testcase.
852
5537b577
JK
8532014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
854
855 PR symtab/17642
856 * gdb.base/vla-stub-define.c: New file.
857 * gdb.base/vla-stub.c: New file.
858 * gdb.base/vla-stub.exp: New file.
859
bb2ec1b3
TT
8602014-12-12 Phil Muldoon <pmuldoon@redhat.com>
861 Jan Kratochvil <jan.kratochvil@redhat.com>
862 Tom Tromey <tromey@redhat.com>
863
864 * configure.ac: Add gdb.compile/.
865 * configure: Regenerate.
866 * gdb.compile/Makefile.in: New file.
867 * gdb.compile/compile-ops.exp: New file.
868 * gdb.compile/compile-ops.c: New file.
869 * gdb.compile/compile-tls.c: New file.
870 * gdb.compile/compile-tls.exp: New file.
871 * gdb.compile/compile-constvar.S: New file.
872 * gdb.compile/compile-constvar.c: New file.
873 * gdb.compile/compile-mod.c: New file.
874 * gdb.compile/compile-nodebug.c: New file.
875 * gdb.compile/compile-setjmp-mod.c: New file.
876 * gdb.compile/compile-setjmp.c: New file.
877 * gdb.compile/compile-setjmp.exp: New file.
878 * gdb.compile/compile-shlib.c: New file.
879 * gdb.compile/compile.c: New file.
880 * gdb.compile/compile.exp: New file.
881 * lib/gdb.exp (skip_compile_feature_tests): New proc.
882
4ff709eb
TT
8832014-12-12 Tom Tromey <tromey@redhat.com>
884
885 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
886 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
887
6dddd6a5
DE
8882014-12-12 Doug Evans <dje@google.com>
889
890 * lib/gdb-python.exp (get_python_valueof): New function.
891 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
892
71c24708
AA
8932014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
894
895 * gdb.base/completion.exp: Add test for completion of "info
896 registers ".
897
3e29f34a
MR
8982014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
899
900 * gdb.base/func-ptrs.c: New file.
901 * gdb.base/func-ptrs.exp: New file.
902
fc126975
SM
9032014-12-10 Simon Marchi <simon.marchi@ericsson.com>
904
905 PR breakpoints/17012
906 * gdb.base/dprintf-detach.c: New file.
907 * gdb.base/dprintf-detach.exp: New file.
908
0a46d518
SM
9092014-12-10 Simon Marchi <simon.marchi@ericsson.com>
910
911 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
912 * lib/gdb.exp (target_is_gdbserver): New procedure.
913
a0be3e44
DE
9142014-12-08 Doug Evans <dje@google.com>
915
916 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
917
df1b803a
YQ
9182014-12-05 Yao Qi <yao@codesourcery.com>
919
920 * gdb.guile/scm-error.exp: Remove the third argument to
921 gdb_remote_download.
922 * gdb.guile/scm-frame-args.exp: Likewise.
923 * gdb.guile/scm-section-script.exp: Likewise.
924
ddb9f679
YQ
9252014-12-05 Yao Qi <yao@codesourcery.com>
926
927 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
928
86e4ed39
DE
9292014-12-04 Doug Evans <dje@google.com>
930
931 * gdb.python/py-objfile.exp: Add tests for
932 objfile.add_separate_debug_file.
933
7c50a931
DE
9342014-12-04 Doug Evans <dje@google.com>
935
936 * lib/gdb.exp (get_build_id): New function.
937 (build_id_debug_filename_get): Rewrite to use it.
938 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
939
621661e3
MR
9402014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
941
942 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
943 `method(long)', not just 0x0.
944 * gdb.cp/nsalias.exp: Align code labels to 4.
945 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
946 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
947 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
948 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
949 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
950 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
951
29f0c3b7
DE
9522014-12-02 Doug Evans <dje@google.com>
953
e1e061e7 954 PR symtab/17602
29f0c3b7 955 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 956 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
957 * gdb.cp/anon-ns.exp: Update.
958
162078c8
NB
9592014-12-02 Nick Bull <nicholaspbull@gmail.com>
960
961 * gdb.python/py-events.py (inferior_call_handler): New.
962 (register_changed_handler, memory_changed_handler): New.
963 (test_events.invoke): Register new handlers.
964 * gdb.python/py-events.exp: Add tests for inferior call,
965 memory_changed and register_changed events.
966
fdb09caf
AA
9672014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
968
969 * gdb.base/execl-update-breakpoints.exp: Specify the link address
970 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
971 if the linker doesn't understand this.
972
55cfb2c4
SM
9732014-12-01 Simon Marchi <simon.marchi@ericsson.com>
974
975 * gdb.python/python.exp: Change expected reply to help().
976
9e8cd6df
YQ
9772014-12-01 Yao Qi <yao@codesourcery.com>
978
979 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
980 AC_CONFIG_SUBDIRS(gdb.gdbtk).
981 * configure: Re-generated.
982
6c659fc2
SC
9832014-11-28 Siva Chandra Reddy <sivachandra@google.com>
984
985 * gdb.cp/chained-calls.cc: New file.
986 * gdb.cp/chained-calls.exp: New file.
987 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
988
d7fc3181
SM
9892014-11-28 Simon Marchi <simon.marchi@ericsson.com>
990
991 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
992 * gdb.dwarf2/symtab-producer.exp: Same.
993 * gdb.gdb/python-interrupts.exp: Same.
994 * gdb.gdb/python-selftest.exp: Same.
995 * gdb.python/py-linetable.exp: Same.
996 * gdb.python/py-type.exp: Same.
997 * gdb.python/py-value-cc.exp: Same.
998 * gdb.python/py-value.exp: Same.
999
10e79639
YQ
10002014-11-28 Yao Qi <yao@codesourcery.com>
1001
1002 * gdb.base/break-probes.exp: Match library name prefixed with
1003 sysroot.
1004
f28a0564
SM
10052014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1006
1007 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1008 test expected output. Add parentheses for the call to print.
1009 Remove L suffix from integers.
1010
3fe1ce1d
DE
10112014-11-26 Doug Evans <dje@google.com>
1012
1013 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1014
84429e27
YQ
10152014-11-22 Yao Qi <yao@codesourcery.com>
1016
1017 * gdb.trace/entry-values.c: Remove asms.
1018 (foo): Add foo_label.
1019 (bar): Add bar_label.
1020 * gdb.trace/entry-values.exp: Remove code computing foo's
1021 length and bar's length.
1022 (Dwarf::assemble): Invoke function_range for bar and use
1023 MACRO_AT_func for foo.
1024
26741859
YQ
10252014-11-22 Yao Qi <yao@codesourcery.com>
1026
1027 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1028 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1029 Use .Lgcc43_procstart instead of gcc43.
1030
45e44d27
JB
10312014-11-21 Joel Brobecker <brobecker@adacore.com>
1032
1033 * gdb.ada/n_arr_bound: New testcase.
1034
458c8db8
SDJ
10352014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1036
1037 PR breakpoints/10737
1038 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1039 test_catch_syscall_multi_arch.
1040 (test_catch_syscall_multi_arch): New function.
1041
43f3e411
DE
10422014-11-20 Doug Evans <xdje42@gmail.com>
1043
1044 * gdb.base/maint.exp: Update expected output.
1045
0d7b2549
AA
10462014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1047
1048 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1049 4-byte instruction on S390.
1050
8908fca5
JB
10512014-11-19 Joel Brobecker <brobecker@adacore.com>
1052
1053 * gdb.ada/arr_arr: New testcase.
1054
4a46959e
JB
10552014-11-19 Joel Brobecker <brobecker@adacore.com>
1056
1057 * gdb.ada/pkd_arr_elem: New Testcase.
1058
470e2f4e
LM
10592014-11-18 Luis Machado <lgustavo@codesourcery.com>
1060
1061 * gdb.reverse/break-precsave: Expect completion message for
1062 core file reads.
1063 * gdb.reverse/consecutive-precsave.exp: Likewise.
1064 * gdb.reverse/finish-precsave.exp: Likewise.
1065 * gdb.reverse/i386-precsave.exp: Likewise.
1066 * gdb.reverse/machinestate-precsave.exp: Likewise.
1067 * gdb.reverse/sigall-precsave.exp: Likewise.
1068 * gdb.reverse/solib-precsave.exp: Likewise.
1069 * gdb.reverse/step-precsave.exp: Likewise.
1070 * gdb.reverse/until-precsave.exp: Likewise.
1071 * gdb.reverse/watch-precsave.exp: Likewise.
1072
a267f3ad
AA
10732014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1074
1075 * gdb.base/bp-permanent.c: Include unistd.h.
1076 * gdb.python/py-framefilter-mi.c (main): Add return type.
1077 * gdb.python/py-framefilter.c (main): Likewise.
1078 * gdb.trace/actions-changed.c (main): Likewise.
1079
12084a9a
AA
10802014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1081
1082 * gdb.mi/until.c: Add eye-catchers.
1083 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1084 line numbers.
1085
dc7e1a77
AA
10862014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1087
1088 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1089 function header variants in break1.c.
1090 * gdb.base/ena-dis-br.exp: Likewise.
1091 * gdb.base/hbreak2.exp: Likewise.
1092 * gdb.reverse/until-precsave.exp: Drop references to removed
1093 non-prototype function header variants in ur1.c.
1094 * gdb.reverse/until-reverse.exp: Likewise.
1095
41c77605
PM
10962014-11-17 Petr Machata <pmachata@redhat.com>
1097
1098 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1099 ${_cu_offset_size} bytes abbrev offset.
1100
34248c3a
DE
11012014-11-15 Doug Evans <xdje42@gmail.com>
1102
1103 PR symtab/17559
1104 * gdb.base/line-symtabs.exp: New file.
1105 * gdb.base/line-symtabs.c: New file.
1106 * gdb.base/line-symtabs.h: New file.
1107
646da059
YQ
11082014-11-14 Yao Qi <yao@codesourcery.com>
1109
1110 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1111 (func): Add label func_label.
1112 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1113 Replace low_pc and high_pc with MACRO_AT_range.
1114 Replace name, low_pc and high_pc with MACRO_AT_func.
1115
9301ebe6
YQ
11162014-11-14 Yao Qi <yao@codesourcery.com>
1117
1118 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1119 Replace name, low_pc and high_pc with MACRO_AT_func.
1120
f166b542
YQ
11212014-11-14 Yao Qi <yao@codesourcery.com>
1122
1123 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1124 produce debug information.
1125 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1126
0f6e71e3
YQ
11272014-11-14 Yao Qi <yao@codesourcery.com>
1128
1129 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1130 object and get function length.
1131 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1132 with MACRO_AT_func.
1133 (top-level): Replace gdb_compile and clean_restart with
1134 prepare_for_testing.
1135 * gdb.dwarf2/main.c (main): Add label main_label.
1136
876c4df9
YQ
11372014-11-14 Yao Qi <yao@codesourcery.com>
1138
1139 * lib/dwarf.exp (function_range): New procedure.
1140 (Dwarf::_handle_macro_at_func): New procedure.
1141 (Dwarf::_handle_macro_at_range): New procedure.
1142 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1143
02ad9cf1
YQ
11442014-11-14 Yao Qi <yao@codesourcery.com>
1145
1146 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1147 (_handle_attribute): New procedure.
1148
a59add0c
AA
11492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1150
1151 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1152 * gdb.base/call-sc.c (zed): Likewise.
1153 * gdb.base/checkpoint.c (main): Likewise.
1154 * gdb.base/dump.c (main): Likewise.
1155 * gdb.base/gcore.c (main): Likewise.
1156 * gdb.base/huge.c (main): Likewise.
1157 * gdb.base/multi-forks.c (main): Likewise.
1158 * gdb.base/pr10179-a.c (main): Likewise.
1159 * gdb.base/savedregs.c (main): Likewise.
1160 * gdb.base/sigaltstack.c (main): Likewise.
1161 * gdb.base/siginfo.c (main): Likewise.
1162 * gdb.base/structs.c (zed): Likewise.
1163 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1164 * gdb.mi/mi-syn-frame.c (main): Likewise.
1165 * gdb.mi/until.c (foo, main): Likewise.
1166 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1167 * gdb.base/solib-weak.c (foo): Declare.
1168 * gdb.base/attach-twice.c: Include stdio.h.
1169 * gdb.base/weaklib1.c: Likewise.
1170 * gdb.base/weaklib2.c: Likewise.
1171 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1172 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1173 unistd.h.
1174 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1175 * gdb.mi/mi-exit-code.c: Likewise.
1176 * gdb.base/break-interp-lib.c: Include string.h.
1177 * gdb.base/coremaker.c: Likewise.
1178 * gdb.base/testenv.c: Likewise.
1179 * gdb.python/py-finish-breakpoint.c: Likewise.
1180 * gdb.base/inferior-died.c: Include sys/wait.h.
1181 * gdb.base/fileio.c: Include time.h.
1182 * gdb.base/async-shell.c: Include unistd.h.
1183 * gdb.base/dprintf-non-stop.c: Likewise.
1184 * gdb.base/info-os.c: Likewise.
1185 * gdb.mi/mi-console.c: Likewise.
1186 * gdb.mi/watch-nonstop.c: Likewise.
1187 * gdb.python/py-events.c: Likewise.
1188 * gdb.base/async.c (baz): Move up before its invocation.
1189 * gdb.base/code_elim2.c (my_global_func): Likewise.
1190 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1191 * gdb.base/advance.c (func2): Likewise.
1192
3b5d5997
AA
11932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1194
1195 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1196 variant.
1197 * gdb.base/annota3.c: Likewise.
1198 * gdb.base/async.c: Likewise.
1199 * gdb.base/average.c: Likewise.
1200 * gdb.base/call-ar-st.c: Likewise.
1201 * gdb.base/call-rt-st.c: Likewise.
1202 * gdb.base/call-sc.c: Likewise.
1203 * gdb.base/call-strs.c: Likewise.
1204 * gdb.base/ending-run.c: Likewise.
1205 * gdb.base/execd-prog.c: Likewise.
1206 * gdb.base/exprs.c: Likewise.
1207 * gdb.base/foll-exec.c: Likewise.
1208 * gdb.base/foll-fork.c: Likewise.
1209 * gdb.base/foll-vfork.c: Likewise.
1210 * gdb.base/funcargs.c: Likewise.
1211 * gdb.base/gcore.c: Likewise.
1212 * gdb.base/jump.c: Likewise.
1213 * gdb.base/langs0.c: Likewise.
1214 * gdb.base/langs1.c: Likewise.
1215 * gdb.base/langs2.c: Likewise.
1216 * gdb.base/mips_pro.c: Likewise.
1217 * gdb.base/nodebug.c: Likewise.
1218 * gdb.base/opaque0.c: Likewise.
1219 * gdb.base/opaque1.c: Likewise.
1220 * gdb.base/recurse.c: Likewise.
1221 * gdb.base/run.c: Likewise.
1222 * gdb.base/scope0.c: Likewise.
1223 * gdb.base/scope1.c: Likewise.
1224 * gdb.base/setshow.c: Likewise.
1225 * gdb.base/setvar.c: Likewise.
1226 * gdb.base/shmain.c: Likewise.
1227 * gdb.base/shr1.c: Likewise.
1228 * gdb.base/shr2.c: Likewise.
1229 * gdb.base/sigall.c: Likewise.
1230 * gdb.base/signals.c: Likewise.
1231 * gdb.base/so-indr-cl.c: Likewise.
1232 * gdb.base/solib2.c: Likewise.
1233 * gdb.base/structs.c: Likewise.
1234 * gdb.base/sum.c: Likewise.
1235 * gdb.base/vforked-prog.c: Likewise.
1236 * gdb.base/watchpoint.c: Likewise.
1237 * gdb.reverse/shr2.c: Likewise.
1238 * gdb.reverse/until-reverse.c: Likewise.
1239 * gdb.reverse/ur1.c: Likewise.
1240 * gdb.reverse/watch-reverse.c: Likewise.
1241
066a77c5
AA
12422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1243
1244 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1245 variant.
1246 * gdb.base/sepdebug.exp: Drop references to removed code.
1247
4f204ea5
AA
12482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1249
1250 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1251 variant. Preserve original line numbering.
1252 * gdb.base/list1.c: Likewise.
1253
3b377a3a
AA
12542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1255
1256 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1257 variant.
1258 * gdb.base/break1.c: Likewise.
1259 * gdb.base/break.exp: Drop references to removed code.
1260
e444df73
AA
12612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1262
1263 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1264 variant.
1265
8008f2a7
AA
12662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1267
1268 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1269
a5a06887
AA
12702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1271
1272 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1273 logic into perform_all_tests() and invoke it with and without
1274 function header prototypes.
1275 (do_function_calls): Remove conditional XFAIL for PR 5318.
1276 (rerun_and_prepare): Remove duplicate code.
1277 (perform_all_tests): New. Main logic moved here.
1278
44dba9b9
AA
12792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1280
1281 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1282 code guarded by #ifdef NO_PROTOTYPES.
1283 (t_double_many_args): Likewise.
1284 (DEF_FUNC_MANY_ARGS_1): Likewise.
1285 (DEF_FUNC_VALUES_1): Likewise.
1286 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1287 guarded by #ifdef PROTOTYPES.
1288
d1fbcd56
AA
12892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1290
1291 * gdb.mi/mi-console.c: Add eye-catcher.
1292 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1293 instead of literal line number.
1294
b0e59b8f
AA
12952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1296
1297 * gdb.base/shr2.c: Add eye-catcher.
1298 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1299 line number.
1300
78f98cca
AA
13012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1302
1303 * gdb.base/jump.c: Add eye-catchers.
1304 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1305 numbers.
1306
58fa2af0
AA
13072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1308
1309 * gdb.base/execd-prog.c: Add eye-catchers.
1310 * gdb.base/foll-exec.c: Likewise.
1311 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1312 line numbers.
1313
04e5059b
AA
13142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1315
1316 * gdb.base/ending-run.c: Add eye-catchers.
1317 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1318 literal line numbers.
1319
dbfdb174
AA
13202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1321
1322 * gdb.base/call-rt-st.c: Add eye-catchers.
1323 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1324 literal line numbers.
1325
888a2ade
AA
13262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1327
1328 * gdb.base/call-ar-st.c: Add eye-catchers.
1329 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1330 literal line numbers.
1331
6acc2dde
AA
13322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1333
1334 * gdb.base/average.c: Add eye-catchers.
1335 * gdb.base/sum.c: Likewise.
1336 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1337 regexps dynamically.
1338
9ecfcd1d
AA
13392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1340
1341 * gdb.base/solib1.c: Add eye-catchers.
1342 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1343 literal line numbers.
1344
78708b7c
PA
13452014-11-12 Pedro Alves <palves@redhat.com>
1346
1347 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1348 leader has exited.
1349
af48d08f
PA
13502014-11-12 Pedro Alves <palves@redhat.com>
1351
1352 * gdb.arch/i386-bp_permanent.c: New file.
1353 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1354 (srcfile): Set to i386-bp_permanent.c.
1355 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1356 that stepi does not execute the 'leave' instruction, instead of
1357 testing it does execute.
1358 * gdb.base/bp-permanent.c: New file.
1359 * gdb.base/bp-permanent.exp: New file.
1360
af3768e9
DE
13612014-11-10 Doug Evans <xdje42@gmail.com>
1362
1363 PR symtab/17564
1364 * gdb.base/symtab-search-order.exp: New file.
1365 * gdb.base/symtab-search-order.c: New file.
1366 * gdb.base/symtab-search-order-1.c: New file.
1367 * gdb.base/symtab-search-order-shlib-1.c: New file.
1368
9de00a4a
PA
13692014-11-07 Pedro Alves <palves@redhat.com>
1370
1371 PR gdb/17511
1372 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1373 i?86-*-linux*.
1374
e0f52461
SC
13752014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1376
1377 PR c++/17494
1378 * gdb.cp/pr17494.cc: New file.
1379 * gdb.cp/pr17494.exp: New file.
1380
6ce8c980
YQ
13812014-11-02 Yao Qi <yao@codesourcery.com>
1382
1383 * gdb.python/python.exp: Get working directory and match the
1384 output of "set extended-prompt \\w " with it.
1385
02be9a71
DE
13862014-10-30 Doug Evans <dje@google.com>
1387
1388 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1389 in objfiles.
1390 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1391 in progspaces.
1392
3bdff46b
LM
13932014-10-30 Janis Johnson <janisjo@codesourcery.com>
1394
1395 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1396 * gdb.base/realname-expand.exp: Likewise.
1397 * gdb.linespec/macro-relative.exp: Likewise.
1398
ab917dfb
PA
13992014-10-29 Pedro Alves <palves@redhat.com>
1400
1401 PR gdb/17408
1402 * gdb.threads/schedlock.c (some_function): New function.
1403 (call_function): New global.
1404 (MAYBE_CALL_SOME_FUNCTION): New macro.
1405 (thread_function): Call it.
1406 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1407 and use it instead of a global counter. Adjust all callers.
1408 (get_current_thread): Use "find current thread" for test message
1409 here rather than having all callers pass down the same string.
1410 (goto_loop): New procedure, factored out from ...
1411 (my_continue): ... this.
1412 (step_ten_loops): Change parameter from test message to command to
1413 use. Adjust.
1414 (list_count): Delete global.
1415 (check_result): New procedure, factored out from duplicate top
1416 level code.
1417 (continue tests): Wrap in with_test_prefix.
1418 (test_step): New procedure, factored out from duplicate top level
1419 code.
1420 (top level): Test "step" in combination with all scheduler-locking
1421 modes. Test "next" in combination with all scheduler-locking
1422 modes, and in combination with stepping over a function call or
1423 not.
1424 * gdb.threads/next-bp-other-thread.c: New file.
1425 * gdb.threads/next-bp-other-thread.exp: New file.
1426
d3d4baed
PA
14272014-10-29 Pedro Alves <palves@redhat.com>
1428
1429 PR python/17372
1430 * gdb.python/python.exp: Test a multi-line command that spawns
1431 interactive Python.
1432 * gdb.base/multi-line-starts-subshell.exp: New file.
1433
563e8d85
YQ
14342014-10-29 Yao Qi <yao@codesourcery.com>
1435
1436 * gdb.base/fileio.exp: Make directories on host.
1437
0ea4d52e
YQ
14382014-10-29 Yao Qi <yao@codesourcery.com>
1439
1440 * gdb.base/fileio.c (test_write): Close the file.
1441
7f5ef605
PA
14422014-10-28 Pedro Alves <palves@redhat.com>
1443
1444 PR gdb/12623
1445 * gdb.base/sigstep.c (no_handler): New global.
1446 (main): If 'no_handler is true, set the signal handlers to
1447 SIG_IGN.
1448 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1449 with_sw_watch and no_handler parameters. Handle them.
1450 (top level) <stepping over handler when stopped at a breakpoint
1451 test>: Add a test axis for testing with a software watchpoint, and
1452 another for testing with the signal handler set to SIG_IGN.
1453 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1454 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1455
abbdbd03
PA
14562014-10-28 Pedro Alves <palves@redhat.com>
1457
1458 PR gdb/17511
1459 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1460 * gdb.base/sigstep.exp (other_handler_location): New global.
1461 (advance): Support stepping into the signal handler, and running
1462 commands while in the handler.
1463 (in_handler_map): New global.
1464 (top level): In the advance test, add combinations for getting
1465 into the handler with stepping commands, and for running commands
1466 in the handler. Add comment descripting the advancei tests.
1467
1df4399f
PA
14682014-10-28 Pedro Alves <palves@redhat.com>
1469
1470 * gdb.base/sigstep.exp: Use build_executable instead of
1471 prepare_for_testing.
1472 (top level): Move code that starts GDB, runs to main and creates a
1473 display to ...
1474 (restart): ... this new procedure.
1475 (top level): Move backtrace from signal handler test to ...
1476 (validate_backtrace): ... this new procedure.
1477 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1478 with_test_prefix. Always restart GDB.
1479 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1480 with_test_prefix. Always restart GDB. No need to delete
1481 breakpoints after the test.
1482 (test_skip_handler): Remove prefix parameter.
1483 (skip_over_handler, breakpoint_to_handler)
1484 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1485 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1486 restart GDB. No need to delete breakpoints after the test.
1487 (top level): Use foreach to call the test procedures with
1488 different commands.
1489
a5b6e449
PA
14902014-10-28 Pedro Alves <palves@redhat.com>
1491
1492 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1493 instead of GNATS numbers.
1494 * gdb.base/sigbpt.exp: Likewise.
1495 * gdb.base/siginfo.exp: Likewise.
1496 * gdb.base/sigstep.exp: Likewise.
1497
e5f8a7cc
PA
14982014-10-27 Pedro Alves <palves@redhat.com>
1499
1500 * gdb.base/sigstep.c (dummy): New global.
1501 (main): Issue a couple writes to the new global.
1502 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1503 procedures.
1504 (skip_over_handler): Use test_skip_handler.
1505 (top level): Call skip_over_handler for stepi and nexti too.
1506 (breakpoint_over_handler): Use test_skip_handler.
1507 (top level): Call breakpoint_over_handler for stepi and nexti too.
1508
763905a3
YQ
15092014-10-27 Yao Qi <yao@codesourcery.com>
1510
1511 * gdb.trace/tfile.c (adjust_function_address)
1512 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1513 function descriptor.
1514
6f259a23
DB
15152014-10-24 Don Breazeal <donb@codesourcery.com>
1516
1517 * gdb.base/foll-fork.exp (test_follow_fork,
1518 catch_fork_child_follow): Check for updated fork messages emitted
1519 from infrun.c.
1520 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1521 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1522 vfork_and_exec_child_follow_through_step): Check for updated vfork
1523 messages emitted from infrun.c.
1524
09dd9a69
PA
15252014-10-24 Pedro Alves <palves@redhat.com>
1526
1527 * gdb.base/corefile.exp: Remove references to ultrix.
1528 * gdb.base/interrupt.exp: Likewise.
1529 * gdb.base/whatis.exp: Likewise.
1530 * gdb.gdb/selftest.exp: Likewise.
1531 * gdb.threads/manythreads.exp: Likewise.
1532 * gdb.threads/print-threads.exp: Likewise.
1533 * gdb.threads/pthreads.exp:: Likewise.
1534 * gdb.threads/schedlock.exp: Likewise.
1535
3433cfa5
SC
15362014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1537
1538 * gdb.cp/non-trivial-retval.cc: Add a test case.
1539 * gdb.cp/non-trivial-retval.exp: Add a test.
1540
092f880b
YQ
15412014-10-20 Yao Qi <yao@codesourcery.com>
1542
1543 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1544 * gdb.python/py-objfile-script-gdb.py: New file.
1545 * gdb.python/py-objfile-script.exp: Update reference to
1546 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1547 of remote_download. Remove the dest file.
1548
acbdb7f3
YQ
15492014-10-20 Yao Qi <yao@codesourcery.com>
1550
1551 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1552 * gdb.base/step-line.exp: Likewise.
1553 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1554 * gdb.dwarf2/dw2-basic.exp: Likewise.
1555 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1556 * gdb.dwarf2/dw2-filename.exp: Likewise.
1557 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1558 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1559 * gdb.dwarf2/dw2-producer.exp: Likewise.
1560 * gdb.dwarf2/mac-fileno.exp: Likewise.
1561 * gdb.python/py-frame-args.exp: Likewise.
1562 * gdb.python/py-framefilter.exp: Likewise.
1563 * gdb.python/py-mi.exp: Likewise.
1564 * gdb.python/py-objfile-script.exp: Likewise
1565 * gdb.python/py-pp-integral.exp: Likewise.
1566 * gdb.python/py-pp-re-notag.exp: Likewise.
1567 * gdb.python/py-prettyprint.exp: Likewise.
1568 * gdb.python/py-section-script.exp: Likewise.
1569 * gdb.python/py-typeprint.exp: Likewise.
1570 * gdb.python/py-xmethods.exp: Likewise.
1571 * gdb.stabs/weird.exp: Likewise.
1572 * gdb.xml/tdesc-regs.exp: Likewise.
1573
bd286a29
KCY
15742014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1575
1576 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1577 (out_cu): Use addr_len for the size of addresses.
1578 (out_line): Likewise. Size DW_LNE_set_address instruction
1579 according to addr_len.
1580 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1581 (FUNC): Add START_INSNS to definition.
1582
673dc4a0
YQ
15832014-10-18 Yao Qi <yao@codesourcery.com>
1584
1585 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1586 gdb_has_argv0 return true.
1587 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1588 check [target_info exists noargs], check [gdb_has_argv0]
1589 instead.
1590 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1591 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1592 procedures.
1593
4ffbba72
DE
15942014-10-17 Doug Evans <dje@google.com>
1595
1596 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1597 event.
1598 * gdb.python/py-events.py: Add clear_objfiles event.
1599
d096d8c1
DE
16002014-10-17 Doug Evans <dje@google.com>
1601
1602 * gdb.python/py-objfile.exp: Test progspace attribute.
1603
a80db015
LM
16042014-10-17 Luis Machado <lgustavo@codesourcery.com>
1605
1606 * gdb.guile/scm-breakpoint.exp: Do not assume any
1607 directory separators when matching source file paths.
1608 * gdb.python/py-breakpoint.exp: Likewise.
1609 * gdb.reverse/break-precsave.exp: Likewise.
1610 * gdb.reverse/break-reverse.exp: Likewise.
1611 * gdb.reverse/consecutive-precsave.exp: Likewise.
1612 * gdb.reverse/finish-precsave.exp: Likewise.
1613 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1614 * gdb.reverse/finish-reverse.exp: Likewise.
1615 * gdb.reverse/i386-precsave.exp: Likewise.
1616 * gdb.reverse/i387-env-reverse.exp: Likewise.
1617 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1618 * gdb.reverse/machinestate-precsave.exp: Likewise.
1619 * gdb.reverse/machinestate.exp: Likewise.
1620 * gdb.reverse/sigall-precsave.exp: Likewise.
1621 * gdb.reverse/solib-precsave.exp: Likewise.
1622 * gdb.reverse/step-precsave.exp: Likewise.
1623 * gdb.reverse/until-precsave.exp: Likewise.
1624 * gdb.reverse/watch-precsave.exp: Likewise.
1625 * gdb.reverse/watch-reverse.exp: Likewise.
1626
b22089ab
YQ
16272014-10-17 Yao Qi <yao@codesourcery.com>
1628
1629 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1630 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1631
6c4486e6
PA
16322014-10-17 Pedro Alves <palves@redhat.com>
1633
1634 PR gdb/17471
1635 * gdb.base/bg-execution-repeat.c: New file.
1636 * gdb.base/bg-execution-repeat.exp: New file.
1637
0ff33695
PA
16382014-10-17 Pedro Alves <palves@redhat.com>
1639
1640 PR gdb/17300
1641 * gdb.base/continue-all-already-running.c: New file.
1642 * gdb.base/continue-all-already-running.exp: New file.
1643
6fdebc3d
PA
16442014-10-17 Pedro Alves <palves@redhat.com>
1645
1646 PR gdb/17472
1647 * gdb.base/annota-input-while-running.c: New file.
1648 * gdb.base/annota-input-while-running.exp: New file.
1649
32a8097b
PA
16502014-10-17 Pedro Alves <palves@redhat.com>
1651
1652 * gdb.base/callfuncs.exp: emove references to osf.
1653 * gdb.base/sigall.exp: Likewise.
1654 * gdb.gdb/selftest.exp: Likewise.
1655 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1656 * gdb.mi/non-stop.c: Likewise.
1657 * gdb.mi/pthreads.c: Likewise.
1658 * gdb.reverse/sigall-precsave.exp: Likewise.
1659 * gdb.reverse/sigall-reverse.exp: Likewise.
1660 * gdb.threads/pthreads.c: Likewise.
1661 * gdb.threads/pthreads.exp: Likewise.
1662
7a3517ff
YQ
16632014-10-17 Yao Qi <yao@codesourcery.com>
1664
1665 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1666 check 'target_info exists noargs'.
1667 (test_command_prompt_position): Likewise.
1668 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1669 Remove "set args".
1670 (progvar_simple_while_test): Likewise.
1671 (progvar_complex_if_while_test): Likewise.
1672 (if_while_breakpoint_command_test): Likewise.
1673 (infrun_breakpoint_command_test): Likewise.
1674 (breakpoint_command_test): Likewise.
1675 (watchpoint_command_test): Likewise.
1676 (bp_deleted_in_command_test): Likewise.
1677 (temporary_breakpoint_commands): Likewise.
1678
bb99c472
YQ
16792014-10-16 Yao Qi <yao@codesourcery.com>
1680
1681 * gdb.base/remotetimeout.exp: Remove noargs checking.
1682
7c16b83e
PA
16832014-10-15 Pedro Alves <palves@redhat.com>
1684
1685 PR breakpoints/9649
1686 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1687 * gdb.base/breakpoint-in-ro-region.exp
1688 (probe_target_hardware_step): New procedure.
1689 (top level): Probe hardware stepping and hardware breakpoint
1690 support. Test stepping through a read-only region, with both
1691 "breakpoint auto-hw" on and off and both "always-inserted" on and
1692 off.
1693
35a49624
IB
16942014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1695
1696 * gdb.dlang/demangle.exp: Update for demangling changes.
1697
2d1c107c
SC
16982014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1699
1700 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1701 * gdb.cp/non-trivial-retval.exp: Add new tests.
1702
778811d5
SC
17032014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1704
1705 PR c++/13403
1706 PR c++/15154
1707 * gdb.cp/non-trivial-retval.cc: New file.
1708 * gdb.cp/non-trivial-retval.exp: New file.
1709
10c5f0a8
YQ
17102014-10-15 Yao Qi <yao@codesourcery.com>
1711
1712 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1713 remote host.
1714
65d7b369
YQ
17152014-10-15 Yao Qi <yao@codesourcery.com>
1716
1717 * gdb.python/py-symbol.exp: Match file base name if host is
1718 remote, otherwise match file name with dir name.
1719 * gdb.python/py-symtab.exp: Likewise.
1720 * gdb.python/python.exp: Likewise.
1721
46dc1394
YQ
17222014-10-15 Yao Qi <yao@codesourcery.com>
1723
1724 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1725 pattern.
1726 * gdb.python/py-symtab.exp: Likewise.
1727 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1728 locationn.
1729
c40cc657
JB
17302014-10-14 Joel Brobecker <brobecker@adacore.com>
1731
1732 * gdb.ada/addr_arith: New testcase.
1733
2abf49e1
MR
17342014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1735
1736 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1737 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1738 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1739 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1740
f7088df3
SDJ
17412014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1742
1743 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1744 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1745 * gdb.arch/stap-eval-lang-ada.exp: New file.
1746
4dc06805
YQ
17472014-10-14 Yao Qi <yao@codesourcery.com>
1748
1749 * gdb.mi/mi-var-child.c (nothing1): New function.
1750 (nothing2): New function.
1751 (do_children_tests): Set function pointers by nothing1 and
1752 nothing2.
1753 * gdb.mi/mi-var-child.exp: Step over new added statements.
1754 Update test to match the new output.
1755 * gdb.mi/var-cmd.c (nothing1): New function.
1756 (nothing2): New function.
1757 (do_children_tests): Set function pointers by nothing1 and
1758 nothing2.
1759 * gdb.mi/mi-var-display.exp: Update test to match output.
1760 Step to the line specified by $line_dct_nothing.
1761 Increase the number of lines to step.
1762
46a93de2
YQ
17632014-10-14 Yao Qi <yao@codesourcery.com>
1764
1765 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1766 tests.
1767 * gdb.mi/mi2-var-child.exp: Likewise.
1768
14ea52ee
DE
17692014-10-13 Doug Evans <dje@google.com>
1770
1771 * gdb.python/py-objfile.exp: Change name of file name test.
1772
e5c6e92b
DE
17732014-10-13 Doug Evans <dje@google.com>
1774
1775 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1776 from the start of the CU.
1777
c780cc2f
JK
17782014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1779 Yao Qi <yao@codesourcery.com>
1780
1781 Fix "save breakpoints" for "catch" command.
1782 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1783 Remove -nonewline. Match also the added "main" line.
1784
99894e11
JK
17852014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1786
1787 Fix "save breakpoints" for "disable $bpnum" command.
1788 * gdb.base/save-bp.c (main): Add label.
1789 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1790
6e1ac5a3
JK
17912014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1792
1793 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1794
754dd2b0
YQ
17952014-10-11 Yao Qi <yao@codesourcery.com>
1796
1797 * gdb.server/server-kill.exp: Execute command
1798 "set remote trace-status-packet on" before "tstatus".
1799
f90183d7
YQ
18002014-10-11 Yao Qi <yao@codesourcery.com>
1801
1802 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1803 (main): Call getppid.
1804 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1805 and continue to it. Read variable "server_pid".
1806
bf40a607
YQ
18072014-10-11 Yao Qi <yao@codesourcery.com>
1808
1809 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1810
052ca370
YQ
18112014-10-11 Yao Qi <yao@codesourcery.com>
1812
1813 * gdb.threads/thread-find.exp: Don't execute command
1814 "info threads".
1815 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1816 * gdb.threads/linux-dp.exp: Don't check the condition
1817 $threads_created equals to zero.
1818
3831839c
PA
18192014-10-10 Pedro Alves <palves@redhat.com>
1820
1821 * gdb.base/bigcore.exp: Remove references to IRIX.
1822 * gdb.base/funcargs.exp: Likewise.
1823 * gdb.base/interrupt.exp: Likewise.
1824 * gdb.base/mips_pro.exp: Likewise.
1825 * gdb.base/nodebug.exp: Likewise.
1826 * gdb.base/setvar.exp: Likewise.
1827 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1828
8b9a549d
PA
18292014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1830 Pedro Alves <palves@redhat.com>
1831
1832 PR symtab/14466
1833 * gdb.base/vdso-warning.c: New file.
1834 * gdb.base/vdso-warning.exp: New file.
1835
d48ba5e8
DE
18362014-10-02 Doug Evans <dje@google.com>
1837
1838 * gdb.base/structs.c (main): Don't run forever.
1839
2278c276
PA
18402014-10-02 Pedro Alves <palves@redhat.com>
1841
1842 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1843 (top level) <stop threads 1, stop threads 2>: Use it.
1844
b57bacec
PA
18452014-10-02 Pedro Alves <palves@redhat.com>
1846
1847 * gdb.threads/break-while-running.exp (test): Add new
1848 'update_thread_list' argument. Skip "info threads" if false.
1849 (top level): Add new 'update_thread_list' axis.
1850
13fd3ff3
PA
18512014-10-02 Pedro Alves <palves@redhat.com>
1852
1853 PR breakpoints/17431
1854 * gdb.base/execl-update-breakpoints.c: New file.
1855 * gdb.base/execl-update-breakpoints.exp: New file.
1856
0fec99e8
PA
18572014-10-01 Pedro Alves <palves@redhat.com>
1858
1859 * gdb.base/breakpoint-in-ro-region.c: New file.
1860 * gdb.base/breakpoint-in-ro-region.exp: New file.
1861
2ddf4301
SM
18622014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1863
1864 * gdb.mi/mi-exit-code.exp: New file.
1865 * gdb.mi/mi-exit-code.c: New file.
1866
6a5f3f43
YQ
18672014-09-30 Yao Qi <yao@codesourcery.com>
1868
1869 * lib/prelink-support.exp (build_executable_own_libs): Error if
1870 the target isn't native.
1871
345bcc73
YQ
18722014-09-30 Yao Qi <yao@codesourcery.com>
1873
1874 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1875 false.
1876
a25a5a45
PA
18772014-09-22 Pedro Alves <palves@redhat.com>
1878
1879 * gdb.threads/break-while-running.exp: New file.
1880 * gdb.threads/break-while-running.c: New file.
1881
00ba3162
YQ
18822014-09-19 Yao Qi <yao@codesourcery.com>
1883
1884 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1885 Invoke test. Restart GDB with --readnow and invoke test again.
1886
c3b7b696
YQ
18872014-09-19 Yao Qi <yao@codesourcery.com>
1888
1889 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1890 proc set_breakpoint_on_gcd_function. Invoke
1891 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1892 invoke set_breakpoint_on_gcd_function again.
1893
2b4fd423
DE
18942014-09-18 Doug Evans <dje@google.com>
1895
1896 * gdb.dwarf2/symtab-producer.exp: New file.
1897
a5947601
SDJ
18982014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1899
1900 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1901 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1902 * gdb.base/global-var-nested-by-dso.c: Likewise.
1903 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1904
91c19059
SDJ
19052014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1906 Pedro Alves <palves@redhat.com>
1907
1908 * gdb.base/watch-bitfields.exp: Pass string other than test file
1909 name to prepare_for_testing.
1910 (watch): New procedure.
1911 (expect_watchpoint): Use with_test_prefix.
1912 (top level): Factor out tests to ...
1913 (test_watch_location, test_regular_watch): ... these new
1914 procedures, and use with_test_prefix and gdb_continue_to_end.
1915
bb9d5f81
PP
19162014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1917
1918 PR breakpoints/12526
1919 * gdb.base/watch-bitfields.exp: New file.
1920 * gdb.base/watch-bitfields.c: New file.
1921
635856f5
PA
19222014-09-16 Pedro Alves <palves@redhat.com>
1923
1924 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1925 software and hardware addresses, not software address against
1926 itself.
1927
7280ceea
PA
19282014-09-16 Pedro Alves <palves@redhat.com>
1929
1930 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1931 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1932
428b16bd
PA
19332014-09-16 Pedro Alves <palves@redhat.com>
1934
1935 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1936 files.
1937 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1938 "*-*-vxworks*" throughout.
1939 * gdb.base/break.exp: Likewise.
1940 * gdb.base/default.exp: Likewise.
1941 * gdb.base/scope.exp: Likewise.
1942 * gdb.base/sepdebug.exp: Likewise.
1943 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1944 throughout.
1945 * gdb.base/run.c: Likewise.
1946 * gdb.base/sepdebug.c: Likewise.
1947 * gdb.hp/gdb.aCC/run.c: Likewise.
1948 * gdb.reverse/until-reverse.c: Likewise.
1949 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1950
666d413c
YQ
19512014-09-16 Yao Qi <yao@codesourcery.com>
1952
1953 * boards/local-remote-host-native.exp: New file.
1954
57cbd724
DE
19552014-09-14 Doug Evans <xdje42@gmail.com>
1956
1957 * gdb.threads/queue-signal.c (thread_count): New variable.
1958 (thread_count_mutex, thread_count_condvar): New variables.
1959 (incr_thread_count, wait_all_threads_running): New functions.
1960 (main): Wait for all threads to be in their thread functions.
1961
81219e53
DE
19622014-09-13 Doug Evans <xdje42@gmail.com>
1963
1964 * gdb.threads/queue-signal.c: New file.
1965 * gdb.threads/queue-signal.exp: New file.
1966
3714cea7
DE
19672014-09-13 Doug Evans <xdje42@gmail.com>
1968
1969 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1970 be consistent with what default_gdb_init uses.
1971 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1972 the plain text of the prompt. Add some logging printfs.
1973 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1974
fa43b1d7
PA
19752014-09-12 Pedro Alves <palves@redhat.com>
1976
1977 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1978 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1979 * gdb.arch/i386-size-overlap.exp: Likewise.
1980 * gdb.arch/i386-size.exp: Likewise.
1981 * gdb.arch/i386-unwind.exp: Likewise.
1982 * gdb.base/a2-run.exp: Likewise.
1983 * gdb.base/break.exp: Likewise.
1984 * gdb.base/charset.exp: Likewise.
1985 * gdb.base/chng-syms.exp: Likewise.
1986 * gdb.base/commands.exp: Likewise.
1987 * gdb.base/dbx.exp: Likewise.
1988 * gdb.base/find.exp: Likewise.
1989 * gdb.base/funcargs.exp: Likewise.
1990 * gdb.base/jit-simple.exp: Likewise.
1991 * gdb.base/reread.exp: Likewise.
1992 * gdb.base/sepdebug.exp: Likewise.
1993 * gdb.base/step-bt.exp: Likewise.
1994 * gdb.cp/mb-inline.exp: Likewise.
1995 * gdb.cp/mb-templates.exp: Likewise.
1996 * gdb.objc/basicclass.exp: Likewise.
1997 * gdb.threads/killed.exp: Likewise.
1998
9d9bf2df
EBM
19992014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2000
2001 PR tdep/17379
2002 * gdb.arch/powerpc-stackless.S: New file.
2003 * gdb.arch/powerpc-stackless.exp: New file.
2004
1cf2f1b0
JK
20052014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2006
2007 * gdb.base/attach.c: Include unistd.h.
2008 (main): Call alarm. Add label postloop.
2009 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2010 gdb_breakpoint, gdb_continue_to_breakpoint.
2011 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2012
98880d46
PA
20132014-09-11 Pedro Alves <palves@redhat.com>
2014
2015 PR gdb/17347
2016 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2017 * gdb.base/attach.exp (test_command_line_attach_run): New
2018 procedure.
2019 (top level): Call it.
2020
4c92ff2c
PA
20212014-09-11 Pedro Alves <palves@redhat.com>
2022
2023 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2024 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2025 (do_command_attach_tests): Use spawn_wait_for_attach.
2026 * gdb.base/solib-overlap.exp: Likewise.
2027 * gdb.multi/multi-attach.exp: Likewise.
2028 * gdb.python/py-prompt.exp: Likewise.
2029 * gdb.python/py-sync-interp.exp: Likewise.
2030 * gdb.server/ext-attach.exp: Likewise.
2031
3adc1a7d
GKB
20322014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2033
2034 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2035 command in testcase. Simplify testcase.
2036
96334934
JB
20372014-09-10 Joel Brobecker <brobecker@adacore.com>
2038
2039 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2040
eb479039
JB
20412014-09-10 Joel Brobecker <brobecker@adacore.com>
2042
2043 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2044
deede10c
JB
20452014-09-10 Joel Brobecker <brobecker@adacore.com>
2046
2047 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2048
7828a5f5
JB
20492014-09-10 Joel Brobecker <brobecker@adacore.com>
2050
2051 * gdb.dwarf2/dynarr-ptr.c: New file.
2052 * gdb.dwarf2/dynarr-ptr.exp: New file.
2053
33aeebcf
MR
20542014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2055
2056 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2057 of 30 rather than hardcoding 120 for a slow test case. Take the
2058 `gdb,timeout' target setting into account for this calculation.
2059 Don't extend the timeout for the test cases that don't need it.
2060
7b415901
MR
20612014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2062
2063 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2064 a factor of 2 for a slow test case. Take the `gdb,timeout'
2065 target setting into account for this calculation.
2066 * gdb.reverse/until-precsave.exp: Increase the timeout by
2067 a factor of 15 and 3 respectively rather than adding 120
2068 for a pair of slow test cases. Take the `gdb,timeout'
2069 target setting into account for this calculation.
2070
4a40f85a
MR
20712014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2072
2073 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2074 timeout, don't pass one down to gdb_expect.
2075 (gdb_expect): Rework timeout selection.
2076
09635af7
MR
20772014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2078
2079 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2080 exception on timeout.
2081 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2082 (gdbserver_start_extended): Catch any `gdbserver_start' error
2083 exceptions.
2084 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2085 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2086 `gdbserver_gdb_load' error exceptions.
2087
2bdd10b7
MR
20882014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2089
2090 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2091 120 on waiting for the TCP socket to open.
2092
316935f0
DE
20932014-09-09 Doug Evans <xdje42@gmail.com>
2094
2095 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2096 _caller_matches, _any_caller_is, _any_caller_matches.
2097
83740597
DE
20982014-09-09 Doug Evans <xdje42@gmail.com>
2099
2100 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2101
4c122fc3
YQ
21022014-09-09 Yao Qi <yao@codesourcery.com>
2103
2104 * gdb.mi/mi-var-display.exp: Set print symbol off.
2105
a9f116cb
GKB
21062014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2107
2108 PR gdb/17035
2109 * gdb.base/commands.exp: Add tests to verify user-defined
2110 commands with empty bodies.
2111 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2112 python commands in `show user command`.
2113 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2114 scheme commands in `show user command`.
2115
c75bd3a2
JK
21162014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2117
2118 PR python/17355
2119 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2120 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2121 * gdb.python/py-framefilter-invalidarg.exp: New file.
2122 * gdb.python/py-framefilter-invalidarg.py: New file.
2123
faa42425
DE
21242014-09-06 Doug Evans <xdje42@gmail.com>
2125
2126 PR 15276
2127 * gdb.python/py-caller-is.c: New file.
2128 * gdb.python/py-caller-is.exp: New file.
2129
474ca4f6
SDJ
21302014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2131
2132 PR gdb/17235
2133 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2134 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2135
eb0b0463
SDJ
21362014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2137
2138 PR fortran/17237
2139 * gdb.fortran/print-formatted.exp: New file.
2140 * gdb.fortran/print-formatted.f90: Likewise.
2141
5f3b99cf
SS
21422014-09-03 Sasha Smundak <asmundak@google.com>
2143
2144 * gdb.python/py-frame.exp: Test Frame.read_register.
2145
7d793aa9
SDJ
21462014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2147
2148 PR python/16699
2149 * gdb.python/py-completion.exp: New file.
2150 * gdb.python/py-completion.py: Likewise.
2151
fb0576e9
DE
21522014-08-28 Doug Evans <dje@google.com>
2153
2154 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2155 eax,etc. are live with values set by gdb and thus the compiler can't
2156 use them.
2157 * gdb.arch/i386-pseudo.c (main): Ditto.
2158
ee92b0dd
DE
21592014-08-27 Doug Evans <dje@google.com>
2160
2161 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2162
6649db35
DE
21632014-08-25 Doug Evans <dje@google.com>
2164
2165 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2166 (main): Ditto.
2167
564b7600
DE
21682014-08-25 Doug Evans <dje@google.com>
2169
2170 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2171
3881fb67
YQ
21722014-08-24 Yao Qi <yao@codesourcery.com>
2173
2174 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2175 symbol off.
2176 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2177
a05a36a5
DE
21782014-08-22 Doug Evans <dje@google.com>
2179
2180 PR 17276
2181 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2182 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2183 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2184
7c343b48
YQ
21852014-08-22 Yao Qi <yao@codesourcery.com>
2186
2187 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2188 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2189 * gdb.python/python.exp: Likewise. Use .py file on the host
2190 instead of the build.
2191
22fd09ae
JK
21922014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2193
2194 * gdb.threads/gcore-stale-thread.c: New file.
2195 * gdb.threads/gcore-stale-thread.exp: New file.
2196
a8454a7c
PA
21972014-08-21 Pedro Alves <palves@redhat.com>
2198
2199 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2200 * gdb.base/gcore-relro-pie.exp: Likewise.
2201 * gdb.base/gcore-relro.exp: Likewise.
2202 * gdb.base/gcore.exp: Likewise.
2203 * gdb.base/print-symbol-loading.exp: Likewise.
2204 * gdb.threads/gcore-thread.exp: Likewise.
2205 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2206
2a31c623
PA
22072014-08-20 Pedro Alves <palves@redhat.com>
2208 Jan Kratochvil <jan.kratochvil@redhat.com>
2209
2210 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2211 configure.
2212 (EXPECT): Handle READ1 being set.
2213 (all): Depend on EXTRA_RULES.
2214 (check-read1, expect-read1, read1.so, read1): New rules.
2215 * README (Testsuite Parameters): Document the READ1 make variable.
2216 (Race detection): New section.
2217 * configure: Regenerate.
2218 * configure.ac: If build==host==target, and running under a
2219 GNU/glibc system, add read1 to the extra Makefile rules.
2220 (EXTRA_RULES): AC_SUBST it.
2221 * lib/read1.c: New file.
2222
d36430db
JB
22232014-08-20 Joel Brobecker <brobecker@adacore.com>
2224
2225 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2226 the handling of variables declared as a typedef to an array
2227 which a DW_AT_data_location attribute.
2228
9a0dc9e3
PA
22292014-08-19 Andrew Burgess <aburgess@broadcom.com>
2230 Pedro Alves <palves@redhat.com>
2231
2232 PR symtab/14604
2233 PR symtab/14605
2234 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2235 gdb_test.
2236
0718a8da
PA
22372014-08-19 Pedro Alves <palves@redhat.com>
2238
2239 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2240
13b448cd
YQ
22412014-08-19 Yao Qi <yao@codesourcery.com>
2242
2243 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2244 right line.
2245
1cbf5077
DB
22462014-08-18 David Blaikie <dblaikie@gmail.com>
2247
2248 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2249
bf0fae19
JB
22502014-08-18 Joel Brobecker <brobecker@adacore.com>
2251
2252 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2253 attribute in array range.
2254
3c8c5dcc
JB
22552014-08-18 Joel Brobecker <brobecker@adacore.com>
2256
2257 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2258
e66d4446
SC
22592014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2260
2261 PR c++/17132
2262 * gdb.cp/pr17132.cc: New file.
2263 * gdb.cp/pr17132.exp: New file.
2264
940df408
SC
22652014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2266
2267 * gdb.python/py-xmethods.py (A_getarrayind)
2268 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2269 Use 'print' with function call syntax.
2270 (E_method_matcher.match): Fix tab vs space indentation mixup.
2271
ebcc6c3a
YQ
22722014-08-15 Yao Qi <yao@codesourcery.com>
2273
2274 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2275 false.
2276
775e0f04
YQ
22772014-08-15 Yao Qi <yao@codesourcery.com>
2278
2279 * gdb.cp/casts.exp: Set print symbol off.
2280 * gdb.cp/class2.exp: Likewise.
2281 * gdb.cp/overload.exp: Likewise.
2282 * gdb.cp/templates.exp: Likewise.
2283
d769e349
DE
22842014-08-11 Doug Evans <dje@google.com>
2285
2286 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2287 (test_load_shlib): Update.
2288
20c6f1e1
YQ
22892014-08-09 Yao Qi <yao@codesourcery.com>
2290
2291 * gdb.base/display.exp: Invoke is_address_zero_readable.
2292 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2293 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2294 * gdb.base/hbreak-unmapped.exp: Return if
2295 is_address_zero_readable returns true.
2296 * gdb.base/signest.exp: Likewise.
2297 * gdb.base/signull.exp: Likewise.
2298 * gdb.base/sigbpt.exp: Likewise.
2299 * gdb.guile/scm-disasm.exp: Do the test if
2300 is_address_zero_readable returns false.
2301 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2302 * gdb.python/py-arch.exp: Likewise.
2303 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2304 * lib/gdb.exp (is_address_zero_readable): New proc.
2305
5792e8e3
YQ
23062014-08-09 Yao Qi <yao@codesourcery.com>
2307
2308 PR testsuite/13443
2309 * gdb.mi/mi-var-display.exp: Make test messages unique.
2310
3cecbbbe
TT
23112014-08-04 Tom Tromey <tromey@redhat.com>
2312
2313 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2314 target 0".
2315
00b51ff5
TT
23162014-08-04 Tom Tromey <tromey@redhat.com>
2317
2318 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2319 "target_resume".
2320
6908c509
JB
23212014-08-01 Joel Brobecker <brobecker@adacore.com>
2322
2323 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2324 inner_vla_struct_object_size.
2325 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2326 as xfail.
2327
cc6563d2
PA
23282014-07-30 Pedro Alves <palves@redhat.com>
2329
2330 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2331 comment.
2332
7e09a223
YQ
23332014-07-29 Yao Qi <yao@codesourcery.com>
2334
2335 PR gdb/17206
2336 * gdb.base/until-nodebug.exp: New.
2337
7ebdbe92
DE
23382014-07-28 Doug Evans <xdje42@gmail.com>
2339
2340 PR guile/17203
2341 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2342 previously existing parameter, and previously ambiguously spelled
2343 parameter.
2344
fdb1adc6
WN
23452014-07-28 Will Newton <will.newton@linaro.org>
2346
2347 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2348
186fcde0
DE
23492014-07-26 Ludovic Courtès <ludo@gnu.org>
2350 Doug Evans <xdje42@gmail.com>
2351
2352 PR guile/17146
2353 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2354
70509625
PA
23552014-07-25 Pedro Alves <palves@redhat.com>
2356
2357 * gdb.threads/signal-command-handle-nopass.c: New file.
2358 * gdb.threads/signal-command-handle-nopass.exp: New file.
2359 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2360 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2361 * gdb.threads/signal-delivered-right-thread.c: New file.
2362 * gdb.threads/signal-delivered-right-thread.exp: New file.
2363
c3f814a1
PA
23642014-07-25 Pedro Alves <palves@redhat.com>
2365
2366 * gdb.base/double-prompt-target-event-error.exp
2367 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2368 match.
2369 (cancel_pagination_in_target_event): Rework double prompt
2370 detection.
2371 * gdb.base/paginate-after-ctrl-c-running.exp
2372 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2373 <return>' match.
2374 * gdb.base/paginate-bg-execution.exp
2375 (test_bg_execution_pagination_return)
2376 (test_bg_execution_pagination_cancel): Remove '-notransfer
2377 <return>' matches.
2378 * gdb.base/paginate-execution-startup.exp
2379 (test_fg_execution_pagination_return)
2380 (test_fg_execution_pagination_cancel): Remove '-notransfer
2381 <return>' matches.
2382 * gdb.base/paginate-inferior-exit.exp
2383 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2384 match.
2385 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2386 * lib/gdb.exp (pagination_prompt): Run text through
2387 string_to_regexp.
2388 (gdb_test_multiple): Match $pagination_prompt instead of
2389 "<return>".
2390 (string_to_regexp): Move to lib/gdb-utils.exp.
2391
e214cf6c
JK
23922014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2393
2394 * gdb.arch/amd64-entry-value-paramref.S: New file.
2395 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2396 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2397 * gdb.arch/amd64-optimout-repeat.S: New file.
2398 * gdb.arch/amd64-optimout-repeat.c: New file.
2399 * gdb.arch/amd64-optimout-repeat.exp: New file.
2400
17d0c5c8
JK
24012014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2402
2403 PR gdb/17170
2404 * gdb.base/statistics.exp: New file.
2405
b8b8facf
DE
24062014-07-17 Doug Evans <dje@google.com>
2407
74b49205 2408 PR gdb/17170
b8b8facf
DE
2409 * gdb.base/maint.exp: Update testing of per-command stats.
2410
1b5d0ab3
PA
24112014-07-16 Pedro Alves <palves@redhat.com>
2412
2413 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2414 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2415 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2416 (tfile_write_buf): New functions.
2417 (add_memory_block): Rewrite using the above.
2418 (adjust_function_address): New function.
2419 (FUNCTION_ADDRESS): New macro.
2420 (write_basic_trace_file): Remove short_x local, and use
2421 tfile_write_16. Change type of func_addr local to unsigned long
2422 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2423 here. Cast argument of add_memory_block to char pointer.
2424 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2425 (main): Remove parameters.
2426 * gdb.trace/tfile.exp: Remove nowarnings.
2427
4d974e88
SM
24282014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2429
2430 * gdb.base/debug-expr.exp: Test string evaluation with
2431 "debug expression" on.
2432
41e99568
PA
24332014-07-15 Pedro Alves <palves@redhat.com>
2434
2435 * gdb.base/reread.exp: Use clean_restart.
2436
487d9753
PL
24372014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2438
2439 * gdb.arch/avr-flash-qualifer.c: New.
2440 * gdb.arch/avr-flash-qualifer.exp: New.
2441
cc1c52ad
PA
24422014-07-14 Pedro Alves <palves@redhat.com>
2443
2444 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2445 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2446
1e973570
PA
24472014-07-14 Pedro Alves <palves@redhat.com>
2448
2449 * gdb.base/double-prompt-target-event-error.c: New file.
2450 * gdb.base/double-prompt-target-event-error.exp: New file.
2451
93d6eb10
PA
24522014-07-14 Pedro Alves <palves@redhat.com>
2453
2454 PR gdb/17072
2455 * gdb.base/paginate-inferior-exit.c: New file.
2456 * gdb.base/paginate-inferior-exit.exp: New file.
2457
0017922d
PA
24582014-07-14 Pedro Alves <palves@redhat.com>
2459
2460 PR gdb/17072
2461 * gdb.base/paginate-bg-execution.c: New file.
2462 * gdb.base/paginate-bg-execution.exp: New file.
2463
94696ad3
PA
24642014-07-14 Pedro Alves <palves@redhat.com>
2465
2466 PR gdb/17072
2467 * gdb.base/paginate-execution-startup.c: New file.
2468 * gdb.base/paginate-execution-startup.exp: New file.
2469 * lib/gdb.exp (pagination_prompt): New global.
2470 (default_gdb_spawn): New procedure, factored out from
2471 default_gdb_spawn.
2472 (default_gdb_start): Adjust to call default_gdb_spawn.
2473 (gdb_spawn): New procedure.
2474
bd293940
PA
24752014-07-14 Pedro Alves <palves@redhat.com>
2476
2477 * lib/gdb.exp (gdb_assert): New procedure.
2478 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2479
c933f875
PA
24802014-07-14 Pedro Alves <palves@redhat.com>
2481
2482 * gdb.base/execution-termios.c: New file.
2483 * gdb.base/execution-termios.exp: New file.
2484
d98b7a16
TT
24852014-07-14 Tom Tromey <tromey@redhat.com>
2486
2487 * gdb.cp/vla-cxx.cc: New file.
2488 * gdb.cp/vla-cxx.exp: New file.
2489
548740d6
TT
24902014-07-14 Tom Tromey <tromey@redhat.com>
2491
2492 * gdb.reverse/rerun-prec.c: New file.
2493 * gdb.reverse/rerun-prec.exp: New file.
2494
a25eb028
MR
24952014-07-12 Maciej W. Rozycki <macro@mips.com>
2496 Maciej W. Rozycki <macro@codesourcery.com>
2497
2498 * lib/gdb-utils.exp: New file.
2499 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2500 inline `gdb_init_command' processing.
2501 (gdb_start_cmd): Likewise.
2502 * lib/mi-support.exp (mi_run_cmd): Likewise.
2503 * README: Document `gdb_init_command' and `gdb_init_commands'.
2504
218c2655
JK
25052014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2506
2507 Fix false FAIL running under a very long directory name.
2508 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2509 and "set print elements 10000". Twice.
2510
5401fde3
YQ
25112014-07-11 Yao Qi <yao@codesourcery.com>
2512
2513 * gdb.base/exprs.exp: "set print symbol off".
2514
e76126e8
PA
25152014-07-11 Pedro Alves <palves@redhat.com>
2516
2517 * gdb.threads/kill.c: New file.
2518 * gdb.threads/kill.exp: New file.
2519
2d6f0de6
YQ
25202014-07-10 Yao Qi <yao@codesourcery.com>
2521
2522 * gdb.trace/tfile.c (write_basic_trace_file)
2523 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2524 address written to trace file.
2525
7180e04a
PA
25262014-07-09 Pedro Alves <palves@redhat.com>
2527
2528 * gdb.base/attach-wait-input.exp: New file.
2529 * gdb.base/attach-wait-input.c: New file.
2530
9a9a7608
AB
25312014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2532
2533 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2534 setting up test structures.
2535 (main): Call new test function.
2536 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2537 test function, continue into test function and walk test
2538 structures.
2539
161ac41e
YQ
25402014-07-02 Yao Qi <yao@codesourcery.com>
2541
2542 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2543 'bar_start' at the beginning of functions 'foo' and 'bar'
2544 respectively.
2545 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2546 instead of 'foo' and 'bar'.
2547
1f267ae3
MM
25482014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2549
2550 * gdb.btrace/segv.exp: New.
2551 * gdb.btrace/segv.c: New.
2552
2b239efb
LM
25532014-07-02 Luis Machado <lgustavo@codesourcery.com>
2554
2555 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2556 instruction.
2557
cf363f18
MW
25582014-06-30 Mark Wielaard <mjw@redhat.com>
2559
2560 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2561 vulture, vilify, villar): New volatile array constants.
2562 (vindictive, vegetation): New const volatile array constants.
2563 * gdb.base/volatile.exp: Test volatile and const volatile array
2564 types.
2565
aebf9d24
AA
25662014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2567
2568 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2569 target lacks support for awatch, rwatch, or hbreak.
2570
b67a2c6f
YQ
25712014-06-27 Yao Qi <yao@codesourcery.com>
2572
2573 * gdb.multi/dummy-frame-restore.exp: New.
2574 * gdb.multi/dummy-frame-restore.c: New.
2575
aef92902
MM
25762014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2577
2578 * gdb.btrace/gcore.exp: New.
2579
8e9db26e
PA
25802014-06-23 Pedro Alves <palves@redhat.com>
2581
2582 * gdb.base/watchpoint-reuse-slot.c: New file.
2583 * gdb.base/watchpoint-reuse-slot.exp: New file.
2584
70afc5b7
SC
25852014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2586
2587 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2588 progspace's filename in 'info', 'enable' and 'disable' command
2589 tests.
2590
b972bd9c
JK
25912014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2592
2593 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2594 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2595 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2596
125f8a3d
GB
25972014-06-20 Gary Benson <gbenson@redhat.com>
2598
2599 * gdb.arch/i386-avx.exp: Fix include file location.
2600 * gdb.arch/i386-sse.exp: Likewise.
2601
3ed9baed
IB
26022014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2603
2604 * gdb.dlang/expression.exp: New file.
2605
034f788c
PA
26062014-06-19 Pedro Alves <palves@redhat.com>
2607
2608 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2609 out from ...
2610 (top level): ... here. Iterate running tests under different
2611 scheduler-locking settings.
2612
45371d0c
LM
26132014-06-18 Luis Machado <lgustavo@codesourcery.com>
2614
2615 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2616 to DW_FORM_addr and use non-zero addresses.
2617
5d376983
SC
26182014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2619
2620 PR gdb/17017
2621 * gdb.python/py-xmethods.cc: Add global function call counters and
2622 increment them in their respective functions. Remove "cout"
2623 statements.
2624 * gdb.python/py-xmethods.exp: Make tests check the global function
2625 call counters instead of depending on inferior IO.
2626
a1aa2221
LM
26272014-06-18 Don Breazeal <donb@codesourcery.com>
2628
2629 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2630 Deleted procedure.
2631 (explicit_fork_parent_follow): Deleted procedure.
2632 (explicit_fork_child_follow): Deleted procedure.
2633 (test_follow_fork): New procedure.
2634 (do_fork_tests): Replace calls to deleted procedures with
2635 calls to test_follow_fork and reset GDB for subsequent
2636 procedure calls.
2637
0fc05997
YQ
26382014-06-17 Yao Qi <yao@codesourcery.com>
2639
2640 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2641 CP1252.
2642
70795c52
LM
26432014-06-17 Luis Machado <lgustavo@codesourcery.com>
2644
2645 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2646 Initialize ptr and S explicitly.
2647 (skip_type_update_when_not_use_rtti_test): Likewise.
2648
6be47f0c
KS
26492014-06-16 Keith Seitz <keiths@redhat.com>
2650
2651 PR mi/15863
2652 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2653 the inferior is started.
2654
d03de421
PA
26552014-06-16 Pedro Alves <palves@redhat.com>
2656
2657 * gdb.base/break-main-file-remove-fail.c: New file.
2658 * gdb.base/break-main-file-remove-fail.exp: New file.
2659 * gdb.base/break-unload-file.exp: Use build_executable instead of
2660 prepare_for_testing.
2661 (test_break): New parameter "initial_load". Handle it.
2662 (top level): Add initial_load cmdline/file axis.
2663
f9579b99
TT
26642014-06-12 Tom Tromey <tromey@redhat.com>
2665
2666 * gdb.base/completion.exp: Don't use directory name in test.
2667
3657956b
GB
26682014-06-09 Gary Benson <gbenson@redhat.com>
2669
2670 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2671 separate the always-available ANSI-standard signals from the
2672 signals that require checking.
2673 (main): Likewise.
2674 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2675 Likewise.
2676 (main): Likewise.
2677
4186eb54
KS
26782014-06-07 Keith Seitz <keiths@redhat.com>
2679
2680 Revert:
2681 PR c++/16253
2682 * gdb.cp/var-tag.cc: New file.
2683 * gdb.cp/var-tag.exp: New file.
2684 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2685 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2686 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2687 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2688
25326a28 26892014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
2690
2691 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2692
829155c9
PA
26932014-06-06 Pedro Alves <palves@redhat.com>
2694
2695 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2696 in target debug output instead of looking at RSP packets,
2697 disabling the test on any target that uses hardware stepping.
2698 Update comments.
2699
61c8d22e
PA
27002014-06-06 Pedro Alves <palves@redhat.com>
2701
2702 * gdb.base/break-unload-file.exp: Fix typo.
2703
d9a47287
YQ
27042014-06-06 Yao Qi <yao@codesourcery.com>
2705
2706 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2707 from "jit_function" to "^jit_function".
2708
e5e01dbf
YQ
27092014-06-06 Yao Qi <yao@codesourcery.com>
2710
2711 * gdb.base/async.c (foo): Add one statement.
2712 * gdb.base/async.exp: Get the next instruction address and
2713 match the output of "nexti" by instruction address. Match
2714 the hex address in the output of "finish".
2715
73ba372c
GB
27162014-06-06 Gary Benson <gbenson@redhat.com>
2717
2718 * gdb.base/call-signals.c: Remove preprocessor conditionals
2719 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2720 SIGSEGV and SIGTERM.
2721 * gdb.base/sigall.c: Likewise.
2722 * gdb.base/unwindonsignal.c: Likewise.
2723 * gdb.reverse/sigall-reverse.c: Likewise.
2724
831517df
YQ
27252014-06-06 Yao Qi <yao@codesourcery.com>
2726
2727 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2728 readable, skip the test.
2729
b8b91e98
YQ
27302014-06-06 Yao Qi <yao@codesourcery.com>
2731
2732 * gdb.threads/staticthreads.c (thread_function): Move the line
2733 setting breakpoint on forward.
2734 * gdb.threads/staticthreads.exp: Update comments.
2735
fb934770
LC
27362014-06-05 Ludovic Courtès <ludo@gnu.org>
2737
2738 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2739 "history-append! type error".
2740
6ef284bd
SM
27412014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2742
2743 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2744 erroneous dprintf expected input.
2745
a872e241
DE
27462014-06-04 Doug Evans <xdje42@gmail.com>
2747
2748 * gdb.guile/scm-generics.exp: Delete.
2749
16f691fb
DE
27502014-06-04 Doug Evans <xdje42@gmail.com>
2751
2752 * gdb.guile/scm-breakpoint.exp: Update.
2753 Add tests for breakpoint registration.
2754
012370f6
TT
27552014-06-04 Tom Tromey <tromey@redhat.com>
2756
2757 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2758 VLA-in-union.
2759 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2760 inner_vla_struct, vla_union types. Initialize objects of those
2761 types and compute their sizes.
2762
9f5a4cef
HZ
27632014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2764 Hui Zhu <hui@codesourcery.com>
2765
2766 * gdb.base/fileio.exp: Add test for shell not available as well as
2767 available.
2768 * gdb.base/fileio.c (test_system): Check for shell twice.
2769
90a45c4d
YQ
27702014-06-04 Yao Qi <yao@codesourcery.com>
2771
2772 * gdb.base/auto-connect-native-target.exp: Remove redundant
2773 space from the regexp pattern.
2774
70017e41
YQ
27752014-06-04 Yao Qi <yao@codesourcery.com>
2776
2777 * gdb.base/default.exp: Replace "child" with "native" in
2778 regexp pattern.
2779
883964a7
SC
27802014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2781
2782 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2783 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2784 * gdb.python/py-xmethods.py: Python script supporting the
2785 new testcase and tests.
2786
ef370185
JB
27872014-06-03 Joel Brobecker <brobecker@adacore.com>
2788 Pedro Alves <palves@redhat.com>
2789
2790 PR breakpoints/17000
2791 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2792 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2793
1e2ccb61
BM
27942014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2795
2796 * gdb.base/subst.exp: Add tests to verify partial path matching
2797 output.
2798
c6ec5ab2
PA
27992014-06-03 Pedro Alves <palves@redhat.com>
2800
2801 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2802 target that doesn't use software single-stepping.
2803
835c559f
PA
28042014-06-03 Pedro Alves <palves@redhat.com>
2805
2806 PR breakpoints/17000
2807 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2808 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2809
06eb1586
DE
28102014-06-02 Doug Evans <xdje42@gmail.com>
2811
2812 * gdb.guile/scm-parameter.exp: New file.
2813
e698b8c4
DE
28142014-06-02 Doug Evans <xdje42@gmail.com>
2815
2816 * gdb.guile/scm-cmd.c: New file.
2817 * gdb.guile/scm-cmd.exp: New file.
2818
ded03782
DE
28192014-06-02 Doug Evans <xdje42@gmail.com>
2820
2821 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2822 pretty-printer lookup.
2823 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2824 (make-pp_s-printer): Call it.
2825 (make-pretty-printer-from-dict): New function.
2826 (lookup-pretty-printer-maker-from-dict): New function.
2827 (*pretty-printer*): Simplify.
2828 (make-objfile-pp_s-printer): New function.
2829 (install-objfile-pretty-printers!): New function.
2830 (make-progspace-pp_s-printer): New function.
2831 (install-progspace-pretty-printers!): New function.
2832 * gdb.guile/scm-progspace.c: New file.
2833 * gdb.guile/scm-progspace.exp: New file.
2834
41fac0cf
PA
28352014-06-02 Pedro Alves <palves@redhat.com>
2836
2837 * gdb.base/dprintf-bp-same-addr.c: New file.
2838 * gdb.base/dprintf-bp-same-addr.exp: New file.
2839
96ae5695
EBM
28402014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2841
2842 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2843 * gdb.arch/powerpc-power.s: Likewise.
2844
da02b3a8
JB
28452014-06-02 Joel Brobecker <brobecker@adacore.com>
2846
2847 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2848
c72b2e7b
YQ
28492014-06-01 Yao Qi <yao@codesourcery.com>
2850
2851 * gdb.base/watchpoint.exp (test_watch_location): Check null
2852 pointer can be dereferenced. If not, do the test, otherwise
2853 skip it.
2854
53e8a631
AB
28552014-05-30 Andrew Burgess <aburgess@broadcom.com>
2856
2857 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2858 results.
2859 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2860
938f0e2f
AB
28612014-05-30 Andrew Burgess <aburgess@broadcom.com>
2862
2863 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2864 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2865 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2866 * gdb.arch/amd64-invalid-stack-top.c: New file.
2867 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2868
9ba6657a
PA
28692014-05-30 Pedro Alves <palves@redhat.com>
2870
2871 PR breakpoints/17000
2872 * gdb.base/sss-bp-on-user-bp.c: New file.
2873 * gdb.base/sss-bp-on-user-bp.exp: New file.
2874
522c09bf
DB
28752014-05-30 David Blaikie <dblaikie@gmail.com>
2876
2877 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2878 gnu_inline semantics via attribute.
2879 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2880 source explicitly specifies the required semantics.
2881
bf4ef81e
MR
28822014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2883
2884 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2885
329ea579
PA
28862014-05-29 Pedro Alves <palves@redhat.com>
2887 Tom Tromey <tromey@redhat.com>
2888
2889 * gdb.base/async-shell.exp: Don't enable target-async.
2890 * gdb.base/async.exp
2891 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2892 parameter. Adjust.
2893 (top level): Don't test with "target-async".
2894 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2895 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2896 * gdb.base/inferior-died.exp: Don't enable target-async.
2897 * gdb.base/interrupt-noterm.exp: Likewise.
2898 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2899 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2900 * gdb.mi/mi-nonstop.exp: Likewise.
2901 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2902 * gdb.mi/mi-nsintrall.exp: Likewise.
2903 * gdb.mi/mi-nsmoribund.exp: Likewise.
2904 * gdb.mi/mi-nsthrexec.exp: Likewise.
2905 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2906 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2907 * gdb.python/py-evsignal.exp: Don't enable target-async.
2908 * gdb.python/py-evthreads.exp: Likewise.
2909 * gdb.python/py-prompt.exp: Likewise.
2910 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2911 * gdb.server/solib-list.exp: Don't enable target-async.
2912 * gdb.threads/thread-specific-bp.exp: Likewise.
2913 * lib/mi-support.exp: Adjust to use mi-async.
2914
fd664c91
PA
29152014-05-29 Pedro Alves <palves@redhat.com>
2916
2917 PR gdb/13860
2918 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2919 reason, even in sync mode.
2920
251bde03
PA
29212014-05-29 Pedro Alves <palves@redhat.com>
2922 Hui Zhu <hui@codesourcery.com>
2923
2924 PR PR15693
2925 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2926 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2927 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2928 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2929
7f3c0343
JB
29302014-05-28 Joel Brobecker <brobecker@adacore.com>
2931
2932 * config/monitor.exp (gdb_target_monitor): Replace use of
2933 "set remotebaud" by "set serial baud".
2934
b2715b27
AW
29352014-05-26 Andy Wingo <wingo@igalia.com>
2936
2937 * gdb.guile/scm-breakpoint.exp:
2938 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2939 properties instead of gdb-object-properties.
2940
498a4489
YQ
29412014-05-26 Yao Qi <yao@codesourcery.com>
2942
2943 * gdb.server/no-thread-db.exp: Specify source file name
2944 explicitly when setting a breakpoint.
2945
589fdceb
MM
29462014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2947
2948 * gdb.btrace/vdso.c: New.
2949 * gdb.btrace/vdso.exp: New.
2950
e9089e05
MM
29512014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2952
2953 * gdb.base/gcore.exp (capture_command_output): Move ...
2954 * lib/gdb.exp (capture_command_output): ... here.
2955
67b5c0c1
MM
29562014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2957
2958 * gdb.btrace/data.exp: Test memory access during btrace replay.
2959
a2199296
SM
29602014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2961
2962 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2963
17b2616c
PA
29642014-05-21 Pedro Alves <palves@redhat.com>
2965
2966 PR gdb/13860
2967 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2968 (top level): Test that output related to execution commands is
2969 sent to the console with CLI commands, but not with MI commands.
2970 Test that breakpoint events are always mirrored to the console.
2971 Also expect the new source line to be output after a "next" in
2972 async mode too. Make it a pass/fail test.
2973 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2974 output.
2975 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2976
5166082f
PA
29772014-05-21 Pedro Alves <palves@redhat.com>
2978
2979 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2980 Use them to test variations of "list" after reaching a breakpoint.
2981 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2982 Test "list" with listsize 10 after reaching a breakpoint.
2983 * gdb.python/python.exp (decode_line current location line
2984 number): Adjust expected line number.
2985
2f25d70f
SM
29862014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2987
2988 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2989 behavior for $args, pass it directly to "run".
2990
ff604a67
MR
29912014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2992
2993 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2994 30000 to 65536.
2995
6a3cb8e8
PA
29962014-05-21 Pedro Alves <palves@redhat.com>
2997
2998 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2999 auto-connect-native-target off".
3000 * gdb.base/auto-connect-native-target.c: New file.
3001 * gdb.base/auto-connect-native-target.exp: New file.
3002
4ebfc96e
PA
30032014-05-21 Pedro Alves <palves@redhat.com>
3004
3005 * gdb.base/default.exp: Test "target native" instead of "target
3006 child".
3007
36d46afb
MW
30082014-05-21 Mark Wielaard <mjw@redhat.com>
3009
3010 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3011
5876f503
JK
30122014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3013
3014 Fix TLS access for -static -pthread.
3015 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3016 <HAVE_TLS> (thread_function, main): Initialize it.
3017 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3018 Add clean_restart.
3019 <$have_tls != "">: Check TLSVAR.
3020
0256a6ac
PA
30212014-05-21 Pedro Alves <palves@redhat.com>
3022
3023 * gdb.base/dcache-line-read-error.c: New.
3024 * gdb.base/dcache-line-read-error.exp: New.
3025
936d2992
PA
30262014-05-20 Pedro Alves <palves@redhat.com>
3027
3028 * gdb.base/compare-sections.c: New file.
3029 * gdb.base/compare-sections.exp: New file.
3030
802e8e6d
PA
30312014-05-20 Pedro Alves <palves@redhat.com>
3032
3033 * gdb.base/break-idempotent.c: New file.
3034 * gdb.base/break-idempotent.exp: New file.
3035
e59fa00f
MM
30362014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3037
3038 * gdb.btrace/nohist.exp: New.
3039
8b696e31
YQ
30402014-05-20 Yao Qi <yao@codesourcery.com>
3041
3042 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3043 gdb.reverse directory and gdb_reverse_timeout exists in board
3044 setting.
3045 * README: Document gdb_reverse_timeout.
3046
73c9764f
YQ
30472014-05-20 Yao Qi <yao@codesourcery.com>
3048
3049 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3050 'test_file_name'. Treat args as a string instead of a list.
3051 (gdb_init): Rename argument 'args' by 'test_file_name'.
3052
f1f4348a
JK
30532014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3054
3055 * gdb.arch/powerpc-power.exp: New file.
3056 * gdb.arch/powerpc-power.s: New file.
3057
0dbe70ce
DE
30582014-05-16 Doug Evans <dje@google.com>
3059
3060 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3061 * gdb.base/completion.exp: Check that all expected files exist
3062 before doing file completion.
0dbe70ce 3063
8d551b02
DE
30642014-05-16 Doug Evans <dje@google.com>
3065
3066 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3067 Update.
3068 (do_syscall_tests_without_xml): Update.
3069
73eb7709
PA
30702014-05-16 Pedro Alves <palves@redhat.com>
3071
3072 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3073 instead of "unknown output after running".
3074
3fae92fc
YQ
30752014-05-16 Yao Qi <yao@codesourcery.com>
3076
3077 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3078 file1.txt from host at the end.
3079 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3080
c2b2ccc5
DE
30812014-05-15 Doug Evans <dje@google.com>
3082
3083 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3084 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3085 loading file. Add test for TU lookup.
3086
8c217a4b
SM
30872014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3088
3089 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3090 calling "-exec-arguments" or "set args" before running the
3091 inferior.
3092
3deb39c6
SM
30932014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3094
3095 * lib/mi-support.exp (mi_expect_stop): Expect message for
3096 inferiors that exit with non-zero exit code.
3097
71a79f8c
YQ
30982014-05-14 Yao Qi <yao@codesourcery.com>
3099
3100 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3101 match absolute path on remote host.
3102 (test_file_list_exec_source_files): Remove "/" from the
3103 pattern.
3104
f23fcd46
YQ
31052014-05-14 Yao Qi <yao@codesourcery.com>
3106
3107 * boards/local-remote-host-notty.exp (${board}_file): New
3108 proc.
3109
9404b58f
KM
31102014-05-07 Kyle McMartin <kyle@redhat.com>
3111
3112 Pushed by Joel Brobecker <brobecker@adacore.com>.
3113 * gdb.arch/aarch64-atomic-inst.c: New file.
3114 * gdb.arch/aarch64-atomic-inst.exp: New file.
3115
5e45f04c
YQ
31162014-05-07 Yao Qi <yao@codesourcery.com>
3117
3118 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3119 in current context" too.
3120
c888a17d
KS
31212014-05-05 Keith Seitz <keiths@redhat.com>
3122
3123 * gdb.linespec/ls-dollar.exp: Add test for linespec
3124 file:convenience_variable.
3125
290a839c
YQ
31262014-05-05 Yao Qi <yao@codesourcery.com>
3127
3128 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3129 traceframes into tfile and ctf trace files. Read data from
3130 trace file and test collected data.
3131 (gdb_collect_locals_test): Likewise.
3132 (gdb_unavailable_registers_test): Likewise.
3133 (gdb_unavailable_floats): Likewise.
3134 (gdb_collect_globals_test): Likewise.
3135 (top-level): Append "ctf" to trace_file_targets if GDB
3136 supports.
3137
b5262cd0
YQ
31382014-05-05 Yao Qi <yao@codesourcery.com>
3139
3140 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3141 code to ...
3142 (gdb_collect_args_test_1): ... it. New proc.
3143 (gdb_collect_locals_test): Move some code to ...
3144 (gdb_collect_locals_test_1): ... it. New proc.
3145 (gdb_unavailable_registers_test): Move some code to ...
3146 (gdb_unavailable_registers_test_1): ... it. New proc.
3147 (gdb_unavailable_floats): Move some code to ...
3148 (gdb_unavailable_floats_1): ... it. New proc.
3149
30a1e6cc
SDJ
31502014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3151
3152 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3153 probes to test for bitness recognition.
3154 * gdb.arch/amd64-stap-optional-prefix.exp
3155 (test_probe_value_without_reg): New procedure.
3156 Add code to test for different kinds of bitness.
3157
f33da99a
SDJ
31582014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3159
3160 PR breakpoints/16889
3161 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3162 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3163
5b80f00d
PA
31642014-05-01 Pedro Alves <palves@redhat.com>
3165
3166 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3167 gdb_file_cmd if no file is specified.
3168 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3169 last_loaded_file to set the remote exec-file.
3170
f8c2a73c
PA
31712014-05-01 Pedro Alves <palves@redhat.com>
3172
3173 * boards/local-remote-host.exp: New file.
3174
be6e8ac7
PA
31752014-05-01 Pedro Alves <palves@redhat.com>
3176
3177 * boards/local-remote-host.exp: Rename to ...
3178 * boards/local-remote-host-notty.exp: ... this.
3179
cac0dc8f
JB
31802014-04-28 Joel Brobecker <brobecker@adacore.com>
3181
3182 * gdb.ada/dyn_arrayidx: New testcase.
3183
9730e6cc
YQ
31842014-04-26 Yao Qi <yao@codesourcery.com>
3185
3186 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3187 and compute the length of function main. Save it in
3188 $main_length.
3189 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3190 (top-level): Use gdb_compile to compile objects into
3191 executable and restart GDB. Remove invocation to
3192 prepare_for_testing.
3193
7ae1a6a6
PA
31942014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3195 Pedro Alves <palves@redhat.com>
3196
3197 PR server/16255
3198 * gdb.multi/multi-attach.c: New file.
3199 * gdb.multi/multi-attach.exp: New file.
3200
4082afcc
PA
32012014-04-25 Pedro Alves <palves@redhat.com>
3202
3203 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3204 user.
3205 (top level): Test that "set remote conditional-breakpoints-packet
3206 off" works as intended.
3207 * gdb.base/dprintf.exp: Test that "set remote
3208 breakpoint-commands-packet off" works as intended.
3209 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3210 New function.
3211 (top level): Call it.
3212 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3213 remote fast-tracepoints-packet off" works as intended.
3214 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3215 * lib/gdb.exp (gdb_is_target_remote): ... here.
3216
2abc3f8d
DB
32172014-04-24 David Blaikie <dblaikie@gmail.com>
3218
3219 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3220 ensure clang would not discard them.
3221 * gdb.base/gdbvars.c: Ditto.
3222 * gdb.base/memattr.c: Ditto.
3223 * gdb.base/whatis.c: Ditto.
3224 * gdb.python/py-prettyprint.c: Ditto.
3225 * gdb.trace/actions.c: Ditto.
3226 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3227 ensure clang would not discard it.
3228
bfd39632
DB
32292014-04-24 David Blaikie <dblaikie@gmail.com>
3230
3231 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3232 clang to emit the full definition of type required by the test
3233 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3234
22842ff6
DB
32352014-04-24 David Blaikie <dblaikie@gmail.com>
3236
3237 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3238 coax Clang into emitting the definition of the type.
3239 * gdb.cp/pr10728-x.h (y): Ditto.
3240 * gdb.cp/pr10728-y.cc (y): Ditto.
3241
c2e827ad
DB
32422014-04-24 David Blaikie <dblaikie@gmail.com>
3243
3244 * gdb.base/label.exp: XFAIL label related tests under Clang.
3245 * gdb.cp/cplabel.exp: Ditto.
3246 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3247 under Clang those using labels.
3248
4c2d33e7
YQ
32492014-04-25 Yao Qi <yao@codesourcery.com>
3250
3251 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3252 double_label.
3253 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3254 partial_label and double_label.
3255
56083b99
DB
32562014-04-24 David Blaikie <dblaikie@gmail.com>
3257
3258 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3259
25d4e99d
DB
32602014-04-24 David Blaikie <dblaikie@gmail.com>
3261
3262 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3263 of the function to work across GCC and Clang.
3264 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3265 pointer types (const void ** const V void **).
3266
01f9f808
MS
32672014-04-24 Michael Sturm <michael.sturm@mintel.com>
3268 Walfred Tedeschi <walfred.tedeschi@intel.com>
3269
3270 * Makefile.in (EXECUTABLES): Added i386-avx512.
3271 * gdb.arch/i386-avx512.c: New file.
3272 * gdb.arch/i386-avx512.exp: Likewise.
3273
4b48d439
KS
32742014-04-23 Keith Seitz <keiths@redhat.com>
3275
3276 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3277 (mi_make_breakpoint_table): New procedure.
3278 (mi_create_breakpoint): Use mi_make_breakpoint
3279 and return the result.
3280 (mi_make_breakpoint): New procedure.
3281 (mi_build_kv_pairs): New procedure.
3282
3283 * gdb.mi/mi-break.exp: Remove unused globals,
3284 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3285 All callers updated.
3286 * gdb.mi/mi-dprintf.exp: Use variable to track command
3287 number.
3288 Update all callers of mi_create_breakpoint and use
3289 mi_make_breakpoint_table.
3290 Remove any unused global variables.
3291 * gdb.mi/mi-nonstop.exp: Likewise.
3292 * gdb.mi/mi-nsintrall.exp: Likewise.
3293 * gdb.mi/mi-nsmoribund.exp: Likewise.
3294 * gdb.mi/mi-nsthrexec.exp: Likewise.
3295 * gdb.mi/mi-reverse.exp: Likewise.
3296 * gdb.mi/mi-simplerun.exp: Likewise.
3297 * gdb.mi/mi-stepn.exp: Likewise.
3298 * gdb.mi/mi-syn-frame.exp: Likewise.
3299 * gdb.mi/mi-until.exp: Likewise.
3300 * gdb.mi/mi-var-cp.exp: Likewise.
3301 * gdb.mi/mi-var-display.exp: Likewise.
3302 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3303 * gdb.mi/mi2-var-child.exp: Likewise.
3304 * gdb.mi/mi-vla-c99.exp: Likewise.
3305 * lib/mi-support.exp: Likewise.
3306
3307 From Ian Lance Taylor <iant@cygnus.com>:
3308 * lib/gdb.exp (parse_args): New procedure.
3309
08351840
PA
33102014-04-23 Pedro Alves <palves@redhat.com>
3311
3312 * gdb.base/break-unload-file.c: New file.
3313 * gdb.base/break-unload-file.exp: New file.
3314 * gdb.base/sym-file-lib.c (baz): New function.
3315 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3316 field.
3317 (load): Store the segment's mapped size.
3318 (unload): New function.
3319 (unload_shlib): New function.
3320 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3321 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3322 set a breakpoint at baz, and call it.
3323 * gdb.base/sym-file.exp: New tests for stale breakpoint
3324 instructions.
3325
076855f9
PA
33262014-04-23 Pedro Alves <palves@redhat.com>
3327
3328 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3329 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3330 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3331 * gdb.base/hbreak-unmapped.c: New file.
3332 * gdb.base/hbreak-unmapped.exp: New file.
3333 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3334 * lib/gdb.exp (gdb_is_target_remote): ... here.
3335
483805cf
PA
33362014-04-22 Pedro Alves <palves@redhat.com>
3337
3338 * gdb.base/consecutive-step-over.c: New file.
3339 * gdb.base/consecutive-step-over.exp: New file.
3340
06d97543
PA
33412014-04-22 Pedro Alves <palves@redhat.com>
3342
3343 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3344 instead of send_gdb/gdb_expect.
3345
b4429ea2
YQ
33462014-04-22 Yao Qi <yao@codesourcery.com>
3347
3348 * lib/trace-support.exp (generate_tracefile): New procedure.
3349 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3350 return 0.
3351 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3352 if generate_tracefile returns 1.
3353
51d48146
PA
33542014-04-18 Tom Tromey <palves@redhat.com>
3355 Pedro alves <tromey@redhat.com>
3356
3357 PR backtrace/15558
3358 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3359 with a backtrace limit.
3360 * gdb.python/py-frame-inline.exp: Test running to an inline
3361 function with a backtrace limit, and printing the newest frame.
3362 * gdb.python/py-frame-inline.c (main): Call f.
3363
bd1dce5f
MS
33642014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3365
3366 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3367
40d1a503
MS
33682014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3369
3370 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3371 Drop prefix from unsupported source file path.
3372
389b98f7
YQ
33732014-04-17 Yao Qi <yao@codesourcery.com>
3374
3375 * lib/gdb.exp (with_target_charset): New proc.
3376 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3377 with_target_charset.
3378 (test_print_strings): Likewise.
3379 (test_repeat_bytes): Likewise.
3380 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3381 for some tests.
3382
22869d73
KS
33832014-04-16 Keith Seitz <keiths@redhat.com>
3384
3385 PR gdb/15827
3386 * gdb.dwarf2/corrupt.c: New file.
3387 * gdb.dwarf2/corrupt.exp: New file.
3388
c4f87ca6
KS
33892014-04-16 Keith Seitz <keiths@redhat.com>
3390
3391 PR c++/16597
3392 * gdb.cp/namelessclass.cc: New file.
3393 * gdb.cp/namelessclass.exp: New file.
3394 * gdb.cp/namelessclass.S: New file.
3395
ab19de87
DE
33962014-04-16 Doug Evans <dje@google.com>
3397
3398 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3399 Add comment.
3400 (gdbserver_default_get_comm_port): New function.
3401 (gdbserver_start): Check if board file provided
3402 "gdbserver,get_comm_port" and use it if so.
3403 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3404 (gdb,socketport): Set to "stdio".
3405 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3406 (stdio_gdbserver_template): Delete.
3407 (${board}_get_remote_address): Update.
3408 (${board}_build_remote_cmd): Delete.
3409 (${board}_get_comm_port): New function.
3410 (${board}_spawn): Update.
3411 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3412 Delete.
3413 (${board}_get_remote_address): Update.
3414 (${board}_get_comm_port): New function.
3415
fc98a809
AB
34162014-04-16 Andrew Burgess <aburgess@broadcom.com>
3417
3418 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3419 appearing in any order.
3420
87fd9e6e
DE
34212014-04-15 Doug Evans <dje@google.com>
3422
3423 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3424 uninitialized value of "description".
3425
099fc3ea
KS
34262014-04-15 Keith Seitz <keiths@redhat.com>
3427
3428 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3429 Remove unused globals.
3430 (test_running_the_program): Likewise.
3431 (test_controlled_execution): Likewise.
3432 (test_controlling_breakpoints): Likewise.
3433 (test_program_termination): Likewise.
3434
5da151d4
KS
34352014-04-15 Keith Seitz <keiths@redhat.com>
3436
3437 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3438 unused globals.
3439 (test_rbreak_creation_and_listing): Likewise.
3440 (test_ignore_count): Likewise.
3441 (test_error): Likewise.
3442
35e5d2f0
PA
34432014-04-15 Pedro Alves <palves@redhat.com>
3444
3445 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3446 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3447 sym-file-loader.c.
3448 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3449 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3450 to sym-file-loader.c.
3451 (struct library): Forward declare.
3452 (load_shlib, lookup_function): Change prototypes.
3453 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3454 (translate_offset): Remove declarations.
3455 (get_text_addr): New declaration.
3456 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3457 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3458 sym-file-loader.h.
3459 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3460 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3461 here from sym-file-loader.h.
3462 (struct library): New structure.
3463 (load_shlib, lookup_function): Change prototypes and adjust to
3464 work with a struct library.
3465 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3466 (translate_offset): Make static.
3467 (get_text_addr): New function.
3468 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3469
eb4c1710
PA
34702014-04-15 Pedro Alves <palves@redhat.com>
3471
3472 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3473
2d1baf52
PA
34742014-04-15 Pedro Alves <palves@redhat.com>
3475
3476 * gdb.base/sym-file-loader.c: Include <limits.h>.
3477 (SELF_LINK): New define.
3478 (get_origin): New function.
3479 (load_shlib): Use it.
3480 * gdb.base/sym-file.exp: Don't early return if the target is
3481 remote. Use runto_main, and issue fail is that fails. Use
3482 gdb_load_shlibs.
3483 (shlib_name): Delete.
3484 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3485
7dd6df01
PA
34862014-04-15 Pedro Alves <palves@redhat.com>
3487
3488 * gdb.base/sym-file.exp: Remove regex characters from test
3489 message. Don't refer to breakpoint numbers in test messages.
3490
b50c8614
KS
34912014-04-14 Keith Seitz <keiths@redhat.com>
3492
3493 PR c++/16253
3494 * gdb.cp/var-tag.cc: New file.
3495 * gdb.cp/var-tag.exp: New file.
3496 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3497 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3498 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3499 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3500
3d567982
TT
35012014-04-14 Tom Tromey <tromey@redhat.com>
3502
3503 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3504 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3505 type.
3506 * gdb.cp/enum-class.exp: New file.
3507 * gdb.cp/enum-class.cc: New file.
3508
0626fc76
TT
35092014-04-14 Tom Tromey <tromey@redhat.com>
3510
3511 * gdb.dwarf2/enum-type.exp: New file.
3512
dca325b3
SA
35132014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3514
3515 * gdb.mi/mi-vla-c99.exp: New file.
3516 * gdb.mi/vla.c: New file.
3517
5854b38a
SA
35182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3519
3520 * gdb.base/vla-datatypes.c: New file.
3521 * gdb.base/vla-datatypes.exp: New file.
3522
463bb957
SA
35232014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3524
3525 * gdb.base/vla-ptr.c: New file.
3526 * gdb.base/vla-ptr.exp: New file.
3527
3dd170be
SA
35282014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3529
3530 * gdb.dwarf2/count.exp: New file.
3531
5ecaaa66
SA
35322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3533
3534 * gdb.base/vla-sideeffect.c: New file.
3535 * gdb.base/vla-sideeffect.exp: New file.
3536
41f1ada5
DB
35372014-04-14 David Blaikie <dblaikie@gmail.com>
3538
3539 * gdb.mi/non-stop.c: Add return value for non-void function return
3540 statement.
3541 * gdb.threads/staticthreads.c: Ditto.
3542
0be03e84
DE
35432014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3544 Doug Evans <xdje42@gmail.com>
3545
3546 * gdb.guile/scm-value.c: Improve test case.
3547 * gdb.guile/scm-value.exp: Add new test.
3548
f180a1fb
DB
35492014-04-11 David Blaikie <dblaikie@gmail.com>
3550
3551 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3552 override Clang's default.
3553
6b662e19
JB
35542014-04-11 Joel Brobecker <brobecker@adacore.com>
3555
3556 Revert the following changes (regressions):
3557
3558 * gdb.base/vla-sideeffect.c: New file.
3559 * gdb.base/vla-sideeffect.exp: New file.
3560
3561 * gdb.dwarf2/count.exp: New file.
3562
3563 * gdb.base/vla-multi.c: New file.
3564 * gdb.base/vla-multi.exp: New file.
3565
3566 * gdb.base/vla-ptr.c: New file.
3567 * gdb.base/vla-ptr.exp: New file.
3568
3569 * gdb.base/vla-datatypes.c: New file.
3570 * gdb.base/vla-datatypes.exp: New file.
3571
3572 * gdb.mi/mi-vla-c99.exp: New file.
3573 * gdb.mi/vla.c: New file.
3574
245a5f0b
KS
35752014-04-11 Keith Seitz <keiths@redhat.com>
3576
3577 PR c++/16675
3578 * gdb.cp/cpsizeof.exp: New file.
3579 * gdb.cp/cpsizeof.cc: New file.
3580
58a84dcf
SA
35812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3582
191a8a90
JB
3583 * gdb.mi/mi-vla-c99.exp: New file.
3584 * gdb.mi/vla.c: New file.
58a84dcf 3585
c8655f75
SA
35862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3587
3588 * gdb.base/vla-datatypes.c: New file.
3589 * gdb.base/vla-datatypes.exp: New file.
3590
024e13b4
SA
35912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3592
3593 * gdb.base/vla-ptr.c: New file.
3594 * gdb.base/vla-ptr.exp: New file.
3595
1a237e0e
SA
35962014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3597
3598 * gdb.base/vla-multi.c: New file.
3599 * gdb.base/vla-multi.exp: New file.
3600
504f3432
SA
36012014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3602
3603 * gdb.dwarf2/count.exp: New file.
3604
3bce8237
SA
36052014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3606
191a8a90
JB
3607 * gdb.base/vla-sideeffect.c: New file.
3608 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 3609
322f9c21
YQ
36102014-04-11 Yao Qi <yao@codesourcery.com>
3611
3612 * gdb.base/completion.exp: Check file exists before running tests
3613 on file completion.
3614
d708bcd1
PA
36152014-04-10 Pedro Alves <palves@redhat.com>
3616
3617 * gdb.base/cond-eval-mode.c: New file.
3618 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3619 prepare_for_testing to build the new file. Check result of
3620 runto_main.
3621 (test_break, test_watch): New procedures.
3622 (top level): Use them.
3623
ae1d2761
PM
36242014-04-08 Pierre Muller <muller@sourceware.org>
3625
3626 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3627 Ctrl-V use for mingw hosts.
3628
7af389b8
SC
36292014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3630
3631 * gdb.python/py-value.c: Improve test case.
3632 * gdb.python/py-value.exp: Add new test.
3633
5e703181
DE
36342014-04-07 David Blaikie <dblaikie@gmail.com>
3635
3636 * lib/compiler.c: Identify the clang compiler.
3637 * lib/compiler.cc: Ditto.
3638
9810b410
YQ
36392014-04-03 Yao Qi <yao@codesourcery.com>
3640
3641 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3642
98d1b8dc
AB
36432014-04-01 Anton Blanchard <anton@samba.org>
3644
3645 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3646 messages unique.
3647
3114cea1
AB
36482014-04-01 Anton Blanchard <anton@samba.org>
3649
3650 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3651 prepare_for_testing.
3652
62f7182c
AB
36532014-04-01 Anton Blanchard <anton@samba.org>
3654
3655 * gdb.arch/ppc64-atomic-inst.c: Remove.
3656 * gdb.arch/ppc64-atomic-inst.S: New file.
3657 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3658
770e7fc7
DE
36592014-03-31 Doug Evans <dje@google.com>
3660
3661 * gdb.base/print-symbol-loading-lib.c: New file.
3662 * gdb.base/print-symbol-loading-main.c: New file.
3663 * gdb.base/print-symbol-loading.exp: New file.
3664
46e2bafa
YQ
36652014-03-31 Yao Qi <yao@codesourcery.com>
3666
3667 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3668
8776cfe9
JB
36692014-03-28 Joel Brobecker <brobecker@adacore.com>
3670
3671 * gdb.ada/mi_dyn_arr: New testcase.
3672
5d1ef361
DE
36732014-03-27 Doug Evans <dje@google.com>
3674
3675 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3676
b5bee914
YQ
36772014-03-27 Yao Qi <yao@codesourcery.com>
3678
3679 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3680 if target is nios2-*-*.
3681
0d4d0e77
YQ
36822014-03-26 Yao Qi <yao@codesourcery.com>
3683
3684 * lib/gdb.exp (readline_is_used): New proc.
3685 * gdb.base/completion.exp: Move tests on command complete up.
3686 Skip the rest of tests if readline is not used.
3687 * gdb.ada/complete.exp: Skp the test if readline is not
3688 used.
3689 * gdb.base/filesym.exp: Likewise.
3690 * gdb.base/macscp.exp: Likewise.
3691 * gdb.base/readline-ask.exp: Likewise.
3692 * gdb.base/readline.exp: Likewise.
3693 * gdb.python/py-cmd.exp: Likewise.
3694 * gdb.trace/tfile.exp: Likewise.
3695
29361eee
YQ
36962014-03-26 Yao Qi <yao@codesourcery.com>
3697
3698 * gdb.base/macscp.exp: Fix code format issues.
3699
bc9a5525
UW
37002014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3701
3702 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3703 * gdb.asm/powerpc64le.inc: New file.
3704
d3839ede
PA
37052014-03-25 Pedro Alves <palves@redhat.com>
3706 Doug Evans <dje@google.com>
3707
3708 * gdb.base/source-execution.c: New file.
3709 * gdb.base/source-execution.exp: New file.
3710 * gdb.base/source-execution.gdb: New file.
3711
01672a57
DE
37122014-03-24 Doug Evans <dje@google.com>
3713
3714 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3715 using fission.
3716
88bbeca9
HZ
37172014-03-24 Hui Zhu <hui@codesourcery.com>
3718 Pedro Alves <palves@redhat.com>
3719
3720 PR breakpoints/16101
3721 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3722 test pass/fail messages. Detect missing support for dprintf when
3723 breakpoints are actually inserted.
3724 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3725 breakpoints are actually inserted.
3726 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3727 fails.
3728
d2348791
JK
37292014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3730
3731 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3732
feef67ab
DE
37332014-03-22 Doug Evans <xdje42@gmail.com>
3734
3735 * gdb.python/python.exp (python not supported): Verify multi-line
3736 python command issues an error.
25d743f9 3737 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 3738 guile command issues an error.
feef67ab 3739
ecebef6a
MR
37402014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3741
3742 * gdb.threads/thread-specific.exp: Handle the lack of usable
3743 $this_breakpoint and $this_thread.
3744
ccdd1909
HZ
37452014-03-21 Hui Zhu <hui@codesourcery.com>
3746
3747 * gdb.base/attach.exp (do_command_attach_tests): New.
3748
beb460e8
PA
37492014-03-20 Tom Tromey <tromey@redhat.com>
3750 Pedro Alves <palves@redhat.com>
3751
3752 PR cli/15718
3753 * gdb.base/condbreak-call-false.c: New file.
3754 * gdb.base/condbreak-call-false.exp: New file.
3755
40acf43a
PA
37562014-03-20 Pedro Alves <palves@redhat.com>
3757
3758 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3759 Delete.
3760 (block_signals, unblock_signals): Delete.
3761 (child_function_2, main): Remove references to deleted variable
3762 and functions.
3763
9f5e1e02
PA
37642014-03-20 Pedro Alves <palves@redhat.com>
3765
3766 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3767 Use pthread_kill to signal thread 2.
3768 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3769 Adjust to make the test send itself a signal rather than using the
3770 host's "kill" command.
3771
99619bea
PA
37722014-03-20 Pedro Alves <palves@redhat.com>
3773
3774 * gdb.threads/multiple-step-overs.c: New file.
3775 * gdb.threads/multiple-step-overs.exp: New file.
3776 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3777 Adjust expected infrun debug output.
3778
2adfaa28
PA
37792014-03-20 Pedro Alves <palves@redhat.com>
3780
3781 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3782 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3783
31e77af2
PA
37842014-03-20 Pedro Alves <palves@redhat.com>
3785
3786 PR breakpoints/7143
3787 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3788 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3789 of gdb_test_multiple.
3790 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3791 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3792
b9f437de
PA
37932014-03-20 Pedro Alves <palves@redhat.com>
3794
3795 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3796 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3797
05adc73e
PA
37982014-03-19 Pedro Alves <palves@redhat.com>
3799
3800 * gdb.base/async.exp: Remove early return.
3801
6048b950
PA
38022014-03-19 Pedro Alves <palves@redhat.com>
3803
3804 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3805
8bcfb00a
PA
38062014-03-19 Pedro Alves <palves@redhat.com>
3807
3808 * gdb.base/async.exp (test_background): Expect \r\n after
3809 "completed." in the fail pattern.
3810
884e37dc
PA
38112014-03-19 Pedro Alves <palves@redhat.com>
3812
3813 * gdb.base/async.exp (test_background): New procedure.
3814 Use it for all background execution command tests.
3815
148e57e2
PA
38162014-03-19 Pedro Alves <palves@redhat.com>
3817
3818 * gdb.base/async.exp: Use prepare_for_testing.
3819
f48088c7
PA
38202014-03-19 Pedro Alves <palves@redhat.com>
3821
3822 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3823 the same line.
3824
e2f6c966
PA
38252014-03-19 Pedro Alves <palves@redhat.com>
3826
3827 * gdb.base/async.c (main): Add "jump here" and "until here" line
3828 marker comments.
3829 * gdb.base/async.exp (jump_here): New global.
3830 (jump& test): Use it.
3831 (until_here): New global.
3832 (until& test): Use it.
3833
c30568d4
PA
38342014-03-19 Pedro Alves <palves@redhat.com>
3835
3836 * gdb.base/async.exp: Don't frob gdb_protocol.
3837
0172b6a7
DE
38382014-03-18 Doug Evans <xdje42@gmail.com>
3839
3840 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3841 Fix spelling of exec-done-display.
3842
06c868a8
JK
38432014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3844
3845 PR gdb/15358
3846 * gdb.base/gdb-sigterm.c: New file.
3847 * gdb.base/gdb-sigterm.exp: New file.
3848
0c7e1a46
PA
38492014-03-18 Pedro Alves <palves@redhat.com>
3850
3851 PR gdb/13860
3852 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3853 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3854 solib-event.
3855
f7c77d93
JB
38562014-03-17 Joel Brobecker <brobecker@adacore.com>
3857
3858 * gdb.ada/pckd_arr_ren: New testcase.
3859
5a1e8c7a
DE
38602014-03-13 Doug Evans <xdje42@gmail.com>
3861
3862 PR guile/16612
3863 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3864 collect after discarding symbols.
3865
350e1a76
DE
38662014-03-13 Ludovic Courtès <ludo@gnu.org>
3867 Doug Evans <xdje42@gmail.com>
3868
3869 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3870 to history survives a gc.
3871
a69900ae
PA
38722014-03-13 Pedro Alves <palves@redhat.com>
3873
3874 * gdb.base/default.exp: Don't test "target procfs".
3875
5db9f0bd
PA
38762014-03-13 Pedro Alves <palves@redhat.com>
3877
3878 * gdb.base/default.exp: Update "target child" and "target procfs"
3879 tests to not expect "Unix".
3880
b3ccfe11
TT
38812014-03-12 Tom Tromey <tromey@redhat.com>
3882
3883 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3884 New procs. Add target-async tests.
3885 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3886 Add target-async tests.
3887
646f4417
AA
38882014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3889
3890 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3891 'func_start' and 'func_end' for the beginning and end of the
3892 function code, respectively.
3893 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3894 'func_end' instead of 'func' and 'main'.
3895
288c211f
AA
38962014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3897
3898 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3899 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3900 generate the debug info assembler source.
3901
e0c0f156
AA
39022014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3903
3904 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3905 * gdb.dwarf2/arr-subrange.exp: Likewise.
3906 * gdb.dwarf2/dwz.exp: Likewise.
3907 * gdb.dwarf2/method-ptr.exp: Likewise.
3908 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3909 * gdb.dwarf2/subrange.exp: Likewise.
3910 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3911 * gdb.dwarf2/implptrpiece.exp: Likewise.
3912 * gdb.dwarf2/nostaticblock.exp: Likewise.
3913
0e5c4555
AA
39142014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3915
3916 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3917 directory to absolute path name arguments.
3918
5ec18f2b
JG
39192014-03-10 Joel Brobecker <brobecker@adacore.com>
3920
3921 * gdb.ada/tagged_access: New testcase.
3922
847fc4f2
MM
39232014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3924
3925 * gdb.btrace/data.exp: Update expected output.
3926
cc3da688
YQ
39272014-03-06 Yao Qi <yao@codesourcery.com>
3928
3929 * gdb.trace/pr16508.exp: New file.
3930
0f26cec1
PA
39312014-03-05 Pedro Alves <palves@redhat.com>
3932
3933 PR gdb/16575
3934 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3935 procedure.
3936 (top level): Adjust to use it. Add tests that exercise breakpoint
3937 interaction with the code-cache.
3938
7a5a839f
LC
39392014-02-26 Ludovic Courtès <ludo@gnu.org>
3940
3941 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3942 test for 'history-append!'.
3943
31aa7e4e
JB
39442014-02-26 Joel Brobecker <brobecker@adacore.com>
3945
3946 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3947 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3948 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3949 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3950 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3951 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3952
1b588015
JB
39532014-02-26 Joel Brobecker <brobecker@adacore.com>
3954
3955 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3956 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3957 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3958
55426c9d
JB
39592014-02-26 Joel Brobecker <brobecker@adacore.com>
3960
3961 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3962
dc53a7ad
JB
39632014-02-26 Joel Brobecker <brobecker@adacore.com>
3964
3965 * gdb.dwarf2/arr-stride.c: New file.
3966 * gdb.dwarf2/arr-stride.exp: New file.
3967
12ab52e9
PA
39682014-02-26 Pedro Alves <palves@redhat.com>
3969
3970 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3971 that won't ever trigger. Make sure that GDB reports the correct
3972 breakpoint that caused the stop.
3973
849c862e
JK
39742014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3975
3976 PR gdb/16626
3977 * gdb.base/auto-load-script: New file.
3978 * gdb.base/auto-load.c: New file.
3979 * gdb.base/auto-load.exp: New file.
3980
71b7d793
JK
3981 PR gdb/16626
3982 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3983
e2f0d509
JK
39842014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3985
3986 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3987 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3988
50cc37c8
DE
39892014-02-24 Doug Evans <dje@google.com>
3990
3991 * lib/gdb.exp (run_on_host): Log error output if program fails.
3992
ea4758f2
PA
39932014-02-21 Pedro Alves <palves@redhat.com>
3994
3995 * gdb.threads/step-after-sr-lock.c: Rename to ...
3996 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3997 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3998 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3999 ... this.
4000
d7b30f67
SDJ
40012014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4002
4003 PR tdep/16397
4004 * gdb.arch/amd64-stap-special-operands.exp: New file.
4005 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4006 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4007 * gdb.arch/amd64-stap-triplet.S: Likewise.
4008 * gdb.arch/amd64-stap-triplet.c: Likewise.
4009
83deb43f
JB
40102014-02-20 Joel Brobecker <brobecker@adacore.com>
4011
4012 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4013 in .section pseudo-op.
4014
adde2bff
DE
40152014-02-20 lin zuojian <manjian2006@gmail.com>
4016 Joel Brobecker <brobecker@adacore.com>
4017 Doug Evans <xdje42@gmail.com>
4018
4019 PR symtab/16581
4020 * gdb.dwarf2/dw2-icycle.S: New file.
4021 * gdb.dwarf2/dw2-icycle.c: New file.
4022 * gdb.dwarf2/dw2-icycle.exp: New file.
4023
f7bd0f78
SC
40242014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4025
4026 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4027 operations on gdb.Value objects.
4028 * gdb.python/py-value-cc.exp: Add new test to test operations on
4029 gdb.Value objects.
4030
c17ef0d5
DE
40312014-02-18 Doug Evans <dje@google.com>
4032
4033 * Makefile.in (TESTS): New variable.
4034 (expanded_tests, expanded_tests_or_none): New variables
4035 (check-single): Pass $(expanded_tests_or_none) to runtest.
4036 (check-parallel): Only run tests in $(TESTS) if non-empty.
4037 (check/no-matching-tests-found): New rule.
4038 * README: Document TESTS makefile variable.
4039
5dd3176f
DE
40402014-02-18 Doug Evans <dje@google.com>
4041
4042 * Makefile.in (check-parallel): rm -rf outputs temp.
4043
0b10be4f
JK
40442014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4045
4046 Fix "ERROR: no fileid for" in the testsuite.
4047 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4048
85f224e7
DE
40492014-02-12 Doug Evans <dje@google.com>
4050
4051 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4052 (MISCELLANEOUS): New variable.
4053 (clean): rm -rf $(MISCELLANEOUS).
4054 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4055 dwp live in the same directory as symlinks, with each symlink pointed
4056 to a differently named file in a different directory.
4057
149b30ff
DE
40582014-02-11 Doug Evans <dje@google.com>
4059
4060 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4061 of Tcl file commands.
4062
1dfdac32
MK
40632014-02-10 Mark Kettenis <kettenis@gnu.org>
4064
4065 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4066 "kill -SIGUSR1 -1".
4067
aa4fb036
JB
40682014-02-10 Joel Brobecker <brobecker@adacore.com>
4069
4070 * gdb.ada/tick_length_array_enum_idx: New testcase.
4071
ed3ef339
DE
40722014-02-10 Doug Evans <xdje42@gmail.com>
4073
4074 * configure.ac (AC_OUTPUT): Add gdb.guile.
4075 * configure: Regenerate.
4076 * lib/gdb-guile.exp: New file.
4077 * lib/gdb.exp (get_target_charset): New function.
4078 * gdb.base/help.exp: Update expected output from "apropos apropos".
4079 * gdb.guile/Makefile.in: New file.
4080 * gdb.guile/guile.exp: New file.
4081 * gdb.guile/scm-arch.c: New file.
4082 * gdb.guile/scm-arch.exp: New file.
4083 * gdb.guile/scm-block.c: New file.
4084 * gdb.guile/scm-block.exp: New file.
4085 * gdb.guile/scm-breakpoint.c: New file.
4086 * gdb.guile/scm-breakpoint.exp: New file.
4087 * gdb.guile/scm-disasm.c: New file.
4088 * gdb.guile/scm-disasm.exp: New file.
4089 * gdb.guile/scm-equal.c: New file.
4090 * gdb.guile/scm-equal.exp: New file.
4091 * gdb.guile/scm-error.exp: New file.
4092 * gdb.guile/scm-error.scm: New file.
4093 * gdb.guile/scm-frame-args.c: New file.
4094 * gdb.guile/scm-frame-args.exp: New file.
4095 * gdb.guile/scm-frame-args.scm: New file.
4096 * gdb.guile/scm-frame-inline.c: New file.
4097 * gdb.guile/scm-frame-inline.exp: New file.
4098 * gdb.guile/scm-frame.c: New file.
4099 * gdb.guile/scm-frame.exp: New file.
4100 * gdb.guile/scm-generics.exp: New file.
4101 * gdb.guile/scm-gsmob.exp: New file.
4102 * gdb.guile/scm-iterator.c: New file.
4103 * gdb.guile/scm-iterator.exp: New file.
4104 * gdb.guile/scm-math.c: New file.
4105 * gdb.guile/scm-math.exp: New file.
4106 * gdb.guile/scm-objfile-script-gdb.in: New file.
4107 * gdb.guile/scm-objfile-script.c: New file.
4108 * gdb.guile/scm-objfile-script.exp: New file.
4109 * gdb.guile/scm-objfile.c: New file.
4110 * gdb.guile/scm-objfile.exp: New file.
4111 * gdb.guile/scm-ports.exp: New file.
4112 * gdb.guile/scm-pretty-print.c: New file.
4113 * gdb.guile/scm-pretty-print.exp: New file.
4114 * gdb.guile/scm-pretty-print.scm: New file.
4115 * gdb.guile/scm-section-script.c: New file.
4116 * gdb.guile/scm-section-script.exp: New file.
4117 * gdb.guile/scm-section-script.scm: New file.
4118 * gdb.guile/scm-symbol.c: New file.
4119 * gdb.guile/scm-symbol.exp: New file.
4120 * gdb.guile/scm-symtab-2.c: New file.
4121 * gdb.guile/scm-symtab.c: New file.
4122 * gdb.guile/scm-symtab.exp: New file.
4123 * gdb.guile/scm-type.c: New file.
4124 * gdb.guile/scm-type.exp: New file.
4125 * gdb.guile/scm-value-cc.cc: New file.
4126 * gdb.guile/scm-value-cc.exp: New file.
4127 * gdb.guile/scm-value.c: New file.
4128 * gdb.guile/scm-value.exp: New file.
4129 * gdb.guile/source2.scm: New file.
4130 * gdb.guile/types-module.cc: New file.
4131 * gdb.guile/types-module.exp: New file.
4132
7026a7c1
YQ
41332014-02-10 Yao Qi <yao@codesourcery.com>
4134
4135 PR testsuite/16543
4136 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4137 * configure: Regenerated.
4138 * Makefile.in: New file.
4139
6c466447
AS
41402014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4141
4142 * gdb.python/py-framefilter.exp: Fix typo.
4143
6e854735
YQ
41442014-02-08 Yao Qi <yao@codesourcery.com>
4145
4146 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4147 that no =breakpoint-modified is emitted when breakpoints are
4148 modified through MI commands.
4149
d137e6dc
PA
41502014-02-07 Pedro Alves <pedro@codesourcery.com>
4151 Pedro Alves <palves@redhat.com>
4152
4153 * gdb.threads/step-after-sr-lock.c: New file.
4154 * gdb.threads/step-after-sr-lock.exp: New file.
4155
b5ee5a50
PA
41562014-02-07 Pedro Alves <palves@redhat.com>
4157
4158 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4159
3c77faf3
JK
41602014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4161
4162 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4163 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4164
6dddc817
DE
41652014-02-06 Doug Evans <xdje42@gmail.com>
4166
4167 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4168 output.
4169
4170 * gdb.gdb/python-interrupts.exp: New file.
4171
de7b2893
YQ
41722014-02-05 Yao Qi <yao@codesourcery.com>
4173
4174 * gdb.trace/report.exp (use_collected_data): Test the output
4175 of "info threads" and "info inferiors".
4176
66d032ac
YQ
41772014-02-05 Yao Qi <yao@codesourcery.com>
4178
4179 Revert this patch:
4180
4181 2013-05-24 Yao Qi <yao@codesourcery.com>
4182
4183 * gdb.trace/tfile.exp: Test inferior and thread.
4184
591a12a1
UW
41852014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4186
4187 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4188 on a function.
4189 * gdb.base/step-bt.c: Call hello via function pointer to make
4190 sure its first instruction is executed on powerpc64le-linux.
4191
0ff3e01f
UW
41922014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4193
4194 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4195
084ee545
UW
41962014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4197
4198 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4199 of the test patterns for use on little-endian systems.
4200
6ed14ff3
UW
42012014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4202
4203 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4204 (decimal_vector): Fix for little-endian.
4205
401e27fd
JM
42062014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4207
4208 * gdb.arch/sparc-sysstep.exp: New file.
4209 * gdb.arch/sparc-sysstep.c: Likewise.
4210
4211 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4212
8b924729
EBM
42132014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4214
4215 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4216
fb151210
JB
42172014-01-23 Tom Tromey <tromey@redhat.com>
4218
4219 * gdb.ada/array_char_idx: New testcase.
4220
0740f8d8
TT
42212014-01-23 Tom Tromey <tromey@redhat.com>
4222
4223 PR python/16487:
4224 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4225 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4226 classes.
4227
21909fa1
TT
42282014-01-23 Tom Tromey <tromey@redhat.com>
4229
4230 PR python/16491:
4231 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4232 string from an inferior frame.
4233 * gdb.python/py-framefilter-mi.exp: Update.
4234
87ce2a04
DE
42352014-01-22 Doug Evans <dje@google.com>
4236
4237 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4238
237b092b
AA
42392014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4240
4241 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4242
d674a709
AA
42432014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4244
4245 * gdb.trace/entry-values.exp: Remove excess space character from
4246 regex patterns. Handle s390 call instruction.
4247
20fa3390
AA
42482014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4249
4250 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4251 define "*_start" label. Make "name" static.
4252 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4253 ${name} by references to ${name}_start.
4254
78466714
AA
42552014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4256
4257 * gdb.base/info-macros.exp: Remove "debug" from the compile
4258 options.
4259
ec9f644a
IB
42602014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4261
4262 * gdb.dlang/demangle.exp: New file.
4263
94b1b47e
IB
42642014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4265
4266 * gdb.dlang/primitive-types.exp: New file.
4267
7f420862
IB
42682014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4269
4270 * configure.ac: Create gdb.dlang/Makefile.
4271 * configure: Regenerate.
4272 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4273 * gdb.dlang/Makefile.in: New file.
4274 * lib/d-support.exp: New file.
4275 * lib/gdb.exp (skip_d_tests): New proc.
4276
52834460
MM
42772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4278
4279 * gdb.btrace/delta.exp: Check reverse stepi.
4280 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4281 * gdb.btrace/finish.exp: New.
4282 * gdb.btrace/next.exp: New.
4283 * gdb.btrace/nexti.exp: New.
4284 * gdb.btrace/record_goto.c: Add comments.
4285 * gdb.btrace/step.exp: New.
4286 * gdb.btrace/stepi.exp: New.
4287 * gdb.btrace/multi-thread-step.c: New.
4288 * gdb.btrace/multi-thread-step.exp: New.
4289 * gdb.btrace/rn-dl-bind.c: New.
4290 * gdb.btrace/rn-dl-bind.exp: New.
4291 * gdb.btrace/data.c: New.
4292 * gdb.btrace/data.exp: New.
4293 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4294
6e07b1d2
MM
42952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4296
4297 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4298 * gdb.btrace/exception.exp: Update.
4299 * gdb.btrace/instruction_history.exp: Update.
4300 * gdb.btrace/record_goto.exp: Update.
4301 * gdb.btrace/tailcall.exp: Update.
4302 * gdb.btrace/unknown_functions.exp: Update.
4303 * gdb.btrace/delta.exp: New.
4304
0b722aec
MM
43052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4306
4307 * gdb.btrace/record_goto.exp: Add backtrace test.
4308 * gdb.btrace/tailcall.exp: Add backtrace test.
4309
066ce621
MM
43102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4311
4312 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4313 * gdb.btrace/record_goto.c: New.
4314 * gdb.btrace/record_goto.exp: New.
4315 * gdb.btrace/x86-record_goto.S: New.
4316
0688d04e
MM
43172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4318
4319 * gdb.btrace/function_call_history.exp: Update tests.
4320 * gdb.btrace/instruction_history.exp: Update tests.
4321
8710b709
MM
43222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4323
4324 * gdb.btrace/function_call_history.exp: Fix expected field
4325 order for "record function-call-history".
4326 Add new tests for "record function-call-history /c".
4327 * gdb.btrace/exception.cc: New.
4328 * gdb.btrace/exception.exp: New.
4329 * gdb.btrace/tailcall.exp: New.
4330 * gdb.btrace/x86-tailcall.S: New.
4331 * gdb.btrace/x86-tailcall.c: New.
4332 * gdb.btrace/unknown_functions.c: New.
4333 * gdb.btrace/unknown_functions.exp: New.
4334 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4335
5de9129b
MM
43362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4337
4338 * gdb.btrace/instruction_history.exp: Update.
4339 * gdb.btrace/function_call_history.exp: Update.
4340
23a7fe75
MM
43412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4342
4343 * gdb.btrace/function_call_history.exp: Fix expected function
4344 trace.
4345 * gdb.btrace/instruction_history.exp: Initialize traced.
4346 Remove traced_functions.
4347
724c7dd8
MM
43482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4349
4350 * gdb.btrace/function_call_history.exp: Update
4351 * gdb.btrace/instruction_history.exp: Update.
4352
6d78d93b
MM
43532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4354
4355 * gdb.btrace/enable.exp: Update expected text.
4356
93a360cc
OJ
43572014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4358
4359 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4360 bytes.
4361
3772b53f
MR
43622014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4363
4364 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4365
596662fa
OJ
43662014-01-15 Omair Javaid <omair.javaid@linaro.org>
4367
4368 * lib/gdb.exp (supports_process_record): Return true for
4369 arm*-linux*. (supports_reverse): Likewise.
4370
b5b08fb4
SC
43712014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4372
4373 PR python/15464
4374 PR python/16113
4375 * gdb.python/py-type.c: Enhance test case.
4376 * gdb.python/py-value-cc.cc: Likewise
4377 * gdb.python/py-type.exp: Add new tests.
4378 * gdb.python/py-value-cc.exp: Likewise
4379
52d7fb13
AA
43802014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4381 Pedro Alves <palves@redhat.com>
4382
4383 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4384 Make "name" extern.
4385 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4386 references to ${name}_start by references to ${name}.
4387
a2cd8cfe
JB
43882014-01-10 Joel Brobecker <brobecker@adacore.com>
4389
4390 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4391
4e23fced
JB
43922014-01-10 Joel Brobecker <brobecker@adacore.com>
4393
4394 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4395
c6a9e42c
PA
43962014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4397 Pedro Alves <palves@redhat.com>
4398
4399 * gdb.mi/mi-info-os.exp: Connect to the target with
4400 mi_gdb_target_load.
4401
b7ea362b
PA
44022014-01-08 Pedro Alves <palves@redhat.com>
4403
4404 * gdb.threads/reconnect-signal.c: New file.
4405 * gdb.threads/reconnect-signal.exp: New file.
4406
5e3f4fab
EBM
44072014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4408
4409 * gdb.base/source-dir.exp: New file.
4410
79301218
JB
44112014-01-07 Joel Brobecker <brobecker@adacore.com>
4412
4413 * gdb.ada/mi_interface: New testcase.
4414
8e355c5d
JB
44152014-01-07 Joel Brobecker <brobecker@adacore.com>
4416
4417 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4418 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4419 gdb.ada/pp-rec-component/pck.ads: New files.
4420
c0d48811
JB
44212014-01-07 Joel Brobecker <brobecker@adacore.com>
4422
4423 * gdb.python/py-pp-integral.c: New file.
4424 * gdb.python/py-pp-integral.py: New file.
4425 * gdb.python/py-pp-integral.exp: New file.
4426
17b609c3 4427For older changes see ChangeLog-1993-2013.
c906108c 4428\f
8d8cb839
EZ
4429;; Local Variables:
4430;; mode: change-log
4431;; left-margin: 8
4432;; fill-column: 74
4433;; version-control: never
4434;; End:
902f2ccb 4435
32d0add0 4436 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4437 Copying and distribution of this file, with or without modification,
4438 are permitted provided the copyright notice and this notice are preserved.