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