]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Code cleanup: Move print_command_1 expr variable scope
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
6d5f0679
YQ
12015-03-26 Yao Qi <yao.qi@linaro.org>
2
3 PR testsuite/18139
4 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
5 Add a line number entry for the same line.
6 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
7 Add a line number entry for the same line.
8
2898689b
YQ
92015-03-26 Yao Qi <yao.qi@linaro.org>
10
11 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
12 .int 0.
13 (func): Likewise. Add .Lfunc_1 label.
14 Use .Lfunc_1 label.
15 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
16 .int 0.
17 (func): Likewise.
18 Use .Lfunc_1 label.
19
85180498
YQ
202015-03-26 Yao Qi <yao.qi@linaro.org>
21
22 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
23 Call gdb_compile instead to compile each .s files without debug
24 information.
25
8aa08a8d
YQ
262015-03-26 Yao Qi <yao.qi@linaro.org>
27
28 * gdb.base/savedregs.exp (process_saved_regs): Make
29 "Saved registers:" optional in the pattern.
30
66849923
MM
312015-03-25 Markus Metzger <markus.t.metzger@intel.com>
32
33 * gdb.btrace/next.exp: Merged into step.exp.
34 * gdb.btrace/finish.exp: Merged into step.exp.
35 * gdb.btrace/nexti.exp: Merged into stepi.exp.
36 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
37 "record goto" and checking the exact replay position.
38 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
39 check for "Recording format" in "info record" output.
40 * gdb.btrace/record_goto.exp: Choose test file based on target.
41 * gdb.btrace/x86-record_goto.S: Renamed into ...
42 * gdb.btrace/x86_64-record_goto.S: ... this.
43 * gdb.btrace/i686-record_goto.S: New.
44 * gdb.btrace/x86-tailcall.S: Renamed into ...
45 * gdb.btrace/x86_64-tailcall.S: ... this.
46 * gdb.btrace/i686-tailcall.S: New.
47 * gdb.btrace/x86-tailcall.c: Renamed into ...
48 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
49 separate statements. Update test.
50 * gdb.btrace/delta.exp: Use record_goto.c as test file.
51 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
52 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
53 * gdb.btrace/tailcall.exp: Choose test file based on target.
54 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
55
11cc1b74
MM
562015-03-25 Markus Metzger <markus.t.metzger@intel.com>
57
58 * gdb.btrace/exception.exp: Increase BTS buffer size.
59
a25d8bf9
PA
602015-03-24 Pedro Alves <palves@redhat.com>
61
62 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
63
856e7dd6
PA
642015-03-24 Pedro Alves <palves@redhat.com>
65
66 * gdb.threads/schedlock.exp (test_step): No longer expect that
67 "set scheduler-locking step" with "next" over a function call runs
68 threads unlocked.
69
ad235a41
AT
702015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
71
72 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
73
15630549
AT
742015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
75
76 PR breakpoints/16466
77 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
78 * gdb.mi/mi-pending.c (thread_func): New function.
79 (int main): Add threading support required.
80 * gdb.mi/mi-pending.exp: Add tests for this issue.
81 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
82 (pendfunc2): Remove stdio dependency.
83 * gdb.mi/mi-pendshr2.c: New file.
84
693dca06
KS
852015-03-23 Keith Seitz <keiths@redhat.com>
86
87 * gdb.linespec/keywords.c: New file.
88 * gdb.linespec/keywords.exp: New file.
89
7e993ebf
KS
902015-03-23 Keith Seitz <keiths@redhat.com>
91
92 PR gdb/18021
93 * gdb.dwarf2/staticvirtual.exp: New test.
94
bc23328c
JK
952015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
96
97 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
98 * README: Remove HP-UX and gdb.hp.
99 (configuration):
100 * configure: Regenerate.
101 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
102 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
103 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
104 gdb.hp/gdb.defects/Makefile.
105 * gdb.hp/Makefile.in: File deleted.
106 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
107 * gdb.hp/gdb.aCC/optimize.c: File deleted.
108 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
109 * gdb.hp/gdb.aCC/run.c: File deleted.
110 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
111 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
112 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
113 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
114 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
115 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
116 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
117 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
118 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
119 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
120 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
121 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
122 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
123 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
124 * gdb.hp/gdb.base-hp/reg.s: File deleted.
125 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
126 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
127 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
128 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
129 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
130 * gdb.hp/gdb.compat/Makefile.in: File deleted.
131 * gdb.hp/gdb.compat/average.c: File deleted.
132 * gdb.hp/gdb.compat/sum.c: File deleted.
133 * gdb.hp/gdb.compat/xdb.c: File deleted.
134 * gdb.hp/gdb.compat/xdb0.c: File deleted.
135 * gdb.hp/gdb.compat/xdb0.h: File deleted.
136 * gdb.hp/gdb.compat/xdb1.c: File deleted.
137 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
138 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
139 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
140 * gdb.hp/gdb.defects/Makefile.in: File deleted.
141 * gdb.hp/gdb.defects/bs14602.c: File deleted.
142 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
143 * gdb.hp/gdb.defects/solib-d.c: File deleted.
144 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
145 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
146 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
147 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
148 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
149 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
150 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
151 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
152 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
153 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
154 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
155 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
156 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
157 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
158 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
159 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
160 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
161 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
162 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
163 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
164 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
165 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
166 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
167 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
168 * gdb.hp/tools/odump: File deleted.
169
8bf3b159
PA
1702015-03-19 Pedro Alves <palves@redhat.com>
171
172 * gdb.threads/continue-pending-status.exp (saw_thread_2)
173 (saw_thread_3): New globals.
174 (top level): Increment them when an event for the corresponding
175 thread is seen.
176 (no thread starvation): New test.
177
eb54c8bf
PA
1782015-03-19 Pedro Alves <palves@redhat.com>
179
180 * gdb.threads/continue-pending-status.c: New file.
181 * gdb.threads/continue-pending-status.exp: New file.
182
32d2e5d6
PA
1832015-03-18 Pedro Alves <palves@redhat.com>
184
185 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
186 Use gdb_is_target_remote instead of is_remote. Use
187 gdb_test_multiple instead of gdb_expect. Exit early if
188 gdb_test_multiple hits its internal matches. Tighten stepi tests
189 expected output. Fail on exit with any signal, instead of just
190 SIGILL.
191
f68f11b7
YQ
1922015-03-18 Yao Qi <yao.qi@linaro.org>
193
194 PR tdep/18107
195 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
196 variable.
197 * gdb.base/catch-syscall.exp: Don't skip it on
198 aarch64*-*-linux* target. Remove elements in all_syscalls.
199 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
200 target.
201 (setup_all_syscalls): New proc.
202
ca5fd19b
YQ
2032015-03-16 Yao Qi <yao.qi@linaro.org>
204
205 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
206 (top level): Skip tests if valid_addr_p returns false for
207 $cmd1 or $cmd2.
208
85642ba0
AW
2092015-03-11 Andy Wingo <wingo@igalia.com>
210
211 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
212
e03f9645
YQ
2132015-03-11 Yao Qi <yao.qi@linaro.org>
214
215 * gdb.base/catch-syscall.exp: Fix typo in comments.
216
5d0962b2
YQ
2172015-03-11 Yao Qi <yao.qi@linaro.org>
218
219 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
220
b2df3cef
PA
2212015-03-09 Pedro Alves <palves@redhat.com>
222
223 * dg-extract-results.py: Delete.
224
ef878e53
PA
2252015-03-09 Pedro Alves <palves@redhat.com>
226
227 Merge dg-extract-results.sh from GCC upstream (r218843).
228
229 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
230 * dg-extract-results.sh: Use --text with grep to avoid issues with
231 binary files. Fall back to cat -v, if that doesn't work.
232
9494d219
PA
2332015-03-05 Pedro Alves <palves@redhat.com>
234
235 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
236
a8d9763a
SM
2372015-03-04 Simon Marchi <simon.marchi@ericsson.com>
238
239 * lib/mi-support.exp (mi_expect_interrupt): Accept
240 alternative event for when in all-stop mode.
241
be9957b8
PA
2422015-03-04 Pedro Alves <palves@redhat.com>
243
244 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
245
d57be0f4 2462015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
247
248 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
249
c214c7cf
AA
2502015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
251
252 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
253 regexps for GDB's current line display, accept a hex address
254 preceding the line number.
255
6d74a497
AA
2562015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
257
258 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
259 the 'arch1' variable for "s390*-linux*" targets.
260
511aee7c
PA
2612015-03-04 Pedro Alves <palves@redhat.com>
262
263 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
264 (main): Pass missing retval argument to pthread_join call.
265
95e50b27
PA
2662015-03-02 Pedro Alves <palves@redhat.com>
267
268 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
269 (top level): Call do_test with non-stop as well.
270
28054d69
PA
2712015-03-02 Pedro Alves <palves@redhat.com>
272
273 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
274 -1.
275
4fa5d7b4
AA
2762015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
277
278 * gdb.arch/s390-vregs.exp: New test.
279 * gdb.arch/s390-vregs.S: New file.
280
97c18565
PA
2812015-02-27 Pedro Alves <palves@redhat.com>
282
283 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
284 call to catch_command_errors.
285 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
286 catch_command_errors.
287
a37bfa30
PA
2882015-02-27 Pedro Alves <palves@redhat.com>
289
290 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
291 "true" for boolean result.
292 * gdb.gdb/selftest.exp (test_with_self): Also accept full
293 prototype of main.
294
6f98576f
PA
2952015-02-27 Pedro Alves <palves@redhat.com>
296
297 * lib/unbuffer_output.c: New file.
298 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
299 (main): Call gdb_unbuffer_output.
300
eba5ab56
YQ
3012015-02-27 Yao Qi <yao.qi@linaro.org>
302
303 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
304 target.
305
0def5aaa
DE
3062015-02-26 Doug Evans <dje@google.com>
307
308 * gdb.cp/class2.cc (Dbase, D): New classes.
309 (main): New local delta.
310 * gdb.cp/class2.exp: Test printing delta.
311 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
312 (dynbar): New global.
313 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
314
081a1c2c
JK
3152015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
316
317 * gdb.compile/compile-ifunc.c: New file.
318 * gdb.compile/compile-ifunc.exp: New file.
319
2f41223f
AT
3202015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
321
322 * gdb.base/structs.exp: Check for correct struct on finish.
323
03eddd80
YQ
3242015-02-26 Yao Qi <yao.qi@linaro.org>
325
326 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
327 is zero.
328
80c57053
JK
3292015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
330
331 * gdb.arch/cordic.ko.bz2: New file.
332 * gdb.arch/cordic.ko.debug.bz2: New file.
333 * gdb.arch/ppc64-symtab-cordic.exp: New file.
334
21613c12
YQ
3352015-02-25 Yao Qi <yao.qi@linaro.org>
336
337 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
338 aarch64*-*-* target.
339
d8b901ed
PA
3402015-02-23 Pedro Alves <palves@redhat.com>
341
342 * lib/gdb.exp (delete_breakpoints): Rewrite using
343 gdb_test_multiple.
344
e5b85ead
PA
3452015-02-23 Pedro Alves <palves@redhat.com>
346
347 * gdb.base/info-os.c: Include stdlib.h.
348
85c3a371
DE
3492015-02-22 Doug Evans <xdje42@gmail.com>
350
351 PR symtab/17855
352 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
353 is read after symbols have been re-read.
354 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
355 * gdb.ada/exec_changed/second.adb (Second): Ditto.
356
96553a0c
DE
3572015-02-21 Doug Evans <dje@google.com>
358
359 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
360
97a0c697
JK
3612015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
362
363 PR corefiles/17808
364 * gdb.arch/i386-biarch-core.core.bz2: New file.
365 * gdb.arch/i386-biarch-core.exp: New file.
366
a47cd6e9
PA
3672015-02-21 Pedro Alves <palves@redhat.com>
368
369 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
370 runto_main fails.
371
c5facdc4
PA
3722015-02-20 Pedro Alves <palves@redhat.com>
373
374 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
375 info probes.
376
2db9a427
PA
3772015-02-20 Pedro Alves <palves@redhat.com>
378
379 * gdb.threads/multi-create-ns-info-thr.exp: New file.
380
60fb7e9e
PA
3812015-02-20 Pedro Alves <palves@redhat.com>
382
383 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
384 clean_restart before gdb_target_supports_trace.
385
5c5019c2
PA
3862015-02-20 Pedro Alves <palves@redhat.com>
387
388 PR threads/18006
389 * gdb.threads/clone-thread_db.c: New file.
390 * gdb.threads/clone-thread_db.exp: New file.
391
c9587f88
AT
3922015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
393
394 PR breakpoints/16812
395 * gdb.base/catch-gdb-caused-signals.c: New file.
396 * gdb.base/catch-gdb-caused-signals.exp: New file.
397
f6a88844
JM
3982015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
399
400 * configure: Regenerated.
401 * configure.ac: Use GDB_AC_TRANSFORM.
402 * aclocal.m4: sinclude ../transform.m4.
403
497c491b
JM
4042015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
405
406 * lib/dtrace.exp: New file.
407 * gdb.base/dtrace-probe.exp: Likewise.
408 * gdb.base/dtrace-probe.d: Likewise.
409 * gdb.base/dtrace-probe.c: Likewise.
410 * lib/pdtrace.in: Likewise.
411 * configure.ac: Output variables with the transformed names of
412 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
413 * configure: Regenerated.
414
03e98035
JM
4152015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
416
417 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
418 expected message when trying to access $_probe_* convenience
419 variables while not on a probe.
420
63cc30e9
JK
4212015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
422
423 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
424
0703599a
PA
4252015-02-11 Pedro Alves <pedro@codesourcery.com>
426
427 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
428 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
429
7e60a48e
DE
4302015-02-10 Doug Evans <xdje42@gmail.com>
431
432 * lib/gdb.exp (gdb_load): Always return a result.
433
01b088bc
PA
4342015-02-10 Pedro Alves <palves@redhat.com>
435
436 * gdb.threads/signal-sigtrap.c: New file.
437 * gdb.threads/signal-sigtrap.exp: New file.
438
b05ec7a5
AT
4392015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
440
441 * gdb.trace/no-attach-trace.c: New file.
442 * gdb.trace/no-attach-trace.exp: New file.
443
a2c2acaf
MW
4442015-02-09 Mark Wielaard <mjw@redhat.com>
445
446 * gdb.dwarf2/atomic.c: New file.
447 * gdb.dwarf2/atomic-type.exp: Likewise.
448
31fd9caa
MM
4492015-02-09 Markus Metzger <markus.t.metzger@intel.com>
450
451 * gdb.btrace/buffer-size.exp: Update "info record" output.
452 * gdb.btrace/delta.exp: Update "info record" output.
453 * gdb.btrace/enable.exp: Update "info record" output.
454 * gdb.btrace/finish.exp: Update "info record" output.
455 * gdb.btrace/instruction_history.exp: Update "info record" output.
456 * gdb.btrace/next.exp: Update "info record" output.
457 * gdb.btrace/nexti.exp: Update "info record" output.
458 * gdb.btrace/step.exp: Update "info record" output.
459 * gdb.btrace/stepi.exp: Update "info record" output.
460 * gdb.btrace/nohist.exp: Update "info record" output.
461
d33501a5
MM
4622015-02-09 Markus Metzger <markus.t.metzger@intel.com>
463
464 * gdb.btrace/buffer-size: New.
465
f4abbc16
MM
4662015-02-09 Markus Metzger <markus.t.metzger@intel.com>
467
468 * gdb.btrace/delta.exp: Update "info record" output.
469 * gdb.btrace/enable.exp: Update "info record" output.
470 * gdb.btrace/finish.exp: Update "info record" output.
471 * gdb.btrace/instruction_history.exp: Update "info record" output.
472 * gdb.btrace/next.exp: Update "info record" output.
473 * gdb.btrace/nexti.exp: Update "info record" output.
474 * gdb.btrace/step.exp: Update "info record" output.
475 * gdb.btrace/stepi.exp: Update "info record" output.
476 * gdb.btrace/nohist.exp: Update "info record" output.
477
b9d61307
SM
4782015-02-06 Simon Marchi <simon.marchi@ericsson.com>
479
480 PR gdb/15678
481 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
482
e584fdbc
PA
4832015-02-06 Pedro Alves <palves@redhat.com>
484
485 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
486 macro.
487 (seconds_left, again): New globals.
488 (main): Wait seconds_left in a 1-second sleep loop instead of
489 sleeping 180 seconds. If 'again' is set, reset the seconds
490 counter.
491 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
492 'again' in the inferior before detaching. Print the seconds left.
493 (options): New global.
494 (top level): Build program with -DTIMEOUT=$timeout.
495
77f41761
PA
4962015-02-06 Pedro Alves <palves@redhat.com>
497
498 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
499 determine how many seconds to pass to 'alarm'.
500 * gdb.base/gdb-sigterm.exp (top level): Build program with
501 -DTIMEOUT=$timeout.
502 (do_test): Return success/failure indication. Add more verbose
503 logging. Don't fail if 200 single steps are seen. Instead, fail
504 when the test times out.
505 (passes): New global.
506 (top level): Break the testing loop if testing fails on any
507 iteration. Use gdb_assert.
508
b9394193
DB
5092015-02-04 Don Breazeal <donb@codesourcery.com>
510
511 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
512 and initialize them.
513 (ipc_cleanup): New function.
514 (main): Don't declare shmid, semid, and msqid. Add a call to
515 atexit so that we call ipc_cleanup on exit.
516
42d9e528
PA
5172015-02-04 Pedro Alves <palves@redhat.com>
518
519 * boards/native-extended-gdbserver.exp: Remove any target variant
520 specifications from the board name before clearing the isremote
521 flag from board_info.
522
ae6ae975
DE
5232015-01-31 Doug Evans <xdje42@gmail.com>
524
525 * gdb.base/maint.exp <maint print type argc>: Update expected output.
526
cfb069a8
GB
5272015-01-31 Gary Benson <gbenson@redhat.com>
528
529 * gdb.base/completion.exp: Disable completion limiting for
530 existing tests. Add new tests to check completion limiting.
531 * gdb.linespec/ls-errs.exp: Disable completion limiting.
532
5dd31d79
DE
5332015-01-31 Doug Evans <xdje42@gmail.com>
534
535 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
536
9f050062
DE
5372015-01-31 Doug Evans <xdje42@gmail.com>
538
539 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
540 entries. Duplicate file section script entries.
541 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
542 inlined entries. Add test for safe-path rejection.
543 * gdb.python/py-section-script.c: Add duplicate inlined section script
544 entries. Duplicate file section script entries.
545 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
546 inlined entries. Add test for safe-path rejection.
547
df25ebbd
JB
5482015-01-29 Joel Brobecker <brobecker@adacore.com>
549
550 * gdb.ada/disc_arr_bound: New testcase.
551
4a0ca9ec
JB
5522015-01-29 Joel Brobecker <brobecker@adacore.com>
553
554 * gdb.ada/mi_var_array: New testcase.
555
3a8b707a
DE
5562015-01-27 Doug Evans <dje@google.com>
557
558 * gdb.python/py-objfile.exp: Add tests for objfile.username.
559 Add test for objfile.filename, objfile.username after objfile
560 has been unloaded.
561
f8313f6e
JB
5622015-01-26 Joel Brobecker <brobecker@adacore.com>
563
564 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
565 the second test to print the name attribute of value
566 returned by the call to gdb.lookup_type, and adjust
567 the expected output accordingly.
568
37bc665e
MW
5692015-01-25 Mark Wielaard <mjw@redhat.com>
570
571 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
572 * gdb.base/disp-step-fork.c: Include unistd.h.
573 * gdb.base/siginfo-obj.c: Include stdio.h.
574 * gdb.base/siginfo-thread.c: Likewise.
575 * gdb.mi/non-stop.c: Include unistd.h.
576 * gdb.mi/nsthrexec.c: Include stdio.h.
577 * gdb.mi/pthreads.c: Include unistd.h.
578 * gdb.modula2/unbounded1.c (main): Declare returns int.
579 * gdb.reverse/consecutive-reverse.c: Likewise.
580 * gdb.threads/create-fail.c: Include unistd.h.
581 * gdb.threads/killed.c: Likewise.
582 * gdb.threads/linux-dp.c: Likewise.
583 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
584 * gdb.threads/non-ldr-exc-2.c: Likewise.
585 * gdb.threads/non-ldr-exc-3.c: Likewise.
586 * gdb.threads/non-ldr-exc-4.c: Likewise.
587 * gdb.threads/pthreads.c: Include unistd.h.
588 (main): Declare returns int.
589 * gdb.threads/tls-main.c (foo): New declaration.
590 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
591
f7e5394d
SM
5922015-01-23 Simon Marchi <simon.marchi@ericsson.com>
593
594 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
595 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
596
743649fd
MW
5972015-01-15 Mark Wielaard <mjw@redhat.com>
598
599 * gdb.base/noreturn-return.c: New file.
600 * gdb.base/noreturn-return.exp: New file.
601 * gdb.base/noreturn-finish.c: New file.
602 * gdb.base/noreturn-finish.exp: New file.
603
198297aa
PA
6042015-01-23 Pedro Alves <palves@redhat.com>
605
606 * gdb.threads/continue-pending-after-query.c: New file.
607 * gdb.threads/continue-pending-after-query.exp: New file.
608
717cf30c
AG
6092015-01-22 Anders Granlund <anders.granlund@ericsson.com>
610 Simon Marchi <simon.marchi@ericsson.com>
611
612 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
613 * gdb.base/valgrind-db-attach.exp: Same.
614 * gdb.base/valgrind-infcall.exp: Same.
615 * lib/mi-support.exp (default_mi_gdb_start): Same.
616 * lib/prompt.exp (default_prompt_gdb_start): Same.
617 * lib/gdb.exp (default_gdb_spawn): Same.
618 (gdb_interact): New.
619
620
4b62a76e
JK
6212015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
622
623 * gdb.compile/compile.exp (pointer to jit function): New test.
624
b4cdae6f
WW
6252015-01-17 Wei-cheng Wang <cole945@gmail.com>
626
627 * lib/gdb.exp (supports_process_record): Return true for
628 powerpc*-*-linux*.
629 (supports_reverse): Likewise.
630
d221e7ef
DB
6312015-01-15 Don Breazeal <donb@codesourcery.com>
632
633 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
634 instead of checking whether the target board is remote and
635 use spawn_wait_for_attach instead of exec/sleep.
636 * gdb.base/attach-twice.exp: Likewise.
637
bafffb51
JB
6382015-01-15 Joel Brobecker <brobecker@adacore.com>
639
640 * gdb.ada/var_arr_attrs: New testcase.
641
5589af0e
PA
6422015-01-14 Pedro Alves <palves@redhat.com>
643 Joel Brobecker <brobecker@adacore.com>
644
645 PR gdb/17525
646 * gdb.base/bp-cmds-execution-x-script.c: New file.
647 * gdb.base/bp-cmds-execution-x-script.exp: New file.
648 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
649
6c400b59
PA
6502015-01-14 Pedro Alves <palves@redhat.com>
651
652 PR cli/17828
653 * gdb.base/batch-preserve-term-settings.c: New file.
654 * gdb.base/batch-preserve-term-settings.exp: New file.
655
e02c96a7
DE
6562015-01-13 Doug Evans <dje@google.com>
657
658 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
659 binary.
660
576fd14c
JB
6612015-01-13 Joel Brobecker <brobecker@adacore.com>
662
663 * Makefile.in (clean mostlyclean): Do not delete *.py.
664
04dccad0
JB
6652015-01-13 Joel Brobecker <brobecker@adacore.com>
666
667 * gdb.python/py-lookup-type.exp: New file.
668
3d230f71
PA
6692015-01-12 Pedro Alves <palves@redhat.com>
670
671 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
672 restore GDBFLAGS before returning.
673
7e67715d
JK
6742015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
675
676 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
677 is_amd64_regs_target and is_x86_like_target.
678
f2e0d4b4
DE
6792015-01-11 Doug Evans <xdje42@gmail.com>
680
681 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
682 is given without an explicit form.
683 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
684 attributes.
685 * gdb.dwarf/corrupt.exp: Ditto.
686 * gdb.dwarf2/enum-type.exp: Ditto.
687 * gdb.trace/entry-values.exp: Ditto.
688 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
689
439250fb
DE
6902015-01-11 Doug Evans <xdje42@gmail.com>
691
692 PR gdb/15830
693 * gdb.base/maint.exp: Remove references to "maint demangle".
694 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
695 Add tests for explicitly specifying language to demangle.
696 * gdb.dlang/demangle.exp: Ditto.
697
ede9f622
PA
6982015-01-09 Pedro Alves <palves@redhat.com>
699
700 * gdb.threads/non-stop-fair-events.c: New file.
701 * gdb.threads/non-stop-fair-events.exp: New file.
702
a7b796db
PA
7032015-01-09 Pedro Alves <palves@redhat.com>
704
705 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
706 the global scope. Set a breakpoint after all threads are started
707 rather than stepping over two source lines. Expect the prompt.
708 * gdb.base/watch_thread_num.c (threads_started_barrier): New
709 global.
710 (NUM): Now 15.
711 (main): Use threads_started_barrier to wait for all threads to
712 start. Main thread no longer calls thread_function. Exit after
713 180 seconds.
714 (loop): New function.
715 (thread_function): Wait on threads_started_barrier barrier. Call
716 'loop' at each iteration.
717 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
718 threads have started, instead of hardcoding number of "next"
719 steps. Use an access watchpoint instead of a write watchpoint.
720
9665ffdd
PA
7212015-01-09 Pedro Alves <palves@redhat.com>
722
723 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
724 (thread_func): Wait on barrier.
725 (main): Wait for all threads to start before stopping GDB.
726 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
727 global.
728 (thread1_func, thread2_func): Wait on barrier.
729 (main): Wait for all threads to start before stopping GDB.
730 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
731 New global.
732 (thread1_func, thread2_func): Wait on barrier.
733 (main): Wait for all threads to start before stopping GDB.
734
c945a99f
PA
7352015-01-09 Pedro Alves <palves@redhat.com>
736
737 * gdb.threads/attach-many-short-lived-threads.c: New file.
738 * gdb.threads/attach-many-short-lived-threads.exp: New file.
739
c1a747c1
PA
7402014-01-09 Pedro Alves <palves@redhat.com>
741
742 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
743 instead of to thread 2.
744 * gdb.threads/signal-command-multiple-signals-pending.c (main):
745 Add barrier around each pthread_create call instead of around all
746 calls.
747 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
748 Set a break on thread_function and have the child threads hit it
749 one at at a time.
750
60b3033e
PA
7512015-01-09 Pedro Alves <palves@redhat.com>
752
753 * lib/gdb.exp (can_spawn_for_attach): New procedure.
754 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
755 false.
756 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
757 checking whether the target board is remote.
758 * gdb.multi/multi-attach.exp: Likewise.
759 * gdb.python/py-sync-interp.exp: Likewise.
760 * gdb.server/ext-attach.exp: Likewise.
761 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
762 tests that need to attach, instead of checking whether the target
763 board is remote at the top of the file.
764
acc018ac
YQ
7652015-01-08 Yao Qi <yao@codesourcery.com>
766
767 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
768
50a18af8
JK
7692015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
770
771 Fix testcase compilation.
772 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
773
8503d6e1
JB
7742015-01-06 Joel Brobecker <brobecker@adacore.com>
775
776 * gdb.python/py-type.exp: Add a couple test about empty
777 array creation, and negative-length array creation.
778
cc73dbcc
DE
7792015-01-02 Doug Evans <xdje42@gmail.com>
780
781 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
782
0300bbc7
DE
7832015-01-02 Doug Evans <dje@google.com>
784
785 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
786
9d85a0ec
YQ
7872014-12-29 Yao Qi <yao@codesourcery.com>
788
789 * gdb.trace/entry-values.exp: Update comments. Rename variable
790 bar_call_foo to returned_from_foo.
791
87186c6a
MMN
7922014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
793
794 PR gdb/17394
795 * gdb.linespec/break-asm-file.c: New file.
796 * gdb.linespec/break-asm-file.exp: New file.
797 * gdb.linespec/break-asm-file0.s: New file.
798 * gdb.linespec/break-asm-file1.s: New file.
799
1bab7383
YQ
8002014-12-18 Nigel Stephens <nigel@mips.com>
801 Maciej W. Rozycki <macro@codesourcery.com>
802
803 * gdb.base/float.exp: Handle the new output from "info float" on
804 MIPS targets.
805
1bc1068a
JK
8062014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
807
808 Fix MinGW compilation.
809 * gdb.compile/compile-ops.exp: Update untested message if
810 !skip_compile_feature_tests.
811 * gdb.compile/compile-setjmp.exp: Likewise.
812 * gdb.compile/compile-tls.exp: Likewise.
813 * gdb.compile/compile.exp: Likewise.
814 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
815 supported on this host".
816
b6615d10
DE
8172014-12-16 Doug Evans <xdje42@gmail.com>
818
819 * boards/stabs.exp: New file.
820
25dda427
AA
8212014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
822
823 * gdb.base/completion.exp: Adjust to format changes of "maint
824 print user-registers".
825
bf330350
CU
8262014-12-16 Catalin Udma <catalin.udma@freescale.com>
827
828 PR server/17457
829 * gdb.arch/aarch64-fp.c: New file.
830 * gdb.arch/aarch64-fp.exp: New file.
831
395cf596
SDJ
8322014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
833
834 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
835 r210637, r210913, r211666, r215400, r215817).
836
837 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
838 * dg-extract-results.py: New file.
839 * dg-extract-results.sh: Use it if the environment seems
840 suitable.
841
842 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
843
844 * dg-extract-results.py (parse_run): Handle warnings that
845 are printed before a test harness is run.
846
847 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
848
849 * dg-extract-results.py (Named): Remove __cmp__ method.
850 (output_variation): Use a key to sort variation.harnesses.
851
852 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
853
854 * dg-extract-results.py: For Python 3, force sys.stdout to
855 handle surrogate escape sequences.
856 (safe_open): New function.
857 (output_segment, main): Use it.
858
859 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
860
861 * dg-extract-results.py (Prog.result_re): Include options
862 in test name.
863
864 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
865
866 * dg-extract-results.py (output_variation): Always sort if
867 do_sum.
868
e882ef3c
SM
8692014-12-15 Simon Marchi <simon.marchi@ericsson.com>
870
871 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
872 as long as we get pagination notifications.
873
4992aa20
JM
8742014-12-15 Jason Merrill <jason@redhat.com>
875
876 * Makefile.in (check-gdb.%): Restore.
877 * README: Mention it.
878
c1b5a1a6
JB
8792014-12-13 Joel Brobecker <brobecker@adacore.com>
880
881 * gdb.ada/str_uninit: New testcase.
882
5537b577
JK
8832014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
884
885 PR symtab/17642
886 * gdb.base/vla-stub-define.c: New file.
887 * gdb.base/vla-stub.c: New file.
888 * gdb.base/vla-stub.exp: New file.
889
bb2ec1b3
TT
8902014-12-12 Phil Muldoon <pmuldoon@redhat.com>
891 Jan Kratochvil <jan.kratochvil@redhat.com>
892 Tom Tromey <tromey@redhat.com>
893
894 * configure.ac: Add gdb.compile/.
895 * configure: Regenerate.
896 * gdb.compile/Makefile.in: New file.
897 * gdb.compile/compile-ops.exp: New file.
898 * gdb.compile/compile-ops.c: New file.
899 * gdb.compile/compile-tls.c: New file.
900 * gdb.compile/compile-tls.exp: New file.
901 * gdb.compile/compile-constvar.S: New file.
902 * gdb.compile/compile-constvar.c: New file.
903 * gdb.compile/compile-mod.c: New file.
904 * gdb.compile/compile-nodebug.c: New file.
905 * gdb.compile/compile-setjmp-mod.c: New file.
906 * gdb.compile/compile-setjmp.c: New file.
907 * gdb.compile/compile-setjmp.exp: New file.
908 * gdb.compile/compile-shlib.c: New file.
909 * gdb.compile/compile.c: New file.
910 * gdb.compile/compile.exp: New file.
911 * lib/gdb.exp (skip_compile_feature_tests): New proc.
912
4ff709eb
TT
9132014-12-12 Tom Tromey <tromey@redhat.com>
914
915 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
916 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
917
6dddd6a5
DE
9182014-12-12 Doug Evans <dje@google.com>
919
920 * lib/gdb-python.exp (get_python_valueof): New function.
921 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
922
71c24708
AA
9232014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
924
925 * gdb.base/completion.exp: Add test for completion of "info
926 registers ".
927
3e29f34a
MR
9282014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
929
930 * gdb.base/func-ptrs.c: New file.
931 * gdb.base/func-ptrs.exp: New file.
932
fc126975
SM
9332014-12-10 Simon Marchi <simon.marchi@ericsson.com>
934
935 PR breakpoints/17012
936 * gdb.base/dprintf-detach.c: New file.
937 * gdb.base/dprintf-detach.exp: New file.
938
0a46d518
SM
9392014-12-10 Simon Marchi <simon.marchi@ericsson.com>
940
941 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
942 * lib/gdb.exp (target_is_gdbserver): New procedure.
943
a0be3e44
DE
9442014-12-08 Doug Evans <dje@google.com>
945
946 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
947
df1b803a
YQ
9482014-12-05 Yao Qi <yao@codesourcery.com>
949
950 * gdb.guile/scm-error.exp: Remove the third argument to
951 gdb_remote_download.
952 * gdb.guile/scm-frame-args.exp: Likewise.
953 * gdb.guile/scm-section-script.exp: Likewise.
954
ddb9f679
YQ
9552014-12-05 Yao Qi <yao@codesourcery.com>
956
957 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
958
86e4ed39
DE
9592014-12-04 Doug Evans <dje@google.com>
960
961 * gdb.python/py-objfile.exp: Add tests for
962 objfile.add_separate_debug_file.
963
7c50a931
DE
9642014-12-04 Doug Evans <dje@google.com>
965
966 * lib/gdb.exp (get_build_id): New function.
967 (build_id_debug_filename_get): Rewrite to use it.
968 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
969
621661e3
MR
9702014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
971
972 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
973 `method(long)', not just 0x0.
974 * gdb.cp/nsalias.exp: Align code labels to 4.
975 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
976 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
977 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
978 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
979 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
980 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
981
29f0c3b7
DE
9822014-12-02 Doug Evans <dje@google.com>
983
e1e061e7 984 PR symtab/17602
29f0c3b7 985 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 986 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
987 * gdb.cp/anon-ns.exp: Update.
988
162078c8
NB
9892014-12-02 Nick Bull <nicholaspbull@gmail.com>
990
991 * gdb.python/py-events.py (inferior_call_handler): New.
992 (register_changed_handler, memory_changed_handler): New.
993 (test_events.invoke): Register new handlers.
994 * gdb.python/py-events.exp: Add tests for inferior call,
995 memory_changed and register_changed events.
996
fdb09caf
AA
9972014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
998
999 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1000 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1001 if the linker doesn't understand this.
1002
55cfb2c4
SM
10032014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1004
1005 * gdb.python/python.exp: Change expected reply to help().
1006
9e8cd6df
YQ
10072014-12-01 Yao Qi <yao@codesourcery.com>
1008
1009 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1010 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1011 * configure: Re-generated.
1012
6c659fc2
SC
10132014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1014
1015 * gdb.cp/chained-calls.cc: New file.
1016 * gdb.cp/chained-calls.exp: New file.
1017 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1018
d7fc3181
SM
10192014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1020
1021 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1022 * gdb.dwarf2/symtab-producer.exp: Same.
1023 * gdb.gdb/python-interrupts.exp: Same.
1024 * gdb.gdb/python-selftest.exp: Same.
1025 * gdb.python/py-linetable.exp: Same.
1026 * gdb.python/py-type.exp: Same.
1027 * gdb.python/py-value-cc.exp: Same.
1028 * gdb.python/py-value.exp: Same.
1029
10e79639
YQ
10302014-11-28 Yao Qi <yao@codesourcery.com>
1031
1032 * gdb.base/break-probes.exp: Match library name prefixed with
1033 sysroot.
1034
f28a0564
SM
10352014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1036
1037 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1038 test expected output. Add parentheses for the call to print.
1039 Remove L suffix from integers.
1040
3fe1ce1d
DE
10412014-11-26 Doug Evans <dje@google.com>
1042
1043 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1044
84429e27
YQ
10452014-11-22 Yao Qi <yao@codesourcery.com>
1046
1047 * gdb.trace/entry-values.c: Remove asms.
1048 (foo): Add foo_label.
1049 (bar): Add bar_label.
1050 * gdb.trace/entry-values.exp: Remove code computing foo's
1051 length and bar's length.
1052 (Dwarf::assemble): Invoke function_range for bar and use
1053 MACRO_AT_func for foo.
1054
26741859
YQ
10552014-11-22 Yao Qi <yao@codesourcery.com>
1056
1057 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1058 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1059 Use .Lgcc43_procstart instead of gcc43.
1060
45e44d27
JB
10612014-11-21 Joel Brobecker <brobecker@adacore.com>
1062
1063 * gdb.ada/n_arr_bound: New testcase.
1064
458c8db8
SDJ
10652014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1066
1067 PR breakpoints/10737
1068 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1069 test_catch_syscall_multi_arch.
1070 (test_catch_syscall_multi_arch): New function.
1071
43f3e411
DE
10722014-11-20 Doug Evans <xdje42@gmail.com>
1073
1074 * gdb.base/maint.exp: Update expected output.
1075
0d7b2549
AA
10762014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1077
1078 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1079 4-byte instruction on S390.
1080
8908fca5
JB
10812014-11-19 Joel Brobecker <brobecker@adacore.com>
1082
1083 * gdb.ada/arr_arr: New testcase.
1084
4a46959e
JB
10852014-11-19 Joel Brobecker <brobecker@adacore.com>
1086
1087 * gdb.ada/pkd_arr_elem: New Testcase.
1088
470e2f4e
LM
10892014-11-18 Luis Machado <lgustavo@codesourcery.com>
1090
1091 * gdb.reverse/break-precsave: Expect completion message for
1092 core file reads.
1093 * gdb.reverse/consecutive-precsave.exp: Likewise.
1094 * gdb.reverse/finish-precsave.exp: Likewise.
1095 * gdb.reverse/i386-precsave.exp: Likewise.
1096 * gdb.reverse/machinestate-precsave.exp: Likewise.
1097 * gdb.reverse/sigall-precsave.exp: Likewise.
1098 * gdb.reverse/solib-precsave.exp: Likewise.
1099 * gdb.reverse/step-precsave.exp: Likewise.
1100 * gdb.reverse/until-precsave.exp: Likewise.
1101 * gdb.reverse/watch-precsave.exp: Likewise.
1102
a267f3ad
AA
11032014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1104
1105 * gdb.base/bp-permanent.c: Include unistd.h.
1106 * gdb.python/py-framefilter-mi.c (main): Add return type.
1107 * gdb.python/py-framefilter.c (main): Likewise.
1108 * gdb.trace/actions-changed.c (main): Likewise.
1109
12084a9a
AA
11102014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1111
1112 * gdb.mi/until.c: Add eye-catchers.
1113 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1114 line numbers.
1115
dc7e1a77
AA
11162014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1117
1118 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1119 function header variants in break1.c.
1120 * gdb.base/ena-dis-br.exp: Likewise.
1121 * gdb.base/hbreak2.exp: Likewise.
1122 * gdb.reverse/until-precsave.exp: Drop references to removed
1123 non-prototype function header variants in ur1.c.
1124 * gdb.reverse/until-reverse.exp: Likewise.
1125
41c77605
PM
11262014-11-17 Petr Machata <pmachata@redhat.com>
1127
1128 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1129 ${_cu_offset_size} bytes abbrev offset.
1130
34248c3a
DE
11312014-11-15 Doug Evans <xdje42@gmail.com>
1132
1133 PR symtab/17559
1134 * gdb.base/line-symtabs.exp: New file.
1135 * gdb.base/line-symtabs.c: New file.
1136 * gdb.base/line-symtabs.h: New file.
1137
646da059
YQ
11382014-11-14 Yao Qi <yao@codesourcery.com>
1139
1140 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1141 (func): Add label func_label.
1142 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1143 Replace low_pc and high_pc with MACRO_AT_range.
1144 Replace name, low_pc and high_pc with MACRO_AT_func.
1145
9301ebe6
YQ
11462014-11-14 Yao Qi <yao@codesourcery.com>
1147
1148 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1149 Replace name, low_pc and high_pc with MACRO_AT_func.
1150
f166b542
YQ
11512014-11-14 Yao Qi <yao@codesourcery.com>
1152
1153 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1154 produce debug information.
1155 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1156
0f6e71e3
YQ
11572014-11-14 Yao Qi <yao@codesourcery.com>
1158
1159 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1160 object and get function length.
1161 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1162 with MACRO_AT_func.
1163 (top-level): Replace gdb_compile and clean_restart with
1164 prepare_for_testing.
1165 * gdb.dwarf2/main.c (main): Add label main_label.
1166
876c4df9
YQ
11672014-11-14 Yao Qi <yao@codesourcery.com>
1168
1169 * lib/dwarf.exp (function_range): New procedure.
1170 (Dwarf::_handle_macro_at_func): New procedure.
1171 (Dwarf::_handle_macro_at_range): New procedure.
1172 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1173
02ad9cf1
YQ
11742014-11-14 Yao Qi <yao@codesourcery.com>
1175
1176 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1177 (_handle_attribute): New procedure.
1178
a59add0c
AA
11792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1180
1181 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1182 * gdb.base/call-sc.c (zed): Likewise.
1183 * gdb.base/checkpoint.c (main): Likewise.
1184 * gdb.base/dump.c (main): Likewise.
1185 * gdb.base/gcore.c (main): Likewise.
1186 * gdb.base/huge.c (main): Likewise.
1187 * gdb.base/multi-forks.c (main): Likewise.
1188 * gdb.base/pr10179-a.c (main): Likewise.
1189 * gdb.base/savedregs.c (main): Likewise.
1190 * gdb.base/sigaltstack.c (main): Likewise.
1191 * gdb.base/siginfo.c (main): Likewise.
1192 * gdb.base/structs.c (zed): Likewise.
1193 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1194 * gdb.mi/mi-syn-frame.c (main): Likewise.
1195 * gdb.mi/until.c (foo, main): Likewise.
1196 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1197 * gdb.base/solib-weak.c (foo): Declare.
1198 * gdb.base/attach-twice.c: Include stdio.h.
1199 * gdb.base/weaklib1.c: Likewise.
1200 * gdb.base/weaklib2.c: Likewise.
1201 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1202 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1203 unistd.h.
1204 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1205 * gdb.mi/mi-exit-code.c: Likewise.
1206 * gdb.base/break-interp-lib.c: Include string.h.
1207 * gdb.base/coremaker.c: Likewise.
1208 * gdb.base/testenv.c: Likewise.
1209 * gdb.python/py-finish-breakpoint.c: Likewise.
1210 * gdb.base/inferior-died.c: Include sys/wait.h.
1211 * gdb.base/fileio.c: Include time.h.
1212 * gdb.base/async-shell.c: Include unistd.h.
1213 * gdb.base/dprintf-non-stop.c: Likewise.
1214 * gdb.base/info-os.c: Likewise.
1215 * gdb.mi/mi-console.c: Likewise.
1216 * gdb.mi/watch-nonstop.c: Likewise.
1217 * gdb.python/py-events.c: Likewise.
1218 * gdb.base/async.c (baz): Move up before its invocation.
1219 * gdb.base/code_elim2.c (my_global_func): Likewise.
1220 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1221 * gdb.base/advance.c (func2): Likewise.
1222
3b5d5997
AA
12232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1224
1225 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1226 variant.
1227 * gdb.base/annota3.c: Likewise.
1228 * gdb.base/async.c: Likewise.
1229 * gdb.base/average.c: Likewise.
1230 * gdb.base/call-ar-st.c: Likewise.
1231 * gdb.base/call-rt-st.c: Likewise.
1232 * gdb.base/call-sc.c: Likewise.
1233 * gdb.base/call-strs.c: Likewise.
1234 * gdb.base/ending-run.c: Likewise.
1235 * gdb.base/execd-prog.c: Likewise.
1236 * gdb.base/exprs.c: Likewise.
1237 * gdb.base/foll-exec.c: Likewise.
1238 * gdb.base/foll-fork.c: Likewise.
1239 * gdb.base/foll-vfork.c: Likewise.
1240 * gdb.base/funcargs.c: Likewise.
1241 * gdb.base/gcore.c: Likewise.
1242 * gdb.base/jump.c: Likewise.
1243 * gdb.base/langs0.c: Likewise.
1244 * gdb.base/langs1.c: Likewise.
1245 * gdb.base/langs2.c: Likewise.
1246 * gdb.base/mips_pro.c: Likewise.
1247 * gdb.base/nodebug.c: Likewise.
1248 * gdb.base/opaque0.c: Likewise.
1249 * gdb.base/opaque1.c: Likewise.
1250 * gdb.base/recurse.c: Likewise.
1251 * gdb.base/run.c: Likewise.
1252 * gdb.base/scope0.c: Likewise.
1253 * gdb.base/scope1.c: Likewise.
1254 * gdb.base/setshow.c: Likewise.
1255 * gdb.base/setvar.c: Likewise.
1256 * gdb.base/shmain.c: Likewise.
1257 * gdb.base/shr1.c: Likewise.
1258 * gdb.base/shr2.c: Likewise.
1259 * gdb.base/sigall.c: Likewise.
1260 * gdb.base/signals.c: Likewise.
1261 * gdb.base/so-indr-cl.c: Likewise.
1262 * gdb.base/solib2.c: Likewise.
1263 * gdb.base/structs.c: Likewise.
1264 * gdb.base/sum.c: Likewise.
1265 * gdb.base/vforked-prog.c: Likewise.
1266 * gdb.base/watchpoint.c: Likewise.
1267 * gdb.reverse/shr2.c: Likewise.
1268 * gdb.reverse/until-reverse.c: Likewise.
1269 * gdb.reverse/ur1.c: Likewise.
1270 * gdb.reverse/watch-reverse.c: Likewise.
1271
066a77c5
AA
12722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1273
1274 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1275 variant.
1276 * gdb.base/sepdebug.exp: Drop references to removed code.
1277
4f204ea5
AA
12782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1279
1280 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1281 variant. Preserve original line numbering.
1282 * gdb.base/list1.c: Likewise.
1283
3b377a3a
AA
12842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1285
1286 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1287 variant.
1288 * gdb.base/break1.c: Likewise.
1289 * gdb.base/break.exp: Drop references to removed code.
1290
e444df73
AA
12912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1292
1293 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1294 variant.
1295
8008f2a7
AA
12962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1297
1298 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1299
a5a06887
AA
13002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1301
1302 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1303 logic into perform_all_tests() and invoke it with and without
1304 function header prototypes.
1305 (do_function_calls): Remove conditional XFAIL for PR 5318.
1306 (rerun_and_prepare): Remove duplicate code.
1307 (perform_all_tests): New. Main logic moved here.
1308
44dba9b9
AA
13092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1310
1311 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1312 code guarded by #ifdef NO_PROTOTYPES.
1313 (t_double_many_args): Likewise.
1314 (DEF_FUNC_MANY_ARGS_1): Likewise.
1315 (DEF_FUNC_VALUES_1): Likewise.
1316 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1317 guarded by #ifdef PROTOTYPES.
1318
d1fbcd56
AA
13192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1320
1321 * gdb.mi/mi-console.c: Add eye-catcher.
1322 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1323 instead of literal line number.
1324
b0e59b8f
AA
13252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1326
1327 * gdb.base/shr2.c: Add eye-catcher.
1328 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1329 line number.
1330
78f98cca
AA
13312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1332
1333 * gdb.base/jump.c: Add eye-catchers.
1334 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1335 numbers.
1336
58fa2af0
AA
13372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1338
1339 * gdb.base/execd-prog.c: Add eye-catchers.
1340 * gdb.base/foll-exec.c: Likewise.
1341 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1342 line numbers.
1343
04e5059b
AA
13442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1345
1346 * gdb.base/ending-run.c: Add eye-catchers.
1347 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1348 literal line numbers.
1349
dbfdb174
AA
13502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1351
1352 * gdb.base/call-rt-st.c: Add eye-catchers.
1353 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1354 literal line numbers.
1355
888a2ade
AA
13562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1357
1358 * gdb.base/call-ar-st.c: Add eye-catchers.
1359 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1360 literal line numbers.
1361
6acc2dde
AA
13622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1363
1364 * gdb.base/average.c: Add eye-catchers.
1365 * gdb.base/sum.c: Likewise.
1366 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1367 regexps dynamically.
1368
9ecfcd1d
AA
13692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1370
1371 * gdb.base/solib1.c: Add eye-catchers.
1372 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1373 literal line numbers.
1374
78708b7c
PA
13752014-11-12 Pedro Alves <palves@redhat.com>
1376
1377 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1378 leader has exited.
1379
af48d08f
PA
13802014-11-12 Pedro Alves <palves@redhat.com>
1381
1382 * gdb.arch/i386-bp_permanent.c: New file.
1383 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1384 (srcfile): Set to i386-bp_permanent.c.
1385 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1386 that stepi does not execute the 'leave' instruction, instead of
1387 testing it does execute.
1388 * gdb.base/bp-permanent.c: New file.
1389 * gdb.base/bp-permanent.exp: New file.
1390
af3768e9
DE
13912014-11-10 Doug Evans <xdje42@gmail.com>
1392
1393 PR symtab/17564
1394 * gdb.base/symtab-search-order.exp: New file.
1395 * gdb.base/symtab-search-order.c: New file.
1396 * gdb.base/symtab-search-order-1.c: New file.
1397 * gdb.base/symtab-search-order-shlib-1.c: New file.
1398
9de00a4a
PA
13992014-11-07 Pedro Alves <palves@redhat.com>
1400
1401 PR gdb/17511
1402 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1403 i?86-*-linux*.
1404
e0f52461
SC
14052014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1406
1407 PR c++/17494
1408 * gdb.cp/pr17494.cc: New file.
1409 * gdb.cp/pr17494.exp: New file.
1410
6ce8c980
YQ
14112014-11-02 Yao Qi <yao@codesourcery.com>
1412
1413 * gdb.python/python.exp: Get working directory and match the
1414 output of "set extended-prompt \\w " with it.
1415
02be9a71
DE
14162014-10-30 Doug Evans <dje@google.com>
1417
1418 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1419 in objfiles.
1420 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1421 in progspaces.
1422
3bdff46b
LM
14232014-10-30 Janis Johnson <janisjo@codesourcery.com>
1424
1425 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1426 * gdb.base/realname-expand.exp: Likewise.
1427 * gdb.linespec/macro-relative.exp: Likewise.
1428
ab917dfb
PA
14292014-10-29 Pedro Alves <palves@redhat.com>
1430
1431 PR gdb/17408
1432 * gdb.threads/schedlock.c (some_function): New function.
1433 (call_function): New global.
1434 (MAYBE_CALL_SOME_FUNCTION): New macro.
1435 (thread_function): Call it.
1436 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1437 and use it instead of a global counter. Adjust all callers.
1438 (get_current_thread): Use "find current thread" for test message
1439 here rather than having all callers pass down the same string.
1440 (goto_loop): New procedure, factored out from ...
1441 (my_continue): ... this.
1442 (step_ten_loops): Change parameter from test message to command to
1443 use. Adjust.
1444 (list_count): Delete global.
1445 (check_result): New procedure, factored out from duplicate top
1446 level code.
1447 (continue tests): Wrap in with_test_prefix.
1448 (test_step): New procedure, factored out from duplicate top level
1449 code.
1450 (top level): Test "step" in combination with all scheduler-locking
1451 modes. Test "next" in combination with all scheduler-locking
1452 modes, and in combination with stepping over a function call or
1453 not.
1454 * gdb.threads/next-bp-other-thread.c: New file.
1455 * gdb.threads/next-bp-other-thread.exp: New file.
1456
d3d4baed
PA
14572014-10-29 Pedro Alves <palves@redhat.com>
1458
1459 PR python/17372
1460 * gdb.python/python.exp: Test a multi-line command that spawns
1461 interactive Python.
1462 * gdb.base/multi-line-starts-subshell.exp: New file.
1463
563e8d85
YQ
14642014-10-29 Yao Qi <yao@codesourcery.com>
1465
1466 * gdb.base/fileio.exp: Make directories on host.
1467
0ea4d52e
YQ
14682014-10-29 Yao Qi <yao@codesourcery.com>
1469
1470 * gdb.base/fileio.c (test_write): Close the file.
1471
7f5ef605
PA
14722014-10-28 Pedro Alves <palves@redhat.com>
1473
1474 PR gdb/12623
1475 * gdb.base/sigstep.c (no_handler): New global.
1476 (main): If 'no_handler is true, set the signal handlers to
1477 SIG_IGN.
1478 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1479 with_sw_watch and no_handler parameters. Handle them.
1480 (top level) <stepping over handler when stopped at a breakpoint
1481 test>: Add a test axis for testing with a software watchpoint, and
1482 another for testing with the signal handler set to SIG_IGN.
1483 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1484 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1485
abbdbd03
PA
14862014-10-28 Pedro Alves <palves@redhat.com>
1487
1488 PR gdb/17511
1489 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1490 * gdb.base/sigstep.exp (other_handler_location): New global.
1491 (advance): Support stepping into the signal handler, and running
1492 commands while in the handler.
1493 (in_handler_map): New global.
1494 (top level): In the advance test, add combinations for getting
1495 into the handler with stepping commands, and for running commands
1496 in the handler. Add comment descripting the advancei tests.
1497
1df4399f
PA
14982014-10-28 Pedro Alves <palves@redhat.com>
1499
1500 * gdb.base/sigstep.exp: Use build_executable instead of
1501 prepare_for_testing.
1502 (top level): Move code that starts GDB, runs to main and creates a
1503 display to ...
1504 (restart): ... this new procedure.
1505 (top level): Move backtrace from signal handler test to ...
1506 (validate_backtrace): ... this new procedure.
1507 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1508 with_test_prefix. Always restart GDB.
1509 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1510 with_test_prefix. Always restart GDB. No need to delete
1511 breakpoints after the test.
1512 (test_skip_handler): Remove prefix parameter.
1513 (skip_over_handler, breakpoint_to_handler)
1514 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1515 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1516 restart GDB. No need to delete breakpoints after the test.
1517 (top level): Use foreach to call the test procedures with
1518 different commands.
1519
a5b6e449
PA
15202014-10-28 Pedro Alves <palves@redhat.com>
1521
1522 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1523 instead of GNATS numbers.
1524 * gdb.base/sigbpt.exp: Likewise.
1525 * gdb.base/siginfo.exp: Likewise.
1526 * gdb.base/sigstep.exp: Likewise.
1527
e5f8a7cc
PA
15282014-10-27 Pedro Alves <palves@redhat.com>
1529
1530 * gdb.base/sigstep.c (dummy): New global.
1531 (main): Issue a couple writes to the new global.
1532 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1533 procedures.
1534 (skip_over_handler): Use test_skip_handler.
1535 (top level): Call skip_over_handler for stepi and nexti too.
1536 (breakpoint_over_handler): Use test_skip_handler.
1537 (top level): Call breakpoint_over_handler for stepi and nexti too.
1538
763905a3
YQ
15392014-10-27 Yao Qi <yao@codesourcery.com>
1540
1541 * gdb.trace/tfile.c (adjust_function_address)
1542 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1543 function descriptor.
1544
6f259a23
DB
15452014-10-24 Don Breazeal <donb@codesourcery.com>
1546
1547 * gdb.base/foll-fork.exp (test_follow_fork,
1548 catch_fork_child_follow): Check for updated fork messages emitted
1549 from infrun.c.
1550 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1551 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1552 vfork_and_exec_child_follow_through_step): Check for updated vfork
1553 messages emitted from infrun.c.
1554
09dd9a69
PA
15552014-10-24 Pedro Alves <palves@redhat.com>
1556
1557 * gdb.base/corefile.exp: Remove references to ultrix.
1558 * gdb.base/interrupt.exp: Likewise.
1559 * gdb.base/whatis.exp: Likewise.
1560 * gdb.gdb/selftest.exp: Likewise.
1561 * gdb.threads/manythreads.exp: Likewise.
1562 * gdb.threads/print-threads.exp: Likewise.
1563 * gdb.threads/pthreads.exp:: Likewise.
1564 * gdb.threads/schedlock.exp: Likewise.
1565
3433cfa5
SC
15662014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1567
1568 * gdb.cp/non-trivial-retval.cc: Add a test case.
1569 * gdb.cp/non-trivial-retval.exp: Add a test.
1570
092f880b
YQ
15712014-10-20 Yao Qi <yao@codesourcery.com>
1572
1573 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1574 * gdb.python/py-objfile-script-gdb.py: New file.
1575 * gdb.python/py-objfile-script.exp: Update reference to
1576 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1577 of remote_download. Remove the dest file.
1578
acbdb7f3
YQ
15792014-10-20 Yao Qi <yao@codesourcery.com>
1580
1581 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1582 * gdb.base/step-line.exp: Likewise.
1583 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1584 * gdb.dwarf2/dw2-basic.exp: Likewise.
1585 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1586 * gdb.dwarf2/dw2-filename.exp: Likewise.
1587 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1588 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1589 * gdb.dwarf2/dw2-producer.exp: Likewise.
1590 * gdb.dwarf2/mac-fileno.exp: Likewise.
1591 * gdb.python/py-frame-args.exp: Likewise.
1592 * gdb.python/py-framefilter.exp: Likewise.
1593 * gdb.python/py-mi.exp: Likewise.
1594 * gdb.python/py-objfile-script.exp: Likewise
1595 * gdb.python/py-pp-integral.exp: Likewise.
1596 * gdb.python/py-pp-re-notag.exp: Likewise.
1597 * gdb.python/py-prettyprint.exp: Likewise.
1598 * gdb.python/py-section-script.exp: Likewise.
1599 * gdb.python/py-typeprint.exp: Likewise.
1600 * gdb.python/py-xmethods.exp: Likewise.
1601 * gdb.stabs/weird.exp: Likewise.
1602 * gdb.xml/tdesc-regs.exp: Likewise.
1603
bd286a29
KCY
16042014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1605
1606 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1607 (out_cu): Use addr_len for the size of addresses.
1608 (out_line): Likewise. Size DW_LNE_set_address instruction
1609 according to addr_len.
1610 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1611 (FUNC): Add START_INSNS to definition.
1612
673dc4a0
YQ
16132014-10-18 Yao Qi <yao@codesourcery.com>
1614
1615 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1616 gdb_has_argv0 return true.
1617 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1618 check [target_info exists noargs], check [gdb_has_argv0]
1619 instead.
1620 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1621 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1622 procedures.
1623
4ffbba72
DE
16242014-10-17 Doug Evans <dje@google.com>
1625
1626 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1627 event.
1628 * gdb.python/py-events.py: Add clear_objfiles event.
1629
d096d8c1
DE
16302014-10-17 Doug Evans <dje@google.com>
1631
1632 * gdb.python/py-objfile.exp: Test progspace attribute.
1633
a80db015
LM
16342014-10-17 Luis Machado <lgustavo@codesourcery.com>
1635
1636 * gdb.guile/scm-breakpoint.exp: Do not assume any
1637 directory separators when matching source file paths.
1638 * gdb.python/py-breakpoint.exp: Likewise.
1639 * gdb.reverse/break-precsave.exp: Likewise.
1640 * gdb.reverse/break-reverse.exp: Likewise.
1641 * gdb.reverse/consecutive-precsave.exp: Likewise.
1642 * gdb.reverse/finish-precsave.exp: Likewise.
1643 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1644 * gdb.reverse/finish-reverse.exp: Likewise.
1645 * gdb.reverse/i386-precsave.exp: Likewise.
1646 * gdb.reverse/i387-env-reverse.exp: Likewise.
1647 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1648 * gdb.reverse/machinestate-precsave.exp: Likewise.
1649 * gdb.reverse/machinestate.exp: Likewise.
1650 * gdb.reverse/sigall-precsave.exp: Likewise.
1651 * gdb.reverse/solib-precsave.exp: Likewise.
1652 * gdb.reverse/step-precsave.exp: Likewise.
1653 * gdb.reverse/until-precsave.exp: Likewise.
1654 * gdb.reverse/watch-precsave.exp: Likewise.
1655 * gdb.reverse/watch-reverse.exp: Likewise.
1656
b22089ab
YQ
16572014-10-17 Yao Qi <yao@codesourcery.com>
1658
1659 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1660 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1661
6c4486e6
PA
16622014-10-17 Pedro Alves <palves@redhat.com>
1663
1664 PR gdb/17471
1665 * gdb.base/bg-execution-repeat.c: New file.
1666 * gdb.base/bg-execution-repeat.exp: New file.
1667
0ff33695
PA
16682014-10-17 Pedro Alves <palves@redhat.com>
1669
1670 PR gdb/17300
1671 * gdb.base/continue-all-already-running.c: New file.
1672 * gdb.base/continue-all-already-running.exp: New file.
1673
6fdebc3d
PA
16742014-10-17 Pedro Alves <palves@redhat.com>
1675
1676 PR gdb/17472
1677 * gdb.base/annota-input-while-running.c: New file.
1678 * gdb.base/annota-input-while-running.exp: New file.
1679
32a8097b
PA
16802014-10-17 Pedro Alves <palves@redhat.com>
1681
1682 * gdb.base/callfuncs.exp: emove references to osf.
1683 * gdb.base/sigall.exp: Likewise.
1684 * gdb.gdb/selftest.exp: Likewise.
1685 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1686 * gdb.mi/non-stop.c: Likewise.
1687 * gdb.mi/pthreads.c: Likewise.
1688 * gdb.reverse/sigall-precsave.exp: Likewise.
1689 * gdb.reverse/sigall-reverse.exp: Likewise.
1690 * gdb.threads/pthreads.c: Likewise.
1691 * gdb.threads/pthreads.exp: Likewise.
1692
7a3517ff
YQ
16932014-10-17 Yao Qi <yao@codesourcery.com>
1694
1695 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1696 check 'target_info exists noargs'.
1697 (test_command_prompt_position): Likewise.
1698 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1699 Remove "set args".
1700 (progvar_simple_while_test): Likewise.
1701 (progvar_complex_if_while_test): Likewise.
1702 (if_while_breakpoint_command_test): Likewise.
1703 (infrun_breakpoint_command_test): Likewise.
1704 (breakpoint_command_test): Likewise.
1705 (watchpoint_command_test): Likewise.
1706 (bp_deleted_in_command_test): Likewise.
1707 (temporary_breakpoint_commands): Likewise.
1708
bb99c472
YQ
17092014-10-16 Yao Qi <yao@codesourcery.com>
1710
1711 * gdb.base/remotetimeout.exp: Remove noargs checking.
1712
7c16b83e
PA
17132014-10-15 Pedro Alves <palves@redhat.com>
1714
1715 PR breakpoints/9649
1716 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1717 * gdb.base/breakpoint-in-ro-region.exp
1718 (probe_target_hardware_step): New procedure.
1719 (top level): Probe hardware stepping and hardware breakpoint
1720 support. Test stepping through a read-only region, with both
1721 "breakpoint auto-hw" on and off and both "always-inserted" on and
1722 off.
1723
35a49624
IB
17242014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1725
1726 * gdb.dlang/demangle.exp: Update for demangling changes.
1727
2d1c107c
SC
17282014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1729
1730 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1731 * gdb.cp/non-trivial-retval.exp: Add new tests.
1732
778811d5
SC
17332014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1734
1735 PR c++/13403
1736 PR c++/15154
1737 * gdb.cp/non-trivial-retval.cc: New file.
1738 * gdb.cp/non-trivial-retval.exp: New file.
1739
10c5f0a8
YQ
17402014-10-15 Yao Qi <yao@codesourcery.com>
1741
1742 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1743 remote host.
1744
65d7b369
YQ
17452014-10-15 Yao Qi <yao@codesourcery.com>
1746
1747 * gdb.python/py-symbol.exp: Match file base name if host is
1748 remote, otherwise match file name with dir name.
1749 * gdb.python/py-symtab.exp: Likewise.
1750 * gdb.python/python.exp: Likewise.
1751
46dc1394
YQ
17522014-10-15 Yao Qi <yao@codesourcery.com>
1753
1754 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1755 pattern.
1756 * gdb.python/py-symtab.exp: Likewise.
1757 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1758 locationn.
1759
c40cc657
JB
17602014-10-14 Joel Brobecker <brobecker@adacore.com>
1761
1762 * gdb.ada/addr_arith: New testcase.
1763
2abf49e1
MR
17642014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1765
1766 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1767 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1768 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1769 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1770
f7088df3
SDJ
17712014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1772
1773 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1774 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1775 * gdb.arch/stap-eval-lang-ada.exp: New file.
1776
4dc06805
YQ
17772014-10-14 Yao Qi <yao@codesourcery.com>
1778
1779 * gdb.mi/mi-var-child.c (nothing1): New function.
1780 (nothing2): New function.
1781 (do_children_tests): Set function pointers by nothing1 and
1782 nothing2.
1783 * gdb.mi/mi-var-child.exp: Step over new added statements.
1784 Update test to match the new output.
1785 * gdb.mi/var-cmd.c (nothing1): New function.
1786 (nothing2): New function.
1787 (do_children_tests): Set function pointers by nothing1 and
1788 nothing2.
1789 * gdb.mi/mi-var-display.exp: Update test to match output.
1790 Step to the line specified by $line_dct_nothing.
1791 Increase the number of lines to step.
1792
46a93de2
YQ
17932014-10-14 Yao Qi <yao@codesourcery.com>
1794
1795 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1796 tests.
1797 * gdb.mi/mi2-var-child.exp: Likewise.
1798
14ea52ee
DE
17992014-10-13 Doug Evans <dje@google.com>
1800
1801 * gdb.python/py-objfile.exp: Change name of file name test.
1802
e5c6e92b
DE
18032014-10-13 Doug Evans <dje@google.com>
1804
1805 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1806 from the start of the CU.
1807
c780cc2f
JK
18082014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1809 Yao Qi <yao@codesourcery.com>
1810
1811 Fix "save breakpoints" for "catch" command.
1812 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1813 Remove -nonewline. Match also the added "main" line.
1814
99894e11
JK
18152014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1816
1817 Fix "save breakpoints" for "disable $bpnum" command.
1818 * gdb.base/save-bp.c (main): Add label.
1819 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1820
6e1ac5a3
JK
18212014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1822
1823 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1824
754dd2b0
YQ
18252014-10-11 Yao Qi <yao@codesourcery.com>
1826
1827 * gdb.server/server-kill.exp: Execute command
1828 "set remote trace-status-packet on" before "tstatus".
1829
f90183d7
YQ
18302014-10-11 Yao Qi <yao@codesourcery.com>
1831
1832 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1833 (main): Call getppid.
1834 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1835 and continue to it. Read variable "server_pid".
1836
bf40a607
YQ
18372014-10-11 Yao Qi <yao@codesourcery.com>
1838
1839 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1840
052ca370
YQ
18412014-10-11 Yao Qi <yao@codesourcery.com>
1842
1843 * gdb.threads/thread-find.exp: Don't execute command
1844 "info threads".
1845 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1846 * gdb.threads/linux-dp.exp: Don't check the condition
1847 $threads_created equals to zero.
1848
3831839c
PA
18492014-10-10 Pedro Alves <palves@redhat.com>
1850
1851 * gdb.base/bigcore.exp: Remove references to IRIX.
1852 * gdb.base/funcargs.exp: Likewise.
1853 * gdb.base/interrupt.exp: Likewise.
1854 * gdb.base/mips_pro.exp: Likewise.
1855 * gdb.base/nodebug.exp: Likewise.
1856 * gdb.base/setvar.exp: Likewise.
1857 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1858
8b9a549d
PA
18592014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1860 Pedro Alves <palves@redhat.com>
1861
1862 PR symtab/14466
1863 * gdb.base/vdso-warning.c: New file.
1864 * gdb.base/vdso-warning.exp: New file.
1865
d48ba5e8
DE
18662014-10-02 Doug Evans <dje@google.com>
1867
1868 * gdb.base/structs.c (main): Don't run forever.
1869
2278c276
PA
18702014-10-02 Pedro Alves <palves@redhat.com>
1871
1872 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1873 (top level) <stop threads 1, stop threads 2>: Use it.
1874
b57bacec
PA
18752014-10-02 Pedro Alves <palves@redhat.com>
1876
1877 * gdb.threads/break-while-running.exp (test): Add new
1878 'update_thread_list' argument. Skip "info threads" if false.
1879 (top level): Add new 'update_thread_list' axis.
1880
13fd3ff3
PA
18812014-10-02 Pedro Alves <palves@redhat.com>
1882
1883 PR breakpoints/17431
1884 * gdb.base/execl-update-breakpoints.c: New file.
1885 * gdb.base/execl-update-breakpoints.exp: New file.
1886
0fec99e8
PA
18872014-10-01 Pedro Alves <palves@redhat.com>
1888
1889 * gdb.base/breakpoint-in-ro-region.c: New file.
1890 * gdb.base/breakpoint-in-ro-region.exp: New file.
1891
2ddf4301
SM
18922014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1893
1894 * gdb.mi/mi-exit-code.exp: New file.
1895 * gdb.mi/mi-exit-code.c: New file.
1896
6a5f3f43
YQ
18972014-09-30 Yao Qi <yao@codesourcery.com>
1898
1899 * lib/prelink-support.exp (build_executable_own_libs): Error if
1900 the target isn't native.
1901
345bcc73
YQ
19022014-09-30 Yao Qi <yao@codesourcery.com>
1903
1904 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1905 false.
1906
a25a5a45
PA
19072014-09-22 Pedro Alves <palves@redhat.com>
1908
1909 * gdb.threads/break-while-running.exp: New file.
1910 * gdb.threads/break-while-running.c: New file.
1911
00ba3162
YQ
19122014-09-19 Yao Qi <yao@codesourcery.com>
1913
1914 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1915 Invoke test. Restart GDB with --readnow and invoke test again.
1916
c3b7b696
YQ
19172014-09-19 Yao Qi <yao@codesourcery.com>
1918
1919 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1920 proc set_breakpoint_on_gcd_function. Invoke
1921 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1922 invoke set_breakpoint_on_gcd_function again.
1923
2b4fd423
DE
19242014-09-18 Doug Evans <dje@google.com>
1925
1926 * gdb.dwarf2/symtab-producer.exp: New file.
1927
a5947601
SDJ
19282014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1929
1930 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1931 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1932 * gdb.base/global-var-nested-by-dso.c: Likewise.
1933 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1934
91c19059
SDJ
19352014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1936 Pedro Alves <palves@redhat.com>
1937
1938 * gdb.base/watch-bitfields.exp: Pass string other than test file
1939 name to prepare_for_testing.
1940 (watch): New procedure.
1941 (expect_watchpoint): Use with_test_prefix.
1942 (top level): Factor out tests to ...
1943 (test_watch_location, test_regular_watch): ... these new
1944 procedures, and use with_test_prefix and gdb_continue_to_end.
1945
bb9d5f81
PP
19462014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1947
1948 PR breakpoints/12526
1949 * gdb.base/watch-bitfields.exp: New file.
1950 * gdb.base/watch-bitfields.c: New file.
1951
635856f5
PA
19522014-09-16 Pedro Alves <palves@redhat.com>
1953
1954 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1955 software and hardware addresses, not software address against
1956 itself.
1957
7280ceea
PA
19582014-09-16 Pedro Alves <palves@redhat.com>
1959
1960 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1961 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1962
428b16bd
PA
19632014-09-16 Pedro Alves <palves@redhat.com>
1964
1965 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1966 files.
1967 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1968 "*-*-vxworks*" throughout.
1969 * gdb.base/break.exp: Likewise.
1970 * gdb.base/default.exp: Likewise.
1971 * gdb.base/scope.exp: Likewise.
1972 * gdb.base/sepdebug.exp: Likewise.
1973 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1974 throughout.
1975 * gdb.base/run.c: Likewise.
1976 * gdb.base/sepdebug.c: Likewise.
1977 * gdb.hp/gdb.aCC/run.c: Likewise.
1978 * gdb.reverse/until-reverse.c: Likewise.
1979 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1980
666d413c
YQ
19812014-09-16 Yao Qi <yao@codesourcery.com>
1982
1983 * boards/local-remote-host-native.exp: New file.
1984
57cbd724
DE
19852014-09-14 Doug Evans <xdje42@gmail.com>
1986
1987 * gdb.threads/queue-signal.c (thread_count): New variable.
1988 (thread_count_mutex, thread_count_condvar): New variables.
1989 (incr_thread_count, wait_all_threads_running): New functions.
1990 (main): Wait for all threads to be in their thread functions.
1991
81219e53
DE
19922014-09-13 Doug Evans <xdje42@gmail.com>
1993
1994 * gdb.threads/queue-signal.c: New file.
1995 * gdb.threads/queue-signal.exp: New file.
1996
3714cea7
DE
19972014-09-13 Doug Evans <xdje42@gmail.com>
1998
1999 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2000 be consistent with what default_gdb_init uses.
2001 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2002 the plain text of the prompt. Add some logging printfs.
2003 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2004
fa43b1d7
PA
20052014-09-12 Pedro Alves <palves@redhat.com>
2006
2007 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2008 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2009 * gdb.arch/i386-size-overlap.exp: Likewise.
2010 * gdb.arch/i386-size.exp: Likewise.
2011 * gdb.arch/i386-unwind.exp: Likewise.
2012 * gdb.base/a2-run.exp: Likewise.
2013 * gdb.base/break.exp: Likewise.
2014 * gdb.base/charset.exp: Likewise.
2015 * gdb.base/chng-syms.exp: Likewise.
2016 * gdb.base/commands.exp: Likewise.
2017 * gdb.base/dbx.exp: Likewise.
2018 * gdb.base/find.exp: Likewise.
2019 * gdb.base/funcargs.exp: Likewise.
2020 * gdb.base/jit-simple.exp: Likewise.
2021 * gdb.base/reread.exp: Likewise.
2022 * gdb.base/sepdebug.exp: Likewise.
2023 * gdb.base/step-bt.exp: Likewise.
2024 * gdb.cp/mb-inline.exp: Likewise.
2025 * gdb.cp/mb-templates.exp: Likewise.
2026 * gdb.objc/basicclass.exp: Likewise.
2027 * gdb.threads/killed.exp: Likewise.
2028
9d9bf2df
EBM
20292014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2030
2031 PR tdep/17379
2032 * gdb.arch/powerpc-stackless.S: New file.
2033 * gdb.arch/powerpc-stackless.exp: New file.
2034
1cf2f1b0
JK
20352014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2036
2037 * gdb.base/attach.c: Include unistd.h.
2038 (main): Call alarm. Add label postloop.
2039 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2040 gdb_breakpoint, gdb_continue_to_breakpoint.
2041 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2042
98880d46
PA
20432014-09-11 Pedro Alves <palves@redhat.com>
2044
2045 PR gdb/17347
2046 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2047 * gdb.base/attach.exp (test_command_line_attach_run): New
2048 procedure.
2049 (top level): Call it.
2050
4c92ff2c
PA
20512014-09-11 Pedro Alves <palves@redhat.com>
2052
2053 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2054 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2055 (do_command_attach_tests): Use spawn_wait_for_attach.
2056 * gdb.base/solib-overlap.exp: Likewise.
2057 * gdb.multi/multi-attach.exp: Likewise.
2058 * gdb.python/py-prompt.exp: Likewise.
2059 * gdb.python/py-sync-interp.exp: Likewise.
2060 * gdb.server/ext-attach.exp: Likewise.
2061
3adc1a7d
GKB
20622014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2063
2064 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2065 command in testcase. Simplify testcase.
2066
96334934
JB
20672014-09-10 Joel Brobecker <brobecker@adacore.com>
2068
2069 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2070
eb479039
JB
20712014-09-10 Joel Brobecker <brobecker@adacore.com>
2072
2073 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2074
deede10c
JB
20752014-09-10 Joel Brobecker <brobecker@adacore.com>
2076
2077 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2078
7828a5f5
JB
20792014-09-10 Joel Brobecker <brobecker@adacore.com>
2080
2081 * gdb.dwarf2/dynarr-ptr.c: New file.
2082 * gdb.dwarf2/dynarr-ptr.exp: New file.
2083
33aeebcf
MR
20842014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2085
2086 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2087 of 30 rather than hardcoding 120 for a slow test case. Take the
2088 `gdb,timeout' target setting into account for this calculation.
2089 Don't extend the timeout for the test cases that don't need it.
2090
7b415901
MR
20912014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2092
2093 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2094 a factor of 2 for a slow test case. Take the `gdb,timeout'
2095 target setting into account for this calculation.
2096 * gdb.reverse/until-precsave.exp: Increase the timeout by
2097 a factor of 15 and 3 respectively rather than adding 120
2098 for a pair of slow test cases. Take the `gdb,timeout'
2099 target setting into account for this calculation.
2100
4a40f85a
MR
21012014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2102
2103 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2104 timeout, don't pass one down to gdb_expect.
2105 (gdb_expect): Rework timeout selection.
2106
09635af7
MR
21072014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2108
2109 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2110 exception on timeout.
2111 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2112 (gdbserver_start_extended): Catch any `gdbserver_start' error
2113 exceptions.
2114 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2115 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2116 `gdbserver_gdb_load' error exceptions.
2117
2bdd10b7
MR
21182014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2119
2120 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2121 120 on waiting for the TCP socket to open.
2122
316935f0
DE
21232014-09-09 Doug Evans <xdje42@gmail.com>
2124
2125 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2126 _caller_matches, _any_caller_is, _any_caller_matches.
2127
83740597
DE
21282014-09-09 Doug Evans <xdje42@gmail.com>
2129
2130 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2131
4c122fc3
YQ
21322014-09-09 Yao Qi <yao@codesourcery.com>
2133
2134 * gdb.mi/mi-var-display.exp: Set print symbol off.
2135
a9f116cb
GKB
21362014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2137
2138 PR gdb/17035
2139 * gdb.base/commands.exp: Add tests to verify user-defined
2140 commands with empty bodies.
2141 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2142 python commands in `show user command`.
2143 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2144 scheme commands in `show user command`.
2145
c75bd3a2
JK
21462014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2147
2148 PR python/17355
2149 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2150 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2151 * gdb.python/py-framefilter-invalidarg.exp: New file.
2152 * gdb.python/py-framefilter-invalidarg.py: New file.
2153
faa42425
DE
21542014-09-06 Doug Evans <xdje42@gmail.com>
2155
2156 PR 15276
2157 * gdb.python/py-caller-is.c: New file.
2158 * gdb.python/py-caller-is.exp: New file.
2159
474ca4f6
SDJ
21602014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2161
2162 PR gdb/17235
2163 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2164 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2165
eb0b0463
SDJ
21662014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2167
2168 PR fortran/17237
2169 * gdb.fortran/print-formatted.exp: New file.
2170 * gdb.fortran/print-formatted.f90: Likewise.
2171
5f3b99cf
SS
21722014-09-03 Sasha Smundak <asmundak@google.com>
2173
2174 * gdb.python/py-frame.exp: Test Frame.read_register.
2175
7d793aa9
SDJ
21762014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2177
2178 PR python/16699
2179 * gdb.python/py-completion.exp: New file.
2180 * gdb.python/py-completion.py: Likewise.
2181
fb0576e9
DE
21822014-08-28 Doug Evans <dje@google.com>
2183
2184 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2185 eax,etc. are live with values set by gdb and thus the compiler can't
2186 use them.
2187 * gdb.arch/i386-pseudo.c (main): Ditto.
2188
ee92b0dd
DE
21892014-08-27 Doug Evans <dje@google.com>
2190
2191 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2192
6649db35
DE
21932014-08-25 Doug Evans <dje@google.com>
2194
2195 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2196 (main): Ditto.
2197
564b7600
DE
21982014-08-25 Doug Evans <dje@google.com>
2199
2200 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2201
3881fb67
YQ
22022014-08-24 Yao Qi <yao@codesourcery.com>
2203
2204 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2205 symbol off.
2206 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2207
a05a36a5
DE
22082014-08-22 Doug Evans <dje@google.com>
2209
2210 PR 17276
2211 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2212 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2213 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2214
7c343b48
YQ
22152014-08-22 Yao Qi <yao@codesourcery.com>
2216
2217 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2218 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2219 * gdb.python/python.exp: Likewise. Use .py file on the host
2220 instead of the build.
2221
22fd09ae
JK
22222014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2223
2224 * gdb.threads/gcore-stale-thread.c: New file.
2225 * gdb.threads/gcore-stale-thread.exp: New file.
2226
a8454a7c
PA
22272014-08-21 Pedro Alves <palves@redhat.com>
2228
2229 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2230 * gdb.base/gcore-relro-pie.exp: Likewise.
2231 * gdb.base/gcore-relro.exp: Likewise.
2232 * gdb.base/gcore.exp: Likewise.
2233 * gdb.base/print-symbol-loading.exp: Likewise.
2234 * gdb.threads/gcore-thread.exp: Likewise.
2235 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2236
2a31c623
PA
22372014-08-20 Pedro Alves <palves@redhat.com>
2238 Jan Kratochvil <jan.kratochvil@redhat.com>
2239
2240 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2241 configure.
2242 (EXPECT): Handle READ1 being set.
2243 (all): Depend on EXTRA_RULES.
2244 (check-read1, expect-read1, read1.so, read1): New rules.
2245 * README (Testsuite Parameters): Document the READ1 make variable.
2246 (Race detection): New section.
2247 * configure: Regenerate.
2248 * configure.ac: If build==host==target, and running under a
2249 GNU/glibc system, add read1 to the extra Makefile rules.
2250 (EXTRA_RULES): AC_SUBST it.
2251 * lib/read1.c: New file.
2252
d36430db
JB
22532014-08-20 Joel Brobecker <brobecker@adacore.com>
2254
2255 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2256 the handling of variables declared as a typedef to an array
2257 which a DW_AT_data_location attribute.
2258
9a0dc9e3
PA
22592014-08-19 Andrew Burgess <aburgess@broadcom.com>
2260 Pedro Alves <palves@redhat.com>
2261
2262 PR symtab/14604
2263 PR symtab/14605
2264 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2265 gdb_test.
2266
0718a8da
PA
22672014-08-19 Pedro Alves <palves@redhat.com>
2268
2269 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2270
13b448cd
YQ
22712014-08-19 Yao Qi <yao@codesourcery.com>
2272
2273 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2274 right line.
2275
1cbf5077
DB
22762014-08-18 David Blaikie <dblaikie@gmail.com>
2277
2278 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2279
bf0fae19
JB
22802014-08-18 Joel Brobecker <brobecker@adacore.com>
2281
2282 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2283 attribute in array range.
2284
3c8c5dcc
JB
22852014-08-18 Joel Brobecker <brobecker@adacore.com>
2286
2287 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2288
e66d4446
SC
22892014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2290
2291 PR c++/17132
2292 * gdb.cp/pr17132.cc: New file.
2293 * gdb.cp/pr17132.exp: New file.
2294
940df408
SC
22952014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2296
2297 * gdb.python/py-xmethods.py (A_getarrayind)
2298 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2299 Use 'print' with function call syntax.
2300 (E_method_matcher.match): Fix tab vs space indentation mixup.
2301
ebcc6c3a
YQ
23022014-08-15 Yao Qi <yao@codesourcery.com>
2303
2304 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2305 false.
2306
775e0f04
YQ
23072014-08-15 Yao Qi <yao@codesourcery.com>
2308
2309 * gdb.cp/casts.exp: Set print symbol off.
2310 * gdb.cp/class2.exp: Likewise.
2311 * gdb.cp/overload.exp: Likewise.
2312 * gdb.cp/templates.exp: Likewise.
2313
d769e349
DE
23142014-08-11 Doug Evans <dje@google.com>
2315
2316 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2317 (test_load_shlib): Update.
2318
20c6f1e1
YQ
23192014-08-09 Yao Qi <yao@codesourcery.com>
2320
2321 * gdb.base/display.exp: Invoke is_address_zero_readable.
2322 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2323 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2324 * gdb.base/hbreak-unmapped.exp: Return if
2325 is_address_zero_readable returns true.
2326 * gdb.base/signest.exp: Likewise.
2327 * gdb.base/signull.exp: Likewise.
2328 * gdb.base/sigbpt.exp: Likewise.
2329 * gdb.guile/scm-disasm.exp: Do the test if
2330 is_address_zero_readable returns false.
2331 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2332 * gdb.python/py-arch.exp: Likewise.
2333 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2334 * lib/gdb.exp (is_address_zero_readable): New proc.
2335
5792e8e3
YQ
23362014-08-09 Yao Qi <yao@codesourcery.com>
2337
2338 PR testsuite/13443
2339 * gdb.mi/mi-var-display.exp: Make test messages unique.
2340
3cecbbbe
TT
23412014-08-04 Tom Tromey <tromey@redhat.com>
2342
2343 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2344 target 0".
2345
00b51ff5
TT
23462014-08-04 Tom Tromey <tromey@redhat.com>
2347
2348 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2349 "target_resume".
2350
6908c509
JB
23512014-08-01 Joel Brobecker <brobecker@adacore.com>
2352
2353 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2354 inner_vla_struct_object_size.
2355 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2356 as xfail.
2357
cc6563d2
PA
23582014-07-30 Pedro Alves <palves@redhat.com>
2359
2360 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2361 comment.
2362
7e09a223
YQ
23632014-07-29 Yao Qi <yao@codesourcery.com>
2364
2365 PR gdb/17206
2366 * gdb.base/until-nodebug.exp: New.
2367
7ebdbe92
DE
23682014-07-28 Doug Evans <xdje42@gmail.com>
2369
2370 PR guile/17203
2371 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2372 previously existing parameter, and previously ambiguously spelled
2373 parameter.
2374
fdb1adc6
WN
23752014-07-28 Will Newton <will.newton@linaro.org>
2376
2377 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2378
186fcde0
DE
23792014-07-26 Ludovic Courtès <ludo@gnu.org>
2380 Doug Evans <xdje42@gmail.com>
2381
2382 PR guile/17146
2383 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2384
70509625
PA
23852014-07-25 Pedro Alves <palves@redhat.com>
2386
2387 * gdb.threads/signal-command-handle-nopass.c: New file.
2388 * gdb.threads/signal-command-handle-nopass.exp: New file.
2389 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2390 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2391 * gdb.threads/signal-delivered-right-thread.c: New file.
2392 * gdb.threads/signal-delivered-right-thread.exp: New file.
2393
c3f814a1
PA
23942014-07-25 Pedro Alves <palves@redhat.com>
2395
2396 * gdb.base/double-prompt-target-event-error.exp
2397 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2398 match.
2399 (cancel_pagination_in_target_event): Rework double prompt
2400 detection.
2401 * gdb.base/paginate-after-ctrl-c-running.exp
2402 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2403 <return>' match.
2404 * gdb.base/paginate-bg-execution.exp
2405 (test_bg_execution_pagination_return)
2406 (test_bg_execution_pagination_cancel): Remove '-notransfer
2407 <return>' matches.
2408 * gdb.base/paginate-execution-startup.exp
2409 (test_fg_execution_pagination_return)
2410 (test_fg_execution_pagination_cancel): Remove '-notransfer
2411 <return>' matches.
2412 * gdb.base/paginate-inferior-exit.exp
2413 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2414 match.
2415 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2416 * lib/gdb.exp (pagination_prompt): Run text through
2417 string_to_regexp.
2418 (gdb_test_multiple): Match $pagination_prompt instead of
2419 "<return>".
2420 (string_to_regexp): Move to lib/gdb-utils.exp.
2421
e214cf6c
JK
24222014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2423
2424 * gdb.arch/amd64-entry-value-paramref.S: New file.
2425 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2426 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2427 * gdb.arch/amd64-optimout-repeat.S: New file.
2428 * gdb.arch/amd64-optimout-repeat.c: New file.
2429 * gdb.arch/amd64-optimout-repeat.exp: New file.
2430
17d0c5c8
JK
24312014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2432
2433 PR gdb/17170
2434 * gdb.base/statistics.exp: New file.
2435
b8b8facf
DE
24362014-07-17 Doug Evans <dje@google.com>
2437
74b49205 2438 PR gdb/17170
b8b8facf
DE
2439 * gdb.base/maint.exp: Update testing of per-command stats.
2440
1b5d0ab3
PA
24412014-07-16 Pedro Alves <palves@redhat.com>
2442
2443 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2444 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2445 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2446 (tfile_write_buf): New functions.
2447 (add_memory_block): Rewrite using the above.
2448 (adjust_function_address): New function.
2449 (FUNCTION_ADDRESS): New macro.
2450 (write_basic_trace_file): Remove short_x local, and use
2451 tfile_write_16. Change type of func_addr local to unsigned long
2452 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2453 here. Cast argument of add_memory_block to char pointer.
2454 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2455 (main): Remove parameters.
2456 * gdb.trace/tfile.exp: Remove nowarnings.
2457
4d974e88
SM
24582014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2459
2460 * gdb.base/debug-expr.exp: Test string evaluation with
2461 "debug expression" on.
2462
41e99568
PA
24632014-07-15 Pedro Alves <palves@redhat.com>
2464
2465 * gdb.base/reread.exp: Use clean_restart.
2466
487d9753
PL
24672014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2468
2469 * gdb.arch/avr-flash-qualifer.c: New.
2470 * gdb.arch/avr-flash-qualifer.exp: New.
2471
cc1c52ad
PA
24722014-07-14 Pedro Alves <palves@redhat.com>
2473
2474 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2475 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2476
1e973570
PA
24772014-07-14 Pedro Alves <palves@redhat.com>
2478
2479 * gdb.base/double-prompt-target-event-error.c: New file.
2480 * gdb.base/double-prompt-target-event-error.exp: New file.
2481
93d6eb10
PA
24822014-07-14 Pedro Alves <palves@redhat.com>
2483
2484 PR gdb/17072
2485 * gdb.base/paginate-inferior-exit.c: New file.
2486 * gdb.base/paginate-inferior-exit.exp: New file.
2487
0017922d
PA
24882014-07-14 Pedro Alves <palves@redhat.com>
2489
2490 PR gdb/17072
2491 * gdb.base/paginate-bg-execution.c: New file.
2492 * gdb.base/paginate-bg-execution.exp: New file.
2493
94696ad3
PA
24942014-07-14 Pedro Alves <palves@redhat.com>
2495
2496 PR gdb/17072
2497 * gdb.base/paginate-execution-startup.c: New file.
2498 * gdb.base/paginate-execution-startup.exp: New file.
2499 * lib/gdb.exp (pagination_prompt): New global.
2500 (default_gdb_spawn): New procedure, factored out from
2501 default_gdb_spawn.
2502 (default_gdb_start): Adjust to call default_gdb_spawn.
2503 (gdb_spawn): New procedure.
2504
bd293940
PA
25052014-07-14 Pedro Alves <palves@redhat.com>
2506
2507 * lib/gdb.exp (gdb_assert): New procedure.
2508 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2509
c933f875
PA
25102014-07-14 Pedro Alves <palves@redhat.com>
2511
2512 * gdb.base/execution-termios.c: New file.
2513 * gdb.base/execution-termios.exp: New file.
2514
d98b7a16
TT
25152014-07-14 Tom Tromey <tromey@redhat.com>
2516
2517 * gdb.cp/vla-cxx.cc: New file.
2518 * gdb.cp/vla-cxx.exp: New file.
2519
548740d6
TT
25202014-07-14 Tom Tromey <tromey@redhat.com>
2521
2522 * gdb.reverse/rerun-prec.c: New file.
2523 * gdb.reverse/rerun-prec.exp: New file.
2524
a25eb028
MR
25252014-07-12 Maciej W. Rozycki <macro@mips.com>
2526 Maciej W. Rozycki <macro@codesourcery.com>
2527
2528 * lib/gdb-utils.exp: New file.
2529 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2530 inline `gdb_init_command' processing.
2531 (gdb_start_cmd): Likewise.
2532 * lib/mi-support.exp (mi_run_cmd): Likewise.
2533 * README: Document `gdb_init_command' and `gdb_init_commands'.
2534
218c2655
JK
25352014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2536
2537 Fix false FAIL running under a very long directory name.
2538 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2539 and "set print elements 10000". Twice.
2540
5401fde3
YQ
25412014-07-11 Yao Qi <yao@codesourcery.com>
2542
2543 * gdb.base/exprs.exp: "set print symbol off".
2544
e76126e8
PA
25452014-07-11 Pedro Alves <palves@redhat.com>
2546
2547 * gdb.threads/kill.c: New file.
2548 * gdb.threads/kill.exp: New file.
2549
2d6f0de6
YQ
25502014-07-10 Yao Qi <yao@codesourcery.com>
2551
2552 * gdb.trace/tfile.c (write_basic_trace_file)
2553 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2554 address written to trace file.
2555
7180e04a
PA
25562014-07-09 Pedro Alves <palves@redhat.com>
2557
2558 * gdb.base/attach-wait-input.exp: New file.
2559 * gdb.base/attach-wait-input.c: New file.
2560
9a9a7608
AB
25612014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2562
2563 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2564 setting up test structures.
2565 (main): Call new test function.
2566 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2567 test function, continue into test function and walk test
2568 structures.
2569
161ac41e
YQ
25702014-07-02 Yao Qi <yao@codesourcery.com>
2571
2572 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2573 'bar_start' at the beginning of functions 'foo' and 'bar'
2574 respectively.
2575 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2576 instead of 'foo' and 'bar'.
2577
1f267ae3
MM
25782014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2579
2580 * gdb.btrace/segv.exp: New.
2581 * gdb.btrace/segv.c: New.
2582
2b239efb
LM
25832014-07-02 Luis Machado <lgustavo@codesourcery.com>
2584
2585 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2586 instruction.
2587
cf363f18
MW
25882014-06-30 Mark Wielaard <mjw@redhat.com>
2589
2590 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2591 vulture, vilify, villar): New volatile array constants.
2592 (vindictive, vegetation): New const volatile array constants.
2593 * gdb.base/volatile.exp: Test volatile and const volatile array
2594 types.
2595
aebf9d24
AA
25962014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2597
2598 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2599 target lacks support for awatch, rwatch, or hbreak.
2600
b67a2c6f
YQ
26012014-06-27 Yao Qi <yao@codesourcery.com>
2602
2603 * gdb.multi/dummy-frame-restore.exp: New.
2604 * gdb.multi/dummy-frame-restore.c: New.
2605
aef92902
MM
26062014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2607
2608 * gdb.btrace/gcore.exp: New.
2609
8e9db26e
PA
26102014-06-23 Pedro Alves <palves@redhat.com>
2611
2612 * gdb.base/watchpoint-reuse-slot.c: New file.
2613 * gdb.base/watchpoint-reuse-slot.exp: New file.
2614
70afc5b7
SC
26152014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2616
2617 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2618 progspace's filename in 'info', 'enable' and 'disable' command
2619 tests.
2620
b972bd9c
JK
26212014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2622
2623 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2624 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2625 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2626
125f8a3d
GB
26272014-06-20 Gary Benson <gbenson@redhat.com>
2628
2629 * gdb.arch/i386-avx.exp: Fix include file location.
2630 * gdb.arch/i386-sse.exp: Likewise.
2631
3ed9baed
IB
26322014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2633
2634 * gdb.dlang/expression.exp: New file.
2635
034f788c
PA
26362014-06-19 Pedro Alves <palves@redhat.com>
2637
2638 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2639 out from ...
2640 (top level): ... here. Iterate running tests under different
2641 scheduler-locking settings.
2642
45371d0c
LM
26432014-06-18 Luis Machado <lgustavo@codesourcery.com>
2644
2645 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2646 to DW_FORM_addr and use non-zero addresses.
2647
5d376983
SC
26482014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2649
2650 PR gdb/17017
2651 * gdb.python/py-xmethods.cc: Add global function call counters and
2652 increment them in their respective functions. Remove "cout"
2653 statements.
2654 * gdb.python/py-xmethods.exp: Make tests check the global function
2655 call counters instead of depending on inferior IO.
2656
a1aa2221
LM
26572014-06-18 Don Breazeal <donb@codesourcery.com>
2658
2659 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2660 Deleted procedure.
2661 (explicit_fork_parent_follow): Deleted procedure.
2662 (explicit_fork_child_follow): Deleted procedure.
2663 (test_follow_fork): New procedure.
2664 (do_fork_tests): Replace calls to deleted procedures with
2665 calls to test_follow_fork and reset GDB for subsequent
2666 procedure calls.
2667
0fc05997
YQ
26682014-06-17 Yao Qi <yao@codesourcery.com>
2669
2670 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2671 CP1252.
2672
70795c52
LM
26732014-06-17 Luis Machado <lgustavo@codesourcery.com>
2674
2675 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2676 Initialize ptr and S explicitly.
2677 (skip_type_update_when_not_use_rtti_test): Likewise.
2678
6be47f0c
KS
26792014-06-16 Keith Seitz <keiths@redhat.com>
2680
2681 PR mi/15863
2682 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2683 the inferior is started.
2684
d03de421
PA
26852014-06-16 Pedro Alves <palves@redhat.com>
2686
2687 * gdb.base/break-main-file-remove-fail.c: New file.
2688 * gdb.base/break-main-file-remove-fail.exp: New file.
2689 * gdb.base/break-unload-file.exp: Use build_executable instead of
2690 prepare_for_testing.
2691 (test_break): New parameter "initial_load". Handle it.
2692 (top level): Add initial_load cmdline/file axis.
2693
f9579b99
TT
26942014-06-12 Tom Tromey <tromey@redhat.com>
2695
2696 * gdb.base/completion.exp: Don't use directory name in test.
2697
3657956b
GB
26982014-06-09 Gary Benson <gbenson@redhat.com>
2699
2700 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2701 separate the always-available ANSI-standard signals from the
2702 signals that require checking.
2703 (main): Likewise.
2704 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2705 Likewise.
2706 (main): Likewise.
2707
4186eb54
KS
27082014-06-07 Keith Seitz <keiths@redhat.com>
2709
2710 Revert:
2711 PR c++/16253
2712 * gdb.cp/var-tag.cc: New file.
2713 * gdb.cp/var-tag.exp: New file.
2714 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2715 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2716 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2717 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2718
25326a28 27192014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
2720
2721 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2722
829155c9
PA
27232014-06-06 Pedro Alves <palves@redhat.com>
2724
2725 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2726 in target debug output instead of looking at RSP packets,
2727 disabling the test on any target that uses hardware stepping.
2728 Update comments.
2729
61c8d22e
PA
27302014-06-06 Pedro Alves <palves@redhat.com>
2731
2732 * gdb.base/break-unload-file.exp: Fix typo.
2733
d9a47287
YQ
27342014-06-06 Yao Qi <yao@codesourcery.com>
2735
2736 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2737 from "jit_function" to "^jit_function".
2738
e5e01dbf
YQ
27392014-06-06 Yao Qi <yao@codesourcery.com>
2740
2741 * gdb.base/async.c (foo): Add one statement.
2742 * gdb.base/async.exp: Get the next instruction address and
2743 match the output of "nexti" by instruction address. Match
2744 the hex address in the output of "finish".
2745
73ba372c
GB
27462014-06-06 Gary Benson <gbenson@redhat.com>
2747
2748 * gdb.base/call-signals.c: Remove preprocessor conditionals
2749 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2750 SIGSEGV and SIGTERM.
2751 * gdb.base/sigall.c: Likewise.
2752 * gdb.base/unwindonsignal.c: Likewise.
2753 * gdb.reverse/sigall-reverse.c: Likewise.
2754
831517df
YQ
27552014-06-06 Yao Qi <yao@codesourcery.com>
2756
2757 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2758 readable, skip the test.
2759
b8b91e98
YQ
27602014-06-06 Yao Qi <yao@codesourcery.com>
2761
2762 * gdb.threads/staticthreads.c (thread_function): Move the line
2763 setting breakpoint on forward.
2764 * gdb.threads/staticthreads.exp: Update comments.
2765
fb934770
LC
27662014-06-05 Ludovic Courtès <ludo@gnu.org>
2767
2768 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2769 "history-append! type error".
2770
6ef284bd
SM
27712014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2772
2773 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2774 erroneous dprintf expected input.
2775
a872e241
DE
27762014-06-04 Doug Evans <xdje42@gmail.com>
2777
2778 * gdb.guile/scm-generics.exp: Delete.
2779
16f691fb
DE
27802014-06-04 Doug Evans <xdje42@gmail.com>
2781
2782 * gdb.guile/scm-breakpoint.exp: Update.
2783 Add tests for breakpoint registration.
2784
012370f6
TT
27852014-06-04 Tom Tromey <tromey@redhat.com>
2786
2787 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2788 VLA-in-union.
2789 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2790 inner_vla_struct, vla_union types. Initialize objects of those
2791 types and compute their sizes.
2792
9f5a4cef
HZ
27932014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2794 Hui Zhu <hui@codesourcery.com>
2795
2796 * gdb.base/fileio.exp: Add test for shell not available as well as
2797 available.
2798 * gdb.base/fileio.c (test_system): Check for shell twice.
2799
90a45c4d
YQ
28002014-06-04 Yao Qi <yao@codesourcery.com>
2801
2802 * gdb.base/auto-connect-native-target.exp: Remove redundant
2803 space from the regexp pattern.
2804
70017e41
YQ
28052014-06-04 Yao Qi <yao@codesourcery.com>
2806
2807 * gdb.base/default.exp: Replace "child" with "native" in
2808 regexp pattern.
2809
883964a7
SC
28102014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2811
2812 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2813 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2814 * gdb.python/py-xmethods.py: Python script supporting the
2815 new testcase and tests.
2816
ef370185
JB
28172014-06-03 Joel Brobecker <brobecker@adacore.com>
2818 Pedro Alves <palves@redhat.com>
2819
2820 PR breakpoints/17000
2821 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2822 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2823
1e2ccb61
BM
28242014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2825
2826 * gdb.base/subst.exp: Add tests to verify partial path matching
2827 output.
2828
c6ec5ab2
PA
28292014-06-03 Pedro Alves <palves@redhat.com>
2830
2831 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2832 target that doesn't use software single-stepping.
2833
835c559f
PA
28342014-06-03 Pedro Alves <palves@redhat.com>
2835
2836 PR breakpoints/17000
2837 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2838 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2839
06eb1586
DE
28402014-06-02 Doug Evans <xdje42@gmail.com>
2841
2842 * gdb.guile/scm-parameter.exp: New file.
2843
e698b8c4
DE
28442014-06-02 Doug Evans <xdje42@gmail.com>
2845
2846 * gdb.guile/scm-cmd.c: New file.
2847 * gdb.guile/scm-cmd.exp: New file.
2848
ded03782
DE
28492014-06-02 Doug Evans <xdje42@gmail.com>
2850
2851 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2852 pretty-printer lookup.
2853 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2854 (make-pp_s-printer): Call it.
2855 (make-pretty-printer-from-dict): New function.
2856 (lookup-pretty-printer-maker-from-dict): New function.
2857 (*pretty-printer*): Simplify.
2858 (make-objfile-pp_s-printer): New function.
2859 (install-objfile-pretty-printers!): New function.
2860 (make-progspace-pp_s-printer): New function.
2861 (install-progspace-pretty-printers!): New function.
2862 * gdb.guile/scm-progspace.c: New file.
2863 * gdb.guile/scm-progspace.exp: New file.
2864
41fac0cf
PA
28652014-06-02 Pedro Alves <palves@redhat.com>
2866
2867 * gdb.base/dprintf-bp-same-addr.c: New file.
2868 * gdb.base/dprintf-bp-same-addr.exp: New file.
2869
96ae5695
EBM
28702014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2871
2872 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2873 * gdb.arch/powerpc-power.s: Likewise.
2874
da02b3a8
JB
28752014-06-02 Joel Brobecker <brobecker@adacore.com>
2876
2877 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2878
c72b2e7b
YQ
28792014-06-01 Yao Qi <yao@codesourcery.com>
2880
2881 * gdb.base/watchpoint.exp (test_watch_location): Check null
2882 pointer can be dereferenced. If not, do the test, otherwise
2883 skip it.
2884
53e8a631
AB
28852014-05-30 Andrew Burgess <aburgess@broadcom.com>
2886
2887 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2888 results.
2889 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2890
938f0e2f
AB
28912014-05-30 Andrew Burgess <aburgess@broadcom.com>
2892
2893 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2894 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2895 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2896 * gdb.arch/amd64-invalid-stack-top.c: New file.
2897 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2898
9ba6657a
PA
28992014-05-30 Pedro Alves <palves@redhat.com>
2900
2901 PR breakpoints/17000
2902 * gdb.base/sss-bp-on-user-bp.c: New file.
2903 * gdb.base/sss-bp-on-user-bp.exp: New file.
2904
522c09bf
DB
29052014-05-30 David Blaikie <dblaikie@gmail.com>
2906
2907 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2908 gnu_inline semantics via attribute.
2909 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2910 source explicitly specifies the required semantics.
2911
bf4ef81e
MR
29122014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2913
2914 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2915
329ea579
PA
29162014-05-29 Pedro Alves <palves@redhat.com>
2917 Tom Tromey <tromey@redhat.com>
2918
2919 * gdb.base/async-shell.exp: Don't enable target-async.
2920 * gdb.base/async.exp
2921 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2922 parameter. Adjust.
2923 (top level): Don't test with "target-async".
2924 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2925 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2926 * gdb.base/inferior-died.exp: Don't enable target-async.
2927 * gdb.base/interrupt-noterm.exp: Likewise.
2928 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2929 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2930 * gdb.mi/mi-nonstop.exp: Likewise.
2931 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2932 * gdb.mi/mi-nsintrall.exp: Likewise.
2933 * gdb.mi/mi-nsmoribund.exp: Likewise.
2934 * gdb.mi/mi-nsthrexec.exp: Likewise.
2935 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2936 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2937 * gdb.python/py-evsignal.exp: Don't enable target-async.
2938 * gdb.python/py-evthreads.exp: Likewise.
2939 * gdb.python/py-prompt.exp: Likewise.
2940 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2941 * gdb.server/solib-list.exp: Don't enable target-async.
2942 * gdb.threads/thread-specific-bp.exp: Likewise.
2943 * lib/mi-support.exp: Adjust to use mi-async.
2944
fd664c91
PA
29452014-05-29 Pedro Alves <palves@redhat.com>
2946
2947 PR gdb/13860
2948 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2949 reason, even in sync mode.
2950
251bde03
PA
29512014-05-29 Pedro Alves <palves@redhat.com>
2952 Hui Zhu <hui@codesourcery.com>
2953
2954 PR PR15693
2955 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2956 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2957 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2958 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2959
7f3c0343
JB
29602014-05-28 Joel Brobecker <brobecker@adacore.com>
2961
2962 * config/monitor.exp (gdb_target_monitor): Replace use of
2963 "set remotebaud" by "set serial baud".
2964
b2715b27
AW
29652014-05-26 Andy Wingo <wingo@igalia.com>
2966
2967 * gdb.guile/scm-breakpoint.exp:
2968 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2969 properties instead of gdb-object-properties.
2970
498a4489
YQ
29712014-05-26 Yao Qi <yao@codesourcery.com>
2972
2973 * gdb.server/no-thread-db.exp: Specify source file name
2974 explicitly when setting a breakpoint.
2975
589fdceb
MM
29762014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2977
2978 * gdb.btrace/vdso.c: New.
2979 * gdb.btrace/vdso.exp: New.
2980
e9089e05
MM
29812014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2982
2983 * gdb.base/gcore.exp (capture_command_output): Move ...
2984 * lib/gdb.exp (capture_command_output): ... here.
2985
67b5c0c1
MM
29862014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2987
2988 * gdb.btrace/data.exp: Test memory access during btrace replay.
2989
a2199296
SM
29902014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2991
2992 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2993
17b2616c
PA
29942014-05-21 Pedro Alves <palves@redhat.com>
2995
2996 PR gdb/13860
2997 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2998 (top level): Test that output related to execution commands is
2999 sent to the console with CLI commands, but not with MI commands.
3000 Test that breakpoint events are always mirrored to the console.
3001 Also expect the new source line to be output after a "next" in
3002 async mode too. Make it a pass/fail test.
3003 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3004 output.
3005 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3006
5166082f
PA
30072014-05-21 Pedro Alves <palves@redhat.com>
3008
3009 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3010 Use them to test variations of "list" after reaching a breakpoint.
3011 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3012 Test "list" with listsize 10 after reaching a breakpoint.
3013 * gdb.python/python.exp (decode_line current location line
3014 number): Adjust expected line number.
3015
2f25d70f
SM
30162014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3017
3018 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3019 behavior for $args, pass it directly to "run".
3020
ff604a67
MR
30212014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3022
3023 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3024 30000 to 65536.
3025
6a3cb8e8
PA
30262014-05-21 Pedro Alves <palves@redhat.com>
3027
3028 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3029 auto-connect-native-target off".
3030 * gdb.base/auto-connect-native-target.c: New file.
3031 * gdb.base/auto-connect-native-target.exp: New file.
3032
4ebfc96e
PA
30332014-05-21 Pedro Alves <palves@redhat.com>
3034
3035 * gdb.base/default.exp: Test "target native" instead of "target
3036 child".
3037
36d46afb
MW
30382014-05-21 Mark Wielaard <mjw@redhat.com>
3039
3040 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3041
5876f503
JK
30422014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3043
3044 Fix TLS access for -static -pthread.
3045 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3046 <HAVE_TLS> (thread_function, main): Initialize it.
3047 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3048 Add clean_restart.
3049 <$have_tls != "">: Check TLSVAR.
3050
0256a6ac
PA
30512014-05-21 Pedro Alves <palves@redhat.com>
3052
3053 * gdb.base/dcache-line-read-error.c: New.
3054 * gdb.base/dcache-line-read-error.exp: New.
3055
936d2992
PA
30562014-05-20 Pedro Alves <palves@redhat.com>
3057
3058 * gdb.base/compare-sections.c: New file.
3059 * gdb.base/compare-sections.exp: New file.
3060
802e8e6d
PA
30612014-05-20 Pedro Alves <palves@redhat.com>
3062
3063 * gdb.base/break-idempotent.c: New file.
3064 * gdb.base/break-idempotent.exp: New file.
3065
e59fa00f
MM
30662014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3067
3068 * gdb.btrace/nohist.exp: New.
3069
8b696e31
YQ
30702014-05-20 Yao Qi <yao@codesourcery.com>
3071
3072 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3073 gdb.reverse directory and gdb_reverse_timeout exists in board
3074 setting.
3075 * README: Document gdb_reverse_timeout.
3076
73c9764f
YQ
30772014-05-20 Yao Qi <yao@codesourcery.com>
3078
3079 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3080 'test_file_name'. Treat args as a string instead of a list.
3081 (gdb_init): Rename argument 'args' by 'test_file_name'.
3082
f1f4348a
JK
30832014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3084
3085 * gdb.arch/powerpc-power.exp: New file.
3086 * gdb.arch/powerpc-power.s: New file.
3087
0dbe70ce
DE
30882014-05-16 Doug Evans <dje@google.com>
3089
3090 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3091 * gdb.base/completion.exp: Check that all expected files exist
3092 before doing file completion.
0dbe70ce 3093
8d551b02
DE
30942014-05-16 Doug Evans <dje@google.com>
3095
3096 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3097 Update.
3098 (do_syscall_tests_without_xml): Update.
3099
73eb7709
PA
31002014-05-16 Pedro Alves <palves@redhat.com>
3101
3102 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3103 instead of "unknown output after running".
3104
3fae92fc
YQ
31052014-05-16 Yao Qi <yao@codesourcery.com>
3106
3107 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3108 file1.txt from host at the end.
3109 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3110
c2b2ccc5
DE
31112014-05-15 Doug Evans <dje@google.com>
3112
3113 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3114 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3115 loading file. Add test for TU lookup.
3116
8c217a4b
SM
31172014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3118
3119 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3120 calling "-exec-arguments" or "set args" before running the
3121 inferior.
3122
3deb39c6
SM
31232014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3124
3125 * lib/mi-support.exp (mi_expect_stop): Expect message for
3126 inferiors that exit with non-zero exit code.
3127
71a79f8c
YQ
31282014-05-14 Yao Qi <yao@codesourcery.com>
3129
3130 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3131 match absolute path on remote host.
3132 (test_file_list_exec_source_files): Remove "/" from the
3133 pattern.
3134
f23fcd46
YQ
31352014-05-14 Yao Qi <yao@codesourcery.com>
3136
3137 * boards/local-remote-host-notty.exp (${board}_file): New
3138 proc.
3139
9404b58f
KM
31402014-05-07 Kyle McMartin <kyle@redhat.com>
3141
3142 Pushed by Joel Brobecker <brobecker@adacore.com>.
3143 * gdb.arch/aarch64-atomic-inst.c: New file.
3144 * gdb.arch/aarch64-atomic-inst.exp: New file.
3145
5e45f04c
YQ
31462014-05-07 Yao Qi <yao@codesourcery.com>
3147
3148 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3149 in current context" too.
3150
c888a17d
KS
31512014-05-05 Keith Seitz <keiths@redhat.com>
3152
3153 * gdb.linespec/ls-dollar.exp: Add test for linespec
3154 file:convenience_variable.
3155
290a839c
YQ
31562014-05-05 Yao Qi <yao@codesourcery.com>
3157
3158 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3159 traceframes into tfile and ctf trace files. Read data from
3160 trace file and test collected data.
3161 (gdb_collect_locals_test): Likewise.
3162 (gdb_unavailable_registers_test): Likewise.
3163 (gdb_unavailable_floats): Likewise.
3164 (gdb_collect_globals_test): Likewise.
3165 (top-level): Append "ctf" to trace_file_targets if GDB
3166 supports.
3167
b5262cd0
YQ
31682014-05-05 Yao Qi <yao@codesourcery.com>
3169
3170 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3171 code to ...
3172 (gdb_collect_args_test_1): ... it. New proc.
3173 (gdb_collect_locals_test): Move some code to ...
3174 (gdb_collect_locals_test_1): ... it. New proc.
3175 (gdb_unavailable_registers_test): Move some code to ...
3176 (gdb_unavailable_registers_test_1): ... it. New proc.
3177 (gdb_unavailable_floats): Move some code to ...
3178 (gdb_unavailable_floats_1): ... it. New proc.
3179
30a1e6cc
SDJ
31802014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3181
3182 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3183 probes to test for bitness recognition.
3184 * gdb.arch/amd64-stap-optional-prefix.exp
3185 (test_probe_value_without_reg): New procedure.
3186 Add code to test for different kinds of bitness.
3187
f33da99a
SDJ
31882014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3189
3190 PR breakpoints/16889
3191 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3192 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3193
5b80f00d
PA
31942014-05-01 Pedro Alves <palves@redhat.com>
3195
3196 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3197 gdb_file_cmd if no file is specified.
3198 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3199 last_loaded_file to set the remote exec-file.
3200
f8c2a73c
PA
32012014-05-01 Pedro Alves <palves@redhat.com>
3202
3203 * boards/local-remote-host.exp: New file.
3204
be6e8ac7
PA
32052014-05-01 Pedro Alves <palves@redhat.com>
3206
3207 * boards/local-remote-host.exp: Rename to ...
3208 * boards/local-remote-host-notty.exp: ... this.
3209
cac0dc8f
JB
32102014-04-28 Joel Brobecker <brobecker@adacore.com>
3211
3212 * gdb.ada/dyn_arrayidx: New testcase.
3213
9730e6cc
YQ
32142014-04-26 Yao Qi <yao@codesourcery.com>
3215
3216 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3217 and compute the length of function main. Save it in
3218 $main_length.
3219 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3220 (top-level): Use gdb_compile to compile objects into
3221 executable and restart GDB. Remove invocation to
3222 prepare_for_testing.
3223
7ae1a6a6
PA
32242014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3225 Pedro Alves <palves@redhat.com>
3226
3227 PR server/16255
3228 * gdb.multi/multi-attach.c: New file.
3229 * gdb.multi/multi-attach.exp: New file.
3230
4082afcc
PA
32312014-04-25 Pedro Alves <palves@redhat.com>
3232
3233 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3234 user.
3235 (top level): Test that "set remote conditional-breakpoints-packet
3236 off" works as intended.
3237 * gdb.base/dprintf.exp: Test that "set remote
3238 breakpoint-commands-packet off" works as intended.
3239 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3240 New function.
3241 (top level): Call it.
3242 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3243 remote fast-tracepoints-packet off" works as intended.
3244 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3245 * lib/gdb.exp (gdb_is_target_remote): ... here.
3246
2abc3f8d
DB
32472014-04-24 David Blaikie <dblaikie@gmail.com>
3248
3249 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3250 ensure clang would not discard them.
3251 * gdb.base/gdbvars.c: Ditto.
3252 * gdb.base/memattr.c: Ditto.
3253 * gdb.base/whatis.c: Ditto.
3254 * gdb.python/py-prettyprint.c: Ditto.
3255 * gdb.trace/actions.c: Ditto.
3256 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3257 ensure clang would not discard it.
3258
bfd39632
DB
32592014-04-24 David Blaikie <dblaikie@gmail.com>
3260
3261 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3262 clang to emit the full definition of type required by the test
3263 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3264
22842ff6
DB
32652014-04-24 David Blaikie <dblaikie@gmail.com>
3266
3267 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3268 coax Clang into emitting the definition of the type.
3269 * gdb.cp/pr10728-x.h (y): Ditto.
3270 * gdb.cp/pr10728-y.cc (y): Ditto.
3271
c2e827ad
DB
32722014-04-24 David Blaikie <dblaikie@gmail.com>
3273
3274 * gdb.base/label.exp: XFAIL label related tests under Clang.
3275 * gdb.cp/cplabel.exp: Ditto.
3276 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3277 under Clang those using labels.
3278
4c2d33e7
YQ
32792014-04-25 Yao Qi <yao@codesourcery.com>
3280
3281 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3282 double_label.
3283 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3284 partial_label and double_label.
3285
56083b99
DB
32862014-04-24 David Blaikie <dblaikie@gmail.com>
3287
3288 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3289
25d4e99d
DB
32902014-04-24 David Blaikie <dblaikie@gmail.com>
3291
3292 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3293 of the function to work across GCC and Clang.
3294 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3295 pointer types (const void ** const V void **).
3296
01f9f808
MS
32972014-04-24 Michael Sturm <michael.sturm@mintel.com>
3298 Walfred Tedeschi <walfred.tedeschi@intel.com>
3299
3300 * Makefile.in (EXECUTABLES): Added i386-avx512.
3301 * gdb.arch/i386-avx512.c: New file.
3302 * gdb.arch/i386-avx512.exp: Likewise.
3303
4b48d439
KS
33042014-04-23 Keith Seitz <keiths@redhat.com>
3305
3306 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3307 (mi_make_breakpoint_table): New procedure.
3308 (mi_create_breakpoint): Use mi_make_breakpoint
3309 and return the result.
3310 (mi_make_breakpoint): New procedure.
3311 (mi_build_kv_pairs): New procedure.
3312
3313 * gdb.mi/mi-break.exp: Remove unused globals,
3314 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3315 All callers updated.
3316 * gdb.mi/mi-dprintf.exp: Use variable to track command
3317 number.
3318 Update all callers of mi_create_breakpoint and use
3319 mi_make_breakpoint_table.
3320 Remove any unused global variables.
3321 * gdb.mi/mi-nonstop.exp: Likewise.
3322 * gdb.mi/mi-nsintrall.exp: Likewise.
3323 * gdb.mi/mi-nsmoribund.exp: Likewise.
3324 * gdb.mi/mi-nsthrexec.exp: Likewise.
3325 * gdb.mi/mi-reverse.exp: Likewise.
3326 * gdb.mi/mi-simplerun.exp: Likewise.
3327 * gdb.mi/mi-stepn.exp: Likewise.
3328 * gdb.mi/mi-syn-frame.exp: Likewise.
3329 * gdb.mi/mi-until.exp: Likewise.
3330 * gdb.mi/mi-var-cp.exp: Likewise.
3331 * gdb.mi/mi-var-display.exp: Likewise.
3332 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3333 * gdb.mi/mi2-var-child.exp: Likewise.
3334 * gdb.mi/mi-vla-c99.exp: Likewise.
3335 * lib/mi-support.exp: Likewise.
3336
3337 From Ian Lance Taylor <iant@cygnus.com>:
3338 * lib/gdb.exp (parse_args): New procedure.
3339
08351840
PA
33402014-04-23 Pedro Alves <palves@redhat.com>
3341
3342 * gdb.base/break-unload-file.c: New file.
3343 * gdb.base/break-unload-file.exp: New file.
3344 * gdb.base/sym-file-lib.c (baz): New function.
3345 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3346 field.
3347 (load): Store the segment's mapped size.
3348 (unload): New function.
3349 (unload_shlib): New function.
3350 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3351 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3352 set a breakpoint at baz, and call it.
3353 * gdb.base/sym-file.exp: New tests for stale breakpoint
3354 instructions.
3355
076855f9
PA
33562014-04-23 Pedro Alves <palves@redhat.com>
3357
3358 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3359 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3360 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3361 * gdb.base/hbreak-unmapped.c: New file.
3362 * gdb.base/hbreak-unmapped.exp: New file.
3363 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3364 * lib/gdb.exp (gdb_is_target_remote): ... here.
3365
483805cf
PA
33662014-04-22 Pedro Alves <palves@redhat.com>
3367
3368 * gdb.base/consecutive-step-over.c: New file.
3369 * gdb.base/consecutive-step-over.exp: New file.
3370
06d97543
PA
33712014-04-22 Pedro Alves <palves@redhat.com>
3372
3373 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3374 instead of send_gdb/gdb_expect.
3375
b4429ea2
YQ
33762014-04-22 Yao Qi <yao@codesourcery.com>
3377
3378 * lib/trace-support.exp (generate_tracefile): New procedure.
3379 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3380 return 0.
3381 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3382 if generate_tracefile returns 1.
3383
51d48146
PA
33842014-04-18 Tom Tromey <palves@redhat.com>
3385 Pedro alves <tromey@redhat.com>
3386
3387 PR backtrace/15558
3388 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3389 with a backtrace limit.
3390 * gdb.python/py-frame-inline.exp: Test running to an inline
3391 function with a backtrace limit, and printing the newest frame.
3392 * gdb.python/py-frame-inline.c (main): Call f.
3393
bd1dce5f
MS
33942014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3395
3396 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3397
40d1a503
MS
33982014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3399
3400 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3401 Drop prefix from unsupported source file path.
3402
389b98f7
YQ
34032014-04-17 Yao Qi <yao@codesourcery.com>
3404
3405 * lib/gdb.exp (with_target_charset): New proc.
3406 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3407 with_target_charset.
3408 (test_print_strings): Likewise.
3409 (test_repeat_bytes): Likewise.
3410 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3411 for some tests.
3412
22869d73
KS
34132014-04-16 Keith Seitz <keiths@redhat.com>
3414
3415 PR gdb/15827
3416 * gdb.dwarf2/corrupt.c: New file.
3417 * gdb.dwarf2/corrupt.exp: New file.
3418
c4f87ca6
KS
34192014-04-16 Keith Seitz <keiths@redhat.com>
3420
3421 PR c++/16597
3422 * gdb.cp/namelessclass.cc: New file.
3423 * gdb.cp/namelessclass.exp: New file.
3424 * gdb.cp/namelessclass.S: New file.
3425
ab19de87
DE
34262014-04-16 Doug Evans <dje@google.com>
3427
3428 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3429 Add comment.
3430 (gdbserver_default_get_comm_port): New function.
3431 (gdbserver_start): Check if board file provided
3432 "gdbserver,get_comm_port" and use it if so.
3433 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3434 (gdb,socketport): Set to "stdio".
3435 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3436 (stdio_gdbserver_template): Delete.
3437 (${board}_get_remote_address): Update.
3438 (${board}_build_remote_cmd): Delete.
3439 (${board}_get_comm_port): New function.
3440 (${board}_spawn): Update.
3441 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3442 Delete.
3443 (${board}_get_remote_address): Update.
3444 (${board}_get_comm_port): New function.
3445
fc98a809
AB
34462014-04-16 Andrew Burgess <aburgess@broadcom.com>
3447
3448 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3449 appearing in any order.
3450
87fd9e6e
DE
34512014-04-15 Doug Evans <dje@google.com>
3452
3453 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3454 uninitialized value of "description".
3455
099fc3ea
KS
34562014-04-15 Keith Seitz <keiths@redhat.com>
3457
3458 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3459 Remove unused globals.
3460 (test_running_the_program): Likewise.
3461 (test_controlled_execution): Likewise.
3462 (test_controlling_breakpoints): Likewise.
3463 (test_program_termination): Likewise.
3464
5da151d4
KS
34652014-04-15 Keith Seitz <keiths@redhat.com>
3466
3467 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3468 unused globals.
3469 (test_rbreak_creation_and_listing): Likewise.
3470 (test_ignore_count): Likewise.
3471 (test_error): Likewise.
3472
35e5d2f0
PA
34732014-04-15 Pedro Alves <palves@redhat.com>
3474
3475 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3476 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3477 sym-file-loader.c.
3478 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3479 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3480 to sym-file-loader.c.
3481 (struct library): Forward declare.
3482 (load_shlib, lookup_function): Change prototypes.
3483 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3484 (translate_offset): Remove declarations.
3485 (get_text_addr): New declaration.
3486 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3487 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3488 sym-file-loader.h.
3489 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3490 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3491 here from sym-file-loader.h.
3492 (struct library): New structure.
3493 (load_shlib, lookup_function): Change prototypes and adjust to
3494 work with a struct library.
3495 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3496 (translate_offset): Make static.
3497 (get_text_addr): New function.
3498 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3499
eb4c1710
PA
35002014-04-15 Pedro Alves <palves@redhat.com>
3501
3502 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3503
2d1baf52
PA
35042014-04-15 Pedro Alves <palves@redhat.com>
3505
3506 * gdb.base/sym-file-loader.c: Include <limits.h>.
3507 (SELF_LINK): New define.
3508 (get_origin): New function.
3509 (load_shlib): Use it.
3510 * gdb.base/sym-file.exp: Don't early return if the target is
3511 remote. Use runto_main, and issue fail is that fails. Use
3512 gdb_load_shlibs.
3513 (shlib_name): Delete.
3514 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3515
7dd6df01
PA
35162014-04-15 Pedro Alves <palves@redhat.com>
3517
3518 * gdb.base/sym-file.exp: Remove regex characters from test
3519 message. Don't refer to breakpoint numbers in test messages.
3520
b50c8614
KS
35212014-04-14 Keith Seitz <keiths@redhat.com>
3522
3523 PR c++/16253
3524 * gdb.cp/var-tag.cc: New file.
3525 * gdb.cp/var-tag.exp: New file.
3526 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3527 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3528 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3529 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3530
3d567982
TT
35312014-04-14 Tom Tromey <tromey@redhat.com>
3532
3533 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3534 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3535 type.
3536 * gdb.cp/enum-class.exp: New file.
3537 * gdb.cp/enum-class.cc: New file.
3538
0626fc76
TT
35392014-04-14 Tom Tromey <tromey@redhat.com>
3540
3541 * gdb.dwarf2/enum-type.exp: New file.
3542
dca325b3
SA
35432014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3544
3545 * gdb.mi/mi-vla-c99.exp: New file.
3546 * gdb.mi/vla.c: New file.
3547
5854b38a
SA
35482014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3549
3550 * gdb.base/vla-datatypes.c: New file.
3551 * gdb.base/vla-datatypes.exp: New file.
3552
463bb957
SA
35532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3554
3555 * gdb.base/vla-ptr.c: New file.
3556 * gdb.base/vla-ptr.exp: New file.
3557
3dd170be
SA
35582014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3559
3560 * gdb.dwarf2/count.exp: New file.
3561
5ecaaa66
SA
35622014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3563
3564 * gdb.base/vla-sideeffect.c: New file.
3565 * gdb.base/vla-sideeffect.exp: New file.
3566
41f1ada5
DB
35672014-04-14 David Blaikie <dblaikie@gmail.com>
3568
3569 * gdb.mi/non-stop.c: Add return value for non-void function return
3570 statement.
3571 * gdb.threads/staticthreads.c: Ditto.
3572
0be03e84
DE
35732014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3574 Doug Evans <xdje42@gmail.com>
3575
3576 * gdb.guile/scm-value.c: Improve test case.
3577 * gdb.guile/scm-value.exp: Add new test.
3578
f180a1fb
DB
35792014-04-11 David Blaikie <dblaikie@gmail.com>
3580
3581 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3582 override Clang's default.
3583
6b662e19
JB
35842014-04-11 Joel Brobecker <brobecker@adacore.com>
3585
3586 Revert the following changes (regressions):
3587
3588 * gdb.base/vla-sideeffect.c: New file.
3589 * gdb.base/vla-sideeffect.exp: New file.
3590
3591 * gdb.dwarf2/count.exp: New file.
3592
3593 * gdb.base/vla-multi.c: New file.
3594 * gdb.base/vla-multi.exp: New file.
3595
3596 * gdb.base/vla-ptr.c: New file.
3597 * gdb.base/vla-ptr.exp: New file.
3598
3599 * gdb.base/vla-datatypes.c: New file.
3600 * gdb.base/vla-datatypes.exp: New file.
3601
3602 * gdb.mi/mi-vla-c99.exp: New file.
3603 * gdb.mi/vla.c: New file.
3604
245a5f0b
KS
36052014-04-11 Keith Seitz <keiths@redhat.com>
3606
3607 PR c++/16675
3608 * gdb.cp/cpsizeof.exp: New file.
3609 * gdb.cp/cpsizeof.cc: New file.
3610
58a84dcf
SA
36112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3612
191a8a90
JB
3613 * gdb.mi/mi-vla-c99.exp: New file.
3614 * gdb.mi/vla.c: New file.
58a84dcf 3615
c8655f75
SA
36162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3617
3618 * gdb.base/vla-datatypes.c: New file.
3619 * gdb.base/vla-datatypes.exp: New file.
3620
024e13b4
SA
36212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3622
3623 * gdb.base/vla-ptr.c: New file.
3624 * gdb.base/vla-ptr.exp: New file.
3625
1a237e0e
SA
36262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3627
3628 * gdb.base/vla-multi.c: New file.
3629 * gdb.base/vla-multi.exp: New file.
3630
504f3432
SA
36312014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3632
3633 * gdb.dwarf2/count.exp: New file.
3634
3bce8237
SA
36352014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3636
191a8a90
JB
3637 * gdb.base/vla-sideeffect.c: New file.
3638 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 3639
322f9c21
YQ
36402014-04-11 Yao Qi <yao@codesourcery.com>
3641
3642 * gdb.base/completion.exp: Check file exists before running tests
3643 on file completion.
3644
d708bcd1
PA
36452014-04-10 Pedro Alves <palves@redhat.com>
3646
3647 * gdb.base/cond-eval-mode.c: New file.
3648 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3649 prepare_for_testing to build the new file. Check result of
3650 runto_main.
3651 (test_break, test_watch): New procedures.
3652 (top level): Use them.
3653
ae1d2761
PM
36542014-04-08 Pierre Muller <muller@sourceware.org>
3655
3656 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3657 Ctrl-V use for mingw hosts.
3658
7af389b8
SC
36592014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3660
3661 * gdb.python/py-value.c: Improve test case.
3662 * gdb.python/py-value.exp: Add new test.
3663
5e703181
DE
36642014-04-07 David Blaikie <dblaikie@gmail.com>
3665
3666 * lib/compiler.c: Identify the clang compiler.
3667 * lib/compiler.cc: Ditto.
3668
9810b410
YQ
36692014-04-03 Yao Qi <yao@codesourcery.com>
3670
3671 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3672
98d1b8dc
AB
36732014-04-01 Anton Blanchard <anton@samba.org>
3674
3675 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3676 messages unique.
3677
3114cea1
AB
36782014-04-01 Anton Blanchard <anton@samba.org>
3679
3680 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3681 prepare_for_testing.
3682
62f7182c
AB
36832014-04-01 Anton Blanchard <anton@samba.org>
3684
3685 * gdb.arch/ppc64-atomic-inst.c: Remove.
3686 * gdb.arch/ppc64-atomic-inst.S: New file.
3687 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3688
770e7fc7
DE
36892014-03-31 Doug Evans <dje@google.com>
3690
3691 * gdb.base/print-symbol-loading-lib.c: New file.
3692 * gdb.base/print-symbol-loading-main.c: New file.
3693 * gdb.base/print-symbol-loading.exp: New file.
3694
46e2bafa
YQ
36952014-03-31 Yao Qi <yao@codesourcery.com>
3696
3697 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3698
8776cfe9
JB
36992014-03-28 Joel Brobecker <brobecker@adacore.com>
3700
3701 * gdb.ada/mi_dyn_arr: New testcase.
3702
5d1ef361
DE
37032014-03-27 Doug Evans <dje@google.com>
3704
3705 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3706
b5bee914
YQ
37072014-03-27 Yao Qi <yao@codesourcery.com>
3708
3709 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3710 if target is nios2-*-*.
3711
0d4d0e77
YQ
37122014-03-26 Yao Qi <yao@codesourcery.com>
3713
3714 * lib/gdb.exp (readline_is_used): New proc.
3715 * gdb.base/completion.exp: Move tests on command complete up.
3716 Skip the rest of tests if readline is not used.
3717 * gdb.ada/complete.exp: Skp the test if readline is not
3718 used.
3719 * gdb.base/filesym.exp: Likewise.
3720 * gdb.base/macscp.exp: Likewise.
3721 * gdb.base/readline-ask.exp: Likewise.
3722 * gdb.base/readline.exp: Likewise.
3723 * gdb.python/py-cmd.exp: Likewise.
3724 * gdb.trace/tfile.exp: Likewise.
3725
29361eee
YQ
37262014-03-26 Yao Qi <yao@codesourcery.com>
3727
3728 * gdb.base/macscp.exp: Fix code format issues.
3729
bc9a5525
UW
37302014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3731
3732 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3733 * gdb.asm/powerpc64le.inc: New file.
3734
d3839ede
PA
37352014-03-25 Pedro Alves <palves@redhat.com>
3736 Doug Evans <dje@google.com>
3737
3738 * gdb.base/source-execution.c: New file.
3739 * gdb.base/source-execution.exp: New file.
3740 * gdb.base/source-execution.gdb: New file.
3741
01672a57
DE
37422014-03-24 Doug Evans <dje@google.com>
3743
3744 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3745 using fission.
3746
88bbeca9
HZ
37472014-03-24 Hui Zhu <hui@codesourcery.com>
3748 Pedro Alves <palves@redhat.com>
3749
3750 PR breakpoints/16101
3751 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3752 test pass/fail messages. Detect missing support for dprintf when
3753 breakpoints are actually inserted.
3754 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3755 breakpoints are actually inserted.
3756 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3757 fails.
3758
d2348791
JK
37592014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3760
3761 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3762
feef67ab
DE
37632014-03-22 Doug Evans <xdje42@gmail.com>
3764
3765 * gdb.python/python.exp (python not supported): Verify multi-line
3766 python command issues an error.
25d743f9 3767 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 3768 guile command issues an error.
feef67ab 3769
ecebef6a
MR
37702014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3771
3772 * gdb.threads/thread-specific.exp: Handle the lack of usable
3773 $this_breakpoint and $this_thread.
3774
ccdd1909
HZ
37752014-03-21 Hui Zhu <hui@codesourcery.com>
3776
3777 * gdb.base/attach.exp (do_command_attach_tests): New.
3778
beb460e8
PA
37792014-03-20 Tom Tromey <tromey@redhat.com>
3780 Pedro Alves <palves@redhat.com>
3781
3782 PR cli/15718
3783 * gdb.base/condbreak-call-false.c: New file.
3784 * gdb.base/condbreak-call-false.exp: New file.
3785
40acf43a
PA
37862014-03-20 Pedro Alves <palves@redhat.com>
3787
3788 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3789 Delete.
3790 (block_signals, unblock_signals): Delete.
3791 (child_function_2, main): Remove references to deleted variable
3792 and functions.
3793
9f5e1e02
PA
37942014-03-20 Pedro Alves <palves@redhat.com>
3795
3796 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3797 Use pthread_kill to signal thread 2.
3798 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3799 Adjust to make the test send itself a signal rather than using the
3800 host's "kill" command.
3801
99619bea
PA
38022014-03-20 Pedro Alves <palves@redhat.com>
3803
3804 * gdb.threads/multiple-step-overs.c: New file.
3805 * gdb.threads/multiple-step-overs.exp: New file.
3806 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3807 Adjust expected infrun debug output.
3808
2adfaa28
PA
38092014-03-20 Pedro Alves <palves@redhat.com>
3810
3811 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3812 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3813
31e77af2
PA
38142014-03-20 Pedro Alves <palves@redhat.com>
3815
3816 PR breakpoints/7143
3817 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3818 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3819 of gdb_test_multiple.
3820 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3821 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3822
b9f437de
PA
38232014-03-20 Pedro Alves <palves@redhat.com>
3824
3825 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3826 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3827
05adc73e
PA
38282014-03-19 Pedro Alves <palves@redhat.com>
3829
3830 * gdb.base/async.exp: Remove early return.
3831
6048b950
PA
38322014-03-19 Pedro Alves <palves@redhat.com>
3833
3834 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3835
8bcfb00a
PA
38362014-03-19 Pedro Alves <palves@redhat.com>
3837
3838 * gdb.base/async.exp (test_background): Expect \r\n after
3839 "completed." in the fail pattern.
3840
884e37dc
PA
38412014-03-19 Pedro Alves <palves@redhat.com>
3842
3843 * gdb.base/async.exp (test_background): New procedure.
3844 Use it for all background execution command tests.
3845
148e57e2
PA
38462014-03-19 Pedro Alves <palves@redhat.com>
3847
3848 * gdb.base/async.exp: Use prepare_for_testing.
3849
f48088c7
PA
38502014-03-19 Pedro Alves <palves@redhat.com>
3851
3852 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3853 the same line.
3854
e2f6c966
PA
38552014-03-19 Pedro Alves <palves@redhat.com>
3856
3857 * gdb.base/async.c (main): Add "jump here" and "until here" line
3858 marker comments.
3859 * gdb.base/async.exp (jump_here): New global.
3860 (jump& test): Use it.
3861 (until_here): New global.
3862 (until& test): Use it.
3863
c30568d4
PA
38642014-03-19 Pedro Alves <palves@redhat.com>
3865
3866 * gdb.base/async.exp: Don't frob gdb_protocol.
3867
0172b6a7
DE
38682014-03-18 Doug Evans <xdje42@gmail.com>
3869
3870 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3871 Fix spelling of exec-done-display.
3872
06c868a8
JK
38732014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3874
3875 PR gdb/15358
3876 * gdb.base/gdb-sigterm.c: New file.
3877 * gdb.base/gdb-sigterm.exp: New file.
3878
0c7e1a46
PA
38792014-03-18 Pedro Alves <palves@redhat.com>
3880
3881 PR gdb/13860
3882 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3883 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3884 solib-event.
3885
f7c77d93
JB
38862014-03-17 Joel Brobecker <brobecker@adacore.com>
3887
3888 * gdb.ada/pckd_arr_ren: New testcase.
3889
5a1e8c7a
DE
38902014-03-13 Doug Evans <xdje42@gmail.com>
3891
3892 PR guile/16612
3893 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3894 collect after discarding symbols.
3895
350e1a76
DE
38962014-03-13 Ludovic Courtès <ludo@gnu.org>
3897 Doug Evans <xdje42@gmail.com>
3898
3899 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3900 to history survives a gc.
3901
a69900ae
PA
39022014-03-13 Pedro Alves <palves@redhat.com>
3903
3904 * gdb.base/default.exp: Don't test "target procfs".
3905
5db9f0bd
PA
39062014-03-13 Pedro Alves <palves@redhat.com>
3907
3908 * gdb.base/default.exp: Update "target child" and "target procfs"
3909 tests to not expect "Unix".
3910
b3ccfe11
TT
39112014-03-12 Tom Tromey <tromey@redhat.com>
3912
3913 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3914 New procs. Add target-async tests.
3915 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3916 Add target-async tests.
3917
646f4417
AA
39182014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3919
3920 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3921 'func_start' and 'func_end' for the beginning and end of the
3922 function code, respectively.
3923 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3924 'func_end' instead of 'func' and 'main'.
3925
288c211f
AA
39262014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3927
3928 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3929 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3930 generate the debug info assembler source.
3931
e0c0f156
AA
39322014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3933
3934 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3935 * gdb.dwarf2/arr-subrange.exp: Likewise.
3936 * gdb.dwarf2/dwz.exp: Likewise.
3937 * gdb.dwarf2/method-ptr.exp: Likewise.
3938 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3939 * gdb.dwarf2/subrange.exp: Likewise.
3940 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3941 * gdb.dwarf2/implptrpiece.exp: Likewise.
3942 * gdb.dwarf2/nostaticblock.exp: Likewise.
3943
0e5c4555
AA
39442014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3945
3946 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3947 directory to absolute path name arguments.
3948
5ec18f2b
JG
39492014-03-10 Joel Brobecker <brobecker@adacore.com>
3950
3951 * gdb.ada/tagged_access: New testcase.
3952
847fc4f2
MM
39532014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3954
3955 * gdb.btrace/data.exp: Update expected output.
3956
cc3da688
YQ
39572014-03-06 Yao Qi <yao@codesourcery.com>
3958
3959 * gdb.trace/pr16508.exp: New file.
3960
0f26cec1
PA
39612014-03-05 Pedro Alves <palves@redhat.com>
3962
3963 PR gdb/16575
3964 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3965 procedure.
3966 (top level): Adjust to use it. Add tests that exercise breakpoint
3967 interaction with the code-cache.
3968
7a5a839f
LC
39692014-02-26 Ludovic Courtès <ludo@gnu.org>
3970
3971 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3972 test for 'history-append!'.
3973
31aa7e4e
JB
39742014-02-26 Joel Brobecker <brobecker@adacore.com>
3975
3976 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3977 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3978 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3979 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3980 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3981 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3982
1b588015
JB
39832014-02-26 Joel Brobecker <brobecker@adacore.com>
3984
3985 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3986 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3987 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3988
55426c9d
JB
39892014-02-26 Joel Brobecker <brobecker@adacore.com>
3990
3991 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3992
dc53a7ad
JB
39932014-02-26 Joel Brobecker <brobecker@adacore.com>
3994
3995 * gdb.dwarf2/arr-stride.c: New file.
3996 * gdb.dwarf2/arr-stride.exp: New file.
3997
12ab52e9
PA
39982014-02-26 Pedro Alves <palves@redhat.com>
3999
4000 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4001 that won't ever trigger. Make sure that GDB reports the correct
4002 breakpoint that caused the stop.
4003
849c862e
JK
40042014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4005
4006 PR gdb/16626
4007 * gdb.base/auto-load-script: New file.
4008 * gdb.base/auto-load.c: New file.
4009 * gdb.base/auto-load.exp: New file.
4010
71b7d793
JK
4011 PR gdb/16626
4012 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4013
e2f0d509
JK
40142014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4015
4016 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4017 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4018
50cc37c8
DE
40192014-02-24 Doug Evans <dje@google.com>
4020
4021 * lib/gdb.exp (run_on_host): Log error output if program fails.
4022
ea4758f2
PA
40232014-02-21 Pedro Alves <palves@redhat.com>
4024
4025 * gdb.threads/step-after-sr-lock.c: Rename to ...
4026 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4027 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4028 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4029 ... this.
4030
d7b30f67
SDJ
40312014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4032
4033 PR tdep/16397
4034 * gdb.arch/amd64-stap-special-operands.exp: New file.
4035 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4036 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4037 * gdb.arch/amd64-stap-triplet.S: Likewise.
4038 * gdb.arch/amd64-stap-triplet.c: Likewise.
4039
83deb43f
JB
40402014-02-20 Joel Brobecker <brobecker@adacore.com>
4041
4042 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4043 in .section pseudo-op.
4044
adde2bff
DE
40452014-02-20 lin zuojian <manjian2006@gmail.com>
4046 Joel Brobecker <brobecker@adacore.com>
4047 Doug Evans <xdje42@gmail.com>
4048
4049 PR symtab/16581
4050 * gdb.dwarf2/dw2-icycle.S: New file.
4051 * gdb.dwarf2/dw2-icycle.c: New file.
4052 * gdb.dwarf2/dw2-icycle.exp: New file.
4053
f7bd0f78
SC
40542014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4055
4056 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4057 operations on gdb.Value objects.
4058 * gdb.python/py-value-cc.exp: Add new test to test operations on
4059 gdb.Value objects.
4060
c17ef0d5
DE
40612014-02-18 Doug Evans <dje@google.com>
4062
4063 * Makefile.in (TESTS): New variable.
4064 (expanded_tests, expanded_tests_or_none): New variables
4065 (check-single): Pass $(expanded_tests_or_none) to runtest.
4066 (check-parallel): Only run tests in $(TESTS) if non-empty.
4067 (check/no-matching-tests-found): New rule.
4068 * README: Document TESTS makefile variable.
4069
5dd3176f
DE
40702014-02-18 Doug Evans <dje@google.com>
4071
4072 * Makefile.in (check-parallel): rm -rf outputs temp.
4073
0b10be4f
JK
40742014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4075
4076 Fix "ERROR: no fileid for" in the testsuite.
4077 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4078
85f224e7
DE
40792014-02-12 Doug Evans <dje@google.com>
4080
4081 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4082 (MISCELLANEOUS): New variable.
4083 (clean): rm -rf $(MISCELLANEOUS).
4084 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4085 dwp live in the same directory as symlinks, with each symlink pointed
4086 to a differently named file in a different directory.
4087
149b30ff
DE
40882014-02-11 Doug Evans <dje@google.com>
4089
4090 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4091 of Tcl file commands.
4092
1dfdac32
MK
40932014-02-10 Mark Kettenis <kettenis@gnu.org>
4094
4095 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4096 "kill -SIGUSR1 -1".
4097
aa4fb036
JB
40982014-02-10 Joel Brobecker <brobecker@adacore.com>
4099
4100 * gdb.ada/tick_length_array_enum_idx: New testcase.
4101
ed3ef339
DE
41022014-02-10 Doug Evans <xdje42@gmail.com>
4103
4104 * configure.ac (AC_OUTPUT): Add gdb.guile.
4105 * configure: Regenerate.
4106 * lib/gdb-guile.exp: New file.
4107 * lib/gdb.exp (get_target_charset): New function.
4108 * gdb.base/help.exp: Update expected output from "apropos apropos".
4109 * gdb.guile/Makefile.in: New file.
4110 * gdb.guile/guile.exp: New file.
4111 * gdb.guile/scm-arch.c: New file.
4112 * gdb.guile/scm-arch.exp: New file.
4113 * gdb.guile/scm-block.c: New file.
4114 * gdb.guile/scm-block.exp: New file.
4115 * gdb.guile/scm-breakpoint.c: New file.
4116 * gdb.guile/scm-breakpoint.exp: New file.
4117 * gdb.guile/scm-disasm.c: New file.
4118 * gdb.guile/scm-disasm.exp: New file.
4119 * gdb.guile/scm-equal.c: New file.
4120 * gdb.guile/scm-equal.exp: New file.
4121 * gdb.guile/scm-error.exp: New file.
4122 * gdb.guile/scm-error.scm: New file.
4123 * gdb.guile/scm-frame-args.c: New file.
4124 * gdb.guile/scm-frame-args.exp: New file.
4125 * gdb.guile/scm-frame-args.scm: New file.
4126 * gdb.guile/scm-frame-inline.c: New file.
4127 * gdb.guile/scm-frame-inline.exp: New file.
4128 * gdb.guile/scm-frame.c: New file.
4129 * gdb.guile/scm-frame.exp: New file.
4130 * gdb.guile/scm-generics.exp: New file.
4131 * gdb.guile/scm-gsmob.exp: New file.
4132 * gdb.guile/scm-iterator.c: New file.
4133 * gdb.guile/scm-iterator.exp: New file.
4134 * gdb.guile/scm-math.c: New file.
4135 * gdb.guile/scm-math.exp: New file.
4136 * gdb.guile/scm-objfile-script-gdb.in: New file.
4137 * gdb.guile/scm-objfile-script.c: New file.
4138 * gdb.guile/scm-objfile-script.exp: New file.
4139 * gdb.guile/scm-objfile.c: New file.
4140 * gdb.guile/scm-objfile.exp: New file.
4141 * gdb.guile/scm-ports.exp: New file.
4142 * gdb.guile/scm-pretty-print.c: New file.
4143 * gdb.guile/scm-pretty-print.exp: New file.
4144 * gdb.guile/scm-pretty-print.scm: New file.
4145 * gdb.guile/scm-section-script.c: New file.
4146 * gdb.guile/scm-section-script.exp: New file.
4147 * gdb.guile/scm-section-script.scm: New file.
4148 * gdb.guile/scm-symbol.c: New file.
4149 * gdb.guile/scm-symbol.exp: New file.
4150 * gdb.guile/scm-symtab-2.c: New file.
4151 * gdb.guile/scm-symtab.c: New file.
4152 * gdb.guile/scm-symtab.exp: New file.
4153 * gdb.guile/scm-type.c: New file.
4154 * gdb.guile/scm-type.exp: New file.
4155 * gdb.guile/scm-value-cc.cc: New file.
4156 * gdb.guile/scm-value-cc.exp: New file.
4157 * gdb.guile/scm-value.c: New file.
4158 * gdb.guile/scm-value.exp: New file.
4159 * gdb.guile/source2.scm: New file.
4160 * gdb.guile/types-module.cc: New file.
4161 * gdb.guile/types-module.exp: New file.
4162
7026a7c1
YQ
41632014-02-10 Yao Qi <yao@codesourcery.com>
4164
4165 PR testsuite/16543
4166 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4167 * configure: Regenerated.
4168 * Makefile.in: New file.
4169
6c466447
AS
41702014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4171
4172 * gdb.python/py-framefilter.exp: Fix typo.
4173
6e854735
YQ
41742014-02-08 Yao Qi <yao@codesourcery.com>
4175
4176 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4177 that no =breakpoint-modified is emitted when breakpoints are
4178 modified through MI commands.
4179
d137e6dc
PA
41802014-02-07 Pedro Alves <pedro@codesourcery.com>
4181 Pedro Alves <palves@redhat.com>
4182
4183 * gdb.threads/step-after-sr-lock.c: New file.
4184 * gdb.threads/step-after-sr-lock.exp: New file.
4185
b5ee5a50
PA
41862014-02-07 Pedro Alves <palves@redhat.com>
4187
4188 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4189
3c77faf3
JK
41902014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4191
4192 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4193 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4194
6dddc817
DE
41952014-02-06 Doug Evans <xdje42@gmail.com>
4196
4197 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4198 output.
4199
4200 * gdb.gdb/python-interrupts.exp: New file.
4201
de7b2893
YQ
42022014-02-05 Yao Qi <yao@codesourcery.com>
4203
4204 * gdb.trace/report.exp (use_collected_data): Test the output
4205 of "info threads" and "info inferiors".
4206
66d032ac
YQ
42072014-02-05 Yao Qi <yao@codesourcery.com>
4208
4209 Revert this patch:
4210
4211 2013-05-24 Yao Qi <yao@codesourcery.com>
4212
4213 * gdb.trace/tfile.exp: Test inferior and thread.
4214
591a12a1
UW
42152014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4216
4217 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4218 on a function.
4219 * gdb.base/step-bt.c: Call hello via function pointer to make
4220 sure its first instruction is executed on powerpc64le-linux.
4221
0ff3e01f
UW
42222014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4223
4224 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4225
084ee545
UW
42262014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4227
4228 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4229 of the test patterns for use on little-endian systems.
4230
6ed14ff3
UW
42312014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4232
4233 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4234 (decimal_vector): Fix for little-endian.
4235
401e27fd
JM
42362014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4237
4238 * gdb.arch/sparc-sysstep.exp: New file.
4239 * gdb.arch/sparc-sysstep.c: Likewise.
4240
4241 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4242
8b924729
EBM
42432014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4244
4245 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4246
fb151210
JB
42472014-01-23 Tom Tromey <tromey@redhat.com>
4248
4249 * gdb.ada/array_char_idx: New testcase.
4250
0740f8d8
TT
42512014-01-23 Tom Tromey <tromey@redhat.com>
4252
4253 PR python/16487:
4254 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4255 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4256 classes.
4257
21909fa1
TT
42582014-01-23 Tom Tromey <tromey@redhat.com>
4259
4260 PR python/16491:
4261 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4262 string from an inferior frame.
4263 * gdb.python/py-framefilter-mi.exp: Update.
4264
87ce2a04
DE
42652014-01-22 Doug Evans <dje@google.com>
4266
4267 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4268
237b092b
AA
42692014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4270
4271 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4272
d674a709
AA
42732014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4274
4275 * gdb.trace/entry-values.exp: Remove excess space character from
4276 regex patterns. Handle s390 call instruction.
4277
20fa3390
AA
42782014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4279
4280 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4281 define "*_start" label. Make "name" static.
4282 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4283 ${name} by references to ${name}_start.
4284
78466714
AA
42852014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4286
4287 * gdb.base/info-macros.exp: Remove "debug" from the compile
4288 options.
4289
ec9f644a
IB
42902014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4291
4292 * gdb.dlang/demangle.exp: New file.
4293
94b1b47e
IB
42942014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4295
4296 * gdb.dlang/primitive-types.exp: New file.
4297
7f420862
IB
42982014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4299
4300 * configure.ac: Create gdb.dlang/Makefile.
4301 * configure: Regenerate.
4302 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4303 * gdb.dlang/Makefile.in: New file.
4304 * lib/d-support.exp: New file.
4305 * lib/gdb.exp (skip_d_tests): New proc.
4306
52834460
MM
43072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4308
4309 * gdb.btrace/delta.exp: Check reverse stepi.
4310 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4311 * gdb.btrace/finish.exp: New.
4312 * gdb.btrace/next.exp: New.
4313 * gdb.btrace/nexti.exp: New.
4314 * gdb.btrace/record_goto.c: Add comments.
4315 * gdb.btrace/step.exp: New.
4316 * gdb.btrace/stepi.exp: New.
4317 * gdb.btrace/multi-thread-step.c: New.
4318 * gdb.btrace/multi-thread-step.exp: New.
4319 * gdb.btrace/rn-dl-bind.c: New.
4320 * gdb.btrace/rn-dl-bind.exp: New.
4321 * gdb.btrace/data.c: New.
4322 * gdb.btrace/data.exp: New.
4323 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4324
6e07b1d2
MM
43252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4326
4327 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4328 * gdb.btrace/exception.exp: Update.
4329 * gdb.btrace/instruction_history.exp: Update.
4330 * gdb.btrace/record_goto.exp: Update.
4331 * gdb.btrace/tailcall.exp: Update.
4332 * gdb.btrace/unknown_functions.exp: Update.
4333 * gdb.btrace/delta.exp: New.
4334
0b722aec
MM
43352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4336
4337 * gdb.btrace/record_goto.exp: Add backtrace test.
4338 * gdb.btrace/tailcall.exp: Add backtrace test.
4339
066ce621
MM
43402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4341
4342 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4343 * gdb.btrace/record_goto.c: New.
4344 * gdb.btrace/record_goto.exp: New.
4345 * gdb.btrace/x86-record_goto.S: New.
4346
0688d04e
MM
43472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4348
4349 * gdb.btrace/function_call_history.exp: Update tests.
4350 * gdb.btrace/instruction_history.exp: Update tests.
4351
8710b709
MM
43522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4353
4354 * gdb.btrace/function_call_history.exp: Fix expected field
4355 order for "record function-call-history".
4356 Add new tests for "record function-call-history /c".
4357 * gdb.btrace/exception.cc: New.
4358 * gdb.btrace/exception.exp: New.
4359 * gdb.btrace/tailcall.exp: New.
4360 * gdb.btrace/x86-tailcall.S: New.
4361 * gdb.btrace/x86-tailcall.c: New.
4362 * gdb.btrace/unknown_functions.c: New.
4363 * gdb.btrace/unknown_functions.exp: New.
4364 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4365
5de9129b
MM
43662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4367
4368 * gdb.btrace/instruction_history.exp: Update.
4369 * gdb.btrace/function_call_history.exp: Update.
4370
23a7fe75
MM
43712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4372
4373 * gdb.btrace/function_call_history.exp: Fix expected function
4374 trace.
4375 * gdb.btrace/instruction_history.exp: Initialize traced.
4376 Remove traced_functions.
4377
724c7dd8
MM
43782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4379
4380 * gdb.btrace/function_call_history.exp: Update
4381 * gdb.btrace/instruction_history.exp: Update.
4382
6d78d93b
MM
43832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4384
4385 * gdb.btrace/enable.exp: Update expected text.
4386
93a360cc
OJ
43872014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4388
4389 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4390 bytes.
4391
3772b53f
MR
43922014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4393
4394 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4395
596662fa
OJ
43962014-01-15 Omair Javaid <omair.javaid@linaro.org>
4397
4398 * lib/gdb.exp (supports_process_record): Return true for
4399 arm*-linux*. (supports_reverse): Likewise.
4400
b5b08fb4
SC
44012014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4402
4403 PR python/15464
4404 PR python/16113
4405 * gdb.python/py-type.c: Enhance test case.
4406 * gdb.python/py-value-cc.cc: Likewise
4407 * gdb.python/py-type.exp: Add new tests.
4408 * gdb.python/py-value-cc.exp: Likewise
4409
52d7fb13
AA
44102014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4411 Pedro Alves <palves@redhat.com>
4412
4413 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4414 Make "name" extern.
4415 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4416 references to ${name}_start by references to ${name}.
4417
a2cd8cfe
JB
44182014-01-10 Joel Brobecker <brobecker@adacore.com>
4419
4420 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4421
4e23fced
JB
44222014-01-10 Joel Brobecker <brobecker@adacore.com>
4423
4424 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4425
c6a9e42c
PA
44262014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4427 Pedro Alves <palves@redhat.com>
4428
4429 * gdb.mi/mi-info-os.exp: Connect to the target with
4430 mi_gdb_target_load.
4431
b7ea362b
PA
44322014-01-08 Pedro Alves <palves@redhat.com>
4433
4434 * gdb.threads/reconnect-signal.c: New file.
4435 * gdb.threads/reconnect-signal.exp: New file.
4436
5e3f4fab
EBM
44372014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4438
4439 * gdb.base/source-dir.exp: New file.
4440
79301218
JB
44412014-01-07 Joel Brobecker <brobecker@adacore.com>
4442
4443 * gdb.ada/mi_interface: New testcase.
4444
8e355c5d
JB
44452014-01-07 Joel Brobecker <brobecker@adacore.com>
4446
4447 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4448 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4449 gdb.ada/pp-rec-component/pck.ads: New files.
4450
c0d48811
JB
44512014-01-07 Joel Brobecker <brobecker@adacore.com>
4452
4453 * gdb.python/py-pp-integral.c: New file.
4454 * gdb.python/py-pp-integral.py: New file.
4455 * gdb.python/py-pp-integral.exp: New file.
4456
17b609c3 4457For older changes see ChangeLog-1993-2013.
c906108c 4458\f
8d8cb839
EZ
4459;; Local Variables:
4460;; mode: change-log
4461;; left-margin: 8
4462;; fill-column: 74
4463;; version-control: never
4464;; End:
902f2ccb 4465
32d0add0 4466 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4467 Copying and distribution of this file, with or without modification,
4468 are permitted provided the copyright notice and this notice are preserved.