]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Compile break-asm-file{0,1}.s without debug info
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
85180498
YQ
12015-03-26 Yao Qi <yao.qi@linaro.org>
2
3 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4 Call gdb_compile instead to compile each .s files without debug
5 information.
6
8aa08a8d
YQ
72015-03-26 Yao Qi <yao.qi@linaro.org>
8
9 * gdb.base/savedregs.exp (process_saved_regs): Make
10 "Saved registers:" optional in the pattern.
11
66849923
MM
122015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13
14 * gdb.btrace/next.exp: Merged into step.exp.
15 * gdb.btrace/finish.exp: Merged into step.exp.
16 * gdb.btrace/nexti.exp: Merged into stepi.exp.
17 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
18 "record goto" and checking the exact replay position.
19 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
20 check for "Recording format" in "info record" output.
21 * gdb.btrace/record_goto.exp: Choose test file based on target.
22 * gdb.btrace/x86-record_goto.S: Renamed into ...
23 * gdb.btrace/x86_64-record_goto.S: ... this.
24 * gdb.btrace/i686-record_goto.S: New.
25 * gdb.btrace/x86-tailcall.S: Renamed into ...
26 * gdb.btrace/x86_64-tailcall.S: ... this.
27 * gdb.btrace/i686-tailcall.S: New.
28 * gdb.btrace/x86-tailcall.c: Renamed into ...
29 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
30 separate statements. Update test.
31 * gdb.btrace/delta.exp: Use record_goto.c as test file.
32 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
33 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
34 * gdb.btrace/tailcall.exp: Choose test file based on target.
35 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
36
11cc1b74
MM
372015-03-25 Markus Metzger <markus.t.metzger@intel.com>
38
39 * gdb.btrace/exception.exp: Increase BTS buffer size.
40
a25d8bf9
PA
412015-03-24 Pedro Alves <palves@redhat.com>
42
43 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
44
856e7dd6
PA
452015-03-24 Pedro Alves <palves@redhat.com>
46
47 * gdb.threads/schedlock.exp (test_step): No longer expect that
48 "set scheduler-locking step" with "next" over a function call runs
49 threads unlocked.
50
ad235a41
AT
512015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
52
53 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
54
15630549
AT
552015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
56
57 PR breakpoints/16466
58 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
59 * gdb.mi/mi-pending.c (thread_func): New function.
60 (int main): Add threading support required.
61 * gdb.mi/mi-pending.exp: Add tests for this issue.
62 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
63 (pendfunc2): Remove stdio dependency.
64 * gdb.mi/mi-pendshr2.c: New file.
65
693dca06
KS
662015-03-23 Keith Seitz <keiths@redhat.com>
67
68 * gdb.linespec/keywords.c: New file.
69 * gdb.linespec/keywords.exp: New file.
70
7e993ebf
KS
712015-03-23 Keith Seitz <keiths@redhat.com>
72
73 PR gdb/18021
74 * gdb.dwarf2/staticvirtual.exp: New test.
75
bc23328c
JK
762015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
77
78 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
79 * README: Remove HP-UX and gdb.hp.
80 (configuration):
81 * configure: Regenerate.
82 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
83 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
84 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
85 gdb.hp/gdb.defects/Makefile.
86 * gdb.hp/Makefile.in: File deleted.
87 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
88 * gdb.hp/gdb.aCC/optimize.c: File deleted.
89 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
90 * gdb.hp/gdb.aCC/run.c: File deleted.
91 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
92 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
93 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
94 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
95 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
96 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
97 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
98 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
99 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
100 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
101 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
102 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
103 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
104 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
105 * gdb.hp/gdb.base-hp/reg.s: File deleted.
106 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
107 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
108 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
109 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
110 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
111 * gdb.hp/gdb.compat/Makefile.in: File deleted.
112 * gdb.hp/gdb.compat/average.c: File deleted.
113 * gdb.hp/gdb.compat/sum.c: File deleted.
114 * gdb.hp/gdb.compat/xdb.c: File deleted.
115 * gdb.hp/gdb.compat/xdb0.c: File deleted.
116 * gdb.hp/gdb.compat/xdb0.h: File deleted.
117 * gdb.hp/gdb.compat/xdb1.c: File deleted.
118 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
119 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
120 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
121 * gdb.hp/gdb.defects/Makefile.in: File deleted.
122 * gdb.hp/gdb.defects/bs14602.c: File deleted.
123 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
124 * gdb.hp/gdb.defects/solib-d.c: File deleted.
125 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
126 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
127 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
128 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
129 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
130 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
131 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
132 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
133 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
134 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
135 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
136 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
137 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
138 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
139 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
140 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
141 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
142 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
143 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
144 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
145 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
146 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
147 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
148 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
149 * gdb.hp/tools/odump: File deleted.
150
8bf3b159
PA
1512015-03-19 Pedro Alves <palves@redhat.com>
152
153 * gdb.threads/continue-pending-status.exp (saw_thread_2)
154 (saw_thread_3): New globals.
155 (top level): Increment them when an event for the corresponding
156 thread is seen.
157 (no thread starvation): New test.
158
eb54c8bf
PA
1592015-03-19 Pedro Alves <palves@redhat.com>
160
161 * gdb.threads/continue-pending-status.c: New file.
162 * gdb.threads/continue-pending-status.exp: New file.
163
32d2e5d6
PA
1642015-03-18 Pedro Alves <palves@redhat.com>
165
166 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
167 Use gdb_is_target_remote instead of is_remote. Use
168 gdb_test_multiple instead of gdb_expect. Exit early if
169 gdb_test_multiple hits its internal matches. Tighten stepi tests
170 expected output. Fail on exit with any signal, instead of just
171 SIGILL.
172
f68f11b7
YQ
1732015-03-18 Yao Qi <yao.qi@linaro.org>
174
175 PR tdep/18107
176 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
177 variable.
178 * gdb.base/catch-syscall.exp: Don't skip it on
179 aarch64*-*-linux* target. Remove elements in all_syscalls.
180 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
181 target.
182 (setup_all_syscalls): New proc.
183
ca5fd19b
YQ
1842015-03-16 Yao Qi <yao.qi@linaro.org>
185
186 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
187 (top level): Skip tests if valid_addr_p returns false for
188 $cmd1 or $cmd2.
189
85642ba0
AW
1902015-03-11 Andy Wingo <wingo@igalia.com>
191
192 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
193
e03f9645
YQ
1942015-03-11 Yao Qi <yao.qi@linaro.org>
195
196 * gdb.base/catch-syscall.exp: Fix typo in comments.
197
5d0962b2
YQ
1982015-03-11 Yao Qi <yao.qi@linaro.org>
199
200 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
201
b2df3cef
PA
2022015-03-09 Pedro Alves <palves@redhat.com>
203
204 * dg-extract-results.py: Delete.
205
ef878e53
PA
2062015-03-09 Pedro Alves <palves@redhat.com>
207
208 Merge dg-extract-results.sh from GCC upstream (r218843).
209
210 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
211 * dg-extract-results.sh: Use --text with grep to avoid issues with
212 binary files. Fall back to cat -v, if that doesn't work.
213
9494d219
PA
2142015-03-05 Pedro Alves <palves@redhat.com>
215
216 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
217
a8d9763a
SM
2182015-03-04 Simon Marchi <simon.marchi@ericsson.com>
219
220 * lib/mi-support.exp (mi_expect_interrupt): Accept
221 alternative event for when in all-stop mode.
222
be9957b8
PA
2232015-03-04 Pedro Alves <palves@redhat.com>
224
225 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
226
d57be0f4 2272015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
228
229 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
230
c214c7cf
AA
2312015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
232
233 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
234 regexps for GDB's current line display, accept a hex address
235 preceding the line number.
236
6d74a497
AA
2372015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
238
239 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
240 the 'arch1' variable for "s390*-linux*" targets.
241
511aee7c
PA
2422015-03-04 Pedro Alves <palves@redhat.com>
243
244 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
245 (main): Pass missing retval argument to pthread_join call.
246
95e50b27
PA
2472015-03-02 Pedro Alves <palves@redhat.com>
248
249 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
250 (top level): Call do_test with non-stop as well.
251
28054d69
PA
2522015-03-02 Pedro Alves <palves@redhat.com>
253
254 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
255 -1.
256
4fa5d7b4
AA
2572015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
258
259 * gdb.arch/s390-vregs.exp: New test.
260 * gdb.arch/s390-vregs.S: New file.
261
97c18565
PA
2622015-02-27 Pedro Alves <palves@redhat.com>
263
264 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
265 call to catch_command_errors.
266 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
267 catch_command_errors.
268
a37bfa30
PA
2692015-02-27 Pedro Alves <palves@redhat.com>
270
271 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
272 "true" for boolean result.
273 * gdb.gdb/selftest.exp (test_with_self): Also accept full
274 prototype of main.
275
6f98576f
PA
2762015-02-27 Pedro Alves <palves@redhat.com>
277
278 * lib/unbuffer_output.c: New file.
279 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
280 (main): Call gdb_unbuffer_output.
281
eba5ab56
YQ
2822015-02-27 Yao Qi <yao.qi@linaro.org>
283
284 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
285 target.
286
0def5aaa
DE
2872015-02-26 Doug Evans <dje@google.com>
288
289 * gdb.cp/class2.cc (Dbase, D): New classes.
290 (main): New local delta.
291 * gdb.cp/class2.exp: Test printing delta.
292 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
293 (dynbar): New global.
294 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
295
081a1c2c
JK
2962015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
297
298 * gdb.compile/compile-ifunc.c: New file.
299 * gdb.compile/compile-ifunc.exp: New file.
300
2f41223f
AT
3012015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
302
303 * gdb.base/structs.exp: Check for correct struct on finish.
304
03eddd80
YQ
3052015-02-26 Yao Qi <yao.qi@linaro.org>
306
307 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
308 is zero.
309
80c57053
JK
3102015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
311
312 * gdb.arch/cordic.ko.bz2: New file.
313 * gdb.arch/cordic.ko.debug.bz2: New file.
314 * gdb.arch/ppc64-symtab-cordic.exp: New file.
315
21613c12
YQ
3162015-02-25 Yao Qi <yao.qi@linaro.org>
317
318 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
319 aarch64*-*-* target.
320
d8b901ed
PA
3212015-02-23 Pedro Alves <palves@redhat.com>
322
323 * lib/gdb.exp (delete_breakpoints): Rewrite using
324 gdb_test_multiple.
325
e5b85ead
PA
3262015-02-23 Pedro Alves <palves@redhat.com>
327
328 * gdb.base/info-os.c: Include stdlib.h.
329
85c3a371
DE
3302015-02-22 Doug Evans <xdje42@gmail.com>
331
332 PR symtab/17855
333 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
334 is read after symbols have been re-read.
335 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
336 * gdb.ada/exec_changed/second.adb (Second): Ditto.
337
96553a0c
DE
3382015-02-21 Doug Evans <dje@google.com>
339
340 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
341
97a0c697
JK
3422015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
343
344 PR corefiles/17808
345 * gdb.arch/i386-biarch-core.core.bz2: New file.
346 * gdb.arch/i386-biarch-core.exp: New file.
347
a47cd6e9
PA
3482015-02-21 Pedro Alves <palves@redhat.com>
349
350 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
351 runto_main fails.
352
c5facdc4
PA
3532015-02-20 Pedro Alves <palves@redhat.com>
354
355 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
356 info probes.
357
2db9a427
PA
3582015-02-20 Pedro Alves <palves@redhat.com>
359
360 * gdb.threads/multi-create-ns-info-thr.exp: New file.
361
60fb7e9e
PA
3622015-02-20 Pedro Alves <palves@redhat.com>
363
364 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
365 clean_restart before gdb_target_supports_trace.
366
5c5019c2
PA
3672015-02-20 Pedro Alves <palves@redhat.com>
368
369 PR threads/18006
370 * gdb.threads/clone-thread_db.c: New file.
371 * gdb.threads/clone-thread_db.exp: New file.
372
c9587f88
AT
3732015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
374
375 PR breakpoints/16812
376 * gdb.base/catch-gdb-caused-signals.c: New file.
377 * gdb.base/catch-gdb-caused-signals.exp: New file.
378
f6a88844
JM
3792015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
380
381 * configure: Regenerated.
382 * configure.ac: Use GDB_AC_TRANSFORM.
383 * aclocal.m4: sinclude ../transform.m4.
384
497c491b
JM
3852015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
386
387 * lib/dtrace.exp: New file.
388 * gdb.base/dtrace-probe.exp: Likewise.
389 * gdb.base/dtrace-probe.d: Likewise.
390 * gdb.base/dtrace-probe.c: Likewise.
391 * lib/pdtrace.in: Likewise.
392 * configure.ac: Output variables with the transformed names of
393 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
394 * configure: Regenerated.
395
03e98035
JM
3962015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
397
398 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
399 expected message when trying to access $_probe_* convenience
400 variables while not on a probe.
401
63cc30e9
JK
4022015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
403
404 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
405
0703599a
PA
4062015-02-11 Pedro Alves <pedro@codesourcery.com>
407
408 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
409 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
410
7e60a48e
DE
4112015-02-10 Doug Evans <xdje42@gmail.com>
412
413 * lib/gdb.exp (gdb_load): Always return a result.
414
01b088bc
PA
4152015-02-10 Pedro Alves <palves@redhat.com>
416
417 * gdb.threads/signal-sigtrap.c: New file.
418 * gdb.threads/signal-sigtrap.exp: New file.
419
b05ec7a5
AT
4202015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
421
422 * gdb.trace/no-attach-trace.c: New file.
423 * gdb.trace/no-attach-trace.exp: New file.
424
a2c2acaf
MW
4252015-02-09 Mark Wielaard <mjw@redhat.com>
426
427 * gdb.dwarf2/atomic.c: New file.
428 * gdb.dwarf2/atomic-type.exp: Likewise.
429
31fd9caa
MM
4302015-02-09 Markus Metzger <markus.t.metzger@intel.com>
431
432 * gdb.btrace/buffer-size.exp: Update "info record" output.
433 * gdb.btrace/delta.exp: Update "info record" output.
434 * gdb.btrace/enable.exp: Update "info record" output.
435 * gdb.btrace/finish.exp: Update "info record" output.
436 * gdb.btrace/instruction_history.exp: Update "info record" output.
437 * gdb.btrace/next.exp: Update "info record" output.
438 * gdb.btrace/nexti.exp: Update "info record" output.
439 * gdb.btrace/step.exp: Update "info record" output.
440 * gdb.btrace/stepi.exp: Update "info record" output.
441 * gdb.btrace/nohist.exp: Update "info record" output.
442
d33501a5
MM
4432015-02-09 Markus Metzger <markus.t.metzger@intel.com>
444
445 * gdb.btrace/buffer-size: New.
446
f4abbc16
MM
4472015-02-09 Markus Metzger <markus.t.metzger@intel.com>
448
449 * gdb.btrace/delta.exp: Update "info record" output.
450 * gdb.btrace/enable.exp: Update "info record" output.
451 * gdb.btrace/finish.exp: Update "info record" output.
452 * gdb.btrace/instruction_history.exp: Update "info record" output.
453 * gdb.btrace/next.exp: Update "info record" output.
454 * gdb.btrace/nexti.exp: Update "info record" output.
455 * gdb.btrace/step.exp: Update "info record" output.
456 * gdb.btrace/stepi.exp: Update "info record" output.
457 * gdb.btrace/nohist.exp: Update "info record" output.
458
b9d61307
SM
4592015-02-06 Simon Marchi <simon.marchi@ericsson.com>
460
461 PR gdb/15678
462 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
463
e584fdbc
PA
4642015-02-06 Pedro Alves <palves@redhat.com>
465
466 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
467 macro.
468 (seconds_left, again): New globals.
469 (main): Wait seconds_left in a 1-second sleep loop instead of
470 sleeping 180 seconds. If 'again' is set, reset the seconds
471 counter.
472 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
473 'again' in the inferior before detaching. Print the seconds left.
474 (options): New global.
475 (top level): Build program with -DTIMEOUT=$timeout.
476
77f41761
PA
4772015-02-06 Pedro Alves <palves@redhat.com>
478
479 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
480 determine how many seconds to pass to 'alarm'.
481 * gdb.base/gdb-sigterm.exp (top level): Build program with
482 -DTIMEOUT=$timeout.
483 (do_test): Return success/failure indication. Add more verbose
484 logging. Don't fail if 200 single steps are seen. Instead, fail
485 when the test times out.
486 (passes): New global.
487 (top level): Break the testing loop if testing fails on any
488 iteration. Use gdb_assert.
489
b9394193
DB
4902015-02-04 Don Breazeal <donb@codesourcery.com>
491
492 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
493 and initialize them.
494 (ipc_cleanup): New function.
495 (main): Don't declare shmid, semid, and msqid. Add a call to
496 atexit so that we call ipc_cleanup on exit.
497
42d9e528
PA
4982015-02-04 Pedro Alves <palves@redhat.com>
499
500 * boards/native-extended-gdbserver.exp: Remove any target variant
501 specifications from the board name before clearing the isremote
502 flag from board_info.
503
ae6ae975
DE
5042015-01-31 Doug Evans <xdje42@gmail.com>
505
506 * gdb.base/maint.exp <maint print type argc>: Update expected output.
507
cfb069a8
GB
5082015-01-31 Gary Benson <gbenson@redhat.com>
509
510 * gdb.base/completion.exp: Disable completion limiting for
511 existing tests. Add new tests to check completion limiting.
512 * gdb.linespec/ls-errs.exp: Disable completion limiting.
513
5dd31d79
DE
5142015-01-31 Doug Evans <xdje42@gmail.com>
515
516 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
517
9f050062
DE
5182015-01-31 Doug Evans <xdje42@gmail.com>
519
520 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
521 entries. Duplicate file section script entries.
522 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
523 inlined entries. Add test for safe-path rejection.
524 * gdb.python/py-section-script.c: Add duplicate inlined section script
525 entries. Duplicate file section script entries.
526 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
527 inlined entries. Add test for safe-path rejection.
528
df25ebbd
JB
5292015-01-29 Joel Brobecker <brobecker@adacore.com>
530
531 * gdb.ada/disc_arr_bound: New testcase.
532
4a0ca9ec
JB
5332015-01-29 Joel Brobecker <brobecker@adacore.com>
534
535 * gdb.ada/mi_var_array: New testcase.
536
3a8b707a
DE
5372015-01-27 Doug Evans <dje@google.com>
538
539 * gdb.python/py-objfile.exp: Add tests for objfile.username.
540 Add test for objfile.filename, objfile.username after objfile
541 has been unloaded.
542
f8313f6e
JB
5432015-01-26 Joel Brobecker <brobecker@adacore.com>
544
545 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
546 the second test to print the name attribute of value
547 returned by the call to gdb.lookup_type, and adjust
548 the expected output accordingly.
549
37bc665e
MW
5502015-01-25 Mark Wielaard <mjw@redhat.com>
551
552 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
553 * gdb.base/disp-step-fork.c: Include unistd.h.
554 * gdb.base/siginfo-obj.c: Include stdio.h.
555 * gdb.base/siginfo-thread.c: Likewise.
556 * gdb.mi/non-stop.c: Include unistd.h.
557 * gdb.mi/nsthrexec.c: Include stdio.h.
558 * gdb.mi/pthreads.c: Include unistd.h.
559 * gdb.modula2/unbounded1.c (main): Declare returns int.
560 * gdb.reverse/consecutive-reverse.c: Likewise.
561 * gdb.threads/create-fail.c: Include unistd.h.
562 * gdb.threads/killed.c: Likewise.
563 * gdb.threads/linux-dp.c: Likewise.
564 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
565 * gdb.threads/non-ldr-exc-2.c: Likewise.
566 * gdb.threads/non-ldr-exc-3.c: Likewise.
567 * gdb.threads/non-ldr-exc-4.c: Likewise.
568 * gdb.threads/pthreads.c: Include unistd.h.
569 (main): Declare returns int.
570 * gdb.threads/tls-main.c (foo): New declaration.
571 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
572
f7e5394d
SM
5732015-01-23 Simon Marchi <simon.marchi@ericsson.com>
574
575 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
576 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
577
743649fd
MW
5782015-01-15 Mark Wielaard <mjw@redhat.com>
579
580 * gdb.base/noreturn-return.c: New file.
581 * gdb.base/noreturn-return.exp: New file.
582 * gdb.base/noreturn-finish.c: New file.
583 * gdb.base/noreturn-finish.exp: New file.
584
198297aa
PA
5852015-01-23 Pedro Alves <palves@redhat.com>
586
587 * gdb.threads/continue-pending-after-query.c: New file.
588 * gdb.threads/continue-pending-after-query.exp: New file.
589
717cf30c
AG
5902015-01-22 Anders Granlund <anders.granlund@ericsson.com>
591 Simon Marchi <simon.marchi@ericsson.com>
592
593 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
594 * gdb.base/valgrind-db-attach.exp: Same.
595 * gdb.base/valgrind-infcall.exp: Same.
596 * lib/mi-support.exp (default_mi_gdb_start): Same.
597 * lib/prompt.exp (default_prompt_gdb_start): Same.
598 * lib/gdb.exp (default_gdb_spawn): Same.
599 (gdb_interact): New.
600
601
4b62a76e
JK
6022015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
603
604 * gdb.compile/compile.exp (pointer to jit function): New test.
605
b4cdae6f
WW
6062015-01-17 Wei-cheng Wang <cole945@gmail.com>
607
608 * lib/gdb.exp (supports_process_record): Return true for
609 powerpc*-*-linux*.
610 (supports_reverse): Likewise.
611
d221e7ef
DB
6122015-01-15 Don Breazeal <donb@codesourcery.com>
613
614 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
615 instead of checking whether the target board is remote and
616 use spawn_wait_for_attach instead of exec/sleep.
617 * gdb.base/attach-twice.exp: Likewise.
618
bafffb51
JB
6192015-01-15 Joel Brobecker <brobecker@adacore.com>
620
621 * gdb.ada/var_arr_attrs: New testcase.
622
5589af0e
PA
6232015-01-14 Pedro Alves <palves@redhat.com>
624 Joel Brobecker <brobecker@adacore.com>
625
626 PR gdb/17525
627 * gdb.base/bp-cmds-execution-x-script.c: New file.
628 * gdb.base/bp-cmds-execution-x-script.exp: New file.
629 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
630
6c400b59
PA
6312015-01-14 Pedro Alves <palves@redhat.com>
632
633 PR cli/17828
634 * gdb.base/batch-preserve-term-settings.c: New file.
635 * gdb.base/batch-preserve-term-settings.exp: New file.
636
e02c96a7
DE
6372015-01-13 Doug Evans <dje@google.com>
638
639 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
640 binary.
641
576fd14c
JB
6422015-01-13 Joel Brobecker <brobecker@adacore.com>
643
644 * Makefile.in (clean mostlyclean): Do not delete *.py.
645
04dccad0
JB
6462015-01-13 Joel Brobecker <brobecker@adacore.com>
647
648 * gdb.python/py-lookup-type.exp: New file.
649
3d230f71
PA
6502015-01-12 Pedro Alves <palves@redhat.com>
651
652 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
653 restore GDBFLAGS before returning.
654
7e67715d
JK
6552015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
656
657 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
658 is_amd64_regs_target and is_x86_like_target.
659
f2e0d4b4
DE
6602015-01-11 Doug Evans <xdje42@gmail.com>
661
662 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
663 is given without an explicit form.
664 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
665 attributes.
666 * gdb.dwarf/corrupt.exp: Ditto.
667 * gdb.dwarf2/enum-type.exp: Ditto.
668 * gdb.trace/entry-values.exp: Ditto.
669 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
670
439250fb
DE
6712015-01-11 Doug Evans <xdje42@gmail.com>
672
673 PR gdb/15830
674 * gdb.base/maint.exp: Remove references to "maint demangle".
675 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
676 Add tests for explicitly specifying language to demangle.
677 * gdb.dlang/demangle.exp: Ditto.
678
ede9f622
PA
6792015-01-09 Pedro Alves <palves@redhat.com>
680
681 * gdb.threads/non-stop-fair-events.c: New file.
682 * gdb.threads/non-stop-fair-events.exp: New file.
683
a7b796db
PA
6842015-01-09 Pedro Alves <palves@redhat.com>
685
686 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
687 the global scope. Set a breakpoint after all threads are started
688 rather than stepping over two source lines. Expect the prompt.
689 * gdb.base/watch_thread_num.c (threads_started_barrier): New
690 global.
691 (NUM): Now 15.
692 (main): Use threads_started_barrier to wait for all threads to
693 start. Main thread no longer calls thread_function. Exit after
694 180 seconds.
695 (loop): New function.
696 (thread_function): Wait on threads_started_barrier barrier. Call
697 'loop' at each iteration.
698 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
699 threads have started, instead of hardcoding number of "next"
700 steps. Use an access watchpoint instead of a write watchpoint.
701
9665ffdd
PA
7022015-01-09 Pedro Alves <palves@redhat.com>
703
704 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
705 (thread_func): Wait on barrier.
706 (main): Wait for all threads to start before stopping GDB.
707 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
708 global.
709 (thread1_func, thread2_func): Wait on barrier.
710 (main): Wait for all threads to start before stopping GDB.
711 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
712 New global.
713 (thread1_func, thread2_func): Wait on barrier.
714 (main): Wait for all threads to start before stopping GDB.
715
c945a99f
PA
7162015-01-09 Pedro Alves <palves@redhat.com>
717
718 * gdb.threads/attach-many-short-lived-threads.c: New file.
719 * gdb.threads/attach-many-short-lived-threads.exp: New file.
720
c1a747c1
PA
7212014-01-09 Pedro Alves <palves@redhat.com>
722
723 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
724 instead of to thread 2.
725 * gdb.threads/signal-command-multiple-signals-pending.c (main):
726 Add barrier around each pthread_create call instead of around all
727 calls.
728 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
729 Set a break on thread_function and have the child threads hit it
730 one at at a time.
731
60b3033e
PA
7322015-01-09 Pedro Alves <palves@redhat.com>
733
734 * lib/gdb.exp (can_spawn_for_attach): New procedure.
735 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
736 false.
737 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
738 checking whether the target board is remote.
739 * gdb.multi/multi-attach.exp: Likewise.
740 * gdb.python/py-sync-interp.exp: Likewise.
741 * gdb.server/ext-attach.exp: Likewise.
742 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
743 tests that need to attach, instead of checking whether the target
744 board is remote at the top of the file.
745
acc018ac
YQ
7462015-01-08 Yao Qi <yao@codesourcery.com>
747
748 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
749
50a18af8
JK
7502015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
751
752 Fix testcase compilation.
753 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
754
8503d6e1
JB
7552015-01-06 Joel Brobecker <brobecker@adacore.com>
756
757 * gdb.python/py-type.exp: Add a couple test about empty
758 array creation, and negative-length array creation.
759
cc73dbcc
DE
7602015-01-02 Doug Evans <xdje42@gmail.com>
761
762 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
763
0300bbc7
DE
7642015-01-02 Doug Evans <dje@google.com>
765
766 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
767
9d85a0ec
YQ
7682014-12-29 Yao Qi <yao@codesourcery.com>
769
770 * gdb.trace/entry-values.exp: Update comments. Rename variable
771 bar_call_foo to returned_from_foo.
772
87186c6a
MMN
7732014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
774
775 PR gdb/17394
776 * gdb.linespec/break-asm-file.c: New file.
777 * gdb.linespec/break-asm-file.exp: New file.
778 * gdb.linespec/break-asm-file0.s: New file.
779 * gdb.linespec/break-asm-file1.s: New file.
780
1bab7383
YQ
7812014-12-18 Nigel Stephens <nigel@mips.com>
782 Maciej W. Rozycki <macro@codesourcery.com>
783
784 * gdb.base/float.exp: Handle the new output from "info float" on
785 MIPS targets.
786
1bc1068a
JK
7872014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
788
789 Fix MinGW compilation.
790 * gdb.compile/compile-ops.exp: Update untested message if
791 !skip_compile_feature_tests.
792 * gdb.compile/compile-setjmp.exp: Likewise.
793 * gdb.compile/compile-tls.exp: Likewise.
794 * gdb.compile/compile.exp: Likewise.
795 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
796 supported on this host".
797
b6615d10
DE
7982014-12-16 Doug Evans <xdje42@gmail.com>
799
800 * boards/stabs.exp: New file.
801
25dda427
AA
8022014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
803
804 * gdb.base/completion.exp: Adjust to format changes of "maint
805 print user-registers".
806
bf330350
CU
8072014-12-16 Catalin Udma <catalin.udma@freescale.com>
808
809 PR server/17457
810 * gdb.arch/aarch64-fp.c: New file.
811 * gdb.arch/aarch64-fp.exp: New file.
812
395cf596
SDJ
8132014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
814
815 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
816 r210637, r210913, r211666, r215400, r215817).
817
818 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
819 * dg-extract-results.py: New file.
820 * dg-extract-results.sh: Use it if the environment seems
821 suitable.
822
823 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
824
825 * dg-extract-results.py (parse_run): Handle warnings that
826 are printed before a test harness is run.
827
828 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
829
830 * dg-extract-results.py (Named): Remove __cmp__ method.
831 (output_variation): Use a key to sort variation.harnesses.
832
833 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
834
835 * dg-extract-results.py: For Python 3, force sys.stdout to
836 handle surrogate escape sequences.
837 (safe_open): New function.
838 (output_segment, main): Use it.
839
840 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
841
842 * dg-extract-results.py (Prog.result_re): Include options
843 in test name.
844
845 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
846
847 * dg-extract-results.py (output_variation): Always sort if
848 do_sum.
849
e882ef3c
SM
8502014-12-15 Simon Marchi <simon.marchi@ericsson.com>
851
852 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
853 as long as we get pagination notifications.
854
4992aa20
JM
8552014-12-15 Jason Merrill <jason@redhat.com>
856
857 * Makefile.in (check-gdb.%): Restore.
858 * README: Mention it.
859
c1b5a1a6
JB
8602014-12-13 Joel Brobecker <brobecker@adacore.com>
861
862 * gdb.ada/str_uninit: New testcase.
863
5537b577
JK
8642014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
865
866 PR symtab/17642
867 * gdb.base/vla-stub-define.c: New file.
868 * gdb.base/vla-stub.c: New file.
869 * gdb.base/vla-stub.exp: New file.
870
bb2ec1b3
TT
8712014-12-12 Phil Muldoon <pmuldoon@redhat.com>
872 Jan Kratochvil <jan.kratochvil@redhat.com>
873 Tom Tromey <tromey@redhat.com>
874
875 * configure.ac: Add gdb.compile/.
876 * configure: Regenerate.
877 * gdb.compile/Makefile.in: New file.
878 * gdb.compile/compile-ops.exp: New file.
879 * gdb.compile/compile-ops.c: New file.
880 * gdb.compile/compile-tls.c: New file.
881 * gdb.compile/compile-tls.exp: New file.
882 * gdb.compile/compile-constvar.S: New file.
883 * gdb.compile/compile-constvar.c: New file.
884 * gdb.compile/compile-mod.c: New file.
885 * gdb.compile/compile-nodebug.c: New file.
886 * gdb.compile/compile-setjmp-mod.c: New file.
887 * gdb.compile/compile-setjmp.c: New file.
888 * gdb.compile/compile-setjmp.exp: New file.
889 * gdb.compile/compile-shlib.c: New file.
890 * gdb.compile/compile.c: New file.
891 * gdb.compile/compile.exp: New file.
892 * lib/gdb.exp (skip_compile_feature_tests): New proc.
893
4ff709eb
TT
8942014-12-12 Tom Tromey <tromey@redhat.com>
895
896 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
897 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
898
6dddd6a5
DE
8992014-12-12 Doug Evans <dje@google.com>
900
901 * lib/gdb-python.exp (get_python_valueof): New function.
902 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
903
71c24708
AA
9042014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
905
906 * gdb.base/completion.exp: Add test for completion of "info
907 registers ".
908
3e29f34a
MR
9092014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
910
911 * gdb.base/func-ptrs.c: New file.
912 * gdb.base/func-ptrs.exp: New file.
913
fc126975
SM
9142014-12-10 Simon Marchi <simon.marchi@ericsson.com>
915
916 PR breakpoints/17012
917 * gdb.base/dprintf-detach.c: New file.
918 * gdb.base/dprintf-detach.exp: New file.
919
0a46d518
SM
9202014-12-10 Simon Marchi <simon.marchi@ericsson.com>
921
922 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
923 * lib/gdb.exp (target_is_gdbserver): New procedure.
924
a0be3e44
DE
9252014-12-08 Doug Evans <dje@google.com>
926
927 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
928
df1b803a
YQ
9292014-12-05 Yao Qi <yao@codesourcery.com>
930
931 * gdb.guile/scm-error.exp: Remove the third argument to
932 gdb_remote_download.
933 * gdb.guile/scm-frame-args.exp: Likewise.
934 * gdb.guile/scm-section-script.exp: Likewise.
935
ddb9f679
YQ
9362014-12-05 Yao Qi <yao@codesourcery.com>
937
938 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
939
86e4ed39
DE
9402014-12-04 Doug Evans <dje@google.com>
941
942 * gdb.python/py-objfile.exp: Add tests for
943 objfile.add_separate_debug_file.
944
7c50a931
DE
9452014-12-04 Doug Evans <dje@google.com>
946
947 * lib/gdb.exp (get_build_id): New function.
948 (build_id_debug_filename_get): Rewrite to use it.
949 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
950
621661e3
MR
9512014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
952
953 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
954 `method(long)', not just 0x0.
955 * gdb.cp/nsalias.exp: Align code labels to 4.
956 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
957 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
958 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
959 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
960 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
961 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
962
29f0c3b7
DE
9632014-12-02 Doug Evans <dje@google.com>
964
e1e061e7 965 PR symtab/17602
29f0c3b7 966 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 967 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
968 * gdb.cp/anon-ns.exp: Update.
969
162078c8
NB
9702014-12-02 Nick Bull <nicholaspbull@gmail.com>
971
972 * gdb.python/py-events.py (inferior_call_handler): New.
973 (register_changed_handler, memory_changed_handler): New.
974 (test_events.invoke): Register new handlers.
975 * gdb.python/py-events.exp: Add tests for inferior call,
976 memory_changed and register_changed events.
977
fdb09caf
AA
9782014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
979
980 * gdb.base/execl-update-breakpoints.exp: Specify the link address
981 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
982 if the linker doesn't understand this.
983
55cfb2c4
SM
9842014-12-01 Simon Marchi <simon.marchi@ericsson.com>
985
986 * gdb.python/python.exp: Change expected reply to help().
987
9e8cd6df
YQ
9882014-12-01 Yao Qi <yao@codesourcery.com>
989
990 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
991 AC_CONFIG_SUBDIRS(gdb.gdbtk).
992 * configure: Re-generated.
993
6c659fc2
SC
9942014-11-28 Siva Chandra Reddy <sivachandra@google.com>
995
996 * gdb.cp/chained-calls.cc: New file.
997 * gdb.cp/chained-calls.exp: New file.
998 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
999
d7fc3181
SM
10002014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1001
1002 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1003 * gdb.dwarf2/symtab-producer.exp: Same.
1004 * gdb.gdb/python-interrupts.exp: Same.
1005 * gdb.gdb/python-selftest.exp: Same.
1006 * gdb.python/py-linetable.exp: Same.
1007 * gdb.python/py-type.exp: Same.
1008 * gdb.python/py-value-cc.exp: Same.
1009 * gdb.python/py-value.exp: Same.
1010
10e79639
YQ
10112014-11-28 Yao Qi <yao@codesourcery.com>
1012
1013 * gdb.base/break-probes.exp: Match library name prefixed with
1014 sysroot.
1015
f28a0564
SM
10162014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1017
1018 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1019 test expected output. Add parentheses for the call to print.
1020 Remove L suffix from integers.
1021
3fe1ce1d
DE
10222014-11-26 Doug Evans <dje@google.com>
1023
1024 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1025
84429e27
YQ
10262014-11-22 Yao Qi <yao@codesourcery.com>
1027
1028 * gdb.trace/entry-values.c: Remove asms.
1029 (foo): Add foo_label.
1030 (bar): Add bar_label.
1031 * gdb.trace/entry-values.exp: Remove code computing foo's
1032 length and bar's length.
1033 (Dwarf::assemble): Invoke function_range for bar and use
1034 MACRO_AT_func for foo.
1035
26741859
YQ
10362014-11-22 Yao Qi <yao@codesourcery.com>
1037
1038 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1039 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1040 Use .Lgcc43_procstart instead of gcc43.
1041
45e44d27
JB
10422014-11-21 Joel Brobecker <brobecker@adacore.com>
1043
1044 * gdb.ada/n_arr_bound: New testcase.
1045
458c8db8
SDJ
10462014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1047
1048 PR breakpoints/10737
1049 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1050 test_catch_syscall_multi_arch.
1051 (test_catch_syscall_multi_arch): New function.
1052
43f3e411
DE
10532014-11-20 Doug Evans <xdje42@gmail.com>
1054
1055 * gdb.base/maint.exp: Update expected output.
1056
0d7b2549
AA
10572014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1058
1059 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1060 4-byte instruction on S390.
1061
8908fca5
JB
10622014-11-19 Joel Brobecker <brobecker@adacore.com>
1063
1064 * gdb.ada/arr_arr: New testcase.
1065
4a46959e
JB
10662014-11-19 Joel Brobecker <brobecker@adacore.com>
1067
1068 * gdb.ada/pkd_arr_elem: New Testcase.
1069
470e2f4e
LM
10702014-11-18 Luis Machado <lgustavo@codesourcery.com>
1071
1072 * gdb.reverse/break-precsave: Expect completion message for
1073 core file reads.
1074 * gdb.reverse/consecutive-precsave.exp: Likewise.
1075 * gdb.reverse/finish-precsave.exp: Likewise.
1076 * gdb.reverse/i386-precsave.exp: Likewise.
1077 * gdb.reverse/machinestate-precsave.exp: Likewise.
1078 * gdb.reverse/sigall-precsave.exp: Likewise.
1079 * gdb.reverse/solib-precsave.exp: Likewise.
1080 * gdb.reverse/step-precsave.exp: Likewise.
1081 * gdb.reverse/until-precsave.exp: Likewise.
1082 * gdb.reverse/watch-precsave.exp: Likewise.
1083
a267f3ad
AA
10842014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1085
1086 * gdb.base/bp-permanent.c: Include unistd.h.
1087 * gdb.python/py-framefilter-mi.c (main): Add return type.
1088 * gdb.python/py-framefilter.c (main): Likewise.
1089 * gdb.trace/actions-changed.c (main): Likewise.
1090
12084a9a
AA
10912014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1092
1093 * gdb.mi/until.c: Add eye-catchers.
1094 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1095 line numbers.
1096
dc7e1a77
AA
10972014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1098
1099 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1100 function header variants in break1.c.
1101 * gdb.base/ena-dis-br.exp: Likewise.
1102 * gdb.base/hbreak2.exp: Likewise.
1103 * gdb.reverse/until-precsave.exp: Drop references to removed
1104 non-prototype function header variants in ur1.c.
1105 * gdb.reverse/until-reverse.exp: Likewise.
1106
41c77605
PM
11072014-11-17 Petr Machata <pmachata@redhat.com>
1108
1109 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1110 ${_cu_offset_size} bytes abbrev offset.
1111
34248c3a
DE
11122014-11-15 Doug Evans <xdje42@gmail.com>
1113
1114 PR symtab/17559
1115 * gdb.base/line-symtabs.exp: New file.
1116 * gdb.base/line-symtabs.c: New file.
1117 * gdb.base/line-symtabs.h: New file.
1118
646da059
YQ
11192014-11-14 Yao Qi <yao@codesourcery.com>
1120
1121 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1122 (func): Add label func_label.
1123 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1124 Replace low_pc and high_pc with MACRO_AT_range.
1125 Replace name, low_pc and high_pc with MACRO_AT_func.
1126
9301ebe6
YQ
11272014-11-14 Yao Qi <yao@codesourcery.com>
1128
1129 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1130 Replace name, low_pc and high_pc with MACRO_AT_func.
1131
f166b542
YQ
11322014-11-14 Yao Qi <yao@codesourcery.com>
1133
1134 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1135 produce debug information.
1136 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1137
0f6e71e3
YQ
11382014-11-14 Yao Qi <yao@codesourcery.com>
1139
1140 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1141 object and get function length.
1142 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1143 with MACRO_AT_func.
1144 (top-level): Replace gdb_compile and clean_restart with
1145 prepare_for_testing.
1146 * gdb.dwarf2/main.c (main): Add label main_label.
1147
876c4df9
YQ
11482014-11-14 Yao Qi <yao@codesourcery.com>
1149
1150 * lib/dwarf.exp (function_range): New procedure.
1151 (Dwarf::_handle_macro_at_func): New procedure.
1152 (Dwarf::_handle_macro_at_range): New procedure.
1153 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1154
02ad9cf1
YQ
11552014-11-14 Yao Qi <yao@codesourcery.com>
1156
1157 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1158 (_handle_attribute): New procedure.
1159
a59add0c
AA
11602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1161
1162 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1163 * gdb.base/call-sc.c (zed): Likewise.
1164 * gdb.base/checkpoint.c (main): Likewise.
1165 * gdb.base/dump.c (main): Likewise.
1166 * gdb.base/gcore.c (main): Likewise.
1167 * gdb.base/huge.c (main): Likewise.
1168 * gdb.base/multi-forks.c (main): Likewise.
1169 * gdb.base/pr10179-a.c (main): Likewise.
1170 * gdb.base/savedregs.c (main): Likewise.
1171 * gdb.base/sigaltstack.c (main): Likewise.
1172 * gdb.base/siginfo.c (main): Likewise.
1173 * gdb.base/structs.c (zed): Likewise.
1174 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1175 * gdb.mi/mi-syn-frame.c (main): Likewise.
1176 * gdb.mi/until.c (foo, main): Likewise.
1177 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1178 * gdb.base/solib-weak.c (foo): Declare.
1179 * gdb.base/attach-twice.c: Include stdio.h.
1180 * gdb.base/weaklib1.c: Likewise.
1181 * gdb.base/weaklib2.c: Likewise.
1182 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1183 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1184 unistd.h.
1185 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1186 * gdb.mi/mi-exit-code.c: Likewise.
1187 * gdb.base/break-interp-lib.c: Include string.h.
1188 * gdb.base/coremaker.c: Likewise.
1189 * gdb.base/testenv.c: Likewise.
1190 * gdb.python/py-finish-breakpoint.c: Likewise.
1191 * gdb.base/inferior-died.c: Include sys/wait.h.
1192 * gdb.base/fileio.c: Include time.h.
1193 * gdb.base/async-shell.c: Include unistd.h.
1194 * gdb.base/dprintf-non-stop.c: Likewise.
1195 * gdb.base/info-os.c: Likewise.
1196 * gdb.mi/mi-console.c: Likewise.
1197 * gdb.mi/watch-nonstop.c: Likewise.
1198 * gdb.python/py-events.c: Likewise.
1199 * gdb.base/async.c (baz): Move up before its invocation.
1200 * gdb.base/code_elim2.c (my_global_func): Likewise.
1201 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1202 * gdb.base/advance.c (func2): Likewise.
1203
3b5d5997
AA
12042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1205
1206 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1207 variant.
1208 * gdb.base/annota3.c: Likewise.
1209 * gdb.base/async.c: Likewise.
1210 * gdb.base/average.c: Likewise.
1211 * gdb.base/call-ar-st.c: Likewise.
1212 * gdb.base/call-rt-st.c: Likewise.
1213 * gdb.base/call-sc.c: Likewise.
1214 * gdb.base/call-strs.c: Likewise.
1215 * gdb.base/ending-run.c: Likewise.
1216 * gdb.base/execd-prog.c: Likewise.
1217 * gdb.base/exprs.c: Likewise.
1218 * gdb.base/foll-exec.c: Likewise.
1219 * gdb.base/foll-fork.c: Likewise.
1220 * gdb.base/foll-vfork.c: Likewise.
1221 * gdb.base/funcargs.c: Likewise.
1222 * gdb.base/gcore.c: Likewise.
1223 * gdb.base/jump.c: Likewise.
1224 * gdb.base/langs0.c: Likewise.
1225 * gdb.base/langs1.c: Likewise.
1226 * gdb.base/langs2.c: Likewise.
1227 * gdb.base/mips_pro.c: Likewise.
1228 * gdb.base/nodebug.c: Likewise.
1229 * gdb.base/opaque0.c: Likewise.
1230 * gdb.base/opaque1.c: Likewise.
1231 * gdb.base/recurse.c: Likewise.
1232 * gdb.base/run.c: Likewise.
1233 * gdb.base/scope0.c: Likewise.
1234 * gdb.base/scope1.c: Likewise.
1235 * gdb.base/setshow.c: Likewise.
1236 * gdb.base/setvar.c: Likewise.
1237 * gdb.base/shmain.c: Likewise.
1238 * gdb.base/shr1.c: Likewise.
1239 * gdb.base/shr2.c: Likewise.
1240 * gdb.base/sigall.c: Likewise.
1241 * gdb.base/signals.c: Likewise.
1242 * gdb.base/so-indr-cl.c: Likewise.
1243 * gdb.base/solib2.c: Likewise.
1244 * gdb.base/structs.c: Likewise.
1245 * gdb.base/sum.c: Likewise.
1246 * gdb.base/vforked-prog.c: Likewise.
1247 * gdb.base/watchpoint.c: Likewise.
1248 * gdb.reverse/shr2.c: Likewise.
1249 * gdb.reverse/until-reverse.c: Likewise.
1250 * gdb.reverse/ur1.c: Likewise.
1251 * gdb.reverse/watch-reverse.c: Likewise.
1252
066a77c5
AA
12532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1254
1255 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1256 variant.
1257 * gdb.base/sepdebug.exp: Drop references to removed code.
1258
4f204ea5
AA
12592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1260
1261 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1262 variant. Preserve original line numbering.
1263 * gdb.base/list1.c: Likewise.
1264
3b377a3a
AA
12652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1266
1267 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1268 variant.
1269 * gdb.base/break1.c: Likewise.
1270 * gdb.base/break.exp: Drop references to removed code.
1271
e444df73
AA
12722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1273
1274 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1275 variant.
1276
8008f2a7
AA
12772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1278
1279 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1280
a5a06887
AA
12812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1282
1283 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1284 logic into perform_all_tests() and invoke it with and without
1285 function header prototypes.
1286 (do_function_calls): Remove conditional XFAIL for PR 5318.
1287 (rerun_and_prepare): Remove duplicate code.
1288 (perform_all_tests): New. Main logic moved here.
1289
44dba9b9
AA
12902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1291
1292 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1293 code guarded by #ifdef NO_PROTOTYPES.
1294 (t_double_many_args): Likewise.
1295 (DEF_FUNC_MANY_ARGS_1): Likewise.
1296 (DEF_FUNC_VALUES_1): Likewise.
1297 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1298 guarded by #ifdef PROTOTYPES.
1299
d1fbcd56
AA
13002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1301
1302 * gdb.mi/mi-console.c: Add eye-catcher.
1303 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1304 instead of literal line number.
1305
b0e59b8f
AA
13062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1307
1308 * gdb.base/shr2.c: Add eye-catcher.
1309 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1310 line number.
1311
78f98cca
AA
13122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1313
1314 * gdb.base/jump.c: Add eye-catchers.
1315 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1316 numbers.
1317
58fa2af0
AA
13182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1319
1320 * gdb.base/execd-prog.c: Add eye-catchers.
1321 * gdb.base/foll-exec.c: Likewise.
1322 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1323 line numbers.
1324
04e5059b
AA
13252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1326
1327 * gdb.base/ending-run.c: Add eye-catchers.
1328 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1329 literal line numbers.
1330
dbfdb174
AA
13312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1332
1333 * gdb.base/call-rt-st.c: Add eye-catchers.
1334 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1335 literal line numbers.
1336
888a2ade
AA
13372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1338
1339 * gdb.base/call-ar-st.c: Add eye-catchers.
1340 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1341 literal line numbers.
1342
6acc2dde
AA
13432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1344
1345 * gdb.base/average.c: Add eye-catchers.
1346 * gdb.base/sum.c: Likewise.
1347 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1348 regexps dynamically.
1349
9ecfcd1d
AA
13502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1351
1352 * gdb.base/solib1.c: Add eye-catchers.
1353 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1354 literal line numbers.
1355
78708b7c
PA
13562014-11-12 Pedro Alves <palves@redhat.com>
1357
1358 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1359 leader has exited.
1360
af48d08f
PA
13612014-11-12 Pedro Alves <palves@redhat.com>
1362
1363 * gdb.arch/i386-bp_permanent.c: New file.
1364 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1365 (srcfile): Set to i386-bp_permanent.c.
1366 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1367 that stepi does not execute the 'leave' instruction, instead of
1368 testing it does execute.
1369 * gdb.base/bp-permanent.c: New file.
1370 * gdb.base/bp-permanent.exp: New file.
1371
af3768e9
DE
13722014-11-10 Doug Evans <xdje42@gmail.com>
1373
1374 PR symtab/17564
1375 * gdb.base/symtab-search-order.exp: New file.
1376 * gdb.base/symtab-search-order.c: New file.
1377 * gdb.base/symtab-search-order-1.c: New file.
1378 * gdb.base/symtab-search-order-shlib-1.c: New file.
1379
9de00a4a
PA
13802014-11-07 Pedro Alves <palves@redhat.com>
1381
1382 PR gdb/17511
1383 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1384 i?86-*-linux*.
1385
e0f52461
SC
13862014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1387
1388 PR c++/17494
1389 * gdb.cp/pr17494.cc: New file.
1390 * gdb.cp/pr17494.exp: New file.
1391
6ce8c980
YQ
13922014-11-02 Yao Qi <yao@codesourcery.com>
1393
1394 * gdb.python/python.exp: Get working directory and match the
1395 output of "set extended-prompt \\w " with it.
1396
02be9a71
DE
13972014-10-30 Doug Evans <dje@google.com>
1398
1399 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1400 in objfiles.
1401 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1402 in progspaces.
1403
3bdff46b
LM
14042014-10-30 Janis Johnson <janisjo@codesourcery.com>
1405
1406 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1407 * gdb.base/realname-expand.exp: Likewise.
1408 * gdb.linespec/macro-relative.exp: Likewise.
1409
ab917dfb
PA
14102014-10-29 Pedro Alves <palves@redhat.com>
1411
1412 PR gdb/17408
1413 * gdb.threads/schedlock.c (some_function): New function.
1414 (call_function): New global.
1415 (MAYBE_CALL_SOME_FUNCTION): New macro.
1416 (thread_function): Call it.
1417 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1418 and use it instead of a global counter. Adjust all callers.
1419 (get_current_thread): Use "find current thread" for test message
1420 here rather than having all callers pass down the same string.
1421 (goto_loop): New procedure, factored out from ...
1422 (my_continue): ... this.
1423 (step_ten_loops): Change parameter from test message to command to
1424 use. Adjust.
1425 (list_count): Delete global.
1426 (check_result): New procedure, factored out from duplicate top
1427 level code.
1428 (continue tests): Wrap in with_test_prefix.
1429 (test_step): New procedure, factored out from duplicate top level
1430 code.
1431 (top level): Test "step" in combination with all scheduler-locking
1432 modes. Test "next" in combination with all scheduler-locking
1433 modes, and in combination with stepping over a function call or
1434 not.
1435 * gdb.threads/next-bp-other-thread.c: New file.
1436 * gdb.threads/next-bp-other-thread.exp: New file.
1437
d3d4baed
PA
14382014-10-29 Pedro Alves <palves@redhat.com>
1439
1440 PR python/17372
1441 * gdb.python/python.exp: Test a multi-line command that spawns
1442 interactive Python.
1443 * gdb.base/multi-line-starts-subshell.exp: New file.
1444
563e8d85
YQ
14452014-10-29 Yao Qi <yao@codesourcery.com>
1446
1447 * gdb.base/fileio.exp: Make directories on host.
1448
0ea4d52e
YQ
14492014-10-29 Yao Qi <yao@codesourcery.com>
1450
1451 * gdb.base/fileio.c (test_write): Close the file.
1452
7f5ef605
PA
14532014-10-28 Pedro Alves <palves@redhat.com>
1454
1455 PR gdb/12623
1456 * gdb.base/sigstep.c (no_handler): New global.
1457 (main): If 'no_handler is true, set the signal handlers to
1458 SIG_IGN.
1459 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1460 with_sw_watch and no_handler parameters. Handle them.
1461 (top level) <stepping over handler when stopped at a breakpoint
1462 test>: Add a test axis for testing with a software watchpoint, and
1463 another for testing with the signal handler set to SIG_IGN.
1464 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1465 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1466
abbdbd03
PA
14672014-10-28 Pedro Alves <palves@redhat.com>
1468
1469 PR gdb/17511
1470 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1471 * gdb.base/sigstep.exp (other_handler_location): New global.
1472 (advance): Support stepping into the signal handler, and running
1473 commands while in the handler.
1474 (in_handler_map): New global.
1475 (top level): In the advance test, add combinations for getting
1476 into the handler with stepping commands, and for running commands
1477 in the handler. Add comment descripting the advancei tests.
1478
1df4399f
PA
14792014-10-28 Pedro Alves <palves@redhat.com>
1480
1481 * gdb.base/sigstep.exp: Use build_executable instead of
1482 prepare_for_testing.
1483 (top level): Move code that starts GDB, runs to main and creates a
1484 display to ...
1485 (restart): ... this new procedure.
1486 (top level): Move backtrace from signal handler test to ...
1487 (validate_backtrace): ... this new procedure.
1488 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1489 with_test_prefix. Always restart GDB.
1490 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1491 with_test_prefix. Always restart GDB. No need to delete
1492 breakpoints after the test.
1493 (test_skip_handler): Remove prefix parameter.
1494 (skip_over_handler, breakpoint_to_handler)
1495 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1496 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1497 restart GDB. No need to delete breakpoints after the test.
1498 (top level): Use foreach to call the test procedures with
1499 different commands.
1500
a5b6e449
PA
15012014-10-28 Pedro Alves <palves@redhat.com>
1502
1503 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1504 instead of GNATS numbers.
1505 * gdb.base/sigbpt.exp: Likewise.
1506 * gdb.base/siginfo.exp: Likewise.
1507 * gdb.base/sigstep.exp: Likewise.
1508
e5f8a7cc
PA
15092014-10-27 Pedro Alves <palves@redhat.com>
1510
1511 * gdb.base/sigstep.c (dummy): New global.
1512 (main): Issue a couple writes to the new global.
1513 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1514 procedures.
1515 (skip_over_handler): Use test_skip_handler.
1516 (top level): Call skip_over_handler for stepi and nexti too.
1517 (breakpoint_over_handler): Use test_skip_handler.
1518 (top level): Call breakpoint_over_handler for stepi and nexti too.
1519
763905a3
YQ
15202014-10-27 Yao Qi <yao@codesourcery.com>
1521
1522 * gdb.trace/tfile.c (adjust_function_address)
1523 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1524 function descriptor.
1525
6f259a23
DB
15262014-10-24 Don Breazeal <donb@codesourcery.com>
1527
1528 * gdb.base/foll-fork.exp (test_follow_fork,
1529 catch_fork_child_follow): Check for updated fork messages emitted
1530 from infrun.c.
1531 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1532 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1533 vfork_and_exec_child_follow_through_step): Check for updated vfork
1534 messages emitted from infrun.c.
1535
09dd9a69
PA
15362014-10-24 Pedro Alves <palves@redhat.com>
1537
1538 * gdb.base/corefile.exp: Remove references to ultrix.
1539 * gdb.base/interrupt.exp: Likewise.
1540 * gdb.base/whatis.exp: Likewise.
1541 * gdb.gdb/selftest.exp: Likewise.
1542 * gdb.threads/manythreads.exp: Likewise.
1543 * gdb.threads/print-threads.exp: Likewise.
1544 * gdb.threads/pthreads.exp:: Likewise.
1545 * gdb.threads/schedlock.exp: Likewise.
1546
3433cfa5
SC
15472014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1548
1549 * gdb.cp/non-trivial-retval.cc: Add a test case.
1550 * gdb.cp/non-trivial-retval.exp: Add a test.
1551
092f880b
YQ
15522014-10-20 Yao Qi <yao@codesourcery.com>
1553
1554 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1555 * gdb.python/py-objfile-script-gdb.py: New file.
1556 * gdb.python/py-objfile-script.exp: Update reference to
1557 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1558 of remote_download. Remove the dest file.
1559
acbdb7f3
YQ
15602014-10-20 Yao Qi <yao@codesourcery.com>
1561
1562 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1563 * gdb.base/step-line.exp: Likewise.
1564 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1565 * gdb.dwarf2/dw2-basic.exp: Likewise.
1566 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1567 * gdb.dwarf2/dw2-filename.exp: Likewise.
1568 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1569 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1570 * gdb.dwarf2/dw2-producer.exp: Likewise.
1571 * gdb.dwarf2/mac-fileno.exp: Likewise.
1572 * gdb.python/py-frame-args.exp: Likewise.
1573 * gdb.python/py-framefilter.exp: Likewise.
1574 * gdb.python/py-mi.exp: Likewise.
1575 * gdb.python/py-objfile-script.exp: Likewise
1576 * gdb.python/py-pp-integral.exp: Likewise.
1577 * gdb.python/py-pp-re-notag.exp: Likewise.
1578 * gdb.python/py-prettyprint.exp: Likewise.
1579 * gdb.python/py-section-script.exp: Likewise.
1580 * gdb.python/py-typeprint.exp: Likewise.
1581 * gdb.python/py-xmethods.exp: Likewise.
1582 * gdb.stabs/weird.exp: Likewise.
1583 * gdb.xml/tdesc-regs.exp: Likewise.
1584
bd286a29
KCY
15852014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1586
1587 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1588 (out_cu): Use addr_len for the size of addresses.
1589 (out_line): Likewise. Size DW_LNE_set_address instruction
1590 according to addr_len.
1591 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1592 (FUNC): Add START_INSNS to definition.
1593
673dc4a0
YQ
15942014-10-18 Yao Qi <yao@codesourcery.com>
1595
1596 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1597 gdb_has_argv0 return true.
1598 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1599 check [target_info exists noargs], check [gdb_has_argv0]
1600 instead.
1601 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1602 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1603 procedures.
1604
4ffbba72
DE
16052014-10-17 Doug Evans <dje@google.com>
1606
1607 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1608 event.
1609 * gdb.python/py-events.py: Add clear_objfiles event.
1610
d096d8c1
DE
16112014-10-17 Doug Evans <dje@google.com>
1612
1613 * gdb.python/py-objfile.exp: Test progspace attribute.
1614
a80db015
LM
16152014-10-17 Luis Machado <lgustavo@codesourcery.com>
1616
1617 * gdb.guile/scm-breakpoint.exp: Do not assume any
1618 directory separators when matching source file paths.
1619 * gdb.python/py-breakpoint.exp: Likewise.
1620 * gdb.reverse/break-precsave.exp: Likewise.
1621 * gdb.reverse/break-reverse.exp: Likewise.
1622 * gdb.reverse/consecutive-precsave.exp: Likewise.
1623 * gdb.reverse/finish-precsave.exp: Likewise.
1624 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1625 * gdb.reverse/finish-reverse.exp: Likewise.
1626 * gdb.reverse/i386-precsave.exp: Likewise.
1627 * gdb.reverse/i387-env-reverse.exp: Likewise.
1628 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1629 * gdb.reverse/machinestate-precsave.exp: Likewise.
1630 * gdb.reverse/machinestate.exp: Likewise.
1631 * gdb.reverse/sigall-precsave.exp: Likewise.
1632 * gdb.reverse/solib-precsave.exp: Likewise.
1633 * gdb.reverse/step-precsave.exp: Likewise.
1634 * gdb.reverse/until-precsave.exp: Likewise.
1635 * gdb.reverse/watch-precsave.exp: Likewise.
1636 * gdb.reverse/watch-reverse.exp: Likewise.
1637
b22089ab
YQ
16382014-10-17 Yao Qi <yao@codesourcery.com>
1639
1640 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1641 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1642
6c4486e6
PA
16432014-10-17 Pedro Alves <palves@redhat.com>
1644
1645 PR gdb/17471
1646 * gdb.base/bg-execution-repeat.c: New file.
1647 * gdb.base/bg-execution-repeat.exp: New file.
1648
0ff33695
PA
16492014-10-17 Pedro Alves <palves@redhat.com>
1650
1651 PR gdb/17300
1652 * gdb.base/continue-all-already-running.c: New file.
1653 * gdb.base/continue-all-already-running.exp: New file.
1654
6fdebc3d
PA
16552014-10-17 Pedro Alves <palves@redhat.com>
1656
1657 PR gdb/17472
1658 * gdb.base/annota-input-while-running.c: New file.
1659 * gdb.base/annota-input-while-running.exp: New file.
1660
32a8097b
PA
16612014-10-17 Pedro Alves <palves@redhat.com>
1662
1663 * gdb.base/callfuncs.exp: emove references to osf.
1664 * gdb.base/sigall.exp: Likewise.
1665 * gdb.gdb/selftest.exp: Likewise.
1666 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1667 * gdb.mi/non-stop.c: Likewise.
1668 * gdb.mi/pthreads.c: Likewise.
1669 * gdb.reverse/sigall-precsave.exp: Likewise.
1670 * gdb.reverse/sigall-reverse.exp: Likewise.
1671 * gdb.threads/pthreads.c: Likewise.
1672 * gdb.threads/pthreads.exp: Likewise.
1673
7a3517ff
YQ
16742014-10-17 Yao Qi <yao@codesourcery.com>
1675
1676 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1677 check 'target_info exists noargs'.
1678 (test_command_prompt_position): Likewise.
1679 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1680 Remove "set args".
1681 (progvar_simple_while_test): Likewise.
1682 (progvar_complex_if_while_test): Likewise.
1683 (if_while_breakpoint_command_test): Likewise.
1684 (infrun_breakpoint_command_test): Likewise.
1685 (breakpoint_command_test): Likewise.
1686 (watchpoint_command_test): Likewise.
1687 (bp_deleted_in_command_test): Likewise.
1688 (temporary_breakpoint_commands): Likewise.
1689
bb99c472
YQ
16902014-10-16 Yao Qi <yao@codesourcery.com>
1691
1692 * gdb.base/remotetimeout.exp: Remove noargs checking.
1693
7c16b83e
PA
16942014-10-15 Pedro Alves <palves@redhat.com>
1695
1696 PR breakpoints/9649
1697 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1698 * gdb.base/breakpoint-in-ro-region.exp
1699 (probe_target_hardware_step): New procedure.
1700 (top level): Probe hardware stepping and hardware breakpoint
1701 support. Test stepping through a read-only region, with both
1702 "breakpoint auto-hw" on and off and both "always-inserted" on and
1703 off.
1704
35a49624
IB
17052014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1706
1707 * gdb.dlang/demangle.exp: Update for demangling changes.
1708
2d1c107c
SC
17092014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1710
1711 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1712 * gdb.cp/non-trivial-retval.exp: Add new tests.
1713
778811d5
SC
17142014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1715
1716 PR c++/13403
1717 PR c++/15154
1718 * gdb.cp/non-trivial-retval.cc: New file.
1719 * gdb.cp/non-trivial-retval.exp: New file.
1720
10c5f0a8
YQ
17212014-10-15 Yao Qi <yao@codesourcery.com>
1722
1723 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1724 remote host.
1725
65d7b369
YQ
17262014-10-15 Yao Qi <yao@codesourcery.com>
1727
1728 * gdb.python/py-symbol.exp: Match file base name if host is
1729 remote, otherwise match file name with dir name.
1730 * gdb.python/py-symtab.exp: Likewise.
1731 * gdb.python/python.exp: Likewise.
1732
46dc1394
YQ
17332014-10-15 Yao Qi <yao@codesourcery.com>
1734
1735 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1736 pattern.
1737 * gdb.python/py-symtab.exp: Likewise.
1738 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1739 locationn.
1740
c40cc657
JB
17412014-10-14 Joel Brobecker <brobecker@adacore.com>
1742
1743 * gdb.ada/addr_arith: New testcase.
1744
2abf49e1
MR
17452014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1746
1747 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1748 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1749 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1750 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1751
f7088df3
SDJ
17522014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1753
1754 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1755 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1756 * gdb.arch/stap-eval-lang-ada.exp: New file.
1757
4dc06805
YQ
17582014-10-14 Yao Qi <yao@codesourcery.com>
1759
1760 * gdb.mi/mi-var-child.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-child.exp: Step over new added statements.
1765 Update test to match the new output.
1766 * gdb.mi/var-cmd.c (nothing1): New function.
1767 (nothing2): New function.
1768 (do_children_tests): Set function pointers by nothing1 and
1769 nothing2.
1770 * gdb.mi/mi-var-display.exp: Update test to match output.
1771 Step to the line specified by $line_dct_nothing.
1772 Increase the number of lines to step.
1773
46a93de2
YQ
17742014-10-14 Yao Qi <yao@codesourcery.com>
1775
1776 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1777 tests.
1778 * gdb.mi/mi2-var-child.exp: Likewise.
1779
14ea52ee
DE
17802014-10-13 Doug Evans <dje@google.com>
1781
1782 * gdb.python/py-objfile.exp: Change name of file name test.
1783
e5c6e92b
DE
17842014-10-13 Doug Evans <dje@google.com>
1785
1786 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1787 from the start of the CU.
1788
c780cc2f
JK
17892014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1790 Yao Qi <yao@codesourcery.com>
1791
1792 Fix "save breakpoints" for "catch" command.
1793 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1794 Remove -nonewline. Match also the added "main" line.
1795
99894e11
JK
17962014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1797
1798 Fix "save breakpoints" for "disable $bpnum" command.
1799 * gdb.base/save-bp.c (main): Add label.
1800 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1801
6e1ac5a3
JK
18022014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1803
1804 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1805
754dd2b0
YQ
18062014-10-11 Yao Qi <yao@codesourcery.com>
1807
1808 * gdb.server/server-kill.exp: Execute command
1809 "set remote trace-status-packet on" before "tstatus".
1810
f90183d7
YQ
18112014-10-11 Yao Qi <yao@codesourcery.com>
1812
1813 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1814 (main): Call getppid.
1815 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1816 and continue to it. Read variable "server_pid".
1817
bf40a607
YQ
18182014-10-11 Yao Qi <yao@codesourcery.com>
1819
1820 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1821
052ca370
YQ
18222014-10-11 Yao Qi <yao@codesourcery.com>
1823
1824 * gdb.threads/thread-find.exp: Don't execute command
1825 "info threads".
1826 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1827 * gdb.threads/linux-dp.exp: Don't check the condition
1828 $threads_created equals to zero.
1829
3831839c
PA
18302014-10-10 Pedro Alves <palves@redhat.com>
1831
1832 * gdb.base/bigcore.exp: Remove references to IRIX.
1833 * gdb.base/funcargs.exp: Likewise.
1834 * gdb.base/interrupt.exp: Likewise.
1835 * gdb.base/mips_pro.exp: Likewise.
1836 * gdb.base/nodebug.exp: Likewise.
1837 * gdb.base/setvar.exp: Likewise.
1838 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1839
8b9a549d
PA
18402014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1841 Pedro Alves <palves@redhat.com>
1842
1843 PR symtab/14466
1844 * gdb.base/vdso-warning.c: New file.
1845 * gdb.base/vdso-warning.exp: New file.
1846
d48ba5e8
DE
18472014-10-02 Doug Evans <dje@google.com>
1848
1849 * gdb.base/structs.c (main): Don't run forever.
1850
2278c276
PA
18512014-10-02 Pedro Alves <palves@redhat.com>
1852
1853 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1854 (top level) <stop threads 1, stop threads 2>: Use it.
1855
b57bacec
PA
18562014-10-02 Pedro Alves <palves@redhat.com>
1857
1858 * gdb.threads/break-while-running.exp (test): Add new
1859 'update_thread_list' argument. Skip "info threads" if false.
1860 (top level): Add new 'update_thread_list' axis.
1861
13fd3ff3
PA
18622014-10-02 Pedro Alves <palves@redhat.com>
1863
1864 PR breakpoints/17431
1865 * gdb.base/execl-update-breakpoints.c: New file.
1866 * gdb.base/execl-update-breakpoints.exp: New file.
1867
0fec99e8
PA
18682014-10-01 Pedro Alves <palves@redhat.com>
1869
1870 * gdb.base/breakpoint-in-ro-region.c: New file.
1871 * gdb.base/breakpoint-in-ro-region.exp: New file.
1872
2ddf4301
SM
18732014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1874
1875 * gdb.mi/mi-exit-code.exp: New file.
1876 * gdb.mi/mi-exit-code.c: New file.
1877
6a5f3f43
YQ
18782014-09-30 Yao Qi <yao@codesourcery.com>
1879
1880 * lib/prelink-support.exp (build_executable_own_libs): Error if
1881 the target isn't native.
1882
345bcc73
YQ
18832014-09-30 Yao Qi <yao@codesourcery.com>
1884
1885 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1886 false.
1887
a25a5a45
PA
18882014-09-22 Pedro Alves <palves@redhat.com>
1889
1890 * gdb.threads/break-while-running.exp: New file.
1891 * gdb.threads/break-while-running.c: New file.
1892
00ba3162
YQ
18932014-09-19 Yao Qi <yao@codesourcery.com>
1894
1895 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1896 Invoke test. Restart GDB with --readnow and invoke test again.
1897
c3b7b696
YQ
18982014-09-19 Yao Qi <yao@codesourcery.com>
1899
1900 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1901 proc set_breakpoint_on_gcd_function. Invoke
1902 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1903 invoke set_breakpoint_on_gcd_function again.
1904
2b4fd423
DE
19052014-09-18 Doug Evans <dje@google.com>
1906
1907 * gdb.dwarf2/symtab-producer.exp: New file.
1908
a5947601
SDJ
19092014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1910
1911 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1912 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1913 * gdb.base/global-var-nested-by-dso.c: Likewise.
1914 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1915
91c19059
SDJ
19162014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1917 Pedro Alves <palves@redhat.com>
1918
1919 * gdb.base/watch-bitfields.exp: Pass string other than test file
1920 name to prepare_for_testing.
1921 (watch): New procedure.
1922 (expect_watchpoint): Use with_test_prefix.
1923 (top level): Factor out tests to ...
1924 (test_watch_location, test_regular_watch): ... these new
1925 procedures, and use with_test_prefix and gdb_continue_to_end.
1926
bb9d5f81
PP
19272014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1928
1929 PR breakpoints/12526
1930 * gdb.base/watch-bitfields.exp: New file.
1931 * gdb.base/watch-bitfields.c: New file.
1932
635856f5
PA
19332014-09-16 Pedro Alves <palves@redhat.com>
1934
1935 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1936 software and hardware addresses, not software address against
1937 itself.
1938
7280ceea
PA
19392014-09-16 Pedro Alves <palves@redhat.com>
1940
1941 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1942 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1943
428b16bd
PA
19442014-09-16 Pedro Alves <palves@redhat.com>
1945
1946 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1947 files.
1948 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1949 "*-*-vxworks*" throughout.
1950 * gdb.base/break.exp: Likewise.
1951 * gdb.base/default.exp: Likewise.
1952 * gdb.base/scope.exp: Likewise.
1953 * gdb.base/sepdebug.exp: Likewise.
1954 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1955 throughout.
1956 * gdb.base/run.c: Likewise.
1957 * gdb.base/sepdebug.c: Likewise.
1958 * gdb.hp/gdb.aCC/run.c: Likewise.
1959 * gdb.reverse/until-reverse.c: Likewise.
1960 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1961
666d413c
YQ
19622014-09-16 Yao Qi <yao@codesourcery.com>
1963
1964 * boards/local-remote-host-native.exp: New file.
1965
57cbd724
DE
19662014-09-14 Doug Evans <xdje42@gmail.com>
1967
1968 * gdb.threads/queue-signal.c (thread_count): New variable.
1969 (thread_count_mutex, thread_count_condvar): New variables.
1970 (incr_thread_count, wait_all_threads_running): New functions.
1971 (main): Wait for all threads to be in their thread functions.
1972
81219e53
DE
19732014-09-13 Doug Evans <xdje42@gmail.com>
1974
1975 * gdb.threads/queue-signal.c: New file.
1976 * gdb.threads/queue-signal.exp: New file.
1977
3714cea7
DE
19782014-09-13 Doug Evans <xdje42@gmail.com>
1979
1980 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1981 be consistent with what default_gdb_init uses.
1982 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1983 the plain text of the prompt. Add some logging printfs.
1984 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1985
fa43b1d7
PA
19862014-09-12 Pedro Alves <palves@redhat.com>
1987
1988 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1989 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1990 * gdb.arch/i386-size-overlap.exp: Likewise.
1991 * gdb.arch/i386-size.exp: Likewise.
1992 * gdb.arch/i386-unwind.exp: Likewise.
1993 * gdb.base/a2-run.exp: Likewise.
1994 * gdb.base/break.exp: Likewise.
1995 * gdb.base/charset.exp: Likewise.
1996 * gdb.base/chng-syms.exp: Likewise.
1997 * gdb.base/commands.exp: Likewise.
1998 * gdb.base/dbx.exp: Likewise.
1999 * gdb.base/find.exp: Likewise.
2000 * gdb.base/funcargs.exp: Likewise.
2001 * gdb.base/jit-simple.exp: Likewise.
2002 * gdb.base/reread.exp: Likewise.
2003 * gdb.base/sepdebug.exp: Likewise.
2004 * gdb.base/step-bt.exp: Likewise.
2005 * gdb.cp/mb-inline.exp: Likewise.
2006 * gdb.cp/mb-templates.exp: Likewise.
2007 * gdb.objc/basicclass.exp: Likewise.
2008 * gdb.threads/killed.exp: Likewise.
2009
9d9bf2df
EBM
20102014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2011
2012 PR tdep/17379
2013 * gdb.arch/powerpc-stackless.S: New file.
2014 * gdb.arch/powerpc-stackless.exp: New file.
2015
1cf2f1b0
JK
20162014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2017
2018 * gdb.base/attach.c: Include unistd.h.
2019 (main): Call alarm. Add label postloop.
2020 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2021 gdb_breakpoint, gdb_continue_to_breakpoint.
2022 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2023
98880d46
PA
20242014-09-11 Pedro Alves <palves@redhat.com>
2025
2026 PR gdb/17347
2027 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2028 * gdb.base/attach.exp (test_command_line_attach_run): New
2029 procedure.
2030 (top level): Call it.
2031
4c92ff2c
PA
20322014-09-11 Pedro Alves <palves@redhat.com>
2033
2034 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2035 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2036 (do_command_attach_tests): Use spawn_wait_for_attach.
2037 * gdb.base/solib-overlap.exp: Likewise.
2038 * gdb.multi/multi-attach.exp: Likewise.
2039 * gdb.python/py-prompt.exp: Likewise.
2040 * gdb.python/py-sync-interp.exp: Likewise.
2041 * gdb.server/ext-attach.exp: Likewise.
2042
3adc1a7d
GKB
20432014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2044
2045 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2046 command in testcase. Simplify testcase.
2047
96334934
JB
20482014-09-10 Joel Brobecker <brobecker@adacore.com>
2049
2050 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2051
eb479039
JB
20522014-09-10 Joel Brobecker <brobecker@adacore.com>
2053
2054 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2055
deede10c
JB
20562014-09-10 Joel Brobecker <brobecker@adacore.com>
2057
2058 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2059
7828a5f5
JB
20602014-09-10 Joel Brobecker <brobecker@adacore.com>
2061
2062 * gdb.dwarf2/dynarr-ptr.c: New file.
2063 * gdb.dwarf2/dynarr-ptr.exp: New file.
2064
33aeebcf
MR
20652014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2066
2067 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2068 of 30 rather than hardcoding 120 for a slow test case. Take the
2069 `gdb,timeout' target setting into account for this calculation.
2070 Don't extend the timeout for the test cases that don't need it.
2071
7b415901
MR
20722014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2073
2074 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2075 a factor of 2 for a slow test case. Take the `gdb,timeout'
2076 target setting into account for this calculation.
2077 * gdb.reverse/until-precsave.exp: Increase the timeout by
2078 a factor of 15 and 3 respectively rather than adding 120
2079 for a pair of slow test cases. Take the `gdb,timeout'
2080 target setting into account for this calculation.
2081
4a40f85a
MR
20822014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2083
2084 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2085 timeout, don't pass one down to gdb_expect.
2086 (gdb_expect): Rework timeout selection.
2087
09635af7
MR
20882014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2089
2090 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2091 exception on timeout.
2092 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2093 (gdbserver_start_extended): Catch any `gdbserver_start' error
2094 exceptions.
2095 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2096 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2097 `gdbserver_gdb_load' error exceptions.
2098
2bdd10b7
MR
20992014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2100
2101 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2102 120 on waiting for the TCP socket to open.
2103
316935f0
DE
21042014-09-09 Doug Evans <xdje42@gmail.com>
2105
2106 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2107 _caller_matches, _any_caller_is, _any_caller_matches.
2108
83740597
DE
21092014-09-09 Doug Evans <xdje42@gmail.com>
2110
2111 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2112
4c122fc3
YQ
21132014-09-09 Yao Qi <yao@codesourcery.com>
2114
2115 * gdb.mi/mi-var-display.exp: Set print symbol off.
2116
a9f116cb
GKB
21172014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2118
2119 PR gdb/17035
2120 * gdb.base/commands.exp: Add tests to verify user-defined
2121 commands with empty bodies.
2122 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2123 python commands in `show user command`.
2124 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2125 scheme commands in `show user command`.
2126
c75bd3a2
JK
21272014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2128
2129 PR python/17355
2130 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2131 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2132 * gdb.python/py-framefilter-invalidarg.exp: New file.
2133 * gdb.python/py-framefilter-invalidarg.py: New file.
2134
faa42425
DE
21352014-09-06 Doug Evans <xdje42@gmail.com>
2136
2137 PR 15276
2138 * gdb.python/py-caller-is.c: New file.
2139 * gdb.python/py-caller-is.exp: New file.
2140
474ca4f6
SDJ
21412014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2142
2143 PR gdb/17235
2144 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2145 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2146
eb0b0463
SDJ
21472014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2148
2149 PR fortran/17237
2150 * gdb.fortran/print-formatted.exp: New file.
2151 * gdb.fortran/print-formatted.f90: Likewise.
2152
5f3b99cf
SS
21532014-09-03 Sasha Smundak <asmundak@google.com>
2154
2155 * gdb.python/py-frame.exp: Test Frame.read_register.
2156
7d793aa9
SDJ
21572014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2158
2159 PR python/16699
2160 * gdb.python/py-completion.exp: New file.
2161 * gdb.python/py-completion.py: Likewise.
2162
fb0576e9
DE
21632014-08-28 Doug Evans <dje@google.com>
2164
2165 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2166 eax,etc. are live with values set by gdb and thus the compiler can't
2167 use them.
2168 * gdb.arch/i386-pseudo.c (main): Ditto.
2169
ee92b0dd
DE
21702014-08-27 Doug Evans <dje@google.com>
2171
2172 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2173
6649db35
DE
21742014-08-25 Doug Evans <dje@google.com>
2175
2176 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2177 (main): Ditto.
2178
564b7600
DE
21792014-08-25 Doug Evans <dje@google.com>
2180
2181 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2182
3881fb67
YQ
21832014-08-24 Yao Qi <yao@codesourcery.com>
2184
2185 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2186 symbol off.
2187 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2188
a05a36a5
DE
21892014-08-22 Doug Evans <dje@google.com>
2190
2191 PR 17276
2192 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2193 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2194 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2195
7c343b48
YQ
21962014-08-22 Yao Qi <yao@codesourcery.com>
2197
2198 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2199 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2200 * gdb.python/python.exp: Likewise. Use .py file on the host
2201 instead of the build.
2202
22fd09ae
JK
22032014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2204
2205 * gdb.threads/gcore-stale-thread.c: New file.
2206 * gdb.threads/gcore-stale-thread.exp: New file.
2207
a8454a7c
PA
22082014-08-21 Pedro Alves <palves@redhat.com>
2209
2210 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2211 * gdb.base/gcore-relro-pie.exp: Likewise.
2212 * gdb.base/gcore-relro.exp: Likewise.
2213 * gdb.base/gcore.exp: Likewise.
2214 * gdb.base/print-symbol-loading.exp: Likewise.
2215 * gdb.threads/gcore-thread.exp: Likewise.
2216 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2217
2a31c623
PA
22182014-08-20 Pedro Alves <palves@redhat.com>
2219 Jan Kratochvil <jan.kratochvil@redhat.com>
2220
2221 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2222 configure.
2223 (EXPECT): Handle READ1 being set.
2224 (all): Depend on EXTRA_RULES.
2225 (check-read1, expect-read1, read1.so, read1): New rules.
2226 * README (Testsuite Parameters): Document the READ1 make variable.
2227 (Race detection): New section.
2228 * configure: Regenerate.
2229 * configure.ac: If build==host==target, and running under a
2230 GNU/glibc system, add read1 to the extra Makefile rules.
2231 (EXTRA_RULES): AC_SUBST it.
2232 * lib/read1.c: New file.
2233
d36430db
JB
22342014-08-20 Joel Brobecker <brobecker@adacore.com>
2235
2236 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2237 the handling of variables declared as a typedef to an array
2238 which a DW_AT_data_location attribute.
2239
9a0dc9e3
PA
22402014-08-19 Andrew Burgess <aburgess@broadcom.com>
2241 Pedro Alves <palves@redhat.com>
2242
2243 PR symtab/14604
2244 PR symtab/14605
2245 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2246 gdb_test.
2247
0718a8da
PA
22482014-08-19 Pedro Alves <palves@redhat.com>
2249
2250 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2251
13b448cd
YQ
22522014-08-19 Yao Qi <yao@codesourcery.com>
2253
2254 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2255 right line.
2256
1cbf5077
DB
22572014-08-18 David Blaikie <dblaikie@gmail.com>
2258
2259 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2260
bf0fae19
JB
22612014-08-18 Joel Brobecker <brobecker@adacore.com>
2262
2263 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2264 attribute in array range.
2265
3c8c5dcc
JB
22662014-08-18 Joel Brobecker <brobecker@adacore.com>
2267
2268 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2269
e66d4446
SC
22702014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2271
2272 PR c++/17132
2273 * gdb.cp/pr17132.cc: New file.
2274 * gdb.cp/pr17132.exp: New file.
2275
940df408
SC
22762014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2277
2278 * gdb.python/py-xmethods.py (A_getarrayind)
2279 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2280 Use 'print' with function call syntax.
2281 (E_method_matcher.match): Fix tab vs space indentation mixup.
2282
ebcc6c3a
YQ
22832014-08-15 Yao Qi <yao@codesourcery.com>
2284
2285 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2286 false.
2287
775e0f04
YQ
22882014-08-15 Yao Qi <yao@codesourcery.com>
2289
2290 * gdb.cp/casts.exp: Set print symbol off.
2291 * gdb.cp/class2.exp: Likewise.
2292 * gdb.cp/overload.exp: Likewise.
2293 * gdb.cp/templates.exp: Likewise.
2294
d769e349
DE
22952014-08-11 Doug Evans <dje@google.com>
2296
2297 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2298 (test_load_shlib): Update.
2299
20c6f1e1
YQ
23002014-08-09 Yao Qi <yao@codesourcery.com>
2301
2302 * gdb.base/display.exp: Invoke is_address_zero_readable.
2303 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2304 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2305 * gdb.base/hbreak-unmapped.exp: Return if
2306 is_address_zero_readable returns true.
2307 * gdb.base/signest.exp: Likewise.
2308 * gdb.base/signull.exp: Likewise.
2309 * gdb.base/sigbpt.exp: Likewise.
2310 * gdb.guile/scm-disasm.exp: Do the test if
2311 is_address_zero_readable returns false.
2312 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2313 * gdb.python/py-arch.exp: Likewise.
2314 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2315 * lib/gdb.exp (is_address_zero_readable): New proc.
2316
5792e8e3
YQ
23172014-08-09 Yao Qi <yao@codesourcery.com>
2318
2319 PR testsuite/13443
2320 * gdb.mi/mi-var-display.exp: Make test messages unique.
2321
3cecbbbe
TT
23222014-08-04 Tom Tromey <tromey@redhat.com>
2323
2324 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2325 target 0".
2326
00b51ff5
TT
23272014-08-04 Tom Tromey <tromey@redhat.com>
2328
2329 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2330 "target_resume".
2331
6908c509
JB
23322014-08-01 Joel Brobecker <brobecker@adacore.com>
2333
2334 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2335 inner_vla_struct_object_size.
2336 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2337 as xfail.
2338
cc6563d2
PA
23392014-07-30 Pedro Alves <palves@redhat.com>
2340
2341 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2342 comment.
2343
7e09a223
YQ
23442014-07-29 Yao Qi <yao@codesourcery.com>
2345
2346 PR gdb/17206
2347 * gdb.base/until-nodebug.exp: New.
2348
7ebdbe92
DE
23492014-07-28 Doug Evans <xdje42@gmail.com>
2350
2351 PR guile/17203
2352 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2353 previously existing parameter, and previously ambiguously spelled
2354 parameter.
2355
fdb1adc6
WN
23562014-07-28 Will Newton <will.newton@linaro.org>
2357
2358 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2359
186fcde0
DE
23602014-07-26 Ludovic Courtès <ludo@gnu.org>
2361 Doug Evans <xdje42@gmail.com>
2362
2363 PR guile/17146
2364 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2365
70509625
PA
23662014-07-25 Pedro Alves <palves@redhat.com>
2367
2368 * gdb.threads/signal-command-handle-nopass.c: New file.
2369 * gdb.threads/signal-command-handle-nopass.exp: New file.
2370 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2371 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2372 * gdb.threads/signal-delivered-right-thread.c: New file.
2373 * gdb.threads/signal-delivered-right-thread.exp: New file.
2374
c3f814a1
PA
23752014-07-25 Pedro Alves <palves@redhat.com>
2376
2377 * gdb.base/double-prompt-target-event-error.exp
2378 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2379 match.
2380 (cancel_pagination_in_target_event): Rework double prompt
2381 detection.
2382 * gdb.base/paginate-after-ctrl-c-running.exp
2383 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2384 <return>' match.
2385 * gdb.base/paginate-bg-execution.exp
2386 (test_bg_execution_pagination_return)
2387 (test_bg_execution_pagination_cancel): Remove '-notransfer
2388 <return>' matches.
2389 * gdb.base/paginate-execution-startup.exp
2390 (test_fg_execution_pagination_return)
2391 (test_fg_execution_pagination_cancel): Remove '-notransfer
2392 <return>' matches.
2393 * gdb.base/paginate-inferior-exit.exp
2394 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2395 match.
2396 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2397 * lib/gdb.exp (pagination_prompt): Run text through
2398 string_to_regexp.
2399 (gdb_test_multiple): Match $pagination_prompt instead of
2400 "<return>".
2401 (string_to_regexp): Move to lib/gdb-utils.exp.
2402
e214cf6c
JK
24032014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2404
2405 * gdb.arch/amd64-entry-value-paramref.S: New file.
2406 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2407 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2408 * gdb.arch/amd64-optimout-repeat.S: New file.
2409 * gdb.arch/amd64-optimout-repeat.c: New file.
2410 * gdb.arch/amd64-optimout-repeat.exp: New file.
2411
17d0c5c8
JK
24122014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2413
2414 PR gdb/17170
2415 * gdb.base/statistics.exp: New file.
2416
b8b8facf
DE
24172014-07-17 Doug Evans <dje@google.com>
2418
74b49205 2419 PR gdb/17170
b8b8facf
DE
2420 * gdb.base/maint.exp: Update testing of per-command stats.
2421
1b5d0ab3
PA
24222014-07-16 Pedro Alves <palves@redhat.com>
2423
2424 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2425 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2426 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2427 (tfile_write_buf): New functions.
2428 (add_memory_block): Rewrite using the above.
2429 (adjust_function_address): New function.
2430 (FUNCTION_ADDRESS): New macro.
2431 (write_basic_trace_file): Remove short_x local, and use
2432 tfile_write_16. Change type of func_addr local to unsigned long
2433 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2434 here. Cast argument of add_memory_block to char pointer.
2435 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2436 (main): Remove parameters.
2437 * gdb.trace/tfile.exp: Remove nowarnings.
2438
4d974e88
SM
24392014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2440
2441 * gdb.base/debug-expr.exp: Test string evaluation with
2442 "debug expression" on.
2443
41e99568
PA
24442014-07-15 Pedro Alves <palves@redhat.com>
2445
2446 * gdb.base/reread.exp: Use clean_restart.
2447
487d9753
PL
24482014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2449
2450 * gdb.arch/avr-flash-qualifer.c: New.
2451 * gdb.arch/avr-flash-qualifer.exp: New.
2452
cc1c52ad
PA
24532014-07-14 Pedro Alves <palves@redhat.com>
2454
2455 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2456 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2457
1e973570
PA
24582014-07-14 Pedro Alves <palves@redhat.com>
2459
2460 * gdb.base/double-prompt-target-event-error.c: New file.
2461 * gdb.base/double-prompt-target-event-error.exp: New file.
2462
93d6eb10
PA
24632014-07-14 Pedro Alves <palves@redhat.com>
2464
2465 PR gdb/17072
2466 * gdb.base/paginate-inferior-exit.c: New file.
2467 * gdb.base/paginate-inferior-exit.exp: New file.
2468
0017922d
PA
24692014-07-14 Pedro Alves <palves@redhat.com>
2470
2471 PR gdb/17072
2472 * gdb.base/paginate-bg-execution.c: New file.
2473 * gdb.base/paginate-bg-execution.exp: New file.
2474
94696ad3
PA
24752014-07-14 Pedro Alves <palves@redhat.com>
2476
2477 PR gdb/17072
2478 * gdb.base/paginate-execution-startup.c: New file.
2479 * gdb.base/paginate-execution-startup.exp: New file.
2480 * lib/gdb.exp (pagination_prompt): New global.
2481 (default_gdb_spawn): New procedure, factored out from
2482 default_gdb_spawn.
2483 (default_gdb_start): Adjust to call default_gdb_spawn.
2484 (gdb_spawn): New procedure.
2485
bd293940
PA
24862014-07-14 Pedro Alves <palves@redhat.com>
2487
2488 * lib/gdb.exp (gdb_assert): New procedure.
2489 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2490
c933f875
PA
24912014-07-14 Pedro Alves <palves@redhat.com>
2492
2493 * gdb.base/execution-termios.c: New file.
2494 * gdb.base/execution-termios.exp: New file.
2495
d98b7a16
TT
24962014-07-14 Tom Tromey <tromey@redhat.com>
2497
2498 * gdb.cp/vla-cxx.cc: New file.
2499 * gdb.cp/vla-cxx.exp: New file.
2500
548740d6
TT
25012014-07-14 Tom Tromey <tromey@redhat.com>
2502
2503 * gdb.reverse/rerun-prec.c: New file.
2504 * gdb.reverse/rerun-prec.exp: New file.
2505
a25eb028
MR
25062014-07-12 Maciej W. Rozycki <macro@mips.com>
2507 Maciej W. Rozycki <macro@codesourcery.com>
2508
2509 * lib/gdb-utils.exp: New file.
2510 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2511 inline `gdb_init_command' processing.
2512 (gdb_start_cmd): Likewise.
2513 * lib/mi-support.exp (mi_run_cmd): Likewise.
2514 * README: Document `gdb_init_command' and `gdb_init_commands'.
2515
218c2655
JK
25162014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2517
2518 Fix false FAIL running under a very long directory name.
2519 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2520 and "set print elements 10000". Twice.
2521
5401fde3
YQ
25222014-07-11 Yao Qi <yao@codesourcery.com>
2523
2524 * gdb.base/exprs.exp: "set print symbol off".
2525
e76126e8
PA
25262014-07-11 Pedro Alves <palves@redhat.com>
2527
2528 * gdb.threads/kill.c: New file.
2529 * gdb.threads/kill.exp: New file.
2530
2d6f0de6
YQ
25312014-07-10 Yao Qi <yao@codesourcery.com>
2532
2533 * gdb.trace/tfile.c (write_basic_trace_file)
2534 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2535 address written to trace file.
2536
7180e04a
PA
25372014-07-09 Pedro Alves <palves@redhat.com>
2538
2539 * gdb.base/attach-wait-input.exp: New file.
2540 * gdb.base/attach-wait-input.c: New file.
2541
9a9a7608
AB
25422014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2543
2544 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2545 setting up test structures.
2546 (main): Call new test function.
2547 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2548 test function, continue into test function and walk test
2549 structures.
2550
161ac41e
YQ
25512014-07-02 Yao Qi <yao@codesourcery.com>
2552
2553 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2554 'bar_start' at the beginning of functions 'foo' and 'bar'
2555 respectively.
2556 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2557 instead of 'foo' and 'bar'.
2558
1f267ae3
MM
25592014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2560
2561 * gdb.btrace/segv.exp: New.
2562 * gdb.btrace/segv.c: New.
2563
2b239efb
LM
25642014-07-02 Luis Machado <lgustavo@codesourcery.com>
2565
2566 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2567 instruction.
2568
cf363f18
MW
25692014-06-30 Mark Wielaard <mjw@redhat.com>
2570
2571 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2572 vulture, vilify, villar): New volatile array constants.
2573 (vindictive, vegetation): New const volatile array constants.
2574 * gdb.base/volatile.exp: Test volatile and const volatile array
2575 types.
2576
aebf9d24
AA
25772014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2578
2579 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2580 target lacks support for awatch, rwatch, or hbreak.
2581
b67a2c6f
YQ
25822014-06-27 Yao Qi <yao@codesourcery.com>
2583
2584 * gdb.multi/dummy-frame-restore.exp: New.
2585 * gdb.multi/dummy-frame-restore.c: New.
2586
aef92902
MM
25872014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2588
2589 * gdb.btrace/gcore.exp: New.
2590
8e9db26e
PA
25912014-06-23 Pedro Alves <palves@redhat.com>
2592
2593 * gdb.base/watchpoint-reuse-slot.c: New file.
2594 * gdb.base/watchpoint-reuse-slot.exp: New file.
2595
70afc5b7
SC
25962014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2597
2598 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2599 progspace's filename in 'info', 'enable' and 'disable' command
2600 tests.
2601
b972bd9c
JK
26022014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2603
2604 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2605 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2606 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2607
125f8a3d
GB
26082014-06-20 Gary Benson <gbenson@redhat.com>
2609
2610 * gdb.arch/i386-avx.exp: Fix include file location.
2611 * gdb.arch/i386-sse.exp: Likewise.
2612
3ed9baed
IB
26132014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2614
2615 * gdb.dlang/expression.exp: New file.
2616
034f788c
PA
26172014-06-19 Pedro Alves <palves@redhat.com>
2618
2619 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2620 out from ...
2621 (top level): ... here. Iterate running tests under different
2622 scheduler-locking settings.
2623
45371d0c
LM
26242014-06-18 Luis Machado <lgustavo@codesourcery.com>
2625
2626 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2627 to DW_FORM_addr and use non-zero addresses.
2628
5d376983
SC
26292014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2630
2631 PR gdb/17017
2632 * gdb.python/py-xmethods.cc: Add global function call counters and
2633 increment them in their respective functions. Remove "cout"
2634 statements.
2635 * gdb.python/py-xmethods.exp: Make tests check the global function
2636 call counters instead of depending on inferior IO.
2637
a1aa2221
LM
26382014-06-18 Don Breazeal <donb@codesourcery.com>
2639
2640 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2641 Deleted procedure.
2642 (explicit_fork_parent_follow): Deleted procedure.
2643 (explicit_fork_child_follow): Deleted procedure.
2644 (test_follow_fork): New procedure.
2645 (do_fork_tests): Replace calls to deleted procedures with
2646 calls to test_follow_fork and reset GDB for subsequent
2647 procedure calls.
2648
0fc05997
YQ
26492014-06-17 Yao Qi <yao@codesourcery.com>
2650
2651 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2652 CP1252.
2653
70795c52
LM
26542014-06-17 Luis Machado <lgustavo@codesourcery.com>
2655
2656 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2657 Initialize ptr and S explicitly.
2658 (skip_type_update_when_not_use_rtti_test): Likewise.
2659
6be47f0c
KS
26602014-06-16 Keith Seitz <keiths@redhat.com>
2661
2662 PR mi/15863
2663 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2664 the inferior is started.
2665
d03de421
PA
26662014-06-16 Pedro Alves <palves@redhat.com>
2667
2668 * gdb.base/break-main-file-remove-fail.c: New file.
2669 * gdb.base/break-main-file-remove-fail.exp: New file.
2670 * gdb.base/break-unload-file.exp: Use build_executable instead of
2671 prepare_for_testing.
2672 (test_break): New parameter "initial_load". Handle it.
2673 (top level): Add initial_load cmdline/file axis.
2674
f9579b99
TT
26752014-06-12 Tom Tromey <tromey@redhat.com>
2676
2677 * gdb.base/completion.exp: Don't use directory name in test.
2678
3657956b
GB
26792014-06-09 Gary Benson <gbenson@redhat.com>
2680
2681 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2682 separate the always-available ANSI-standard signals from the
2683 signals that require checking.
2684 (main): Likewise.
2685 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2686 Likewise.
2687 (main): Likewise.
2688
4186eb54
KS
26892014-06-07 Keith Seitz <keiths@redhat.com>
2690
2691 Revert:
2692 PR c++/16253
2693 * gdb.cp/var-tag.cc: New file.
2694 * gdb.cp/var-tag.exp: New file.
2695 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2696 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2697 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2698 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2699
25326a28 27002014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
2701
2702 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2703
829155c9
PA
27042014-06-06 Pedro Alves <palves@redhat.com>
2705
2706 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2707 in target debug output instead of looking at RSP packets,
2708 disabling the test on any target that uses hardware stepping.
2709 Update comments.
2710
61c8d22e
PA
27112014-06-06 Pedro Alves <palves@redhat.com>
2712
2713 * gdb.base/break-unload-file.exp: Fix typo.
2714
d9a47287
YQ
27152014-06-06 Yao Qi <yao@codesourcery.com>
2716
2717 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2718 from "jit_function" to "^jit_function".
2719
e5e01dbf
YQ
27202014-06-06 Yao Qi <yao@codesourcery.com>
2721
2722 * gdb.base/async.c (foo): Add one statement.
2723 * gdb.base/async.exp: Get the next instruction address and
2724 match the output of "nexti" by instruction address. Match
2725 the hex address in the output of "finish".
2726
73ba372c
GB
27272014-06-06 Gary Benson <gbenson@redhat.com>
2728
2729 * gdb.base/call-signals.c: Remove preprocessor conditionals
2730 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2731 SIGSEGV and SIGTERM.
2732 * gdb.base/sigall.c: Likewise.
2733 * gdb.base/unwindonsignal.c: Likewise.
2734 * gdb.reverse/sigall-reverse.c: Likewise.
2735
831517df
YQ
27362014-06-06 Yao Qi <yao@codesourcery.com>
2737
2738 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2739 readable, skip the test.
2740
b8b91e98
YQ
27412014-06-06 Yao Qi <yao@codesourcery.com>
2742
2743 * gdb.threads/staticthreads.c (thread_function): Move the line
2744 setting breakpoint on forward.
2745 * gdb.threads/staticthreads.exp: Update comments.
2746
fb934770
LC
27472014-06-05 Ludovic Courtès <ludo@gnu.org>
2748
2749 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2750 "history-append! type error".
2751
6ef284bd
SM
27522014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2753
2754 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2755 erroneous dprintf expected input.
2756
a872e241
DE
27572014-06-04 Doug Evans <xdje42@gmail.com>
2758
2759 * gdb.guile/scm-generics.exp: Delete.
2760
16f691fb
DE
27612014-06-04 Doug Evans <xdje42@gmail.com>
2762
2763 * gdb.guile/scm-breakpoint.exp: Update.
2764 Add tests for breakpoint registration.
2765
012370f6
TT
27662014-06-04 Tom Tromey <tromey@redhat.com>
2767
2768 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2769 VLA-in-union.
2770 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2771 inner_vla_struct, vla_union types. Initialize objects of those
2772 types and compute their sizes.
2773
9f5a4cef
HZ
27742014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2775 Hui Zhu <hui@codesourcery.com>
2776
2777 * gdb.base/fileio.exp: Add test for shell not available as well as
2778 available.
2779 * gdb.base/fileio.c (test_system): Check for shell twice.
2780
90a45c4d
YQ
27812014-06-04 Yao Qi <yao@codesourcery.com>
2782
2783 * gdb.base/auto-connect-native-target.exp: Remove redundant
2784 space from the regexp pattern.
2785
70017e41
YQ
27862014-06-04 Yao Qi <yao@codesourcery.com>
2787
2788 * gdb.base/default.exp: Replace "child" with "native" in
2789 regexp pattern.
2790
883964a7
SC
27912014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2792
2793 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2794 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2795 * gdb.python/py-xmethods.py: Python script supporting the
2796 new testcase and tests.
2797
ef370185
JB
27982014-06-03 Joel Brobecker <brobecker@adacore.com>
2799 Pedro Alves <palves@redhat.com>
2800
2801 PR breakpoints/17000
2802 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2803 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2804
1e2ccb61
BM
28052014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2806
2807 * gdb.base/subst.exp: Add tests to verify partial path matching
2808 output.
2809
c6ec5ab2
PA
28102014-06-03 Pedro Alves <palves@redhat.com>
2811
2812 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2813 target that doesn't use software single-stepping.
2814
835c559f
PA
28152014-06-03 Pedro Alves <palves@redhat.com>
2816
2817 PR breakpoints/17000
2818 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2819 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2820
06eb1586
DE
28212014-06-02 Doug Evans <xdje42@gmail.com>
2822
2823 * gdb.guile/scm-parameter.exp: New file.
2824
e698b8c4
DE
28252014-06-02 Doug Evans <xdje42@gmail.com>
2826
2827 * gdb.guile/scm-cmd.c: New file.
2828 * gdb.guile/scm-cmd.exp: New file.
2829
ded03782
DE
28302014-06-02 Doug Evans <xdje42@gmail.com>
2831
2832 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2833 pretty-printer lookup.
2834 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2835 (make-pp_s-printer): Call it.
2836 (make-pretty-printer-from-dict): New function.
2837 (lookup-pretty-printer-maker-from-dict): New function.
2838 (*pretty-printer*): Simplify.
2839 (make-objfile-pp_s-printer): New function.
2840 (install-objfile-pretty-printers!): New function.
2841 (make-progspace-pp_s-printer): New function.
2842 (install-progspace-pretty-printers!): New function.
2843 * gdb.guile/scm-progspace.c: New file.
2844 * gdb.guile/scm-progspace.exp: New file.
2845
41fac0cf
PA
28462014-06-02 Pedro Alves <palves@redhat.com>
2847
2848 * gdb.base/dprintf-bp-same-addr.c: New file.
2849 * gdb.base/dprintf-bp-same-addr.exp: New file.
2850
96ae5695
EBM
28512014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2852
2853 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2854 * gdb.arch/powerpc-power.s: Likewise.
2855
da02b3a8
JB
28562014-06-02 Joel Brobecker <brobecker@adacore.com>
2857
2858 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2859
c72b2e7b
YQ
28602014-06-01 Yao Qi <yao@codesourcery.com>
2861
2862 * gdb.base/watchpoint.exp (test_watch_location): Check null
2863 pointer can be dereferenced. If not, do the test, otherwise
2864 skip it.
2865
53e8a631
AB
28662014-05-30 Andrew Burgess <aburgess@broadcom.com>
2867
2868 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2869 results.
2870 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2871
938f0e2f
AB
28722014-05-30 Andrew Burgess <aburgess@broadcom.com>
2873
2874 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2875 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2876 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2877 * gdb.arch/amd64-invalid-stack-top.c: New file.
2878 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2879
9ba6657a
PA
28802014-05-30 Pedro Alves <palves@redhat.com>
2881
2882 PR breakpoints/17000
2883 * gdb.base/sss-bp-on-user-bp.c: New file.
2884 * gdb.base/sss-bp-on-user-bp.exp: New file.
2885
522c09bf
DB
28862014-05-30 David Blaikie <dblaikie@gmail.com>
2887
2888 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2889 gnu_inline semantics via attribute.
2890 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2891 source explicitly specifies the required semantics.
2892
bf4ef81e
MR
28932014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2894
2895 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2896
329ea579
PA
28972014-05-29 Pedro Alves <palves@redhat.com>
2898 Tom Tromey <tromey@redhat.com>
2899
2900 * gdb.base/async-shell.exp: Don't enable target-async.
2901 * gdb.base/async.exp
2902 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2903 parameter. Adjust.
2904 (top level): Don't test with "target-async".
2905 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2906 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2907 * gdb.base/inferior-died.exp: Don't enable target-async.
2908 * gdb.base/interrupt-noterm.exp: Likewise.
2909 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2910 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2911 * gdb.mi/mi-nonstop.exp: Likewise.
2912 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2913 * gdb.mi/mi-nsintrall.exp: Likewise.
2914 * gdb.mi/mi-nsmoribund.exp: Likewise.
2915 * gdb.mi/mi-nsthrexec.exp: Likewise.
2916 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2917 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2918 * gdb.python/py-evsignal.exp: Don't enable target-async.
2919 * gdb.python/py-evthreads.exp: Likewise.
2920 * gdb.python/py-prompt.exp: Likewise.
2921 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2922 * gdb.server/solib-list.exp: Don't enable target-async.
2923 * gdb.threads/thread-specific-bp.exp: Likewise.
2924 * lib/mi-support.exp: Adjust to use mi-async.
2925
fd664c91
PA
29262014-05-29 Pedro Alves <palves@redhat.com>
2927
2928 PR gdb/13860
2929 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2930 reason, even in sync mode.
2931
251bde03
PA
29322014-05-29 Pedro Alves <palves@redhat.com>
2933 Hui Zhu <hui@codesourcery.com>
2934
2935 PR PR15693
2936 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2937 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2938 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2939 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2940
7f3c0343
JB
29412014-05-28 Joel Brobecker <brobecker@adacore.com>
2942
2943 * config/monitor.exp (gdb_target_monitor): Replace use of
2944 "set remotebaud" by "set serial baud".
2945
b2715b27
AW
29462014-05-26 Andy Wingo <wingo@igalia.com>
2947
2948 * gdb.guile/scm-breakpoint.exp:
2949 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2950 properties instead of gdb-object-properties.
2951
498a4489
YQ
29522014-05-26 Yao Qi <yao@codesourcery.com>
2953
2954 * gdb.server/no-thread-db.exp: Specify source file name
2955 explicitly when setting a breakpoint.
2956
589fdceb
MM
29572014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2958
2959 * gdb.btrace/vdso.c: New.
2960 * gdb.btrace/vdso.exp: New.
2961
e9089e05
MM
29622014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2963
2964 * gdb.base/gcore.exp (capture_command_output): Move ...
2965 * lib/gdb.exp (capture_command_output): ... here.
2966
67b5c0c1
MM
29672014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2968
2969 * gdb.btrace/data.exp: Test memory access during btrace replay.
2970
a2199296
SM
29712014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2972
2973 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2974
17b2616c
PA
29752014-05-21 Pedro Alves <palves@redhat.com>
2976
2977 PR gdb/13860
2978 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2979 (top level): Test that output related to execution commands is
2980 sent to the console with CLI commands, but not with MI commands.
2981 Test that breakpoint events are always mirrored to the console.
2982 Also expect the new source line to be output after a "next" in
2983 async mode too. Make it a pass/fail test.
2984 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2985 output.
2986 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2987
5166082f
PA
29882014-05-21 Pedro Alves <palves@redhat.com>
2989
2990 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2991 Use them to test variations of "list" after reaching a breakpoint.
2992 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2993 Test "list" with listsize 10 after reaching a breakpoint.
2994 * gdb.python/python.exp (decode_line current location line
2995 number): Adjust expected line number.
2996
2f25d70f
SM
29972014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2998
2999 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3000 behavior for $args, pass it directly to "run".
3001
ff604a67
MR
30022014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3003
3004 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3005 30000 to 65536.
3006
6a3cb8e8
PA
30072014-05-21 Pedro Alves <palves@redhat.com>
3008
3009 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3010 auto-connect-native-target off".
3011 * gdb.base/auto-connect-native-target.c: New file.
3012 * gdb.base/auto-connect-native-target.exp: New file.
3013
4ebfc96e
PA
30142014-05-21 Pedro Alves <palves@redhat.com>
3015
3016 * gdb.base/default.exp: Test "target native" instead of "target
3017 child".
3018
36d46afb
MW
30192014-05-21 Mark Wielaard <mjw@redhat.com>
3020
3021 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3022
5876f503
JK
30232014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3024
3025 Fix TLS access for -static -pthread.
3026 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3027 <HAVE_TLS> (thread_function, main): Initialize it.
3028 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3029 Add clean_restart.
3030 <$have_tls != "">: Check TLSVAR.
3031
0256a6ac
PA
30322014-05-21 Pedro Alves <palves@redhat.com>
3033
3034 * gdb.base/dcache-line-read-error.c: New.
3035 * gdb.base/dcache-line-read-error.exp: New.
3036
936d2992
PA
30372014-05-20 Pedro Alves <palves@redhat.com>
3038
3039 * gdb.base/compare-sections.c: New file.
3040 * gdb.base/compare-sections.exp: New file.
3041
802e8e6d
PA
30422014-05-20 Pedro Alves <palves@redhat.com>
3043
3044 * gdb.base/break-idempotent.c: New file.
3045 * gdb.base/break-idempotent.exp: New file.
3046
e59fa00f
MM
30472014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3048
3049 * gdb.btrace/nohist.exp: New.
3050
8b696e31
YQ
30512014-05-20 Yao Qi <yao@codesourcery.com>
3052
3053 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3054 gdb.reverse directory and gdb_reverse_timeout exists in board
3055 setting.
3056 * README: Document gdb_reverse_timeout.
3057
73c9764f
YQ
30582014-05-20 Yao Qi <yao@codesourcery.com>
3059
3060 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3061 'test_file_name'. Treat args as a string instead of a list.
3062 (gdb_init): Rename argument 'args' by 'test_file_name'.
3063
f1f4348a
JK
30642014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3065
3066 * gdb.arch/powerpc-power.exp: New file.
3067 * gdb.arch/powerpc-power.s: New file.
3068
0dbe70ce
DE
30692014-05-16 Doug Evans <dje@google.com>
3070
3071 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3072 * gdb.base/completion.exp: Check that all expected files exist
3073 before doing file completion.
0dbe70ce 3074
8d551b02
DE
30752014-05-16 Doug Evans <dje@google.com>
3076
3077 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3078 Update.
3079 (do_syscall_tests_without_xml): Update.
3080
73eb7709
PA
30812014-05-16 Pedro Alves <palves@redhat.com>
3082
3083 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3084 instead of "unknown output after running".
3085
3fae92fc
YQ
30862014-05-16 Yao Qi <yao@codesourcery.com>
3087
3088 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3089 file1.txt from host at the end.
3090 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3091
c2b2ccc5
DE
30922014-05-15 Doug Evans <dje@google.com>
3093
3094 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3095 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3096 loading file. Add test for TU lookup.
3097
8c217a4b
SM
30982014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3099
3100 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3101 calling "-exec-arguments" or "set args" before running the
3102 inferior.
3103
3deb39c6
SM
31042014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3105
3106 * lib/mi-support.exp (mi_expect_stop): Expect message for
3107 inferiors that exit with non-zero exit code.
3108
71a79f8c
YQ
31092014-05-14 Yao Qi <yao@codesourcery.com>
3110
3111 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3112 match absolute path on remote host.
3113 (test_file_list_exec_source_files): Remove "/" from the
3114 pattern.
3115
f23fcd46
YQ
31162014-05-14 Yao Qi <yao@codesourcery.com>
3117
3118 * boards/local-remote-host-notty.exp (${board}_file): New
3119 proc.
3120
9404b58f
KM
31212014-05-07 Kyle McMartin <kyle@redhat.com>
3122
3123 Pushed by Joel Brobecker <brobecker@adacore.com>.
3124 * gdb.arch/aarch64-atomic-inst.c: New file.
3125 * gdb.arch/aarch64-atomic-inst.exp: New file.
3126
5e45f04c
YQ
31272014-05-07 Yao Qi <yao@codesourcery.com>
3128
3129 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3130 in current context" too.
3131
c888a17d
KS
31322014-05-05 Keith Seitz <keiths@redhat.com>
3133
3134 * gdb.linespec/ls-dollar.exp: Add test for linespec
3135 file:convenience_variable.
3136
290a839c
YQ
31372014-05-05 Yao Qi <yao@codesourcery.com>
3138
3139 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3140 traceframes into tfile and ctf trace files. Read data from
3141 trace file and test collected data.
3142 (gdb_collect_locals_test): Likewise.
3143 (gdb_unavailable_registers_test): Likewise.
3144 (gdb_unavailable_floats): Likewise.
3145 (gdb_collect_globals_test): Likewise.
3146 (top-level): Append "ctf" to trace_file_targets if GDB
3147 supports.
3148
b5262cd0
YQ
31492014-05-05 Yao Qi <yao@codesourcery.com>
3150
3151 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3152 code to ...
3153 (gdb_collect_args_test_1): ... it. New proc.
3154 (gdb_collect_locals_test): Move some code to ...
3155 (gdb_collect_locals_test_1): ... it. New proc.
3156 (gdb_unavailable_registers_test): Move some code to ...
3157 (gdb_unavailable_registers_test_1): ... it. New proc.
3158 (gdb_unavailable_floats): Move some code to ...
3159 (gdb_unavailable_floats_1): ... it. New proc.
3160
30a1e6cc
SDJ
31612014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3162
3163 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3164 probes to test for bitness recognition.
3165 * gdb.arch/amd64-stap-optional-prefix.exp
3166 (test_probe_value_without_reg): New procedure.
3167 Add code to test for different kinds of bitness.
3168
f33da99a
SDJ
31692014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3170
3171 PR breakpoints/16889
3172 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3173 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3174
5b80f00d
PA
31752014-05-01 Pedro Alves <palves@redhat.com>
3176
3177 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3178 gdb_file_cmd if no file is specified.
3179 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3180 last_loaded_file to set the remote exec-file.
3181
f8c2a73c
PA
31822014-05-01 Pedro Alves <palves@redhat.com>
3183
3184 * boards/local-remote-host.exp: New file.
3185
be6e8ac7
PA
31862014-05-01 Pedro Alves <palves@redhat.com>
3187
3188 * boards/local-remote-host.exp: Rename to ...
3189 * boards/local-remote-host-notty.exp: ... this.
3190
cac0dc8f
JB
31912014-04-28 Joel Brobecker <brobecker@adacore.com>
3192
3193 * gdb.ada/dyn_arrayidx: New testcase.
3194
9730e6cc
YQ
31952014-04-26 Yao Qi <yao@codesourcery.com>
3196
3197 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3198 and compute the length of function main. Save it in
3199 $main_length.
3200 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3201 (top-level): Use gdb_compile to compile objects into
3202 executable and restart GDB. Remove invocation to
3203 prepare_for_testing.
3204
7ae1a6a6
PA
32052014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3206 Pedro Alves <palves@redhat.com>
3207
3208 PR server/16255
3209 * gdb.multi/multi-attach.c: New file.
3210 * gdb.multi/multi-attach.exp: New file.
3211
4082afcc
PA
32122014-04-25 Pedro Alves <palves@redhat.com>
3213
3214 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3215 user.
3216 (top level): Test that "set remote conditional-breakpoints-packet
3217 off" works as intended.
3218 * gdb.base/dprintf.exp: Test that "set remote
3219 breakpoint-commands-packet off" works as intended.
3220 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3221 New function.
3222 (top level): Call it.
3223 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3224 remote fast-tracepoints-packet off" works as intended.
3225 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3226 * lib/gdb.exp (gdb_is_target_remote): ... here.
3227
2abc3f8d
DB
32282014-04-24 David Blaikie <dblaikie@gmail.com>
3229
3230 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3231 ensure clang would not discard them.
3232 * gdb.base/gdbvars.c: Ditto.
3233 * gdb.base/memattr.c: Ditto.
3234 * gdb.base/whatis.c: Ditto.
3235 * gdb.python/py-prettyprint.c: Ditto.
3236 * gdb.trace/actions.c: Ditto.
3237 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3238 ensure clang would not discard it.
3239
bfd39632
DB
32402014-04-24 David Blaikie <dblaikie@gmail.com>
3241
3242 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3243 clang to emit the full definition of type required by the test
3244 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3245
22842ff6
DB
32462014-04-24 David Blaikie <dblaikie@gmail.com>
3247
3248 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3249 coax Clang into emitting the definition of the type.
3250 * gdb.cp/pr10728-x.h (y): Ditto.
3251 * gdb.cp/pr10728-y.cc (y): Ditto.
3252
c2e827ad
DB
32532014-04-24 David Blaikie <dblaikie@gmail.com>
3254
3255 * gdb.base/label.exp: XFAIL label related tests under Clang.
3256 * gdb.cp/cplabel.exp: Ditto.
3257 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3258 under Clang those using labels.
3259
4c2d33e7
YQ
32602014-04-25 Yao Qi <yao@codesourcery.com>
3261
3262 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3263 double_label.
3264 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3265 partial_label and double_label.
3266
56083b99
DB
32672014-04-24 David Blaikie <dblaikie@gmail.com>
3268
3269 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3270
25d4e99d
DB
32712014-04-24 David Blaikie <dblaikie@gmail.com>
3272
3273 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3274 of the function to work across GCC and Clang.
3275 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3276 pointer types (const void ** const V void **).
3277
01f9f808
MS
32782014-04-24 Michael Sturm <michael.sturm@mintel.com>
3279 Walfred Tedeschi <walfred.tedeschi@intel.com>
3280
3281 * Makefile.in (EXECUTABLES): Added i386-avx512.
3282 * gdb.arch/i386-avx512.c: New file.
3283 * gdb.arch/i386-avx512.exp: Likewise.
3284
4b48d439
KS
32852014-04-23 Keith Seitz <keiths@redhat.com>
3286
3287 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3288 (mi_make_breakpoint_table): New procedure.
3289 (mi_create_breakpoint): Use mi_make_breakpoint
3290 and return the result.
3291 (mi_make_breakpoint): New procedure.
3292 (mi_build_kv_pairs): New procedure.
3293
3294 * gdb.mi/mi-break.exp: Remove unused globals,
3295 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3296 All callers updated.
3297 * gdb.mi/mi-dprintf.exp: Use variable to track command
3298 number.
3299 Update all callers of mi_create_breakpoint and use
3300 mi_make_breakpoint_table.
3301 Remove any unused global variables.
3302 * gdb.mi/mi-nonstop.exp: Likewise.
3303 * gdb.mi/mi-nsintrall.exp: Likewise.
3304 * gdb.mi/mi-nsmoribund.exp: Likewise.
3305 * gdb.mi/mi-nsthrexec.exp: Likewise.
3306 * gdb.mi/mi-reverse.exp: Likewise.
3307 * gdb.mi/mi-simplerun.exp: Likewise.
3308 * gdb.mi/mi-stepn.exp: Likewise.
3309 * gdb.mi/mi-syn-frame.exp: Likewise.
3310 * gdb.mi/mi-until.exp: Likewise.
3311 * gdb.mi/mi-var-cp.exp: Likewise.
3312 * gdb.mi/mi-var-display.exp: Likewise.
3313 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3314 * gdb.mi/mi2-var-child.exp: Likewise.
3315 * gdb.mi/mi-vla-c99.exp: Likewise.
3316 * lib/mi-support.exp: Likewise.
3317
3318 From Ian Lance Taylor <iant@cygnus.com>:
3319 * lib/gdb.exp (parse_args): New procedure.
3320
08351840
PA
33212014-04-23 Pedro Alves <palves@redhat.com>
3322
3323 * gdb.base/break-unload-file.c: New file.
3324 * gdb.base/break-unload-file.exp: New file.
3325 * gdb.base/sym-file-lib.c (baz): New function.
3326 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3327 field.
3328 (load): Store the segment's mapped size.
3329 (unload): New function.
3330 (unload_shlib): New function.
3331 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3332 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3333 set a breakpoint at baz, and call it.
3334 * gdb.base/sym-file.exp: New tests for stale breakpoint
3335 instructions.
3336
076855f9
PA
33372014-04-23 Pedro Alves <palves@redhat.com>
3338
3339 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3340 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3341 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3342 * gdb.base/hbreak-unmapped.c: New file.
3343 * gdb.base/hbreak-unmapped.exp: New file.
3344 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3345 * lib/gdb.exp (gdb_is_target_remote): ... here.
3346
483805cf
PA
33472014-04-22 Pedro Alves <palves@redhat.com>
3348
3349 * gdb.base/consecutive-step-over.c: New file.
3350 * gdb.base/consecutive-step-over.exp: New file.
3351
06d97543
PA
33522014-04-22 Pedro Alves <palves@redhat.com>
3353
3354 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3355 instead of send_gdb/gdb_expect.
3356
b4429ea2
YQ
33572014-04-22 Yao Qi <yao@codesourcery.com>
3358
3359 * lib/trace-support.exp (generate_tracefile): New procedure.
3360 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3361 return 0.
3362 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3363 if generate_tracefile returns 1.
3364
51d48146
PA
33652014-04-18 Tom Tromey <palves@redhat.com>
3366 Pedro alves <tromey@redhat.com>
3367
3368 PR backtrace/15558
3369 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3370 with a backtrace limit.
3371 * gdb.python/py-frame-inline.exp: Test running to an inline
3372 function with a backtrace limit, and printing the newest frame.
3373 * gdb.python/py-frame-inline.c (main): Call f.
3374
bd1dce5f
MS
33752014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3376
3377 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3378
40d1a503
MS
33792014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3380
3381 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3382 Drop prefix from unsupported source file path.
3383
389b98f7
YQ
33842014-04-17 Yao Qi <yao@codesourcery.com>
3385
3386 * lib/gdb.exp (with_target_charset): New proc.
3387 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3388 with_target_charset.
3389 (test_print_strings): Likewise.
3390 (test_repeat_bytes): Likewise.
3391 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3392 for some tests.
3393
22869d73
KS
33942014-04-16 Keith Seitz <keiths@redhat.com>
3395
3396 PR gdb/15827
3397 * gdb.dwarf2/corrupt.c: New file.
3398 * gdb.dwarf2/corrupt.exp: New file.
3399
c4f87ca6
KS
34002014-04-16 Keith Seitz <keiths@redhat.com>
3401
3402 PR c++/16597
3403 * gdb.cp/namelessclass.cc: New file.
3404 * gdb.cp/namelessclass.exp: New file.
3405 * gdb.cp/namelessclass.S: New file.
3406
ab19de87
DE
34072014-04-16 Doug Evans <dje@google.com>
3408
3409 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3410 Add comment.
3411 (gdbserver_default_get_comm_port): New function.
3412 (gdbserver_start): Check if board file provided
3413 "gdbserver,get_comm_port" and use it if so.
3414 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3415 (gdb,socketport): Set to "stdio".
3416 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3417 (stdio_gdbserver_template): Delete.
3418 (${board}_get_remote_address): Update.
3419 (${board}_build_remote_cmd): Delete.
3420 (${board}_get_comm_port): New function.
3421 (${board}_spawn): Update.
3422 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3423 Delete.
3424 (${board}_get_remote_address): Update.
3425 (${board}_get_comm_port): New function.
3426
fc98a809
AB
34272014-04-16 Andrew Burgess <aburgess@broadcom.com>
3428
3429 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3430 appearing in any order.
3431
87fd9e6e
DE
34322014-04-15 Doug Evans <dje@google.com>
3433
3434 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3435 uninitialized value of "description".
3436
099fc3ea
KS
34372014-04-15 Keith Seitz <keiths@redhat.com>
3438
3439 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3440 Remove unused globals.
3441 (test_running_the_program): Likewise.
3442 (test_controlled_execution): Likewise.
3443 (test_controlling_breakpoints): Likewise.
3444 (test_program_termination): Likewise.
3445
5da151d4
KS
34462014-04-15 Keith Seitz <keiths@redhat.com>
3447
3448 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3449 unused globals.
3450 (test_rbreak_creation_and_listing): Likewise.
3451 (test_ignore_count): Likewise.
3452 (test_error): Likewise.
3453
35e5d2f0
PA
34542014-04-15 Pedro Alves <palves@redhat.com>
3455
3456 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3457 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3458 sym-file-loader.c.
3459 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3460 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3461 to sym-file-loader.c.
3462 (struct library): Forward declare.
3463 (load_shlib, lookup_function): Change prototypes.
3464 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3465 (translate_offset): Remove declarations.
3466 (get_text_addr): New declaration.
3467 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3468 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3469 sym-file-loader.h.
3470 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3471 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3472 here from sym-file-loader.h.
3473 (struct library): New structure.
3474 (load_shlib, lookup_function): Change prototypes and adjust to
3475 work with a struct library.
3476 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3477 (translate_offset): Make static.
3478 (get_text_addr): New function.
3479 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3480
eb4c1710
PA
34812014-04-15 Pedro Alves <palves@redhat.com>
3482
3483 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3484
2d1baf52
PA
34852014-04-15 Pedro Alves <palves@redhat.com>
3486
3487 * gdb.base/sym-file-loader.c: Include <limits.h>.
3488 (SELF_LINK): New define.
3489 (get_origin): New function.
3490 (load_shlib): Use it.
3491 * gdb.base/sym-file.exp: Don't early return if the target is
3492 remote. Use runto_main, and issue fail is that fails. Use
3493 gdb_load_shlibs.
3494 (shlib_name): Delete.
3495 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3496
7dd6df01
PA
34972014-04-15 Pedro Alves <palves@redhat.com>
3498
3499 * gdb.base/sym-file.exp: Remove regex characters from test
3500 message. Don't refer to breakpoint numbers in test messages.
3501
b50c8614
KS
35022014-04-14 Keith Seitz <keiths@redhat.com>
3503
3504 PR c++/16253
3505 * gdb.cp/var-tag.cc: New file.
3506 * gdb.cp/var-tag.exp: New file.
3507 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3508 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3509 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3510 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3511
3d567982
TT
35122014-04-14 Tom Tromey <tromey@redhat.com>
3513
3514 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3515 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3516 type.
3517 * gdb.cp/enum-class.exp: New file.
3518 * gdb.cp/enum-class.cc: New file.
3519
0626fc76
TT
35202014-04-14 Tom Tromey <tromey@redhat.com>
3521
3522 * gdb.dwarf2/enum-type.exp: New file.
3523
dca325b3
SA
35242014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3525
3526 * gdb.mi/mi-vla-c99.exp: New file.
3527 * gdb.mi/vla.c: New file.
3528
5854b38a
SA
35292014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3530
3531 * gdb.base/vla-datatypes.c: New file.
3532 * gdb.base/vla-datatypes.exp: New file.
3533
463bb957
SA
35342014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3535
3536 * gdb.base/vla-ptr.c: New file.
3537 * gdb.base/vla-ptr.exp: New file.
3538
3dd170be
SA
35392014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3540
3541 * gdb.dwarf2/count.exp: New file.
3542
5ecaaa66
SA
35432014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3544
3545 * gdb.base/vla-sideeffect.c: New file.
3546 * gdb.base/vla-sideeffect.exp: New file.
3547
41f1ada5
DB
35482014-04-14 David Blaikie <dblaikie@gmail.com>
3549
3550 * gdb.mi/non-stop.c: Add return value for non-void function return
3551 statement.
3552 * gdb.threads/staticthreads.c: Ditto.
3553
0be03e84
DE
35542014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3555 Doug Evans <xdje42@gmail.com>
3556
3557 * gdb.guile/scm-value.c: Improve test case.
3558 * gdb.guile/scm-value.exp: Add new test.
3559
f180a1fb
DB
35602014-04-11 David Blaikie <dblaikie@gmail.com>
3561
3562 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3563 override Clang's default.
3564
6b662e19
JB
35652014-04-11 Joel Brobecker <brobecker@adacore.com>
3566
3567 Revert the following changes (regressions):
3568
3569 * gdb.base/vla-sideeffect.c: New file.
3570 * gdb.base/vla-sideeffect.exp: New file.
3571
3572 * gdb.dwarf2/count.exp: New file.
3573
3574 * gdb.base/vla-multi.c: New file.
3575 * gdb.base/vla-multi.exp: New file.
3576
3577 * gdb.base/vla-ptr.c: New file.
3578 * gdb.base/vla-ptr.exp: New file.
3579
3580 * gdb.base/vla-datatypes.c: New file.
3581 * gdb.base/vla-datatypes.exp: New file.
3582
3583 * gdb.mi/mi-vla-c99.exp: New file.
3584 * gdb.mi/vla.c: New file.
3585
245a5f0b
KS
35862014-04-11 Keith Seitz <keiths@redhat.com>
3587
3588 PR c++/16675
3589 * gdb.cp/cpsizeof.exp: New file.
3590 * gdb.cp/cpsizeof.cc: New file.
3591
58a84dcf
SA
35922014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3593
191a8a90
JB
3594 * gdb.mi/mi-vla-c99.exp: New file.
3595 * gdb.mi/vla.c: New file.
58a84dcf 3596
c8655f75
SA
35972014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3598
3599 * gdb.base/vla-datatypes.c: New file.
3600 * gdb.base/vla-datatypes.exp: New file.
3601
024e13b4
SA
36022014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3603
3604 * gdb.base/vla-ptr.c: New file.
3605 * gdb.base/vla-ptr.exp: New file.
3606
1a237e0e
SA
36072014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3608
3609 * gdb.base/vla-multi.c: New file.
3610 * gdb.base/vla-multi.exp: New file.
3611
504f3432
SA
36122014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3613
3614 * gdb.dwarf2/count.exp: New file.
3615
3bce8237
SA
36162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3617
191a8a90
JB
3618 * gdb.base/vla-sideeffect.c: New file.
3619 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 3620
322f9c21
YQ
36212014-04-11 Yao Qi <yao@codesourcery.com>
3622
3623 * gdb.base/completion.exp: Check file exists before running tests
3624 on file completion.
3625
d708bcd1
PA
36262014-04-10 Pedro Alves <palves@redhat.com>
3627
3628 * gdb.base/cond-eval-mode.c: New file.
3629 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3630 prepare_for_testing to build the new file. Check result of
3631 runto_main.
3632 (test_break, test_watch): New procedures.
3633 (top level): Use them.
3634
ae1d2761
PM
36352014-04-08 Pierre Muller <muller@sourceware.org>
3636
3637 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3638 Ctrl-V use for mingw hosts.
3639
7af389b8
SC
36402014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3641
3642 * gdb.python/py-value.c: Improve test case.
3643 * gdb.python/py-value.exp: Add new test.
3644
5e703181
DE
36452014-04-07 David Blaikie <dblaikie@gmail.com>
3646
3647 * lib/compiler.c: Identify the clang compiler.
3648 * lib/compiler.cc: Ditto.
3649
9810b410
YQ
36502014-04-03 Yao Qi <yao@codesourcery.com>
3651
3652 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3653
98d1b8dc
AB
36542014-04-01 Anton Blanchard <anton@samba.org>
3655
3656 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3657 messages unique.
3658
3114cea1
AB
36592014-04-01 Anton Blanchard <anton@samba.org>
3660
3661 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3662 prepare_for_testing.
3663
62f7182c
AB
36642014-04-01 Anton Blanchard <anton@samba.org>
3665
3666 * gdb.arch/ppc64-atomic-inst.c: Remove.
3667 * gdb.arch/ppc64-atomic-inst.S: New file.
3668 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3669
770e7fc7
DE
36702014-03-31 Doug Evans <dje@google.com>
3671
3672 * gdb.base/print-symbol-loading-lib.c: New file.
3673 * gdb.base/print-symbol-loading-main.c: New file.
3674 * gdb.base/print-symbol-loading.exp: New file.
3675
46e2bafa
YQ
36762014-03-31 Yao Qi <yao@codesourcery.com>
3677
3678 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3679
8776cfe9
JB
36802014-03-28 Joel Brobecker <brobecker@adacore.com>
3681
3682 * gdb.ada/mi_dyn_arr: New testcase.
3683
5d1ef361
DE
36842014-03-27 Doug Evans <dje@google.com>
3685
3686 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3687
b5bee914
YQ
36882014-03-27 Yao Qi <yao@codesourcery.com>
3689
3690 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3691 if target is nios2-*-*.
3692
0d4d0e77
YQ
36932014-03-26 Yao Qi <yao@codesourcery.com>
3694
3695 * lib/gdb.exp (readline_is_used): New proc.
3696 * gdb.base/completion.exp: Move tests on command complete up.
3697 Skip the rest of tests if readline is not used.
3698 * gdb.ada/complete.exp: Skp the test if readline is not
3699 used.
3700 * gdb.base/filesym.exp: Likewise.
3701 * gdb.base/macscp.exp: Likewise.
3702 * gdb.base/readline-ask.exp: Likewise.
3703 * gdb.base/readline.exp: Likewise.
3704 * gdb.python/py-cmd.exp: Likewise.
3705 * gdb.trace/tfile.exp: Likewise.
3706
29361eee
YQ
37072014-03-26 Yao Qi <yao@codesourcery.com>
3708
3709 * gdb.base/macscp.exp: Fix code format issues.
3710
bc9a5525
UW
37112014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3712
3713 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3714 * gdb.asm/powerpc64le.inc: New file.
3715
d3839ede
PA
37162014-03-25 Pedro Alves <palves@redhat.com>
3717 Doug Evans <dje@google.com>
3718
3719 * gdb.base/source-execution.c: New file.
3720 * gdb.base/source-execution.exp: New file.
3721 * gdb.base/source-execution.gdb: New file.
3722
01672a57
DE
37232014-03-24 Doug Evans <dje@google.com>
3724
3725 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3726 using fission.
3727
88bbeca9
HZ
37282014-03-24 Hui Zhu <hui@codesourcery.com>
3729 Pedro Alves <palves@redhat.com>
3730
3731 PR breakpoints/16101
3732 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3733 test pass/fail messages. Detect missing support for dprintf when
3734 breakpoints are actually inserted.
3735 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3736 breakpoints are actually inserted.
3737 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3738 fails.
3739
d2348791
JK
37402014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3741
3742 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3743
feef67ab
DE
37442014-03-22 Doug Evans <xdje42@gmail.com>
3745
3746 * gdb.python/python.exp (python not supported): Verify multi-line
3747 python command issues an error.
25d743f9 3748 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 3749 guile command issues an error.
feef67ab 3750
ecebef6a
MR
37512014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3752
3753 * gdb.threads/thread-specific.exp: Handle the lack of usable
3754 $this_breakpoint and $this_thread.
3755
ccdd1909
HZ
37562014-03-21 Hui Zhu <hui@codesourcery.com>
3757
3758 * gdb.base/attach.exp (do_command_attach_tests): New.
3759
beb460e8
PA
37602014-03-20 Tom Tromey <tromey@redhat.com>
3761 Pedro Alves <palves@redhat.com>
3762
3763 PR cli/15718
3764 * gdb.base/condbreak-call-false.c: New file.
3765 * gdb.base/condbreak-call-false.exp: New file.
3766
40acf43a
PA
37672014-03-20 Pedro Alves <palves@redhat.com>
3768
3769 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3770 Delete.
3771 (block_signals, unblock_signals): Delete.
3772 (child_function_2, main): Remove references to deleted variable
3773 and functions.
3774
9f5e1e02
PA
37752014-03-20 Pedro Alves <palves@redhat.com>
3776
3777 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3778 Use pthread_kill to signal thread 2.
3779 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3780 Adjust to make the test send itself a signal rather than using the
3781 host's "kill" command.
3782
99619bea
PA
37832014-03-20 Pedro Alves <palves@redhat.com>
3784
3785 * gdb.threads/multiple-step-overs.c: New file.
3786 * gdb.threads/multiple-step-overs.exp: New file.
3787 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3788 Adjust expected infrun debug output.
3789
2adfaa28
PA
37902014-03-20 Pedro Alves <palves@redhat.com>
3791
3792 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3793 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3794
31e77af2
PA
37952014-03-20 Pedro Alves <palves@redhat.com>
3796
3797 PR breakpoints/7143
3798 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3799 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3800 of gdb_test_multiple.
3801 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3802 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3803
b9f437de
PA
38042014-03-20 Pedro Alves <palves@redhat.com>
3805
3806 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3807 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3808
05adc73e
PA
38092014-03-19 Pedro Alves <palves@redhat.com>
3810
3811 * gdb.base/async.exp: Remove early return.
3812
6048b950
PA
38132014-03-19 Pedro Alves <palves@redhat.com>
3814
3815 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3816
8bcfb00a
PA
38172014-03-19 Pedro Alves <palves@redhat.com>
3818
3819 * gdb.base/async.exp (test_background): Expect \r\n after
3820 "completed." in the fail pattern.
3821
884e37dc
PA
38222014-03-19 Pedro Alves <palves@redhat.com>
3823
3824 * gdb.base/async.exp (test_background): New procedure.
3825 Use it for all background execution command tests.
3826
148e57e2
PA
38272014-03-19 Pedro Alves <palves@redhat.com>
3828
3829 * gdb.base/async.exp: Use prepare_for_testing.
3830
f48088c7
PA
38312014-03-19 Pedro Alves <palves@redhat.com>
3832
3833 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3834 the same line.
3835
e2f6c966
PA
38362014-03-19 Pedro Alves <palves@redhat.com>
3837
3838 * gdb.base/async.c (main): Add "jump here" and "until here" line
3839 marker comments.
3840 * gdb.base/async.exp (jump_here): New global.
3841 (jump& test): Use it.
3842 (until_here): New global.
3843 (until& test): Use it.
3844
c30568d4
PA
38452014-03-19 Pedro Alves <palves@redhat.com>
3846
3847 * gdb.base/async.exp: Don't frob gdb_protocol.
3848
0172b6a7
DE
38492014-03-18 Doug Evans <xdje42@gmail.com>
3850
3851 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3852 Fix spelling of exec-done-display.
3853
06c868a8
JK
38542014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3855
3856 PR gdb/15358
3857 * gdb.base/gdb-sigterm.c: New file.
3858 * gdb.base/gdb-sigterm.exp: New file.
3859
0c7e1a46
PA
38602014-03-18 Pedro Alves <palves@redhat.com>
3861
3862 PR gdb/13860
3863 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3864 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3865 solib-event.
3866
f7c77d93
JB
38672014-03-17 Joel Brobecker <brobecker@adacore.com>
3868
3869 * gdb.ada/pckd_arr_ren: New testcase.
3870
5a1e8c7a
DE
38712014-03-13 Doug Evans <xdje42@gmail.com>
3872
3873 PR guile/16612
3874 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3875 collect after discarding symbols.
3876
350e1a76
DE
38772014-03-13 Ludovic Courtès <ludo@gnu.org>
3878 Doug Evans <xdje42@gmail.com>
3879
3880 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3881 to history survives a gc.
3882
a69900ae
PA
38832014-03-13 Pedro Alves <palves@redhat.com>
3884
3885 * gdb.base/default.exp: Don't test "target procfs".
3886
5db9f0bd
PA
38872014-03-13 Pedro Alves <palves@redhat.com>
3888
3889 * gdb.base/default.exp: Update "target child" and "target procfs"
3890 tests to not expect "Unix".
3891
b3ccfe11
TT
38922014-03-12 Tom Tromey <tromey@redhat.com>
3893
3894 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3895 New procs. Add target-async tests.
3896 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3897 Add target-async tests.
3898
646f4417
AA
38992014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3900
3901 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3902 'func_start' and 'func_end' for the beginning and end of the
3903 function code, respectively.
3904 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3905 'func_end' instead of 'func' and 'main'.
3906
288c211f
AA
39072014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3908
3909 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3910 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3911 generate the debug info assembler source.
3912
e0c0f156
AA
39132014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3914
3915 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3916 * gdb.dwarf2/arr-subrange.exp: Likewise.
3917 * gdb.dwarf2/dwz.exp: Likewise.
3918 * gdb.dwarf2/method-ptr.exp: Likewise.
3919 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3920 * gdb.dwarf2/subrange.exp: Likewise.
3921 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3922 * gdb.dwarf2/implptrpiece.exp: Likewise.
3923 * gdb.dwarf2/nostaticblock.exp: Likewise.
3924
0e5c4555
AA
39252014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3926
3927 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3928 directory to absolute path name arguments.
3929
5ec18f2b
JG
39302014-03-10 Joel Brobecker <brobecker@adacore.com>
3931
3932 * gdb.ada/tagged_access: New testcase.
3933
847fc4f2
MM
39342014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3935
3936 * gdb.btrace/data.exp: Update expected output.
3937
cc3da688
YQ
39382014-03-06 Yao Qi <yao@codesourcery.com>
3939
3940 * gdb.trace/pr16508.exp: New file.
3941
0f26cec1
PA
39422014-03-05 Pedro Alves <palves@redhat.com>
3943
3944 PR gdb/16575
3945 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3946 procedure.
3947 (top level): Adjust to use it. Add tests that exercise breakpoint
3948 interaction with the code-cache.
3949
7a5a839f
LC
39502014-02-26 Ludovic Courtès <ludo@gnu.org>
3951
3952 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3953 test for 'history-append!'.
3954
31aa7e4e
JB
39552014-02-26 Joel Brobecker <brobecker@adacore.com>
3956
3957 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3958 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3959 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3960 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3961 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3962 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3963
1b588015
JB
39642014-02-26 Joel Brobecker <brobecker@adacore.com>
3965
3966 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3967 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3968 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3969
55426c9d
JB
39702014-02-26 Joel Brobecker <brobecker@adacore.com>
3971
3972 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3973
dc53a7ad
JB
39742014-02-26 Joel Brobecker <brobecker@adacore.com>
3975
3976 * gdb.dwarf2/arr-stride.c: New file.
3977 * gdb.dwarf2/arr-stride.exp: New file.
3978
12ab52e9
PA
39792014-02-26 Pedro Alves <palves@redhat.com>
3980
3981 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3982 that won't ever trigger. Make sure that GDB reports the correct
3983 breakpoint that caused the stop.
3984
849c862e
JK
39852014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3986
3987 PR gdb/16626
3988 * gdb.base/auto-load-script: New file.
3989 * gdb.base/auto-load.c: New file.
3990 * gdb.base/auto-load.exp: New file.
3991
71b7d793
JK
3992 PR gdb/16626
3993 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3994
e2f0d509
JK
39952014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3996
3997 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3998 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3999
50cc37c8
DE
40002014-02-24 Doug Evans <dje@google.com>
4001
4002 * lib/gdb.exp (run_on_host): Log error output if program fails.
4003
ea4758f2
PA
40042014-02-21 Pedro Alves <palves@redhat.com>
4005
4006 * gdb.threads/step-after-sr-lock.c: Rename to ...
4007 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4008 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4009 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4010 ... this.
4011
d7b30f67
SDJ
40122014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4013
4014 PR tdep/16397
4015 * gdb.arch/amd64-stap-special-operands.exp: New file.
4016 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4017 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4018 * gdb.arch/amd64-stap-triplet.S: Likewise.
4019 * gdb.arch/amd64-stap-triplet.c: Likewise.
4020
83deb43f
JB
40212014-02-20 Joel Brobecker <brobecker@adacore.com>
4022
4023 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4024 in .section pseudo-op.
4025
adde2bff
DE
40262014-02-20 lin zuojian <manjian2006@gmail.com>
4027 Joel Brobecker <brobecker@adacore.com>
4028 Doug Evans <xdje42@gmail.com>
4029
4030 PR symtab/16581
4031 * gdb.dwarf2/dw2-icycle.S: New file.
4032 * gdb.dwarf2/dw2-icycle.c: New file.
4033 * gdb.dwarf2/dw2-icycle.exp: New file.
4034
f7bd0f78
SC
40352014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4036
4037 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4038 operations on gdb.Value objects.
4039 * gdb.python/py-value-cc.exp: Add new test to test operations on
4040 gdb.Value objects.
4041
c17ef0d5
DE
40422014-02-18 Doug Evans <dje@google.com>
4043
4044 * Makefile.in (TESTS): New variable.
4045 (expanded_tests, expanded_tests_or_none): New variables
4046 (check-single): Pass $(expanded_tests_or_none) to runtest.
4047 (check-parallel): Only run tests in $(TESTS) if non-empty.
4048 (check/no-matching-tests-found): New rule.
4049 * README: Document TESTS makefile variable.
4050
5dd3176f
DE
40512014-02-18 Doug Evans <dje@google.com>
4052
4053 * Makefile.in (check-parallel): rm -rf outputs temp.
4054
0b10be4f
JK
40552014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4056
4057 Fix "ERROR: no fileid for" in the testsuite.
4058 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4059
85f224e7
DE
40602014-02-12 Doug Evans <dje@google.com>
4061
4062 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4063 (MISCELLANEOUS): New variable.
4064 (clean): rm -rf $(MISCELLANEOUS).
4065 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4066 dwp live in the same directory as symlinks, with each symlink pointed
4067 to a differently named file in a different directory.
4068
149b30ff
DE
40692014-02-11 Doug Evans <dje@google.com>
4070
4071 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4072 of Tcl file commands.
4073
1dfdac32
MK
40742014-02-10 Mark Kettenis <kettenis@gnu.org>
4075
4076 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4077 "kill -SIGUSR1 -1".
4078
aa4fb036
JB
40792014-02-10 Joel Brobecker <brobecker@adacore.com>
4080
4081 * gdb.ada/tick_length_array_enum_idx: New testcase.
4082
ed3ef339
DE
40832014-02-10 Doug Evans <xdje42@gmail.com>
4084
4085 * configure.ac (AC_OUTPUT): Add gdb.guile.
4086 * configure: Regenerate.
4087 * lib/gdb-guile.exp: New file.
4088 * lib/gdb.exp (get_target_charset): New function.
4089 * gdb.base/help.exp: Update expected output from "apropos apropos".
4090 * gdb.guile/Makefile.in: New file.
4091 * gdb.guile/guile.exp: New file.
4092 * gdb.guile/scm-arch.c: New file.
4093 * gdb.guile/scm-arch.exp: New file.
4094 * gdb.guile/scm-block.c: New file.
4095 * gdb.guile/scm-block.exp: New file.
4096 * gdb.guile/scm-breakpoint.c: New file.
4097 * gdb.guile/scm-breakpoint.exp: New file.
4098 * gdb.guile/scm-disasm.c: New file.
4099 * gdb.guile/scm-disasm.exp: New file.
4100 * gdb.guile/scm-equal.c: New file.
4101 * gdb.guile/scm-equal.exp: New file.
4102 * gdb.guile/scm-error.exp: New file.
4103 * gdb.guile/scm-error.scm: New file.
4104 * gdb.guile/scm-frame-args.c: New file.
4105 * gdb.guile/scm-frame-args.exp: New file.
4106 * gdb.guile/scm-frame-args.scm: New file.
4107 * gdb.guile/scm-frame-inline.c: New file.
4108 * gdb.guile/scm-frame-inline.exp: New file.
4109 * gdb.guile/scm-frame.c: New file.
4110 * gdb.guile/scm-frame.exp: New file.
4111 * gdb.guile/scm-generics.exp: New file.
4112 * gdb.guile/scm-gsmob.exp: New file.
4113 * gdb.guile/scm-iterator.c: New file.
4114 * gdb.guile/scm-iterator.exp: New file.
4115 * gdb.guile/scm-math.c: New file.
4116 * gdb.guile/scm-math.exp: New file.
4117 * gdb.guile/scm-objfile-script-gdb.in: New file.
4118 * gdb.guile/scm-objfile-script.c: New file.
4119 * gdb.guile/scm-objfile-script.exp: New file.
4120 * gdb.guile/scm-objfile.c: New file.
4121 * gdb.guile/scm-objfile.exp: New file.
4122 * gdb.guile/scm-ports.exp: New file.
4123 * gdb.guile/scm-pretty-print.c: New file.
4124 * gdb.guile/scm-pretty-print.exp: New file.
4125 * gdb.guile/scm-pretty-print.scm: New file.
4126 * gdb.guile/scm-section-script.c: New file.
4127 * gdb.guile/scm-section-script.exp: New file.
4128 * gdb.guile/scm-section-script.scm: New file.
4129 * gdb.guile/scm-symbol.c: New file.
4130 * gdb.guile/scm-symbol.exp: New file.
4131 * gdb.guile/scm-symtab-2.c: New file.
4132 * gdb.guile/scm-symtab.c: New file.
4133 * gdb.guile/scm-symtab.exp: New file.
4134 * gdb.guile/scm-type.c: New file.
4135 * gdb.guile/scm-type.exp: New file.
4136 * gdb.guile/scm-value-cc.cc: New file.
4137 * gdb.guile/scm-value-cc.exp: New file.
4138 * gdb.guile/scm-value.c: New file.
4139 * gdb.guile/scm-value.exp: New file.
4140 * gdb.guile/source2.scm: New file.
4141 * gdb.guile/types-module.cc: New file.
4142 * gdb.guile/types-module.exp: New file.
4143
7026a7c1
YQ
41442014-02-10 Yao Qi <yao@codesourcery.com>
4145
4146 PR testsuite/16543
4147 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4148 * configure: Regenerated.
4149 * Makefile.in: New file.
4150
6c466447
AS
41512014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4152
4153 * gdb.python/py-framefilter.exp: Fix typo.
4154
6e854735
YQ
41552014-02-08 Yao Qi <yao@codesourcery.com>
4156
4157 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4158 that no =breakpoint-modified is emitted when breakpoints are
4159 modified through MI commands.
4160
d137e6dc
PA
41612014-02-07 Pedro Alves <pedro@codesourcery.com>
4162 Pedro Alves <palves@redhat.com>
4163
4164 * gdb.threads/step-after-sr-lock.c: New file.
4165 * gdb.threads/step-after-sr-lock.exp: New file.
4166
b5ee5a50
PA
41672014-02-07 Pedro Alves <palves@redhat.com>
4168
4169 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4170
3c77faf3
JK
41712014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4172
4173 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4174 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4175
6dddc817
DE
41762014-02-06 Doug Evans <xdje42@gmail.com>
4177
4178 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4179 output.
4180
4181 * gdb.gdb/python-interrupts.exp: New file.
4182
de7b2893
YQ
41832014-02-05 Yao Qi <yao@codesourcery.com>
4184
4185 * gdb.trace/report.exp (use_collected_data): Test the output
4186 of "info threads" and "info inferiors".
4187
66d032ac
YQ
41882014-02-05 Yao Qi <yao@codesourcery.com>
4189
4190 Revert this patch:
4191
4192 2013-05-24 Yao Qi <yao@codesourcery.com>
4193
4194 * gdb.trace/tfile.exp: Test inferior and thread.
4195
591a12a1
UW
41962014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4197
4198 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4199 on a function.
4200 * gdb.base/step-bt.c: Call hello via function pointer to make
4201 sure its first instruction is executed on powerpc64le-linux.
4202
0ff3e01f
UW
42032014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4204
4205 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4206
084ee545
UW
42072014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4208
4209 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4210 of the test patterns for use on little-endian systems.
4211
6ed14ff3
UW
42122014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4213
4214 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4215 (decimal_vector): Fix for little-endian.
4216
401e27fd
JM
42172014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4218
4219 * gdb.arch/sparc-sysstep.exp: New file.
4220 * gdb.arch/sparc-sysstep.c: Likewise.
4221
4222 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4223
8b924729
EBM
42242014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4225
4226 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4227
fb151210
JB
42282014-01-23 Tom Tromey <tromey@redhat.com>
4229
4230 * gdb.ada/array_char_idx: New testcase.
4231
0740f8d8
TT
42322014-01-23 Tom Tromey <tromey@redhat.com>
4233
4234 PR python/16487:
4235 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4236 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4237 classes.
4238
21909fa1
TT
42392014-01-23 Tom Tromey <tromey@redhat.com>
4240
4241 PR python/16491:
4242 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4243 string from an inferior frame.
4244 * gdb.python/py-framefilter-mi.exp: Update.
4245
87ce2a04
DE
42462014-01-22 Doug Evans <dje@google.com>
4247
4248 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4249
237b092b
AA
42502014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4251
4252 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4253
d674a709
AA
42542014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4255
4256 * gdb.trace/entry-values.exp: Remove excess space character from
4257 regex patterns. Handle s390 call instruction.
4258
20fa3390
AA
42592014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4260
4261 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4262 define "*_start" label. Make "name" static.
4263 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4264 ${name} by references to ${name}_start.
4265
78466714
AA
42662014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4267
4268 * gdb.base/info-macros.exp: Remove "debug" from the compile
4269 options.
4270
ec9f644a
IB
42712014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4272
4273 * gdb.dlang/demangle.exp: New file.
4274
94b1b47e
IB
42752014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4276
4277 * gdb.dlang/primitive-types.exp: New file.
4278
7f420862
IB
42792014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4280
4281 * configure.ac: Create gdb.dlang/Makefile.
4282 * configure: Regenerate.
4283 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4284 * gdb.dlang/Makefile.in: New file.
4285 * lib/d-support.exp: New file.
4286 * lib/gdb.exp (skip_d_tests): New proc.
4287
52834460
MM
42882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4289
4290 * gdb.btrace/delta.exp: Check reverse stepi.
4291 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4292 * gdb.btrace/finish.exp: New.
4293 * gdb.btrace/next.exp: New.
4294 * gdb.btrace/nexti.exp: New.
4295 * gdb.btrace/record_goto.c: Add comments.
4296 * gdb.btrace/step.exp: New.
4297 * gdb.btrace/stepi.exp: New.
4298 * gdb.btrace/multi-thread-step.c: New.
4299 * gdb.btrace/multi-thread-step.exp: New.
4300 * gdb.btrace/rn-dl-bind.c: New.
4301 * gdb.btrace/rn-dl-bind.exp: New.
4302 * gdb.btrace/data.c: New.
4303 * gdb.btrace/data.exp: New.
4304 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4305
6e07b1d2
MM
43062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4307
4308 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4309 * gdb.btrace/exception.exp: Update.
4310 * gdb.btrace/instruction_history.exp: Update.
4311 * gdb.btrace/record_goto.exp: Update.
4312 * gdb.btrace/tailcall.exp: Update.
4313 * gdb.btrace/unknown_functions.exp: Update.
4314 * gdb.btrace/delta.exp: New.
4315
0b722aec
MM
43162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4317
4318 * gdb.btrace/record_goto.exp: Add backtrace test.
4319 * gdb.btrace/tailcall.exp: Add backtrace test.
4320
066ce621
MM
43212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4322
4323 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4324 * gdb.btrace/record_goto.c: New.
4325 * gdb.btrace/record_goto.exp: New.
4326 * gdb.btrace/x86-record_goto.S: New.
4327
0688d04e
MM
43282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4329
4330 * gdb.btrace/function_call_history.exp: Update tests.
4331 * gdb.btrace/instruction_history.exp: Update tests.
4332
8710b709
MM
43332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4334
4335 * gdb.btrace/function_call_history.exp: Fix expected field
4336 order for "record function-call-history".
4337 Add new tests for "record function-call-history /c".
4338 * gdb.btrace/exception.cc: New.
4339 * gdb.btrace/exception.exp: New.
4340 * gdb.btrace/tailcall.exp: New.
4341 * gdb.btrace/x86-tailcall.S: New.
4342 * gdb.btrace/x86-tailcall.c: New.
4343 * gdb.btrace/unknown_functions.c: New.
4344 * gdb.btrace/unknown_functions.exp: New.
4345 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4346
5de9129b
MM
43472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4348
4349 * gdb.btrace/instruction_history.exp: Update.
4350 * gdb.btrace/function_call_history.exp: Update.
4351
23a7fe75
MM
43522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4353
4354 * gdb.btrace/function_call_history.exp: Fix expected function
4355 trace.
4356 * gdb.btrace/instruction_history.exp: Initialize traced.
4357 Remove traced_functions.
4358
724c7dd8
MM
43592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4360
4361 * gdb.btrace/function_call_history.exp: Update
4362 * gdb.btrace/instruction_history.exp: Update.
4363
6d78d93b
MM
43642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4365
4366 * gdb.btrace/enable.exp: Update expected text.
4367
93a360cc
OJ
43682014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4369
4370 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4371 bytes.
4372
3772b53f
MR
43732014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4374
4375 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4376
596662fa
OJ
43772014-01-15 Omair Javaid <omair.javaid@linaro.org>
4378
4379 * lib/gdb.exp (supports_process_record): Return true for
4380 arm*-linux*. (supports_reverse): Likewise.
4381
b5b08fb4
SC
43822014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4383
4384 PR python/15464
4385 PR python/16113
4386 * gdb.python/py-type.c: Enhance test case.
4387 * gdb.python/py-value-cc.cc: Likewise
4388 * gdb.python/py-type.exp: Add new tests.
4389 * gdb.python/py-value-cc.exp: Likewise
4390
52d7fb13
AA
43912014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4392 Pedro Alves <palves@redhat.com>
4393
4394 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4395 Make "name" extern.
4396 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4397 references to ${name}_start by references to ${name}.
4398
a2cd8cfe
JB
43992014-01-10 Joel Brobecker <brobecker@adacore.com>
4400
4401 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4402
4e23fced
JB
44032014-01-10 Joel Brobecker <brobecker@adacore.com>
4404
4405 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4406
c6a9e42c
PA
44072014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4408 Pedro Alves <palves@redhat.com>
4409
4410 * gdb.mi/mi-info-os.exp: Connect to the target with
4411 mi_gdb_target_load.
4412
b7ea362b
PA
44132014-01-08 Pedro Alves <palves@redhat.com>
4414
4415 * gdb.threads/reconnect-signal.c: New file.
4416 * gdb.threads/reconnect-signal.exp: New file.
4417
5e3f4fab
EBM
44182014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4419
4420 * gdb.base/source-dir.exp: New file.
4421
79301218
JB
44222014-01-07 Joel Brobecker <brobecker@adacore.com>
4423
4424 * gdb.ada/mi_interface: New testcase.
4425
8e355c5d
JB
44262014-01-07 Joel Brobecker <brobecker@adacore.com>
4427
4428 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4429 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4430 gdb.ada/pp-rec-component/pck.ads: New files.
4431
c0d48811
JB
44322014-01-07 Joel Brobecker <brobecker@adacore.com>
4433
4434 * gdb.python/py-pp-integral.c: New file.
4435 * gdb.python/py-pp-integral.py: New file.
4436 * gdb.python/py-pp-integral.exp: New file.
4437
17b609c3 4438For older changes see ChangeLog-1993-2013.
c906108c 4439\f
8d8cb839
EZ
4440;; Local Variables:
4441;; mode: change-log
4442;; left-margin: 8
4443;; fill-column: 74
4444;; version-control: never
4445;; End:
902f2ccb 4446
32d0add0 4447 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4448 Copying and distribution of this file, with or without modification,
4449 are permitted provided the copyright notice and this notice are preserved.