]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fixes a bug introduced by the new ranges checks on COFF symbol tables.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
15630549
AT
12015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2
3 PR breakpoints/16466
4 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
5 * gdb.mi/mi-pending.c (thread_func): New function.
6 (int main): Add threading support required.
7 * gdb.mi/mi-pending.exp: Add tests for this issue.
8 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
9 (pendfunc2): Remove stdio dependency.
10 * gdb.mi/mi-pendshr2.c: New file.
11
693dca06
KS
122015-03-23 Keith Seitz <keiths@redhat.com>
13
14 * gdb.linespec/keywords.c: New file.
15 * gdb.linespec/keywords.exp: New file.
16
7e993ebf
KS
172015-03-23 Keith Seitz <keiths@redhat.com>
18
19 PR gdb/18021
20 * gdb.dwarf2/staticvirtual.exp: New test.
21
bc23328c
JK
222015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
23
24 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
25 * README: Remove HP-UX and gdb.hp.
26 (configuration):
27 * configure: Regenerate.
28 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
29 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
30 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
31 gdb.hp/gdb.defects/Makefile.
32 * gdb.hp/Makefile.in: File deleted.
33 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
34 * gdb.hp/gdb.aCC/optimize.c: File deleted.
35 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
36 * gdb.hp/gdb.aCC/run.c: File deleted.
37 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
38 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
39 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
40 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
41 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
42 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
43 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
44 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
45 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
46 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
47 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
48 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
49 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
50 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
51 * gdb.hp/gdb.base-hp/reg.s: File deleted.
52 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
53 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
54 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
55 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
56 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
57 * gdb.hp/gdb.compat/Makefile.in: File deleted.
58 * gdb.hp/gdb.compat/average.c: File deleted.
59 * gdb.hp/gdb.compat/sum.c: File deleted.
60 * gdb.hp/gdb.compat/xdb.c: File deleted.
61 * gdb.hp/gdb.compat/xdb0.c: File deleted.
62 * gdb.hp/gdb.compat/xdb0.h: File deleted.
63 * gdb.hp/gdb.compat/xdb1.c: File deleted.
64 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
65 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
66 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
67 * gdb.hp/gdb.defects/Makefile.in: File deleted.
68 * gdb.hp/gdb.defects/bs14602.c: File deleted.
69 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
70 * gdb.hp/gdb.defects/solib-d.c: File deleted.
71 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
72 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
73 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
74 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
75 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
76 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
77 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
78 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
79 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
80 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
81 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
82 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
83 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
84 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
85 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
86 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
87 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
88 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
89 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
90 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
91 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
92 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
93 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
94 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
95 * gdb.hp/tools/odump: File deleted.
96
8bf3b159
PA
972015-03-19 Pedro Alves <palves@redhat.com>
98
99 * gdb.threads/continue-pending-status.exp (saw_thread_2)
100 (saw_thread_3): New globals.
101 (top level): Increment them when an event for the corresponding
102 thread is seen.
103 (no thread starvation): New test.
104
eb54c8bf
PA
1052015-03-19 Pedro Alves <palves@redhat.com>
106
107 * gdb.threads/continue-pending-status.c: New file.
108 * gdb.threads/continue-pending-status.exp: New file.
109
32d2e5d6
PA
1102015-03-18 Pedro Alves <palves@redhat.com>
111
112 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
113 Use gdb_is_target_remote instead of is_remote. Use
114 gdb_test_multiple instead of gdb_expect. Exit early if
115 gdb_test_multiple hits its internal matches. Tighten stepi tests
116 expected output. Fail on exit with any signal, instead of just
117 SIGILL.
118
f68f11b7
YQ
1192015-03-18 Yao Qi <yao.qi@linaro.org>
120
121 PR tdep/18107
122 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
123 variable.
124 * gdb.base/catch-syscall.exp: Don't skip it on
125 aarch64*-*-linux* target. Remove elements in all_syscalls.
126 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
127 target.
128 (setup_all_syscalls): New proc.
129
ca5fd19b
YQ
1302015-03-16 Yao Qi <yao.qi@linaro.org>
131
132 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
133 (top level): Skip tests if valid_addr_p returns false for
134 $cmd1 or $cmd2.
135
85642ba0
AW
1362015-03-11 Andy Wingo <wingo@igalia.com>
137
138 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
139
e03f9645
YQ
1402015-03-11 Yao Qi <yao.qi@linaro.org>
141
142 * gdb.base/catch-syscall.exp: Fix typo in comments.
143
5d0962b2
YQ
1442015-03-11 Yao Qi <yao.qi@linaro.org>
145
146 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
147
b2df3cef
PA
1482015-03-09 Pedro Alves <palves@redhat.com>
149
150 * dg-extract-results.py: Delete.
151
ef878e53
PA
1522015-03-09 Pedro Alves <palves@redhat.com>
153
154 Merge dg-extract-results.sh from GCC upstream (r218843).
155
156 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
157 * dg-extract-results.sh: Use --text with grep to avoid issues with
158 binary files. Fall back to cat -v, if that doesn't work.
159
9494d219
PA
1602015-03-05 Pedro Alves <palves@redhat.com>
161
162 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
163
a8d9763a
SM
1642015-03-04 Simon Marchi <simon.marchi@ericsson.com>
165
166 * lib/mi-support.exp (mi_expect_interrupt): Accept
167 alternative event for when in all-stop mode.
168
be9957b8
PA
1692015-03-04 Pedro Alves <palves@redhat.com>
170
171 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
172
d57be0f4 1732015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
174
175 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
176
c214c7cf
AA
1772015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
178
179 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
180 regexps for GDB's current line display, accept a hex address
181 preceding the line number.
182
6d74a497
AA
1832015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
184
185 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
186 the 'arch1' variable for "s390*-linux*" targets.
187
511aee7c
PA
1882015-03-04 Pedro Alves <palves@redhat.com>
189
190 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
191 (main): Pass missing retval argument to pthread_join call.
192
95e50b27
PA
1932015-03-02 Pedro Alves <palves@redhat.com>
194
195 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
196 (top level): Call do_test with non-stop as well.
197
28054d69
PA
1982015-03-02 Pedro Alves <palves@redhat.com>
199
200 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
201 -1.
202
4fa5d7b4
AA
2032015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
204
205 * gdb.arch/s390-vregs.exp: New test.
206 * gdb.arch/s390-vregs.S: New file.
207
97c18565
PA
2082015-02-27 Pedro Alves <palves@redhat.com>
209
210 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
211 call to catch_command_errors.
212 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
213 catch_command_errors.
214
a37bfa30
PA
2152015-02-27 Pedro Alves <palves@redhat.com>
216
217 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
218 "true" for boolean result.
219 * gdb.gdb/selftest.exp (test_with_self): Also accept full
220 prototype of main.
221
6f98576f
PA
2222015-02-27 Pedro Alves <palves@redhat.com>
223
224 * lib/unbuffer_output.c: New file.
225 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
226 (main): Call gdb_unbuffer_output.
227
eba5ab56
YQ
2282015-02-27 Yao Qi <yao.qi@linaro.org>
229
230 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
231 target.
232
0def5aaa
DE
2332015-02-26 Doug Evans <dje@google.com>
234
235 * gdb.cp/class2.cc (Dbase, D): New classes.
236 (main): New local delta.
237 * gdb.cp/class2.exp: Test printing delta.
238 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
239 (dynbar): New global.
240 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
241
081a1c2c
JK
2422015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
243
244 * gdb.compile/compile-ifunc.c: New file.
245 * gdb.compile/compile-ifunc.exp: New file.
246
2f41223f
AT
2472015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
248
249 * gdb.base/structs.exp: Check for correct struct on finish.
250
03eddd80
YQ
2512015-02-26 Yao Qi <yao.qi@linaro.org>
252
253 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
254 is zero.
255
80c57053
JK
2562015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
257
258 * gdb.arch/cordic.ko.bz2: New file.
259 * gdb.arch/cordic.ko.debug.bz2: New file.
260 * gdb.arch/ppc64-symtab-cordic.exp: New file.
261
21613c12
YQ
2622015-02-25 Yao Qi <yao.qi@linaro.org>
263
264 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
265 aarch64*-*-* target.
266
d8b901ed
PA
2672015-02-23 Pedro Alves <palves@redhat.com>
268
269 * lib/gdb.exp (delete_breakpoints): Rewrite using
270 gdb_test_multiple.
271
e5b85ead
PA
2722015-02-23 Pedro Alves <palves@redhat.com>
273
274 * gdb.base/info-os.c: Include stdlib.h.
275
85c3a371
DE
2762015-02-22 Doug Evans <xdje42@gmail.com>
277
278 PR symtab/17855
279 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
280 is read after symbols have been re-read.
281 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
282 * gdb.ada/exec_changed/second.adb (Second): Ditto.
283
96553a0c
DE
2842015-02-21 Doug Evans <dje@google.com>
285
286 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
287
97a0c697
JK
2882015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
289
290 PR corefiles/17808
291 * gdb.arch/i386-biarch-core.core.bz2: New file.
292 * gdb.arch/i386-biarch-core.exp: New file.
293
a47cd6e9
PA
2942015-02-21 Pedro Alves <palves@redhat.com>
295
296 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
297 runto_main fails.
298
c5facdc4
PA
2992015-02-20 Pedro Alves <palves@redhat.com>
300
301 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
302 info probes.
303
2db9a427
PA
3042015-02-20 Pedro Alves <palves@redhat.com>
305
306 * gdb.threads/multi-create-ns-info-thr.exp: New file.
307
60fb7e9e
PA
3082015-02-20 Pedro Alves <palves@redhat.com>
309
310 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
311 clean_restart before gdb_target_supports_trace.
312
5c5019c2
PA
3132015-02-20 Pedro Alves <palves@redhat.com>
314
315 PR threads/18006
316 * gdb.threads/clone-thread_db.c: New file.
317 * gdb.threads/clone-thread_db.exp: New file.
318
c9587f88
AT
3192015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
320
321 PR breakpoints/16812
322 * gdb.base/catch-gdb-caused-signals.c: New file.
323 * gdb.base/catch-gdb-caused-signals.exp: New file.
324
f6a88844
JM
3252015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
326
327 * configure: Regenerated.
328 * configure.ac: Use GDB_AC_TRANSFORM.
329 * aclocal.m4: sinclude ../transform.m4.
330
497c491b
JM
3312015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
332
333 * lib/dtrace.exp: New file.
334 * gdb.base/dtrace-probe.exp: Likewise.
335 * gdb.base/dtrace-probe.d: Likewise.
336 * gdb.base/dtrace-probe.c: Likewise.
337 * lib/pdtrace.in: Likewise.
338 * configure.ac: Output variables with the transformed names of
339 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
340 * configure: Regenerated.
341
03e98035
JM
3422015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
343
344 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
345 expected message when trying to access $_probe_* convenience
346 variables while not on a probe.
347
63cc30e9
JK
3482015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
349
350 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
351
0703599a
PA
3522015-02-11 Pedro Alves <pedro@codesourcery.com>
353
354 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
355 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
356
7e60a48e
DE
3572015-02-10 Doug Evans <xdje42@gmail.com>
358
359 * lib/gdb.exp (gdb_load): Always return a result.
360
01b088bc
PA
3612015-02-10 Pedro Alves <palves@redhat.com>
362
363 * gdb.threads/signal-sigtrap.c: New file.
364 * gdb.threads/signal-sigtrap.exp: New file.
365
b05ec7a5
AT
3662015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
367
368 * gdb.trace/no-attach-trace.c: New file.
369 * gdb.trace/no-attach-trace.exp: New file.
370
a2c2acaf
MW
3712015-02-09 Mark Wielaard <mjw@redhat.com>
372
373 * gdb.dwarf2/atomic.c: New file.
374 * gdb.dwarf2/atomic-type.exp: Likewise.
375
31fd9caa
MM
3762015-02-09 Markus Metzger <markus.t.metzger@intel.com>
377
378 * gdb.btrace/buffer-size.exp: Update "info record" output.
379 * gdb.btrace/delta.exp: Update "info record" output.
380 * gdb.btrace/enable.exp: Update "info record" output.
381 * gdb.btrace/finish.exp: Update "info record" output.
382 * gdb.btrace/instruction_history.exp: Update "info record" output.
383 * gdb.btrace/next.exp: Update "info record" output.
384 * gdb.btrace/nexti.exp: Update "info record" output.
385 * gdb.btrace/step.exp: Update "info record" output.
386 * gdb.btrace/stepi.exp: Update "info record" output.
387 * gdb.btrace/nohist.exp: Update "info record" output.
388
d33501a5
MM
3892015-02-09 Markus Metzger <markus.t.metzger@intel.com>
390
391 * gdb.btrace/buffer-size: New.
392
f4abbc16
MM
3932015-02-09 Markus Metzger <markus.t.metzger@intel.com>
394
395 * gdb.btrace/delta.exp: Update "info record" output.
396 * gdb.btrace/enable.exp: Update "info record" output.
397 * gdb.btrace/finish.exp: Update "info record" output.
398 * gdb.btrace/instruction_history.exp: Update "info record" output.
399 * gdb.btrace/next.exp: Update "info record" output.
400 * gdb.btrace/nexti.exp: Update "info record" output.
401 * gdb.btrace/step.exp: Update "info record" output.
402 * gdb.btrace/stepi.exp: Update "info record" output.
403 * gdb.btrace/nohist.exp: Update "info record" output.
404
b9d61307
SM
4052015-02-06 Simon Marchi <simon.marchi@ericsson.com>
406
407 PR gdb/15678
408 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
409
e584fdbc
PA
4102015-02-06 Pedro Alves <palves@redhat.com>
411
412 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
413 macro.
414 (seconds_left, again): New globals.
415 (main): Wait seconds_left in a 1-second sleep loop instead of
416 sleeping 180 seconds. If 'again' is set, reset the seconds
417 counter.
418 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
419 'again' in the inferior before detaching. Print the seconds left.
420 (options): New global.
421 (top level): Build program with -DTIMEOUT=$timeout.
422
77f41761
PA
4232015-02-06 Pedro Alves <palves@redhat.com>
424
425 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
426 determine how many seconds to pass to 'alarm'.
427 * gdb.base/gdb-sigterm.exp (top level): Build program with
428 -DTIMEOUT=$timeout.
429 (do_test): Return success/failure indication. Add more verbose
430 logging. Don't fail if 200 single steps are seen. Instead, fail
431 when the test times out.
432 (passes): New global.
433 (top level): Break the testing loop if testing fails on any
434 iteration. Use gdb_assert.
435
b9394193
DB
4362015-02-04 Don Breazeal <donb@codesourcery.com>
437
438 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
439 and initialize them.
440 (ipc_cleanup): New function.
441 (main): Don't declare shmid, semid, and msqid. Add a call to
442 atexit so that we call ipc_cleanup on exit.
443
42d9e528
PA
4442015-02-04 Pedro Alves <palves@redhat.com>
445
446 * boards/native-extended-gdbserver.exp: Remove any target variant
447 specifications from the board name before clearing the isremote
448 flag from board_info.
449
ae6ae975
DE
4502015-01-31 Doug Evans <xdje42@gmail.com>
451
452 * gdb.base/maint.exp <maint print type argc>: Update expected output.
453
cfb069a8
GB
4542015-01-31 Gary Benson <gbenson@redhat.com>
455
456 * gdb.base/completion.exp: Disable completion limiting for
457 existing tests. Add new tests to check completion limiting.
458 * gdb.linespec/ls-errs.exp: Disable completion limiting.
459
5dd31d79
DE
4602015-01-31 Doug Evans <xdje42@gmail.com>
461
462 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
463
9f050062
DE
4642015-01-31 Doug Evans <xdje42@gmail.com>
465
466 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
467 entries. Duplicate file section script entries.
468 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
469 inlined entries. Add test for safe-path rejection.
470 * gdb.python/py-section-script.c: Add duplicate inlined section script
471 entries. Duplicate file section script entries.
472 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
473 inlined entries. Add test for safe-path rejection.
474
df25ebbd
JB
4752015-01-29 Joel Brobecker <brobecker@adacore.com>
476
477 * gdb.ada/disc_arr_bound: New testcase.
478
4a0ca9ec
JB
4792015-01-29 Joel Brobecker <brobecker@adacore.com>
480
481 * gdb.ada/mi_var_array: New testcase.
482
3a8b707a
DE
4832015-01-27 Doug Evans <dje@google.com>
484
485 * gdb.python/py-objfile.exp: Add tests for objfile.username.
486 Add test for objfile.filename, objfile.username after objfile
487 has been unloaded.
488
f8313f6e
JB
4892015-01-26 Joel Brobecker <brobecker@adacore.com>
490
491 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
492 the second test to print the name attribute of value
493 returned by the call to gdb.lookup_type, and adjust
494 the expected output accordingly.
495
37bc665e
MW
4962015-01-25 Mark Wielaard <mjw@redhat.com>
497
498 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
499 * gdb.base/disp-step-fork.c: Include unistd.h.
500 * gdb.base/siginfo-obj.c: Include stdio.h.
501 * gdb.base/siginfo-thread.c: Likewise.
502 * gdb.mi/non-stop.c: Include unistd.h.
503 * gdb.mi/nsthrexec.c: Include stdio.h.
504 * gdb.mi/pthreads.c: Include unistd.h.
505 * gdb.modula2/unbounded1.c (main): Declare returns int.
506 * gdb.reverse/consecutive-reverse.c: Likewise.
507 * gdb.threads/create-fail.c: Include unistd.h.
508 * gdb.threads/killed.c: Likewise.
509 * gdb.threads/linux-dp.c: Likewise.
510 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
511 * gdb.threads/non-ldr-exc-2.c: Likewise.
512 * gdb.threads/non-ldr-exc-3.c: Likewise.
513 * gdb.threads/non-ldr-exc-4.c: Likewise.
514 * gdb.threads/pthreads.c: Include unistd.h.
515 (main): Declare returns int.
516 * gdb.threads/tls-main.c (foo): New declaration.
517 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
518
f7e5394d
SM
5192015-01-23 Simon Marchi <simon.marchi@ericsson.com>
520
521 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
522 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
523
743649fd
MW
5242015-01-15 Mark Wielaard <mjw@redhat.com>
525
526 * gdb.base/noreturn-return.c: New file.
527 * gdb.base/noreturn-return.exp: New file.
528 * gdb.base/noreturn-finish.c: New file.
529 * gdb.base/noreturn-finish.exp: New file.
530
198297aa
PA
5312015-01-23 Pedro Alves <palves@redhat.com>
532
533 * gdb.threads/continue-pending-after-query.c: New file.
534 * gdb.threads/continue-pending-after-query.exp: New file.
535
717cf30c
AG
5362015-01-22 Anders Granlund <anders.granlund@ericsson.com>
537 Simon Marchi <simon.marchi@ericsson.com>
538
539 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
540 * gdb.base/valgrind-db-attach.exp: Same.
541 * gdb.base/valgrind-infcall.exp: Same.
542 * lib/mi-support.exp (default_mi_gdb_start): Same.
543 * lib/prompt.exp (default_prompt_gdb_start): Same.
544 * lib/gdb.exp (default_gdb_spawn): Same.
545 (gdb_interact): New.
546
547
4b62a76e
JK
5482015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
549
550 * gdb.compile/compile.exp (pointer to jit function): New test.
551
b4cdae6f
WW
5522015-01-17 Wei-cheng Wang <cole945@gmail.com>
553
554 * lib/gdb.exp (supports_process_record): Return true for
555 powerpc*-*-linux*.
556 (supports_reverse): Likewise.
557
d221e7ef
DB
5582015-01-15 Don Breazeal <donb@codesourcery.com>
559
560 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
561 instead of checking whether the target board is remote and
562 use spawn_wait_for_attach instead of exec/sleep.
563 * gdb.base/attach-twice.exp: Likewise.
564
bafffb51
JB
5652015-01-15 Joel Brobecker <brobecker@adacore.com>
566
567 * gdb.ada/var_arr_attrs: New testcase.
568
5589af0e
PA
5692015-01-14 Pedro Alves <palves@redhat.com>
570 Joel Brobecker <brobecker@adacore.com>
571
572 PR gdb/17525
573 * gdb.base/bp-cmds-execution-x-script.c: New file.
574 * gdb.base/bp-cmds-execution-x-script.exp: New file.
575 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
576
6c400b59
PA
5772015-01-14 Pedro Alves <palves@redhat.com>
578
579 PR cli/17828
580 * gdb.base/batch-preserve-term-settings.c: New file.
581 * gdb.base/batch-preserve-term-settings.exp: New file.
582
e02c96a7
DE
5832015-01-13 Doug Evans <dje@google.com>
584
585 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
586 binary.
587
576fd14c
JB
5882015-01-13 Joel Brobecker <brobecker@adacore.com>
589
590 * Makefile.in (clean mostlyclean): Do not delete *.py.
591
04dccad0
JB
5922015-01-13 Joel Brobecker <brobecker@adacore.com>
593
594 * gdb.python/py-lookup-type.exp: New file.
595
3d230f71
PA
5962015-01-12 Pedro Alves <palves@redhat.com>
597
598 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
599 restore GDBFLAGS before returning.
600
7e67715d
JK
6012015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
602
603 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
604 is_amd64_regs_target and is_x86_like_target.
605
f2e0d4b4
DE
6062015-01-11 Doug Evans <xdje42@gmail.com>
607
608 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
609 is given without an explicit form.
610 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
611 attributes.
612 * gdb.dwarf/corrupt.exp: Ditto.
613 * gdb.dwarf2/enum-type.exp: Ditto.
614 * gdb.trace/entry-values.exp: Ditto.
615 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
616
439250fb
DE
6172015-01-11 Doug Evans <xdje42@gmail.com>
618
619 PR gdb/15830
620 * gdb.base/maint.exp: Remove references to "maint demangle".
621 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
622 Add tests for explicitly specifying language to demangle.
623 * gdb.dlang/demangle.exp: Ditto.
624
ede9f622
PA
6252015-01-09 Pedro Alves <palves@redhat.com>
626
627 * gdb.threads/non-stop-fair-events.c: New file.
628 * gdb.threads/non-stop-fair-events.exp: New file.
629
a7b796db
PA
6302015-01-09 Pedro Alves <palves@redhat.com>
631
632 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
633 the global scope. Set a breakpoint after all threads are started
634 rather than stepping over two source lines. Expect the prompt.
635 * gdb.base/watch_thread_num.c (threads_started_barrier): New
636 global.
637 (NUM): Now 15.
638 (main): Use threads_started_barrier to wait for all threads to
639 start. Main thread no longer calls thread_function. Exit after
640 180 seconds.
641 (loop): New function.
642 (thread_function): Wait on threads_started_barrier barrier. Call
643 'loop' at each iteration.
644 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
645 threads have started, instead of hardcoding number of "next"
646 steps. Use an access watchpoint instead of a write watchpoint.
647
9665ffdd
PA
6482015-01-09 Pedro Alves <palves@redhat.com>
649
650 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
651 (thread_func): Wait on barrier.
652 (main): Wait for all threads to start before stopping GDB.
653 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
654 global.
655 (thread1_func, thread2_func): Wait on barrier.
656 (main): Wait for all threads to start before stopping GDB.
657 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
658 New global.
659 (thread1_func, thread2_func): Wait on barrier.
660 (main): Wait for all threads to start before stopping GDB.
661
c945a99f
PA
6622015-01-09 Pedro Alves <palves@redhat.com>
663
664 * gdb.threads/attach-many-short-lived-threads.c: New file.
665 * gdb.threads/attach-many-short-lived-threads.exp: New file.
666
c1a747c1
PA
6672014-01-09 Pedro Alves <palves@redhat.com>
668
669 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
670 instead of to thread 2.
671 * gdb.threads/signal-command-multiple-signals-pending.c (main):
672 Add barrier around each pthread_create call instead of around all
673 calls.
674 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
675 Set a break on thread_function and have the child threads hit it
676 one at at a time.
677
60b3033e
PA
6782015-01-09 Pedro Alves <palves@redhat.com>
679
680 * lib/gdb.exp (can_spawn_for_attach): New procedure.
681 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
682 false.
683 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
684 checking whether the target board is remote.
685 * gdb.multi/multi-attach.exp: Likewise.
686 * gdb.python/py-sync-interp.exp: Likewise.
687 * gdb.server/ext-attach.exp: Likewise.
688 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
689 tests that need to attach, instead of checking whether the target
690 board is remote at the top of the file.
691
acc018ac
YQ
6922015-01-08 Yao Qi <yao@codesourcery.com>
693
694 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
695
50a18af8
JK
6962015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
697
698 Fix testcase compilation.
699 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
700
8503d6e1
JB
7012015-01-06 Joel Brobecker <brobecker@adacore.com>
702
703 * gdb.python/py-type.exp: Add a couple test about empty
704 array creation, and negative-length array creation.
705
cc73dbcc
DE
7062015-01-02 Doug Evans <xdje42@gmail.com>
707
708 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
709
0300bbc7
DE
7102015-01-02 Doug Evans <dje@google.com>
711
712 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
713
9d85a0ec
YQ
7142014-12-29 Yao Qi <yao@codesourcery.com>
715
716 * gdb.trace/entry-values.exp: Update comments. Rename variable
717 bar_call_foo to returned_from_foo.
718
87186c6a
MMN
7192014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
720
721 PR gdb/17394
722 * gdb.linespec/break-asm-file.c: New file.
723 * gdb.linespec/break-asm-file.exp: New file.
724 * gdb.linespec/break-asm-file0.s: New file.
725 * gdb.linespec/break-asm-file1.s: New file.
726
1bab7383
YQ
7272014-12-18 Nigel Stephens <nigel@mips.com>
728 Maciej W. Rozycki <macro@codesourcery.com>
729
730 * gdb.base/float.exp: Handle the new output from "info float" on
731 MIPS targets.
732
1bc1068a
JK
7332014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
734
735 Fix MinGW compilation.
736 * gdb.compile/compile-ops.exp: Update untested message if
737 !skip_compile_feature_tests.
738 * gdb.compile/compile-setjmp.exp: Likewise.
739 * gdb.compile/compile-tls.exp: Likewise.
740 * gdb.compile/compile.exp: Likewise.
741 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
742 supported on this host".
743
b6615d10
DE
7442014-12-16 Doug Evans <xdje42@gmail.com>
745
746 * boards/stabs.exp: New file.
747
25dda427
AA
7482014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
749
750 * gdb.base/completion.exp: Adjust to format changes of "maint
751 print user-registers".
752
bf330350
CU
7532014-12-16 Catalin Udma <catalin.udma@freescale.com>
754
755 PR server/17457
756 * gdb.arch/aarch64-fp.c: New file.
757 * gdb.arch/aarch64-fp.exp: New file.
758
395cf596
SDJ
7592014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
760
761 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
762 r210637, r210913, r211666, r215400, r215817).
763
764 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
765 * dg-extract-results.py: New file.
766 * dg-extract-results.sh: Use it if the environment seems
767 suitable.
768
769 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
770
771 * dg-extract-results.py (parse_run): Handle warnings that
772 are printed before a test harness is run.
773
774 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
775
776 * dg-extract-results.py (Named): Remove __cmp__ method.
777 (output_variation): Use a key to sort variation.harnesses.
778
779 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
780
781 * dg-extract-results.py: For Python 3, force sys.stdout to
782 handle surrogate escape sequences.
783 (safe_open): New function.
784 (output_segment, main): Use it.
785
786 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
787
788 * dg-extract-results.py (Prog.result_re): Include options
789 in test name.
790
791 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
792
793 * dg-extract-results.py (output_variation): Always sort if
794 do_sum.
795
e882ef3c
SM
7962014-12-15 Simon Marchi <simon.marchi@ericsson.com>
797
798 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
799 as long as we get pagination notifications.
800
4992aa20
JM
8012014-12-15 Jason Merrill <jason@redhat.com>
802
803 * Makefile.in (check-gdb.%): Restore.
804 * README: Mention it.
805
c1b5a1a6
JB
8062014-12-13 Joel Brobecker <brobecker@adacore.com>
807
808 * gdb.ada/str_uninit: New testcase.
809
5537b577
JK
8102014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
811
812 PR symtab/17642
813 * gdb.base/vla-stub-define.c: New file.
814 * gdb.base/vla-stub.c: New file.
815 * gdb.base/vla-stub.exp: New file.
816
bb2ec1b3
TT
8172014-12-12 Phil Muldoon <pmuldoon@redhat.com>
818 Jan Kratochvil <jan.kratochvil@redhat.com>
819 Tom Tromey <tromey@redhat.com>
820
821 * configure.ac: Add gdb.compile/.
822 * configure: Regenerate.
823 * gdb.compile/Makefile.in: New file.
824 * gdb.compile/compile-ops.exp: New file.
825 * gdb.compile/compile-ops.c: New file.
826 * gdb.compile/compile-tls.c: New file.
827 * gdb.compile/compile-tls.exp: New file.
828 * gdb.compile/compile-constvar.S: New file.
829 * gdb.compile/compile-constvar.c: New file.
830 * gdb.compile/compile-mod.c: New file.
831 * gdb.compile/compile-nodebug.c: New file.
832 * gdb.compile/compile-setjmp-mod.c: New file.
833 * gdb.compile/compile-setjmp.c: New file.
834 * gdb.compile/compile-setjmp.exp: New file.
835 * gdb.compile/compile-shlib.c: New file.
836 * gdb.compile/compile.c: New file.
837 * gdb.compile/compile.exp: New file.
838 * lib/gdb.exp (skip_compile_feature_tests): New proc.
839
4ff709eb
TT
8402014-12-12 Tom Tromey <tromey@redhat.com>
841
842 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
843 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
844
6dddd6a5
DE
8452014-12-12 Doug Evans <dje@google.com>
846
847 * lib/gdb-python.exp (get_python_valueof): New function.
848 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
849
71c24708
AA
8502014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
851
852 * gdb.base/completion.exp: Add test for completion of "info
853 registers ".
854
3e29f34a
MR
8552014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
856
857 * gdb.base/func-ptrs.c: New file.
858 * gdb.base/func-ptrs.exp: New file.
859
fc126975
SM
8602014-12-10 Simon Marchi <simon.marchi@ericsson.com>
861
862 PR breakpoints/17012
863 * gdb.base/dprintf-detach.c: New file.
864 * gdb.base/dprintf-detach.exp: New file.
865
0a46d518
SM
8662014-12-10 Simon Marchi <simon.marchi@ericsson.com>
867
868 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
869 * lib/gdb.exp (target_is_gdbserver): New procedure.
870
a0be3e44
DE
8712014-12-08 Doug Evans <dje@google.com>
872
873 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
874
df1b803a
YQ
8752014-12-05 Yao Qi <yao@codesourcery.com>
876
877 * gdb.guile/scm-error.exp: Remove the third argument to
878 gdb_remote_download.
879 * gdb.guile/scm-frame-args.exp: Likewise.
880 * gdb.guile/scm-section-script.exp: Likewise.
881
ddb9f679
YQ
8822014-12-05 Yao Qi <yao@codesourcery.com>
883
884 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
885
86e4ed39
DE
8862014-12-04 Doug Evans <dje@google.com>
887
888 * gdb.python/py-objfile.exp: Add tests for
889 objfile.add_separate_debug_file.
890
7c50a931
DE
8912014-12-04 Doug Evans <dje@google.com>
892
893 * lib/gdb.exp (get_build_id): New function.
894 (build_id_debug_filename_get): Rewrite to use it.
895 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
896
621661e3
MR
8972014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
898
899 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
900 `method(long)', not just 0x0.
901 * gdb.cp/nsalias.exp: Align code labels to 4.
902 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
903 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
904 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
905 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
906 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
907 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
908
29f0c3b7
DE
9092014-12-02 Doug Evans <dje@google.com>
910
e1e061e7 911 PR symtab/17602
29f0c3b7 912 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 913 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
914 * gdb.cp/anon-ns.exp: Update.
915
162078c8
NB
9162014-12-02 Nick Bull <nicholaspbull@gmail.com>
917
918 * gdb.python/py-events.py (inferior_call_handler): New.
919 (register_changed_handler, memory_changed_handler): New.
920 (test_events.invoke): Register new handlers.
921 * gdb.python/py-events.exp: Add tests for inferior call,
922 memory_changed and register_changed events.
923
fdb09caf
AA
9242014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
925
926 * gdb.base/execl-update-breakpoints.exp: Specify the link address
927 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
928 if the linker doesn't understand this.
929
55cfb2c4
SM
9302014-12-01 Simon Marchi <simon.marchi@ericsson.com>
931
932 * gdb.python/python.exp: Change expected reply to help().
933
9e8cd6df
YQ
9342014-12-01 Yao Qi <yao@codesourcery.com>
935
936 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
937 AC_CONFIG_SUBDIRS(gdb.gdbtk).
938 * configure: Re-generated.
939
6c659fc2
SC
9402014-11-28 Siva Chandra Reddy <sivachandra@google.com>
941
942 * gdb.cp/chained-calls.cc: New file.
943 * gdb.cp/chained-calls.exp: New file.
944 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
945
d7fc3181
SM
9462014-11-28 Simon Marchi <simon.marchi@ericsson.com>
947
948 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
949 * gdb.dwarf2/symtab-producer.exp: Same.
950 * gdb.gdb/python-interrupts.exp: Same.
951 * gdb.gdb/python-selftest.exp: Same.
952 * gdb.python/py-linetable.exp: Same.
953 * gdb.python/py-type.exp: Same.
954 * gdb.python/py-value-cc.exp: Same.
955 * gdb.python/py-value.exp: Same.
956
10e79639
YQ
9572014-11-28 Yao Qi <yao@codesourcery.com>
958
959 * gdb.base/break-probes.exp: Match library name prefixed with
960 sysroot.
961
f28a0564
SM
9622014-11-27 Simon Marchi <simon.marchi@ericsson.com>
963
964 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
965 test expected output. Add parentheses for the call to print.
966 Remove L suffix from integers.
967
3fe1ce1d
DE
9682014-11-26 Doug Evans <dje@google.com>
969
970 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
971
84429e27
YQ
9722014-11-22 Yao Qi <yao@codesourcery.com>
973
974 * gdb.trace/entry-values.c: Remove asms.
975 (foo): Add foo_label.
976 (bar): Add bar_label.
977 * gdb.trace/entry-values.exp: Remove code computing foo's
978 length and bar's length.
979 (Dwarf::assemble): Invoke function_range for bar and use
980 MACRO_AT_func for foo.
981
26741859
YQ
9822014-11-22 Yao Qi <yao@codesourcery.com>
983
984 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
985 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
986 Use .Lgcc43_procstart instead of gcc43.
987
45e44d27
JB
9882014-11-21 Joel Brobecker <brobecker@adacore.com>
989
990 * gdb.ada/n_arr_bound: New testcase.
991
458c8db8
SDJ
9922014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
993
994 PR breakpoints/10737
995 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
996 test_catch_syscall_multi_arch.
997 (test_catch_syscall_multi_arch): New function.
998
43f3e411
DE
9992014-11-20 Doug Evans <xdje42@gmail.com>
1000
1001 * gdb.base/maint.exp: Update expected output.
1002
0d7b2549
AA
10032014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1004
1005 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1006 4-byte instruction on S390.
1007
8908fca5
JB
10082014-11-19 Joel Brobecker <brobecker@adacore.com>
1009
1010 * gdb.ada/arr_arr: New testcase.
1011
4a46959e
JB
10122014-11-19 Joel Brobecker <brobecker@adacore.com>
1013
1014 * gdb.ada/pkd_arr_elem: New Testcase.
1015
470e2f4e
LM
10162014-11-18 Luis Machado <lgustavo@codesourcery.com>
1017
1018 * gdb.reverse/break-precsave: Expect completion message for
1019 core file reads.
1020 * gdb.reverse/consecutive-precsave.exp: Likewise.
1021 * gdb.reverse/finish-precsave.exp: Likewise.
1022 * gdb.reverse/i386-precsave.exp: Likewise.
1023 * gdb.reverse/machinestate-precsave.exp: Likewise.
1024 * gdb.reverse/sigall-precsave.exp: Likewise.
1025 * gdb.reverse/solib-precsave.exp: Likewise.
1026 * gdb.reverse/step-precsave.exp: Likewise.
1027 * gdb.reverse/until-precsave.exp: Likewise.
1028 * gdb.reverse/watch-precsave.exp: Likewise.
1029
a267f3ad
AA
10302014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1031
1032 * gdb.base/bp-permanent.c: Include unistd.h.
1033 * gdb.python/py-framefilter-mi.c (main): Add return type.
1034 * gdb.python/py-framefilter.c (main): Likewise.
1035 * gdb.trace/actions-changed.c (main): Likewise.
1036
12084a9a
AA
10372014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1038
1039 * gdb.mi/until.c: Add eye-catchers.
1040 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1041 line numbers.
1042
dc7e1a77
AA
10432014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1044
1045 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1046 function header variants in break1.c.
1047 * gdb.base/ena-dis-br.exp: Likewise.
1048 * gdb.base/hbreak2.exp: Likewise.
1049 * gdb.reverse/until-precsave.exp: Drop references to removed
1050 non-prototype function header variants in ur1.c.
1051 * gdb.reverse/until-reverse.exp: Likewise.
1052
41c77605
PM
10532014-11-17 Petr Machata <pmachata@redhat.com>
1054
1055 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1056 ${_cu_offset_size} bytes abbrev offset.
1057
34248c3a
DE
10582014-11-15 Doug Evans <xdje42@gmail.com>
1059
1060 PR symtab/17559
1061 * gdb.base/line-symtabs.exp: New file.
1062 * gdb.base/line-symtabs.c: New file.
1063 * gdb.base/line-symtabs.h: New file.
1064
646da059
YQ
10652014-11-14 Yao Qi <yao@codesourcery.com>
1066
1067 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1068 (func): Add label func_label.
1069 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1070 Replace low_pc and high_pc with MACRO_AT_range.
1071 Replace name, low_pc and high_pc with MACRO_AT_func.
1072
9301ebe6
YQ
10732014-11-14 Yao Qi <yao@codesourcery.com>
1074
1075 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1076 Replace name, low_pc and high_pc with MACRO_AT_func.
1077
f166b542
YQ
10782014-11-14 Yao Qi <yao@codesourcery.com>
1079
1080 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1081 produce debug information.
1082 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1083
0f6e71e3
YQ
10842014-11-14 Yao Qi <yao@codesourcery.com>
1085
1086 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1087 object and get function length.
1088 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1089 with MACRO_AT_func.
1090 (top-level): Replace gdb_compile and clean_restart with
1091 prepare_for_testing.
1092 * gdb.dwarf2/main.c (main): Add label main_label.
1093
876c4df9
YQ
10942014-11-14 Yao Qi <yao@codesourcery.com>
1095
1096 * lib/dwarf.exp (function_range): New procedure.
1097 (Dwarf::_handle_macro_at_func): New procedure.
1098 (Dwarf::_handle_macro_at_range): New procedure.
1099 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1100
02ad9cf1
YQ
11012014-11-14 Yao Qi <yao@codesourcery.com>
1102
1103 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1104 (_handle_attribute): New procedure.
1105
a59add0c
AA
11062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1107
1108 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1109 * gdb.base/call-sc.c (zed): Likewise.
1110 * gdb.base/checkpoint.c (main): Likewise.
1111 * gdb.base/dump.c (main): Likewise.
1112 * gdb.base/gcore.c (main): Likewise.
1113 * gdb.base/huge.c (main): Likewise.
1114 * gdb.base/multi-forks.c (main): Likewise.
1115 * gdb.base/pr10179-a.c (main): Likewise.
1116 * gdb.base/savedregs.c (main): Likewise.
1117 * gdb.base/sigaltstack.c (main): Likewise.
1118 * gdb.base/siginfo.c (main): Likewise.
1119 * gdb.base/structs.c (zed): Likewise.
1120 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1121 * gdb.mi/mi-syn-frame.c (main): Likewise.
1122 * gdb.mi/until.c (foo, main): Likewise.
1123 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1124 * gdb.base/solib-weak.c (foo): Declare.
1125 * gdb.base/attach-twice.c: Include stdio.h.
1126 * gdb.base/weaklib1.c: Likewise.
1127 * gdb.base/weaklib2.c: Likewise.
1128 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1129 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1130 unistd.h.
1131 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1132 * gdb.mi/mi-exit-code.c: Likewise.
1133 * gdb.base/break-interp-lib.c: Include string.h.
1134 * gdb.base/coremaker.c: Likewise.
1135 * gdb.base/testenv.c: Likewise.
1136 * gdb.python/py-finish-breakpoint.c: Likewise.
1137 * gdb.base/inferior-died.c: Include sys/wait.h.
1138 * gdb.base/fileio.c: Include time.h.
1139 * gdb.base/async-shell.c: Include unistd.h.
1140 * gdb.base/dprintf-non-stop.c: Likewise.
1141 * gdb.base/info-os.c: Likewise.
1142 * gdb.mi/mi-console.c: Likewise.
1143 * gdb.mi/watch-nonstop.c: Likewise.
1144 * gdb.python/py-events.c: Likewise.
1145 * gdb.base/async.c (baz): Move up before its invocation.
1146 * gdb.base/code_elim2.c (my_global_func): Likewise.
1147 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1148 * gdb.base/advance.c (func2): Likewise.
1149
3b5d5997
AA
11502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1151
1152 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1153 variant.
1154 * gdb.base/annota3.c: Likewise.
1155 * gdb.base/async.c: Likewise.
1156 * gdb.base/average.c: Likewise.
1157 * gdb.base/call-ar-st.c: Likewise.
1158 * gdb.base/call-rt-st.c: Likewise.
1159 * gdb.base/call-sc.c: Likewise.
1160 * gdb.base/call-strs.c: Likewise.
1161 * gdb.base/ending-run.c: Likewise.
1162 * gdb.base/execd-prog.c: Likewise.
1163 * gdb.base/exprs.c: Likewise.
1164 * gdb.base/foll-exec.c: Likewise.
1165 * gdb.base/foll-fork.c: Likewise.
1166 * gdb.base/foll-vfork.c: Likewise.
1167 * gdb.base/funcargs.c: Likewise.
1168 * gdb.base/gcore.c: Likewise.
1169 * gdb.base/jump.c: Likewise.
1170 * gdb.base/langs0.c: Likewise.
1171 * gdb.base/langs1.c: Likewise.
1172 * gdb.base/langs2.c: Likewise.
1173 * gdb.base/mips_pro.c: Likewise.
1174 * gdb.base/nodebug.c: Likewise.
1175 * gdb.base/opaque0.c: Likewise.
1176 * gdb.base/opaque1.c: Likewise.
1177 * gdb.base/recurse.c: Likewise.
1178 * gdb.base/run.c: Likewise.
1179 * gdb.base/scope0.c: Likewise.
1180 * gdb.base/scope1.c: Likewise.
1181 * gdb.base/setshow.c: Likewise.
1182 * gdb.base/setvar.c: Likewise.
1183 * gdb.base/shmain.c: Likewise.
1184 * gdb.base/shr1.c: Likewise.
1185 * gdb.base/shr2.c: Likewise.
1186 * gdb.base/sigall.c: Likewise.
1187 * gdb.base/signals.c: Likewise.
1188 * gdb.base/so-indr-cl.c: Likewise.
1189 * gdb.base/solib2.c: Likewise.
1190 * gdb.base/structs.c: Likewise.
1191 * gdb.base/sum.c: Likewise.
1192 * gdb.base/vforked-prog.c: Likewise.
1193 * gdb.base/watchpoint.c: Likewise.
1194 * gdb.reverse/shr2.c: Likewise.
1195 * gdb.reverse/until-reverse.c: Likewise.
1196 * gdb.reverse/ur1.c: Likewise.
1197 * gdb.reverse/watch-reverse.c: Likewise.
1198
066a77c5
AA
11992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1200
1201 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1202 variant.
1203 * gdb.base/sepdebug.exp: Drop references to removed code.
1204
4f204ea5
AA
12052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1206
1207 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1208 variant. Preserve original line numbering.
1209 * gdb.base/list1.c: Likewise.
1210
3b377a3a
AA
12112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1212
1213 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1214 variant.
1215 * gdb.base/break1.c: Likewise.
1216 * gdb.base/break.exp: Drop references to removed code.
1217
e444df73
AA
12182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1219
1220 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1221 variant.
1222
8008f2a7
AA
12232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1224
1225 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1226
a5a06887
AA
12272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1228
1229 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1230 logic into perform_all_tests() and invoke it with and without
1231 function header prototypes.
1232 (do_function_calls): Remove conditional XFAIL for PR 5318.
1233 (rerun_and_prepare): Remove duplicate code.
1234 (perform_all_tests): New. Main logic moved here.
1235
44dba9b9
AA
12362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1237
1238 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1239 code guarded by #ifdef NO_PROTOTYPES.
1240 (t_double_many_args): Likewise.
1241 (DEF_FUNC_MANY_ARGS_1): Likewise.
1242 (DEF_FUNC_VALUES_1): Likewise.
1243 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1244 guarded by #ifdef PROTOTYPES.
1245
d1fbcd56
AA
12462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1247
1248 * gdb.mi/mi-console.c: Add eye-catcher.
1249 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1250 instead of literal line number.
1251
b0e59b8f
AA
12522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1253
1254 * gdb.base/shr2.c: Add eye-catcher.
1255 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1256 line number.
1257
78f98cca
AA
12582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1259
1260 * gdb.base/jump.c: Add eye-catchers.
1261 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1262 numbers.
1263
58fa2af0
AA
12642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1265
1266 * gdb.base/execd-prog.c: Add eye-catchers.
1267 * gdb.base/foll-exec.c: Likewise.
1268 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1269 line numbers.
1270
04e5059b
AA
12712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1272
1273 * gdb.base/ending-run.c: Add eye-catchers.
1274 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1275 literal line numbers.
1276
dbfdb174
AA
12772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1278
1279 * gdb.base/call-rt-st.c: Add eye-catchers.
1280 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1281 literal line numbers.
1282
888a2ade
AA
12832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1284
1285 * gdb.base/call-ar-st.c: Add eye-catchers.
1286 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1287 literal line numbers.
1288
6acc2dde
AA
12892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1290
1291 * gdb.base/average.c: Add eye-catchers.
1292 * gdb.base/sum.c: Likewise.
1293 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1294 regexps dynamically.
1295
9ecfcd1d
AA
12962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1297
1298 * gdb.base/solib1.c: Add eye-catchers.
1299 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1300 literal line numbers.
1301
78708b7c
PA
13022014-11-12 Pedro Alves <palves@redhat.com>
1303
1304 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1305 leader has exited.
1306
af48d08f
PA
13072014-11-12 Pedro Alves <palves@redhat.com>
1308
1309 * gdb.arch/i386-bp_permanent.c: New file.
1310 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1311 (srcfile): Set to i386-bp_permanent.c.
1312 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1313 that stepi does not execute the 'leave' instruction, instead of
1314 testing it does execute.
1315 * gdb.base/bp-permanent.c: New file.
1316 * gdb.base/bp-permanent.exp: New file.
1317
af3768e9
DE
13182014-11-10 Doug Evans <xdje42@gmail.com>
1319
1320 PR symtab/17564
1321 * gdb.base/symtab-search-order.exp: New file.
1322 * gdb.base/symtab-search-order.c: New file.
1323 * gdb.base/symtab-search-order-1.c: New file.
1324 * gdb.base/symtab-search-order-shlib-1.c: New file.
1325
9de00a4a
PA
13262014-11-07 Pedro Alves <palves@redhat.com>
1327
1328 PR gdb/17511
1329 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1330 i?86-*-linux*.
1331
e0f52461
SC
13322014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1333
1334 PR c++/17494
1335 * gdb.cp/pr17494.cc: New file.
1336 * gdb.cp/pr17494.exp: New file.
1337
6ce8c980
YQ
13382014-11-02 Yao Qi <yao@codesourcery.com>
1339
1340 * gdb.python/python.exp: Get working directory and match the
1341 output of "set extended-prompt \\w " with it.
1342
02be9a71
DE
13432014-10-30 Doug Evans <dje@google.com>
1344
1345 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1346 in objfiles.
1347 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1348 in progspaces.
1349
3bdff46b
LM
13502014-10-30 Janis Johnson <janisjo@codesourcery.com>
1351
1352 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1353 * gdb.base/realname-expand.exp: Likewise.
1354 * gdb.linespec/macro-relative.exp: Likewise.
1355
ab917dfb
PA
13562014-10-29 Pedro Alves <palves@redhat.com>
1357
1358 PR gdb/17408
1359 * gdb.threads/schedlock.c (some_function): New function.
1360 (call_function): New global.
1361 (MAYBE_CALL_SOME_FUNCTION): New macro.
1362 (thread_function): Call it.
1363 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1364 and use it instead of a global counter. Adjust all callers.
1365 (get_current_thread): Use "find current thread" for test message
1366 here rather than having all callers pass down the same string.
1367 (goto_loop): New procedure, factored out from ...
1368 (my_continue): ... this.
1369 (step_ten_loops): Change parameter from test message to command to
1370 use. Adjust.
1371 (list_count): Delete global.
1372 (check_result): New procedure, factored out from duplicate top
1373 level code.
1374 (continue tests): Wrap in with_test_prefix.
1375 (test_step): New procedure, factored out from duplicate top level
1376 code.
1377 (top level): Test "step" in combination with all scheduler-locking
1378 modes. Test "next" in combination with all scheduler-locking
1379 modes, and in combination with stepping over a function call or
1380 not.
1381 * gdb.threads/next-bp-other-thread.c: New file.
1382 * gdb.threads/next-bp-other-thread.exp: New file.
1383
d3d4baed
PA
13842014-10-29 Pedro Alves <palves@redhat.com>
1385
1386 PR python/17372
1387 * gdb.python/python.exp: Test a multi-line command that spawns
1388 interactive Python.
1389 * gdb.base/multi-line-starts-subshell.exp: New file.
1390
563e8d85
YQ
13912014-10-29 Yao Qi <yao@codesourcery.com>
1392
1393 * gdb.base/fileio.exp: Make directories on host.
1394
0ea4d52e
YQ
13952014-10-29 Yao Qi <yao@codesourcery.com>
1396
1397 * gdb.base/fileio.c (test_write): Close the file.
1398
7f5ef605
PA
13992014-10-28 Pedro Alves <palves@redhat.com>
1400
1401 PR gdb/12623
1402 * gdb.base/sigstep.c (no_handler): New global.
1403 (main): If 'no_handler is true, set the signal handlers to
1404 SIG_IGN.
1405 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1406 with_sw_watch and no_handler parameters. Handle them.
1407 (top level) <stepping over handler when stopped at a breakpoint
1408 test>: Add a test axis for testing with a software watchpoint, and
1409 another for testing with the signal handler set to SIG_IGN.
1410 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1411 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1412
abbdbd03
PA
14132014-10-28 Pedro Alves <palves@redhat.com>
1414
1415 PR gdb/17511
1416 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1417 * gdb.base/sigstep.exp (other_handler_location): New global.
1418 (advance): Support stepping into the signal handler, and running
1419 commands while in the handler.
1420 (in_handler_map): New global.
1421 (top level): In the advance test, add combinations for getting
1422 into the handler with stepping commands, and for running commands
1423 in the handler. Add comment descripting the advancei tests.
1424
1df4399f
PA
14252014-10-28 Pedro Alves <palves@redhat.com>
1426
1427 * gdb.base/sigstep.exp: Use build_executable instead of
1428 prepare_for_testing.
1429 (top level): Move code that starts GDB, runs to main and creates a
1430 display to ...
1431 (restart): ... this new procedure.
1432 (top level): Move backtrace from signal handler test to ...
1433 (validate_backtrace): ... this new procedure.
1434 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1435 with_test_prefix. Always restart GDB.
1436 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1437 with_test_prefix. Always restart GDB. No need to delete
1438 breakpoints after the test.
1439 (test_skip_handler): Remove prefix parameter.
1440 (skip_over_handler, breakpoint_to_handler)
1441 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1442 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1443 restart GDB. No need to delete breakpoints after the test.
1444 (top level): Use foreach to call the test procedures with
1445 different commands.
1446
a5b6e449
PA
14472014-10-28 Pedro Alves <palves@redhat.com>
1448
1449 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1450 instead of GNATS numbers.
1451 * gdb.base/sigbpt.exp: Likewise.
1452 * gdb.base/siginfo.exp: Likewise.
1453 * gdb.base/sigstep.exp: Likewise.
1454
e5f8a7cc
PA
14552014-10-27 Pedro Alves <palves@redhat.com>
1456
1457 * gdb.base/sigstep.c (dummy): New global.
1458 (main): Issue a couple writes to the new global.
1459 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1460 procedures.
1461 (skip_over_handler): Use test_skip_handler.
1462 (top level): Call skip_over_handler for stepi and nexti too.
1463 (breakpoint_over_handler): Use test_skip_handler.
1464 (top level): Call breakpoint_over_handler for stepi and nexti too.
1465
763905a3
YQ
14662014-10-27 Yao Qi <yao@codesourcery.com>
1467
1468 * gdb.trace/tfile.c (adjust_function_address)
1469 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1470 function descriptor.
1471
6f259a23
DB
14722014-10-24 Don Breazeal <donb@codesourcery.com>
1473
1474 * gdb.base/foll-fork.exp (test_follow_fork,
1475 catch_fork_child_follow): Check for updated fork messages emitted
1476 from infrun.c.
1477 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1478 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1479 vfork_and_exec_child_follow_through_step): Check for updated vfork
1480 messages emitted from infrun.c.
1481
09dd9a69
PA
14822014-10-24 Pedro Alves <palves@redhat.com>
1483
1484 * gdb.base/corefile.exp: Remove references to ultrix.
1485 * gdb.base/interrupt.exp: Likewise.
1486 * gdb.base/whatis.exp: Likewise.
1487 * gdb.gdb/selftest.exp: Likewise.
1488 * gdb.threads/manythreads.exp: Likewise.
1489 * gdb.threads/print-threads.exp: Likewise.
1490 * gdb.threads/pthreads.exp:: Likewise.
1491 * gdb.threads/schedlock.exp: Likewise.
1492
3433cfa5
SC
14932014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1494
1495 * gdb.cp/non-trivial-retval.cc: Add a test case.
1496 * gdb.cp/non-trivial-retval.exp: Add a test.
1497
092f880b
YQ
14982014-10-20 Yao Qi <yao@codesourcery.com>
1499
1500 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1501 * gdb.python/py-objfile-script-gdb.py: New file.
1502 * gdb.python/py-objfile-script.exp: Update reference to
1503 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1504 of remote_download. Remove the dest file.
1505
acbdb7f3
YQ
15062014-10-20 Yao Qi <yao@codesourcery.com>
1507
1508 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1509 * gdb.base/step-line.exp: Likewise.
1510 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1511 * gdb.dwarf2/dw2-basic.exp: Likewise.
1512 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1513 * gdb.dwarf2/dw2-filename.exp: Likewise.
1514 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1515 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1516 * gdb.dwarf2/dw2-producer.exp: Likewise.
1517 * gdb.dwarf2/mac-fileno.exp: Likewise.
1518 * gdb.python/py-frame-args.exp: Likewise.
1519 * gdb.python/py-framefilter.exp: Likewise.
1520 * gdb.python/py-mi.exp: Likewise.
1521 * gdb.python/py-objfile-script.exp: Likewise
1522 * gdb.python/py-pp-integral.exp: Likewise.
1523 * gdb.python/py-pp-re-notag.exp: Likewise.
1524 * gdb.python/py-prettyprint.exp: Likewise.
1525 * gdb.python/py-section-script.exp: Likewise.
1526 * gdb.python/py-typeprint.exp: Likewise.
1527 * gdb.python/py-xmethods.exp: Likewise.
1528 * gdb.stabs/weird.exp: Likewise.
1529 * gdb.xml/tdesc-regs.exp: Likewise.
1530
bd286a29
KCY
15312014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1532
1533 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1534 (out_cu): Use addr_len for the size of addresses.
1535 (out_line): Likewise. Size DW_LNE_set_address instruction
1536 according to addr_len.
1537 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1538 (FUNC): Add START_INSNS to definition.
1539
673dc4a0
YQ
15402014-10-18 Yao Qi <yao@codesourcery.com>
1541
1542 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1543 gdb_has_argv0 return true.
1544 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1545 check [target_info exists noargs], check [gdb_has_argv0]
1546 instead.
1547 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1548 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1549 procedures.
1550
4ffbba72
DE
15512014-10-17 Doug Evans <dje@google.com>
1552
1553 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1554 event.
1555 * gdb.python/py-events.py: Add clear_objfiles event.
1556
d096d8c1
DE
15572014-10-17 Doug Evans <dje@google.com>
1558
1559 * gdb.python/py-objfile.exp: Test progspace attribute.
1560
a80db015
LM
15612014-10-17 Luis Machado <lgustavo@codesourcery.com>
1562
1563 * gdb.guile/scm-breakpoint.exp: Do not assume any
1564 directory separators when matching source file paths.
1565 * gdb.python/py-breakpoint.exp: Likewise.
1566 * gdb.reverse/break-precsave.exp: Likewise.
1567 * gdb.reverse/break-reverse.exp: Likewise.
1568 * gdb.reverse/consecutive-precsave.exp: Likewise.
1569 * gdb.reverse/finish-precsave.exp: Likewise.
1570 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1571 * gdb.reverse/finish-reverse.exp: Likewise.
1572 * gdb.reverse/i386-precsave.exp: Likewise.
1573 * gdb.reverse/i387-env-reverse.exp: Likewise.
1574 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1575 * gdb.reverse/machinestate-precsave.exp: Likewise.
1576 * gdb.reverse/machinestate.exp: Likewise.
1577 * gdb.reverse/sigall-precsave.exp: Likewise.
1578 * gdb.reverse/solib-precsave.exp: Likewise.
1579 * gdb.reverse/step-precsave.exp: Likewise.
1580 * gdb.reverse/until-precsave.exp: Likewise.
1581 * gdb.reverse/watch-precsave.exp: Likewise.
1582 * gdb.reverse/watch-reverse.exp: Likewise.
1583
b22089ab
YQ
15842014-10-17 Yao Qi <yao@codesourcery.com>
1585
1586 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1587 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1588
6c4486e6
PA
15892014-10-17 Pedro Alves <palves@redhat.com>
1590
1591 PR gdb/17471
1592 * gdb.base/bg-execution-repeat.c: New file.
1593 * gdb.base/bg-execution-repeat.exp: New file.
1594
0ff33695
PA
15952014-10-17 Pedro Alves <palves@redhat.com>
1596
1597 PR gdb/17300
1598 * gdb.base/continue-all-already-running.c: New file.
1599 * gdb.base/continue-all-already-running.exp: New file.
1600
6fdebc3d
PA
16012014-10-17 Pedro Alves <palves@redhat.com>
1602
1603 PR gdb/17472
1604 * gdb.base/annota-input-while-running.c: New file.
1605 * gdb.base/annota-input-while-running.exp: New file.
1606
32a8097b
PA
16072014-10-17 Pedro Alves <palves@redhat.com>
1608
1609 * gdb.base/callfuncs.exp: emove references to osf.
1610 * gdb.base/sigall.exp: Likewise.
1611 * gdb.gdb/selftest.exp: Likewise.
1612 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1613 * gdb.mi/non-stop.c: Likewise.
1614 * gdb.mi/pthreads.c: Likewise.
1615 * gdb.reverse/sigall-precsave.exp: Likewise.
1616 * gdb.reverse/sigall-reverse.exp: Likewise.
1617 * gdb.threads/pthreads.c: Likewise.
1618 * gdb.threads/pthreads.exp: Likewise.
1619
7a3517ff
YQ
16202014-10-17 Yao Qi <yao@codesourcery.com>
1621
1622 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1623 check 'target_info exists noargs'.
1624 (test_command_prompt_position): Likewise.
1625 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1626 Remove "set args".
1627 (progvar_simple_while_test): Likewise.
1628 (progvar_complex_if_while_test): Likewise.
1629 (if_while_breakpoint_command_test): Likewise.
1630 (infrun_breakpoint_command_test): Likewise.
1631 (breakpoint_command_test): Likewise.
1632 (watchpoint_command_test): Likewise.
1633 (bp_deleted_in_command_test): Likewise.
1634 (temporary_breakpoint_commands): Likewise.
1635
bb99c472
YQ
16362014-10-16 Yao Qi <yao@codesourcery.com>
1637
1638 * gdb.base/remotetimeout.exp: Remove noargs checking.
1639
7c16b83e
PA
16402014-10-15 Pedro Alves <palves@redhat.com>
1641
1642 PR breakpoints/9649
1643 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1644 * gdb.base/breakpoint-in-ro-region.exp
1645 (probe_target_hardware_step): New procedure.
1646 (top level): Probe hardware stepping and hardware breakpoint
1647 support. Test stepping through a read-only region, with both
1648 "breakpoint auto-hw" on and off and both "always-inserted" on and
1649 off.
1650
35a49624
IB
16512014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1652
1653 * gdb.dlang/demangle.exp: Update for demangling changes.
1654
2d1c107c
SC
16552014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1656
1657 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1658 * gdb.cp/non-trivial-retval.exp: Add new tests.
1659
778811d5
SC
16602014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1661
1662 PR c++/13403
1663 PR c++/15154
1664 * gdb.cp/non-trivial-retval.cc: New file.
1665 * gdb.cp/non-trivial-retval.exp: New file.
1666
10c5f0a8
YQ
16672014-10-15 Yao Qi <yao@codesourcery.com>
1668
1669 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1670 remote host.
1671
65d7b369
YQ
16722014-10-15 Yao Qi <yao@codesourcery.com>
1673
1674 * gdb.python/py-symbol.exp: Match file base name if host is
1675 remote, otherwise match file name with dir name.
1676 * gdb.python/py-symtab.exp: Likewise.
1677 * gdb.python/python.exp: Likewise.
1678
46dc1394
YQ
16792014-10-15 Yao Qi <yao@codesourcery.com>
1680
1681 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1682 pattern.
1683 * gdb.python/py-symtab.exp: Likewise.
1684 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1685 locationn.
1686
c40cc657
JB
16872014-10-14 Joel Brobecker <brobecker@adacore.com>
1688
1689 * gdb.ada/addr_arith: New testcase.
1690
2abf49e1
MR
16912014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1692
1693 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1694 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1695 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1696 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1697
f7088df3
SDJ
16982014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1699
1700 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1701 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1702 * gdb.arch/stap-eval-lang-ada.exp: New file.
1703
4dc06805
YQ
17042014-10-14 Yao Qi <yao@codesourcery.com>
1705
1706 * gdb.mi/mi-var-child.c (nothing1): New function.
1707 (nothing2): New function.
1708 (do_children_tests): Set function pointers by nothing1 and
1709 nothing2.
1710 * gdb.mi/mi-var-child.exp: Step over new added statements.
1711 Update test to match the new output.
1712 * gdb.mi/var-cmd.c (nothing1): New function.
1713 (nothing2): New function.
1714 (do_children_tests): Set function pointers by nothing1 and
1715 nothing2.
1716 * gdb.mi/mi-var-display.exp: Update test to match output.
1717 Step to the line specified by $line_dct_nothing.
1718 Increase the number of lines to step.
1719
46a93de2
YQ
17202014-10-14 Yao Qi <yao@codesourcery.com>
1721
1722 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1723 tests.
1724 * gdb.mi/mi2-var-child.exp: Likewise.
1725
14ea52ee
DE
17262014-10-13 Doug Evans <dje@google.com>
1727
1728 * gdb.python/py-objfile.exp: Change name of file name test.
1729
e5c6e92b
DE
17302014-10-13 Doug Evans <dje@google.com>
1731
1732 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1733 from the start of the CU.
1734
c780cc2f
JK
17352014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1736 Yao Qi <yao@codesourcery.com>
1737
1738 Fix "save breakpoints" for "catch" command.
1739 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1740 Remove -nonewline. Match also the added "main" line.
1741
99894e11
JK
17422014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1743
1744 Fix "save breakpoints" for "disable $bpnum" command.
1745 * gdb.base/save-bp.c (main): Add label.
1746 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1747
6e1ac5a3
JK
17482014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1749
1750 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1751
754dd2b0
YQ
17522014-10-11 Yao Qi <yao@codesourcery.com>
1753
1754 * gdb.server/server-kill.exp: Execute command
1755 "set remote trace-status-packet on" before "tstatus".
1756
f90183d7
YQ
17572014-10-11 Yao Qi <yao@codesourcery.com>
1758
1759 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1760 (main): Call getppid.
1761 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1762 and continue to it. Read variable "server_pid".
1763
bf40a607
YQ
17642014-10-11 Yao Qi <yao@codesourcery.com>
1765
1766 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1767
052ca370
YQ
17682014-10-11 Yao Qi <yao@codesourcery.com>
1769
1770 * gdb.threads/thread-find.exp: Don't execute command
1771 "info threads".
1772 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1773 * gdb.threads/linux-dp.exp: Don't check the condition
1774 $threads_created equals to zero.
1775
3831839c
PA
17762014-10-10 Pedro Alves <palves@redhat.com>
1777
1778 * gdb.base/bigcore.exp: Remove references to IRIX.
1779 * gdb.base/funcargs.exp: Likewise.
1780 * gdb.base/interrupt.exp: Likewise.
1781 * gdb.base/mips_pro.exp: Likewise.
1782 * gdb.base/nodebug.exp: Likewise.
1783 * gdb.base/setvar.exp: Likewise.
1784 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1785
8b9a549d
PA
17862014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1787 Pedro Alves <palves@redhat.com>
1788
1789 PR symtab/14466
1790 * gdb.base/vdso-warning.c: New file.
1791 * gdb.base/vdso-warning.exp: New file.
1792
d48ba5e8
DE
17932014-10-02 Doug Evans <dje@google.com>
1794
1795 * gdb.base/structs.c (main): Don't run forever.
1796
2278c276
PA
17972014-10-02 Pedro Alves <palves@redhat.com>
1798
1799 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1800 (top level) <stop threads 1, stop threads 2>: Use it.
1801
b57bacec
PA
18022014-10-02 Pedro Alves <palves@redhat.com>
1803
1804 * gdb.threads/break-while-running.exp (test): Add new
1805 'update_thread_list' argument. Skip "info threads" if false.
1806 (top level): Add new 'update_thread_list' axis.
1807
13fd3ff3
PA
18082014-10-02 Pedro Alves <palves@redhat.com>
1809
1810 PR breakpoints/17431
1811 * gdb.base/execl-update-breakpoints.c: New file.
1812 * gdb.base/execl-update-breakpoints.exp: New file.
1813
0fec99e8
PA
18142014-10-01 Pedro Alves <palves@redhat.com>
1815
1816 * gdb.base/breakpoint-in-ro-region.c: New file.
1817 * gdb.base/breakpoint-in-ro-region.exp: New file.
1818
2ddf4301
SM
18192014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1820
1821 * gdb.mi/mi-exit-code.exp: New file.
1822 * gdb.mi/mi-exit-code.c: New file.
1823
6a5f3f43
YQ
18242014-09-30 Yao Qi <yao@codesourcery.com>
1825
1826 * lib/prelink-support.exp (build_executable_own_libs): Error if
1827 the target isn't native.
1828
345bcc73
YQ
18292014-09-30 Yao Qi <yao@codesourcery.com>
1830
1831 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1832 false.
1833
a25a5a45
PA
18342014-09-22 Pedro Alves <palves@redhat.com>
1835
1836 * gdb.threads/break-while-running.exp: New file.
1837 * gdb.threads/break-while-running.c: New file.
1838
00ba3162
YQ
18392014-09-19 Yao Qi <yao@codesourcery.com>
1840
1841 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1842 Invoke test. Restart GDB with --readnow and invoke test again.
1843
c3b7b696
YQ
18442014-09-19 Yao Qi <yao@codesourcery.com>
1845
1846 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1847 proc set_breakpoint_on_gcd_function. Invoke
1848 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1849 invoke set_breakpoint_on_gcd_function again.
1850
2b4fd423
DE
18512014-09-18 Doug Evans <dje@google.com>
1852
1853 * gdb.dwarf2/symtab-producer.exp: New file.
1854
a5947601
SDJ
18552014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1856
1857 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1858 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1859 * gdb.base/global-var-nested-by-dso.c: Likewise.
1860 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1861
91c19059
SDJ
18622014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1863 Pedro Alves <palves@redhat.com>
1864
1865 * gdb.base/watch-bitfields.exp: Pass string other than test file
1866 name to prepare_for_testing.
1867 (watch): New procedure.
1868 (expect_watchpoint): Use with_test_prefix.
1869 (top level): Factor out tests to ...
1870 (test_watch_location, test_regular_watch): ... these new
1871 procedures, and use with_test_prefix and gdb_continue_to_end.
1872
bb9d5f81
PP
18732014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1874
1875 PR breakpoints/12526
1876 * gdb.base/watch-bitfields.exp: New file.
1877 * gdb.base/watch-bitfields.c: New file.
1878
635856f5
PA
18792014-09-16 Pedro Alves <palves@redhat.com>
1880
1881 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1882 software and hardware addresses, not software address against
1883 itself.
1884
7280ceea
PA
18852014-09-16 Pedro Alves <palves@redhat.com>
1886
1887 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1888 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1889
428b16bd
PA
18902014-09-16 Pedro Alves <palves@redhat.com>
1891
1892 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1893 files.
1894 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1895 "*-*-vxworks*" throughout.
1896 * gdb.base/break.exp: Likewise.
1897 * gdb.base/default.exp: Likewise.
1898 * gdb.base/scope.exp: Likewise.
1899 * gdb.base/sepdebug.exp: Likewise.
1900 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1901 throughout.
1902 * gdb.base/run.c: Likewise.
1903 * gdb.base/sepdebug.c: Likewise.
1904 * gdb.hp/gdb.aCC/run.c: Likewise.
1905 * gdb.reverse/until-reverse.c: Likewise.
1906 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1907
666d413c
YQ
19082014-09-16 Yao Qi <yao@codesourcery.com>
1909
1910 * boards/local-remote-host-native.exp: New file.
1911
57cbd724
DE
19122014-09-14 Doug Evans <xdje42@gmail.com>
1913
1914 * gdb.threads/queue-signal.c (thread_count): New variable.
1915 (thread_count_mutex, thread_count_condvar): New variables.
1916 (incr_thread_count, wait_all_threads_running): New functions.
1917 (main): Wait for all threads to be in their thread functions.
1918
81219e53
DE
19192014-09-13 Doug Evans <xdje42@gmail.com>
1920
1921 * gdb.threads/queue-signal.c: New file.
1922 * gdb.threads/queue-signal.exp: New file.
1923
3714cea7
DE
19242014-09-13 Doug Evans <xdje42@gmail.com>
1925
1926 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1927 be consistent with what default_gdb_init uses.
1928 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1929 the plain text of the prompt. Add some logging printfs.
1930 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1931
fa43b1d7
PA
19322014-09-12 Pedro Alves <palves@redhat.com>
1933
1934 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1935 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1936 * gdb.arch/i386-size-overlap.exp: Likewise.
1937 * gdb.arch/i386-size.exp: Likewise.
1938 * gdb.arch/i386-unwind.exp: Likewise.
1939 * gdb.base/a2-run.exp: Likewise.
1940 * gdb.base/break.exp: Likewise.
1941 * gdb.base/charset.exp: Likewise.
1942 * gdb.base/chng-syms.exp: Likewise.
1943 * gdb.base/commands.exp: Likewise.
1944 * gdb.base/dbx.exp: Likewise.
1945 * gdb.base/find.exp: Likewise.
1946 * gdb.base/funcargs.exp: Likewise.
1947 * gdb.base/jit-simple.exp: Likewise.
1948 * gdb.base/reread.exp: Likewise.
1949 * gdb.base/sepdebug.exp: Likewise.
1950 * gdb.base/step-bt.exp: Likewise.
1951 * gdb.cp/mb-inline.exp: Likewise.
1952 * gdb.cp/mb-templates.exp: Likewise.
1953 * gdb.objc/basicclass.exp: Likewise.
1954 * gdb.threads/killed.exp: Likewise.
1955
9d9bf2df
EBM
19562014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1957
1958 PR tdep/17379
1959 * gdb.arch/powerpc-stackless.S: New file.
1960 * gdb.arch/powerpc-stackless.exp: New file.
1961
1cf2f1b0
JK
19622014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1963
1964 * gdb.base/attach.c: Include unistd.h.
1965 (main): Call alarm. Add label postloop.
1966 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1967 gdb_breakpoint, gdb_continue_to_breakpoint.
1968 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1969
98880d46
PA
19702014-09-11 Pedro Alves <palves@redhat.com>
1971
1972 PR gdb/17347
1973 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1974 * gdb.base/attach.exp (test_command_line_attach_run): New
1975 procedure.
1976 (top level): Call it.
1977
4c92ff2c
PA
19782014-09-11 Pedro Alves <palves@redhat.com>
1979
1980 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1981 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1982 (do_command_attach_tests): Use spawn_wait_for_attach.
1983 * gdb.base/solib-overlap.exp: Likewise.
1984 * gdb.multi/multi-attach.exp: Likewise.
1985 * gdb.python/py-prompt.exp: Likewise.
1986 * gdb.python/py-sync-interp.exp: Likewise.
1987 * gdb.server/ext-attach.exp: Likewise.
1988
3adc1a7d
GKB
19892014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1990
1991 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1992 command in testcase. Simplify testcase.
1993
96334934
JB
19942014-09-10 Joel Brobecker <brobecker@adacore.com>
1995
1996 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1997
eb479039
JB
19982014-09-10 Joel Brobecker <brobecker@adacore.com>
1999
2000 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2001
deede10c
JB
20022014-09-10 Joel Brobecker <brobecker@adacore.com>
2003
2004 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2005
7828a5f5
JB
20062014-09-10 Joel Brobecker <brobecker@adacore.com>
2007
2008 * gdb.dwarf2/dynarr-ptr.c: New file.
2009 * gdb.dwarf2/dynarr-ptr.exp: New file.
2010
33aeebcf
MR
20112014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2012
2013 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2014 of 30 rather than hardcoding 120 for a slow test case. Take the
2015 `gdb,timeout' target setting into account for this calculation.
2016 Don't extend the timeout for the test cases that don't need it.
2017
7b415901
MR
20182014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2019
2020 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2021 a factor of 2 for a slow test case. Take the `gdb,timeout'
2022 target setting into account for this calculation.
2023 * gdb.reverse/until-precsave.exp: Increase the timeout by
2024 a factor of 15 and 3 respectively rather than adding 120
2025 for a pair of slow test cases. Take the `gdb,timeout'
2026 target setting into account for this calculation.
2027
4a40f85a
MR
20282014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2029
2030 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2031 timeout, don't pass one down to gdb_expect.
2032 (gdb_expect): Rework timeout selection.
2033
09635af7
MR
20342014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2035
2036 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2037 exception on timeout.
2038 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2039 (gdbserver_start_extended): Catch any `gdbserver_start' error
2040 exceptions.
2041 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2042 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2043 `gdbserver_gdb_load' error exceptions.
2044
2bdd10b7
MR
20452014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2046
2047 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2048 120 on waiting for the TCP socket to open.
2049
316935f0
DE
20502014-09-09 Doug Evans <xdje42@gmail.com>
2051
2052 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2053 _caller_matches, _any_caller_is, _any_caller_matches.
2054
83740597
DE
20552014-09-09 Doug Evans <xdje42@gmail.com>
2056
2057 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2058
4c122fc3
YQ
20592014-09-09 Yao Qi <yao@codesourcery.com>
2060
2061 * gdb.mi/mi-var-display.exp: Set print symbol off.
2062
a9f116cb
GKB
20632014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2064
2065 PR gdb/17035
2066 * gdb.base/commands.exp: Add tests to verify user-defined
2067 commands with empty bodies.
2068 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2069 python commands in `show user command`.
2070 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2071 scheme commands in `show user command`.
2072
c75bd3a2
JK
20732014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2074
2075 PR python/17355
2076 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2077 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2078 * gdb.python/py-framefilter-invalidarg.exp: New file.
2079 * gdb.python/py-framefilter-invalidarg.py: New file.
2080
faa42425
DE
20812014-09-06 Doug Evans <xdje42@gmail.com>
2082
2083 PR 15276
2084 * gdb.python/py-caller-is.c: New file.
2085 * gdb.python/py-caller-is.exp: New file.
2086
474ca4f6
SDJ
20872014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2088
2089 PR gdb/17235
2090 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2091 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2092
eb0b0463
SDJ
20932014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2094
2095 PR fortran/17237
2096 * gdb.fortran/print-formatted.exp: New file.
2097 * gdb.fortran/print-formatted.f90: Likewise.
2098
5f3b99cf
SS
20992014-09-03 Sasha Smundak <asmundak@google.com>
2100
2101 * gdb.python/py-frame.exp: Test Frame.read_register.
2102
7d793aa9
SDJ
21032014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2104
2105 PR python/16699
2106 * gdb.python/py-completion.exp: New file.
2107 * gdb.python/py-completion.py: Likewise.
2108
fb0576e9
DE
21092014-08-28 Doug Evans <dje@google.com>
2110
2111 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2112 eax,etc. are live with values set by gdb and thus the compiler can't
2113 use them.
2114 * gdb.arch/i386-pseudo.c (main): Ditto.
2115
ee92b0dd
DE
21162014-08-27 Doug Evans <dje@google.com>
2117
2118 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2119
6649db35
DE
21202014-08-25 Doug Evans <dje@google.com>
2121
2122 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2123 (main): Ditto.
2124
564b7600
DE
21252014-08-25 Doug Evans <dje@google.com>
2126
2127 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2128
3881fb67
YQ
21292014-08-24 Yao Qi <yao@codesourcery.com>
2130
2131 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2132 symbol off.
2133 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2134
a05a36a5
DE
21352014-08-22 Doug Evans <dje@google.com>
2136
2137 PR 17276
2138 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2139 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2140 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2141
7c343b48
YQ
21422014-08-22 Yao Qi <yao@codesourcery.com>
2143
2144 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2145 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2146 * gdb.python/python.exp: Likewise. Use .py file on the host
2147 instead of the build.
2148
22fd09ae
JK
21492014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2150
2151 * gdb.threads/gcore-stale-thread.c: New file.
2152 * gdb.threads/gcore-stale-thread.exp: New file.
2153
a8454a7c
PA
21542014-08-21 Pedro Alves <palves@redhat.com>
2155
2156 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2157 * gdb.base/gcore-relro-pie.exp: Likewise.
2158 * gdb.base/gcore-relro.exp: Likewise.
2159 * gdb.base/gcore.exp: Likewise.
2160 * gdb.base/print-symbol-loading.exp: Likewise.
2161 * gdb.threads/gcore-thread.exp: Likewise.
2162 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2163
2a31c623
PA
21642014-08-20 Pedro Alves <palves@redhat.com>
2165 Jan Kratochvil <jan.kratochvil@redhat.com>
2166
2167 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2168 configure.
2169 (EXPECT): Handle READ1 being set.
2170 (all): Depend on EXTRA_RULES.
2171 (check-read1, expect-read1, read1.so, read1): New rules.
2172 * README (Testsuite Parameters): Document the READ1 make variable.
2173 (Race detection): New section.
2174 * configure: Regenerate.
2175 * configure.ac: If build==host==target, and running under a
2176 GNU/glibc system, add read1 to the extra Makefile rules.
2177 (EXTRA_RULES): AC_SUBST it.
2178 * lib/read1.c: New file.
2179
d36430db
JB
21802014-08-20 Joel Brobecker <brobecker@adacore.com>
2181
2182 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2183 the handling of variables declared as a typedef to an array
2184 which a DW_AT_data_location attribute.
2185
9a0dc9e3
PA
21862014-08-19 Andrew Burgess <aburgess@broadcom.com>
2187 Pedro Alves <palves@redhat.com>
2188
2189 PR symtab/14604
2190 PR symtab/14605
2191 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2192 gdb_test.
2193
0718a8da
PA
21942014-08-19 Pedro Alves <palves@redhat.com>
2195
2196 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2197
13b448cd
YQ
21982014-08-19 Yao Qi <yao@codesourcery.com>
2199
2200 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2201 right line.
2202
1cbf5077
DB
22032014-08-18 David Blaikie <dblaikie@gmail.com>
2204
2205 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2206
bf0fae19
JB
22072014-08-18 Joel Brobecker <brobecker@adacore.com>
2208
2209 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2210 attribute in array range.
2211
3c8c5dcc
JB
22122014-08-18 Joel Brobecker <brobecker@adacore.com>
2213
2214 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2215
e66d4446
SC
22162014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2217
2218 PR c++/17132
2219 * gdb.cp/pr17132.cc: New file.
2220 * gdb.cp/pr17132.exp: New file.
2221
940df408
SC
22222014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2223
2224 * gdb.python/py-xmethods.py (A_getarrayind)
2225 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2226 Use 'print' with function call syntax.
2227 (E_method_matcher.match): Fix tab vs space indentation mixup.
2228
ebcc6c3a
YQ
22292014-08-15 Yao Qi <yao@codesourcery.com>
2230
2231 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2232 false.
2233
775e0f04
YQ
22342014-08-15 Yao Qi <yao@codesourcery.com>
2235
2236 * gdb.cp/casts.exp: Set print symbol off.
2237 * gdb.cp/class2.exp: Likewise.
2238 * gdb.cp/overload.exp: Likewise.
2239 * gdb.cp/templates.exp: Likewise.
2240
d769e349
DE
22412014-08-11 Doug Evans <dje@google.com>
2242
2243 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2244 (test_load_shlib): Update.
2245
20c6f1e1
YQ
22462014-08-09 Yao Qi <yao@codesourcery.com>
2247
2248 * gdb.base/display.exp: Invoke is_address_zero_readable.
2249 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2250 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2251 * gdb.base/hbreak-unmapped.exp: Return if
2252 is_address_zero_readable returns true.
2253 * gdb.base/signest.exp: Likewise.
2254 * gdb.base/signull.exp: Likewise.
2255 * gdb.base/sigbpt.exp: Likewise.
2256 * gdb.guile/scm-disasm.exp: Do the test if
2257 is_address_zero_readable returns false.
2258 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2259 * gdb.python/py-arch.exp: Likewise.
2260 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2261 * lib/gdb.exp (is_address_zero_readable): New proc.
2262
5792e8e3
YQ
22632014-08-09 Yao Qi <yao@codesourcery.com>
2264
2265 PR testsuite/13443
2266 * gdb.mi/mi-var-display.exp: Make test messages unique.
2267
3cecbbbe
TT
22682014-08-04 Tom Tromey <tromey@redhat.com>
2269
2270 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2271 target 0".
2272
00b51ff5
TT
22732014-08-04 Tom Tromey <tromey@redhat.com>
2274
2275 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2276 "target_resume".
2277
6908c509
JB
22782014-08-01 Joel Brobecker <brobecker@adacore.com>
2279
2280 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2281 inner_vla_struct_object_size.
2282 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2283 as xfail.
2284
cc6563d2
PA
22852014-07-30 Pedro Alves <palves@redhat.com>
2286
2287 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2288 comment.
2289
7e09a223
YQ
22902014-07-29 Yao Qi <yao@codesourcery.com>
2291
2292 PR gdb/17206
2293 * gdb.base/until-nodebug.exp: New.
2294
7ebdbe92
DE
22952014-07-28 Doug Evans <xdje42@gmail.com>
2296
2297 PR guile/17203
2298 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2299 previously existing parameter, and previously ambiguously spelled
2300 parameter.
2301
fdb1adc6
WN
23022014-07-28 Will Newton <will.newton@linaro.org>
2303
2304 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2305
186fcde0
DE
23062014-07-26 Ludovic Courtès <ludo@gnu.org>
2307 Doug Evans <xdje42@gmail.com>
2308
2309 PR guile/17146
2310 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2311
70509625
PA
23122014-07-25 Pedro Alves <palves@redhat.com>
2313
2314 * gdb.threads/signal-command-handle-nopass.c: New file.
2315 * gdb.threads/signal-command-handle-nopass.exp: New file.
2316 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2317 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2318 * gdb.threads/signal-delivered-right-thread.c: New file.
2319 * gdb.threads/signal-delivered-right-thread.exp: New file.
2320
c3f814a1
PA
23212014-07-25 Pedro Alves <palves@redhat.com>
2322
2323 * gdb.base/double-prompt-target-event-error.exp
2324 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2325 match.
2326 (cancel_pagination_in_target_event): Rework double prompt
2327 detection.
2328 * gdb.base/paginate-after-ctrl-c-running.exp
2329 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2330 <return>' match.
2331 * gdb.base/paginate-bg-execution.exp
2332 (test_bg_execution_pagination_return)
2333 (test_bg_execution_pagination_cancel): Remove '-notransfer
2334 <return>' matches.
2335 * gdb.base/paginate-execution-startup.exp
2336 (test_fg_execution_pagination_return)
2337 (test_fg_execution_pagination_cancel): Remove '-notransfer
2338 <return>' matches.
2339 * gdb.base/paginate-inferior-exit.exp
2340 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2341 match.
2342 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2343 * lib/gdb.exp (pagination_prompt): Run text through
2344 string_to_regexp.
2345 (gdb_test_multiple): Match $pagination_prompt instead of
2346 "<return>".
2347 (string_to_regexp): Move to lib/gdb-utils.exp.
2348
e214cf6c
JK
23492014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2350
2351 * gdb.arch/amd64-entry-value-paramref.S: New file.
2352 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2353 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2354 * gdb.arch/amd64-optimout-repeat.S: New file.
2355 * gdb.arch/amd64-optimout-repeat.c: New file.
2356 * gdb.arch/amd64-optimout-repeat.exp: New file.
2357
17d0c5c8
JK
23582014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2359
2360 PR gdb/17170
2361 * gdb.base/statistics.exp: New file.
2362
b8b8facf
DE
23632014-07-17 Doug Evans <dje@google.com>
2364
74b49205 2365 PR gdb/17170
b8b8facf
DE
2366 * gdb.base/maint.exp: Update testing of per-command stats.
2367
1b5d0ab3
PA
23682014-07-16 Pedro Alves <palves@redhat.com>
2369
2370 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2371 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2372 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2373 (tfile_write_buf): New functions.
2374 (add_memory_block): Rewrite using the above.
2375 (adjust_function_address): New function.
2376 (FUNCTION_ADDRESS): New macro.
2377 (write_basic_trace_file): Remove short_x local, and use
2378 tfile_write_16. Change type of func_addr local to unsigned long
2379 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2380 here. Cast argument of add_memory_block to char pointer.
2381 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2382 (main): Remove parameters.
2383 * gdb.trace/tfile.exp: Remove nowarnings.
2384
4d974e88
SM
23852014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2386
2387 * gdb.base/debug-expr.exp: Test string evaluation with
2388 "debug expression" on.
2389
41e99568
PA
23902014-07-15 Pedro Alves <palves@redhat.com>
2391
2392 * gdb.base/reread.exp: Use clean_restart.
2393
487d9753
PL
23942014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2395
2396 * gdb.arch/avr-flash-qualifer.c: New.
2397 * gdb.arch/avr-flash-qualifer.exp: New.
2398
cc1c52ad
PA
23992014-07-14 Pedro Alves <palves@redhat.com>
2400
2401 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2402 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2403
1e973570
PA
24042014-07-14 Pedro Alves <palves@redhat.com>
2405
2406 * gdb.base/double-prompt-target-event-error.c: New file.
2407 * gdb.base/double-prompt-target-event-error.exp: New file.
2408
93d6eb10
PA
24092014-07-14 Pedro Alves <palves@redhat.com>
2410
2411 PR gdb/17072
2412 * gdb.base/paginate-inferior-exit.c: New file.
2413 * gdb.base/paginate-inferior-exit.exp: New file.
2414
0017922d
PA
24152014-07-14 Pedro Alves <palves@redhat.com>
2416
2417 PR gdb/17072
2418 * gdb.base/paginate-bg-execution.c: New file.
2419 * gdb.base/paginate-bg-execution.exp: New file.
2420
94696ad3
PA
24212014-07-14 Pedro Alves <palves@redhat.com>
2422
2423 PR gdb/17072
2424 * gdb.base/paginate-execution-startup.c: New file.
2425 * gdb.base/paginate-execution-startup.exp: New file.
2426 * lib/gdb.exp (pagination_prompt): New global.
2427 (default_gdb_spawn): New procedure, factored out from
2428 default_gdb_spawn.
2429 (default_gdb_start): Adjust to call default_gdb_spawn.
2430 (gdb_spawn): New procedure.
2431
bd293940
PA
24322014-07-14 Pedro Alves <palves@redhat.com>
2433
2434 * lib/gdb.exp (gdb_assert): New procedure.
2435 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2436
c933f875
PA
24372014-07-14 Pedro Alves <palves@redhat.com>
2438
2439 * gdb.base/execution-termios.c: New file.
2440 * gdb.base/execution-termios.exp: New file.
2441
d98b7a16
TT
24422014-07-14 Tom Tromey <tromey@redhat.com>
2443
2444 * gdb.cp/vla-cxx.cc: New file.
2445 * gdb.cp/vla-cxx.exp: New file.
2446
548740d6
TT
24472014-07-14 Tom Tromey <tromey@redhat.com>
2448
2449 * gdb.reverse/rerun-prec.c: New file.
2450 * gdb.reverse/rerun-prec.exp: New file.
2451
a25eb028
MR
24522014-07-12 Maciej W. Rozycki <macro@mips.com>
2453 Maciej W. Rozycki <macro@codesourcery.com>
2454
2455 * lib/gdb-utils.exp: New file.
2456 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2457 inline `gdb_init_command' processing.
2458 (gdb_start_cmd): Likewise.
2459 * lib/mi-support.exp (mi_run_cmd): Likewise.
2460 * README: Document `gdb_init_command' and `gdb_init_commands'.
2461
218c2655
JK
24622014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2463
2464 Fix false FAIL running under a very long directory name.
2465 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2466 and "set print elements 10000". Twice.
2467
5401fde3
YQ
24682014-07-11 Yao Qi <yao@codesourcery.com>
2469
2470 * gdb.base/exprs.exp: "set print symbol off".
2471
e76126e8
PA
24722014-07-11 Pedro Alves <palves@redhat.com>
2473
2474 * gdb.threads/kill.c: New file.
2475 * gdb.threads/kill.exp: New file.
2476
2d6f0de6
YQ
24772014-07-10 Yao Qi <yao@codesourcery.com>
2478
2479 * gdb.trace/tfile.c (write_basic_trace_file)
2480 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2481 address written to trace file.
2482
7180e04a
PA
24832014-07-09 Pedro Alves <palves@redhat.com>
2484
2485 * gdb.base/attach-wait-input.exp: New file.
2486 * gdb.base/attach-wait-input.c: New file.
2487
9a9a7608
AB
24882014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2489
2490 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2491 setting up test structures.
2492 (main): Call new test function.
2493 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2494 test function, continue into test function and walk test
2495 structures.
2496
161ac41e
YQ
24972014-07-02 Yao Qi <yao@codesourcery.com>
2498
2499 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2500 'bar_start' at the beginning of functions 'foo' and 'bar'
2501 respectively.
2502 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2503 instead of 'foo' and 'bar'.
2504
1f267ae3
MM
25052014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2506
2507 * gdb.btrace/segv.exp: New.
2508 * gdb.btrace/segv.c: New.
2509
2b239efb
LM
25102014-07-02 Luis Machado <lgustavo@codesourcery.com>
2511
2512 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2513 instruction.
2514
cf363f18
MW
25152014-06-30 Mark Wielaard <mjw@redhat.com>
2516
2517 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2518 vulture, vilify, villar): New volatile array constants.
2519 (vindictive, vegetation): New const volatile array constants.
2520 * gdb.base/volatile.exp: Test volatile and const volatile array
2521 types.
2522
aebf9d24
AA
25232014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2524
2525 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2526 target lacks support for awatch, rwatch, or hbreak.
2527
b67a2c6f
YQ
25282014-06-27 Yao Qi <yao@codesourcery.com>
2529
2530 * gdb.multi/dummy-frame-restore.exp: New.
2531 * gdb.multi/dummy-frame-restore.c: New.
2532
aef92902
MM
25332014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2534
2535 * gdb.btrace/gcore.exp: New.
2536
8e9db26e
PA
25372014-06-23 Pedro Alves <palves@redhat.com>
2538
2539 * gdb.base/watchpoint-reuse-slot.c: New file.
2540 * gdb.base/watchpoint-reuse-slot.exp: New file.
2541
70afc5b7
SC
25422014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2543
2544 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2545 progspace's filename in 'info', 'enable' and 'disable' command
2546 tests.
2547
b972bd9c
JK
25482014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2549
2550 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2551 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2552 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2553
125f8a3d
GB
25542014-06-20 Gary Benson <gbenson@redhat.com>
2555
2556 * gdb.arch/i386-avx.exp: Fix include file location.
2557 * gdb.arch/i386-sse.exp: Likewise.
2558
3ed9baed
IB
25592014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2560
2561 * gdb.dlang/expression.exp: New file.
2562
034f788c
PA
25632014-06-19 Pedro Alves <palves@redhat.com>
2564
2565 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2566 out from ...
2567 (top level): ... here. Iterate running tests under different
2568 scheduler-locking settings.
2569
45371d0c
LM
25702014-06-18 Luis Machado <lgustavo@codesourcery.com>
2571
2572 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2573 to DW_FORM_addr and use non-zero addresses.
2574
5d376983
SC
25752014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2576
2577 PR gdb/17017
2578 * gdb.python/py-xmethods.cc: Add global function call counters and
2579 increment them in their respective functions. Remove "cout"
2580 statements.
2581 * gdb.python/py-xmethods.exp: Make tests check the global function
2582 call counters instead of depending on inferior IO.
2583
a1aa2221
LM
25842014-06-18 Don Breazeal <donb@codesourcery.com>
2585
2586 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2587 Deleted procedure.
2588 (explicit_fork_parent_follow): Deleted procedure.
2589 (explicit_fork_child_follow): Deleted procedure.
2590 (test_follow_fork): New procedure.
2591 (do_fork_tests): Replace calls to deleted procedures with
2592 calls to test_follow_fork and reset GDB for subsequent
2593 procedure calls.
2594
0fc05997
YQ
25952014-06-17 Yao Qi <yao@codesourcery.com>
2596
2597 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2598 CP1252.
2599
70795c52
LM
26002014-06-17 Luis Machado <lgustavo@codesourcery.com>
2601
2602 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2603 Initialize ptr and S explicitly.
2604 (skip_type_update_when_not_use_rtti_test): Likewise.
2605
6be47f0c
KS
26062014-06-16 Keith Seitz <keiths@redhat.com>
2607
2608 PR mi/15863
2609 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2610 the inferior is started.
2611
d03de421
PA
26122014-06-16 Pedro Alves <palves@redhat.com>
2613
2614 * gdb.base/break-main-file-remove-fail.c: New file.
2615 * gdb.base/break-main-file-remove-fail.exp: New file.
2616 * gdb.base/break-unload-file.exp: Use build_executable instead of
2617 prepare_for_testing.
2618 (test_break): New parameter "initial_load". Handle it.
2619 (top level): Add initial_load cmdline/file axis.
2620
f9579b99
TT
26212014-06-12 Tom Tromey <tromey@redhat.com>
2622
2623 * gdb.base/completion.exp: Don't use directory name in test.
2624
3657956b
GB
26252014-06-09 Gary Benson <gbenson@redhat.com>
2626
2627 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2628 separate the always-available ANSI-standard signals from the
2629 signals that require checking.
2630 (main): Likewise.
2631 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2632 Likewise.
2633 (main): Likewise.
2634
4186eb54
KS
26352014-06-07 Keith Seitz <keiths@redhat.com>
2636
2637 Revert:
2638 PR c++/16253
2639 * gdb.cp/var-tag.cc: New file.
2640 * gdb.cp/var-tag.exp: New file.
2641 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2642 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2643 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2644 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2645
25326a28 26462014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
2647
2648 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2649
829155c9
PA
26502014-06-06 Pedro Alves <palves@redhat.com>
2651
2652 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2653 in target debug output instead of looking at RSP packets,
2654 disabling the test on any target that uses hardware stepping.
2655 Update comments.
2656
61c8d22e
PA
26572014-06-06 Pedro Alves <palves@redhat.com>
2658
2659 * gdb.base/break-unload-file.exp: Fix typo.
2660
d9a47287
YQ
26612014-06-06 Yao Qi <yao@codesourcery.com>
2662
2663 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2664 from "jit_function" to "^jit_function".
2665
e5e01dbf
YQ
26662014-06-06 Yao Qi <yao@codesourcery.com>
2667
2668 * gdb.base/async.c (foo): Add one statement.
2669 * gdb.base/async.exp: Get the next instruction address and
2670 match the output of "nexti" by instruction address. Match
2671 the hex address in the output of "finish".
2672
73ba372c
GB
26732014-06-06 Gary Benson <gbenson@redhat.com>
2674
2675 * gdb.base/call-signals.c: Remove preprocessor conditionals
2676 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2677 SIGSEGV and SIGTERM.
2678 * gdb.base/sigall.c: Likewise.
2679 * gdb.base/unwindonsignal.c: Likewise.
2680 * gdb.reverse/sigall-reverse.c: Likewise.
2681
831517df
YQ
26822014-06-06 Yao Qi <yao@codesourcery.com>
2683
2684 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2685 readable, skip the test.
2686
b8b91e98
YQ
26872014-06-06 Yao Qi <yao@codesourcery.com>
2688
2689 * gdb.threads/staticthreads.c (thread_function): Move the line
2690 setting breakpoint on forward.
2691 * gdb.threads/staticthreads.exp: Update comments.
2692
fb934770
LC
26932014-06-05 Ludovic Courtès <ludo@gnu.org>
2694
2695 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2696 "history-append! type error".
2697
6ef284bd
SM
26982014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2699
2700 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2701 erroneous dprintf expected input.
2702
a872e241
DE
27032014-06-04 Doug Evans <xdje42@gmail.com>
2704
2705 * gdb.guile/scm-generics.exp: Delete.
2706
16f691fb
DE
27072014-06-04 Doug Evans <xdje42@gmail.com>
2708
2709 * gdb.guile/scm-breakpoint.exp: Update.
2710 Add tests for breakpoint registration.
2711
012370f6
TT
27122014-06-04 Tom Tromey <tromey@redhat.com>
2713
2714 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2715 VLA-in-union.
2716 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2717 inner_vla_struct, vla_union types. Initialize objects of those
2718 types and compute their sizes.
2719
9f5a4cef
HZ
27202014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2721 Hui Zhu <hui@codesourcery.com>
2722
2723 * gdb.base/fileio.exp: Add test for shell not available as well as
2724 available.
2725 * gdb.base/fileio.c (test_system): Check for shell twice.
2726
90a45c4d
YQ
27272014-06-04 Yao Qi <yao@codesourcery.com>
2728
2729 * gdb.base/auto-connect-native-target.exp: Remove redundant
2730 space from the regexp pattern.
2731
70017e41
YQ
27322014-06-04 Yao Qi <yao@codesourcery.com>
2733
2734 * gdb.base/default.exp: Replace "child" with "native" in
2735 regexp pattern.
2736
883964a7
SC
27372014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2738
2739 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2740 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2741 * gdb.python/py-xmethods.py: Python script supporting the
2742 new testcase and tests.
2743
ef370185
JB
27442014-06-03 Joel Brobecker <brobecker@adacore.com>
2745 Pedro Alves <palves@redhat.com>
2746
2747 PR breakpoints/17000
2748 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2749 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2750
1e2ccb61
BM
27512014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2752
2753 * gdb.base/subst.exp: Add tests to verify partial path matching
2754 output.
2755
c6ec5ab2
PA
27562014-06-03 Pedro Alves <palves@redhat.com>
2757
2758 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2759 target that doesn't use software single-stepping.
2760
835c559f
PA
27612014-06-03 Pedro Alves <palves@redhat.com>
2762
2763 PR breakpoints/17000
2764 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2765 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2766
06eb1586
DE
27672014-06-02 Doug Evans <xdje42@gmail.com>
2768
2769 * gdb.guile/scm-parameter.exp: New file.
2770
e698b8c4
DE
27712014-06-02 Doug Evans <xdje42@gmail.com>
2772
2773 * gdb.guile/scm-cmd.c: New file.
2774 * gdb.guile/scm-cmd.exp: New file.
2775
ded03782
DE
27762014-06-02 Doug Evans <xdje42@gmail.com>
2777
2778 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2779 pretty-printer lookup.
2780 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2781 (make-pp_s-printer): Call it.
2782 (make-pretty-printer-from-dict): New function.
2783 (lookup-pretty-printer-maker-from-dict): New function.
2784 (*pretty-printer*): Simplify.
2785 (make-objfile-pp_s-printer): New function.
2786 (install-objfile-pretty-printers!): New function.
2787 (make-progspace-pp_s-printer): New function.
2788 (install-progspace-pretty-printers!): New function.
2789 * gdb.guile/scm-progspace.c: New file.
2790 * gdb.guile/scm-progspace.exp: New file.
2791
41fac0cf
PA
27922014-06-02 Pedro Alves <palves@redhat.com>
2793
2794 * gdb.base/dprintf-bp-same-addr.c: New file.
2795 * gdb.base/dprintf-bp-same-addr.exp: New file.
2796
96ae5695
EBM
27972014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2798
2799 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2800 * gdb.arch/powerpc-power.s: Likewise.
2801
da02b3a8
JB
28022014-06-02 Joel Brobecker <brobecker@adacore.com>
2803
2804 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2805
c72b2e7b
YQ
28062014-06-01 Yao Qi <yao@codesourcery.com>
2807
2808 * gdb.base/watchpoint.exp (test_watch_location): Check null
2809 pointer can be dereferenced. If not, do the test, otherwise
2810 skip it.
2811
53e8a631
AB
28122014-05-30 Andrew Burgess <aburgess@broadcom.com>
2813
2814 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2815 results.
2816 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2817
938f0e2f
AB
28182014-05-30 Andrew Burgess <aburgess@broadcom.com>
2819
2820 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2821 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2822 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2823 * gdb.arch/amd64-invalid-stack-top.c: New file.
2824 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2825
9ba6657a
PA
28262014-05-30 Pedro Alves <palves@redhat.com>
2827
2828 PR breakpoints/17000
2829 * gdb.base/sss-bp-on-user-bp.c: New file.
2830 * gdb.base/sss-bp-on-user-bp.exp: New file.
2831
522c09bf
DB
28322014-05-30 David Blaikie <dblaikie@gmail.com>
2833
2834 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2835 gnu_inline semantics via attribute.
2836 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2837 source explicitly specifies the required semantics.
2838
bf4ef81e
MR
28392014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2840
2841 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2842
329ea579
PA
28432014-05-29 Pedro Alves <palves@redhat.com>
2844 Tom Tromey <tromey@redhat.com>
2845
2846 * gdb.base/async-shell.exp: Don't enable target-async.
2847 * gdb.base/async.exp
2848 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2849 parameter. Adjust.
2850 (top level): Don't test with "target-async".
2851 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2852 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2853 * gdb.base/inferior-died.exp: Don't enable target-async.
2854 * gdb.base/interrupt-noterm.exp: Likewise.
2855 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2856 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2857 * gdb.mi/mi-nonstop.exp: Likewise.
2858 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2859 * gdb.mi/mi-nsintrall.exp: Likewise.
2860 * gdb.mi/mi-nsmoribund.exp: Likewise.
2861 * gdb.mi/mi-nsthrexec.exp: Likewise.
2862 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2863 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2864 * gdb.python/py-evsignal.exp: Don't enable target-async.
2865 * gdb.python/py-evthreads.exp: Likewise.
2866 * gdb.python/py-prompt.exp: Likewise.
2867 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2868 * gdb.server/solib-list.exp: Don't enable target-async.
2869 * gdb.threads/thread-specific-bp.exp: Likewise.
2870 * lib/mi-support.exp: Adjust to use mi-async.
2871
fd664c91
PA
28722014-05-29 Pedro Alves <palves@redhat.com>
2873
2874 PR gdb/13860
2875 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2876 reason, even in sync mode.
2877
251bde03
PA
28782014-05-29 Pedro Alves <palves@redhat.com>
2879 Hui Zhu <hui@codesourcery.com>
2880
2881 PR PR15693
2882 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2883 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2884 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2885 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2886
7f3c0343
JB
28872014-05-28 Joel Brobecker <brobecker@adacore.com>
2888
2889 * config/monitor.exp (gdb_target_monitor): Replace use of
2890 "set remotebaud" by "set serial baud".
2891
b2715b27
AW
28922014-05-26 Andy Wingo <wingo@igalia.com>
2893
2894 * gdb.guile/scm-breakpoint.exp:
2895 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2896 properties instead of gdb-object-properties.
2897
498a4489
YQ
28982014-05-26 Yao Qi <yao@codesourcery.com>
2899
2900 * gdb.server/no-thread-db.exp: Specify source file name
2901 explicitly when setting a breakpoint.
2902
589fdceb
MM
29032014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2904
2905 * gdb.btrace/vdso.c: New.
2906 * gdb.btrace/vdso.exp: New.
2907
e9089e05
MM
29082014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2909
2910 * gdb.base/gcore.exp (capture_command_output): Move ...
2911 * lib/gdb.exp (capture_command_output): ... here.
2912
67b5c0c1
MM
29132014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2914
2915 * gdb.btrace/data.exp: Test memory access during btrace replay.
2916
a2199296
SM
29172014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2918
2919 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2920
17b2616c
PA
29212014-05-21 Pedro Alves <palves@redhat.com>
2922
2923 PR gdb/13860
2924 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2925 (top level): Test that output related to execution commands is
2926 sent to the console with CLI commands, but not with MI commands.
2927 Test that breakpoint events are always mirrored to the console.
2928 Also expect the new source line to be output after a "next" in
2929 async mode too. Make it a pass/fail test.
2930 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2931 output.
2932 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2933
5166082f
PA
29342014-05-21 Pedro Alves <palves@redhat.com>
2935
2936 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2937 Use them to test variations of "list" after reaching a breakpoint.
2938 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2939 Test "list" with listsize 10 after reaching a breakpoint.
2940 * gdb.python/python.exp (decode_line current location line
2941 number): Adjust expected line number.
2942
2f25d70f
SM
29432014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2944
2945 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2946 behavior for $args, pass it directly to "run".
2947
ff604a67
MR
29482014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2949
2950 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2951 30000 to 65536.
2952
6a3cb8e8
PA
29532014-05-21 Pedro Alves <palves@redhat.com>
2954
2955 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2956 auto-connect-native-target off".
2957 * gdb.base/auto-connect-native-target.c: New file.
2958 * gdb.base/auto-connect-native-target.exp: New file.
2959
4ebfc96e
PA
29602014-05-21 Pedro Alves <palves@redhat.com>
2961
2962 * gdb.base/default.exp: Test "target native" instead of "target
2963 child".
2964
36d46afb
MW
29652014-05-21 Mark Wielaard <mjw@redhat.com>
2966
2967 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2968
5876f503
JK
29692014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2970
2971 Fix TLS access for -static -pthread.
2972 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2973 <HAVE_TLS> (thread_function, main): Initialize it.
2974 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2975 Add clean_restart.
2976 <$have_tls != "">: Check TLSVAR.
2977
0256a6ac
PA
29782014-05-21 Pedro Alves <palves@redhat.com>
2979
2980 * gdb.base/dcache-line-read-error.c: New.
2981 * gdb.base/dcache-line-read-error.exp: New.
2982
936d2992
PA
29832014-05-20 Pedro Alves <palves@redhat.com>
2984
2985 * gdb.base/compare-sections.c: New file.
2986 * gdb.base/compare-sections.exp: New file.
2987
802e8e6d
PA
29882014-05-20 Pedro Alves <palves@redhat.com>
2989
2990 * gdb.base/break-idempotent.c: New file.
2991 * gdb.base/break-idempotent.exp: New file.
2992
e59fa00f
MM
29932014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2994
2995 * gdb.btrace/nohist.exp: New.
2996
8b696e31
YQ
29972014-05-20 Yao Qi <yao@codesourcery.com>
2998
2999 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3000 gdb.reverse directory and gdb_reverse_timeout exists in board
3001 setting.
3002 * README: Document gdb_reverse_timeout.
3003
73c9764f
YQ
30042014-05-20 Yao Qi <yao@codesourcery.com>
3005
3006 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3007 'test_file_name'. Treat args as a string instead of a list.
3008 (gdb_init): Rename argument 'args' by 'test_file_name'.
3009
f1f4348a
JK
30102014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3011
3012 * gdb.arch/powerpc-power.exp: New file.
3013 * gdb.arch/powerpc-power.s: New file.
3014
0dbe70ce
DE
30152014-05-16 Doug Evans <dje@google.com>
3016
3017 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3018 * gdb.base/completion.exp: Check that all expected files exist
3019 before doing file completion.
0dbe70ce 3020
8d551b02
DE
30212014-05-16 Doug Evans <dje@google.com>
3022
3023 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3024 Update.
3025 (do_syscall_tests_without_xml): Update.
3026
73eb7709
PA
30272014-05-16 Pedro Alves <palves@redhat.com>
3028
3029 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3030 instead of "unknown output after running".
3031
3fae92fc
YQ
30322014-05-16 Yao Qi <yao@codesourcery.com>
3033
3034 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3035 file1.txt from host at the end.
3036 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3037
c2b2ccc5
DE
30382014-05-15 Doug Evans <dje@google.com>
3039
3040 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3041 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3042 loading file. Add test for TU lookup.
3043
8c217a4b
SM
30442014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3045
3046 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3047 calling "-exec-arguments" or "set args" before running the
3048 inferior.
3049
3deb39c6
SM
30502014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3051
3052 * lib/mi-support.exp (mi_expect_stop): Expect message for
3053 inferiors that exit with non-zero exit code.
3054
71a79f8c
YQ
30552014-05-14 Yao Qi <yao@codesourcery.com>
3056
3057 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3058 match absolute path on remote host.
3059 (test_file_list_exec_source_files): Remove "/" from the
3060 pattern.
3061
f23fcd46
YQ
30622014-05-14 Yao Qi <yao@codesourcery.com>
3063
3064 * boards/local-remote-host-notty.exp (${board}_file): New
3065 proc.
3066
9404b58f
KM
30672014-05-07 Kyle McMartin <kyle@redhat.com>
3068
3069 Pushed by Joel Brobecker <brobecker@adacore.com>.
3070 * gdb.arch/aarch64-atomic-inst.c: New file.
3071 * gdb.arch/aarch64-atomic-inst.exp: New file.
3072
5e45f04c
YQ
30732014-05-07 Yao Qi <yao@codesourcery.com>
3074
3075 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3076 in current context" too.
3077
c888a17d
KS
30782014-05-05 Keith Seitz <keiths@redhat.com>
3079
3080 * gdb.linespec/ls-dollar.exp: Add test for linespec
3081 file:convenience_variable.
3082
290a839c
YQ
30832014-05-05 Yao Qi <yao@codesourcery.com>
3084
3085 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3086 traceframes into tfile and ctf trace files. Read data from
3087 trace file and test collected data.
3088 (gdb_collect_locals_test): Likewise.
3089 (gdb_unavailable_registers_test): Likewise.
3090 (gdb_unavailable_floats): Likewise.
3091 (gdb_collect_globals_test): Likewise.
3092 (top-level): Append "ctf" to trace_file_targets if GDB
3093 supports.
3094
b5262cd0
YQ
30952014-05-05 Yao Qi <yao@codesourcery.com>
3096
3097 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3098 code to ...
3099 (gdb_collect_args_test_1): ... it. New proc.
3100 (gdb_collect_locals_test): Move some code to ...
3101 (gdb_collect_locals_test_1): ... it. New proc.
3102 (gdb_unavailable_registers_test): Move some code to ...
3103 (gdb_unavailable_registers_test_1): ... it. New proc.
3104 (gdb_unavailable_floats): Move some code to ...
3105 (gdb_unavailable_floats_1): ... it. New proc.
3106
30a1e6cc
SDJ
31072014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3108
3109 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3110 probes to test for bitness recognition.
3111 * gdb.arch/amd64-stap-optional-prefix.exp
3112 (test_probe_value_without_reg): New procedure.
3113 Add code to test for different kinds of bitness.
3114
f33da99a
SDJ
31152014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3116
3117 PR breakpoints/16889
3118 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3119 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3120
5b80f00d
PA
31212014-05-01 Pedro Alves <palves@redhat.com>
3122
3123 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3124 gdb_file_cmd if no file is specified.
3125 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3126 last_loaded_file to set the remote exec-file.
3127
f8c2a73c
PA
31282014-05-01 Pedro Alves <palves@redhat.com>
3129
3130 * boards/local-remote-host.exp: New file.
3131
be6e8ac7
PA
31322014-05-01 Pedro Alves <palves@redhat.com>
3133
3134 * boards/local-remote-host.exp: Rename to ...
3135 * boards/local-remote-host-notty.exp: ... this.
3136
cac0dc8f
JB
31372014-04-28 Joel Brobecker <brobecker@adacore.com>
3138
3139 * gdb.ada/dyn_arrayidx: New testcase.
3140
9730e6cc
YQ
31412014-04-26 Yao Qi <yao@codesourcery.com>
3142
3143 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3144 and compute the length of function main. Save it in
3145 $main_length.
3146 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3147 (top-level): Use gdb_compile to compile objects into
3148 executable and restart GDB. Remove invocation to
3149 prepare_for_testing.
3150
7ae1a6a6
PA
31512014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3152 Pedro Alves <palves@redhat.com>
3153
3154 PR server/16255
3155 * gdb.multi/multi-attach.c: New file.
3156 * gdb.multi/multi-attach.exp: New file.
3157
4082afcc
PA
31582014-04-25 Pedro Alves <palves@redhat.com>
3159
3160 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3161 user.
3162 (top level): Test that "set remote conditional-breakpoints-packet
3163 off" works as intended.
3164 * gdb.base/dprintf.exp: Test that "set remote
3165 breakpoint-commands-packet off" works as intended.
3166 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3167 New function.
3168 (top level): Call it.
3169 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3170 remote fast-tracepoints-packet off" works as intended.
3171 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3172 * lib/gdb.exp (gdb_is_target_remote): ... here.
3173
2abc3f8d
DB
31742014-04-24 David Blaikie <dblaikie@gmail.com>
3175
3176 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3177 ensure clang would not discard them.
3178 * gdb.base/gdbvars.c: Ditto.
3179 * gdb.base/memattr.c: Ditto.
3180 * gdb.base/whatis.c: Ditto.
3181 * gdb.python/py-prettyprint.c: Ditto.
3182 * gdb.trace/actions.c: Ditto.
3183 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3184 ensure clang would not discard it.
3185
bfd39632
DB
31862014-04-24 David Blaikie <dblaikie@gmail.com>
3187
3188 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3189 clang to emit the full definition of type required by the test
3190 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3191
22842ff6
DB
31922014-04-24 David Blaikie <dblaikie@gmail.com>
3193
3194 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3195 coax Clang into emitting the definition of the type.
3196 * gdb.cp/pr10728-x.h (y): Ditto.
3197 * gdb.cp/pr10728-y.cc (y): Ditto.
3198
c2e827ad
DB
31992014-04-24 David Blaikie <dblaikie@gmail.com>
3200
3201 * gdb.base/label.exp: XFAIL label related tests under Clang.
3202 * gdb.cp/cplabel.exp: Ditto.
3203 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3204 under Clang those using labels.
3205
4c2d33e7
YQ
32062014-04-25 Yao Qi <yao@codesourcery.com>
3207
3208 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3209 double_label.
3210 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3211 partial_label and double_label.
3212
56083b99
DB
32132014-04-24 David Blaikie <dblaikie@gmail.com>
3214
3215 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3216
25d4e99d
DB
32172014-04-24 David Blaikie <dblaikie@gmail.com>
3218
3219 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3220 of the function to work across GCC and Clang.
3221 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3222 pointer types (const void ** const V void **).
3223
01f9f808
MS
32242014-04-24 Michael Sturm <michael.sturm@mintel.com>
3225 Walfred Tedeschi <walfred.tedeschi@intel.com>
3226
3227 * Makefile.in (EXECUTABLES): Added i386-avx512.
3228 * gdb.arch/i386-avx512.c: New file.
3229 * gdb.arch/i386-avx512.exp: Likewise.
3230
4b48d439
KS
32312014-04-23 Keith Seitz <keiths@redhat.com>
3232
3233 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3234 (mi_make_breakpoint_table): New procedure.
3235 (mi_create_breakpoint): Use mi_make_breakpoint
3236 and return the result.
3237 (mi_make_breakpoint): New procedure.
3238 (mi_build_kv_pairs): New procedure.
3239
3240 * gdb.mi/mi-break.exp: Remove unused globals,
3241 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3242 All callers updated.
3243 * gdb.mi/mi-dprintf.exp: Use variable to track command
3244 number.
3245 Update all callers of mi_create_breakpoint and use
3246 mi_make_breakpoint_table.
3247 Remove any unused global variables.
3248 * gdb.mi/mi-nonstop.exp: Likewise.
3249 * gdb.mi/mi-nsintrall.exp: Likewise.
3250 * gdb.mi/mi-nsmoribund.exp: Likewise.
3251 * gdb.mi/mi-nsthrexec.exp: Likewise.
3252 * gdb.mi/mi-reverse.exp: Likewise.
3253 * gdb.mi/mi-simplerun.exp: Likewise.
3254 * gdb.mi/mi-stepn.exp: Likewise.
3255 * gdb.mi/mi-syn-frame.exp: Likewise.
3256 * gdb.mi/mi-until.exp: Likewise.
3257 * gdb.mi/mi-var-cp.exp: Likewise.
3258 * gdb.mi/mi-var-display.exp: Likewise.
3259 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3260 * gdb.mi/mi2-var-child.exp: Likewise.
3261 * gdb.mi/mi-vla-c99.exp: Likewise.
3262 * lib/mi-support.exp: Likewise.
3263
3264 From Ian Lance Taylor <iant@cygnus.com>:
3265 * lib/gdb.exp (parse_args): New procedure.
3266
08351840
PA
32672014-04-23 Pedro Alves <palves@redhat.com>
3268
3269 * gdb.base/break-unload-file.c: New file.
3270 * gdb.base/break-unload-file.exp: New file.
3271 * gdb.base/sym-file-lib.c (baz): New function.
3272 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3273 field.
3274 (load): Store the segment's mapped size.
3275 (unload): New function.
3276 (unload_shlib): New function.
3277 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3278 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3279 set a breakpoint at baz, and call it.
3280 * gdb.base/sym-file.exp: New tests for stale breakpoint
3281 instructions.
3282
076855f9
PA
32832014-04-23 Pedro Alves <palves@redhat.com>
3284
3285 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3286 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3287 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3288 * gdb.base/hbreak-unmapped.c: New file.
3289 * gdb.base/hbreak-unmapped.exp: New file.
3290 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3291 * lib/gdb.exp (gdb_is_target_remote): ... here.
3292
483805cf
PA
32932014-04-22 Pedro Alves <palves@redhat.com>
3294
3295 * gdb.base/consecutive-step-over.c: New file.
3296 * gdb.base/consecutive-step-over.exp: New file.
3297
06d97543
PA
32982014-04-22 Pedro Alves <palves@redhat.com>
3299
3300 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3301 instead of send_gdb/gdb_expect.
3302
b4429ea2
YQ
33032014-04-22 Yao Qi <yao@codesourcery.com>
3304
3305 * lib/trace-support.exp (generate_tracefile): New procedure.
3306 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3307 return 0.
3308 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3309 if generate_tracefile returns 1.
3310
51d48146
PA
33112014-04-18 Tom Tromey <palves@redhat.com>
3312 Pedro alves <tromey@redhat.com>
3313
3314 PR backtrace/15558
3315 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3316 with a backtrace limit.
3317 * gdb.python/py-frame-inline.exp: Test running to an inline
3318 function with a backtrace limit, and printing the newest frame.
3319 * gdb.python/py-frame-inline.c (main): Call f.
3320
bd1dce5f
MS
33212014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3322
3323 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3324
40d1a503
MS
33252014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3326
3327 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3328 Drop prefix from unsupported source file path.
3329
389b98f7
YQ
33302014-04-17 Yao Qi <yao@codesourcery.com>
3331
3332 * lib/gdb.exp (with_target_charset): New proc.
3333 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3334 with_target_charset.
3335 (test_print_strings): Likewise.
3336 (test_repeat_bytes): Likewise.
3337 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3338 for some tests.
3339
22869d73
KS
33402014-04-16 Keith Seitz <keiths@redhat.com>
3341
3342 PR gdb/15827
3343 * gdb.dwarf2/corrupt.c: New file.
3344 * gdb.dwarf2/corrupt.exp: New file.
3345
c4f87ca6
KS
33462014-04-16 Keith Seitz <keiths@redhat.com>
3347
3348 PR c++/16597
3349 * gdb.cp/namelessclass.cc: New file.
3350 * gdb.cp/namelessclass.exp: New file.
3351 * gdb.cp/namelessclass.S: New file.
3352
ab19de87
DE
33532014-04-16 Doug Evans <dje@google.com>
3354
3355 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3356 Add comment.
3357 (gdbserver_default_get_comm_port): New function.
3358 (gdbserver_start): Check if board file provided
3359 "gdbserver,get_comm_port" and use it if so.
3360 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3361 (gdb,socketport): Set to "stdio".
3362 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3363 (stdio_gdbserver_template): Delete.
3364 (${board}_get_remote_address): Update.
3365 (${board}_build_remote_cmd): Delete.
3366 (${board}_get_comm_port): New function.
3367 (${board}_spawn): Update.
3368 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3369 Delete.
3370 (${board}_get_remote_address): Update.
3371 (${board}_get_comm_port): New function.
3372
fc98a809
AB
33732014-04-16 Andrew Burgess <aburgess@broadcom.com>
3374
3375 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3376 appearing in any order.
3377
87fd9e6e
DE
33782014-04-15 Doug Evans <dje@google.com>
3379
3380 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3381 uninitialized value of "description".
3382
099fc3ea
KS
33832014-04-15 Keith Seitz <keiths@redhat.com>
3384
3385 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3386 Remove unused globals.
3387 (test_running_the_program): Likewise.
3388 (test_controlled_execution): Likewise.
3389 (test_controlling_breakpoints): Likewise.
3390 (test_program_termination): Likewise.
3391
5da151d4
KS
33922014-04-15 Keith Seitz <keiths@redhat.com>
3393
3394 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3395 unused globals.
3396 (test_rbreak_creation_and_listing): Likewise.
3397 (test_ignore_count): Likewise.
3398 (test_error): Likewise.
3399
35e5d2f0
PA
34002014-04-15 Pedro Alves <palves@redhat.com>
3401
3402 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3403 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3404 sym-file-loader.c.
3405 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3406 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3407 to sym-file-loader.c.
3408 (struct library): Forward declare.
3409 (load_shlib, lookup_function): Change prototypes.
3410 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3411 (translate_offset): Remove declarations.
3412 (get_text_addr): New declaration.
3413 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3414 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3415 sym-file-loader.h.
3416 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3417 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3418 here from sym-file-loader.h.
3419 (struct library): New structure.
3420 (load_shlib, lookup_function): Change prototypes and adjust to
3421 work with a struct library.
3422 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3423 (translate_offset): Make static.
3424 (get_text_addr): New function.
3425 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3426
eb4c1710
PA
34272014-04-15 Pedro Alves <palves@redhat.com>
3428
3429 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3430
2d1baf52
PA
34312014-04-15 Pedro Alves <palves@redhat.com>
3432
3433 * gdb.base/sym-file-loader.c: Include <limits.h>.
3434 (SELF_LINK): New define.
3435 (get_origin): New function.
3436 (load_shlib): Use it.
3437 * gdb.base/sym-file.exp: Don't early return if the target is
3438 remote. Use runto_main, and issue fail is that fails. Use
3439 gdb_load_shlibs.
3440 (shlib_name): Delete.
3441 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3442
7dd6df01
PA
34432014-04-15 Pedro Alves <palves@redhat.com>
3444
3445 * gdb.base/sym-file.exp: Remove regex characters from test
3446 message. Don't refer to breakpoint numbers in test messages.
3447
b50c8614
KS
34482014-04-14 Keith Seitz <keiths@redhat.com>
3449
3450 PR c++/16253
3451 * gdb.cp/var-tag.cc: New file.
3452 * gdb.cp/var-tag.exp: New file.
3453 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3454 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3455 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3456 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3457
3d567982
TT
34582014-04-14 Tom Tromey <tromey@redhat.com>
3459
3460 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3461 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3462 type.
3463 * gdb.cp/enum-class.exp: New file.
3464 * gdb.cp/enum-class.cc: New file.
3465
0626fc76
TT
34662014-04-14 Tom Tromey <tromey@redhat.com>
3467
3468 * gdb.dwarf2/enum-type.exp: New file.
3469
dca325b3
SA
34702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3471
3472 * gdb.mi/mi-vla-c99.exp: New file.
3473 * gdb.mi/vla.c: New file.
3474
5854b38a
SA
34752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3476
3477 * gdb.base/vla-datatypes.c: New file.
3478 * gdb.base/vla-datatypes.exp: New file.
3479
463bb957
SA
34802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3481
3482 * gdb.base/vla-ptr.c: New file.
3483 * gdb.base/vla-ptr.exp: New file.
3484
3dd170be
SA
34852014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3486
3487 * gdb.dwarf2/count.exp: New file.
3488
5ecaaa66
SA
34892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3490
3491 * gdb.base/vla-sideeffect.c: New file.
3492 * gdb.base/vla-sideeffect.exp: New file.
3493
41f1ada5
DB
34942014-04-14 David Blaikie <dblaikie@gmail.com>
3495
3496 * gdb.mi/non-stop.c: Add return value for non-void function return
3497 statement.
3498 * gdb.threads/staticthreads.c: Ditto.
3499
0be03e84
DE
35002014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3501 Doug Evans <xdje42@gmail.com>
3502
3503 * gdb.guile/scm-value.c: Improve test case.
3504 * gdb.guile/scm-value.exp: Add new test.
3505
f180a1fb
DB
35062014-04-11 David Blaikie <dblaikie@gmail.com>
3507
3508 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3509 override Clang's default.
3510
6b662e19
JB
35112014-04-11 Joel Brobecker <brobecker@adacore.com>
3512
3513 Revert the following changes (regressions):
3514
3515 * gdb.base/vla-sideeffect.c: New file.
3516 * gdb.base/vla-sideeffect.exp: New file.
3517
3518 * gdb.dwarf2/count.exp: New file.
3519
3520 * gdb.base/vla-multi.c: New file.
3521 * gdb.base/vla-multi.exp: New file.
3522
3523 * gdb.base/vla-ptr.c: New file.
3524 * gdb.base/vla-ptr.exp: New file.
3525
3526 * gdb.base/vla-datatypes.c: New file.
3527 * gdb.base/vla-datatypes.exp: New file.
3528
3529 * gdb.mi/mi-vla-c99.exp: New file.
3530 * gdb.mi/vla.c: New file.
3531
245a5f0b
KS
35322014-04-11 Keith Seitz <keiths@redhat.com>
3533
3534 PR c++/16675
3535 * gdb.cp/cpsizeof.exp: New file.
3536 * gdb.cp/cpsizeof.cc: New file.
3537
58a84dcf
SA
35382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3539
191a8a90
JB
3540 * gdb.mi/mi-vla-c99.exp: New file.
3541 * gdb.mi/vla.c: New file.
58a84dcf 3542
c8655f75
SA
35432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3544
3545 * gdb.base/vla-datatypes.c: New file.
3546 * gdb.base/vla-datatypes.exp: New file.
3547
024e13b4
SA
35482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3549
3550 * gdb.base/vla-ptr.c: New file.
3551 * gdb.base/vla-ptr.exp: New file.
3552
1a237e0e
SA
35532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3554
3555 * gdb.base/vla-multi.c: New file.
3556 * gdb.base/vla-multi.exp: New file.
3557
504f3432
SA
35582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3559
3560 * gdb.dwarf2/count.exp: New file.
3561
3bce8237
SA
35622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3563
191a8a90
JB
3564 * gdb.base/vla-sideeffect.c: New file.
3565 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 3566
322f9c21
YQ
35672014-04-11 Yao Qi <yao@codesourcery.com>
3568
3569 * gdb.base/completion.exp: Check file exists before running tests
3570 on file completion.
3571
d708bcd1
PA
35722014-04-10 Pedro Alves <palves@redhat.com>
3573
3574 * gdb.base/cond-eval-mode.c: New file.
3575 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3576 prepare_for_testing to build the new file. Check result of
3577 runto_main.
3578 (test_break, test_watch): New procedures.
3579 (top level): Use them.
3580
ae1d2761
PM
35812014-04-08 Pierre Muller <muller@sourceware.org>
3582
3583 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3584 Ctrl-V use for mingw hosts.
3585
7af389b8
SC
35862014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3587
3588 * gdb.python/py-value.c: Improve test case.
3589 * gdb.python/py-value.exp: Add new test.
3590
5e703181
DE
35912014-04-07 David Blaikie <dblaikie@gmail.com>
3592
3593 * lib/compiler.c: Identify the clang compiler.
3594 * lib/compiler.cc: Ditto.
3595
9810b410
YQ
35962014-04-03 Yao Qi <yao@codesourcery.com>
3597
3598 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3599
98d1b8dc
AB
36002014-04-01 Anton Blanchard <anton@samba.org>
3601
3602 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3603 messages unique.
3604
3114cea1
AB
36052014-04-01 Anton Blanchard <anton@samba.org>
3606
3607 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3608 prepare_for_testing.
3609
62f7182c
AB
36102014-04-01 Anton Blanchard <anton@samba.org>
3611
3612 * gdb.arch/ppc64-atomic-inst.c: Remove.
3613 * gdb.arch/ppc64-atomic-inst.S: New file.
3614 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3615
770e7fc7
DE
36162014-03-31 Doug Evans <dje@google.com>
3617
3618 * gdb.base/print-symbol-loading-lib.c: New file.
3619 * gdb.base/print-symbol-loading-main.c: New file.
3620 * gdb.base/print-symbol-loading.exp: New file.
3621
46e2bafa
YQ
36222014-03-31 Yao Qi <yao@codesourcery.com>
3623
3624 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3625
8776cfe9
JB
36262014-03-28 Joel Brobecker <brobecker@adacore.com>
3627
3628 * gdb.ada/mi_dyn_arr: New testcase.
3629
5d1ef361
DE
36302014-03-27 Doug Evans <dje@google.com>
3631
3632 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3633
b5bee914
YQ
36342014-03-27 Yao Qi <yao@codesourcery.com>
3635
3636 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3637 if target is nios2-*-*.
3638
0d4d0e77
YQ
36392014-03-26 Yao Qi <yao@codesourcery.com>
3640
3641 * lib/gdb.exp (readline_is_used): New proc.
3642 * gdb.base/completion.exp: Move tests on command complete up.
3643 Skip the rest of tests if readline is not used.
3644 * gdb.ada/complete.exp: Skp the test if readline is not
3645 used.
3646 * gdb.base/filesym.exp: Likewise.
3647 * gdb.base/macscp.exp: Likewise.
3648 * gdb.base/readline-ask.exp: Likewise.
3649 * gdb.base/readline.exp: Likewise.
3650 * gdb.python/py-cmd.exp: Likewise.
3651 * gdb.trace/tfile.exp: Likewise.
3652
29361eee
YQ
36532014-03-26 Yao Qi <yao@codesourcery.com>
3654
3655 * gdb.base/macscp.exp: Fix code format issues.
3656
bc9a5525
UW
36572014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3658
3659 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3660 * gdb.asm/powerpc64le.inc: New file.
3661
d3839ede
PA
36622014-03-25 Pedro Alves <palves@redhat.com>
3663 Doug Evans <dje@google.com>
3664
3665 * gdb.base/source-execution.c: New file.
3666 * gdb.base/source-execution.exp: New file.
3667 * gdb.base/source-execution.gdb: New file.
3668
01672a57
DE
36692014-03-24 Doug Evans <dje@google.com>
3670
3671 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3672 using fission.
3673
88bbeca9
HZ
36742014-03-24 Hui Zhu <hui@codesourcery.com>
3675 Pedro Alves <palves@redhat.com>
3676
3677 PR breakpoints/16101
3678 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3679 test pass/fail messages. Detect missing support for dprintf when
3680 breakpoints are actually inserted.
3681 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3682 breakpoints are actually inserted.
3683 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3684 fails.
3685
d2348791
JK
36862014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3687
3688 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3689
feef67ab
DE
36902014-03-22 Doug Evans <xdje42@gmail.com>
3691
3692 * gdb.python/python.exp (python not supported): Verify multi-line
3693 python command issues an error.
25d743f9 3694 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 3695 guile command issues an error.
feef67ab 3696
ecebef6a
MR
36972014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3698
3699 * gdb.threads/thread-specific.exp: Handle the lack of usable
3700 $this_breakpoint and $this_thread.
3701
ccdd1909
HZ
37022014-03-21 Hui Zhu <hui@codesourcery.com>
3703
3704 * gdb.base/attach.exp (do_command_attach_tests): New.
3705
beb460e8
PA
37062014-03-20 Tom Tromey <tromey@redhat.com>
3707 Pedro Alves <palves@redhat.com>
3708
3709 PR cli/15718
3710 * gdb.base/condbreak-call-false.c: New file.
3711 * gdb.base/condbreak-call-false.exp: New file.
3712
40acf43a
PA
37132014-03-20 Pedro Alves <palves@redhat.com>
3714
3715 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3716 Delete.
3717 (block_signals, unblock_signals): Delete.
3718 (child_function_2, main): Remove references to deleted variable
3719 and functions.
3720
9f5e1e02
PA
37212014-03-20 Pedro Alves <palves@redhat.com>
3722
3723 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3724 Use pthread_kill to signal thread 2.
3725 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3726 Adjust to make the test send itself a signal rather than using the
3727 host's "kill" command.
3728
99619bea
PA
37292014-03-20 Pedro Alves <palves@redhat.com>
3730
3731 * gdb.threads/multiple-step-overs.c: New file.
3732 * gdb.threads/multiple-step-overs.exp: New file.
3733 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3734 Adjust expected infrun debug output.
3735
2adfaa28
PA
37362014-03-20 Pedro Alves <palves@redhat.com>
3737
3738 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3739 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3740
31e77af2
PA
37412014-03-20 Pedro Alves <palves@redhat.com>
3742
3743 PR breakpoints/7143
3744 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3745 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3746 of gdb_test_multiple.
3747 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3748 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3749
b9f437de
PA
37502014-03-20 Pedro Alves <palves@redhat.com>
3751
3752 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3753 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3754
05adc73e
PA
37552014-03-19 Pedro Alves <palves@redhat.com>
3756
3757 * gdb.base/async.exp: Remove early return.
3758
6048b950
PA
37592014-03-19 Pedro Alves <palves@redhat.com>
3760
3761 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3762
8bcfb00a
PA
37632014-03-19 Pedro Alves <palves@redhat.com>
3764
3765 * gdb.base/async.exp (test_background): Expect \r\n after
3766 "completed." in the fail pattern.
3767
884e37dc
PA
37682014-03-19 Pedro Alves <palves@redhat.com>
3769
3770 * gdb.base/async.exp (test_background): New procedure.
3771 Use it for all background execution command tests.
3772
148e57e2
PA
37732014-03-19 Pedro Alves <palves@redhat.com>
3774
3775 * gdb.base/async.exp: Use prepare_for_testing.
3776
f48088c7
PA
37772014-03-19 Pedro Alves <palves@redhat.com>
3778
3779 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3780 the same line.
3781
e2f6c966
PA
37822014-03-19 Pedro Alves <palves@redhat.com>
3783
3784 * gdb.base/async.c (main): Add "jump here" and "until here" line
3785 marker comments.
3786 * gdb.base/async.exp (jump_here): New global.
3787 (jump& test): Use it.
3788 (until_here): New global.
3789 (until& test): Use it.
3790
c30568d4
PA
37912014-03-19 Pedro Alves <palves@redhat.com>
3792
3793 * gdb.base/async.exp: Don't frob gdb_protocol.
3794
0172b6a7
DE
37952014-03-18 Doug Evans <xdje42@gmail.com>
3796
3797 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3798 Fix spelling of exec-done-display.
3799
06c868a8
JK
38002014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3801
3802 PR gdb/15358
3803 * gdb.base/gdb-sigterm.c: New file.
3804 * gdb.base/gdb-sigterm.exp: New file.
3805
0c7e1a46
PA
38062014-03-18 Pedro Alves <palves@redhat.com>
3807
3808 PR gdb/13860
3809 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3810 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3811 solib-event.
3812
f7c77d93
JB
38132014-03-17 Joel Brobecker <brobecker@adacore.com>
3814
3815 * gdb.ada/pckd_arr_ren: New testcase.
3816
5a1e8c7a
DE
38172014-03-13 Doug Evans <xdje42@gmail.com>
3818
3819 PR guile/16612
3820 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3821 collect after discarding symbols.
3822
350e1a76
DE
38232014-03-13 Ludovic Courtès <ludo@gnu.org>
3824 Doug Evans <xdje42@gmail.com>
3825
3826 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3827 to history survives a gc.
3828
a69900ae
PA
38292014-03-13 Pedro Alves <palves@redhat.com>
3830
3831 * gdb.base/default.exp: Don't test "target procfs".
3832
5db9f0bd
PA
38332014-03-13 Pedro Alves <palves@redhat.com>
3834
3835 * gdb.base/default.exp: Update "target child" and "target procfs"
3836 tests to not expect "Unix".
3837
b3ccfe11
TT
38382014-03-12 Tom Tromey <tromey@redhat.com>
3839
3840 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3841 New procs. Add target-async tests.
3842 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3843 Add target-async tests.
3844
646f4417
AA
38452014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3846
3847 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3848 'func_start' and 'func_end' for the beginning and end of the
3849 function code, respectively.
3850 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3851 'func_end' instead of 'func' and 'main'.
3852
288c211f
AA
38532014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3854
3855 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3856 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3857 generate the debug info assembler source.
3858
e0c0f156
AA
38592014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3860
3861 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3862 * gdb.dwarf2/arr-subrange.exp: Likewise.
3863 * gdb.dwarf2/dwz.exp: Likewise.
3864 * gdb.dwarf2/method-ptr.exp: Likewise.
3865 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3866 * gdb.dwarf2/subrange.exp: Likewise.
3867 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3868 * gdb.dwarf2/implptrpiece.exp: Likewise.
3869 * gdb.dwarf2/nostaticblock.exp: Likewise.
3870
0e5c4555
AA
38712014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3872
3873 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3874 directory to absolute path name arguments.
3875
5ec18f2b
JG
38762014-03-10 Joel Brobecker <brobecker@adacore.com>
3877
3878 * gdb.ada/tagged_access: New testcase.
3879
847fc4f2
MM
38802014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3881
3882 * gdb.btrace/data.exp: Update expected output.
3883
cc3da688
YQ
38842014-03-06 Yao Qi <yao@codesourcery.com>
3885
3886 * gdb.trace/pr16508.exp: New file.
3887
0f26cec1
PA
38882014-03-05 Pedro Alves <palves@redhat.com>
3889
3890 PR gdb/16575
3891 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3892 procedure.
3893 (top level): Adjust to use it. Add tests that exercise breakpoint
3894 interaction with the code-cache.
3895
7a5a839f
LC
38962014-02-26 Ludovic Courtès <ludo@gnu.org>
3897
3898 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3899 test for 'history-append!'.
3900
31aa7e4e
JB
39012014-02-26 Joel Brobecker <brobecker@adacore.com>
3902
3903 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3904 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3905 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3906 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3907 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3908 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3909
1b588015
JB
39102014-02-26 Joel Brobecker <brobecker@adacore.com>
3911
3912 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3913 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3914 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3915
55426c9d
JB
39162014-02-26 Joel Brobecker <brobecker@adacore.com>
3917
3918 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3919
dc53a7ad
JB
39202014-02-26 Joel Brobecker <brobecker@adacore.com>
3921
3922 * gdb.dwarf2/arr-stride.c: New file.
3923 * gdb.dwarf2/arr-stride.exp: New file.
3924
12ab52e9
PA
39252014-02-26 Pedro Alves <palves@redhat.com>
3926
3927 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3928 that won't ever trigger. Make sure that GDB reports the correct
3929 breakpoint that caused the stop.
3930
849c862e
JK
39312014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3932
3933 PR gdb/16626
3934 * gdb.base/auto-load-script: New file.
3935 * gdb.base/auto-load.c: New file.
3936 * gdb.base/auto-load.exp: New file.
3937
71b7d793
JK
3938 PR gdb/16626
3939 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3940
e2f0d509
JK
39412014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3942
3943 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3944 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3945
50cc37c8
DE
39462014-02-24 Doug Evans <dje@google.com>
3947
3948 * lib/gdb.exp (run_on_host): Log error output if program fails.
3949
ea4758f2
PA
39502014-02-21 Pedro Alves <palves@redhat.com>
3951
3952 * gdb.threads/step-after-sr-lock.c: Rename to ...
3953 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3954 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3955 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3956 ... this.
3957
d7b30f67
SDJ
39582014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3959
3960 PR tdep/16397
3961 * gdb.arch/amd64-stap-special-operands.exp: New file.
3962 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3963 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3964 * gdb.arch/amd64-stap-triplet.S: Likewise.
3965 * gdb.arch/amd64-stap-triplet.c: Likewise.
3966
83deb43f
JB
39672014-02-20 Joel Brobecker <brobecker@adacore.com>
3968
3969 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3970 in .section pseudo-op.
3971
adde2bff
DE
39722014-02-20 lin zuojian <manjian2006@gmail.com>
3973 Joel Brobecker <brobecker@adacore.com>
3974 Doug Evans <xdje42@gmail.com>
3975
3976 PR symtab/16581
3977 * gdb.dwarf2/dw2-icycle.S: New file.
3978 * gdb.dwarf2/dw2-icycle.c: New file.
3979 * gdb.dwarf2/dw2-icycle.exp: New file.
3980
f7bd0f78
SC
39812014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3982
3983 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3984 operations on gdb.Value objects.
3985 * gdb.python/py-value-cc.exp: Add new test to test operations on
3986 gdb.Value objects.
3987
c17ef0d5
DE
39882014-02-18 Doug Evans <dje@google.com>
3989
3990 * Makefile.in (TESTS): New variable.
3991 (expanded_tests, expanded_tests_or_none): New variables
3992 (check-single): Pass $(expanded_tests_or_none) to runtest.
3993 (check-parallel): Only run tests in $(TESTS) if non-empty.
3994 (check/no-matching-tests-found): New rule.
3995 * README: Document TESTS makefile variable.
3996
5dd3176f
DE
39972014-02-18 Doug Evans <dje@google.com>
3998
3999 * Makefile.in (check-parallel): rm -rf outputs temp.
4000
0b10be4f
JK
40012014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4002
4003 Fix "ERROR: no fileid for" in the testsuite.
4004 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4005
85f224e7
DE
40062014-02-12 Doug Evans <dje@google.com>
4007
4008 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4009 (MISCELLANEOUS): New variable.
4010 (clean): rm -rf $(MISCELLANEOUS).
4011 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4012 dwp live in the same directory as symlinks, with each symlink pointed
4013 to a differently named file in a different directory.
4014
149b30ff
DE
40152014-02-11 Doug Evans <dje@google.com>
4016
4017 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4018 of Tcl file commands.
4019
1dfdac32
MK
40202014-02-10 Mark Kettenis <kettenis@gnu.org>
4021
4022 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4023 "kill -SIGUSR1 -1".
4024
aa4fb036
JB
40252014-02-10 Joel Brobecker <brobecker@adacore.com>
4026
4027 * gdb.ada/tick_length_array_enum_idx: New testcase.
4028
ed3ef339
DE
40292014-02-10 Doug Evans <xdje42@gmail.com>
4030
4031 * configure.ac (AC_OUTPUT): Add gdb.guile.
4032 * configure: Regenerate.
4033 * lib/gdb-guile.exp: New file.
4034 * lib/gdb.exp (get_target_charset): New function.
4035 * gdb.base/help.exp: Update expected output from "apropos apropos".
4036 * gdb.guile/Makefile.in: New file.
4037 * gdb.guile/guile.exp: New file.
4038 * gdb.guile/scm-arch.c: New file.
4039 * gdb.guile/scm-arch.exp: New file.
4040 * gdb.guile/scm-block.c: New file.
4041 * gdb.guile/scm-block.exp: New file.
4042 * gdb.guile/scm-breakpoint.c: New file.
4043 * gdb.guile/scm-breakpoint.exp: New file.
4044 * gdb.guile/scm-disasm.c: New file.
4045 * gdb.guile/scm-disasm.exp: New file.
4046 * gdb.guile/scm-equal.c: New file.
4047 * gdb.guile/scm-equal.exp: New file.
4048 * gdb.guile/scm-error.exp: New file.
4049 * gdb.guile/scm-error.scm: New file.
4050 * gdb.guile/scm-frame-args.c: New file.
4051 * gdb.guile/scm-frame-args.exp: New file.
4052 * gdb.guile/scm-frame-args.scm: New file.
4053 * gdb.guile/scm-frame-inline.c: New file.
4054 * gdb.guile/scm-frame-inline.exp: New file.
4055 * gdb.guile/scm-frame.c: New file.
4056 * gdb.guile/scm-frame.exp: New file.
4057 * gdb.guile/scm-generics.exp: New file.
4058 * gdb.guile/scm-gsmob.exp: New file.
4059 * gdb.guile/scm-iterator.c: New file.
4060 * gdb.guile/scm-iterator.exp: New file.
4061 * gdb.guile/scm-math.c: New file.
4062 * gdb.guile/scm-math.exp: New file.
4063 * gdb.guile/scm-objfile-script-gdb.in: New file.
4064 * gdb.guile/scm-objfile-script.c: New file.
4065 * gdb.guile/scm-objfile-script.exp: New file.
4066 * gdb.guile/scm-objfile.c: New file.
4067 * gdb.guile/scm-objfile.exp: New file.
4068 * gdb.guile/scm-ports.exp: New file.
4069 * gdb.guile/scm-pretty-print.c: New file.
4070 * gdb.guile/scm-pretty-print.exp: New file.
4071 * gdb.guile/scm-pretty-print.scm: New file.
4072 * gdb.guile/scm-section-script.c: New file.
4073 * gdb.guile/scm-section-script.exp: New file.
4074 * gdb.guile/scm-section-script.scm: New file.
4075 * gdb.guile/scm-symbol.c: New file.
4076 * gdb.guile/scm-symbol.exp: New file.
4077 * gdb.guile/scm-symtab-2.c: New file.
4078 * gdb.guile/scm-symtab.c: New file.
4079 * gdb.guile/scm-symtab.exp: New file.
4080 * gdb.guile/scm-type.c: New file.
4081 * gdb.guile/scm-type.exp: New file.
4082 * gdb.guile/scm-value-cc.cc: New file.
4083 * gdb.guile/scm-value-cc.exp: New file.
4084 * gdb.guile/scm-value.c: New file.
4085 * gdb.guile/scm-value.exp: New file.
4086 * gdb.guile/source2.scm: New file.
4087 * gdb.guile/types-module.cc: New file.
4088 * gdb.guile/types-module.exp: New file.
4089
7026a7c1
YQ
40902014-02-10 Yao Qi <yao@codesourcery.com>
4091
4092 PR testsuite/16543
4093 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4094 * configure: Regenerated.
4095 * Makefile.in: New file.
4096
6c466447
AS
40972014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4098
4099 * gdb.python/py-framefilter.exp: Fix typo.
4100
6e854735
YQ
41012014-02-08 Yao Qi <yao@codesourcery.com>
4102
4103 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4104 that no =breakpoint-modified is emitted when breakpoints are
4105 modified through MI commands.
4106
d137e6dc
PA
41072014-02-07 Pedro Alves <pedro@codesourcery.com>
4108 Pedro Alves <palves@redhat.com>
4109
4110 * gdb.threads/step-after-sr-lock.c: New file.
4111 * gdb.threads/step-after-sr-lock.exp: New file.
4112
b5ee5a50
PA
41132014-02-07 Pedro Alves <palves@redhat.com>
4114
4115 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4116
3c77faf3
JK
41172014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4118
4119 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4120 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4121
6dddc817
DE
41222014-02-06 Doug Evans <xdje42@gmail.com>
4123
4124 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4125 output.
4126
4127 * gdb.gdb/python-interrupts.exp: New file.
4128
de7b2893
YQ
41292014-02-05 Yao Qi <yao@codesourcery.com>
4130
4131 * gdb.trace/report.exp (use_collected_data): Test the output
4132 of "info threads" and "info inferiors".
4133
66d032ac
YQ
41342014-02-05 Yao Qi <yao@codesourcery.com>
4135
4136 Revert this patch:
4137
4138 2013-05-24 Yao Qi <yao@codesourcery.com>
4139
4140 * gdb.trace/tfile.exp: Test inferior and thread.
4141
591a12a1
UW
41422014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4143
4144 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4145 on a function.
4146 * gdb.base/step-bt.c: Call hello via function pointer to make
4147 sure its first instruction is executed on powerpc64le-linux.
4148
0ff3e01f
UW
41492014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4150
4151 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4152
084ee545
UW
41532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4154
4155 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4156 of the test patterns for use on little-endian systems.
4157
6ed14ff3
UW
41582014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4159
4160 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4161 (decimal_vector): Fix for little-endian.
4162
401e27fd
JM
41632014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4164
4165 * gdb.arch/sparc-sysstep.exp: New file.
4166 * gdb.arch/sparc-sysstep.c: Likewise.
4167
4168 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4169
8b924729
EBM
41702014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4171
4172 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4173
fb151210
JB
41742014-01-23 Tom Tromey <tromey@redhat.com>
4175
4176 * gdb.ada/array_char_idx: New testcase.
4177
0740f8d8
TT
41782014-01-23 Tom Tromey <tromey@redhat.com>
4179
4180 PR python/16487:
4181 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4182 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4183 classes.
4184
21909fa1
TT
41852014-01-23 Tom Tromey <tromey@redhat.com>
4186
4187 PR python/16491:
4188 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4189 string from an inferior frame.
4190 * gdb.python/py-framefilter-mi.exp: Update.
4191
87ce2a04
DE
41922014-01-22 Doug Evans <dje@google.com>
4193
4194 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4195
237b092b
AA
41962014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4197
4198 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4199
d674a709
AA
42002014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4201
4202 * gdb.trace/entry-values.exp: Remove excess space character from
4203 regex patterns. Handle s390 call instruction.
4204
20fa3390
AA
42052014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4206
4207 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4208 define "*_start" label. Make "name" static.
4209 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4210 ${name} by references to ${name}_start.
4211
78466714
AA
42122014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4213
4214 * gdb.base/info-macros.exp: Remove "debug" from the compile
4215 options.
4216
ec9f644a
IB
42172014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4218
4219 * gdb.dlang/demangle.exp: New file.
4220
94b1b47e
IB
42212014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4222
4223 * gdb.dlang/primitive-types.exp: New file.
4224
7f420862
IB
42252014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4226
4227 * configure.ac: Create gdb.dlang/Makefile.
4228 * configure: Regenerate.
4229 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4230 * gdb.dlang/Makefile.in: New file.
4231 * lib/d-support.exp: New file.
4232 * lib/gdb.exp (skip_d_tests): New proc.
4233
52834460
MM
42342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4235
4236 * gdb.btrace/delta.exp: Check reverse stepi.
4237 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4238 * gdb.btrace/finish.exp: New.
4239 * gdb.btrace/next.exp: New.
4240 * gdb.btrace/nexti.exp: New.
4241 * gdb.btrace/record_goto.c: Add comments.
4242 * gdb.btrace/step.exp: New.
4243 * gdb.btrace/stepi.exp: New.
4244 * gdb.btrace/multi-thread-step.c: New.
4245 * gdb.btrace/multi-thread-step.exp: New.
4246 * gdb.btrace/rn-dl-bind.c: New.
4247 * gdb.btrace/rn-dl-bind.exp: New.
4248 * gdb.btrace/data.c: New.
4249 * gdb.btrace/data.exp: New.
4250 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4251
6e07b1d2
MM
42522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4253
4254 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4255 * gdb.btrace/exception.exp: Update.
4256 * gdb.btrace/instruction_history.exp: Update.
4257 * gdb.btrace/record_goto.exp: Update.
4258 * gdb.btrace/tailcall.exp: Update.
4259 * gdb.btrace/unknown_functions.exp: Update.
4260 * gdb.btrace/delta.exp: New.
4261
0b722aec
MM
42622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4263
4264 * gdb.btrace/record_goto.exp: Add backtrace test.
4265 * gdb.btrace/tailcall.exp: Add backtrace test.
4266
066ce621
MM
42672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4268
4269 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4270 * gdb.btrace/record_goto.c: New.
4271 * gdb.btrace/record_goto.exp: New.
4272 * gdb.btrace/x86-record_goto.S: New.
4273
0688d04e
MM
42742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4275
4276 * gdb.btrace/function_call_history.exp: Update tests.
4277 * gdb.btrace/instruction_history.exp: Update tests.
4278
8710b709
MM
42792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4280
4281 * gdb.btrace/function_call_history.exp: Fix expected field
4282 order for "record function-call-history".
4283 Add new tests for "record function-call-history /c".
4284 * gdb.btrace/exception.cc: New.
4285 * gdb.btrace/exception.exp: New.
4286 * gdb.btrace/tailcall.exp: New.
4287 * gdb.btrace/x86-tailcall.S: New.
4288 * gdb.btrace/x86-tailcall.c: New.
4289 * gdb.btrace/unknown_functions.c: New.
4290 * gdb.btrace/unknown_functions.exp: New.
4291 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4292
5de9129b
MM
42932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4294
4295 * gdb.btrace/instruction_history.exp: Update.
4296 * gdb.btrace/function_call_history.exp: Update.
4297
23a7fe75
MM
42982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4299
4300 * gdb.btrace/function_call_history.exp: Fix expected function
4301 trace.
4302 * gdb.btrace/instruction_history.exp: Initialize traced.
4303 Remove traced_functions.
4304
724c7dd8
MM
43052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4306
4307 * gdb.btrace/function_call_history.exp: Update
4308 * gdb.btrace/instruction_history.exp: Update.
4309
6d78d93b
MM
43102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4311
4312 * gdb.btrace/enable.exp: Update expected text.
4313
93a360cc
OJ
43142014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4315
4316 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4317 bytes.
4318
3772b53f
MR
43192014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4320
4321 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4322
596662fa
OJ
43232014-01-15 Omair Javaid <omair.javaid@linaro.org>
4324
4325 * lib/gdb.exp (supports_process_record): Return true for
4326 arm*-linux*. (supports_reverse): Likewise.
4327
b5b08fb4
SC
43282014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4329
4330 PR python/15464
4331 PR python/16113
4332 * gdb.python/py-type.c: Enhance test case.
4333 * gdb.python/py-value-cc.cc: Likewise
4334 * gdb.python/py-type.exp: Add new tests.
4335 * gdb.python/py-value-cc.exp: Likewise
4336
52d7fb13
AA
43372014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4338 Pedro Alves <palves@redhat.com>
4339
4340 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4341 Make "name" extern.
4342 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4343 references to ${name}_start by references to ${name}.
4344
a2cd8cfe
JB
43452014-01-10 Joel Brobecker <brobecker@adacore.com>
4346
4347 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4348
4e23fced
JB
43492014-01-10 Joel Brobecker <brobecker@adacore.com>
4350
4351 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4352
c6a9e42c
PA
43532014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4354 Pedro Alves <palves@redhat.com>
4355
4356 * gdb.mi/mi-info-os.exp: Connect to the target with
4357 mi_gdb_target_load.
4358
b7ea362b
PA
43592014-01-08 Pedro Alves <palves@redhat.com>
4360
4361 * gdb.threads/reconnect-signal.c: New file.
4362 * gdb.threads/reconnect-signal.exp: New file.
4363
5e3f4fab
EBM
43642014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4365
4366 * gdb.base/source-dir.exp: New file.
4367
79301218
JB
43682014-01-07 Joel Brobecker <brobecker@adacore.com>
4369
4370 * gdb.ada/mi_interface: New testcase.
4371
8e355c5d
JB
43722014-01-07 Joel Brobecker <brobecker@adacore.com>
4373
4374 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4375 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4376 gdb.ada/pp-rec-component/pck.ads: New files.
4377
c0d48811
JB
43782014-01-07 Joel Brobecker <brobecker@adacore.com>
4379
4380 * gdb.python/py-pp-integral.c: New file.
4381 * gdb.python/py-pp-integral.py: New file.
4382 * gdb.python/py-pp-integral.exp: New file.
4383
17b609c3 4384For older changes see ChangeLog-1993-2013.
c906108c 4385\f
8d8cb839
EZ
4386;; Local Variables:
4387;; mode: change-log
4388;; left-margin: 8
4389;; fill-column: 74
4390;; version-control: never
4391;; End:
902f2ccb 4392
32d0add0 4393 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4394 Copying and distribution of this file, with or without modification,
4395 are permitted provided the copyright notice and this notice are preserved.