]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Add myself as a write-after-approval GDB maintainer
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
4eec2deb
PA
12015-04-01 Pedro Alves <palves@redhat.com>
2
3 * gdb.threads/tid-reuse.c: New file.
4 * gdb.threads/tid-reuse.exp: New file.
5
df8411da
SDJ
62015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
7
8 PR corefiles/16092
9 * gdb.base/coredump-filter.c: New file.
10 * gdb.base/coredump-filter.exp: Likewise.
11
6ef37366
PM
122015-03-27 Petr Machata <pmachata@redhat.com>
13
14 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
15 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
16 (Dwarf::assemble): Initialize them.
17 (Dwarf::lines): New function.
18
7ec911b0
JT
192015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
20
21 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
22 SYMBOL_PREFIX for x86_64-*-cygwin.
23
ff908ebf
AW
242015-03-26 Andy Wingo <wingo@igalia.com>
25
26 PR symtab/18148
27 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
28 const_value but not a location.
29 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
30 location defined in non-main CUs are visible.
31
6d5f0679
YQ
322015-03-26 Yao Qi <yao.qi@linaro.org>
33
34 PR testsuite/18139
35 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
36 Add a line number entry for the same line.
37 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
38 Add a line number entry for the same line.
39
2898689b
YQ
402015-03-26 Yao Qi <yao.qi@linaro.org>
41
42 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
43 .int 0.
44 (func): Likewise. Add .Lfunc_1 label.
45 Use .Lfunc_1 label.
46 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
47 .int 0.
48 (func): Likewise.
49 Use .Lfunc_1 label.
50
85180498
YQ
512015-03-26 Yao Qi <yao.qi@linaro.org>
52
53 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
54 Call gdb_compile instead to compile each .s files without debug
55 information.
56
8aa08a8d
YQ
572015-03-26 Yao Qi <yao.qi@linaro.org>
58
59 * gdb.base/savedregs.exp (process_saved_regs): Make
60 "Saved registers:" optional in the pattern.
61
66849923
MM
622015-03-25 Markus Metzger <markus.t.metzger@intel.com>
63
64 * gdb.btrace/next.exp: Merged into step.exp.
65 * gdb.btrace/finish.exp: Merged into step.exp.
66 * gdb.btrace/nexti.exp: Merged into stepi.exp.
67 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
68 "record goto" and checking the exact replay position.
69 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
70 check for "Recording format" in "info record" output.
71 * gdb.btrace/record_goto.exp: Choose test file based on target.
72 * gdb.btrace/x86-record_goto.S: Renamed into ...
73 * gdb.btrace/x86_64-record_goto.S: ... this.
74 * gdb.btrace/i686-record_goto.S: New.
75 * gdb.btrace/x86-tailcall.S: Renamed into ...
76 * gdb.btrace/x86_64-tailcall.S: ... this.
77 * gdb.btrace/i686-tailcall.S: New.
78 * gdb.btrace/x86-tailcall.c: Renamed into ...
79 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
80 separate statements. Update test.
81 * gdb.btrace/delta.exp: Use record_goto.c as test file.
82 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
83 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
84 * gdb.btrace/tailcall.exp: Choose test file based on target.
85 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
86
11cc1b74
MM
872015-03-25 Markus Metzger <markus.t.metzger@intel.com>
88
89 * gdb.btrace/exception.exp: Increase BTS buffer size.
90
a25d8bf9
PA
912015-03-24 Pedro Alves <palves@redhat.com>
92
93 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
94
856e7dd6
PA
952015-03-24 Pedro Alves <palves@redhat.com>
96
97 * gdb.threads/schedlock.exp (test_step): No longer expect that
98 "set scheduler-locking step" with "next" over a function call runs
99 threads unlocked.
100
ad235a41
AT
1012015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
102
103 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
104
15630549
AT
1052015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
106
107 PR breakpoints/16466
108 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
109 * gdb.mi/mi-pending.c (thread_func): New function.
110 (int main): Add threading support required.
111 * gdb.mi/mi-pending.exp: Add tests for this issue.
112 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
113 (pendfunc2): Remove stdio dependency.
114 * gdb.mi/mi-pendshr2.c: New file.
115
693dca06
KS
1162015-03-23 Keith Seitz <keiths@redhat.com>
117
118 * gdb.linespec/keywords.c: New file.
119 * gdb.linespec/keywords.exp: New file.
120
7e993ebf
KS
1212015-03-23 Keith Seitz <keiths@redhat.com>
122
123 PR gdb/18021
124 * gdb.dwarf2/staticvirtual.exp: New test.
125
bc23328c
JK
1262015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
127
128 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
129 * README: Remove HP-UX and gdb.hp.
130 (configuration):
131 * configure: Regenerate.
132 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
133 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
134 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
135 gdb.hp/gdb.defects/Makefile.
136 * gdb.hp/Makefile.in: File deleted.
137 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
138 * gdb.hp/gdb.aCC/optimize.c: File deleted.
139 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
140 * gdb.hp/gdb.aCC/run.c: File deleted.
141 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
142 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
143 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
144 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
145 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
146 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
147 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
148 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
149 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
150 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
151 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
152 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
153 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
154 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
155 * gdb.hp/gdb.base-hp/reg.s: File deleted.
156 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
157 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
158 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
159 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
160 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
161 * gdb.hp/gdb.compat/Makefile.in: File deleted.
162 * gdb.hp/gdb.compat/average.c: File deleted.
163 * gdb.hp/gdb.compat/sum.c: File deleted.
164 * gdb.hp/gdb.compat/xdb.c: File deleted.
165 * gdb.hp/gdb.compat/xdb0.c: File deleted.
166 * gdb.hp/gdb.compat/xdb0.h: File deleted.
167 * gdb.hp/gdb.compat/xdb1.c: File deleted.
168 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
169 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
170 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
171 * gdb.hp/gdb.defects/Makefile.in: File deleted.
172 * gdb.hp/gdb.defects/bs14602.c: File deleted.
173 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
174 * gdb.hp/gdb.defects/solib-d.c: File deleted.
175 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
176 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
177 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
178 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
179 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
180 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
181 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
182 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
183 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
184 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
185 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
186 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
187 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
188 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
189 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
190 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
191 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
192 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
193 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
194 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
195 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
196 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
197 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
198 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
199 * gdb.hp/tools/odump: File deleted.
200
8bf3b159
PA
2012015-03-19 Pedro Alves <palves@redhat.com>
202
203 * gdb.threads/continue-pending-status.exp (saw_thread_2)
204 (saw_thread_3): New globals.
205 (top level): Increment them when an event for the corresponding
206 thread is seen.
207 (no thread starvation): New test.
208
eb54c8bf
PA
2092015-03-19 Pedro Alves <palves@redhat.com>
210
211 * gdb.threads/continue-pending-status.c: New file.
212 * gdb.threads/continue-pending-status.exp: New file.
213
32d2e5d6
PA
2142015-03-18 Pedro Alves <palves@redhat.com>
215
216 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
217 Use gdb_is_target_remote instead of is_remote. Use
218 gdb_test_multiple instead of gdb_expect. Exit early if
219 gdb_test_multiple hits its internal matches. Tighten stepi tests
220 expected output. Fail on exit with any signal, instead of just
221 SIGILL.
222
f68f11b7
YQ
2232015-03-18 Yao Qi <yao.qi@linaro.org>
224
225 PR tdep/18107
226 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
227 variable.
228 * gdb.base/catch-syscall.exp: Don't skip it on
229 aarch64*-*-linux* target. Remove elements in all_syscalls.
230 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
231 target.
232 (setup_all_syscalls): New proc.
233
ca5fd19b
YQ
2342015-03-16 Yao Qi <yao.qi@linaro.org>
235
236 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
237 (top level): Skip tests if valid_addr_p returns false for
238 $cmd1 or $cmd2.
239
85642ba0
AW
2402015-03-11 Andy Wingo <wingo@igalia.com>
241
242 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
243
e03f9645
YQ
2442015-03-11 Yao Qi <yao.qi@linaro.org>
245
246 * gdb.base/catch-syscall.exp: Fix typo in comments.
247
5d0962b2
YQ
2482015-03-11 Yao Qi <yao.qi@linaro.org>
249
250 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
251
b2df3cef
PA
2522015-03-09 Pedro Alves <palves@redhat.com>
253
254 * dg-extract-results.py: Delete.
255
ef878e53
PA
2562015-03-09 Pedro Alves <palves@redhat.com>
257
258 Merge dg-extract-results.sh from GCC upstream (r218843).
259
260 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
261 * dg-extract-results.sh: Use --text with grep to avoid issues with
262 binary files. Fall back to cat -v, if that doesn't work.
263
9494d219
PA
2642015-03-05 Pedro Alves <palves@redhat.com>
265
266 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
267
a8d9763a
SM
2682015-03-04 Simon Marchi <simon.marchi@ericsson.com>
269
270 * lib/mi-support.exp (mi_expect_interrupt): Accept
271 alternative event for when in all-stop mode.
272
be9957b8
PA
2732015-03-04 Pedro Alves <palves@redhat.com>
274
275 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
276
d57be0f4 2772015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
278
279 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
280
c214c7cf
AA
2812015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
282
283 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
284 regexps for GDB's current line display, accept a hex address
285 preceding the line number.
286
6d74a497
AA
2872015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
288
289 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
290 the 'arch1' variable for "s390*-linux*" targets.
291
511aee7c
PA
2922015-03-04 Pedro Alves <palves@redhat.com>
293
294 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
295 (main): Pass missing retval argument to pthread_join call.
296
95e50b27
PA
2972015-03-02 Pedro Alves <palves@redhat.com>
298
299 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
300 (top level): Call do_test with non-stop as well.
301
28054d69
PA
3022015-03-02 Pedro Alves <palves@redhat.com>
303
304 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
305 -1.
306
4fa5d7b4
AA
3072015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
308
309 * gdb.arch/s390-vregs.exp: New test.
310 * gdb.arch/s390-vregs.S: New file.
311
97c18565
PA
3122015-02-27 Pedro Alves <palves@redhat.com>
313
314 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
315 call to catch_command_errors.
316 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
317 catch_command_errors.
318
a37bfa30
PA
3192015-02-27 Pedro Alves <palves@redhat.com>
320
321 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
322 "true" for boolean result.
323 * gdb.gdb/selftest.exp (test_with_self): Also accept full
324 prototype of main.
325
6f98576f
PA
3262015-02-27 Pedro Alves <palves@redhat.com>
327
328 * lib/unbuffer_output.c: New file.
329 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
330 (main): Call gdb_unbuffer_output.
331
eba5ab56
YQ
3322015-02-27 Yao Qi <yao.qi@linaro.org>
333
334 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
335 target.
336
0def5aaa
DE
3372015-02-26 Doug Evans <dje@google.com>
338
339 * gdb.cp/class2.cc (Dbase, D): New classes.
340 (main): New local delta.
341 * gdb.cp/class2.exp: Test printing delta.
342 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
343 (dynbar): New global.
344 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
345
081a1c2c
JK
3462015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
347
348 * gdb.compile/compile-ifunc.c: New file.
349 * gdb.compile/compile-ifunc.exp: New file.
350
2f41223f
AT
3512015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
352
353 * gdb.base/structs.exp: Check for correct struct on finish.
354
03eddd80
YQ
3552015-02-26 Yao Qi <yao.qi@linaro.org>
356
357 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
358 is zero.
359
80c57053
JK
3602015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
361
362 * gdb.arch/cordic.ko.bz2: New file.
363 * gdb.arch/cordic.ko.debug.bz2: New file.
364 * gdb.arch/ppc64-symtab-cordic.exp: New file.
365
21613c12
YQ
3662015-02-25 Yao Qi <yao.qi@linaro.org>
367
368 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
369 aarch64*-*-* target.
370
d8b901ed
PA
3712015-02-23 Pedro Alves <palves@redhat.com>
372
373 * lib/gdb.exp (delete_breakpoints): Rewrite using
374 gdb_test_multiple.
375
e5b85ead
PA
3762015-02-23 Pedro Alves <palves@redhat.com>
377
378 * gdb.base/info-os.c: Include stdlib.h.
379
85c3a371
DE
3802015-02-22 Doug Evans <xdje42@gmail.com>
381
382 PR symtab/17855
383 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
384 is read after symbols have been re-read.
385 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
386 * gdb.ada/exec_changed/second.adb (Second): Ditto.
387
96553a0c
DE
3882015-02-21 Doug Evans <dje@google.com>
389
390 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
391
97a0c697
JK
3922015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
393
394 PR corefiles/17808
395 * gdb.arch/i386-biarch-core.core.bz2: New file.
396 * gdb.arch/i386-biarch-core.exp: New file.
397
a47cd6e9
PA
3982015-02-21 Pedro Alves <palves@redhat.com>
399
400 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
401 runto_main fails.
402
c5facdc4
PA
4032015-02-20 Pedro Alves <palves@redhat.com>
404
405 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
406 info probes.
407
2db9a427
PA
4082015-02-20 Pedro Alves <palves@redhat.com>
409
410 * gdb.threads/multi-create-ns-info-thr.exp: New file.
411
60fb7e9e
PA
4122015-02-20 Pedro Alves <palves@redhat.com>
413
414 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
415 clean_restart before gdb_target_supports_trace.
416
5c5019c2
PA
4172015-02-20 Pedro Alves <palves@redhat.com>
418
419 PR threads/18006
420 * gdb.threads/clone-thread_db.c: New file.
421 * gdb.threads/clone-thread_db.exp: New file.
422
c9587f88
AT
4232015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
424
425 PR breakpoints/16812
426 * gdb.base/catch-gdb-caused-signals.c: New file.
427 * gdb.base/catch-gdb-caused-signals.exp: New file.
428
f6a88844
JM
4292015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
430
431 * configure: Regenerated.
432 * configure.ac: Use GDB_AC_TRANSFORM.
433 * aclocal.m4: sinclude ../transform.m4.
434
497c491b
JM
4352015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
436
437 * lib/dtrace.exp: New file.
438 * gdb.base/dtrace-probe.exp: Likewise.
439 * gdb.base/dtrace-probe.d: Likewise.
440 * gdb.base/dtrace-probe.c: Likewise.
441 * lib/pdtrace.in: Likewise.
442 * configure.ac: Output variables with the transformed names of
443 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
444 * configure: Regenerated.
445
03e98035
JM
4462015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
447
448 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
449 expected message when trying to access $_probe_* convenience
450 variables while not on a probe.
451
63cc30e9
JK
4522015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
453
454 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
455
0703599a
PA
4562015-02-11 Pedro Alves <pedro@codesourcery.com>
457
458 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
459 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
460
7e60a48e
DE
4612015-02-10 Doug Evans <xdje42@gmail.com>
462
463 * lib/gdb.exp (gdb_load): Always return a result.
464
01b088bc
PA
4652015-02-10 Pedro Alves <palves@redhat.com>
466
467 * gdb.threads/signal-sigtrap.c: New file.
468 * gdb.threads/signal-sigtrap.exp: New file.
469
b05ec7a5
AT
4702015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
471
472 * gdb.trace/no-attach-trace.c: New file.
473 * gdb.trace/no-attach-trace.exp: New file.
474
a2c2acaf
MW
4752015-02-09 Mark Wielaard <mjw@redhat.com>
476
477 * gdb.dwarf2/atomic.c: New file.
478 * gdb.dwarf2/atomic-type.exp: Likewise.
479
31fd9caa
MM
4802015-02-09 Markus Metzger <markus.t.metzger@intel.com>
481
482 * gdb.btrace/buffer-size.exp: Update "info record" output.
483 * gdb.btrace/delta.exp: Update "info record" output.
484 * gdb.btrace/enable.exp: Update "info record" output.
485 * gdb.btrace/finish.exp: Update "info record" output.
486 * gdb.btrace/instruction_history.exp: Update "info record" output.
487 * gdb.btrace/next.exp: Update "info record" output.
488 * gdb.btrace/nexti.exp: Update "info record" output.
489 * gdb.btrace/step.exp: Update "info record" output.
490 * gdb.btrace/stepi.exp: Update "info record" output.
491 * gdb.btrace/nohist.exp: Update "info record" output.
492
d33501a5
MM
4932015-02-09 Markus Metzger <markus.t.metzger@intel.com>
494
495 * gdb.btrace/buffer-size: New.
496
f4abbc16
MM
4972015-02-09 Markus Metzger <markus.t.metzger@intel.com>
498
499 * gdb.btrace/delta.exp: Update "info record" output.
500 * gdb.btrace/enable.exp: Update "info record" output.
501 * gdb.btrace/finish.exp: Update "info record" output.
502 * gdb.btrace/instruction_history.exp: Update "info record" output.
503 * gdb.btrace/next.exp: Update "info record" output.
504 * gdb.btrace/nexti.exp: Update "info record" output.
505 * gdb.btrace/step.exp: Update "info record" output.
506 * gdb.btrace/stepi.exp: Update "info record" output.
507 * gdb.btrace/nohist.exp: Update "info record" output.
508
b9d61307
SM
5092015-02-06 Simon Marchi <simon.marchi@ericsson.com>
510
511 PR gdb/15678
512 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
513
e584fdbc
PA
5142015-02-06 Pedro Alves <palves@redhat.com>
515
516 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
517 macro.
518 (seconds_left, again): New globals.
519 (main): Wait seconds_left in a 1-second sleep loop instead of
520 sleeping 180 seconds. If 'again' is set, reset the seconds
521 counter.
522 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
523 'again' in the inferior before detaching. Print the seconds left.
524 (options): New global.
525 (top level): Build program with -DTIMEOUT=$timeout.
526
77f41761
PA
5272015-02-06 Pedro Alves <palves@redhat.com>
528
529 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
530 determine how many seconds to pass to 'alarm'.
531 * gdb.base/gdb-sigterm.exp (top level): Build program with
532 -DTIMEOUT=$timeout.
533 (do_test): Return success/failure indication. Add more verbose
534 logging. Don't fail if 200 single steps are seen. Instead, fail
535 when the test times out.
536 (passes): New global.
537 (top level): Break the testing loop if testing fails on any
538 iteration. Use gdb_assert.
539
b9394193
DB
5402015-02-04 Don Breazeal <donb@codesourcery.com>
541
542 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
543 and initialize them.
544 (ipc_cleanup): New function.
545 (main): Don't declare shmid, semid, and msqid. Add a call to
546 atexit so that we call ipc_cleanup on exit.
547
42d9e528
PA
5482015-02-04 Pedro Alves <palves@redhat.com>
549
550 * boards/native-extended-gdbserver.exp: Remove any target variant
551 specifications from the board name before clearing the isremote
552 flag from board_info.
553
ae6ae975
DE
5542015-01-31 Doug Evans <xdje42@gmail.com>
555
556 * gdb.base/maint.exp <maint print type argc>: Update expected output.
557
cfb069a8
GB
5582015-01-31 Gary Benson <gbenson@redhat.com>
559
560 * gdb.base/completion.exp: Disable completion limiting for
561 existing tests. Add new tests to check completion limiting.
562 * gdb.linespec/ls-errs.exp: Disable completion limiting.
563
5dd31d79
DE
5642015-01-31 Doug Evans <xdje42@gmail.com>
565
566 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
567
9f050062
DE
5682015-01-31 Doug Evans <xdje42@gmail.com>
569
570 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
571 entries. Duplicate file section script entries.
572 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
573 inlined entries. Add test for safe-path rejection.
574 * gdb.python/py-section-script.c: Add duplicate inlined section script
575 entries. Duplicate file section script entries.
576 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
577 inlined entries. Add test for safe-path rejection.
578
df25ebbd
JB
5792015-01-29 Joel Brobecker <brobecker@adacore.com>
580
581 * gdb.ada/disc_arr_bound: New testcase.
582
4a0ca9ec
JB
5832015-01-29 Joel Brobecker <brobecker@adacore.com>
584
585 * gdb.ada/mi_var_array: New testcase.
586
3a8b707a
DE
5872015-01-27 Doug Evans <dje@google.com>
588
589 * gdb.python/py-objfile.exp: Add tests for objfile.username.
590 Add test for objfile.filename, objfile.username after objfile
591 has been unloaded.
592
f8313f6e
JB
5932015-01-26 Joel Brobecker <brobecker@adacore.com>
594
595 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
596 the second test to print the name attribute of value
597 returned by the call to gdb.lookup_type, and adjust
598 the expected output accordingly.
599
37bc665e
MW
6002015-01-25 Mark Wielaard <mjw@redhat.com>
601
602 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
603 * gdb.base/disp-step-fork.c: Include unistd.h.
604 * gdb.base/siginfo-obj.c: Include stdio.h.
605 * gdb.base/siginfo-thread.c: Likewise.
606 * gdb.mi/non-stop.c: Include unistd.h.
607 * gdb.mi/nsthrexec.c: Include stdio.h.
608 * gdb.mi/pthreads.c: Include unistd.h.
609 * gdb.modula2/unbounded1.c (main): Declare returns int.
610 * gdb.reverse/consecutive-reverse.c: Likewise.
611 * gdb.threads/create-fail.c: Include unistd.h.
612 * gdb.threads/killed.c: Likewise.
613 * gdb.threads/linux-dp.c: Likewise.
614 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
615 * gdb.threads/non-ldr-exc-2.c: Likewise.
616 * gdb.threads/non-ldr-exc-3.c: Likewise.
617 * gdb.threads/non-ldr-exc-4.c: Likewise.
618 * gdb.threads/pthreads.c: Include unistd.h.
619 (main): Declare returns int.
620 * gdb.threads/tls-main.c (foo): New declaration.
621 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
622
f7e5394d
SM
6232015-01-23 Simon Marchi <simon.marchi@ericsson.com>
624
625 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
626 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
627
743649fd
MW
6282015-01-15 Mark Wielaard <mjw@redhat.com>
629
630 * gdb.base/noreturn-return.c: New file.
631 * gdb.base/noreturn-return.exp: New file.
632 * gdb.base/noreturn-finish.c: New file.
633 * gdb.base/noreturn-finish.exp: New file.
634
198297aa
PA
6352015-01-23 Pedro Alves <palves@redhat.com>
636
637 * gdb.threads/continue-pending-after-query.c: New file.
638 * gdb.threads/continue-pending-after-query.exp: New file.
639
717cf30c
AG
6402015-01-22 Anders Granlund <anders.granlund@ericsson.com>
641 Simon Marchi <simon.marchi@ericsson.com>
642
643 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
644 * gdb.base/valgrind-db-attach.exp: Same.
645 * gdb.base/valgrind-infcall.exp: Same.
646 * lib/mi-support.exp (default_mi_gdb_start): Same.
647 * lib/prompt.exp (default_prompt_gdb_start): Same.
648 * lib/gdb.exp (default_gdb_spawn): Same.
649 (gdb_interact): New.
650
651
4b62a76e
JK
6522015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
653
654 * gdb.compile/compile.exp (pointer to jit function): New test.
655
b4cdae6f
WW
6562015-01-17 Wei-cheng Wang <cole945@gmail.com>
657
658 * lib/gdb.exp (supports_process_record): Return true for
659 powerpc*-*-linux*.
660 (supports_reverse): Likewise.
661
d221e7ef
DB
6622015-01-15 Don Breazeal <donb@codesourcery.com>
663
664 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
665 instead of checking whether the target board is remote and
666 use spawn_wait_for_attach instead of exec/sleep.
667 * gdb.base/attach-twice.exp: Likewise.
668
bafffb51
JB
6692015-01-15 Joel Brobecker <brobecker@adacore.com>
670
671 * gdb.ada/var_arr_attrs: New testcase.
672
5589af0e
PA
6732015-01-14 Pedro Alves <palves@redhat.com>
674 Joel Brobecker <brobecker@adacore.com>
675
676 PR gdb/17525
677 * gdb.base/bp-cmds-execution-x-script.c: New file.
678 * gdb.base/bp-cmds-execution-x-script.exp: New file.
679 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
680
6c400b59
PA
6812015-01-14 Pedro Alves <palves@redhat.com>
682
683 PR cli/17828
684 * gdb.base/batch-preserve-term-settings.c: New file.
685 * gdb.base/batch-preserve-term-settings.exp: New file.
686
e02c96a7
DE
6872015-01-13 Doug Evans <dje@google.com>
688
689 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
690 binary.
691
576fd14c
JB
6922015-01-13 Joel Brobecker <brobecker@adacore.com>
693
694 * Makefile.in (clean mostlyclean): Do not delete *.py.
695
04dccad0
JB
6962015-01-13 Joel Brobecker <brobecker@adacore.com>
697
698 * gdb.python/py-lookup-type.exp: New file.
699
3d230f71
PA
7002015-01-12 Pedro Alves <palves@redhat.com>
701
702 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
703 restore GDBFLAGS before returning.
704
7e67715d
JK
7052015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
706
707 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
708 is_amd64_regs_target and is_x86_like_target.
709
f2e0d4b4
DE
7102015-01-11 Doug Evans <xdje42@gmail.com>
711
712 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
713 is given without an explicit form.
714 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
715 attributes.
716 * gdb.dwarf/corrupt.exp: Ditto.
717 * gdb.dwarf2/enum-type.exp: Ditto.
718 * gdb.trace/entry-values.exp: Ditto.
719 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
720
439250fb
DE
7212015-01-11 Doug Evans <xdje42@gmail.com>
722
723 PR gdb/15830
724 * gdb.base/maint.exp: Remove references to "maint demangle".
725 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
726 Add tests for explicitly specifying language to demangle.
727 * gdb.dlang/demangle.exp: Ditto.
728
ede9f622
PA
7292015-01-09 Pedro Alves <palves@redhat.com>
730
731 * gdb.threads/non-stop-fair-events.c: New file.
732 * gdb.threads/non-stop-fair-events.exp: New file.
733
a7b796db
PA
7342015-01-09 Pedro Alves <palves@redhat.com>
735
736 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
737 the global scope. Set a breakpoint after all threads are started
738 rather than stepping over two source lines. Expect the prompt.
739 * gdb.base/watch_thread_num.c (threads_started_barrier): New
740 global.
741 (NUM): Now 15.
742 (main): Use threads_started_barrier to wait for all threads to
743 start. Main thread no longer calls thread_function. Exit after
744 180 seconds.
745 (loop): New function.
746 (thread_function): Wait on threads_started_barrier barrier. Call
747 'loop' at each iteration.
748 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
749 threads have started, instead of hardcoding number of "next"
750 steps. Use an access watchpoint instead of a write watchpoint.
751
9665ffdd
PA
7522015-01-09 Pedro Alves <palves@redhat.com>
753
754 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
755 (thread_func): Wait on barrier.
756 (main): Wait for all threads to start before stopping GDB.
757 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
758 global.
759 (thread1_func, thread2_func): Wait on barrier.
760 (main): Wait for all threads to start before stopping GDB.
761 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
762 New global.
763 (thread1_func, thread2_func): Wait on barrier.
764 (main): Wait for all threads to start before stopping GDB.
765
c945a99f
PA
7662015-01-09 Pedro Alves <palves@redhat.com>
767
768 * gdb.threads/attach-many-short-lived-threads.c: New file.
769 * gdb.threads/attach-many-short-lived-threads.exp: New file.
770
c1a747c1
PA
7712014-01-09 Pedro Alves <palves@redhat.com>
772
773 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
774 instead of to thread 2.
775 * gdb.threads/signal-command-multiple-signals-pending.c (main):
776 Add barrier around each pthread_create call instead of around all
777 calls.
778 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
779 Set a break on thread_function and have the child threads hit it
780 one at at a time.
781
60b3033e
PA
7822015-01-09 Pedro Alves <palves@redhat.com>
783
784 * lib/gdb.exp (can_spawn_for_attach): New procedure.
785 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
786 false.
787 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
788 checking whether the target board is remote.
789 * gdb.multi/multi-attach.exp: Likewise.
790 * gdb.python/py-sync-interp.exp: Likewise.
791 * gdb.server/ext-attach.exp: Likewise.
792 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
793 tests that need to attach, instead of checking whether the target
794 board is remote at the top of the file.
795
acc018ac
YQ
7962015-01-08 Yao Qi <yao@codesourcery.com>
797
798 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
799
50a18af8
JK
8002015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
801
802 Fix testcase compilation.
803 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
804
8503d6e1
JB
8052015-01-06 Joel Brobecker <brobecker@adacore.com>
806
807 * gdb.python/py-type.exp: Add a couple test about empty
808 array creation, and negative-length array creation.
809
cc73dbcc
DE
8102015-01-02 Doug Evans <xdje42@gmail.com>
811
812 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
813
0300bbc7
DE
8142015-01-02 Doug Evans <dje@google.com>
815
816 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
817
9d85a0ec
YQ
8182014-12-29 Yao Qi <yao@codesourcery.com>
819
820 * gdb.trace/entry-values.exp: Update comments. Rename variable
821 bar_call_foo to returned_from_foo.
822
87186c6a
MMN
8232014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
824
825 PR gdb/17394
826 * gdb.linespec/break-asm-file.c: New file.
827 * gdb.linespec/break-asm-file.exp: New file.
828 * gdb.linespec/break-asm-file0.s: New file.
829 * gdb.linespec/break-asm-file1.s: New file.
830
1bab7383
YQ
8312014-12-18 Nigel Stephens <nigel@mips.com>
832 Maciej W. Rozycki <macro@codesourcery.com>
833
834 * gdb.base/float.exp: Handle the new output from "info float" on
835 MIPS targets.
836
1bc1068a
JK
8372014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
838
839 Fix MinGW compilation.
840 * gdb.compile/compile-ops.exp: Update untested message if
841 !skip_compile_feature_tests.
842 * gdb.compile/compile-setjmp.exp: Likewise.
843 * gdb.compile/compile-tls.exp: Likewise.
844 * gdb.compile/compile.exp: Likewise.
845 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
846 supported on this host".
847
b6615d10
DE
8482014-12-16 Doug Evans <xdje42@gmail.com>
849
850 * boards/stabs.exp: New file.
851
25dda427
AA
8522014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
853
854 * gdb.base/completion.exp: Adjust to format changes of "maint
855 print user-registers".
856
bf330350
CU
8572014-12-16 Catalin Udma <catalin.udma@freescale.com>
858
859 PR server/17457
860 * gdb.arch/aarch64-fp.c: New file.
861 * gdb.arch/aarch64-fp.exp: New file.
862
395cf596
SDJ
8632014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
864
865 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
866 r210637, r210913, r211666, r215400, r215817).
867
868 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
869 * dg-extract-results.py: New file.
870 * dg-extract-results.sh: Use it if the environment seems
871 suitable.
872
873 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
874
875 * dg-extract-results.py (parse_run): Handle warnings that
876 are printed before a test harness is run.
877
878 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
879
880 * dg-extract-results.py (Named): Remove __cmp__ method.
881 (output_variation): Use a key to sort variation.harnesses.
882
883 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
884
885 * dg-extract-results.py: For Python 3, force sys.stdout to
886 handle surrogate escape sequences.
887 (safe_open): New function.
888 (output_segment, main): Use it.
889
890 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
891
892 * dg-extract-results.py (Prog.result_re): Include options
893 in test name.
894
895 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
896
897 * dg-extract-results.py (output_variation): Always sort if
898 do_sum.
899
e882ef3c
SM
9002014-12-15 Simon Marchi <simon.marchi@ericsson.com>
901
902 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
903 as long as we get pagination notifications.
904
4992aa20
JM
9052014-12-15 Jason Merrill <jason@redhat.com>
906
907 * Makefile.in (check-gdb.%): Restore.
908 * README: Mention it.
909
c1b5a1a6
JB
9102014-12-13 Joel Brobecker <brobecker@adacore.com>
911
912 * gdb.ada/str_uninit: New testcase.
913
5537b577
JK
9142014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
915
916 PR symtab/17642
917 * gdb.base/vla-stub-define.c: New file.
918 * gdb.base/vla-stub.c: New file.
919 * gdb.base/vla-stub.exp: New file.
920
bb2ec1b3
TT
9212014-12-12 Phil Muldoon <pmuldoon@redhat.com>
922 Jan Kratochvil <jan.kratochvil@redhat.com>
923 Tom Tromey <tromey@redhat.com>
924
925 * configure.ac: Add gdb.compile/.
926 * configure: Regenerate.
927 * gdb.compile/Makefile.in: New file.
928 * gdb.compile/compile-ops.exp: New file.
929 * gdb.compile/compile-ops.c: New file.
930 * gdb.compile/compile-tls.c: New file.
931 * gdb.compile/compile-tls.exp: New file.
932 * gdb.compile/compile-constvar.S: New file.
933 * gdb.compile/compile-constvar.c: New file.
934 * gdb.compile/compile-mod.c: New file.
935 * gdb.compile/compile-nodebug.c: New file.
936 * gdb.compile/compile-setjmp-mod.c: New file.
937 * gdb.compile/compile-setjmp.c: New file.
938 * gdb.compile/compile-setjmp.exp: New file.
939 * gdb.compile/compile-shlib.c: New file.
940 * gdb.compile/compile.c: New file.
941 * gdb.compile/compile.exp: New file.
942 * lib/gdb.exp (skip_compile_feature_tests): New proc.
943
4ff709eb
TT
9442014-12-12 Tom Tromey <tromey@redhat.com>
945
946 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
947 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
948
6dddd6a5
DE
9492014-12-12 Doug Evans <dje@google.com>
950
951 * lib/gdb-python.exp (get_python_valueof): New function.
952 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
953
71c24708
AA
9542014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
955
956 * gdb.base/completion.exp: Add test for completion of "info
957 registers ".
958
3e29f34a
MR
9592014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
960
961 * gdb.base/func-ptrs.c: New file.
962 * gdb.base/func-ptrs.exp: New file.
963
fc126975
SM
9642014-12-10 Simon Marchi <simon.marchi@ericsson.com>
965
966 PR breakpoints/17012
967 * gdb.base/dprintf-detach.c: New file.
968 * gdb.base/dprintf-detach.exp: New file.
969
0a46d518
SM
9702014-12-10 Simon Marchi <simon.marchi@ericsson.com>
971
972 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
973 * lib/gdb.exp (target_is_gdbserver): New procedure.
974
a0be3e44
DE
9752014-12-08 Doug Evans <dje@google.com>
976
977 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
978
df1b803a
YQ
9792014-12-05 Yao Qi <yao@codesourcery.com>
980
981 * gdb.guile/scm-error.exp: Remove the third argument to
982 gdb_remote_download.
983 * gdb.guile/scm-frame-args.exp: Likewise.
984 * gdb.guile/scm-section-script.exp: Likewise.
985
ddb9f679
YQ
9862014-12-05 Yao Qi <yao@codesourcery.com>
987
988 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
989
86e4ed39
DE
9902014-12-04 Doug Evans <dje@google.com>
991
992 * gdb.python/py-objfile.exp: Add tests for
993 objfile.add_separate_debug_file.
994
7c50a931
DE
9952014-12-04 Doug Evans <dje@google.com>
996
997 * lib/gdb.exp (get_build_id): New function.
998 (build_id_debug_filename_get): Rewrite to use it.
999 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1000
621661e3
MR
10012014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1002
1003 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1004 `method(long)', not just 0x0.
1005 * gdb.cp/nsalias.exp: Align code labels to 4.
1006 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1007 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1008 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1009 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1010 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1011 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1012
29f0c3b7
DE
10132014-12-02 Doug Evans <dje@google.com>
1014
e1e061e7 1015 PR symtab/17602
29f0c3b7 1016 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1017 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1018 * gdb.cp/anon-ns.exp: Update.
1019
162078c8
NB
10202014-12-02 Nick Bull <nicholaspbull@gmail.com>
1021
1022 * gdb.python/py-events.py (inferior_call_handler): New.
1023 (register_changed_handler, memory_changed_handler): New.
1024 (test_events.invoke): Register new handlers.
1025 * gdb.python/py-events.exp: Add tests for inferior call,
1026 memory_changed and register_changed events.
1027
fdb09caf
AA
10282014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1029
1030 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1031 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1032 if the linker doesn't understand this.
1033
55cfb2c4
SM
10342014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1035
1036 * gdb.python/python.exp: Change expected reply to help().
1037
9e8cd6df
YQ
10382014-12-01 Yao Qi <yao@codesourcery.com>
1039
1040 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1041 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1042 * configure: Re-generated.
1043
6c659fc2
SC
10442014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1045
1046 * gdb.cp/chained-calls.cc: New file.
1047 * gdb.cp/chained-calls.exp: New file.
1048 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1049
d7fc3181
SM
10502014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1051
1052 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1053 * gdb.dwarf2/symtab-producer.exp: Same.
1054 * gdb.gdb/python-interrupts.exp: Same.
1055 * gdb.gdb/python-selftest.exp: Same.
1056 * gdb.python/py-linetable.exp: Same.
1057 * gdb.python/py-type.exp: Same.
1058 * gdb.python/py-value-cc.exp: Same.
1059 * gdb.python/py-value.exp: Same.
1060
10e79639
YQ
10612014-11-28 Yao Qi <yao@codesourcery.com>
1062
1063 * gdb.base/break-probes.exp: Match library name prefixed with
1064 sysroot.
1065
f28a0564
SM
10662014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1067
1068 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1069 test expected output. Add parentheses for the call to print.
1070 Remove L suffix from integers.
1071
3fe1ce1d
DE
10722014-11-26 Doug Evans <dje@google.com>
1073
1074 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1075
84429e27
YQ
10762014-11-22 Yao Qi <yao@codesourcery.com>
1077
1078 * gdb.trace/entry-values.c: Remove asms.
1079 (foo): Add foo_label.
1080 (bar): Add bar_label.
1081 * gdb.trace/entry-values.exp: Remove code computing foo's
1082 length and bar's length.
1083 (Dwarf::assemble): Invoke function_range for bar and use
1084 MACRO_AT_func for foo.
1085
26741859
YQ
10862014-11-22 Yao Qi <yao@codesourcery.com>
1087
1088 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1089 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1090 Use .Lgcc43_procstart instead of gcc43.
1091
45e44d27
JB
10922014-11-21 Joel Brobecker <brobecker@adacore.com>
1093
1094 * gdb.ada/n_arr_bound: New testcase.
1095
458c8db8
SDJ
10962014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1097
1098 PR breakpoints/10737
1099 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1100 test_catch_syscall_multi_arch.
1101 (test_catch_syscall_multi_arch): New function.
1102
43f3e411
DE
11032014-11-20 Doug Evans <xdje42@gmail.com>
1104
1105 * gdb.base/maint.exp: Update expected output.
1106
0d7b2549
AA
11072014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1108
1109 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1110 4-byte instruction on S390.
1111
8908fca5
JB
11122014-11-19 Joel Brobecker <brobecker@adacore.com>
1113
1114 * gdb.ada/arr_arr: New testcase.
1115
4a46959e
JB
11162014-11-19 Joel Brobecker <brobecker@adacore.com>
1117
1118 * gdb.ada/pkd_arr_elem: New Testcase.
1119
470e2f4e
LM
11202014-11-18 Luis Machado <lgustavo@codesourcery.com>
1121
1122 * gdb.reverse/break-precsave: Expect completion message for
1123 core file reads.
1124 * gdb.reverse/consecutive-precsave.exp: Likewise.
1125 * gdb.reverse/finish-precsave.exp: Likewise.
1126 * gdb.reverse/i386-precsave.exp: Likewise.
1127 * gdb.reverse/machinestate-precsave.exp: Likewise.
1128 * gdb.reverse/sigall-precsave.exp: Likewise.
1129 * gdb.reverse/solib-precsave.exp: Likewise.
1130 * gdb.reverse/step-precsave.exp: Likewise.
1131 * gdb.reverse/until-precsave.exp: Likewise.
1132 * gdb.reverse/watch-precsave.exp: Likewise.
1133
a267f3ad
AA
11342014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1135
1136 * gdb.base/bp-permanent.c: Include unistd.h.
1137 * gdb.python/py-framefilter-mi.c (main): Add return type.
1138 * gdb.python/py-framefilter.c (main): Likewise.
1139 * gdb.trace/actions-changed.c (main): Likewise.
1140
12084a9a
AA
11412014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1142
1143 * gdb.mi/until.c: Add eye-catchers.
1144 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1145 line numbers.
1146
dc7e1a77
AA
11472014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1148
1149 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1150 function header variants in break1.c.
1151 * gdb.base/ena-dis-br.exp: Likewise.
1152 * gdb.base/hbreak2.exp: Likewise.
1153 * gdb.reverse/until-precsave.exp: Drop references to removed
1154 non-prototype function header variants in ur1.c.
1155 * gdb.reverse/until-reverse.exp: Likewise.
1156
41c77605
PM
11572014-11-17 Petr Machata <pmachata@redhat.com>
1158
1159 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1160 ${_cu_offset_size} bytes abbrev offset.
1161
34248c3a
DE
11622014-11-15 Doug Evans <xdje42@gmail.com>
1163
1164 PR symtab/17559
1165 * gdb.base/line-symtabs.exp: New file.
1166 * gdb.base/line-symtabs.c: New file.
1167 * gdb.base/line-symtabs.h: New file.
1168
646da059
YQ
11692014-11-14 Yao Qi <yao@codesourcery.com>
1170
1171 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1172 (func): Add label func_label.
1173 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1174 Replace low_pc and high_pc with MACRO_AT_range.
1175 Replace name, low_pc and high_pc with MACRO_AT_func.
1176
9301ebe6
YQ
11772014-11-14 Yao Qi <yao@codesourcery.com>
1178
1179 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1180 Replace name, low_pc and high_pc with MACRO_AT_func.
1181
f166b542
YQ
11822014-11-14 Yao Qi <yao@codesourcery.com>
1183
1184 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1185 produce debug information.
1186 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1187
0f6e71e3
YQ
11882014-11-14 Yao Qi <yao@codesourcery.com>
1189
1190 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1191 object and get function length.
1192 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1193 with MACRO_AT_func.
1194 (top-level): Replace gdb_compile and clean_restart with
1195 prepare_for_testing.
1196 * gdb.dwarf2/main.c (main): Add label main_label.
1197
876c4df9
YQ
11982014-11-14 Yao Qi <yao@codesourcery.com>
1199
1200 * lib/dwarf.exp (function_range): New procedure.
1201 (Dwarf::_handle_macro_at_func): New procedure.
1202 (Dwarf::_handle_macro_at_range): New procedure.
1203 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1204
02ad9cf1
YQ
12052014-11-14 Yao Qi <yao@codesourcery.com>
1206
1207 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1208 (_handle_attribute): New procedure.
1209
a59add0c
AA
12102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1211
1212 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1213 * gdb.base/call-sc.c (zed): Likewise.
1214 * gdb.base/checkpoint.c (main): Likewise.
1215 * gdb.base/dump.c (main): Likewise.
1216 * gdb.base/gcore.c (main): Likewise.
1217 * gdb.base/huge.c (main): Likewise.
1218 * gdb.base/multi-forks.c (main): Likewise.
1219 * gdb.base/pr10179-a.c (main): Likewise.
1220 * gdb.base/savedregs.c (main): Likewise.
1221 * gdb.base/sigaltstack.c (main): Likewise.
1222 * gdb.base/siginfo.c (main): Likewise.
1223 * gdb.base/structs.c (zed): Likewise.
1224 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1225 * gdb.mi/mi-syn-frame.c (main): Likewise.
1226 * gdb.mi/until.c (foo, main): Likewise.
1227 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1228 * gdb.base/solib-weak.c (foo): Declare.
1229 * gdb.base/attach-twice.c: Include stdio.h.
1230 * gdb.base/weaklib1.c: Likewise.
1231 * gdb.base/weaklib2.c: Likewise.
1232 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1233 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1234 unistd.h.
1235 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1236 * gdb.mi/mi-exit-code.c: Likewise.
1237 * gdb.base/break-interp-lib.c: Include string.h.
1238 * gdb.base/coremaker.c: Likewise.
1239 * gdb.base/testenv.c: Likewise.
1240 * gdb.python/py-finish-breakpoint.c: Likewise.
1241 * gdb.base/inferior-died.c: Include sys/wait.h.
1242 * gdb.base/fileio.c: Include time.h.
1243 * gdb.base/async-shell.c: Include unistd.h.
1244 * gdb.base/dprintf-non-stop.c: Likewise.
1245 * gdb.base/info-os.c: Likewise.
1246 * gdb.mi/mi-console.c: Likewise.
1247 * gdb.mi/watch-nonstop.c: Likewise.
1248 * gdb.python/py-events.c: Likewise.
1249 * gdb.base/async.c (baz): Move up before its invocation.
1250 * gdb.base/code_elim2.c (my_global_func): Likewise.
1251 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1252 * gdb.base/advance.c (func2): Likewise.
1253
3b5d5997
AA
12542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1255
1256 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1257 variant.
1258 * gdb.base/annota3.c: Likewise.
1259 * gdb.base/async.c: Likewise.
1260 * gdb.base/average.c: Likewise.
1261 * gdb.base/call-ar-st.c: Likewise.
1262 * gdb.base/call-rt-st.c: Likewise.
1263 * gdb.base/call-sc.c: Likewise.
1264 * gdb.base/call-strs.c: Likewise.
1265 * gdb.base/ending-run.c: Likewise.
1266 * gdb.base/execd-prog.c: Likewise.
1267 * gdb.base/exprs.c: Likewise.
1268 * gdb.base/foll-exec.c: Likewise.
1269 * gdb.base/foll-fork.c: Likewise.
1270 * gdb.base/foll-vfork.c: Likewise.
1271 * gdb.base/funcargs.c: Likewise.
1272 * gdb.base/gcore.c: Likewise.
1273 * gdb.base/jump.c: Likewise.
1274 * gdb.base/langs0.c: Likewise.
1275 * gdb.base/langs1.c: Likewise.
1276 * gdb.base/langs2.c: Likewise.
1277 * gdb.base/mips_pro.c: Likewise.
1278 * gdb.base/nodebug.c: Likewise.
1279 * gdb.base/opaque0.c: Likewise.
1280 * gdb.base/opaque1.c: Likewise.
1281 * gdb.base/recurse.c: Likewise.
1282 * gdb.base/run.c: Likewise.
1283 * gdb.base/scope0.c: Likewise.
1284 * gdb.base/scope1.c: Likewise.
1285 * gdb.base/setshow.c: Likewise.
1286 * gdb.base/setvar.c: Likewise.
1287 * gdb.base/shmain.c: Likewise.
1288 * gdb.base/shr1.c: Likewise.
1289 * gdb.base/shr2.c: Likewise.
1290 * gdb.base/sigall.c: Likewise.
1291 * gdb.base/signals.c: Likewise.
1292 * gdb.base/so-indr-cl.c: Likewise.
1293 * gdb.base/solib2.c: Likewise.
1294 * gdb.base/structs.c: Likewise.
1295 * gdb.base/sum.c: Likewise.
1296 * gdb.base/vforked-prog.c: Likewise.
1297 * gdb.base/watchpoint.c: Likewise.
1298 * gdb.reverse/shr2.c: Likewise.
1299 * gdb.reverse/until-reverse.c: Likewise.
1300 * gdb.reverse/ur1.c: Likewise.
1301 * gdb.reverse/watch-reverse.c: Likewise.
1302
066a77c5
AA
13032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1304
1305 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1306 variant.
1307 * gdb.base/sepdebug.exp: Drop references to removed code.
1308
4f204ea5
AA
13092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1310
1311 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1312 variant. Preserve original line numbering.
1313 * gdb.base/list1.c: Likewise.
1314
3b377a3a
AA
13152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1316
1317 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1318 variant.
1319 * gdb.base/break1.c: Likewise.
1320 * gdb.base/break.exp: Drop references to removed code.
1321
e444df73
AA
13222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1323
1324 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1325 variant.
1326
8008f2a7
AA
13272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1328
1329 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1330
a5a06887
AA
13312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1332
1333 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1334 logic into perform_all_tests() and invoke it with and without
1335 function header prototypes.
1336 (do_function_calls): Remove conditional XFAIL for PR 5318.
1337 (rerun_and_prepare): Remove duplicate code.
1338 (perform_all_tests): New. Main logic moved here.
1339
44dba9b9
AA
13402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1341
1342 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1343 code guarded by #ifdef NO_PROTOTYPES.
1344 (t_double_many_args): Likewise.
1345 (DEF_FUNC_MANY_ARGS_1): Likewise.
1346 (DEF_FUNC_VALUES_1): Likewise.
1347 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1348 guarded by #ifdef PROTOTYPES.
1349
d1fbcd56
AA
13502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1351
1352 * gdb.mi/mi-console.c: Add eye-catcher.
1353 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1354 instead of literal line number.
1355
b0e59b8f
AA
13562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1357
1358 * gdb.base/shr2.c: Add eye-catcher.
1359 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1360 line number.
1361
78f98cca
AA
13622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1363
1364 * gdb.base/jump.c: Add eye-catchers.
1365 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1366 numbers.
1367
58fa2af0
AA
13682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1369
1370 * gdb.base/execd-prog.c: Add eye-catchers.
1371 * gdb.base/foll-exec.c: Likewise.
1372 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1373 line numbers.
1374
04e5059b
AA
13752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1376
1377 * gdb.base/ending-run.c: Add eye-catchers.
1378 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1379 literal line numbers.
1380
dbfdb174
AA
13812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1382
1383 * gdb.base/call-rt-st.c: Add eye-catchers.
1384 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1385 literal line numbers.
1386
888a2ade
AA
13872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1388
1389 * gdb.base/call-ar-st.c: Add eye-catchers.
1390 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1391 literal line numbers.
1392
6acc2dde
AA
13932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1394
1395 * gdb.base/average.c: Add eye-catchers.
1396 * gdb.base/sum.c: Likewise.
1397 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1398 regexps dynamically.
1399
9ecfcd1d
AA
14002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1401
1402 * gdb.base/solib1.c: Add eye-catchers.
1403 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1404 literal line numbers.
1405
78708b7c
PA
14062014-11-12 Pedro Alves <palves@redhat.com>
1407
1408 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1409 leader has exited.
1410
af48d08f
PA
14112014-11-12 Pedro Alves <palves@redhat.com>
1412
1413 * gdb.arch/i386-bp_permanent.c: New file.
1414 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1415 (srcfile): Set to i386-bp_permanent.c.
1416 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1417 that stepi does not execute the 'leave' instruction, instead of
1418 testing it does execute.
1419 * gdb.base/bp-permanent.c: New file.
1420 * gdb.base/bp-permanent.exp: New file.
1421
af3768e9
DE
14222014-11-10 Doug Evans <xdje42@gmail.com>
1423
1424 PR symtab/17564
1425 * gdb.base/symtab-search-order.exp: New file.
1426 * gdb.base/symtab-search-order.c: New file.
1427 * gdb.base/symtab-search-order-1.c: New file.
1428 * gdb.base/symtab-search-order-shlib-1.c: New file.
1429
9de00a4a
PA
14302014-11-07 Pedro Alves <palves@redhat.com>
1431
1432 PR gdb/17511
1433 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1434 i?86-*-linux*.
1435
e0f52461
SC
14362014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1437
1438 PR c++/17494
1439 * gdb.cp/pr17494.cc: New file.
1440 * gdb.cp/pr17494.exp: New file.
1441
6ce8c980
YQ
14422014-11-02 Yao Qi <yao@codesourcery.com>
1443
1444 * gdb.python/python.exp: Get working directory and match the
1445 output of "set extended-prompt \\w " with it.
1446
02be9a71
DE
14472014-10-30 Doug Evans <dje@google.com>
1448
1449 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1450 in objfiles.
1451 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1452 in progspaces.
1453
3bdff46b
LM
14542014-10-30 Janis Johnson <janisjo@codesourcery.com>
1455
1456 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1457 * gdb.base/realname-expand.exp: Likewise.
1458 * gdb.linespec/macro-relative.exp: Likewise.
1459
ab917dfb
PA
14602014-10-29 Pedro Alves <palves@redhat.com>
1461
1462 PR gdb/17408
1463 * gdb.threads/schedlock.c (some_function): New function.
1464 (call_function): New global.
1465 (MAYBE_CALL_SOME_FUNCTION): New macro.
1466 (thread_function): Call it.
1467 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1468 and use it instead of a global counter. Adjust all callers.
1469 (get_current_thread): Use "find current thread" for test message
1470 here rather than having all callers pass down the same string.
1471 (goto_loop): New procedure, factored out from ...
1472 (my_continue): ... this.
1473 (step_ten_loops): Change parameter from test message to command to
1474 use. Adjust.
1475 (list_count): Delete global.
1476 (check_result): New procedure, factored out from duplicate top
1477 level code.
1478 (continue tests): Wrap in with_test_prefix.
1479 (test_step): New procedure, factored out from duplicate top level
1480 code.
1481 (top level): Test "step" in combination with all scheduler-locking
1482 modes. Test "next" in combination with all scheduler-locking
1483 modes, and in combination with stepping over a function call or
1484 not.
1485 * gdb.threads/next-bp-other-thread.c: New file.
1486 * gdb.threads/next-bp-other-thread.exp: New file.
1487
d3d4baed
PA
14882014-10-29 Pedro Alves <palves@redhat.com>
1489
1490 PR python/17372
1491 * gdb.python/python.exp: Test a multi-line command that spawns
1492 interactive Python.
1493 * gdb.base/multi-line-starts-subshell.exp: New file.
1494
563e8d85
YQ
14952014-10-29 Yao Qi <yao@codesourcery.com>
1496
1497 * gdb.base/fileio.exp: Make directories on host.
1498
0ea4d52e
YQ
14992014-10-29 Yao Qi <yao@codesourcery.com>
1500
1501 * gdb.base/fileio.c (test_write): Close the file.
1502
7f5ef605
PA
15032014-10-28 Pedro Alves <palves@redhat.com>
1504
1505 PR gdb/12623
1506 * gdb.base/sigstep.c (no_handler): New global.
1507 (main): If 'no_handler is true, set the signal handlers to
1508 SIG_IGN.
1509 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1510 with_sw_watch and no_handler parameters. Handle them.
1511 (top level) <stepping over handler when stopped at a breakpoint
1512 test>: Add a test axis for testing with a software watchpoint, and
1513 another for testing with the signal handler set to SIG_IGN.
1514 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1515 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1516
abbdbd03
PA
15172014-10-28 Pedro Alves <palves@redhat.com>
1518
1519 PR gdb/17511
1520 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1521 * gdb.base/sigstep.exp (other_handler_location): New global.
1522 (advance): Support stepping into the signal handler, and running
1523 commands while in the handler.
1524 (in_handler_map): New global.
1525 (top level): In the advance test, add combinations for getting
1526 into the handler with stepping commands, and for running commands
1527 in the handler. Add comment descripting the advancei tests.
1528
1df4399f
PA
15292014-10-28 Pedro Alves <palves@redhat.com>
1530
1531 * gdb.base/sigstep.exp: Use build_executable instead of
1532 prepare_for_testing.
1533 (top level): Move code that starts GDB, runs to main and creates a
1534 display to ...
1535 (restart): ... this new procedure.
1536 (top level): Move backtrace from signal handler test to ...
1537 (validate_backtrace): ... this new procedure.
1538 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1539 with_test_prefix. Always restart GDB.
1540 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1541 with_test_prefix. Always restart GDB. No need to delete
1542 breakpoints after the test.
1543 (test_skip_handler): Remove prefix parameter.
1544 (skip_over_handler, breakpoint_to_handler)
1545 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1546 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1547 restart GDB. No need to delete breakpoints after the test.
1548 (top level): Use foreach to call the test procedures with
1549 different commands.
1550
a5b6e449
PA
15512014-10-28 Pedro Alves <palves@redhat.com>
1552
1553 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1554 instead of GNATS numbers.
1555 * gdb.base/sigbpt.exp: Likewise.
1556 * gdb.base/siginfo.exp: Likewise.
1557 * gdb.base/sigstep.exp: Likewise.
1558
e5f8a7cc
PA
15592014-10-27 Pedro Alves <palves@redhat.com>
1560
1561 * gdb.base/sigstep.c (dummy): New global.
1562 (main): Issue a couple writes to the new global.
1563 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1564 procedures.
1565 (skip_over_handler): Use test_skip_handler.
1566 (top level): Call skip_over_handler for stepi and nexti too.
1567 (breakpoint_over_handler): Use test_skip_handler.
1568 (top level): Call breakpoint_over_handler for stepi and nexti too.
1569
763905a3
YQ
15702014-10-27 Yao Qi <yao@codesourcery.com>
1571
1572 * gdb.trace/tfile.c (adjust_function_address)
1573 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1574 function descriptor.
1575
6f259a23
DB
15762014-10-24 Don Breazeal <donb@codesourcery.com>
1577
1578 * gdb.base/foll-fork.exp (test_follow_fork,
1579 catch_fork_child_follow): Check for updated fork messages emitted
1580 from infrun.c.
1581 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1582 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1583 vfork_and_exec_child_follow_through_step): Check for updated vfork
1584 messages emitted from infrun.c.
1585
09dd9a69
PA
15862014-10-24 Pedro Alves <palves@redhat.com>
1587
1588 * gdb.base/corefile.exp: Remove references to ultrix.
1589 * gdb.base/interrupt.exp: Likewise.
1590 * gdb.base/whatis.exp: Likewise.
1591 * gdb.gdb/selftest.exp: Likewise.
1592 * gdb.threads/manythreads.exp: Likewise.
1593 * gdb.threads/print-threads.exp: Likewise.
1594 * gdb.threads/pthreads.exp:: Likewise.
1595 * gdb.threads/schedlock.exp: Likewise.
1596
3433cfa5
SC
15972014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1598
1599 * gdb.cp/non-trivial-retval.cc: Add a test case.
1600 * gdb.cp/non-trivial-retval.exp: Add a test.
1601
092f880b
YQ
16022014-10-20 Yao Qi <yao@codesourcery.com>
1603
1604 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1605 * gdb.python/py-objfile-script-gdb.py: New file.
1606 * gdb.python/py-objfile-script.exp: Update reference to
1607 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1608 of remote_download. Remove the dest file.
1609
acbdb7f3
YQ
16102014-10-20 Yao Qi <yao@codesourcery.com>
1611
1612 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1613 * gdb.base/step-line.exp: Likewise.
1614 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1615 * gdb.dwarf2/dw2-basic.exp: Likewise.
1616 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1617 * gdb.dwarf2/dw2-filename.exp: Likewise.
1618 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1619 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1620 * gdb.dwarf2/dw2-producer.exp: Likewise.
1621 * gdb.dwarf2/mac-fileno.exp: Likewise.
1622 * gdb.python/py-frame-args.exp: Likewise.
1623 * gdb.python/py-framefilter.exp: Likewise.
1624 * gdb.python/py-mi.exp: Likewise.
1625 * gdb.python/py-objfile-script.exp: Likewise
1626 * gdb.python/py-pp-integral.exp: Likewise.
1627 * gdb.python/py-pp-re-notag.exp: Likewise.
1628 * gdb.python/py-prettyprint.exp: Likewise.
1629 * gdb.python/py-section-script.exp: Likewise.
1630 * gdb.python/py-typeprint.exp: Likewise.
1631 * gdb.python/py-xmethods.exp: Likewise.
1632 * gdb.stabs/weird.exp: Likewise.
1633 * gdb.xml/tdesc-regs.exp: Likewise.
1634
bd286a29
KCY
16352014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1636
1637 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1638 (out_cu): Use addr_len for the size of addresses.
1639 (out_line): Likewise. Size DW_LNE_set_address instruction
1640 according to addr_len.
1641 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1642 (FUNC): Add START_INSNS to definition.
1643
673dc4a0
YQ
16442014-10-18 Yao Qi <yao@codesourcery.com>
1645
1646 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1647 gdb_has_argv0 return true.
1648 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1649 check [target_info exists noargs], check [gdb_has_argv0]
1650 instead.
1651 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1652 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1653 procedures.
1654
4ffbba72
DE
16552014-10-17 Doug Evans <dje@google.com>
1656
1657 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1658 event.
1659 * gdb.python/py-events.py: Add clear_objfiles event.
1660
d096d8c1
DE
16612014-10-17 Doug Evans <dje@google.com>
1662
1663 * gdb.python/py-objfile.exp: Test progspace attribute.
1664
a80db015
LM
16652014-10-17 Luis Machado <lgustavo@codesourcery.com>
1666
1667 * gdb.guile/scm-breakpoint.exp: Do not assume any
1668 directory separators when matching source file paths.
1669 * gdb.python/py-breakpoint.exp: Likewise.
1670 * gdb.reverse/break-precsave.exp: Likewise.
1671 * gdb.reverse/break-reverse.exp: Likewise.
1672 * gdb.reverse/consecutive-precsave.exp: Likewise.
1673 * gdb.reverse/finish-precsave.exp: Likewise.
1674 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1675 * gdb.reverse/finish-reverse.exp: Likewise.
1676 * gdb.reverse/i386-precsave.exp: Likewise.
1677 * gdb.reverse/i387-env-reverse.exp: Likewise.
1678 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1679 * gdb.reverse/machinestate-precsave.exp: Likewise.
1680 * gdb.reverse/machinestate.exp: Likewise.
1681 * gdb.reverse/sigall-precsave.exp: Likewise.
1682 * gdb.reverse/solib-precsave.exp: Likewise.
1683 * gdb.reverse/step-precsave.exp: Likewise.
1684 * gdb.reverse/until-precsave.exp: Likewise.
1685 * gdb.reverse/watch-precsave.exp: Likewise.
1686 * gdb.reverse/watch-reverse.exp: Likewise.
1687
b22089ab
YQ
16882014-10-17 Yao Qi <yao@codesourcery.com>
1689
1690 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1691 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1692
6c4486e6
PA
16932014-10-17 Pedro Alves <palves@redhat.com>
1694
1695 PR gdb/17471
1696 * gdb.base/bg-execution-repeat.c: New file.
1697 * gdb.base/bg-execution-repeat.exp: New file.
1698
0ff33695
PA
16992014-10-17 Pedro Alves <palves@redhat.com>
1700
1701 PR gdb/17300
1702 * gdb.base/continue-all-already-running.c: New file.
1703 * gdb.base/continue-all-already-running.exp: New file.
1704
6fdebc3d
PA
17052014-10-17 Pedro Alves <palves@redhat.com>
1706
1707 PR gdb/17472
1708 * gdb.base/annota-input-while-running.c: New file.
1709 * gdb.base/annota-input-while-running.exp: New file.
1710
32a8097b
PA
17112014-10-17 Pedro Alves <palves@redhat.com>
1712
1713 * gdb.base/callfuncs.exp: emove references to osf.
1714 * gdb.base/sigall.exp: Likewise.
1715 * gdb.gdb/selftest.exp: Likewise.
1716 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1717 * gdb.mi/non-stop.c: Likewise.
1718 * gdb.mi/pthreads.c: Likewise.
1719 * gdb.reverse/sigall-precsave.exp: Likewise.
1720 * gdb.reverse/sigall-reverse.exp: Likewise.
1721 * gdb.threads/pthreads.c: Likewise.
1722 * gdb.threads/pthreads.exp: Likewise.
1723
7a3517ff
YQ
17242014-10-17 Yao Qi <yao@codesourcery.com>
1725
1726 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1727 check 'target_info exists noargs'.
1728 (test_command_prompt_position): Likewise.
1729 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1730 Remove "set args".
1731 (progvar_simple_while_test): Likewise.
1732 (progvar_complex_if_while_test): Likewise.
1733 (if_while_breakpoint_command_test): Likewise.
1734 (infrun_breakpoint_command_test): Likewise.
1735 (breakpoint_command_test): Likewise.
1736 (watchpoint_command_test): Likewise.
1737 (bp_deleted_in_command_test): Likewise.
1738 (temporary_breakpoint_commands): Likewise.
1739
bb99c472
YQ
17402014-10-16 Yao Qi <yao@codesourcery.com>
1741
1742 * gdb.base/remotetimeout.exp: Remove noargs checking.
1743
7c16b83e
PA
17442014-10-15 Pedro Alves <palves@redhat.com>
1745
1746 PR breakpoints/9649
1747 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1748 * gdb.base/breakpoint-in-ro-region.exp
1749 (probe_target_hardware_step): New procedure.
1750 (top level): Probe hardware stepping and hardware breakpoint
1751 support. Test stepping through a read-only region, with both
1752 "breakpoint auto-hw" on and off and both "always-inserted" on and
1753 off.
1754
35a49624
IB
17552014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1756
1757 * gdb.dlang/demangle.exp: Update for demangling changes.
1758
2d1c107c
SC
17592014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1760
1761 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1762 * gdb.cp/non-trivial-retval.exp: Add new tests.
1763
778811d5
SC
17642014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1765
1766 PR c++/13403
1767 PR c++/15154
1768 * gdb.cp/non-trivial-retval.cc: New file.
1769 * gdb.cp/non-trivial-retval.exp: New file.
1770
10c5f0a8
YQ
17712014-10-15 Yao Qi <yao@codesourcery.com>
1772
1773 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1774 remote host.
1775
65d7b369
YQ
17762014-10-15 Yao Qi <yao@codesourcery.com>
1777
1778 * gdb.python/py-symbol.exp: Match file base name if host is
1779 remote, otherwise match file name with dir name.
1780 * gdb.python/py-symtab.exp: Likewise.
1781 * gdb.python/python.exp: Likewise.
1782
46dc1394
YQ
17832014-10-15 Yao Qi <yao@codesourcery.com>
1784
1785 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1786 pattern.
1787 * gdb.python/py-symtab.exp: Likewise.
1788 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1789 locationn.
1790
c40cc657
JB
17912014-10-14 Joel Brobecker <brobecker@adacore.com>
1792
1793 * gdb.ada/addr_arith: New testcase.
1794
2abf49e1
MR
17952014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1796
1797 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1798 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1799 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1800 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1801
f7088df3
SDJ
18022014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1803
1804 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1805 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1806 * gdb.arch/stap-eval-lang-ada.exp: New file.
1807
4dc06805
YQ
18082014-10-14 Yao Qi <yao@codesourcery.com>
1809
1810 * gdb.mi/mi-var-child.c (nothing1): New function.
1811 (nothing2): New function.
1812 (do_children_tests): Set function pointers by nothing1 and
1813 nothing2.
1814 * gdb.mi/mi-var-child.exp: Step over new added statements.
1815 Update test to match the new output.
1816 * gdb.mi/var-cmd.c (nothing1): New function.
1817 (nothing2): New function.
1818 (do_children_tests): Set function pointers by nothing1 and
1819 nothing2.
1820 * gdb.mi/mi-var-display.exp: Update test to match output.
1821 Step to the line specified by $line_dct_nothing.
1822 Increase the number of lines to step.
1823
46a93de2
YQ
18242014-10-14 Yao Qi <yao@codesourcery.com>
1825
1826 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1827 tests.
1828 * gdb.mi/mi2-var-child.exp: Likewise.
1829
14ea52ee
DE
18302014-10-13 Doug Evans <dje@google.com>
1831
1832 * gdb.python/py-objfile.exp: Change name of file name test.
1833
e5c6e92b
DE
18342014-10-13 Doug Evans <dje@google.com>
1835
1836 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1837 from the start of the CU.
1838
c780cc2f
JK
18392014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1840 Yao Qi <yao@codesourcery.com>
1841
1842 Fix "save breakpoints" for "catch" command.
1843 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1844 Remove -nonewline. Match also the added "main" line.
1845
99894e11
JK
18462014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1847
1848 Fix "save breakpoints" for "disable $bpnum" command.
1849 * gdb.base/save-bp.c (main): Add label.
1850 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1851
6e1ac5a3
JK
18522014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1853
1854 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1855
754dd2b0
YQ
18562014-10-11 Yao Qi <yao@codesourcery.com>
1857
1858 * gdb.server/server-kill.exp: Execute command
1859 "set remote trace-status-packet on" before "tstatus".
1860
f90183d7
YQ
18612014-10-11 Yao Qi <yao@codesourcery.com>
1862
1863 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1864 (main): Call getppid.
1865 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1866 and continue to it. Read variable "server_pid".
1867
bf40a607
YQ
18682014-10-11 Yao Qi <yao@codesourcery.com>
1869
1870 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1871
052ca370
YQ
18722014-10-11 Yao Qi <yao@codesourcery.com>
1873
1874 * gdb.threads/thread-find.exp: Don't execute command
1875 "info threads".
1876 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1877 * gdb.threads/linux-dp.exp: Don't check the condition
1878 $threads_created equals to zero.
1879
3831839c
PA
18802014-10-10 Pedro Alves <palves@redhat.com>
1881
1882 * gdb.base/bigcore.exp: Remove references to IRIX.
1883 * gdb.base/funcargs.exp: Likewise.
1884 * gdb.base/interrupt.exp: Likewise.
1885 * gdb.base/mips_pro.exp: Likewise.
1886 * gdb.base/nodebug.exp: Likewise.
1887 * gdb.base/setvar.exp: Likewise.
1888 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1889
8b9a549d
PA
18902014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1891 Pedro Alves <palves@redhat.com>
1892
1893 PR symtab/14466
1894 * gdb.base/vdso-warning.c: New file.
1895 * gdb.base/vdso-warning.exp: New file.
1896
d48ba5e8
DE
18972014-10-02 Doug Evans <dje@google.com>
1898
1899 * gdb.base/structs.c (main): Don't run forever.
1900
2278c276
PA
19012014-10-02 Pedro Alves <palves@redhat.com>
1902
1903 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1904 (top level) <stop threads 1, stop threads 2>: Use it.
1905
b57bacec
PA
19062014-10-02 Pedro Alves <palves@redhat.com>
1907
1908 * gdb.threads/break-while-running.exp (test): Add new
1909 'update_thread_list' argument. Skip "info threads" if false.
1910 (top level): Add new 'update_thread_list' axis.
1911
13fd3ff3
PA
19122014-10-02 Pedro Alves <palves@redhat.com>
1913
1914 PR breakpoints/17431
1915 * gdb.base/execl-update-breakpoints.c: New file.
1916 * gdb.base/execl-update-breakpoints.exp: New file.
1917
0fec99e8
PA
19182014-10-01 Pedro Alves <palves@redhat.com>
1919
1920 * gdb.base/breakpoint-in-ro-region.c: New file.
1921 * gdb.base/breakpoint-in-ro-region.exp: New file.
1922
2ddf4301
SM
19232014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1924
1925 * gdb.mi/mi-exit-code.exp: New file.
1926 * gdb.mi/mi-exit-code.c: New file.
1927
6a5f3f43
YQ
19282014-09-30 Yao Qi <yao@codesourcery.com>
1929
1930 * lib/prelink-support.exp (build_executable_own_libs): Error if
1931 the target isn't native.
1932
345bcc73
YQ
19332014-09-30 Yao Qi <yao@codesourcery.com>
1934
1935 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1936 false.
1937
a25a5a45
PA
19382014-09-22 Pedro Alves <palves@redhat.com>
1939
1940 * gdb.threads/break-while-running.exp: New file.
1941 * gdb.threads/break-while-running.c: New file.
1942
00ba3162
YQ
19432014-09-19 Yao Qi <yao@codesourcery.com>
1944
1945 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1946 Invoke test. Restart GDB with --readnow and invoke test again.
1947
c3b7b696
YQ
19482014-09-19 Yao Qi <yao@codesourcery.com>
1949
1950 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1951 proc set_breakpoint_on_gcd_function. Invoke
1952 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1953 invoke set_breakpoint_on_gcd_function again.
1954
2b4fd423
DE
19552014-09-18 Doug Evans <dje@google.com>
1956
1957 * gdb.dwarf2/symtab-producer.exp: New file.
1958
a5947601
SDJ
19592014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1960
1961 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1962 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1963 * gdb.base/global-var-nested-by-dso.c: Likewise.
1964 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1965
91c19059
SDJ
19662014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1967 Pedro Alves <palves@redhat.com>
1968
1969 * gdb.base/watch-bitfields.exp: Pass string other than test file
1970 name to prepare_for_testing.
1971 (watch): New procedure.
1972 (expect_watchpoint): Use with_test_prefix.
1973 (top level): Factor out tests to ...
1974 (test_watch_location, test_regular_watch): ... these new
1975 procedures, and use with_test_prefix and gdb_continue_to_end.
1976
bb9d5f81
PP
19772014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1978
1979 PR breakpoints/12526
1980 * gdb.base/watch-bitfields.exp: New file.
1981 * gdb.base/watch-bitfields.c: New file.
1982
635856f5
PA
19832014-09-16 Pedro Alves <palves@redhat.com>
1984
1985 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1986 software and hardware addresses, not software address against
1987 itself.
1988
7280ceea
PA
19892014-09-16 Pedro Alves <palves@redhat.com>
1990
1991 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1992 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1993
428b16bd
PA
19942014-09-16 Pedro Alves <palves@redhat.com>
1995
1996 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1997 files.
1998 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1999 "*-*-vxworks*" throughout.
2000 * gdb.base/break.exp: Likewise.
2001 * gdb.base/default.exp: Likewise.
2002 * gdb.base/scope.exp: Likewise.
2003 * gdb.base/sepdebug.exp: Likewise.
2004 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2005 throughout.
2006 * gdb.base/run.c: Likewise.
2007 * gdb.base/sepdebug.c: Likewise.
2008 * gdb.hp/gdb.aCC/run.c: Likewise.
2009 * gdb.reverse/until-reverse.c: Likewise.
2010 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2011
666d413c
YQ
20122014-09-16 Yao Qi <yao@codesourcery.com>
2013
2014 * boards/local-remote-host-native.exp: New file.
2015
57cbd724
DE
20162014-09-14 Doug Evans <xdje42@gmail.com>
2017
2018 * gdb.threads/queue-signal.c (thread_count): New variable.
2019 (thread_count_mutex, thread_count_condvar): New variables.
2020 (incr_thread_count, wait_all_threads_running): New functions.
2021 (main): Wait for all threads to be in their thread functions.
2022
81219e53
DE
20232014-09-13 Doug Evans <xdje42@gmail.com>
2024
2025 * gdb.threads/queue-signal.c: New file.
2026 * gdb.threads/queue-signal.exp: New file.
2027
3714cea7
DE
20282014-09-13 Doug Evans <xdje42@gmail.com>
2029
2030 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2031 be consistent with what default_gdb_init uses.
2032 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2033 the plain text of the prompt. Add some logging printfs.
2034 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2035
fa43b1d7
PA
20362014-09-12 Pedro Alves <palves@redhat.com>
2037
2038 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2039 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2040 * gdb.arch/i386-size-overlap.exp: Likewise.
2041 * gdb.arch/i386-size.exp: Likewise.
2042 * gdb.arch/i386-unwind.exp: Likewise.
2043 * gdb.base/a2-run.exp: Likewise.
2044 * gdb.base/break.exp: Likewise.
2045 * gdb.base/charset.exp: Likewise.
2046 * gdb.base/chng-syms.exp: Likewise.
2047 * gdb.base/commands.exp: Likewise.
2048 * gdb.base/dbx.exp: Likewise.
2049 * gdb.base/find.exp: Likewise.
2050 * gdb.base/funcargs.exp: Likewise.
2051 * gdb.base/jit-simple.exp: Likewise.
2052 * gdb.base/reread.exp: Likewise.
2053 * gdb.base/sepdebug.exp: Likewise.
2054 * gdb.base/step-bt.exp: Likewise.
2055 * gdb.cp/mb-inline.exp: Likewise.
2056 * gdb.cp/mb-templates.exp: Likewise.
2057 * gdb.objc/basicclass.exp: Likewise.
2058 * gdb.threads/killed.exp: Likewise.
2059
9d9bf2df
EBM
20602014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2061
2062 PR tdep/17379
2063 * gdb.arch/powerpc-stackless.S: New file.
2064 * gdb.arch/powerpc-stackless.exp: New file.
2065
1cf2f1b0
JK
20662014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2067
2068 * gdb.base/attach.c: Include unistd.h.
2069 (main): Call alarm. Add label postloop.
2070 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2071 gdb_breakpoint, gdb_continue_to_breakpoint.
2072 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2073
98880d46
PA
20742014-09-11 Pedro Alves <palves@redhat.com>
2075
2076 PR gdb/17347
2077 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2078 * gdb.base/attach.exp (test_command_line_attach_run): New
2079 procedure.
2080 (top level): Call it.
2081
4c92ff2c
PA
20822014-09-11 Pedro Alves <palves@redhat.com>
2083
2084 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2085 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2086 (do_command_attach_tests): Use spawn_wait_for_attach.
2087 * gdb.base/solib-overlap.exp: Likewise.
2088 * gdb.multi/multi-attach.exp: Likewise.
2089 * gdb.python/py-prompt.exp: Likewise.
2090 * gdb.python/py-sync-interp.exp: Likewise.
2091 * gdb.server/ext-attach.exp: Likewise.
2092
3adc1a7d
GKB
20932014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2094
2095 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2096 command in testcase. Simplify testcase.
2097
96334934
JB
20982014-09-10 Joel Brobecker <brobecker@adacore.com>
2099
2100 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2101
eb479039
JB
21022014-09-10 Joel Brobecker <brobecker@adacore.com>
2103
2104 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2105
deede10c
JB
21062014-09-10 Joel Brobecker <brobecker@adacore.com>
2107
2108 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2109
7828a5f5
JB
21102014-09-10 Joel Brobecker <brobecker@adacore.com>
2111
2112 * gdb.dwarf2/dynarr-ptr.c: New file.
2113 * gdb.dwarf2/dynarr-ptr.exp: New file.
2114
33aeebcf
MR
21152014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2116
2117 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2118 of 30 rather than hardcoding 120 for a slow test case. Take the
2119 `gdb,timeout' target setting into account for this calculation.
2120 Don't extend the timeout for the test cases that don't need it.
2121
7b415901
MR
21222014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2123
2124 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2125 a factor of 2 for a slow test case. Take the `gdb,timeout'
2126 target setting into account for this calculation.
2127 * gdb.reverse/until-precsave.exp: Increase the timeout by
2128 a factor of 15 and 3 respectively rather than adding 120
2129 for a pair of slow test cases. Take the `gdb,timeout'
2130 target setting into account for this calculation.
2131
4a40f85a
MR
21322014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2133
2134 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2135 timeout, don't pass one down to gdb_expect.
2136 (gdb_expect): Rework timeout selection.
2137
09635af7
MR
21382014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2139
2140 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2141 exception on timeout.
2142 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2143 (gdbserver_start_extended): Catch any `gdbserver_start' error
2144 exceptions.
2145 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2146 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2147 `gdbserver_gdb_load' error exceptions.
2148
2bdd10b7
MR
21492014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2150
2151 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2152 120 on waiting for the TCP socket to open.
2153
316935f0
DE
21542014-09-09 Doug Evans <xdje42@gmail.com>
2155
2156 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2157 _caller_matches, _any_caller_is, _any_caller_matches.
2158
83740597
DE
21592014-09-09 Doug Evans <xdje42@gmail.com>
2160
2161 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2162
4c122fc3
YQ
21632014-09-09 Yao Qi <yao@codesourcery.com>
2164
2165 * gdb.mi/mi-var-display.exp: Set print symbol off.
2166
a9f116cb
GKB
21672014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2168
2169 PR gdb/17035
2170 * gdb.base/commands.exp: Add tests to verify user-defined
2171 commands with empty bodies.
2172 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2173 python commands in `show user command`.
2174 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2175 scheme commands in `show user command`.
2176
c75bd3a2
JK
21772014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2178
2179 PR python/17355
2180 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2181 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2182 * gdb.python/py-framefilter-invalidarg.exp: New file.
2183 * gdb.python/py-framefilter-invalidarg.py: New file.
2184
faa42425
DE
21852014-09-06 Doug Evans <xdje42@gmail.com>
2186
2187 PR 15276
2188 * gdb.python/py-caller-is.c: New file.
2189 * gdb.python/py-caller-is.exp: New file.
2190
474ca4f6
SDJ
21912014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2192
2193 PR gdb/17235
2194 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2195 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2196
eb0b0463
SDJ
21972014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2198
2199 PR fortran/17237
2200 * gdb.fortran/print-formatted.exp: New file.
2201 * gdb.fortran/print-formatted.f90: Likewise.
2202
5f3b99cf
SS
22032014-09-03 Sasha Smundak <asmundak@google.com>
2204
2205 * gdb.python/py-frame.exp: Test Frame.read_register.
2206
7d793aa9
SDJ
22072014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2208
2209 PR python/16699
2210 * gdb.python/py-completion.exp: New file.
2211 * gdb.python/py-completion.py: Likewise.
2212
fb0576e9
DE
22132014-08-28 Doug Evans <dje@google.com>
2214
2215 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2216 eax,etc. are live with values set by gdb and thus the compiler can't
2217 use them.
2218 * gdb.arch/i386-pseudo.c (main): Ditto.
2219
ee92b0dd
DE
22202014-08-27 Doug Evans <dje@google.com>
2221
2222 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2223
6649db35
DE
22242014-08-25 Doug Evans <dje@google.com>
2225
2226 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2227 (main): Ditto.
2228
564b7600
DE
22292014-08-25 Doug Evans <dje@google.com>
2230
2231 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2232
3881fb67
YQ
22332014-08-24 Yao Qi <yao@codesourcery.com>
2234
2235 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2236 symbol off.
2237 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2238
a05a36a5
DE
22392014-08-22 Doug Evans <dje@google.com>
2240
2241 PR 17276
2242 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2243 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2244 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2245
7c343b48
YQ
22462014-08-22 Yao Qi <yao@codesourcery.com>
2247
2248 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2249 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2250 * gdb.python/python.exp: Likewise. Use .py file on the host
2251 instead of the build.
2252
22fd09ae
JK
22532014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2254
2255 * gdb.threads/gcore-stale-thread.c: New file.
2256 * gdb.threads/gcore-stale-thread.exp: New file.
2257
a8454a7c
PA
22582014-08-21 Pedro Alves <palves@redhat.com>
2259
2260 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2261 * gdb.base/gcore-relro-pie.exp: Likewise.
2262 * gdb.base/gcore-relro.exp: Likewise.
2263 * gdb.base/gcore.exp: Likewise.
2264 * gdb.base/print-symbol-loading.exp: Likewise.
2265 * gdb.threads/gcore-thread.exp: Likewise.
2266 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2267
2a31c623
PA
22682014-08-20 Pedro Alves <palves@redhat.com>
2269 Jan Kratochvil <jan.kratochvil@redhat.com>
2270
2271 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2272 configure.
2273 (EXPECT): Handle READ1 being set.
2274 (all): Depend on EXTRA_RULES.
2275 (check-read1, expect-read1, read1.so, read1): New rules.
2276 * README (Testsuite Parameters): Document the READ1 make variable.
2277 (Race detection): New section.
2278 * configure: Regenerate.
2279 * configure.ac: If build==host==target, and running under a
2280 GNU/glibc system, add read1 to the extra Makefile rules.
2281 (EXTRA_RULES): AC_SUBST it.
2282 * lib/read1.c: New file.
2283
d36430db
JB
22842014-08-20 Joel Brobecker <brobecker@adacore.com>
2285
2286 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2287 the handling of variables declared as a typedef to an array
2288 which a DW_AT_data_location attribute.
2289
9a0dc9e3
PA
22902014-08-19 Andrew Burgess <aburgess@broadcom.com>
2291 Pedro Alves <palves@redhat.com>
2292
2293 PR symtab/14604
2294 PR symtab/14605
2295 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2296 gdb_test.
2297
0718a8da
PA
22982014-08-19 Pedro Alves <palves@redhat.com>
2299
2300 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2301
13b448cd
YQ
23022014-08-19 Yao Qi <yao@codesourcery.com>
2303
2304 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2305 right line.
2306
1cbf5077
DB
23072014-08-18 David Blaikie <dblaikie@gmail.com>
2308
2309 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2310
bf0fae19
JB
23112014-08-18 Joel Brobecker <brobecker@adacore.com>
2312
2313 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2314 attribute in array range.
2315
3c8c5dcc
JB
23162014-08-18 Joel Brobecker <brobecker@adacore.com>
2317
2318 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2319
e66d4446
SC
23202014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2321
2322 PR c++/17132
2323 * gdb.cp/pr17132.cc: New file.
2324 * gdb.cp/pr17132.exp: New file.
2325
940df408
SC
23262014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2327
2328 * gdb.python/py-xmethods.py (A_getarrayind)
2329 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2330 Use 'print' with function call syntax.
2331 (E_method_matcher.match): Fix tab vs space indentation mixup.
2332
ebcc6c3a
YQ
23332014-08-15 Yao Qi <yao@codesourcery.com>
2334
2335 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2336 false.
2337
775e0f04
YQ
23382014-08-15 Yao Qi <yao@codesourcery.com>
2339
2340 * gdb.cp/casts.exp: Set print symbol off.
2341 * gdb.cp/class2.exp: Likewise.
2342 * gdb.cp/overload.exp: Likewise.
2343 * gdb.cp/templates.exp: Likewise.
2344
d769e349
DE
23452014-08-11 Doug Evans <dje@google.com>
2346
2347 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2348 (test_load_shlib): Update.
2349
20c6f1e1
YQ
23502014-08-09 Yao Qi <yao@codesourcery.com>
2351
2352 * gdb.base/display.exp: Invoke is_address_zero_readable.
2353 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2354 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2355 * gdb.base/hbreak-unmapped.exp: Return if
2356 is_address_zero_readable returns true.
2357 * gdb.base/signest.exp: Likewise.
2358 * gdb.base/signull.exp: Likewise.
2359 * gdb.base/sigbpt.exp: Likewise.
2360 * gdb.guile/scm-disasm.exp: Do the test if
2361 is_address_zero_readable returns false.
2362 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2363 * gdb.python/py-arch.exp: Likewise.
2364 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2365 * lib/gdb.exp (is_address_zero_readable): New proc.
2366
5792e8e3
YQ
23672014-08-09 Yao Qi <yao@codesourcery.com>
2368
2369 PR testsuite/13443
2370 * gdb.mi/mi-var-display.exp: Make test messages unique.
2371
3cecbbbe
TT
23722014-08-04 Tom Tromey <tromey@redhat.com>
2373
2374 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2375 target 0".
2376
00b51ff5
TT
23772014-08-04 Tom Tromey <tromey@redhat.com>
2378
2379 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2380 "target_resume".
2381
6908c509
JB
23822014-08-01 Joel Brobecker <brobecker@adacore.com>
2383
2384 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2385 inner_vla_struct_object_size.
2386 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2387 as xfail.
2388
cc6563d2
PA
23892014-07-30 Pedro Alves <palves@redhat.com>
2390
2391 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2392 comment.
2393
7e09a223
YQ
23942014-07-29 Yao Qi <yao@codesourcery.com>
2395
2396 PR gdb/17206
2397 * gdb.base/until-nodebug.exp: New.
2398
7ebdbe92
DE
23992014-07-28 Doug Evans <xdje42@gmail.com>
2400
2401 PR guile/17203
2402 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2403 previously existing parameter, and previously ambiguously spelled
2404 parameter.
2405
fdb1adc6
WN
24062014-07-28 Will Newton <will.newton@linaro.org>
2407
2408 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2409
186fcde0
DE
24102014-07-26 Ludovic Courtès <ludo@gnu.org>
2411 Doug Evans <xdje42@gmail.com>
2412
2413 PR guile/17146
2414 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2415
70509625
PA
24162014-07-25 Pedro Alves <palves@redhat.com>
2417
2418 * gdb.threads/signal-command-handle-nopass.c: New file.
2419 * gdb.threads/signal-command-handle-nopass.exp: New file.
2420 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2421 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2422 * gdb.threads/signal-delivered-right-thread.c: New file.
2423 * gdb.threads/signal-delivered-right-thread.exp: New file.
2424
c3f814a1
PA
24252014-07-25 Pedro Alves <palves@redhat.com>
2426
2427 * gdb.base/double-prompt-target-event-error.exp
2428 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2429 match.
2430 (cancel_pagination_in_target_event): Rework double prompt
2431 detection.
2432 * gdb.base/paginate-after-ctrl-c-running.exp
2433 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2434 <return>' match.
2435 * gdb.base/paginate-bg-execution.exp
2436 (test_bg_execution_pagination_return)
2437 (test_bg_execution_pagination_cancel): Remove '-notransfer
2438 <return>' matches.
2439 * gdb.base/paginate-execution-startup.exp
2440 (test_fg_execution_pagination_return)
2441 (test_fg_execution_pagination_cancel): Remove '-notransfer
2442 <return>' matches.
2443 * gdb.base/paginate-inferior-exit.exp
2444 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2445 match.
2446 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2447 * lib/gdb.exp (pagination_prompt): Run text through
2448 string_to_regexp.
2449 (gdb_test_multiple): Match $pagination_prompt instead of
2450 "<return>".
2451 (string_to_regexp): Move to lib/gdb-utils.exp.
2452
e214cf6c
JK
24532014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2454
2455 * gdb.arch/amd64-entry-value-paramref.S: New file.
2456 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2457 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2458 * gdb.arch/amd64-optimout-repeat.S: New file.
2459 * gdb.arch/amd64-optimout-repeat.c: New file.
2460 * gdb.arch/amd64-optimout-repeat.exp: New file.
2461
17d0c5c8
JK
24622014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2463
2464 PR gdb/17170
2465 * gdb.base/statistics.exp: New file.
2466
b8b8facf
DE
24672014-07-17 Doug Evans <dje@google.com>
2468
74b49205 2469 PR gdb/17170
b8b8facf
DE
2470 * gdb.base/maint.exp: Update testing of per-command stats.
2471
1b5d0ab3
PA
24722014-07-16 Pedro Alves <palves@redhat.com>
2473
2474 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2475 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2476 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2477 (tfile_write_buf): New functions.
2478 (add_memory_block): Rewrite using the above.
2479 (adjust_function_address): New function.
2480 (FUNCTION_ADDRESS): New macro.
2481 (write_basic_trace_file): Remove short_x local, and use
2482 tfile_write_16. Change type of func_addr local to unsigned long
2483 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2484 here. Cast argument of add_memory_block to char pointer.
2485 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2486 (main): Remove parameters.
2487 * gdb.trace/tfile.exp: Remove nowarnings.
2488
4d974e88
SM
24892014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2490
2491 * gdb.base/debug-expr.exp: Test string evaluation with
2492 "debug expression" on.
2493
41e99568
PA
24942014-07-15 Pedro Alves <palves@redhat.com>
2495
2496 * gdb.base/reread.exp: Use clean_restart.
2497
487d9753
PL
24982014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2499
2500 * gdb.arch/avr-flash-qualifer.c: New.
2501 * gdb.arch/avr-flash-qualifer.exp: New.
2502
cc1c52ad
PA
25032014-07-14 Pedro Alves <palves@redhat.com>
2504
2505 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2506 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2507
1e973570
PA
25082014-07-14 Pedro Alves <palves@redhat.com>
2509
2510 * gdb.base/double-prompt-target-event-error.c: New file.
2511 * gdb.base/double-prompt-target-event-error.exp: New file.
2512
93d6eb10
PA
25132014-07-14 Pedro Alves <palves@redhat.com>
2514
2515 PR gdb/17072
2516 * gdb.base/paginate-inferior-exit.c: New file.
2517 * gdb.base/paginate-inferior-exit.exp: New file.
2518
0017922d
PA
25192014-07-14 Pedro Alves <palves@redhat.com>
2520
2521 PR gdb/17072
2522 * gdb.base/paginate-bg-execution.c: New file.
2523 * gdb.base/paginate-bg-execution.exp: New file.
2524
94696ad3
PA
25252014-07-14 Pedro Alves <palves@redhat.com>
2526
2527 PR gdb/17072
2528 * gdb.base/paginate-execution-startup.c: New file.
2529 * gdb.base/paginate-execution-startup.exp: New file.
2530 * lib/gdb.exp (pagination_prompt): New global.
2531 (default_gdb_spawn): New procedure, factored out from
2532 default_gdb_spawn.
2533 (default_gdb_start): Adjust to call default_gdb_spawn.
2534 (gdb_spawn): New procedure.
2535
bd293940
PA
25362014-07-14 Pedro Alves <palves@redhat.com>
2537
2538 * lib/gdb.exp (gdb_assert): New procedure.
2539 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2540
c933f875
PA
25412014-07-14 Pedro Alves <palves@redhat.com>
2542
2543 * gdb.base/execution-termios.c: New file.
2544 * gdb.base/execution-termios.exp: New file.
2545
d98b7a16
TT
25462014-07-14 Tom Tromey <tromey@redhat.com>
2547
2548 * gdb.cp/vla-cxx.cc: New file.
2549 * gdb.cp/vla-cxx.exp: New file.
2550
548740d6
TT
25512014-07-14 Tom Tromey <tromey@redhat.com>
2552
2553 * gdb.reverse/rerun-prec.c: New file.
2554 * gdb.reverse/rerun-prec.exp: New file.
2555
a25eb028
MR
25562014-07-12 Maciej W. Rozycki <macro@mips.com>
2557 Maciej W. Rozycki <macro@codesourcery.com>
2558
2559 * lib/gdb-utils.exp: New file.
2560 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2561 inline `gdb_init_command' processing.
2562 (gdb_start_cmd): Likewise.
2563 * lib/mi-support.exp (mi_run_cmd): Likewise.
2564 * README: Document `gdb_init_command' and `gdb_init_commands'.
2565
218c2655
JK
25662014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2567
2568 Fix false FAIL running under a very long directory name.
2569 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2570 and "set print elements 10000". Twice.
2571
5401fde3
YQ
25722014-07-11 Yao Qi <yao@codesourcery.com>
2573
2574 * gdb.base/exprs.exp: "set print symbol off".
2575
e76126e8
PA
25762014-07-11 Pedro Alves <palves@redhat.com>
2577
2578 * gdb.threads/kill.c: New file.
2579 * gdb.threads/kill.exp: New file.
2580
2d6f0de6
YQ
25812014-07-10 Yao Qi <yao@codesourcery.com>
2582
2583 * gdb.trace/tfile.c (write_basic_trace_file)
2584 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2585 address written to trace file.
2586
7180e04a
PA
25872014-07-09 Pedro Alves <palves@redhat.com>
2588
2589 * gdb.base/attach-wait-input.exp: New file.
2590 * gdb.base/attach-wait-input.c: New file.
2591
9a9a7608
AB
25922014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2593
2594 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2595 setting up test structures.
2596 (main): Call new test function.
2597 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2598 test function, continue into test function and walk test
2599 structures.
2600
161ac41e
YQ
26012014-07-02 Yao Qi <yao@codesourcery.com>
2602
2603 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2604 'bar_start' at the beginning of functions 'foo' and 'bar'
2605 respectively.
2606 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2607 instead of 'foo' and 'bar'.
2608
1f267ae3
MM
26092014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2610
2611 * gdb.btrace/segv.exp: New.
2612 * gdb.btrace/segv.c: New.
2613
2b239efb
LM
26142014-07-02 Luis Machado <lgustavo@codesourcery.com>
2615
2616 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2617 instruction.
2618
cf363f18
MW
26192014-06-30 Mark Wielaard <mjw@redhat.com>
2620
2621 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2622 vulture, vilify, villar): New volatile array constants.
2623 (vindictive, vegetation): New const volatile array constants.
2624 * gdb.base/volatile.exp: Test volatile and const volatile array
2625 types.
2626
aebf9d24
AA
26272014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2628
2629 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2630 target lacks support for awatch, rwatch, or hbreak.
2631
b67a2c6f
YQ
26322014-06-27 Yao Qi <yao@codesourcery.com>
2633
2634 * gdb.multi/dummy-frame-restore.exp: New.
2635 * gdb.multi/dummy-frame-restore.c: New.
2636
aef92902
MM
26372014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2638
2639 * gdb.btrace/gcore.exp: New.
2640
8e9db26e
PA
26412014-06-23 Pedro Alves <palves@redhat.com>
2642
2643 * gdb.base/watchpoint-reuse-slot.c: New file.
2644 * gdb.base/watchpoint-reuse-slot.exp: New file.
2645
70afc5b7
SC
26462014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2647
2648 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2649 progspace's filename in 'info', 'enable' and 'disable' command
2650 tests.
2651
b972bd9c
JK
26522014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2653
2654 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2655 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2656 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2657
125f8a3d
GB
26582014-06-20 Gary Benson <gbenson@redhat.com>
2659
2660 * gdb.arch/i386-avx.exp: Fix include file location.
2661 * gdb.arch/i386-sse.exp: Likewise.
2662
3ed9baed
IB
26632014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2664
2665 * gdb.dlang/expression.exp: New file.
2666
034f788c
PA
26672014-06-19 Pedro Alves <palves@redhat.com>
2668
2669 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2670 out from ...
2671 (top level): ... here. Iterate running tests under different
2672 scheduler-locking settings.
2673
45371d0c
LM
26742014-06-18 Luis Machado <lgustavo@codesourcery.com>
2675
2676 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2677 to DW_FORM_addr and use non-zero addresses.
2678
5d376983
SC
26792014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2680
2681 PR gdb/17017
2682 * gdb.python/py-xmethods.cc: Add global function call counters and
2683 increment them in their respective functions. Remove "cout"
2684 statements.
2685 * gdb.python/py-xmethods.exp: Make tests check the global function
2686 call counters instead of depending on inferior IO.
2687
a1aa2221
LM
26882014-06-18 Don Breazeal <donb@codesourcery.com>
2689
2690 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2691 Deleted procedure.
2692 (explicit_fork_parent_follow): Deleted procedure.
2693 (explicit_fork_child_follow): Deleted procedure.
2694 (test_follow_fork): New procedure.
2695 (do_fork_tests): Replace calls to deleted procedures with
2696 calls to test_follow_fork and reset GDB for subsequent
2697 procedure calls.
2698
0fc05997
YQ
26992014-06-17 Yao Qi <yao@codesourcery.com>
2700
2701 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2702 CP1252.
2703
70795c52
LM
27042014-06-17 Luis Machado <lgustavo@codesourcery.com>
2705
2706 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2707 Initialize ptr and S explicitly.
2708 (skip_type_update_when_not_use_rtti_test): Likewise.
2709
6be47f0c
KS
27102014-06-16 Keith Seitz <keiths@redhat.com>
2711
2712 PR mi/15863
2713 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2714 the inferior is started.
2715
d03de421
PA
27162014-06-16 Pedro Alves <palves@redhat.com>
2717
2718 * gdb.base/break-main-file-remove-fail.c: New file.
2719 * gdb.base/break-main-file-remove-fail.exp: New file.
2720 * gdb.base/break-unload-file.exp: Use build_executable instead of
2721 prepare_for_testing.
2722 (test_break): New parameter "initial_load". Handle it.
2723 (top level): Add initial_load cmdline/file axis.
2724
f9579b99
TT
27252014-06-12 Tom Tromey <tromey@redhat.com>
2726
2727 * gdb.base/completion.exp: Don't use directory name in test.
2728
3657956b
GB
27292014-06-09 Gary Benson <gbenson@redhat.com>
2730
2731 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2732 separate the always-available ANSI-standard signals from the
2733 signals that require checking.
2734 (main): Likewise.
2735 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2736 Likewise.
2737 (main): Likewise.
2738
4186eb54
KS
27392014-06-07 Keith Seitz <keiths@redhat.com>
2740
2741 Revert:
2742 PR c++/16253
2743 * gdb.cp/var-tag.cc: New file.
2744 * gdb.cp/var-tag.exp: New file.
2745 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2746 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2747 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2748 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2749
25326a28 27502014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
2751
2752 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2753
829155c9
PA
27542014-06-06 Pedro Alves <palves@redhat.com>
2755
2756 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2757 in target debug output instead of looking at RSP packets,
2758 disabling the test on any target that uses hardware stepping.
2759 Update comments.
2760
61c8d22e
PA
27612014-06-06 Pedro Alves <palves@redhat.com>
2762
2763 * gdb.base/break-unload-file.exp: Fix typo.
2764
d9a47287
YQ
27652014-06-06 Yao Qi <yao@codesourcery.com>
2766
2767 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2768 from "jit_function" to "^jit_function".
2769
e5e01dbf
YQ
27702014-06-06 Yao Qi <yao@codesourcery.com>
2771
2772 * gdb.base/async.c (foo): Add one statement.
2773 * gdb.base/async.exp: Get the next instruction address and
2774 match the output of "nexti" by instruction address. Match
2775 the hex address in the output of "finish".
2776
73ba372c
GB
27772014-06-06 Gary Benson <gbenson@redhat.com>
2778
2779 * gdb.base/call-signals.c: Remove preprocessor conditionals
2780 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2781 SIGSEGV and SIGTERM.
2782 * gdb.base/sigall.c: Likewise.
2783 * gdb.base/unwindonsignal.c: Likewise.
2784 * gdb.reverse/sigall-reverse.c: Likewise.
2785
831517df
YQ
27862014-06-06 Yao Qi <yao@codesourcery.com>
2787
2788 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2789 readable, skip the test.
2790
b8b91e98
YQ
27912014-06-06 Yao Qi <yao@codesourcery.com>
2792
2793 * gdb.threads/staticthreads.c (thread_function): Move the line
2794 setting breakpoint on forward.
2795 * gdb.threads/staticthreads.exp: Update comments.
2796
fb934770
LC
27972014-06-05 Ludovic Courtès <ludo@gnu.org>
2798
2799 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2800 "history-append! type error".
2801
6ef284bd
SM
28022014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2803
2804 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2805 erroneous dprintf expected input.
2806
a872e241
DE
28072014-06-04 Doug Evans <xdje42@gmail.com>
2808
2809 * gdb.guile/scm-generics.exp: Delete.
2810
16f691fb
DE
28112014-06-04 Doug Evans <xdje42@gmail.com>
2812
2813 * gdb.guile/scm-breakpoint.exp: Update.
2814 Add tests for breakpoint registration.
2815
012370f6
TT
28162014-06-04 Tom Tromey <tromey@redhat.com>
2817
2818 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2819 VLA-in-union.
2820 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2821 inner_vla_struct, vla_union types. Initialize objects of those
2822 types and compute their sizes.
2823
9f5a4cef
HZ
28242014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2825 Hui Zhu <hui@codesourcery.com>
2826
2827 * gdb.base/fileio.exp: Add test for shell not available as well as
2828 available.
2829 * gdb.base/fileio.c (test_system): Check for shell twice.
2830
90a45c4d
YQ
28312014-06-04 Yao Qi <yao@codesourcery.com>
2832
2833 * gdb.base/auto-connect-native-target.exp: Remove redundant
2834 space from the regexp pattern.
2835
70017e41
YQ
28362014-06-04 Yao Qi <yao@codesourcery.com>
2837
2838 * gdb.base/default.exp: Replace "child" with "native" in
2839 regexp pattern.
2840
883964a7
SC
28412014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2842
2843 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2844 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2845 * gdb.python/py-xmethods.py: Python script supporting the
2846 new testcase and tests.
2847
ef370185
JB
28482014-06-03 Joel Brobecker <brobecker@adacore.com>
2849 Pedro Alves <palves@redhat.com>
2850
2851 PR breakpoints/17000
2852 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2853 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2854
1e2ccb61
BM
28552014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2856
2857 * gdb.base/subst.exp: Add tests to verify partial path matching
2858 output.
2859
c6ec5ab2
PA
28602014-06-03 Pedro Alves <palves@redhat.com>
2861
2862 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2863 target that doesn't use software single-stepping.
2864
835c559f
PA
28652014-06-03 Pedro Alves <palves@redhat.com>
2866
2867 PR breakpoints/17000
2868 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2869 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2870
06eb1586
DE
28712014-06-02 Doug Evans <xdje42@gmail.com>
2872
2873 * gdb.guile/scm-parameter.exp: New file.
2874
e698b8c4
DE
28752014-06-02 Doug Evans <xdje42@gmail.com>
2876
2877 * gdb.guile/scm-cmd.c: New file.
2878 * gdb.guile/scm-cmd.exp: New file.
2879
ded03782
DE
28802014-06-02 Doug Evans <xdje42@gmail.com>
2881
2882 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2883 pretty-printer lookup.
2884 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2885 (make-pp_s-printer): Call it.
2886 (make-pretty-printer-from-dict): New function.
2887 (lookup-pretty-printer-maker-from-dict): New function.
2888 (*pretty-printer*): Simplify.
2889 (make-objfile-pp_s-printer): New function.
2890 (install-objfile-pretty-printers!): New function.
2891 (make-progspace-pp_s-printer): New function.
2892 (install-progspace-pretty-printers!): New function.
2893 * gdb.guile/scm-progspace.c: New file.
2894 * gdb.guile/scm-progspace.exp: New file.
2895
41fac0cf
PA
28962014-06-02 Pedro Alves <palves@redhat.com>
2897
2898 * gdb.base/dprintf-bp-same-addr.c: New file.
2899 * gdb.base/dprintf-bp-same-addr.exp: New file.
2900
96ae5695
EBM
29012014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2902
2903 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2904 * gdb.arch/powerpc-power.s: Likewise.
2905
da02b3a8
JB
29062014-06-02 Joel Brobecker <brobecker@adacore.com>
2907
2908 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2909
c72b2e7b
YQ
29102014-06-01 Yao Qi <yao@codesourcery.com>
2911
2912 * gdb.base/watchpoint.exp (test_watch_location): Check null
2913 pointer can be dereferenced. If not, do the test, otherwise
2914 skip it.
2915
53e8a631
AB
29162014-05-30 Andrew Burgess <aburgess@broadcom.com>
2917
2918 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2919 results.
2920 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2921
938f0e2f
AB
29222014-05-30 Andrew Burgess <aburgess@broadcom.com>
2923
2924 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2925 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2926 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2927 * gdb.arch/amd64-invalid-stack-top.c: New file.
2928 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2929
9ba6657a
PA
29302014-05-30 Pedro Alves <palves@redhat.com>
2931
2932 PR breakpoints/17000
2933 * gdb.base/sss-bp-on-user-bp.c: New file.
2934 * gdb.base/sss-bp-on-user-bp.exp: New file.
2935
522c09bf
DB
29362014-05-30 David Blaikie <dblaikie@gmail.com>
2937
2938 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2939 gnu_inline semantics via attribute.
2940 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2941 source explicitly specifies the required semantics.
2942
bf4ef81e
MR
29432014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2944
2945 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2946
329ea579
PA
29472014-05-29 Pedro Alves <palves@redhat.com>
2948 Tom Tromey <tromey@redhat.com>
2949
2950 * gdb.base/async-shell.exp: Don't enable target-async.
2951 * gdb.base/async.exp
2952 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2953 parameter. Adjust.
2954 (top level): Don't test with "target-async".
2955 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2956 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2957 * gdb.base/inferior-died.exp: Don't enable target-async.
2958 * gdb.base/interrupt-noterm.exp: Likewise.
2959 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2960 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2961 * gdb.mi/mi-nonstop.exp: Likewise.
2962 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2963 * gdb.mi/mi-nsintrall.exp: Likewise.
2964 * gdb.mi/mi-nsmoribund.exp: Likewise.
2965 * gdb.mi/mi-nsthrexec.exp: Likewise.
2966 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2967 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2968 * gdb.python/py-evsignal.exp: Don't enable target-async.
2969 * gdb.python/py-evthreads.exp: Likewise.
2970 * gdb.python/py-prompt.exp: Likewise.
2971 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2972 * gdb.server/solib-list.exp: Don't enable target-async.
2973 * gdb.threads/thread-specific-bp.exp: Likewise.
2974 * lib/mi-support.exp: Adjust to use mi-async.
2975
fd664c91
PA
29762014-05-29 Pedro Alves <palves@redhat.com>
2977
2978 PR gdb/13860
2979 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2980 reason, even in sync mode.
2981
251bde03
PA
29822014-05-29 Pedro Alves <palves@redhat.com>
2983 Hui Zhu <hui@codesourcery.com>
2984
2985 PR PR15693
2986 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2987 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2988 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2989 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2990
7f3c0343
JB
29912014-05-28 Joel Brobecker <brobecker@adacore.com>
2992
2993 * config/monitor.exp (gdb_target_monitor): Replace use of
2994 "set remotebaud" by "set serial baud".
2995
b2715b27
AW
29962014-05-26 Andy Wingo <wingo@igalia.com>
2997
2998 * gdb.guile/scm-breakpoint.exp:
2999 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3000 properties instead of gdb-object-properties.
3001
498a4489
YQ
30022014-05-26 Yao Qi <yao@codesourcery.com>
3003
3004 * gdb.server/no-thread-db.exp: Specify source file name
3005 explicitly when setting a breakpoint.
3006
589fdceb
MM
30072014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3008
3009 * gdb.btrace/vdso.c: New.
3010 * gdb.btrace/vdso.exp: New.
3011
e9089e05
MM
30122014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3013
3014 * gdb.base/gcore.exp (capture_command_output): Move ...
3015 * lib/gdb.exp (capture_command_output): ... here.
3016
67b5c0c1
MM
30172014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3018
3019 * gdb.btrace/data.exp: Test memory access during btrace replay.
3020
a2199296
SM
30212014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3022
3023 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3024
17b2616c
PA
30252014-05-21 Pedro Alves <palves@redhat.com>
3026
3027 PR gdb/13860
3028 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3029 (top level): Test that output related to execution commands is
3030 sent to the console with CLI commands, but not with MI commands.
3031 Test that breakpoint events are always mirrored to the console.
3032 Also expect the new source line to be output after a "next" in
3033 async mode too. Make it a pass/fail test.
3034 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3035 output.
3036 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3037
5166082f
PA
30382014-05-21 Pedro Alves <palves@redhat.com>
3039
3040 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3041 Use them to test variations of "list" after reaching a breakpoint.
3042 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3043 Test "list" with listsize 10 after reaching a breakpoint.
3044 * gdb.python/python.exp (decode_line current location line
3045 number): Adjust expected line number.
3046
2f25d70f
SM
30472014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3048
3049 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3050 behavior for $args, pass it directly to "run".
3051
ff604a67
MR
30522014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3053
3054 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3055 30000 to 65536.
3056
6a3cb8e8
PA
30572014-05-21 Pedro Alves <palves@redhat.com>
3058
3059 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3060 auto-connect-native-target off".
3061 * gdb.base/auto-connect-native-target.c: New file.
3062 * gdb.base/auto-connect-native-target.exp: New file.
3063
4ebfc96e
PA
30642014-05-21 Pedro Alves <palves@redhat.com>
3065
3066 * gdb.base/default.exp: Test "target native" instead of "target
3067 child".
3068
36d46afb
MW
30692014-05-21 Mark Wielaard <mjw@redhat.com>
3070
3071 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3072
5876f503
JK
30732014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3074
3075 Fix TLS access for -static -pthread.
3076 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3077 <HAVE_TLS> (thread_function, main): Initialize it.
3078 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3079 Add clean_restart.
3080 <$have_tls != "">: Check TLSVAR.
3081
0256a6ac
PA
30822014-05-21 Pedro Alves <palves@redhat.com>
3083
3084 * gdb.base/dcache-line-read-error.c: New.
3085 * gdb.base/dcache-line-read-error.exp: New.
3086
936d2992
PA
30872014-05-20 Pedro Alves <palves@redhat.com>
3088
3089 * gdb.base/compare-sections.c: New file.
3090 * gdb.base/compare-sections.exp: New file.
3091
802e8e6d
PA
30922014-05-20 Pedro Alves <palves@redhat.com>
3093
3094 * gdb.base/break-idempotent.c: New file.
3095 * gdb.base/break-idempotent.exp: New file.
3096
e59fa00f
MM
30972014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3098
3099 * gdb.btrace/nohist.exp: New.
3100
8b696e31
YQ
31012014-05-20 Yao Qi <yao@codesourcery.com>
3102
3103 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3104 gdb.reverse directory and gdb_reverse_timeout exists in board
3105 setting.
3106 * README: Document gdb_reverse_timeout.
3107
73c9764f
YQ
31082014-05-20 Yao Qi <yao@codesourcery.com>
3109
3110 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3111 'test_file_name'. Treat args as a string instead of a list.
3112 (gdb_init): Rename argument 'args' by 'test_file_name'.
3113
f1f4348a
JK
31142014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3115
3116 * gdb.arch/powerpc-power.exp: New file.
3117 * gdb.arch/powerpc-power.s: New file.
3118
0dbe70ce
DE
31192014-05-16 Doug Evans <dje@google.com>
3120
3121 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3122 * gdb.base/completion.exp: Check that all expected files exist
3123 before doing file completion.
0dbe70ce 3124
8d551b02
DE
31252014-05-16 Doug Evans <dje@google.com>
3126
3127 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3128 Update.
3129 (do_syscall_tests_without_xml): Update.
3130
73eb7709
PA
31312014-05-16 Pedro Alves <palves@redhat.com>
3132
3133 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3134 instead of "unknown output after running".
3135
3fae92fc
YQ
31362014-05-16 Yao Qi <yao@codesourcery.com>
3137
3138 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3139 file1.txt from host at the end.
3140 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3141
c2b2ccc5
DE
31422014-05-15 Doug Evans <dje@google.com>
3143
3144 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3145 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3146 loading file. Add test for TU lookup.
3147
8c217a4b
SM
31482014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3149
3150 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3151 calling "-exec-arguments" or "set args" before running the
3152 inferior.
3153
3deb39c6
SM
31542014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3155
3156 * lib/mi-support.exp (mi_expect_stop): Expect message for
3157 inferiors that exit with non-zero exit code.
3158
71a79f8c
YQ
31592014-05-14 Yao Qi <yao@codesourcery.com>
3160
3161 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3162 match absolute path on remote host.
3163 (test_file_list_exec_source_files): Remove "/" from the
3164 pattern.
3165
f23fcd46
YQ
31662014-05-14 Yao Qi <yao@codesourcery.com>
3167
3168 * boards/local-remote-host-notty.exp (${board}_file): New
3169 proc.
3170
9404b58f
KM
31712014-05-07 Kyle McMartin <kyle@redhat.com>
3172
3173 Pushed by Joel Brobecker <brobecker@adacore.com>.
3174 * gdb.arch/aarch64-atomic-inst.c: New file.
3175 * gdb.arch/aarch64-atomic-inst.exp: New file.
3176
5e45f04c
YQ
31772014-05-07 Yao Qi <yao@codesourcery.com>
3178
3179 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3180 in current context" too.
3181
c888a17d
KS
31822014-05-05 Keith Seitz <keiths@redhat.com>
3183
3184 * gdb.linespec/ls-dollar.exp: Add test for linespec
3185 file:convenience_variable.
3186
290a839c
YQ
31872014-05-05 Yao Qi <yao@codesourcery.com>
3188
3189 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3190 traceframes into tfile and ctf trace files. Read data from
3191 trace file and test collected data.
3192 (gdb_collect_locals_test): Likewise.
3193 (gdb_unavailable_registers_test): Likewise.
3194 (gdb_unavailable_floats): Likewise.
3195 (gdb_collect_globals_test): Likewise.
3196 (top-level): Append "ctf" to trace_file_targets if GDB
3197 supports.
3198
b5262cd0
YQ
31992014-05-05 Yao Qi <yao@codesourcery.com>
3200
3201 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3202 code to ...
3203 (gdb_collect_args_test_1): ... it. New proc.
3204 (gdb_collect_locals_test): Move some code to ...
3205 (gdb_collect_locals_test_1): ... it. New proc.
3206 (gdb_unavailable_registers_test): Move some code to ...
3207 (gdb_unavailable_registers_test_1): ... it. New proc.
3208 (gdb_unavailable_floats): Move some code to ...
3209 (gdb_unavailable_floats_1): ... it. New proc.
3210
30a1e6cc
SDJ
32112014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3212
3213 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3214 probes to test for bitness recognition.
3215 * gdb.arch/amd64-stap-optional-prefix.exp
3216 (test_probe_value_without_reg): New procedure.
3217 Add code to test for different kinds of bitness.
3218
f33da99a
SDJ
32192014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3220
3221 PR breakpoints/16889
3222 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3223 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3224
5b80f00d
PA
32252014-05-01 Pedro Alves <palves@redhat.com>
3226
3227 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3228 gdb_file_cmd if no file is specified.
3229 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3230 last_loaded_file to set the remote exec-file.
3231
f8c2a73c
PA
32322014-05-01 Pedro Alves <palves@redhat.com>
3233
3234 * boards/local-remote-host.exp: New file.
3235
be6e8ac7
PA
32362014-05-01 Pedro Alves <palves@redhat.com>
3237
3238 * boards/local-remote-host.exp: Rename to ...
3239 * boards/local-remote-host-notty.exp: ... this.
3240
cac0dc8f
JB
32412014-04-28 Joel Brobecker <brobecker@adacore.com>
3242
3243 * gdb.ada/dyn_arrayidx: New testcase.
3244
9730e6cc
YQ
32452014-04-26 Yao Qi <yao@codesourcery.com>
3246
3247 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3248 and compute the length of function main. Save it in
3249 $main_length.
3250 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3251 (top-level): Use gdb_compile to compile objects into
3252 executable and restart GDB. Remove invocation to
3253 prepare_for_testing.
3254
7ae1a6a6
PA
32552014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3256 Pedro Alves <palves@redhat.com>
3257
3258 PR server/16255
3259 * gdb.multi/multi-attach.c: New file.
3260 * gdb.multi/multi-attach.exp: New file.
3261
4082afcc
PA
32622014-04-25 Pedro Alves <palves@redhat.com>
3263
3264 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3265 user.
3266 (top level): Test that "set remote conditional-breakpoints-packet
3267 off" works as intended.
3268 * gdb.base/dprintf.exp: Test that "set remote
3269 breakpoint-commands-packet off" works as intended.
3270 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3271 New function.
3272 (top level): Call it.
3273 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3274 remote fast-tracepoints-packet off" works as intended.
3275 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3276 * lib/gdb.exp (gdb_is_target_remote): ... here.
3277
2abc3f8d
DB
32782014-04-24 David Blaikie <dblaikie@gmail.com>
3279
3280 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3281 ensure clang would not discard them.
3282 * gdb.base/gdbvars.c: Ditto.
3283 * gdb.base/memattr.c: Ditto.
3284 * gdb.base/whatis.c: Ditto.
3285 * gdb.python/py-prettyprint.c: Ditto.
3286 * gdb.trace/actions.c: Ditto.
3287 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3288 ensure clang would not discard it.
3289
bfd39632
DB
32902014-04-24 David Blaikie <dblaikie@gmail.com>
3291
3292 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3293 clang to emit the full definition of type required by the test
3294 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3295
22842ff6
DB
32962014-04-24 David Blaikie <dblaikie@gmail.com>
3297
3298 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3299 coax Clang into emitting the definition of the type.
3300 * gdb.cp/pr10728-x.h (y): Ditto.
3301 * gdb.cp/pr10728-y.cc (y): Ditto.
3302
c2e827ad
DB
33032014-04-24 David Blaikie <dblaikie@gmail.com>
3304
3305 * gdb.base/label.exp: XFAIL label related tests under Clang.
3306 * gdb.cp/cplabel.exp: Ditto.
3307 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3308 under Clang those using labels.
3309
4c2d33e7
YQ
33102014-04-25 Yao Qi <yao@codesourcery.com>
3311
3312 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3313 double_label.
3314 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3315 partial_label and double_label.
3316
56083b99
DB
33172014-04-24 David Blaikie <dblaikie@gmail.com>
3318
3319 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3320
25d4e99d
DB
33212014-04-24 David Blaikie <dblaikie@gmail.com>
3322
3323 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3324 of the function to work across GCC and Clang.
3325 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3326 pointer types (const void ** const V void **).
3327
01f9f808
MS
33282014-04-24 Michael Sturm <michael.sturm@mintel.com>
3329 Walfred Tedeschi <walfred.tedeschi@intel.com>
3330
3331 * Makefile.in (EXECUTABLES): Added i386-avx512.
3332 * gdb.arch/i386-avx512.c: New file.
3333 * gdb.arch/i386-avx512.exp: Likewise.
3334
4b48d439
KS
33352014-04-23 Keith Seitz <keiths@redhat.com>
3336
3337 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3338 (mi_make_breakpoint_table): New procedure.
3339 (mi_create_breakpoint): Use mi_make_breakpoint
3340 and return the result.
3341 (mi_make_breakpoint): New procedure.
3342 (mi_build_kv_pairs): New procedure.
3343
3344 * gdb.mi/mi-break.exp: Remove unused globals,
3345 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3346 All callers updated.
3347 * gdb.mi/mi-dprintf.exp: Use variable to track command
3348 number.
3349 Update all callers of mi_create_breakpoint and use
3350 mi_make_breakpoint_table.
3351 Remove any unused global variables.
3352 * gdb.mi/mi-nonstop.exp: Likewise.
3353 * gdb.mi/mi-nsintrall.exp: Likewise.
3354 * gdb.mi/mi-nsmoribund.exp: Likewise.
3355 * gdb.mi/mi-nsthrexec.exp: Likewise.
3356 * gdb.mi/mi-reverse.exp: Likewise.
3357 * gdb.mi/mi-simplerun.exp: Likewise.
3358 * gdb.mi/mi-stepn.exp: Likewise.
3359 * gdb.mi/mi-syn-frame.exp: Likewise.
3360 * gdb.mi/mi-until.exp: Likewise.
3361 * gdb.mi/mi-var-cp.exp: Likewise.
3362 * gdb.mi/mi-var-display.exp: Likewise.
3363 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3364 * gdb.mi/mi2-var-child.exp: Likewise.
3365 * gdb.mi/mi-vla-c99.exp: Likewise.
3366 * lib/mi-support.exp: Likewise.
3367
3368 From Ian Lance Taylor <iant@cygnus.com>:
3369 * lib/gdb.exp (parse_args): New procedure.
3370
08351840
PA
33712014-04-23 Pedro Alves <palves@redhat.com>
3372
3373 * gdb.base/break-unload-file.c: New file.
3374 * gdb.base/break-unload-file.exp: New file.
3375 * gdb.base/sym-file-lib.c (baz): New function.
3376 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3377 field.
3378 (load): Store the segment's mapped size.
3379 (unload): New function.
3380 (unload_shlib): New function.
3381 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3382 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3383 set a breakpoint at baz, and call it.
3384 * gdb.base/sym-file.exp: New tests for stale breakpoint
3385 instructions.
3386
076855f9
PA
33872014-04-23 Pedro Alves <palves@redhat.com>
3388
3389 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3390 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3391 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3392 * gdb.base/hbreak-unmapped.c: New file.
3393 * gdb.base/hbreak-unmapped.exp: New file.
3394 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3395 * lib/gdb.exp (gdb_is_target_remote): ... here.
3396
483805cf
PA
33972014-04-22 Pedro Alves <palves@redhat.com>
3398
3399 * gdb.base/consecutive-step-over.c: New file.
3400 * gdb.base/consecutive-step-over.exp: New file.
3401
06d97543
PA
34022014-04-22 Pedro Alves <palves@redhat.com>
3403
3404 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3405 instead of send_gdb/gdb_expect.
3406
b4429ea2
YQ
34072014-04-22 Yao Qi <yao@codesourcery.com>
3408
3409 * lib/trace-support.exp (generate_tracefile): New procedure.
3410 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3411 return 0.
3412 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3413 if generate_tracefile returns 1.
3414
51d48146
PA
34152014-04-18 Tom Tromey <palves@redhat.com>
3416 Pedro alves <tromey@redhat.com>
3417
3418 PR backtrace/15558
3419 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3420 with a backtrace limit.
3421 * gdb.python/py-frame-inline.exp: Test running to an inline
3422 function with a backtrace limit, and printing the newest frame.
3423 * gdb.python/py-frame-inline.c (main): Call f.
3424
bd1dce5f
MS
34252014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3426
3427 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3428
40d1a503
MS
34292014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3430
3431 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3432 Drop prefix from unsupported source file path.
3433
389b98f7
YQ
34342014-04-17 Yao Qi <yao@codesourcery.com>
3435
3436 * lib/gdb.exp (with_target_charset): New proc.
3437 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3438 with_target_charset.
3439 (test_print_strings): Likewise.
3440 (test_repeat_bytes): Likewise.
3441 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3442 for some tests.
3443
22869d73
KS
34442014-04-16 Keith Seitz <keiths@redhat.com>
3445
3446 PR gdb/15827
3447 * gdb.dwarf2/corrupt.c: New file.
3448 * gdb.dwarf2/corrupt.exp: New file.
3449
c4f87ca6
KS
34502014-04-16 Keith Seitz <keiths@redhat.com>
3451
3452 PR c++/16597
3453 * gdb.cp/namelessclass.cc: New file.
3454 * gdb.cp/namelessclass.exp: New file.
3455 * gdb.cp/namelessclass.S: New file.
3456
ab19de87
DE
34572014-04-16 Doug Evans <dje@google.com>
3458
3459 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3460 Add comment.
3461 (gdbserver_default_get_comm_port): New function.
3462 (gdbserver_start): Check if board file provided
3463 "gdbserver,get_comm_port" and use it if so.
3464 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3465 (gdb,socketport): Set to "stdio".
3466 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3467 (stdio_gdbserver_template): Delete.
3468 (${board}_get_remote_address): Update.
3469 (${board}_build_remote_cmd): Delete.
3470 (${board}_get_comm_port): New function.
3471 (${board}_spawn): Update.
3472 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3473 Delete.
3474 (${board}_get_remote_address): Update.
3475 (${board}_get_comm_port): New function.
3476
fc98a809
AB
34772014-04-16 Andrew Burgess <aburgess@broadcom.com>
3478
3479 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3480 appearing in any order.
3481
87fd9e6e
DE
34822014-04-15 Doug Evans <dje@google.com>
3483
3484 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3485 uninitialized value of "description".
3486
099fc3ea
KS
34872014-04-15 Keith Seitz <keiths@redhat.com>
3488
3489 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3490 Remove unused globals.
3491 (test_running_the_program): Likewise.
3492 (test_controlled_execution): Likewise.
3493 (test_controlling_breakpoints): Likewise.
3494 (test_program_termination): Likewise.
3495
5da151d4
KS
34962014-04-15 Keith Seitz <keiths@redhat.com>
3497
3498 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3499 unused globals.
3500 (test_rbreak_creation_and_listing): Likewise.
3501 (test_ignore_count): Likewise.
3502 (test_error): Likewise.
3503
35e5d2f0
PA
35042014-04-15 Pedro Alves <palves@redhat.com>
3505
3506 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3507 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3508 sym-file-loader.c.
3509 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3510 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3511 to sym-file-loader.c.
3512 (struct library): Forward declare.
3513 (load_shlib, lookup_function): Change prototypes.
3514 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3515 (translate_offset): Remove declarations.
3516 (get_text_addr): New declaration.
3517 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3518 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3519 sym-file-loader.h.
3520 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3521 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3522 here from sym-file-loader.h.
3523 (struct library): New structure.
3524 (load_shlib, lookup_function): Change prototypes and adjust to
3525 work with a struct library.
3526 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3527 (translate_offset): Make static.
3528 (get_text_addr): New function.
3529 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3530
eb4c1710
PA
35312014-04-15 Pedro Alves <palves@redhat.com>
3532
3533 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3534
2d1baf52
PA
35352014-04-15 Pedro Alves <palves@redhat.com>
3536
3537 * gdb.base/sym-file-loader.c: Include <limits.h>.
3538 (SELF_LINK): New define.
3539 (get_origin): New function.
3540 (load_shlib): Use it.
3541 * gdb.base/sym-file.exp: Don't early return if the target is
3542 remote. Use runto_main, and issue fail is that fails. Use
3543 gdb_load_shlibs.
3544 (shlib_name): Delete.
3545 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3546
7dd6df01
PA
35472014-04-15 Pedro Alves <palves@redhat.com>
3548
3549 * gdb.base/sym-file.exp: Remove regex characters from test
3550 message. Don't refer to breakpoint numbers in test messages.
3551
b50c8614
KS
35522014-04-14 Keith Seitz <keiths@redhat.com>
3553
3554 PR c++/16253
3555 * gdb.cp/var-tag.cc: New file.
3556 * gdb.cp/var-tag.exp: New file.
3557 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3558 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3559 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3560 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3561
3d567982
TT
35622014-04-14 Tom Tromey <tromey@redhat.com>
3563
3564 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3565 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3566 type.
3567 * gdb.cp/enum-class.exp: New file.
3568 * gdb.cp/enum-class.cc: New file.
3569
0626fc76
TT
35702014-04-14 Tom Tromey <tromey@redhat.com>
3571
3572 * gdb.dwarf2/enum-type.exp: New file.
3573
dca325b3
SA
35742014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3575
3576 * gdb.mi/mi-vla-c99.exp: New file.
3577 * gdb.mi/vla.c: New file.
3578
5854b38a
SA
35792014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3580
3581 * gdb.base/vla-datatypes.c: New file.
3582 * gdb.base/vla-datatypes.exp: New file.
3583
463bb957
SA
35842014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3585
3586 * gdb.base/vla-ptr.c: New file.
3587 * gdb.base/vla-ptr.exp: New file.
3588
3dd170be
SA
35892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3590
3591 * gdb.dwarf2/count.exp: New file.
3592
5ecaaa66
SA
35932014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3594
3595 * gdb.base/vla-sideeffect.c: New file.
3596 * gdb.base/vla-sideeffect.exp: New file.
3597
41f1ada5
DB
35982014-04-14 David Blaikie <dblaikie@gmail.com>
3599
3600 * gdb.mi/non-stop.c: Add return value for non-void function return
3601 statement.
3602 * gdb.threads/staticthreads.c: Ditto.
3603
0be03e84
DE
36042014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3605 Doug Evans <xdje42@gmail.com>
3606
3607 * gdb.guile/scm-value.c: Improve test case.
3608 * gdb.guile/scm-value.exp: Add new test.
3609
f180a1fb
DB
36102014-04-11 David Blaikie <dblaikie@gmail.com>
3611
3612 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3613 override Clang's default.
3614
6b662e19
JB
36152014-04-11 Joel Brobecker <brobecker@adacore.com>
3616
3617 Revert the following changes (regressions):
3618
3619 * gdb.base/vla-sideeffect.c: New file.
3620 * gdb.base/vla-sideeffect.exp: New file.
3621
3622 * gdb.dwarf2/count.exp: New file.
3623
3624 * gdb.base/vla-multi.c: New file.
3625 * gdb.base/vla-multi.exp: New file.
3626
3627 * gdb.base/vla-ptr.c: New file.
3628 * gdb.base/vla-ptr.exp: New file.
3629
3630 * gdb.base/vla-datatypes.c: New file.
3631 * gdb.base/vla-datatypes.exp: New file.
3632
3633 * gdb.mi/mi-vla-c99.exp: New file.
3634 * gdb.mi/vla.c: New file.
3635
245a5f0b
KS
36362014-04-11 Keith Seitz <keiths@redhat.com>
3637
3638 PR c++/16675
3639 * gdb.cp/cpsizeof.exp: New file.
3640 * gdb.cp/cpsizeof.cc: New file.
3641
58a84dcf
SA
36422014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3643
191a8a90
JB
3644 * gdb.mi/mi-vla-c99.exp: New file.
3645 * gdb.mi/vla.c: New file.
58a84dcf 3646
c8655f75
SA
36472014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3648
3649 * gdb.base/vla-datatypes.c: New file.
3650 * gdb.base/vla-datatypes.exp: New file.
3651
024e13b4
SA
36522014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3653
3654 * gdb.base/vla-ptr.c: New file.
3655 * gdb.base/vla-ptr.exp: New file.
3656
1a237e0e
SA
36572014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3658
3659 * gdb.base/vla-multi.c: New file.
3660 * gdb.base/vla-multi.exp: New file.
3661
504f3432
SA
36622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3663
3664 * gdb.dwarf2/count.exp: New file.
3665
3bce8237
SA
36662014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3667
191a8a90
JB
3668 * gdb.base/vla-sideeffect.c: New file.
3669 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 3670
322f9c21
YQ
36712014-04-11 Yao Qi <yao@codesourcery.com>
3672
3673 * gdb.base/completion.exp: Check file exists before running tests
3674 on file completion.
3675
d708bcd1
PA
36762014-04-10 Pedro Alves <palves@redhat.com>
3677
3678 * gdb.base/cond-eval-mode.c: New file.
3679 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3680 prepare_for_testing to build the new file. Check result of
3681 runto_main.
3682 (test_break, test_watch): New procedures.
3683 (top level): Use them.
3684
ae1d2761
PM
36852014-04-08 Pierre Muller <muller@sourceware.org>
3686
3687 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3688 Ctrl-V use for mingw hosts.
3689
7af389b8
SC
36902014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3691
3692 * gdb.python/py-value.c: Improve test case.
3693 * gdb.python/py-value.exp: Add new test.
3694
5e703181
DE
36952014-04-07 David Blaikie <dblaikie@gmail.com>
3696
3697 * lib/compiler.c: Identify the clang compiler.
3698 * lib/compiler.cc: Ditto.
3699
9810b410
YQ
37002014-04-03 Yao Qi <yao@codesourcery.com>
3701
3702 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3703
98d1b8dc
AB
37042014-04-01 Anton Blanchard <anton@samba.org>
3705
3706 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3707 messages unique.
3708
3114cea1
AB
37092014-04-01 Anton Blanchard <anton@samba.org>
3710
3711 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3712 prepare_for_testing.
3713
62f7182c
AB
37142014-04-01 Anton Blanchard <anton@samba.org>
3715
3716 * gdb.arch/ppc64-atomic-inst.c: Remove.
3717 * gdb.arch/ppc64-atomic-inst.S: New file.
3718 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3719
770e7fc7
DE
37202014-03-31 Doug Evans <dje@google.com>
3721
3722 * gdb.base/print-symbol-loading-lib.c: New file.
3723 * gdb.base/print-symbol-loading-main.c: New file.
3724 * gdb.base/print-symbol-loading.exp: New file.
3725
46e2bafa
YQ
37262014-03-31 Yao Qi <yao@codesourcery.com>
3727
3728 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3729
8776cfe9
JB
37302014-03-28 Joel Brobecker <brobecker@adacore.com>
3731
3732 * gdb.ada/mi_dyn_arr: New testcase.
3733
5d1ef361
DE
37342014-03-27 Doug Evans <dje@google.com>
3735
3736 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3737
b5bee914
YQ
37382014-03-27 Yao Qi <yao@codesourcery.com>
3739
3740 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3741 if target is nios2-*-*.
3742
0d4d0e77
YQ
37432014-03-26 Yao Qi <yao@codesourcery.com>
3744
3745 * lib/gdb.exp (readline_is_used): New proc.
3746 * gdb.base/completion.exp: Move tests on command complete up.
3747 Skip the rest of tests if readline is not used.
3748 * gdb.ada/complete.exp: Skp the test if readline is not
3749 used.
3750 * gdb.base/filesym.exp: Likewise.
3751 * gdb.base/macscp.exp: Likewise.
3752 * gdb.base/readline-ask.exp: Likewise.
3753 * gdb.base/readline.exp: Likewise.
3754 * gdb.python/py-cmd.exp: Likewise.
3755 * gdb.trace/tfile.exp: Likewise.
3756
29361eee
YQ
37572014-03-26 Yao Qi <yao@codesourcery.com>
3758
3759 * gdb.base/macscp.exp: Fix code format issues.
3760
bc9a5525
UW
37612014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3762
3763 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3764 * gdb.asm/powerpc64le.inc: New file.
3765
d3839ede
PA
37662014-03-25 Pedro Alves <palves@redhat.com>
3767 Doug Evans <dje@google.com>
3768
3769 * gdb.base/source-execution.c: New file.
3770 * gdb.base/source-execution.exp: New file.
3771 * gdb.base/source-execution.gdb: New file.
3772
01672a57
DE
37732014-03-24 Doug Evans <dje@google.com>
3774
3775 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3776 using fission.
3777
88bbeca9
HZ
37782014-03-24 Hui Zhu <hui@codesourcery.com>
3779 Pedro Alves <palves@redhat.com>
3780
3781 PR breakpoints/16101
3782 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3783 test pass/fail messages. Detect missing support for dprintf when
3784 breakpoints are actually inserted.
3785 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3786 breakpoints are actually inserted.
3787 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3788 fails.
3789
d2348791
JK
37902014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3791
3792 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3793
feef67ab
DE
37942014-03-22 Doug Evans <xdje42@gmail.com>
3795
3796 * gdb.python/python.exp (python not supported): Verify multi-line
3797 python command issues an error.
25d743f9 3798 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 3799 guile command issues an error.
feef67ab 3800
ecebef6a
MR
38012014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3802
3803 * gdb.threads/thread-specific.exp: Handle the lack of usable
3804 $this_breakpoint and $this_thread.
3805
ccdd1909
HZ
38062014-03-21 Hui Zhu <hui@codesourcery.com>
3807
3808 * gdb.base/attach.exp (do_command_attach_tests): New.
3809
beb460e8
PA
38102014-03-20 Tom Tromey <tromey@redhat.com>
3811 Pedro Alves <palves@redhat.com>
3812
3813 PR cli/15718
3814 * gdb.base/condbreak-call-false.c: New file.
3815 * gdb.base/condbreak-call-false.exp: New file.
3816
40acf43a
PA
38172014-03-20 Pedro Alves <palves@redhat.com>
3818
3819 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3820 Delete.
3821 (block_signals, unblock_signals): Delete.
3822 (child_function_2, main): Remove references to deleted variable
3823 and functions.
3824
9f5e1e02
PA
38252014-03-20 Pedro Alves <palves@redhat.com>
3826
3827 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3828 Use pthread_kill to signal thread 2.
3829 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3830 Adjust to make the test send itself a signal rather than using the
3831 host's "kill" command.
3832
99619bea
PA
38332014-03-20 Pedro Alves <palves@redhat.com>
3834
3835 * gdb.threads/multiple-step-overs.c: New file.
3836 * gdb.threads/multiple-step-overs.exp: New file.
3837 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3838 Adjust expected infrun debug output.
3839
2adfaa28
PA
38402014-03-20 Pedro Alves <palves@redhat.com>
3841
3842 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3843 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3844
31e77af2
PA
38452014-03-20 Pedro Alves <palves@redhat.com>
3846
3847 PR breakpoints/7143
3848 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3849 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3850 of gdb_test_multiple.
3851 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3852 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3853
b9f437de
PA
38542014-03-20 Pedro Alves <palves@redhat.com>
3855
3856 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3857 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3858
05adc73e
PA
38592014-03-19 Pedro Alves <palves@redhat.com>
3860
3861 * gdb.base/async.exp: Remove early return.
3862
6048b950
PA
38632014-03-19 Pedro Alves <palves@redhat.com>
3864
3865 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3866
8bcfb00a
PA
38672014-03-19 Pedro Alves <palves@redhat.com>
3868
3869 * gdb.base/async.exp (test_background): Expect \r\n after
3870 "completed." in the fail pattern.
3871
884e37dc
PA
38722014-03-19 Pedro Alves <palves@redhat.com>
3873
3874 * gdb.base/async.exp (test_background): New procedure.
3875 Use it for all background execution command tests.
3876
148e57e2
PA
38772014-03-19 Pedro Alves <palves@redhat.com>
3878
3879 * gdb.base/async.exp: Use prepare_for_testing.
3880
f48088c7
PA
38812014-03-19 Pedro Alves <palves@redhat.com>
3882
3883 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3884 the same line.
3885
e2f6c966
PA
38862014-03-19 Pedro Alves <palves@redhat.com>
3887
3888 * gdb.base/async.c (main): Add "jump here" and "until here" line
3889 marker comments.
3890 * gdb.base/async.exp (jump_here): New global.
3891 (jump& test): Use it.
3892 (until_here): New global.
3893 (until& test): Use it.
3894
c30568d4
PA
38952014-03-19 Pedro Alves <palves@redhat.com>
3896
3897 * gdb.base/async.exp: Don't frob gdb_protocol.
3898
0172b6a7
DE
38992014-03-18 Doug Evans <xdje42@gmail.com>
3900
3901 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3902 Fix spelling of exec-done-display.
3903
06c868a8
JK
39042014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3905
3906 PR gdb/15358
3907 * gdb.base/gdb-sigterm.c: New file.
3908 * gdb.base/gdb-sigterm.exp: New file.
3909
0c7e1a46
PA
39102014-03-18 Pedro Alves <palves@redhat.com>
3911
3912 PR gdb/13860
3913 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3914 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3915 solib-event.
3916
f7c77d93
JB
39172014-03-17 Joel Brobecker <brobecker@adacore.com>
3918
3919 * gdb.ada/pckd_arr_ren: New testcase.
3920
5a1e8c7a
DE
39212014-03-13 Doug Evans <xdje42@gmail.com>
3922
3923 PR guile/16612
3924 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3925 collect after discarding symbols.
3926
350e1a76
DE
39272014-03-13 Ludovic Courtès <ludo@gnu.org>
3928 Doug Evans <xdje42@gmail.com>
3929
3930 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3931 to history survives a gc.
3932
a69900ae
PA
39332014-03-13 Pedro Alves <palves@redhat.com>
3934
3935 * gdb.base/default.exp: Don't test "target procfs".
3936
5db9f0bd
PA
39372014-03-13 Pedro Alves <palves@redhat.com>
3938
3939 * gdb.base/default.exp: Update "target child" and "target procfs"
3940 tests to not expect "Unix".
3941
b3ccfe11
TT
39422014-03-12 Tom Tromey <tromey@redhat.com>
3943
3944 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3945 New procs. Add target-async tests.
3946 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3947 Add target-async tests.
3948
646f4417
AA
39492014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3950
3951 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3952 'func_start' and 'func_end' for the beginning and end of the
3953 function code, respectively.
3954 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3955 'func_end' instead of 'func' and 'main'.
3956
288c211f
AA
39572014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3958
3959 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3960 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3961 generate the debug info assembler source.
3962
e0c0f156
AA
39632014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3964
3965 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3966 * gdb.dwarf2/arr-subrange.exp: Likewise.
3967 * gdb.dwarf2/dwz.exp: Likewise.
3968 * gdb.dwarf2/method-ptr.exp: Likewise.
3969 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3970 * gdb.dwarf2/subrange.exp: Likewise.
3971 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3972 * gdb.dwarf2/implptrpiece.exp: Likewise.
3973 * gdb.dwarf2/nostaticblock.exp: Likewise.
3974
0e5c4555
AA
39752014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3976
3977 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3978 directory to absolute path name arguments.
3979
5ec18f2b
JG
39802014-03-10 Joel Brobecker <brobecker@adacore.com>
3981
3982 * gdb.ada/tagged_access: New testcase.
3983
847fc4f2
MM
39842014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3985
3986 * gdb.btrace/data.exp: Update expected output.
3987
cc3da688
YQ
39882014-03-06 Yao Qi <yao@codesourcery.com>
3989
3990 * gdb.trace/pr16508.exp: New file.
3991
0f26cec1
PA
39922014-03-05 Pedro Alves <palves@redhat.com>
3993
3994 PR gdb/16575
3995 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3996 procedure.
3997 (top level): Adjust to use it. Add tests that exercise breakpoint
3998 interaction with the code-cache.
3999
7a5a839f
LC
40002014-02-26 Ludovic Courtès <ludo@gnu.org>
4001
4002 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4003 test for 'history-append!'.
4004
31aa7e4e
JB
40052014-02-26 Joel Brobecker <brobecker@adacore.com>
4006
4007 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4008 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4009 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4010 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4011 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4012 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4013
1b588015
JB
40142014-02-26 Joel Brobecker <brobecker@adacore.com>
4015
4016 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4017 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4018 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4019
55426c9d
JB
40202014-02-26 Joel Brobecker <brobecker@adacore.com>
4021
4022 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4023
dc53a7ad
JB
40242014-02-26 Joel Brobecker <brobecker@adacore.com>
4025
4026 * gdb.dwarf2/arr-stride.c: New file.
4027 * gdb.dwarf2/arr-stride.exp: New file.
4028
12ab52e9
PA
40292014-02-26 Pedro Alves <palves@redhat.com>
4030
4031 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4032 that won't ever trigger. Make sure that GDB reports the correct
4033 breakpoint that caused the stop.
4034
849c862e
JK
40352014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4036
4037 PR gdb/16626
4038 * gdb.base/auto-load-script: New file.
4039 * gdb.base/auto-load.c: New file.
4040 * gdb.base/auto-load.exp: New file.
4041
71b7d793
JK
4042 PR gdb/16626
4043 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4044
e2f0d509
JK
40452014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4046
4047 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4048 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4049
50cc37c8
DE
40502014-02-24 Doug Evans <dje@google.com>
4051
4052 * lib/gdb.exp (run_on_host): Log error output if program fails.
4053
ea4758f2
PA
40542014-02-21 Pedro Alves <palves@redhat.com>
4055
4056 * gdb.threads/step-after-sr-lock.c: Rename to ...
4057 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4058 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4059 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4060 ... this.
4061
d7b30f67
SDJ
40622014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4063
4064 PR tdep/16397
4065 * gdb.arch/amd64-stap-special-operands.exp: New file.
4066 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4067 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4068 * gdb.arch/amd64-stap-triplet.S: Likewise.
4069 * gdb.arch/amd64-stap-triplet.c: Likewise.
4070
83deb43f
JB
40712014-02-20 Joel Brobecker <brobecker@adacore.com>
4072
4073 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4074 in .section pseudo-op.
4075
adde2bff
DE
40762014-02-20 lin zuojian <manjian2006@gmail.com>
4077 Joel Brobecker <brobecker@adacore.com>
4078 Doug Evans <xdje42@gmail.com>
4079
4080 PR symtab/16581
4081 * gdb.dwarf2/dw2-icycle.S: New file.
4082 * gdb.dwarf2/dw2-icycle.c: New file.
4083 * gdb.dwarf2/dw2-icycle.exp: New file.
4084
f7bd0f78
SC
40852014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4086
4087 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4088 operations on gdb.Value objects.
4089 * gdb.python/py-value-cc.exp: Add new test to test operations on
4090 gdb.Value objects.
4091
c17ef0d5
DE
40922014-02-18 Doug Evans <dje@google.com>
4093
4094 * Makefile.in (TESTS): New variable.
4095 (expanded_tests, expanded_tests_or_none): New variables
4096 (check-single): Pass $(expanded_tests_or_none) to runtest.
4097 (check-parallel): Only run tests in $(TESTS) if non-empty.
4098 (check/no-matching-tests-found): New rule.
4099 * README: Document TESTS makefile variable.
4100
5dd3176f
DE
41012014-02-18 Doug Evans <dje@google.com>
4102
4103 * Makefile.in (check-parallel): rm -rf outputs temp.
4104
0b10be4f
JK
41052014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4106
4107 Fix "ERROR: no fileid for" in the testsuite.
4108 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4109
85f224e7
DE
41102014-02-12 Doug Evans <dje@google.com>
4111
4112 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4113 (MISCELLANEOUS): New variable.
4114 (clean): rm -rf $(MISCELLANEOUS).
4115 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4116 dwp live in the same directory as symlinks, with each symlink pointed
4117 to a differently named file in a different directory.
4118
149b30ff
DE
41192014-02-11 Doug Evans <dje@google.com>
4120
4121 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4122 of Tcl file commands.
4123
1dfdac32
MK
41242014-02-10 Mark Kettenis <kettenis@gnu.org>
4125
4126 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4127 "kill -SIGUSR1 -1".
4128
aa4fb036
JB
41292014-02-10 Joel Brobecker <brobecker@adacore.com>
4130
4131 * gdb.ada/tick_length_array_enum_idx: New testcase.
4132
ed3ef339
DE
41332014-02-10 Doug Evans <xdje42@gmail.com>
4134
4135 * configure.ac (AC_OUTPUT): Add gdb.guile.
4136 * configure: Regenerate.
4137 * lib/gdb-guile.exp: New file.
4138 * lib/gdb.exp (get_target_charset): New function.
4139 * gdb.base/help.exp: Update expected output from "apropos apropos".
4140 * gdb.guile/Makefile.in: New file.
4141 * gdb.guile/guile.exp: New file.
4142 * gdb.guile/scm-arch.c: New file.
4143 * gdb.guile/scm-arch.exp: New file.
4144 * gdb.guile/scm-block.c: New file.
4145 * gdb.guile/scm-block.exp: New file.
4146 * gdb.guile/scm-breakpoint.c: New file.
4147 * gdb.guile/scm-breakpoint.exp: New file.
4148 * gdb.guile/scm-disasm.c: New file.
4149 * gdb.guile/scm-disasm.exp: New file.
4150 * gdb.guile/scm-equal.c: New file.
4151 * gdb.guile/scm-equal.exp: New file.
4152 * gdb.guile/scm-error.exp: New file.
4153 * gdb.guile/scm-error.scm: New file.
4154 * gdb.guile/scm-frame-args.c: New file.
4155 * gdb.guile/scm-frame-args.exp: New file.
4156 * gdb.guile/scm-frame-args.scm: New file.
4157 * gdb.guile/scm-frame-inline.c: New file.
4158 * gdb.guile/scm-frame-inline.exp: New file.
4159 * gdb.guile/scm-frame.c: New file.
4160 * gdb.guile/scm-frame.exp: New file.
4161 * gdb.guile/scm-generics.exp: New file.
4162 * gdb.guile/scm-gsmob.exp: New file.
4163 * gdb.guile/scm-iterator.c: New file.
4164 * gdb.guile/scm-iterator.exp: New file.
4165 * gdb.guile/scm-math.c: New file.
4166 * gdb.guile/scm-math.exp: New file.
4167 * gdb.guile/scm-objfile-script-gdb.in: New file.
4168 * gdb.guile/scm-objfile-script.c: New file.
4169 * gdb.guile/scm-objfile-script.exp: New file.
4170 * gdb.guile/scm-objfile.c: New file.
4171 * gdb.guile/scm-objfile.exp: New file.
4172 * gdb.guile/scm-ports.exp: New file.
4173 * gdb.guile/scm-pretty-print.c: New file.
4174 * gdb.guile/scm-pretty-print.exp: New file.
4175 * gdb.guile/scm-pretty-print.scm: New file.
4176 * gdb.guile/scm-section-script.c: New file.
4177 * gdb.guile/scm-section-script.exp: New file.
4178 * gdb.guile/scm-section-script.scm: New file.
4179 * gdb.guile/scm-symbol.c: New file.
4180 * gdb.guile/scm-symbol.exp: New file.
4181 * gdb.guile/scm-symtab-2.c: New file.
4182 * gdb.guile/scm-symtab.c: New file.
4183 * gdb.guile/scm-symtab.exp: New file.
4184 * gdb.guile/scm-type.c: New file.
4185 * gdb.guile/scm-type.exp: New file.
4186 * gdb.guile/scm-value-cc.cc: New file.
4187 * gdb.guile/scm-value-cc.exp: New file.
4188 * gdb.guile/scm-value.c: New file.
4189 * gdb.guile/scm-value.exp: New file.
4190 * gdb.guile/source2.scm: New file.
4191 * gdb.guile/types-module.cc: New file.
4192 * gdb.guile/types-module.exp: New file.
4193
7026a7c1
YQ
41942014-02-10 Yao Qi <yao@codesourcery.com>
4195
4196 PR testsuite/16543
4197 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4198 * configure: Regenerated.
4199 * Makefile.in: New file.
4200
6c466447
AS
42012014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4202
4203 * gdb.python/py-framefilter.exp: Fix typo.
4204
6e854735
YQ
42052014-02-08 Yao Qi <yao@codesourcery.com>
4206
4207 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4208 that no =breakpoint-modified is emitted when breakpoints are
4209 modified through MI commands.
4210
d137e6dc
PA
42112014-02-07 Pedro Alves <pedro@codesourcery.com>
4212 Pedro Alves <palves@redhat.com>
4213
4214 * gdb.threads/step-after-sr-lock.c: New file.
4215 * gdb.threads/step-after-sr-lock.exp: New file.
4216
b5ee5a50
PA
42172014-02-07 Pedro Alves <palves@redhat.com>
4218
4219 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4220
3c77faf3
JK
42212014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4222
4223 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4224 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4225
6dddc817
DE
42262014-02-06 Doug Evans <xdje42@gmail.com>
4227
4228 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4229 output.
4230
4231 * gdb.gdb/python-interrupts.exp: New file.
4232
de7b2893
YQ
42332014-02-05 Yao Qi <yao@codesourcery.com>
4234
4235 * gdb.trace/report.exp (use_collected_data): Test the output
4236 of "info threads" and "info inferiors".
4237
66d032ac
YQ
42382014-02-05 Yao Qi <yao@codesourcery.com>
4239
4240 Revert this patch:
4241
4242 2013-05-24 Yao Qi <yao@codesourcery.com>
4243
4244 * gdb.trace/tfile.exp: Test inferior and thread.
4245
591a12a1
UW
42462014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4247
4248 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4249 on a function.
4250 * gdb.base/step-bt.c: Call hello via function pointer to make
4251 sure its first instruction is executed on powerpc64le-linux.
4252
0ff3e01f
UW
42532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4254
4255 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4256
084ee545
UW
42572014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4258
4259 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4260 of the test patterns for use on little-endian systems.
4261
6ed14ff3
UW
42622014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4263
4264 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4265 (decimal_vector): Fix for little-endian.
4266
401e27fd
JM
42672014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4268
4269 * gdb.arch/sparc-sysstep.exp: New file.
4270 * gdb.arch/sparc-sysstep.c: Likewise.
4271
4272 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4273
8b924729
EBM
42742014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4275
4276 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4277
fb151210
JB
42782014-01-23 Tom Tromey <tromey@redhat.com>
4279
4280 * gdb.ada/array_char_idx: New testcase.
4281
0740f8d8
TT
42822014-01-23 Tom Tromey <tromey@redhat.com>
4283
4284 PR python/16487:
4285 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4286 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4287 classes.
4288
21909fa1
TT
42892014-01-23 Tom Tromey <tromey@redhat.com>
4290
4291 PR python/16491:
4292 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4293 string from an inferior frame.
4294 * gdb.python/py-framefilter-mi.exp: Update.
4295
87ce2a04
DE
42962014-01-22 Doug Evans <dje@google.com>
4297
4298 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4299
237b092b
AA
43002014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4301
4302 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4303
d674a709
AA
43042014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4305
4306 * gdb.trace/entry-values.exp: Remove excess space character from
4307 regex patterns. Handle s390 call instruction.
4308
20fa3390
AA
43092014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4310
4311 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4312 define "*_start" label. Make "name" static.
4313 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4314 ${name} by references to ${name}_start.
4315
78466714
AA
43162014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4317
4318 * gdb.base/info-macros.exp: Remove "debug" from the compile
4319 options.
4320
ec9f644a
IB
43212014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4322
4323 * gdb.dlang/demangle.exp: New file.
4324
94b1b47e
IB
43252014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4326
4327 * gdb.dlang/primitive-types.exp: New file.
4328
7f420862
IB
43292014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4330
4331 * configure.ac: Create gdb.dlang/Makefile.
4332 * configure: Regenerate.
4333 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4334 * gdb.dlang/Makefile.in: New file.
4335 * lib/d-support.exp: New file.
4336 * lib/gdb.exp (skip_d_tests): New proc.
4337
52834460
MM
43382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4339
4340 * gdb.btrace/delta.exp: Check reverse stepi.
4341 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4342 * gdb.btrace/finish.exp: New.
4343 * gdb.btrace/next.exp: New.
4344 * gdb.btrace/nexti.exp: New.
4345 * gdb.btrace/record_goto.c: Add comments.
4346 * gdb.btrace/step.exp: New.
4347 * gdb.btrace/stepi.exp: New.
4348 * gdb.btrace/multi-thread-step.c: New.
4349 * gdb.btrace/multi-thread-step.exp: New.
4350 * gdb.btrace/rn-dl-bind.c: New.
4351 * gdb.btrace/rn-dl-bind.exp: New.
4352 * gdb.btrace/data.c: New.
4353 * gdb.btrace/data.exp: New.
4354 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4355
6e07b1d2
MM
43562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4357
4358 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4359 * gdb.btrace/exception.exp: Update.
4360 * gdb.btrace/instruction_history.exp: Update.
4361 * gdb.btrace/record_goto.exp: Update.
4362 * gdb.btrace/tailcall.exp: Update.
4363 * gdb.btrace/unknown_functions.exp: Update.
4364 * gdb.btrace/delta.exp: New.
4365
0b722aec
MM
43662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4367
4368 * gdb.btrace/record_goto.exp: Add backtrace test.
4369 * gdb.btrace/tailcall.exp: Add backtrace test.
4370
066ce621
MM
43712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4372
4373 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4374 * gdb.btrace/record_goto.c: New.
4375 * gdb.btrace/record_goto.exp: New.
4376 * gdb.btrace/x86-record_goto.S: New.
4377
0688d04e
MM
43782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4379
4380 * gdb.btrace/function_call_history.exp: Update tests.
4381 * gdb.btrace/instruction_history.exp: Update tests.
4382
8710b709
MM
43832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4384
4385 * gdb.btrace/function_call_history.exp: Fix expected field
4386 order for "record function-call-history".
4387 Add new tests for "record function-call-history /c".
4388 * gdb.btrace/exception.cc: New.
4389 * gdb.btrace/exception.exp: New.
4390 * gdb.btrace/tailcall.exp: New.
4391 * gdb.btrace/x86-tailcall.S: New.
4392 * gdb.btrace/x86-tailcall.c: New.
4393 * gdb.btrace/unknown_functions.c: New.
4394 * gdb.btrace/unknown_functions.exp: New.
4395 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4396
5de9129b
MM
43972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4398
4399 * gdb.btrace/instruction_history.exp: Update.
4400 * gdb.btrace/function_call_history.exp: Update.
4401
23a7fe75
MM
44022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4403
4404 * gdb.btrace/function_call_history.exp: Fix expected function
4405 trace.
4406 * gdb.btrace/instruction_history.exp: Initialize traced.
4407 Remove traced_functions.
4408
724c7dd8
MM
44092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4410
4411 * gdb.btrace/function_call_history.exp: Update
4412 * gdb.btrace/instruction_history.exp: Update.
4413
6d78d93b
MM
44142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4415
4416 * gdb.btrace/enable.exp: Update expected text.
4417
93a360cc
OJ
44182014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4419
4420 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4421 bytes.
4422
3772b53f
MR
44232014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4424
4425 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4426
596662fa
OJ
44272014-01-15 Omair Javaid <omair.javaid@linaro.org>
4428
4429 * lib/gdb.exp (supports_process_record): Return true for
4430 arm*-linux*. (supports_reverse): Likewise.
4431
b5b08fb4
SC
44322014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4433
4434 PR python/15464
4435 PR python/16113
4436 * gdb.python/py-type.c: Enhance test case.
4437 * gdb.python/py-value-cc.cc: Likewise
4438 * gdb.python/py-type.exp: Add new tests.
4439 * gdb.python/py-value-cc.exp: Likewise
4440
52d7fb13
AA
44412014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4442 Pedro Alves <palves@redhat.com>
4443
4444 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4445 Make "name" extern.
4446 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4447 references to ${name}_start by references to ${name}.
4448
a2cd8cfe
JB
44492014-01-10 Joel Brobecker <brobecker@adacore.com>
4450
4451 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4452
4e23fced
JB
44532014-01-10 Joel Brobecker <brobecker@adacore.com>
4454
4455 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4456
c6a9e42c
PA
44572014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4458 Pedro Alves <palves@redhat.com>
4459
4460 * gdb.mi/mi-info-os.exp: Connect to the target with
4461 mi_gdb_target_load.
4462
b7ea362b
PA
44632014-01-08 Pedro Alves <palves@redhat.com>
4464
4465 * gdb.threads/reconnect-signal.c: New file.
4466 * gdb.threads/reconnect-signal.exp: New file.
4467
5e3f4fab
EBM
44682014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4469
4470 * gdb.base/source-dir.exp: New file.
4471
79301218
JB
44722014-01-07 Joel Brobecker <brobecker@adacore.com>
4473
4474 * gdb.ada/mi_interface: New testcase.
4475
8e355c5d
JB
44762014-01-07 Joel Brobecker <brobecker@adacore.com>
4477
4478 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4479 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4480 gdb.ada/pp-rec-component/pck.ads: New files.
4481
c0d48811
JB
44822014-01-07 Joel Brobecker <brobecker@adacore.com>
4483
4484 * gdb.python/py-pp-integral.c: New file.
4485 * gdb.python/py-pp-integral.py: New file.
4486 * gdb.python/py-pp-integral.exp: New file.
4487
17b609c3 4488For older changes see ChangeLog-1993-2013.
c906108c 4489\f
8d8cb839
EZ
4490;; Local Variables:
4491;; mode: change-log
4492;; left-margin: 8
4493;; fill-column: 74
4494;; version-control: never
4495;; End:
902f2ccb 4496
32d0add0 4497 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4498 Copying and distribution of this file, with or without modification,
4499 are permitted provided the copyright notice and this notice are preserved.