]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
[OBV] Fix build -- missing ';'
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
bc23328c
JK
12015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4 * README: Remove HP-UX and gdb.hp.
5 (configuration):
6 * configure: Regenerate.
7 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
8 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
9 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10 gdb.hp/gdb.defects/Makefile.
11 * gdb.hp/Makefile.in: File deleted.
12 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
15 * gdb.hp/gdb.aCC/run.c: File deleted.
16 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
17 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
18 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
20 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
21 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
22 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
23 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
24 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
25 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
26 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
27 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
28 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
29 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
30 * gdb.hp/gdb.base-hp/reg.s: File deleted.
31 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
32 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
33 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
34 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
35 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
36 * gdb.hp/gdb.compat/Makefile.in: File deleted.
37 * gdb.hp/gdb.compat/average.c: File deleted.
38 * gdb.hp/gdb.compat/sum.c: File deleted.
39 * gdb.hp/gdb.compat/xdb.c: File deleted.
40 * gdb.hp/gdb.compat/xdb0.c: File deleted.
41 * gdb.hp/gdb.compat/xdb0.h: File deleted.
42 * gdb.hp/gdb.compat/xdb1.c: File deleted.
43 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
44 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
45 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
46 * gdb.hp/gdb.defects/Makefile.in: File deleted.
47 * gdb.hp/gdb.defects/bs14602.c: File deleted.
48 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
49 * gdb.hp/gdb.defects/solib-d.c: File deleted.
50 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
51 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
52 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
53 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
54 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
55 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
56 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
57 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
58 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
59 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
60 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
61 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
62 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
63 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
64 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
65 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
66 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
67 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
68 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
69 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
70 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
71 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
72 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
73 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
74 * gdb.hp/tools/odump: File deleted.
75
8bf3b159
PA
762015-03-19 Pedro Alves <palves@redhat.com>
77
78 * gdb.threads/continue-pending-status.exp (saw_thread_2)
79 (saw_thread_3): New globals.
80 (top level): Increment them when an event for the corresponding
81 thread is seen.
82 (no thread starvation): New test.
83
eb54c8bf
PA
842015-03-19 Pedro Alves <palves@redhat.com>
85
86 * gdb.threads/continue-pending-status.c: New file.
87 * gdb.threads/continue-pending-status.exp: New file.
88
32d2e5d6
PA
892015-03-18 Pedro Alves <palves@redhat.com>
90
91 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
92 Use gdb_is_target_remote instead of is_remote. Use
93 gdb_test_multiple instead of gdb_expect. Exit early if
94 gdb_test_multiple hits its internal matches. Tighten stepi tests
95 expected output. Fail on exit with any signal, instead of just
96 SIGILL.
97
f68f11b7
YQ
982015-03-18 Yao Qi <yao.qi@linaro.org>
99
100 PR tdep/18107
101 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
102 variable.
103 * gdb.base/catch-syscall.exp: Don't skip it on
104 aarch64*-*-linux* target. Remove elements in all_syscalls.
105 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
106 target.
107 (setup_all_syscalls): New proc.
108
ca5fd19b
YQ
1092015-03-16 Yao Qi <yao.qi@linaro.org>
110
111 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
112 (top level): Skip tests if valid_addr_p returns false for
113 $cmd1 or $cmd2.
114
85642ba0
AW
1152015-03-11 Andy Wingo <wingo@igalia.com>
116
117 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
118
e03f9645
YQ
1192015-03-11 Yao Qi <yao.qi@linaro.org>
120
121 * gdb.base/catch-syscall.exp: Fix typo in comments.
122
5d0962b2
YQ
1232015-03-11 Yao Qi <yao.qi@linaro.org>
124
125 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
126
b2df3cef
PA
1272015-03-09 Pedro Alves <palves@redhat.com>
128
129 * dg-extract-results.py: Delete.
130
ef878e53
PA
1312015-03-09 Pedro Alves <palves@redhat.com>
132
133 Merge dg-extract-results.sh from GCC upstream (r218843).
134
135 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
136 * dg-extract-results.sh: Use --text with grep to avoid issues with
137 binary files. Fall back to cat -v, if that doesn't work.
138
9494d219
PA
1392015-03-05 Pedro Alves <palves@redhat.com>
140
141 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
142
a8d9763a
SM
1432015-03-04 Simon Marchi <simon.marchi@ericsson.com>
144
145 * lib/mi-support.exp (mi_expect_interrupt): Accept
146 alternative event for when in all-stop mode.
147
be9957b8
PA
1482015-03-04 Pedro Alves <palves@redhat.com>
149
150 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
151
d57be0f4 1522015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
153
154 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
155
c214c7cf
AA
1562015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
157
158 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
159 regexps for GDB's current line display, accept a hex address
160 preceding the line number.
161
6d74a497
AA
1622015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
163
164 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
165 the 'arch1' variable for "s390*-linux*" targets.
166
511aee7c
PA
1672015-03-04 Pedro Alves <palves@redhat.com>
168
169 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
170 (main): Pass missing retval argument to pthread_join call.
171
95e50b27
PA
1722015-03-02 Pedro Alves <palves@redhat.com>
173
174 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
175 (top level): Call do_test with non-stop as well.
176
28054d69
PA
1772015-03-02 Pedro Alves <palves@redhat.com>
178
179 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
180 -1.
181
4fa5d7b4
AA
1822015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
183
184 * gdb.arch/s390-vregs.exp: New test.
185 * gdb.arch/s390-vregs.S: New file.
186
97c18565
PA
1872015-02-27 Pedro Alves <palves@redhat.com>
188
189 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
190 call to catch_command_errors.
191 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
192 catch_command_errors.
193
a37bfa30
PA
1942015-02-27 Pedro Alves <palves@redhat.com>
195
196 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
197 "true" for boolean result.
198 * gdb.gdb/selftest.exp (test_with_self): Also accept full
199 prototype of main.
200
6f98576f
PA
2012015-02-27 Pedro Alves <palves@redhat.com>
202
203 * lib/unbuffer_output.c: New file.
204 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
205 (main): Call gdb_unbuffer_output.
206
eba5ab56
YQ
2072015-02-27 Yao Qi <yao.qi@linaro.org>
208
209 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
210 target.
211
0def5aaa
DE
2122015-02-26 Doug Evans <dje@google.com>
213
214 * gdb.cp/class2.cc (Dbase, D): New classes.
215 (main): New local delta.
216 * gdb.cp/class2.exp: Test printing delta.
217 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
218 (dynbar): New global.
219 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
220
081a1c2c
JK
2212015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
222
223 * gdb.compile/compile-ifunc.c: New file.
224 * gdb.compile/compile-ifunc.exp: New file.
225
2f41223f
AT
2262015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
227
228 * gdb.base/structs.exp: Check for correct struct on finish.
229
03eddd80
YQ
2302015-02-26 Yao Qi <yao.qi@linaro.org>
231
232 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
233 is zero.
234
80c57053
JK
2352015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
236
237 * gdb.arch/cordic.ko.bz2: New file.
238 * gdb.arch/cordic.ko.debug.bz2: New file.
239 * gdb.arch/ppc64-symtab-cordic.exp: New file.
240
21613c12
YQ
2412015-02-25 Yao Qi <yao.qi@linaro.org>
242
243 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
244 aarch64*-*-* target.
245
d8b901ed
PA
2462015-02-23 Pedro Alves <palves@redhat.com>
247
248 * lib/gdb.exp (delete_breakpoints): Rewrite using
249 gdb_test_multiple.
250
e5b85ead
PA
2512015-02-23 Pedro Alves <palves@redhat.com>
252
253 * gdb.base/info-os.c: Include stdlib.h.
254
85c3a371
DE
2552015-02-22 Doug Evans <xdje42@gmail.com>
256
257 PR symtab/17855
258 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
259 is read after symbols have been re-read.
260 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
261 * gdb.ada/exec_changed/second.adb (Second): Ditto.
262
96553a0c
DE
2632015-02-21 Doug Evans <dje@google.com>
264
265 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
266
97a0c697
JK
2672015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
268
269 PR corefiles/17808
270 * gdb.arch/i386-biarch-core.core.bz2: New file.
271 * gdb.arch/i386-biarch-core.exp: New file.
272
a47cd6e9
PA
2732015-02-21 Pedro Alves <palves@redhat.com>
274
275 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
276 runto_main fails.
277
c5facdc4
PA
2782015-02-20 Pedro Alves <palves@redhat.com>
279
280 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
281 info probes.
282
2db9a427
PA
2832015-02-20 Pedro Alves <palves@redhat.com>
284
285 * gdb.threads/multi-create-ns-info-thr.exp: New file.
286
60fb7e9e
PA
2872015-02-20 Pedro Alves <palves@redhat.com>
288
289 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
290 clean_restart before gdb_target_supports_trace.
291
5c5019c2
PA
2922015-02-20 Pedro Alves <palves@redhat.com>
293
294 PR threads/18006
295 * gdb.threads/clone-thread_db.c: New file.
296 * gdb.threads/clone-thread_db.exp: New file.
297
c9587f88
AT
2982015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
299
300 PR breakpoints/16812
301 * gdb.base/catch-gdb-caused-signals.c: New file.
302 * gdb.base/catch-gdb-caused-signals.exp: New file.
303
f6a88844
JM
3042015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
305
306 * configure: Regenerated.
307 * configure.ac: Use GDB_AC_TRANSFORM.
308 * aclocal.m4: sinclude ../transform.m4.
309
497c491b
JM
3102015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
311
312 * lib/dtrace.exp: New file.
313 * gdb.base/dtrace-probe.exp: Likewise.
314 * gdb.base/dtrace-probe.d: Likewise.
315 * gdb.base/dtrace-probe.c: Likewise.
316 * lib/pdtrace.in: Likewise.
317 * configure.ac: Output variables with the transformed names of
318 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
319 * configure: Regenerated.
320
03e98035
JM
3212015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
322
323 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
324 expected message when trying to access $_probe_* convenience
325 variables while not on a probe.
326
63cc30e9
JK
3272015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
328
329 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
330
0703599a
PA
3312015-02-11 Pedro Alves <pedro@codesourcery.com>
332
333 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
334 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
335
7e60a48e
DE
3362015-02-10 Doug Evans <xdje42@gmail.com>
337
338 * lib/gdb.exp (gdb_load): Always return a result.
339
01b088bc
PA
3402015-02-10 Pedro Alves <palves@redhat.com>
341
342 * gdb.threads/signal-sigtrap.c: New file.
343 * gdb.threads/signal-sigtrap.exp: New file.
344
b05ec7a5
AT
3452015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
346
347 * gdb.trace/no-attach-trace.c: New file.
348 * gdb.trace/no-attach-trace.exp: New file.
349
a2c2acaf
MW
3502015-02-09 Mark Wielaard <mjw@redhat.com>
351
352 * gdb.dwarf2/atomic.c: New file.
353 * gdb.dwarf2/atomic-type.exp: Likewise.
354
31fd9caa
MM
3552015-02-09 Markus Metzger <markus.t.metzger@intel.com>
356
357 * gdb.btrace/buffer-size.exp: Update "info record" output.
358 * gdb.btrace/delta.exp: Update "info record" output.
359 * gdb.btrace/enable.exp: Update "info record" output.
360 * gdb.btrace/finish.exp: Update "info record" output.
361 * gdb.btrace/instruction_history.exp: Update "info record" output.
362 * gdb.btrace/next.exp: Update "info record" output.
363 * gdb.btrace/nexti.exp: Update "info record" output.
364 * gdb.btrace/step.exp: Update "info record" output.
365 * gdb.btrace/stepi.exp: Update "info record" output.
366 * gdb.btrace/nohist.exp: Update "info record" output.
367
d33501a5
MM
3682015-02-09 Markus Metzger <markus.t.metzger@intel.com>
369
370 * gdb.btrace/buffer-size: New.
371
f4abbc16
MM
3722015-02-09 Markus Metzger <markus.t.metzger@intel.com>
373
374 * gdb.btrace/delta.exp: Update "info record" output.
375 * gdb.btrace/enable.exp: Update "info record" output.
376 * gdb.btrace/finish.exp: Update "info record" output.
377 * gdb.btrace/instruction_history.exp: Update "info record" output.
378 * gdb.btrace/next.exp: Update "info record" output.
379 * gdb.btrace/nexti.exp: Update "info record" output.
380 * gdb.btrace/step.exp: Update "info record" output.
381 * gdb.btrace/stepi.exp: Update "info record" output.
382 * gdb.btrace/nohist.exp: Update "info record" output.
383
b9d61307
SM
3842015-02-06 Simon Marchi <simon.marchi@ericsson.com>
385
386 PR gdb/15678
387 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
388
e584fdbc
PA
3892015-02-06 Pedro Alves <palves@redhat.com>
390
391 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
392 macro.
393 (seconds_left, again): New globals.
394 (main): Wait seconds_left in a 1-second sleep loop instead of
395 sleeping 180 seconds. If 'again' is set, reset the seconds
396 counter.
397 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
398 'again' in the inferior before detaching. Print the seconds left.
399 (options): New global.
400 (top level): Build program with -DTIMEOUT=$timeout.
401
77f41761
PA
4022015-02-06 Pedro Alves <palves@redhat.com>
403
404 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
405 determine how many seconds to pass to 'alarm'.
406 * gdb.base/gdb-sigterm.exp (top level): Build program with
407 -DTIMEOUT=$timeout.
408 (do_test): Return success/failure indication. Add more verbose
409 logging. Don't fail if 200 single steps are seen. Instead, fail
410 when the test times out.
411 (passes): New global.
412 (top level): Break the testing loop if testing fails on any
413 iteration. Use gdb_assert.
414
b9394193
DB
4152015-02-04 Don Breazeal <donb@codesourcery.com>
416
417 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
418 and initialize them.
419 (ipc_cleanup): New function.
420 (main): Don't declare shmid, semid, and msqid. Add a call to
421 atexit so that we call ipc_cleanup on exit.
422
42d9e528
PA
4232015-02-04 Pedro Alves <palves@redhat.com>
424
425 * boards/native-extended-gdbserver.exp: Remove any target variant
426 specifications from the board name before clearing the isremote
427 flag from board_info.
428
ae6ae975
DE
4292015-01-31 Doug Evans <xdje42@gmail.com>
430
431 * gdb.base/maint.exp <maint print type argc>: Update expected output.
432
cfb069a8
GB
4332015-01-31 Gary Benson <gbenson@redhat.com>
434
435 * gdb.base/completion.exp: Disable completion limiting for
436 existing tests. Add new tests to check completion limiting.
437 * gdb.linespec/ls-errs.exp: Disable completion limiting.
438
5dd31d79
DE
4392015-01-31 Doug Evans <xdje42@gmail.com>
440
441 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
442
9f050062
DE
4432015-01-31 Doug Evans <xdje42@gmail.com>
444
445 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
446 entries. Duplicate file section script entries.
447 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
448 inlined entries. Add test for safe-path rejection.
449 * gdb.python/py-section-script.c: Add duplicate inlined section script
450 entries. Duplicate file section script entries.
451 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
452 inlined entries. Add test for safe-path rejection.
453
df25ebbd
JB
4542015-01-29 Joel Brobecker <brobecker@adacore.com>
455
456 * gdb.ada/disc_arr_bound: New testcase.
457
4a0ca9ec
JB
4582015-01-29 Joel Brobecker <brobecker@adacore.com>
459
460 * gdb.ada/mi_var_array: New testcase.
461
3a8b707a
DE
4622015-01-27 Doug Evans <dje@google.com>
463
464 * gdb.python/py-objfile.exp: Add tests for objfile.username.
465 Add test for objfile.filename, objfile.username after objfile
466 has been unloaded.
467
f8313f6e
JB
4682015-01-26 Joel Brobecker <brobecker@adacore.com>
469
470 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
471 the second test to print the name attribute of value
472 returned by the call to gdb.lookup_type, and adjust
473 the expected output accordingly.
474
37bc665e
MW
4752015-01-25 Mark Wielaard <mjw@redhat.com>
476
477 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
478 * gdb.base/disp-step-fork.c: Include unistd.h.
479 * gdb.base/siginfo-obj.c: Include stdio.h.
480 * gdb.base/siginfo-thread.c: Likewise.
481 * gdb.mi/non-stop.c: Include unistd.h.
482 * gdb.mi/nsthrexec.c: Include stdio.h.
483 * gdb.mi/pthreads.c: Include unistd.h.
484 * gdb.modula2/unbounded1.c (main): Declare returns int.
485 * gdb.reverse/consecutive-reverse.c: Likewise.
486 * gdb.threads/create-fail.c: Include unistd.h.
487 * gdb.threads/killed.c: Likewise.
488 * gdb.threads/linux-dp.c: Likewise.
489 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
490 * gdb.threads/non-ldr-exc-2.c: Likewise.
491 * gdb.threads/non-ldr-exc-3.c: Likewise.
492 * gdb.threads/non-ldr-exc-4.c: Likewise.
493 * gdb.threads/pthreads.c: Include unistd.h.
494 (main): Declare returns int.
495 * gdb.threads/tls-main.c (foo): New declaration.
496 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
497
f7e5394d
SM
4982015-01-23 Simon Marchi <simon.marchi@ericsson.com>
499
500 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
501 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
502
743649fd
MW
5032015-01-15 Mark Wielaard <mjw@redhat.com>
504
505 * gdb.base/noreturn-return.c: New file.
506 * gdb.base/noreturn-return.exp: New file.
507 * gdb.base/noreturn-finish.c: New file.
508 * gdb.base/noreturn-finish.exp: New file.
509
198297aa
PA
5102015-01-23 Pedro Alves <palves@redhat.com>
511
512 * gdb.threads/continue-pending-after-query.c: New file.
513 * gdb.threads/continue-pending-after-query.exp: New file.
514
717cf30c
AG
5152015-01-22 Anders Granlund <anders.granlund@ericsson.com>
516 Simon Marchi <simon.marchi@ericsson.com>
517
518 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
519 * gdb.base/valgrind-db-attach.exp: Same.
520 * gdb.base/valgrind-infcall.exp: Same.
521 * lib/mi-support.exp (default_mi_gdb_start): Same.
522 * lib/prompt.exp (default_prompt_gdb_start): Same.
523 * lib/gdb.exp (default_gdb_spawn): Same.
524 (gdb_interact): New.
525
526
4b62a76e
JK
5272015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
528
529 * gdb.compile/compile.exp (pointer to jit function): New test.
530
b4cdae6f
WW
5312015-01-17 Wei-cheng Wang <cole945@gmail.com>
532
533 * lib/gdb.exp (supports_process_record): Return true for
534 powerpc*-*-linux*.
535 (supports_reverse): Likewise.
536
d221e7ef
DB
5372015-01-15 Don Breazeal <donb@codesourcery.com>
538
539 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
540 instead of checking whether the target board is remote and
541 use spawn_wait_for_attach instead of exec/sleep.
542 * gdb.base/attach-twice.exp: Likewise.
543
bafffb51
JB
5442015-01-15 Joel Brobecker <brobecker@adacore.com>
545
546 * gdb.ada/var_arr_attrs: New testcase.
547
5589af0e
PA
5482015-01-14 Pedro Alves <palves@redhat.com>
549 Joel Brobecker <brobecker@adacore.com>
550
551 PR gdb/17525
552 * gdb.base/bp-cmds-execution-x-script.c: New file.
553 * gdb.base/bp-cmds-execution-x-script.exp: New file.
554 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
555
6c400b59
PA
5562015-01-14 Pedro Alves <palves@redhat.com>
557
558 PR cli/17828
559 * gdb.base/batch-preserve-term-settings.c: New file.
560 * gdb.base/batch-preserve-term-settings.exp: New file.
561
e02c96a7
DE
5622015-01-13 Doug Evans <dje@google.com>
563
564 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
565 binary.
566
576fd14c
JB
5672015-01-13 Joel Brobecker <brobecker@adacore.com>
568
569 * Makefile.in (clean mostlyclean): Do not delete *.py.
570
04dccad0
JB
5712015-01-13 Joel Brobecker <brobecker@adacore.com>
572
573 * gdb.python/py-lookup-type.exp: New file.
574
3d230f71
PA
5752015-01-12 Pedro Alves <palves@redhat.com>
576
577 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
578 restore GDBFLAGS before returning.
579
7e67715d
JK
5802015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
581
582 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
583 is_amd64_regs_target and is_x86_like_target.
584
f2e0d4b4
DE
5852015-01-11 Doug Evans <xdje42@gmail.com>
586
587 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
588 is given without an explicit form.
589 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
590 attributes.
591 * gdb.dwarf/corrupt.exp: Ditto.
592 * gdb.dwarf2/enum-type.exp: Ditto.
593 * gdb.trace/entry-values.exp: Ditto.
594 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
595
439250fb
DE
5962015-01-11 Doug Evans <xdje42@gmail.com>
597
598 PR gdb/15830
599 * gdb.base/maint.exp: Remove references to "maint demangle".
600 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
601 Add tests for explicitly specifying language to demangle.
602 * gdb.dlang/demangle.exp: Ditto.
603
ede9f622
PA
6042015-01-09 Pedro Alves <palves@redhat.com>
605
606 * gdb.threads/non-stop-fair-events.c: New file.
607 * gdb.threads/non-stop-fair-events.exp: New file.
608
a7b796db
PA
6092015-01-09 Pedro Alves <palves@redhat.com>
610
611 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
612 the global scope. Set a breakpoint after all threads are started
613 rather than stepping over two source lines. Expect the prompt.
614 * gdb.base/watch_thread_num.c (threads_started_barrier): New
615 global.
616 (NUM): Now 15.
617 (main): Use threads_started_barrier to wait for all threads to
618 start. Main thread no longer calls thread_function. Exit after
619 180 seconds.
620 (loop): New function.
621 (thread_function): Wait on threads_started_barrier barrier. Call
622 'loop' at each iteration.
623 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
624 threads have started, instead of hardcoding number of "next"
625 steps. Use an access watchpoint instead of a write watchpoint.
626
9665ffdd
PA
6272015-01-09 Pedro Alves <palves@redhat.com>
628
629 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
630 (thread_func): Wait on barrier.
631 (main): Wait for all threads to start before stopping GDB.
632 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
633 global.
634 (thread1_func, thread2_func): Wait on barrier.
635 (main): Wait for all threads to start before stopping GDB.
636 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
637 New global.
638 (thread1_func, thread2_func): Wait on barrier.
639 (main): Wait for all threads to start before stopping GDB.
640
c945a99f
PA
6412015-01-09 Pedro Alves <palves@redhat.com>
642
643 * gdb.threads/attach-many-short-lived-threads.c: New file.
644 * gdb.threads/attach-many-short-lived-threads.exp: New file.
645
c1a747c1
PA
6462014-01-09 Pedro Alves <palves@redhat.com>
647
648 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
649 instead of to thread 2.
650 * gdb.threads/signal-command-multiple-signals-pending.c (main):
651 Add barrier around each pthread_create call instead of around all
652 calls.
653 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
654 Set a break on thread_function and have the child threads hit it
655 one at at a time.
656
60b3033e
PA
6572015-01-09 Pedro Alves <palves@redhat.com>
658
659 * lib/gdb.exp (can_spawn_for_attach): New procedure.
660 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
661 false.
662 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
663 checking whether the target board is remote.
664 * gdb.multi/multi-attach.exp: Likewise.
665 * gdb.python/py-sync-interp.exp: Likewise.
666 * gdb.server/ext-attach.exp: Likewise.
667 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
668 tests that need to attach, instead of checking whether the target
669 board is remote at the top of the file.
670
acc018ac
YQ
6712015-01-08 Yao Qi <yao@codesourcery.com>
672
673 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
674
50a18af8
JK
6752015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
676
677 Fix testcase compilation.
678 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
679
8503d6e1
JB
6802015-01-06 Joel Brobecker <brobecker@adacore.com>
681
682 * gdb.python/py-type.exp: Add a couple test about empty
683 array creation, and negative-length array creation.
684
cc73dbcc
DE
6852015-01-02 Doug Evans <xdje42@gmail.com>
686
687 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
688
0300bbc7
DE
6892015-01-02 Doug Evans <dje@google.com>
690
691 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
692
9d85a0ec
YQ
6932014-12-29 Yao Qi <yao@codesourcery.com>
694
695 * gdb.trace/entry-values.exp: Update comments. Rename variable
696 bar_call_foo to returned_from_foo.
697
87186c6a
MMN
6982014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
699
700 PR gdb/17394
701 * gdb.linespec/break-asm-file.c: New file.
702 * gdb.linespec/break-asm-file.exp: New file.
703 * gdb.linespec/break-asm-file0.s: New file.
704 * gdb.linespec/break-asm-file1.s: New file.
705
1bab7383
YQ
7062014-12-18 Nigel Stephens <nigel@mips.com>
707 Maciej W. Rozycki <macro@codesourcery.com>
708
709 * gdb.base/float.exp: Handle the new output from "info float" on
710 MIPS targets.
711
1bc1068a
JK
7122014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
713
714 Fix MinGW compilation.
715 * gdb.compile/compile-ops.exp: Update untested message if
716 !skip_compile_feature_tests.
717 * gdb.compile/compile-setjmp.exp: Likewise.
718 * gdb.compile/compile-tls.exp: Likewise.
719 * gdb.compile/compile.exp: Likewise.
720 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
721 supported on this host".
722
b6615d10
DE
7232014-12-16 Doug Evans <xdje42@gmail.com>
724
725 * boards/stabs.exp: New file.
726
25dda427
AA
7272014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
728
729 * gdb.base/completion.exp: Adjust to format changes of "maint
730 print user-registers".
731
bf330350
CU
7322014-12-16 Catalin Udma <catalin.udma@freescale.com>
733
734 PR server/17457
735 * gdb.arch/aarch64-fp.c: New file.
736 * gdb.arch/aarch64-fp.exp: New file.
737
395cf596
SDJ
7382014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
739
740 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
741 r210637, r210913, r211666, r215400, r215817).
742
743 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
744 * dg-extract-results.py: New file.
745 * dg-extract-results.sh: Use it if the environment seems
746 suitable.
747
748 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
749
750 * dg-extract-results.py (parse_run): Handle warnings that
751 are printed before a test harness is run.
752
753 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
754
755 * dg-extract-results.py (Named): Remove __cmp__ method.
756 (output_variation): Use a key to sort variation.harnesses.
757
758 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
759
760 * dg-extract-results.py: For Python 3, force sys.stdout to
761 handle surrogate escape sequences.
762 (safe_open): New function.
763 (output_segment, main): Use it.
764
765 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
766
767 * dg-extract-results.py (Prog.result_re): Include options
768 in test name.
769
770 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
771
772 * dg-extract-results.py (output_variation): Always sort if
773 do_sum.
774
e882ef3c
SM
7752014-12-15 Simon Marchi <simon.marchi@ericsson.com>
776
777 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
778 as long as we get pagination notifications.
779
4992aa20
JM
7802014-12-15 Jason Merrill <jason@redhat.com>
781
782 * Makefile.in (check-gdb.%): Restore.
783 * README: Mention it.
784
c1b5a1a6
JB
7852014-12-13 Joel Brobecker <brobecker@adacore.com>
786
787 * gdb.ada/str_uninit: New testcase.
788
5537b577
JK
7892014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
790
791 PR symtab/17642
792 * gdb.base/vla-stub-define.c: New file.
793 * gdb.base/vla-stub.c: New file.
794 * gdb.base/vla-stub.exp: New file.
795
bb2ec1b3
TT
7962014-12-12 Phil Muldoon <pmuldoon@redhat.com>
797 Jan Kratochvil <jan.kratochvil@redhat.com>
798 Tom Tromey <tromey@redhat.com>
799
800 * configure.ac: Add gdb.compile/.
801 * configure: Regenerate.
802 * gdb.compile/Makefile.in: New file.
803 * gdb.compile/compile-ops.exp: New file.
804 * gdb.compile/compile-ops.c: New file.
805 * gdb.compile/compile-tls.c: New file.
806 * gdb.compile/compile-tls.exp: New file.
807 * gdb.compile/compile-constvar.S: New file.
808 * gdb.compile/compile-constvar.c: New file.
809 * gdb.compile/compile-mod.c: New file.
810 * gdb.compile/compile-nodebug.c: New file.
811 * gdb.compile/compile-setjmp-mod.c: New file.
812 * gdb.compile/compile-setjmp.c: New file.
813 * gdb.compile/compile-setjmp.exp: New file.
814 * gdb.compile/compile-shlib.c: New file.
815 * gdb.compile/compile.c: New file.
816 * gdb.compile/compile.exp: New file.
817 * lib/gdb.exp (skip_compile_feature_tests): New proc.
818
4ff709eb
TT
8192014-12-12 Tom Tromey <tromey@redhat.com>
820
821 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
822 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
823
6dddd6a5
DE
8242014-12-12 Doug Evans <dje@google.com>
825
826 * lib/gdb-python.exp (get_python_valueof): New function.
827 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
828
71c24708
AA
8292014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
830
831 * gdb.base/completion.exp: Add test for completion of "info
832 registers ".
833
3e29f34a
MR
8342014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
835
836 * gdb.base/func-ptrs.c: New file.
837 * gdb.base/func-ptrs.exp: New file.
838
fc126975
SM
8392014-12-10 Simon Marchi <simon.marchi@ericsson.com>
840
841 PR breakpoints/17012
842 * gdb.base/dprintf-detach.c: New file.
843 * gdb.base/dprintf-detach.exp: New file.
844
0a46d518
SM
8452014-12-10 Simon Marchi <simon.marchi@ericsson.com>
846
847 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
848 * lib/gdb.exp (target_is_gdbserver): New procedure.
849
a0be3e44
DE
8502014-12-08 Doug Evans <dje@google.com>
851
852 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
853
df1b803a
YQ
8542014-12-05 Yao Qi <yao@codesourcery.com>
855
856 * gdb.guile/scm-error.exp: Remove the third argument to
857 gdb_remote_download.
858 * gdb.guile/scm-frame-args.exp: Likewise.
859 * gdb.guile/scm-section-script.exp: Likewise.
860
ddb9f679
YQ
8612014-12-05 Yao Qi <yao@codesourcery.com>
862
863 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
864
86e4ed39
DE
8652014-12-04 Doug Evans <dje@google.com>
866
867 * gdb.python/py-objfile.exp: Add tests for
868 objfile.add_separate_debug_file.
869
7c50a931
DE
8702014-12-04 Doug Evans <dje@google.com>
871
872 * lib/gdb.exp (get_build_id): New function.
873 (build_id_debug_filename_get): Rewrite to use it.
874 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
875
621661e3
MR
8762014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
877
878 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
879 `method(long)', not just 0x0.
880 * gdb.cp/nsalias.exp: Align code labels to 4.
881 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
882 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
883 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
884 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
885 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
886 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
887
29f0c3b7
DE
8882014-12-02 Doug Evans <dje@google.com>
889
e1e061e7 890 PR symtab/17602
29f0c3b7 891 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 892 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
893 * gdb.cp/anon-ns.exp: Update.
894
162078c8
NB
8952014-12-02 Nick Bull <nicholaspbull@gmail.com>
896
897 * gdb.python/py-events.py (inferior_call_handler): New.
898 (register_changed_handler, memory_changed_handler): New.
899 (test_events.invoke): Register new handlers.
900 * gdb.python/py-events.exp: Add tests for inferior call,
901 memory_changed and register_changed events.
902
fdb09caf
AA
9032014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
904
905 * gdb.base/execl-update-breakpoints.exp: Specify the link address
906 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
907 if the linker doesn't understand this.
908
55cfb2c4
SM
9092014-12-01 Simon Marchi <simon.marchi@ericsson.com>
910
911 * gdb.python/python.exp: Change expected reply to help().
912
9e8cd6df
YQ
9132014-12-01 Yao Qi <yao@codesourcery.com>
914
915 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
916 AC_CONFIG_SUBDIRS(gdb.gdbtk).
917 * configure: Re-generated.
918
6c659fc2
SC
9192014-11-28 Siva Chandra Reddy <sivachandra@google.com>
920
921 * gdb.cp/chained-calls.cc: New file.
922 * gdb.cp/chained-calls.exp: New file.
923 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
924
d7fc3181
SM
9252014-11-28 Simon Marchi <simon.marchi@ericsson.com>
926
927 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
928 * gdb.dwarf2/symtab-producer.exp: Same.
929 * gdb.gdb/python-interrupts.exp: Same.
930 * gdb.gdb/python-selftest.exp: Same.
931 * gdb.python/py-linetable.exp: Same.
932 * gdb.python/py-type.exp: Same.
933 * gdb.python/py-value-cc.exp: Same.
934 * gdb.python/py-value.exp: Same.
935
10e79639
YQ
9362014-11-28 Yao Qi <yao@codesourcery.com>
937
938 * gdb.base/break-probes.exp: Match library name prefixed with
939 sysroot.
940
f28a0564
SM
9412014-11-27 Simon Marchi <simon.marchi@ericsson.com>
942
943 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
944 test expected output. Add parentheses for the call to print.
945 Remove L suffix from integers.
946
3fe1ce1d
DE
9472014-11-26 Doug Evans <dje@google.com>
948
949 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
950
84429e27
YQ
9512014-11-22 Yao Qi <yao@codesourcery.com>
952
953 * gdb.trace/entry-values.c: Remove asms.
954 (foo): Add foo_label.
955 (bar): Add bar_label.
956 * gdb.trace/entry-values.exp: Remove code computing foo's
957 length and bar's length.
958 (Dwarf::assemble): Invoke function_range for bar and use
959 MACRO_AT_func for foo.
960
26741859
YQ
9612014-11-22 Yao Qi <yao@codesourcery.com>
962
963 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
964 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
965 Use .Lgcc43_procstart instead of gcc43.
966
45e44d27
JB
9672014-11-21 Joel Brobecker <brobecker@adacore.com>
968
969 * gdb.ada/n_arr_bound: New testcase.
970
458c8db8
SDJ
9712014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
972
973 PR breakpoints/10737
974 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
975 test_catch_syscall_multi_arch.
976 (test_catch_syscall_multi_arch): New function.
977
43f3e411
DE
9782014-11-20 Doug Evans <xdje42@gmail.com>
979
980 * gdb.base/maint.exp: Update expected output.
981
0d7b2549
AA
9822014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
983
984 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
985 4-byte instruction on S390.
986
8908fca5
JB
9872014-11-19 Joel Brobecker <brobecker@adacore.com>
988
989 * gdb.ada/arr_arr: New testcase.
990
4a46959e
JB
9912014-11-19 Joel Brobecker <brobecker@adacore.com>
992
993 * gdb.ada/pkd_arr_elem: New Testcase.
994
470e2f4e
LM
9952014-11-18 Luis Machado <lgustavo@codesourcery.com>
996
997 * gdb.reverse/break-precsave: Expect completion message for
998 core file reads.
999 * gdb.reverse/consecutive-precsave.exp: Likewise.
1000 * gdb.reverse/finish-precsave.exp: Likewise.
1001 * gdb.reverse/i386-precsave.exp: Likewise.
1002 * gdb.reverse/machinestate-precsave.exp: Likewise.
1003 * gdb.reverse/sigall-precsave.exp: Likewise.
1004 * gdb.reverse/solib-precsave.exp: Likewise.
1005 * gdb.reverse/step-precsave.exp: Likewise.
1006 * gdb.reverse/until-precsave.exp: Likewise.
1007 * gdb.reverse/watch-precsave.exp: Likewise.
1008
a267f3ad
AA
10092014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1010
1011 * gdb.base/bp-permanent.c: Include unistd.h.
1012 * gdb.python/py-framefilter-mi.c (main): Add return type.
1013 * gdb.python/py-framefilter.c (main): Likewise.
1014 * gdb.trace/actions-changed.c (main): Likewise.
1015
12084a9a
AA
10162014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1017
1018 * gdb.mi/until.c: Add eye-catchers.
1019 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1020 line numbers.
1021
dc7e1a77
AA
10222014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1023
1024 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1025 function header variants in break1.c.
1026 * gdb.base/ena-dis-br.exp: Likewise.
1027 * gdb.base/hbreak2.exp: Likewise.
1028 * gdb.reverse/until-precsave.exp: Drop references to removed
1029 non-prototype function header variants in ur1.c.
1030 * gdb.reverse/until-reverse.exp: Likewise.
1031
41c77605
PM
10322014-11-17 Petr Machata <pmachata@redhat.com>
1033
1034 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1035 ${_cu_offset_size} bytes abbrev offset.
1036
34248c3a
DE
10372014-11-15 Doug Evans <xdje42@gmail.com>
1038
1039 PR symtab/17559
1040 * gdb.base/line-symtabs.exp: New file.
1041 * gdb.base/line-symtabs.c: New file.
1042 * gdb.base/line-symtabs.h: New file.
1043
646da059
YQ
10442014-11-14 Yao Qi <yao@codesourcery.com>
1045
1046 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1047 (func): Add label func_label.
1048 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1049 Replace low_pc and high_pc with MACRO_AT_range.
1050 Replace name, low_pc and high_pc with MACRO_AT_func.
1051
9301ebe6
YQ
10522014-11-14 Yao Qi <yao@codesourcery.com>
1053
1054 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1055 Replace name, low_pc and high_pc with MACRO_AT_func.
1056
f166b542
YQ
10572014-11-14 Yao Qi <yao@codesourcery.com>
1058
1059 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1060 produce debug information.
1061 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1062
0f6e71e3
YQ
10632014-11-14 Yao Qi <yao@codesourcery.com>
1064
1065 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1066 object and get function length.
1067 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1068 with MACRO_AT_func.
1069 (top-level): Replace gdb_compile and clean_restart with
1070 prepare_for_testing.
1071 * gdb.dwarf2/main.c (main): Add label main_label.
1072
876c4df9
YQ
10732014-11-14 Yao Qi <yao@codesourcery.com>
1074
1075 * lib/dwarf.exp (function_range): New procedure.
1076 (Dwarf::_handle_macro_at_func): New procedure.
1077 (Dwarf::_handle_macro_at_range): New procedure.
1078 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1079
02ad9cf1
YQ
10802014-11-14 Yao Qi <yao@codesourcery.com>
1081
1082 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1083 (_handle_attribute): New procedure.
1084
a59add0c
AA
10852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1086
1087 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1088 * gdb.base/call-sc.c (zed): Likewise.
1089 * gdb.base/checkpoint.c (main): Likewise.
1090 * gdb.base/dump.c (main): Likewise.
1091 * gdb.base/gcore.c (main): Likewise.
1092 * gdb.base/huge.c (main): Likewise.
1093 * gdb.base/multi-forks.c (main): Likewise.
1094 * gdb.base/pr10179-a.c (main): Likewise.
1095 * gdb.base/savedregs.c (main): Likewise.
1096 * gdb.base/sigaltstack.c (main): Likewise.
1097 * gdb.base/siginfo.c (main): Likewise.
1098 * gdb.base/structs.c (zed): Likewise.
1099 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1100 * gdb.mi/mi-syn-frame.c (main): Likewise.
1101 * gdb.mi/until.c (foo, main): Likewise.
1102 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1103 * gdb.base/solib-weak.c (foo): Declare.
1104 * gdb.base/attach-twice.c: Include stdio.h.
1105 * gdb.base/weaklib1.c: Likewise.
1106 * gdb.base/weaklib2.c: Likewise.
1107 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1108 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1109 unistd.h.
1110 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1111 * gdb.mi/mi-exit-code.c: Likewise.
1112 * gdb.base/break-interp-lib.c: Include string.h.
1113 * gdb.base/coremaker.c: Likewise.
1114 * gdb.base/testenv.c: Likewise.
1115 * gdb.python/py-finish-breakpoint.c: Likewise.
1116 * gdb.base/inferior-died.c: Include sys/wait.h.
1117 * gdb.base/fileio.c: Include time.h.
1118 * gdb.base/async-shell.c: Include unistd.h.
1119 * gdb.base/dprintf-non-stop.c: Likewise.
1120 * gdb.base/info-os.c: Likewise.
1121 * gdb.mi/mi-console.c: Likewise.
1122 * gdb.mi/watch-nonstop.c: Likewise.
1123 * gdb.python/py-events.c: Likewise.
1124 * gdb.base/async.c (baz): Move up before its invocation.
1125 * gdb.base/code_elim2.c (my_global_func): Likewise.
1126 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1127 * gdb.base/advance.c (func2): Likewise.
1128
3b5d5997
AA
11292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1130
1131 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1132 variant.
1133 * gdb.base/annota3.c: Likewise.
1134 * gdb.base/async.c: Likewise.
1135 * gdb.base/average.c: Likewise.
1136 * gdb.base/call-ar-st.c: Likewise.
1137 * gdb.base/call-rt-st.c: Likewise.
1138 * gdb.base/call-sc.c: Likewise.
1139 * gdb.base/call-strs.c: Likewise.
1140 * gdb.base/ending-run.c: Likewise.
1141 * gdb.base/execd-prog.c: Likewise.
1142 * gdb.base/exprs.c: Likewise.
1143 * gdb.base/foll-exec.c: Likewise.
1144 * gdb.base/foll-fork.c: Likewise.
1145 * gdb.base/foll-vfork.c: Likewise.
1146 * gdb.base/funcargs.c: Likewise.
1147 * gdb.base/gcore.c: Likewise.
1148 * gdb.base/jump.c: Likewise.
1149 * gdb.base/langs0.c: Likewise.
1150 * gdb.base/langs1.c: Likewise.
1151 * gdb.base/langs2.c: Likewise.
1152 * gdb.base/mips_pro.c: Likewise.
1153 * gdb.base/nodebug.c: Likewise.
1154 * gdb.base/opaque0.c: Likewise.
1155 * gdb.base/opaque1.c: Likewise.
1156 * gdb.base/recurse.c: Likewise.
1157 * gdb.base/run.c: Likewise.
1158 * gdb.base/scope0.c: Likewise.
1159 * gdb.base/scope1.c: Likewise.
1160 * gdb.base/setshow.c: Likewise.
1161 * gdb.base/setvar.c: Likewise.
1162 * gdb.base/shmain.c: Likewise.
1163 * gdb.base/shr1.c: Likewise.
1164 * gdb.base/shr2.c: Likewise.
1165 * gdb.base/sigall.c: Likewise.
1166 * gdb.base/signals.c: Likewise.
1167 * gdb.base/so-indr-cl.c: Likewise.
1168 * gdb.base/solib2.c: Likewise.
1169 * gdb.base/structs.c: Likewise.
1170 * gdb.base/sum.c: Likewise.
1171 * gdb.base/vforked-prog.c: Likewise.
1172 * gdb.base/watchpoint.c: Likewise.
1173 * gdb.reverse/shr2.c: Likewise.
1174 * gdb.reverse/until-reverse.c: Likewise.
1175 * gdb.reverse/ur1.c: Likewise.
1176 * gdb.reverse/watch-reverse.c: Likewise.
1177
066a77c5
AA
11782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1179
1180 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1181 variant.
1182 * gdb.base/sepdebug.exp: Drop references to removed code.
1183
4f204ea5
AA
11842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1185
1186 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1187 variant. Preserve original line numbering.
1188 * gdb.base/list1.c: Likewise.
1189
3b377a3a
AA
11902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1191
1192 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1193 variant.
1194 * gdb.base/break1.c: Likewise.
1195 * gdb.base/break.exp: Drop references to removed code.
1196
e444df73
AA
11972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1198
1199 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1200 variant.
1201
8008f2a7
AA
12022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1203
1204 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1205
a5a06887
AA
12062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1207
1208 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1209 logic into perform_all_tests() and invoke it with and without
1210 function header prototypes.
1211 (do_function_calls): Remove conditional XFAIL for PR 5318.
1212 (rerun_and_prepare): Remove duplicate code.
1213 (perform_all_tests): New. Main logic moved here.
1214
44dba9b9
AA
12152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1216
1217 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1218 code guarded by #ifdef NO_PROTOTYPES.
1219 (t_double_many_args): Likewise.
1220 (DEF_FUNC_MANY_ARGS_1): Likewise.
1221 (DEF_FUNC_VALUES_1): Likewise.
1222 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1223 guarded by #ifdef PROTOTYPES.
1224
d1fbcd56
AA
12252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1226
1227 * gdb.mi/mi-console.c: Add eye-catcher.
1228 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1229 instead of literal line number.
1230
b0e59b8f
AA
12312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1232
1233 * gdb.base/shr2.c: Add eye-catcher.
1234 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1235 line number.
1236
78f98cca
AA
12372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1238
1239 * gdb.base/jump.c: Add eye-catchers.
1240 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1241 numbers.
1242
58fa2af0
AA
12432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1244
1245 * gdb.base/execd-prog.c: Add eye-catchers.
1246 * gdb.base/foll-exec.c: Likewise.
1247 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1248 line numbers.
1249
04e5059b
AA
12502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1251
1252 * gdb.base/ending-run.c: Add eye-catchers.
1253 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1254 literal line numbers.
1255
dbfdb174
AA
12562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1257
1258 * gdb.base/call-rt-st.c: Add eye-catchers.
1259 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1260 literal line numbers.
1261
888a2ade
AA
12622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1263
1264 * gdb.base/call-ar-st.c: Add eye-catchers.
1265 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1266 literal line numbers.
1267
6acc2dde
AA
12682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1269
1270 * gdb.base/average.c: Add eye-catchers.
1271 * gdb.base/sum.c: Likewise.
1272 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1273 regexps dynamically.
1274
9ecfcd1d
AA
12752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1276
1277 * gdb.base/solib1.c: Add eye-catchers.
1278 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1279 literal line numbers.
1280
78708b7c
PA
12812014-11-12 Pedro Alves <palves@redhat.com>
1282
1283 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1284 leader has exited.
1285
af48d08f
PA
12862014-11-12 Pedro Alves <palves@redhat.com>
1287
1288 * gdb.arch/i386-bp_permanent.c: New file.
1289 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1290 (srcfile): Set to i386-bp_permanent.c.
1291 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1292 that stepi does not execute the 'leave' instruction, instead of
1293 testing it does execute.
1294 * gdb.base/bp-permanent.c: New file.
1295 * gdb.base/bp-permanent.exp: New file.
1296
af3768e9
DE
12972014-11-10 Doug Evans <xdje42@gmail.com>
1298
1299 PR symtab/17564
1300 * gdb.base/symtab-search-order.exp: New file.
1301 * gdb.base/symtab-search-order.c: New file.
1302 * gdb.base/symtab-search-order-1.c: New file.
1303 * gdb.base/symtab-search-order-shlib-1.c: New file.
1304
9de00a4a
PA
13052014-11-07 Pedro Alves <palves@redhat.com>
1306
1307 PR gdb/17511
1308 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1309 i?86-*-linux*.
1310
e0f52461
SC
13112014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1312
1313 PR c++/17494
1314 * gdb.cp/pr17494.cc: New file.
1315 * gdb.cp/pr17494.exp: New file.
1316
6ce8c980
YQ
13172014-11-02 Yao Qi <yao@codesourcery.com>
1318
1319 * gdb.python/python.exp: Get working directory and match the
1320 output of "set extended-prompt \\w " with it.
1321
02be9a71
DE
13222014-10-30 Doug Evans <dje@google.com>
1323
1324 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1325 in objfiles.
1326 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1327 in progspaces.
1328
3bdff46b
LM
13292014-10-30 Janis Johnson <janisjo@codesourcery.com>
1330
1331 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1332 * gdb.base/realname-expand.exp: Likewise.
1333 * gdb.linespec/macro-relative.exp: Likewise.
1334
ab917dfb
PA
13352014-10-29 Pedro Alves <palves@redhat.com>
1336
1337 PR gdb/17408
1338 * gdb.threads/schedlock.c (some_function): New function.
1339 (call_function): New global.
1340 (MAYBE_CALL_SOME_FUNCTION): New macro.
1341 (thread_function): Call it.
1342 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1343 and use it instead of a global counter. Adjust all callers.
1344 (get_current_thread): Use "find current thread" for test message
1345 here rather than having all callers pass down the same string.
1346 (goto_loop): New procedure, factored out from ...
1347 (my_continue): ... this.
1348 (step_ten_loops): Change parameter from test message to command to
1349 use. Adjust.
1350 (list_count): Delete global.
1351 (check_result): New procedure, factored out from duplicate top
1352 level code.
1353 (continue tests): Wrap in with_test_prefix.
1354 (test_step): New procedure, factored out from duplicate top level
1355 code.
1356 (top level): Test "step" in combination with all scheduler-locking
1357 modes. Test "next" in combination with all scheduler-locking
1358 modes, and in combination with stepping over a function call or
1359 not.
1360 * gdb.threads/next-bp-other-thread.c: New file.
1361 * gdb.threads/next-bp-other-thread.exp: New file.
1362
d3d4baed
PA
13632014-10-29 Pedro Alves <palves@redhat.com>
1364
1365 PR python/17372
1366 * gdb.python/python.exp: Test a multi-line command that spawns
1367 interactive Python.
1368 * gdb.base/multi-line-starts-subshell.exp: New file.
1369
563e8d85
YQ
13702014-10-29 Yao Qi <yao@codesourcery.com>
1371
1372 * gdb.base/fileio.exp: Make directories on host.
1373
0ea4d52e
YQ
13742014-10-29 Yao Qi <yao@codesourcery.com>
1375
1376 * gdb.base/fileio.c (test_write): Close the file.
1377
7f5ef605
PA
13782014-10-28 Pedro Alves <palves@redhat.com>
1379
1380 PR gdb/12623
1381 * gdb.base/sigstep.c (no_handler): New global.
1382 (main): If 'no_handler is true, set the signal handlers to
1383 SIG_IGN.
1384 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1385 with_sw_watch and no_handler parameters. Handle them.
1386 (top level) <stepping over handler when stopped at a breakpoint
1387 test>: Add a test axis for testing with a software watchpoint, and
1388 another for testing with the signal handler set to SIG_IGN.
1389 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1390 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1391
abbdbd03
PA
13922014-10-28 Pedro Alves <palves@redhat.com>
1393
1394 PR gdb/17511
1395 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1396 * gdb.base/sigstep.exp (other_handler_location): New global.
1397 (advance): Support stepping into the signal handler, and running
1398 commands while in the handler.
1399 (in_handler_map): New global.
1400 (top level): In the advance test, add combinations for getting
1401 into the handler with stepping commands, and for running commands
1402 in the handler. Add comment descripting the advancei tests.
1403
1df4399f
PA
14042014-10-28 Pedro Alves <palves@redhat.com>
1405
1406 * gdb.base/sigstep.exp: Use build_executable instead of
1407 prepare_for_testing.
1408 (top level): Move code that starts GDB, runs to main and creates a
1409 display to ...
1410 (restart): ... this new procedure.
1411 (top level): Move backtrace from signal handler test to ...
1412 (validate_backtrace): ... this new procedure.
1413 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1414 with_test_prefix. Always restart GDB.
1415 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1416 with_test_prefix. Always restart GDB. No need to delete
1417 breakpoints after the test.
1418 (test_skip_handler): Remove prefix parameter.
1419 (skip_over_handler, breakpoint_to_handler)
1420 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1421 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1422 restart GDB. No need to delete breakpoints after the test.
1423 (top level): Use foreach to call the test procedures with
1424 different commands.
1425
a5b6e449
PA
14262014-10-28 Pedro Alves <palves@redhat.com>
1427
1428 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1429 instead of GNATS numbers.
1430 * gdb.base/sigbpt.exp: Likewise.
1431 * gdb.base/siginfo.exp: Likewise.
1432 * gdb.base/sigstep.exp: Likewise.
1433
e5f8a7cc
PA
14342014-10-27 Pedro Alves <palves@redhat.com>
1435
1436 * gdb.base/sigstep.c (dummy): New global.
1437 (main): Issue a couple writes to the new global.
1438 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1439 procedures.
1440 (skip_over_handler): Use test_skip_handler.
1441 (top level): Call skip_over_handler for stepi and nexti too.
1442 (breakpoint_over_handler): Use test_skip_handler.
1443 (top level): Call breakpoint_over_handler for stepi and nexti too.
1444
763905a3
YQ
14452014-10-27 Yao Qi <yao@codesourcery.com>
1446
1447 * gdb.trace/tfile.c (adjust_function_address)
1448 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1449 function descriptor.
1450
6f259a23
DB
14512014-10-24 Don Breazeal <donb@codesourcery.com>
1452
1453 * gdb.base/foll-fork.exp (test_follow_fork,
1454 catch_fork_child_follow): Check for updated fork messages emitted
1455 from infrun.c.
1456 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1457 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1458 vfork_and_exec_child_follow_through_step): Check for updated vfork
1459 messages emitted from infrun.c.
1460
09dd9a69
PA
14612014-10-24 Pedro Alves <palves@redhat.com>
1462
1463 * gdb.base/corefile.exp: Remove references to ultrix.
1464 * gdb.base/interrupt.exp: Likewise.
1465 * gdb.base/whatis.exp: Likewise.
1466 * gdb.gdb/selftest.exp: Likewise.
1467 * gdb.threads/manythreads.exp: Likewise.
1468 * gdb.threads/print-threads.exp: Likewise.
1469 * gdb.threads/pthreads.exp:: Likewise.
1470 * gdb.threads/schedlock.exp: Likewise.
1471
3433cfa5
SC
14722014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1473
1474 * gdb.cp/non-trivial-retval.cc: Add a test case.
1475 * gdb.cp/non-trivial-retval.exp: Add a test.
1476
092f880b
YQ
14772014-10-20 Yao Qi <yao@codesourcery.com>
1478
1479 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1480 * gdb.python/py-objfile-script-gdb.py: New file.
1481 * gdb.python/py-objfile-script.exp: Update reference to
1482 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1483 of remote_download. Remove the dest file.
1484
acbdb7f3
YQ
14852014-10-20 Yao Qi <yao@codesourcery.com>
1486
1487 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1488 * gdb.base/step-line.exp: Likewise.
1489 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1490 * gdb.dwarf2/dw2-basic.exp: Likewise.
1491 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1492 * gdb.dwarf2/dw2-filename.exp: Likewise.
1493 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1494 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1495 * gdb.dwarf2/dw2-producer.exp: Likewise.
1496 * gdb.dwarf2/mac-fileno.exp: Likewise.
1497 * gdb.python/py-frame-args.exp: Likewise.
1498 * gdb.python/py-framefilter.exp: Likewise.
1499 * gdb.python/py-mi.exp: Likewise.
1500 * gdb.python/py-objfile-script.exp: Likewise
1501 * gdb.python/py-pp-integral.exp: Likewise.
1502 * gdb.python/py-pp-re-notag.exp: Likewise.
1503 * gdb.python/py-prettyprint.exp: Likewise.
1504 * gdb.python/py-section-script.exp: Likewise.
1505 * gdb.python/py-typeprint.exp: Likewise.
1506 * gdb.python/py-xmethods.exp: Likewise.
1507 * gdb.stabs/weird.exp: Likewise.
1508 * gdb.xml/tdesc-regs.exp: Likewise.
1509
bd286a29
KCY
15102014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1511
1512 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1513 (out_cu): Use addr_len for the size of addresses.
1514 (out_line): Likewise. Size DW_LNE_set_address instruction
1515 according to addr_len.
1516 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1517 (FUNC): Add START_INSNS to definition.
1518
673dc4a0
YQ
15192014-10-18 Yao Qi <yao@codesourcery.com>
1520
1521 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1522 gdb_has_argv0 return true.
1523 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1524 check [target_info exists noargs], check [gdb_has_argv0]
1525 instead.
1526 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1527 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1528 procedures.
1529
4ffbba72
DE
15302014-10-17 Doug Evans <dje@google.com>
1531
1532 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1533 event.
1534 * gdb.python/py-events.py: Add clear_objfiles event.
1535
d096d8c1
DE
15362014-10-17 Doug Evans <dje@google.com>
1537
1538 * gdb.python/py-objfile.exp: Test progspace attribute.
1539
a80db015
LM
15402014-10-17 Luis Machado <lgustavo@codesourcery.com>
1541
1542 * gdb.guile/scm-breakpoint.exp: Do not assume any
1543 directory separators when matching source file paths.
1544 * gdb.python/py-breakpoint.exp: Likewise.
1545 * gdb.reverse/break-precsave.exp: Likewise.
1546 * gdb.reverse/break-reverse.exp: Likewise.
1547 * gdb.reverse/consecutive-precsave.exp: Likewise.
1548 * gdb.reverse/finish-precsave.exp: Likewise.
1549 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1550 * gdb.reverse/finish-reverse.exp: Likewise.
1551 * gdb.reverse/i386-precsave.exp: Likewise.
1552 * gdb.reverse/i387-env-reverse.exp: Likewise.
1553 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1554 * gdb.reverse/machinestate-precsave.exp: Likewise.
1555 * gdb.reverse/machinestate.exp: Likewise.
1556 * gdb.reverse/sigall-precsave.exp: Likewise.
1557 * gdb.reverse/solib-precsave.exp: Likewise.
1558 * gdb.reverse/step-precsave.exp: Likewise.
1559 * gdb.reverse/until-precsave.exp: Likewise.
1560 * gdb.reverse/watch-precsave.exp: Likewise.
1561 * gdb.reverse/watch-reverse.exp: Likewise.
1562
b22089ab
YQ
15632014-10-17 Yao Qi <yao@codesourcery.com>
1564
1565 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1566 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1567
6c4486e6
PA
15682014-10-17 Pedro Alves <palves@redhat.com>
1569
1570 PR gdb/17471
1571 * gdb.base/bg-execution-repeat.c: New file.
1572 * gdb.base/bg-execution-repeat.exp: New file.
1573
0ff33695
PA
15742014-10-17 Pedro Alves <palves@redhat.com>
1575
1576 PR gdb/17300
1577 * gdb.base/continue-all-already-running.c: New file.
1578 * gdb.base/continue-all-already-running.exp: New file.
1579
6fdebc3d
PA
15802014-10-17 Pedro Alves <palves@redhat.com>
1581
1582 PR gdb/17472
1583 * gdb.base/annota-input-while-running.c: New file.
1584 * gdb.base/annota-input-while-running.exp: New file.
1585
32a8097b
PA
15862014-10-17 Pedro Alves <palves@redhat.com>
1587
1588 * gdb.base/callfuncs.exp: emove references to osf.
1589 * gdb.base/sigall.exp: Likewise.
1590 * gdb.gdb/selftest.exp: Likewise.
1591 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1592 * gdb.mi/non-stop.c: Likewise.
1593 * gdb.mi/pthreads.c: Likewise.
1594 * gdb.reverse/sigall-precsave.exp: Likewise.
1595 * gdb.reverse/sigall-reverse.exp: Likewise.
1596 * gdb.threads/pthreads.c: Likewise.
1597 * gdb.threads/pthreads.exp: Likewise.
1598
7a3517ff
YQ
15992014-10-17 Yao Qi <yao@codesourcery.com>
1600
1601 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1602 check 'target_info exists noargs'.
1603 (test_command_prompt_position): Likewise.
1604 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1605 Remove "set args".
1606 (progvar_simple_while_test): Likewise.
1607 (progvar_complex_if_while_test): Likewise.
1608 (if_while_breakpoint_command_test): Likewise.
1609 (infrun_breakpoint_command_test): Likewise.
1610 (breakpoint_command_test): Likewise.
1611 (watchpoint_command_test): Likewise.
1612 (bp_deleted_in_command_test): Likewise.
1613 (temporary_breakpoint_commands): Likewise.
1614
bb99c472
YQ
16152014-10-16 Yao Qi <yao@codesourcery.com>
1616
1617 * gdb.base/remotetimeout.exp: Remove noargs checking.
1618
7c16b83e
PA
16192014-10-15 Pedro Alves <palves@redhat.com>
1620
1621 PR breakpoints/9649
1622 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1623 * gdb.base/breakpoint-in-ro-region.exp
1624 (probe_target_hardware_step): New procedure.
1625 (top level): Probe hardware stepping and hardware breakpoint
1626 support. Test stepping through a read-only region, with both
1627 "breakpoint auto-hw" on and off and both "always-inserted" on and
1628 off.
1629
35a49624
IB
16302014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1631
1632 * gdb.dlang/demangle.exp: Update for demangling changes.
1633
2d1c107c
SC
16342014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1635
1636 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1637 * gdb.cp/non-trivial-retval.exp: Add new tests.
1638
778811d5
SC
16392014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1640
1641 PR c++/13403
1642 PR c++/15154
1643 * gdb.cp/non-trivial-retval.cc: New file.
1644 * gdb.cp/non-trivial-retval.exp: New file.
1645
10c5f0a8
YQ
16462014-10-15 Yao Qi <yao@codesourcery.com>
1647
1648 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1649 remote host.
1650
65d7b369
YQ
16512014-10-15 Yao Qi <yao@codesourcery.com>
1652
1653 * gdb.python/py-symbol.exp: Match file base name if host is
1654 remote, otherwise match file name with dir name.
1655 * gdb.python/py-symtab.exp: Likewise.
1656 * gdb.python/python.exp: Likewise.
1657
46dc1394
YQ
16582014-10-15 Yao Qi <yao@codesourcery.com>
1659
1660 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1661 pattern.
1662 * gdb.python/py-symtab.exp: Likewise.
1663 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1664 locationn.
1665
c40cc657
JB
16662014-10-14 Joel Brobecker <brobecker@adacore.com>
1667
1668 * gdb.ada/addr_arith: New testcase.
1669
2abf49e1
MR
16702014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1671
1672 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1673 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1674 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1675 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1676
f7088df3
SDJ
16772014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1678
1679 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1680 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1681 * gdb.arch/stap-eval-lang-ada.exp: New file.
1682
4dc06805
YQ
16832014-10-14 Yao Qi <yao@codesourcery.com>
1684
1685 * gdb.mi/mi-var-child.c (nothing1): New function.
1686 (nothing2): New function.
1687 (do_children_tests): Set function pointers by nothing1 and
1688 nothing2.
1689 * gdb.mi/mi-var-child.exp: Step over new added statements.
1690 Update test to match the new output.
1691 * gdb.mi/var-cmd.c (nothing1): New function.
1692 (nothing2): New function.
1693 (do_children_tests): Set function pointers by nothing1 and
1694 nothing2.
1695 * gdb.mi/mi-var-display.exp: Update test to match output.
1696 Step to the line specified by $line_dct_nothing.
1697 Increase the number of lines to step.
1698
46a93de2
YQ
16992014-10-14 Yao Qi <yao@codesourcery.com>
1700
1701 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1702 tests.
1703 * gdb.mi/mi2-var-child.exp: Likewise.
1704
14ea52ee
DE
17052014-10-13 Doug Evans <dje@google.com>
1706
1707 * gdb.python/py-objfile.exp: Change name of file name test.
1708
e5c6e92b
DE
17092014-10-13 Doug Evans <dje@google.com>
1710
1711 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1712 from the start of the CU.
1713
c780cc2f
JK
17142014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1715 Yao Qi <yao@codesourcery.com>
1716
1717 Fix "save breakpoints" for "catch" command.
1718 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1719 Remove -nonewline. Match also the added "main" line.
1720
99894e11
JK
17212014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1722
1723 Fix "save breakpoints" for "disable $bpnum" command.
1724 * gdb.base/save-bp.c (main): Add label.
1725 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1726
6e1ac5a3
JK
17272014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1728
1729 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1730
754dd2b0
YQ
17312014-10-11 Yao Qi <yao@codesourcery.com>
1732
1733 * gdb.server/server-kill.exp: Execute command
1734 "set remote trace-status-packet on" before "tstatus".
1735
f90183d7
YQ
17362014-10-11 Yao Qi <yao@codesourcery.com>
1737
1738 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1739 (main): Call getppid.
1740 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1741 and continue to it. Read variable "server_pid".
1742
bf40a607
YQ
17432014-10-11 Yao Qi <yao@codesourcery.com>
1744
1745 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1746
052ca370
YQ
17472014-10-11 Yao Qi <yao@codesourcery.com>
1748
1749 * gdb.threads/thread-find.exp: Don't execute command
1750 "info threads".
1751 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1752 * gdb.threads/linux-dp.exp: Don't check the condition
1753 $threads_created equals to zero.
1754
3831839c
PA
17552014-10-10 Pedro Alves <palves@redhat.com>
1756
1757 * gdb.base/bigcore.exp: Remove references to IRIX.
1758 * gdb.base/funcargs.exp: Likewise.
1759 * gdb.base/interrupt.exp: Likewise.
1760 * gdb.base/mips_pro.exp: Likewise.
1761 * gdb.base/nodebug.exp: Likewise.
1762 * gdb.base/setvar.exp: Likewise.
1763 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1764
8b9a549d
PA
17652014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1766 Pedro Alves <palves@redhat.com>
1767
1768 PR symtab/14466
1769 * gdb.base/vdso-warning.c: New file.
1770 * gdb.base/vdso-warning.exp: New file.
1771
d48ba5e8
DE
17722014-10-02 Doug Evans <dje@google.com>
1773
1774 * gdb.base/structs.c (main): Don't run forever.
1775
2278c276
PA
17762014-10-02 Pedro Alves <palves@redhat.com>
1777
1778 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1779 (top level) <stop threads 1, stop threads 2>: Use it.
1780
b57bacec
PA
17812014-10-02 Pedro Alves <palves@redhat.com>
1782
1783 * gdb.threads/break-while-running.exp (test): Add new
1784 'update_thread_list' argument. Skip "info threads" if false.
1785 (top level): Add new 'update_thread_list' axis.
1786
13fd3ff3
PA
17872014-10-02 Pedro Alves <palves@redhat.com>
1788
1789 PR breakpoints/17431
1790 * gdb.base/execl-update-breakpoints.c: New file.
1791 * gdb.base/execl-update-breakpoints.exp: New file.
1792
0fec99e8
PA
17932014-10-01 Pedro Alves <palves@redhat.com>
1794
1795 * gdb.base/breakpoint-in-ro-region.c: New file.
1796 * gdb.base/breakpoint-in-ro-region.exp: New file.
1797
2ddf4301
SM
17982014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1799
1800 * gdb.mi/mi-exit-code.exp: New file.
1801 * gdb.mi/mi-exit-code.c: New file.
1802
6a5f3f43
YQ
18032014-09-30 Yao Qi <yao@codesourcery.com>
1804
1805 * lib/prelink-support.exp (build_executable_own_libs): Error if
1806 the target isn't native.
1807
345bcc73
YQ
18082014-09-30 Yao Qi <yao@codesourcery.com>
1809
1810 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1811 false.
1812
a25a5a45
PA
18132014-09-22 Pedro Alves <palves@redhat.com>
1814
1815 * gdb.threads/break-while-running.exp: New file.
1816 * gdb.threads/break-while-running.c: New file.
1817
00ba3162
YQ
18182014-09-19 Yao Qi <yao@codesourcery.com>
1819
1820 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1821 Invoke test. Restart GDB with --readnow and invoke test again.
1822
c3b7b696
YQ
18232014-09-19 Yao Qi <yao@codesourcery.com>
1824
1825 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1826 proc set_breakpoint_on_gcd_function. Invoke
1827 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1828 invoke set_breakpoint_on_gcd_function again.
1829
2b4fd423
DE
18302014-09-18 Doug Evans <dje@google.com>
1831
1832 * gdb.dwarf2/symtab-producer.exp: New file.
1833
a5947601
SDJ
18342014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1835
1836 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1837 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1838 * gdb.base/global-var-nested-by-dso.c: Likewise.
1839 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1840
91c19059
SDJ
18412014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1842 Pedro Alves <palves@redhat.com>
1843
1844 * gdb.base/watch-bitfields.exp: Pass string other than test file
1845 name to prepare_for_testing.
1846 (watch): New procedure.
1847 (expect_watchpoint): Use with_test_prefix.
1848 (top level): Factor out tests to ...
1849 (test_watch_location, test_regular_watch): ... these new
1850 procedures, and use with_test_prefix and gdb_continue_to_end.
1851
bb9d5f81
PP
18522014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1853
1854 PR breakpoints/12526
1855 * gdb.base/watch-bitfields.exp: New file.
1856 * gdb.base/watch-bitfields.c: New file.
1857
635856f5
PA
18582014-09-16 Pedro Alves <palves@redhat.com>
1859
1860 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1861 software and hardware addresses, not software address against
1862 itself.
1863
7280ceea
PA
18642014-09-16 Pedro Alves <palves@redhat.com>
1865
1866 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1867 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1868
428b16bd
PA
18692014-09-16 Pedro Alves <palves@redhat.com>
1870
1871 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1872 files.
1873 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1874 "*-*-vxworks*" throughout.
1875 * gdb.base/break.exp: Likewise.
1876 * gdb.base/default.exp: Likewise.
1877 * gdb.base/scope.exp: Likewise.
1878 * gdb.base/sepdebug.exp: Likewise.
1879 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1880 throughout.
1881 * gdb.base/run.c: Likewise.
1882 * gdb.base/sepdebug.c: Likewise.
1883 * gdb.hp/gdb.aCC/run.c: Likewise.
1884 * gdb.reverse/until-reverse.c: Likewise.
1885 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1886
666d413c
YQ
18872014-09-16 Yao Qi <yao@codesourcery.com>
1888
1889 * boards/local-remote-host-native.exp: New file.
1890
57cbd724
DE
18912014-09-14 Doug Evans <xdje42@gmail.com>
1892
1893 * gdb.threads/queue-signal.c (thread_count): New variable.
1894 (thread_count_mutex, thread_count_condvar): New variables.
1895 (incr_thread_count, wait_all_threads_running): New functions.
1896 (main): Wait for all threads to be in their thread functions.
1897
81219e53
DE
18982014-09-13 Doug Evans <xdje42@gmail.com>
1899
1900 * gdb.threads/queue-signal.c: New file.
1901 * gdb.threads/queue-signal.exp: New file.
1902
3714cea7
DE
19032014-09-13 Doug Evans <xdje42@gmail.com>
1904
1905 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1906 be consistent with what default_gdb_init uses.
1907 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1908 the plain text of the prompt. Add some logging printfs.
1909 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1910
fa43b1d7
PA
19112014-09-12 Pedro Alves <palves@redhat.com>
1912
1913 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1914 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1915 * gdb.arch/i386-size-overlap.exp: Likewise.
1916 * gdb.arch/i386-size.exp: Likewise.
1917 * gdb.arch/i386-unwind.exp: Likewise.
1918 * gdb.base/a2-run.exp: Likewise.
1919 * gdb.base/break.exp: Likewise.
1920 * gdb.base/charset.exp: Likewise.
1921 * gdb.base/chng-syms.exp: Likewise.
1922 * gdb.base/commands.exp: Likewise.
1923 * gdb.base/dbx.exp: Likewise.
1924 * gdb.base/find.exp: Likewise.
1925 * gdb.base/funcargs.exp: Likewise.
1926 * gdb.base/jit-simple.exp: Likewise.
1927 * gdb.base/reread.exp: Likewise.
1928 * gdb.base/sepdebug.exp: Likewise.
1929 * gdb.base/step-bt.exp: Likewise.
1930 * gdb.cp/mb-inline.exp: Likewise.
1931 * gdb.cp/mb-templates.exp: Likewise.
1932 * gdb.objc/basicclass.exp: Likewise.
1933 * gdb.threads/killed.exp: Likewise.
1934
9d9bf2df
EBM
19352014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1936
1937 PR tdep/17379
1938 * gdb.arch/powerpc-stackless.S: New file.
1939 * gdb.arch/powerpc-stackless.exp: New file.
1940
1cf2f1b0
JK
19412014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1942
1943 * gdb.base/attach.c: Include unistd.h.
1944 (main): Call alarm. Add label postloop.
1945 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1946 gdb_breakpoint, gdb_continue_to_breakpoint.
1947 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1948
98880d46
PA
19492014-09-11 Pedro Alves <palves@redhat.com>
1950
1951 PR gdb/17347
1952 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1953 * gdb.base/attach.exp (test_command_line_attach_run): New
1954 procedure.
1955 (top level): Call it.
1956
4c92ff2c
PA
19572014-09-11 Pedro Alves <palves@redhat.com>
1958
1959 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1960 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1961 (do_command_attach_tests): Use spawn_wait_for_attach.
1962 * gdb.base/solib-overlap.exp: Likewise.
1963 * gdb.multi/multi-attach.exp: Likewise.
1964 * gdb.python/py-prompt.exp: Likewise.
1965 * gdb.python/py-sync-interp.exp: Likewise.
1966 * gdb.server/ext-attach.exp: Likewise.
1967
3adc1a7d
GKB
19682014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1969
1970 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1971 command in testcase. Simplify testcase.
1972
96334934
JB
19732014-09-10 Joel Brobecker <brobecker@adacore.com>
1974
1975 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1976
eb479039
JB
19772014-09-10 Joel Brobecker <brobecker@adacore.com>
1978
1979 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1980
deede10c
JB
19812014-09-10 Joel Brobecker <brobecker@adacore.com>
1982
1983 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1984
7828a5f5
JB
19852014-09-10 Joel Brobecker <brobecker@adacore.com>
1986
1987 * gdb.dwarf2/dynarr-ptr.c: New file.
1988 * gdb.dwarf2/dynarr-ptr.exp: New file.
1989
33aeebcf
MR
19902014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1991
1992 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1993 of 30 rather than hardcoding 120 for a slow test case. Take the
1994 `gdb,timeout' target setting into account for this calculation.
1995 Don't extend the timeout for the test cases that don't need it.
1996
7b415901
MR
19972014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1998
1999 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2000 a factor of 2 for a slow test case. Take the `gdb,timeout'
2001 target setting into account for this calculation.
2002 * gdb.reverse/until-precsave.exp: Increase the timeout by
2003 a factor of 15 and 3 respectively rather than adding 120
2004 for a pair of slow test cases. Take the `gdb,timeout'
2005 target setting into account for this calculation.
2006
4a40f85a
MR
20072014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2008
2009 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2010 timeout, don't pass one down to gdb_expect.
2011 (gdb_expect): Rework timeout selection.
2012
09635af7
MR
20132014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2014
2015 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2016 exception on timeout.
2017 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2018 (gdbserver_start_extended): Catch any `gdbserver_start' error
2019 exceptions.
2020 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2021 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2022 `gdbserver_gdb_load' error exceptions.
2023
2bdd10b7
MR
20242014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2025
2026 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2027 120 on waiting for the TCP socket to open.
2028
316935f0
DE
20292014-09-09 Doug Evans <xdje42@gmail.com>
2030
2031 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2032 _caller_matches, _any_caller_is, _any_caller_matches.
2033
83740597
DE
20342014-09-09 Doug Evans <xdje42@gmail.com>
2035
2036 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2037
4c122fc3
YQ
20382014-09-09 Yao Qi <yao@codesourcery.com>
2039
2040 * gdb.mi/mi-var-display.exp: Set print symbol off.
2041
a9f116cb
GKB
20422014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2043
2044 PR gdb/17035
2045 * gdb.base/commands.exp: Add tests to verify user-defined
2046 commands with empty bodies.
2047 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2048 python commands in `show user command`.
2049 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2050 scheme commands in `show user command`.
2051
c75bd3a2
JK
20522014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2053
2054 PR python/17355
2055 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2056 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2057 * gdb.python/py-framefilter-invalidarg.exp: New file.
2058 * gdb.python/py-framefilter-invalidarg.py: New file.
2059
faa42425
DE
20602014-09-06 Doug Evans <xdje42@gmail.com>
2061
2062 PR 15276
2063 * gdb.python/py-caller-is.c: New file.
2064 * gdb.python/py-caller-is.exp: New file.
2065
474ca4f6
SDJ
20662014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2067
2068 PR gdb/17235
2069 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2070 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2071
eb0b0463
SDJ
20722014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2073
2074 PR fortran/17237
2075 * gdb.fortran/print-formatted.exp: New file.
2076 * gdb.fortran/print-formatted.f90: Likewise.
2077
5f3b99cf
SS
20782014-09-03 Sasha Smundak <asmundak@google.com>
2079
2080 * gdb.python/py-frame.exp: Test Frame.read_register.
2081
7d793aa9
SDJ
20822014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2083
2084 PR python/16699
2085 * gdb.python/py-completion.exp: New file.
2086 * gdb.python/py-completion.py: Likewise.
2087
fb0576e9
DE
20882014-08-28 Doug Evans <dje@google.com>
2089
2090 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2091 eax,etc. are live with values set by gdb and thus the compiler can't
2092 use them.
2093 * gdb.arch/i386-pseudo.c (main): Ditto.
2094
ee92b0dd
DE
20952014-08-27 Doug Evans <dje@google.com>
2096
2097 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2098
6649db35
DE
20992014-08-25 Doug Evans <dje@google.com>
2100
2101 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2102 (main): Ditto.
2103
564b7600
DE
21042014-08-25 Doug Evans <dje@google.com>
2105
2106 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2107
3881fb67
YQ
21082014-08-24 Yao Qi <yao@codesourcery.com>
2109
2110 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2111 symbol off.
2112 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2113
a05a36a5
DE
21142014-08-22 Doug Evans <dje@google.com>
2115
2116 PR 17276
2117 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2118 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2119 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2120
7c343b48
YQ
21212014-08-22 Yao Qi <yao@codesourcery.com>
2122
2123 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2124 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2125 * gdb.python/python.exp: Likewise. Use .py file on the host
2126 instead of the build.
2127
22fd09ae
JK
21282014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2129
2130 * gdb.threads/gcore-stale-thread.c: New file.
2131 * gdb.threads/gcore-stale-thread.exp: New file.
2132
a8454a7c
PA
21332014-08-21 Pedro Alves <palves@redhat.com>
2134
2135 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2136 * gdb.base/gcore-relro-pie.exp: Likewise.
2137 * gdb.base/gcore-relro.exp: Likewise.
2138 * gdb.base/gcore.exp: Likewise.
2139 * gdb.base/print-symbol-loading.exp: Likewise.
2140 * gdb.threads/gcore-thread.exp: Likewise.
2141 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2142
2a31c623
PA
21432014-08-20 Pedro Alves <palves@redhat.com>
2144 Jan Kratochvil <jan.kratochvil@redhat.com>
2145
2146 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2147 configure.
2148 (EXPECT): Handle READ1 being set.
2149 (all): Depend on EXTRA_RULES.
2150 (check-read1, expect-read1, read1.so, read1): New rules.
2151 * README (Testsuite Parameters): Document the READ1 make variable.
2152 (Race detection): New section.
2153 * configure: Regenerate.
2154 * configure.ac: If build==host==target, and running under a
2155 GNU/glibc system, add read1 to the extra Makefile rules.
2156 (EXTRA_RULES): AC_SUBST it.
2157 * lib/read1.c: New file.
2158
d36430db
JB
21592014-08-20 Joel Brobecker <brobecker@adacore.com>
2160
2161 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2162 the handling of variables declared as a typedef to an array
2163 which a DW_AT_data_location attribute.
2164
9a0dc9e3
PA
21652014-08-19 Andrew Burgess <aburgess@broadcom.com>
2166 Pedro Alves <palves@redhat.com>
2167
2168 PR symtab/14604
2169 PR symtab/14605
2170 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2171 gdb_test.
2172
0718a8da
PA
21732014-08-19 Pedro Alves <palves@redhat.com>
2174
2175 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2176
13b448cd
YQ
21772014-08-19 Yao Qi <yao@codesourcery.com>
2178
2179 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2180 right line.
2181
1cbf5077
DB
21822014-08-18 David Blaikie <dblaikie@gmail.com>
2183
2184 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2185
bf0fae19
JB
21862014-08-18 Joel Brobecker <brobecker@adacore.com>
2187
2188 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2189 attribute in array range.
2190
3c8c5dcc
JB
21912014-08-18 Joel Brobecker <brobecker@adacore.com>
2192
2193 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2194
e66d4446
SC
21952014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2196
2197 PR c++/17132
2198 * gdb.cp/pr17132.cc: New file.
2199 * gdb.cp/pr17132.exp: New file.
2200
940df408
SC
22012014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2202
2203 * gdb.python/py-xmethods.py (A_getarrayind)
2204 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2205 Use 'print' with function call syntax.
2206 (E_method_matcher.match): Fix tab vs space indentation mixup.
2207
ebcc6c3a
YQ
22082014-08-15 Yao Qi <yao@codesourcery.com>
2209
2210 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2211 false.
2212
775e0f04
YQ
22132014-08-15 Yao Qi <yao@codesourcery.com>
2214
2215 * gdb.cp/casts.exp: Set print symbol off.
2216 * gdb.cp/class2.exp: Likewise.
2217 * gdb.cp/overload.exp: Likewise.
2218 * gdb.cp/templates.exp: Likewise.
2219
d769e349
DE
22202014-08-11 Doug Evans <dje@google.com>
2221
2222 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2223 (test_load_shlib): Update.
2224
20c6f1e1
YQ
22252014-08-09 Yao Qi <yao@codesourcery.com>
2226
2227 * gdb.base/display.exp: Invoke is_address_zero_readable.
2228 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2229 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2230 * gdb.base/hbreak-unmapped.exp: Return if
2231 is_address_zero_readable returns true.
2232 * gdb.base/signest.exp: Likewise.
2233 * gdb.base/signull.exp: Likewise.
2234 * gdb.base/sigbpt.exp: Likewise.
2235 * gdb.guile/scm-disasm.exp: Do the test if
2236 is_address_zero_readable returns false.
2237 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2238 * gdb.python/py-arch.exp: Likewise.
2239 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2240 * lib/gdb.exp (is_address_zero_readable): New proc.
2241
5792e8e3
YQ
22422014-08-09 Yao Qi <yao@codesourcery.com>
2243
2244 PR testsuite/13443
2245 * gdb.mi/mi-var-display.exp: Make test messages unique.
2246
3cecbbbe
TT
22472014-08-04 Tom Tromey <tromey@redhat.com>
2248
2249 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2250 target 0".
2251
00b51ff5
TT
22522014-08-04 Tom Tromey <tromey@redhat.com>
2253
2254 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2255 "target_resume".
2256
6908c509
JB
22572014-08-01 Joel Brobecker <brobecker@adacore.com>
2258
2259 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2260 inner_vla_struct_object_size.
2261 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2262 as xfail.
2263
cc6563d2
PA
22642014-07-30 Pedro Alves <palves@redhat.com>
2265
2266 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2267 comment.
2268
7e09a223
YQ
22692014-07-29 Yao Qi <yao@codesourcery.com>
2270
2271 PR gdb/17206
2272 * gdb.base/until-nodebug.exp: New.
2273
7ebdbe92
DE
22742014-07-28 Doug Evans <xdje42@gmail.com>
2275
2276 PR guile/17203
2277 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2278 previously existing parameter, and previously ambiguously spelled
2279 parameter.
2280
fdb1adc6
WN
22812014-07-28 Will Newton <will.newton@linaro.org>
2282
2283 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2284
186fcde0
DE
22852014-07-26 Ludovic Courtès <ludo@gnu.org>
2286 Doug Evans <xdje42@gmail.com>
2287
2288 PR guile/17146
2289 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2290
70509625
PA
22912014-07-25 Pedro Alves <palves@redhat.com>
2292
2293 * gdb.threads/signal-command-handle-nopass.c: New file.
2294 * gdb.threads/signal-command-handle-nopass.exp: New file.
2295 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2296 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2297 * gdb.threads/signal-delivered-right-thread.c: New file.
2298 * gdb.threads/signal-delivered-right-thread.exp: New file.
2299
c3f814a1
PA
23002014-07-25 Pedro Alves <palves@redhat.com>
2301
2302 * gdb.base/double-prompt-target-event-error.exp
2303 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2304 match.
2305 (cancel_pagination_in_target_event): Rework double prompt
2306 detection.
2307 * gdb.base/paginate-after-ctrl-c-running.exp
2308 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2309 <return>' match.
2310 * gdb.base/paginate-bg-execution.exp
2311 (test_bg_execution_pagination_return)
2312 (test_bg_execution_pagination_cancel): Remove '-notransfer
2313 <return>' matches.
2314 * gdb.base/paginate-execution-startup.exp
2315 (test_fg_execution_pagination_return)
2316 (test_fg_execution_pagination_cancel): Remove '-notransfer
2317 <return>' matches.
2318 * gdb.base/paginate-inferior-exit.exp
2319 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2320 match.
2321 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2322 * lib/gdb.exp (pagination_prompt): Run text through
2323 string_to_regexp.
2324 (gdb_test_multiple): Match $pagination_prompt instead of
2325 "<return>".
2326 (string_to_regexp): Move to lib/gdb-utils.exp.
2327
e214cf6c
JK
23282014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2329
2330 * gdb.arch/amd64-entry-value-paramref.S: New file.
2331 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2332 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2333 * gdb.arch/amd64-optimout-repeat.S: New file.
2334 * gdb.arch/amd64-optimout-repeat.c: New file.
2335 * gdb.arch/amd64-optimout-repeat.exp: New file.
2336
17d0c5c8
JK
23372014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2338
2339 PR gdb/17170
2340 * gdb.base/statistics.exp: New file.
2341
b8b8facf
DE
23422014-07-17 Doug Evans <dje@google.com>
2343
74b49205 2344 PR gdb/17170
b8b8facf
DE
2345 * gdb.base/maint.exp: Update testing of per-command stats.
2346
1b5d0ab3
PA
23472014-07-16 Pedro Alves <palves@redhat.com>
2348
2349 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2350 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2351 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2352 (tfile_write_buf): New functions.
2353 (add_memory_block): Rewrite using the above.
2354 (adjust_function_address): New function.
2355 (FUNCTION_ADDRESS): New macro.
2356 (write_basic_trace_file): Remove short_x local, and use
2357 tfile_write_16. Change type of func_addr local to unsigned long
2358 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2359 here. Cast argument of add_memory_block to char pointer.
2360 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2361 (main): Remove parameters.
2362 * gdb.trace/tfile.exp: Remove nowarnings.
2363
4d974e88
SM
23642014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2365
2366 * gdb.base/debug-expr.exp: Test string evaluation with
2367 "debug expression" on.
2368
41e99568
PA
23692014-07-15 Pedro Alves <palves@redhat.com>
2370
2371 * gdb.base/reread.exp: Use clean_restart.
2372
487d9753
PL
23732014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2374
2375 * gdb.arch/avr-flash-qualifer.c: New.
2376 * gdb.arch/avr-flash-qualifer.exp: New.
2377
cc1c52ad
PA
23782014-07-14 Pedro Alves <palves@redhat.com>
2379
2380 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2381 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2382
1e973570
PA
23832014-07-14 Pedro Alves <palves@redhat.com>
2384
2385 * gdb.base/double-prompt-target-event-error.c: New file.
2386 * gdb.base/double-prompt-target-event-error.exp: New file.
2387
93d6eb10
PA
23882014-07-14 Pedro Alves <palves@redhat.com>
2389
2390 PR gdb/17072
2391 * gdb.base/paginate-inferior-exit.c: New file.
2392 * gdb.base/paginate-inferior-exit.exp: New file.
2393
0017922d
PA
23942014-07-14 Pedro Alves <palves@redhat.com>
2395
2396 PR gdb/17072
2397 * gdb.base/paginate-bg-execution.c: New file.
2398 * gdb.base/paginate-bg-execution.exp: New file.
2399
94696ad3
PA
24002014-07-14 Pedro Alves <palves@redhat.com>
2401
2402 PR gdb/17072
2403 * gdb.base/paginate-execution-startup.c: New file.
2404 * gdb.base/paginate-execution-startup.exp: New file.
2405 * lib/gdb.exp (pagination_prompt): New global.
2406 (default_gdb_spawn): New procedure, factored out from
2407 default_gdb_spawn.
2408 (default_gdb_start): Adjust to call default_gdb_spawn.
2409 (gdb_spawn): New procedure.
2410
bd293940
PA
24112014-07-14 Pedro Alves <palves@redhat.com>
2412
2413 * lib/gdb.exp (gdb_assert): New procedure.
2414 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2415
c933f875
PA
24162014-07-14 Pedro Alves <palves@redhat.com>
2417
2418 * gdb.base/execution-termios.c: New file.
2419 * gdb.base/execution-termios.exp: New file.
2420
d98b7a16
TT
24212014-07-14 Tom Tromey <tromey@redhat.com>
2422
2423 * gdb.cp/vla-cxx.cc: New file.
2424 * gdb.cp/vla-cxx.exp: New file.
2425
548740d6
TT
24262014-07-14 Tom Tromey <tromey@redhat.com>
2427
2428 * gdb.reverse/rerun-prec.c: New file.
2429 * gdb.reverse/rerun-prec.exp: New file.
2430
a25eb028
MR
24312014-07-12 Maciej W. Rozycki <macro@mips.com>
2432 Maciej W. Rozycki <macro@codesourcery.com>
2433
2434 * lib/gdb-utils.exp: New file.
2435 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2436 inline `gdb_init_command' processing.
2437 (gdb_start_cmd): Likewise.
2438 * lib/mi-support.exp (mi_run_cmd): Likewise.
2439 * README: Document `gdb_init_command' and `gdb_init_commands'.
2440
218c2655
JK
24412014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2442
2443 Fix false FAIL running under a very long directory name.
2444 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2445 and "set print elements 10000". Twice.
2446
5401fde3
YQ
24472014-07-11 Yao Qi <yao@codesourcery.com>
2448
2449 * gdb.base/exprs.exp: "set print symbol off".
2450
e76126e8
PA
24512014-07-11 Pedro Alves <palves@redhat.com>
2452
2453 * gdb.threads/kill.c: New file.
2454 * gdb.threads/kill.exp: New file.
2455
2d6f0de6
YQ
24562014-07-10 Yao Qi <yao@codesourcery.com>
2457
2458 * gdb.trace/tfile.c (write_basic_trace_file)
2459 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2460 address written to trace file.
2461
7180e04a
PA
24622014-07-09 Pedro Alves <palves@redhat.com>
2463
2464 * gdb.base/attach-wait-input.exp: New file.
2465 * gdb.base/attach-wait-input.c: New file.
2466
9a9a7608
AB
24672014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2468
2469 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2470 setting up test structures.
2471 (main): Call new test function.
2472 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2473 test function, continue into test function and walk test
2474 structures.
2475
161ac41e
YQ
24762014-07-02 Yao Qi <yao@codesourcery.com>
2477
2478 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2479 'bar_start' at the beginning of functions 'foo' and 'bar'
2480 respectively.
2481 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2482 instead of 'foo' and 'bar'.
2483
1f267ae3
MM
24842014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2485
2486 * gdb.btrace/segv.exp: New.
2487 * gdb.btrace/segv.c: New.
2488
2b239efb
LM
24892014-07-02 Luis Machado <lgustavo@codesourcery.com>
2490
2491 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2492 instruction.
2493
cf363f18
MW
24942014-06-30 Mark Wielaard <mjw@redhat.com>
2495
2496 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2497 vulture, vilify, villar): New volatile array constants.
2498 (vindictive, vegetation): New const volatile array constants.
2499 * gdb.base/volatile.exp: Test volatile and const volatile array
2500 types.
2501
aebf9d24
AA
25022014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2503
2504 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2505 target lacks support for awatch, rwatch, or hbreak.
2506
b67a2c6f
YQ
25072014-06-27 Yao Qi <yao@codesourcery.com>
2508
2509 * gdb.multi/dummy-frame-restore.exp: New.
2510 * gdb.multi/dummy-frame-restore.c: New.
2511
aef92902
MM
25122014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2513
2514 * gdb.btrace/gcore.exp: New.
2515
8e9db26e
PA
25162014-06-23 Pedro Alves <palves@redhat.com>
2517
2518 * gdb.base/watchpoint-reuse-slot.c: New file.
2519 * gdb.base/watchpoint-reuse-slot.exp: New file.
2520
70afc5b7
SC
25212014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2522
2523 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2524 progspace's filename in 'info', 'enable' and 'disable' command
2525 tests.
2526
b972bd9c
JK
25272014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2528
2529 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2530 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2531 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2532
125f8a3d
GB
25332014-06-20 Gary Benson <gbenson@redhat.com>
2534
2535 * gdb.arch/i386-avx.exp: Fix include file location.
2536 * gdb.arch/i386-sse.exp: Likewise.
2537
3ed9baed
IB
25382014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2539
2540 * gdb.dlang/expression.exp: New file.
2541
034f788c
PA
25422014-06-19 Pedro Alves <palves@redhat.com>
2543
2544 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2545 out from ...
2546 (top level): ... here. Iterate running tests under different
2547 scheduler-locking settings.
2548
45371d0c
LM
25492014-06-18 Luis Machado <lgustavo@codesourcery.com>
2550
2551 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2552 to DW_FORM_addr and use non-zero addresses.
2553
5d376983
SC
25542014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2555
2556 PR gdb/17017
2557 * gdb.python/py-xmethods.cc: Add global function call counters and
2558 increment them in their respective functions. Remove "cout"
2559 statements.
2560 * gdb.python/py-xmethods.exp: Make tests check the global function
2561 call counters instead of depending on inferior IO.
2562
a1aa2221
LM
25632014-06-18 Don Breazeal <donb@codesourcery.com>
2564
2565 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2566 Deleted procedure.
2567 (explicit_fork_parent_follow): Deleted procedure.
2568 (explicit_fork_child_follow): Deleted procedure.
2569 (test_follow_fork): New procedure.
2570 (do_fork_tests): Replace calls to deleted procedures with
2571 calls to test_follow_fork and reset GDB for subsequent
2572 procedure calls.
2573
0fc05997
YQ
25742014-06-17 Yao Qi <yao@codesourcery.com>
2575
2576 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2577 CP1252.
2578
70795c52
LM
25792014-06-17 Luis Machado <lgustavo@codesourcery.com>
2580
2581 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2582 Initialize ptr and S explicitly.
2583 (skip_type_update_when_not_use_rtti_test): Likewise.
2584
6be47f0c
KS
25852014-06-16 Keith Seitz <keiths@redhat.com>
2586
2587 PR mi/15863
2588 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2589 the inferior is started.
2590
d03de421
PA
25912014-06-16 Pedro Alves <palves@redhat.com>
2592
2593 * gdb.base/break-main-file-remove-fail.c: New file.
2594 * gdb.base/break-main-file-remove-fail.exp: New file.
2595 * gdb.base/break-unload-file.exp: Use build_executable instead of
2596 prepare_for_testing.
2597 (test_break): New parameter "initial_load". Handle it.
2598 (top level): Add initial_load cmdline/file axis.
2599
f9579b99
TT
26002014-06-12 Tom Tromey <tromey@redhat.com>
2601
2602 * gdb.base/completion.exp: Don't use directory name in test.
2603
3657956b
GB
26042014-06-09 Gary Benson <gbenson@redhat.com>
2605
2606 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2607 separate the always-available ANSI-standard signals from the
2608 signals that require checking.
2609 (main): Likewise.
2610 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2611 Likewise.
2612 (main): Likewise.
2613
4186eb54
KS
26142014-06-07 Keith Seitz <keiths@redhat.com>
2615
2616 Revert:
2617 PR c++/16253
2618 * gdb.cp/var-tag.cc: New file.
2619 * gdb.cp/var-tag.exp: New file.
2620 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2621 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2622 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2623 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2624
25326a28 26252014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
2626
2627 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2628
829155c9
PA
26292014-06-06 Pedro Alves <palves@redhat.com>
2630
2631 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2632 in target debug output instead of looking at RSP packets,
2633 disabling the test on any target that uses hardware stepping.
2634 Update comments.
2635
61c8d22e
PA
26362014-06-06 Pedro Alves <palves@redhat.com>
2637
2638 * gdb.base/break-unload-file.exp: Fix typo.
2639
d9a47287
YQ
26402014-06-06 Yao Qi <yao@codesourcery.com>
2641
2642 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2643 from "jit_function" to "^jit_function".
2644
e5e01dbf
YQ
26452014-06-06 Yao Qi <yao@codesourcery.com>
2646
2647 * gdb.base/async.c (foo): Add one statement.
2648 * gdb.base/async.exp: Get the next instruction address and
2649 match the output of "nexti" by instruction address. Match
2650 the hex address in the output of "finish".
2651
73ba372c
GB
26522014-06-06 Gary Benson <gbenson@redhat.com>
2653
2654 * gdb.base/call-signals.c: Remove preprocessor conditionals
2655 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2656 SIGSEGV and SIGTERM.
2657 * gdb.base/sigall.c: Likewise.
2658 * gdb.base/unwindonsignal.c: Likewise.
2659 * gdb.reverse/sigall-reverse.c: Likewise.
2660
831517df
YQ
26612014-06-06 Yao Qi <yao@codesourcery.com>
2662
2663 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2664 readable, skip the test.
2665
b8b91e98
YQ
26662014-06-06 Yao Qi <yao@codesourcery.com>
2667
2668 * gdb.threads/staticthreads.c (thread_function): Move the line
2669 setting breakpoint on forward.
2670 * gdb.threads/staticthreads.exp: Update comments.
2671
fb934770
LC
26722014-06-05 Ludovic Courtès <ludo@gnu.org>
2673
2674 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2675 "history-append! type error".
2676
6ef284bd
SM
26772014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2678
2679 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2680 erroneous dprintf expected input.
2681
a872e241
DE
26822014-06-04 Doug Evans <xdje42@gmail.com>
2683
2684 * gdb.guile/scm-generics.exp: Delete.
2685
16f691fb
DE
26862014-06-04 Doug Evans <xdje42@gmail.com>
2687
2688 * gdb.guile/scm-breakpoint.exp: Update.
2689 Add tests for breakpoint registration.
2690
012370f6
TT
26912014-06-04 Tom Tromey <tromey@redhat.com>
2692
2693 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2694 VLA-in-union.
2695 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2696 inner_vla_struct, vla_union types. Initialize objects of those
2697 types and compute their sizes.
2698
9f5a4cef
HZ
26992014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2700 Hui Zhu <hui@codesourcery.com>
2701
2702 * gdb.base/fileio.exp: Add test for shell not available as well as
2703 available.
2704 * gdb.base/fileio.c (test_system): Check for shell twice.
2705
90a45c4d
YQ
27062014-06-04 Yao Qi <yao@codesourcery.com>
2707
2708 * gdb.base/auto-connect-native-target.exp: Remove redundant
2709 space from the regexp pattern.
2710
70017e41
YQ
27112014-06-04 Yao Qi <yao@codesourcery.com>
2712
2713 * gdb.base/default.exp: Replace "child" with "native" in
2714 regexp pattern.
2715
883964a7
SC
27162014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2717
2718 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2719 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2720 * gdb.python/py-xmethods.py: Python script supporting the
2721 new testcase and tests.
2722
ef370185
JB
27232014-06-03 Joel Brobecker <brobecker@adacore.com>
2724 Pedro Alves <palves@redhat.com>
2725
2726 PR breakpoints/17000
2727 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2728 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2729
1e2ccb61
BM
27302014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2731
2732 * gdb.base/subst.exp: Add tests to verify partial path matching
2733 output.
2734
c6ec5ab2
PA
27352014-06-03 Pedro Alves <palves@redhat.com>
2736
2737 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2738 target that doesn't use software single-stepping.
2739
835c559f
PA
27402014-06-03 Pedro Alves <palves@redhat.com>
2741
2742 PR breakpoints/17000
2743 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2744 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2745
06eb1586
DE
27462014-06-02 Doug Evans <xdje42@gmail.com>
2747
2748 * gdb.guile/scm-parameter.exp: New file.
2749
e698b8c4
DE
27502014-06-02 Doug Evans <xdje42@gmail.com>
2751
2752 * gdb.guile/scm-cmd.c: New file.
2753 * gdb.guile/scm-cmd.exp: New file.
2754
ded03782
DE
27552014-06-02 Doug Evans <xdje42@gmail.com>
2756
2757 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2758 pretty-printer lookup.
2759 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2760 (make-pp_s-printer): Call it.
2761 (make-pretty-printer-from-dict): New function.
2762 (lookup-pretty-printer-maker-from-dict): New function.
2763 (*pretty-printer*): Simplify.
2764 (make-objfile-pp_s-printer): New function.
2765 (install-objfile-pretty-printers!): New function.
2766 (make-progspace-pp_s-printer): New function.
2767 (install-progspace-pretty-printers!): New function.
2768 * gdb.guile/scm-progspace.c: New file.
2769 * gdb.guile/scm-progspace.exp: New file.
2770
41fac0cf
PA
27712014-06-02 Pedro Alves <palves@redhat.com>
2772
2773 * gdb.base/dprintf-bp-same-addr.c: New file.
2774 * gdb.base/dprintf-bp-same-addr.exp: New file.
2775
96ae5695
EBM
27762014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2777
2778 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2779 * gdb.arch/powerpc-power.s: Likewise.
2780
da02b3a8
JB
27812014-06-02 Joel Brobecker <brobecker@adacore.com>
2782
2783 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2784
c72b2e7b
YQ
27852014-06-01 Yao Qi <yao@codesourcery.com>
2786
2787 * gdb.base/watchpoint.exp (test_watch_location): Check null
2788 pointer can be dereferenced. If not, do the test, otherwise
2789 skip it.
2790
53e8a631
AB
27912014-05-30 Andrew Burgess <aburgess@broadcom.com>
2792
2793 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2794 results.
2795 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2796
938f0e2f
AB
27972014-05-30 Andrew Burgess <aburgess@broadcom.com>
2798
2799 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2800 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2801 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2802 * gdb.arch/amd64-invalid-stack-top.c: New file.
2803 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2804
9ba6657a
PA
28052014-05-30 Pedro Alves <palves@redhat.com>
2806
2807 PR breakpoints/17000
2808 * gdb.base/sss-bp-on-user-bp.c: New file.
2809 * gdb.base/sss-bp-on-user-bp.exp: New file.
2810
522c09bf
DB
28112014-05-30 David Blaikie <dblaikie@gmail.com>
2812
2813 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2814 gnu_inline semantics via attribute.
2815 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2816 source explicitly specifies the required semantics.
2817
bf4ef81e
MR
28182014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2819
2820 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2821
329ea579
PA
28222014-05-29 Pedro Alves <palves@redhat.com>
2823 Tom Tromey <tromey@redhat.com>
2824
2825 * gdb.base/async-shell.exp: Don't enable target-async.
2826 * gdb.base/async.exp
2827 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2828 parameter. Adjust.
2829 (top level): Don't test with "target-async".
2830 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2831 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2832 * gdb.base/inferior-died.exp: Don't enable target-async.
2833 * gdb.base/interrupt-noterm.exp: Likewise.
2834 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2835 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2836 * gdb.mi/mi-nonstop.exp: Likewise.
2837 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2838 * gdb.mi/mi-nsintrall.exp: Likewise.
2839 * gdb.mi/mi-nsmoribund.exp: Likewise.
2840 * gdb.mi/mi-nsthrexec.exp: Likewise.
2841 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2842 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2843 * gdb.python/py-evsignal.exp: Don't enable target-async.
2844 * gdb.python/py-evthreads.exp: Likewise.
2845 * gdb.python/py-prompt.exp: Likewise.
2846 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2847 * gdb.server/solib-list.exp: Don't enable target-async.
2848 * gdb.threads/thread-specific-bp.exp: Likewise.
2849 * lib/mi-support.exp: Adjust to use mi-async.
2850
fd664c91
PA
28512014-05-29 Pedro Alves <palves@redhat.com>
2852
2853 PR gdb/13860
2854 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2855 reason, even in sync mode.
2856
251bde03
PA
28572014-05-29 Pedro Alves <palves@redhat.com>
2858 Hui Zhu <hui@codesourcery.com>
2859
2860 PR PR15693
2861 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2862 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2863 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2864 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2865
7f3c0343
JB
28662014-05-28 Joel Brobecker <brobecker@adacore.com>
2867
2868 * config/monitor.exp (gdb_target_monitor): Replace use of
2869 "set remotebaud" by "set serial baud".
2870
b2715b27
AW
28712014-05-26 Andy Wingo <wingo@igalia.com>
2872
2873 * gdb.guile/scm-breakpoint.exp:
2874 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2875 properties instead of gdb-object-properties.
2876
498a4489
YQ
28772014-05-26 Yao Qi <yao@codesourcery.com>
2878
2879 * gdb.server/no-thread-db.exp: Specify source file name
2880 explicitly when setting a breakpoint.
2881
589fdceb
MM
28822014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2883
2884 * gdb.btrace/vdso.c: New.
2885 * gdb.btrace/vdso.exp: New.
2886
e9089e05
MM
28872014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2888
2889 * gdb.base/gcore.exp (capture_command_output): Move ...
2890 * lib/gdb.exp (capture_command_output): ... here.
2891
67b5c0c1
MM
28922014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2893
2894 * gdb.btrace/data.exp: Test memory access during btrace replay.
2895
a2199296
SM
28962014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2897
2898 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2899
17b2616c
PA
29002014-05-21 Pedro Alves <palves@redhat.com>
2901
2902 PR gdb/13860
2903 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2904 (top level): Test that output related to execution commands is
2905 sent to the console with CLI commands, but not with MI commands.
2906 Test that breakpoint events are always mirrored to the console.
2907 Also expect the new source line to be output after a "next" in
2908 async mode too. Make it a pass/fail test.
2909 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2910 output.
2911 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2912
5166082f
PA
29132014-05-21 Pedro Alves <palves@redhat.com>
2914
2915 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2916 Use them to test variations of "list" after reaching a breakpoint.
2917 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2918 Test "list" with listsize 10 after reaching a breakpoint.
2919 * gdb.python/python.exp (decode_line current location line
2920 number): Adjust expected line number.
2921
2f25d70f
SM
29222014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2923
2924 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2925 behavior for $args, pass it directly to "run".
2926
ff604a67
MR
29272014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2928
2929 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2930 30000 to 65536.
2931
6a3cb8e8
PA
29322014-05-21 Pedro Alves <palves@redhat.com>
2933
2934 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2935 auto-connect-native-target off".
2936 * gdb.base/auto-connect-native-target.c: New file.
2937 * gdb.base/auto-connect-native-target.exp: New file.
2938
4ebfc96e
PA
29392014-05-21 Pedro Alves <palves@redhat.com>
2940
2941 * gdb.base/default.exp: Test "target native" instead of "target
2942 child".
2943
36d46afb
MW
29442014-05-21 Mark Wielaard <mjw@redhat.com>
2945
2946 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2947
5876f503
JK
29482014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2949
2950 Fix TLS access for -static -pthread.
2951 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2952 <HAVE_TLS> (thread_function, main): Initialize it.
2953 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2954 Add clean_restart.
2955 <$have_tls != "">: Check TLSVAR.
2956
0256a6ac
PA
29572014-05-21 Pedro Alves <palves@redhat.com>
2958
2959 * gdb.base/dcache-line-read-error.c: New.
2960 * gdb.base/dcache-line-read-error.exp: New.
2961
936d2992
PA
29622014-05-20 Pedro Alves <palves@redhat.com>
2963
2964 * gdb.base/compare-sections.c: New file.
2965 * gdb.base/compare-sections.exp: New file.
2966
802e8e6d
PA
29672014-05-20 Pedro Alves <palves@redhat.com>
2968
2969 * gdb.base/break-idempotent.c: New file.
2970 * gdb.base/break-idempotent.exp: New file.
2971
e59fa00f
MM
29722014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2973
2974 * gdb.btrace/nohist.exp: New.
2975
8b696e31
YQ
29762014-05-20 Yao Qi <yao@codesourcery.com>
2977
2978 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2979 gdb.reverse directory and gdb_reverse_timeout exists in board
2980 setting.
2981 * README: Document gdb_reverse_timeout.
2982
73c9764f
YQ
29832014-05-20 Yao Qi <yao@codesourcery.com>
2984
2985 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2986 'test_file_name'. Treat args as a string instead of a list.
2987 (gdb_init): Rename argument 'args' by 'test_file_name'.
2988
f1f4348a
JK
29892014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2990
2991 * gdb.arch/powerpc-power.exp: New file.
2992 * gdb.arch/powerpc-power.s: New file.
2993
0dbe70ce
DE
29942014-05-16 Doug Evans <dje@google.com>
2995
2996 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
2997 * gdb.base/completion.exp: Check that all expected files exist
2998 before doing file completion.
0dbe70ce 2999
8d551b02
DE
30002014-05-16 Doug Evans <dje@google.com>
3001
3002 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3003 Update.
3004 (do_syscall_tests_without_xml): Update.
3005
73eb7709
PA
30062014-05-16 Pedro Alves <palves@redhat.com>
3007
3008 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3009 instead of "unknown output after running".
3010
3fae92fc
YQ
30112014-05-16 Yao Qi <yao@codesourcery.com>
3012
3013 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3014 file1.txt from host at the end.
3015 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3016
c2b2ccc5
DE
30172014-05-15 Doug Evans <dje@google.com>
3018
3019 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3020 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3021 loading file. Add test for TU lookup.
3022
8c217a4b
SM
30232014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3024
3025 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3026 calling "-exec-arguments" or "set args" before running the
3027 inferior.
3028
3deb39c6
SM
30292014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3030
3031 * lib/mi-support.exp (mi_expect_stop): Expect message for
3032 inferiors that exit with non-zero exit code.
3033
71a79f8c
YQ
30342014-05-14 Yao Qi <yao@codesourcery.com>
3035
3036 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3037 match absolute path on remote host.
3038 (test_file_list_exec_source_files): Remove "/" from the
3039 pattern.
3040
f23fcd46
YQ
30412014-05-14 Yao Qi <yao@codesourcery.com>
3042
3043 * boards/local-remote-host-notty.exp (${board}_file): New
3044 proc.
3045
9404b58f
KM
30462014-05-07 Kyle McMartin <kyle@redhat.com>
3047
3048 Pushed by Joel Brobecker <brobecker@adacore.com>.
3049 * gdb.arch/aarch64-atomic-inst.c: New file.
3050 * gdb.arch/aarch64-atomic-inst.exp: New file.
3051
5e45f04c
YQ
30522014-05-07 Yao Qi <yao@codesourcery.com>
3053
3054 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3055 in current context" too.
3056
c888a17d
KS
30572014-05-05 Keith Seitz <keiths@redhat.com>
3058
3059 * gdb.linespec/ls-dollar.exp: Add test for linespec
3060 file:convenience_variable.
3061
290a839c
YQ
30622014-05-05 Yao Qi <yao@codesourcery.com>
3063
3064 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3065 traceframes into tfile and ctf trace files. Read data from
3066 trace file and test collected data.
3067 (gdb_collect_locals_test): Likewise.
3068 (gdb_unavailable_registers_test): Likewise.
3069 (gdb_unavailable_floats): Likewise.
3070 (gdb_collect_globals_test): Likewise.
3071 (top-level): Append "ctf" to trace_file_targets if GDB
3072 supports.
3073
b5262cd0
YQ
30742014-05-05 Yao Qi <yao@codesourcery.com>
3075
3076 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3077 code to ...
3078 (gdb_collect_args_test_1): ... it. New proc.
3079 (gdb_collect_locals_test): Move some code to ...
3080 (gdb_collect_locals_test_1): ... it. New proc.
3081 (gdb_unavailable_registers_test): Move some code to ...
3082 (gdb_unavailable_registers_test_1): ... it. New proc.
3083 (gdb_unavailable_floats): Move some code to ...
3084 (gdb_unavailable_floats_1): ... it. New proc.
3085
30a1e6cc
SDJ
30862014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3087
3088 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3089 probes to test for bitness recognition.
3090 * gdb.arch/amd64-stap-optional-prefix.exp
3091 (test_probe_value_without_reg): New procedure.
3092 Add code to test for different kinds of bitness.
3093
f33da99a
SDJ
30942014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3095
3096 PR breakpoints/16889
3097 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3098 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3099
5b80f00d
PA
31002014-05-01 Pedro Alves <palves@redhat.com>
3101
3102 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3103 gdb_file_cmd if no file is specified.
3104 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3105 last_loaded_file to set the remote exec-file.
3106
f8c2a73c
PA
31072014-05-01 Pedro Alves <palves@redhat.com>
3108
3109 * boards/local-remote-host.exp: New file.
3110
be6e8ac7
PA
31112014-05-01 Pedro Alves <palves@redhat.com>
3112
3113 * boards/local-remote-host.exp: Rename to ...
3114 * boards/local-remote-host-notty.exp: ... this.
3115
cac0dc8f
JB
31162014-04-28 Joel Brobecker <brobecker@adacore.com>
3117
3118 * gdb.ada/dyn_arrayidx: New testcase.
3119
9730e6cc
YQ
31202014-04-26 Yao Qi <yao@codesourcery.com>
3121
3122 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3123 and compute the length of function main. Save it in
3124 $main_length.
3125 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3126 (top-level): Use gdb_compile to compile objects into
3127 executable and restart GDB. Remove invocation to
3128 prepare_for_testing.
3129
7ae1a6a6
PA
31302014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3131 Pedro Alves <palves@redhat.com>
3132
3133 PR server/16255
3134 * gdb.multi/multi-attach.c: New file.
3135 * gdb.multi/multi-attach.exp: New file.
3136
4082afcc
PA
31372014-04-25 Pedro Alves <palves@redhat.com>
3138
3139 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3140 user.
3141 (top level): Test that "set remote conditional-breakpoints-packet
3142 off" works as intended.
3143 * gdb.base/dprintf.exp: Test that "set remote
3144 breakpoint-commands-packet off" works as intended.
3145 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3146 New function.
3147 (top level): Call it.
3148 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3149 remote fast-tracepoints-packet off" works as intended.
3150 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3151 * lib/gdb.exp (gdb_is_target_remote): ... here.
3152
2abc3f8d
DB
31532014-04-24 David Blaikie <dblaikie@gmail.com>
3154
3155 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3156 ensure clang would not discard them.
3157 * gdb.base/gdbvars.c: Ditto.
3158 * gdb.base/memattr.c: Ditto.
3159 * gdb.base/whatis.c: Ditto.
3160 * gdb.python/py-prettyprint.c: Ditto.
3161 * gdb.trace/actions.c: Ditto.
3162 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3163 ensure clang would not discard it.
3164
bfd39632
DB
31652014-04-24 David Blaikie <dblaikie@gmail.com>
3166
3167 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3168 clang to emit the full definition of type required by the test
3169 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3170
22842ff6
DB
31712014-04-24 David Blaikie <dblaikie@gmail.com>
3172
3173 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3174 coax Clang into emitting the definition of the type.
3175 * gdb.cp/pr10728-x.h (y): Ditto.
3176 * gdb.cp/pr10728-y.cc (y): Ditto.
3177
c2e827ad
DB
31782014-04-24 David Blaikie <dblaikie@gmail.com>
3179
3180 * gdb.base/label.exp: XFAIL label related tests under Clang.
3181 * gdb.cp/cplabel.exp: Ditto.
3182 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3183 under Clang those using labels.
3184
4c2d33e7
YQ
31852014-04-25 Yao Qi <yao@codesourcery.com>
3186
3187 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3188 double_label.
3189 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3190 partial_label and double_label.
3191
56083b99
DB
31922014-04-24 David Blaikie <dblaikie@gmail.com>
3193
3194 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3195
25d4e99d
DB
31962014-04-24 David Blaikie <dblaikie@gmail.com>
3197
3198 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3199 of the function to work across GCC and Clang.
3200 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3201 pointer types (const void ** const V void **).
3202
01f9f808
MS
32032014-04-24 Michael Sturm <michael.sturm@mintel.com>
3204 Walfred Tedeschi <walfred.tedeschi@intel.com>
3205
3206 * Makefile.in (EXECUTABLES): Added i386-avx512.
3207 * gdb.arch/i386-avx512.c: New file.
3208 * gdb.arch/i386-avx512.exp: Likewise.
3209
4b48d439
KS
32102014-04-23 Keith Seitz <keiths@redhat.com>
3211
3212 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3213 (mi_make_breakpoint_table): New procedure.
3214 (mi_create_breakpoint): Use mi_make_breakpoint
3215 and return the result.
3216 (mi_make_breakpoint): New procedure.
3217 (mi_build_kv_pairs): New procedure.
3218
3219 * gdb.mi/mi-break.exp: Remove unused globals,
3220 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3221 All callers updated.
3222 * gdb.mi/mi-dprintf.exp: Use variable to track command
3223 number.
3224 Update all callers of mi_create_breakpoint and use
3225 mi_make_breakpoint_table.
3226 Remove any unused global variables.
3227 * gdb.mi/mi-nonstop.exp: Likewise.
3228 * gdb.mi/mi-nsintrall.exp: Likewise.
3229 * gdb.mi/mi-nsmoribund.exp: Likewise.
3230 * gdb.mi/mi-nsthrexec.exp: Likewise.
3231 * gdb.mi/mi-reverse.exp: Likewise.
3232 * gdb.mi/mi-simplerun.exp: Likewise.
3233 * gdb.mi/mi-stepn.exp: Likewise.
3234 * gdb.mi/mi-syn-frame.exp: Likewise.
3235 * gdb.mi/mi-until.exp: Likewise.
3236 * gdb.mi/mi-var-cp.exp: Likewise.
3237 * gdb.mi/mi-var-display.exp: Likewise.
3238 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3239 * gdb.mi/mi2-var-child.exp: Likewise.
3240 * gdb.mi/mi-vla-c99.exp: Likewise.
3241 * lib/mi-support.exp: Likewise.
3242
3243 From Ian Lance Taylor <iant@cygnus.com>:
3244 * lib/gdb.exp (parse_args): New procedure.
3245
08351840
PA
32462014-04-23 Pedro Alves <palves@redhat.com>
3247
3248 * gdb.base/break-unload-file.c: New file.
3249 * gdb.base/break-unload-file.exp: New file.
3250 * gdb.base/sym-file-lib.c (baz): New function.
3251 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3252 field.
3253 (load): Store the segment's mapped size.
3254 (unload): New function.
3255 (unload_shlib): New function.
3256 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3257 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3258 set a breakpoint at baz, and call it.
3259 * gdb.base/sym-file.exp: New tests for stale breakpoint
3260 instructions.
3261
076855f9
PA
32622014-04-23 Pedro Alves <palves@redhat.com>
3263
3264 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3265 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3266 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3267 * gdb.base/hbreak-unmapped.c: New file.
3268 * gdb.base/hbreak-unmapped.exp: New file.
3269 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3270 * lib/gdb.exp (gdb_is_target_remote): ... here.
3271
483805cf
PA
32722014-04-22 Pedro Alves <palves@redhat.com>
3273
3274 * gdb.base/consecutive-step-over.c: New file.
3275 * gdb.base/consecutive-step-over.exp: New file.
3276
06d97543
PA
32772014-04-22 Pedro Alves <palves@redhat.com>
3278
3279 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3280 instead of send_gdb/gdb_expect.
3281
b4429ea2
YQ
32822014-04-22 Yao Qi <yao@codesourcery.com>
3283
3284 * lib/trace-support.exp (generate_tracefile): New procedure.
3285 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3286 return 0.
3287 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3288 if generate_tracefile returns 1.
3289
51d48146
PA
32902014-04-18 Tom Tromey <palves@redhat.com>
3291 Pedro alves <tromey@redhat.com>
3292
3293 PR backtrace/15558
3294 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3295 with a backtrace limit.
3296 * gdb.python/py-frame-inline.exp: Test running to an inline
3297 function with a backtrace limit, and printing the newest frame.
3298 * gdb.python/py-frame-inline.c (main): Call f.
3299
bd1dce5f
MS
33002014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3301
3302 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3303
40d1a503
MS
33042014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3305
3306 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3307 Drop prefix from unsupported source file path.
3308
389b98f7
YQ
33092014-04-17 Yao Qi <yao@codesourcery.com>
3310
3311 * lib/gdb.exp (with_target_charset): New proc.
3312 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3313 with_target_charset.
3314 (test_print_strings): Likewise.
3315 (test_repeat_bytes): Likewise.
3316 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3317 for some tests.
3318
22869d73
KS
33192014-04-16 Keith Seitz <keiths@redhat.com>
3320
3321 PR gdb/15827
3322 * gdb.dwarf2/corrupt.c: New file.
3323 * gdb.dwarf2/corrupt.exp: New file.
3324
c4f87ca6
KS
33252014-04-16 Keith Seitz <keiths@redhat.com>
3326
3327 PR c++/16597
3328 * gdb.cp/namelessclass.cc: New file.
3329 * gdb.cp/namelessclass.exp: New file.
3330 * gdb.cp/namelessclass.S: New file.
3331
ab19de87
DE
33322014-04-16 Doug Evans <dje@google.com>
3333
3334 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3335 Add comment.
3336 (gdbserver_default_get_comm_port): New function.
3337 (gdbserver_start): Check if board file provided
3338 "gdbserver,get_comm_port" and use it if so.
3339 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3340 (gdb,socketport): Set to "stdio".
3341 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3342 (stdio_gdbserver_template): Delete.
3343 (${board}_get_remote_address): Update.
3344 (${board}_build_remote_cmd): Delete.
3345 (${board}_get_comm_port): New function.
3346 (${board}_spawn): Update.
3347 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3348 Delete.
3349 (${board}_get_remote_address): Update.
3350 (${board}_get_comm_port): New function.
3351
fc98a809
AB
33522014-04-16 Andrew Burgess <aburgess@broadcom.com>
3353
3354 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3355 appearing in any order.
3356
87fd9e6e
DE
33572014-04-15 Doug Evans <dje@google.com>
3358
3359 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3360 uninitialized value of "description".
3361
099fc3ea
KS
33622014-04-15 Keith Seitz <keiths@redhat.com>
3363
3364 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3365 Remove unused globals.
3366 (test_running_the_program): Likewise.
3367 (test_controlled_execution): Likewise.
3368 (test_controlling_breakpoints): Likewise.
3369 (test_program_termination): Likewise.
3370
5da151d4
KS
33712014-04-15 Keith Seitz <keiths@redhat.com>
3372
3373 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3374 unused globals.
3375 (test_rbreak_creation_and_listing): Likewise.
3376 (test_ignore_count): Likewise.
3377 (test_error): Likewise.
3378
35e5d2f0
PA
33792014-04-15 Pedro Alves <palves@redhat.com>
3380
3381 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3382 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3383 sym-file-loader.c.
3384 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3385 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3386 to sym-file-loader.c.
3387 (struct library): Forward declare.
3388 (load_shlib, lookup_function): Change prototypes.
3389 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3390 (translate_offset): Remove declarations.
3391 (get_text_addr): New declaration.
3392 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3393 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3394 sym-file-loader.h.
3395 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3396 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3397 here from sym-file-loader.h.
3398 (struct library): New structure.
3399 (load_shlib, lookup_function): Change prototypes and adjust to
3400 work with a struct library.
3401 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3402 (translate_offset): Make static.
3403 (get_text_addr): New function.
3404 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3405
eb4c1710
PA
34062014-04-15 Pedro Alves <palves@redhat.com>
3407
3408 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3409
2d1baf52
PA
34102014-04-15 Pedro Alves <palves@redhat.com>
3411
3412 * gdb.base/sym-file-loader.c: Include <limits.h>.
3413 (SELF_LINK): New define.
3414 (get_origin): New function.
3415 (load_shlib): Use it.
3416 * gdb.base/sym-file.exp: Don't early return if the target is
3417 remote. Use runto_main, and issue fail is that fails. Use
3418 gdb_load_shlibs.
3419 (shlib_name): Delete.
3420 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3421
7dd6df01
PA
34222014-04-15 Pedro Alves <palves@redhat.com>
3423
3424 * gdb.base/sym-file.exp: Remove regex characters from test
3425 message. Don't refer to breakpoint numbers in test messages.
3426
b50c8614
KS
34272014-04-14 Keith Seitz <keiths@redhat.com>
3428
3429 PR c++/16253
3430 * gdb.cp/var-tag.cc: New file.
3431 * gdb.cp/var-tag.exp: New file.
3432 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3433 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3434 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3435 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3436
3d567982
TT
34372014-04-14 Tom Tromey <tromey@redhat.com>
3438
3439 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3440 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3441 type.
3442 * gdb.cp/enum-class.exp: New file.
3443 * gdb.cp/enum-class.cc: New file.
3444
0626fc76
TT
34452014-04-14 Tom Tromey <tromey@redhat.com>
3446
3447 * gdb.dwarf2/enum-type.exp: New file.
3448
dca325b3
SA
34492014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3450
3451 * gdb.mi/mi-vla-c99.exp: New file.
3452 * gdb.mi/vla.c: New file.
3453
5854b38a
SA
34542014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3455
3456 * gdb.base/vla-datatypes.c: New file.
3457 * gdb.base/vla-datatypes.exp: New file.
3458
463bb957
SA
34592014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3460
3461 * gdb.base/vla-ptr.c: New file.
3462 * gdb.base/vla-ptr.exp: New file.
3463
3dd170be
SA
34642014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3465
3466 * gdb.dwarf2/count.exp: New file.
3467
5ecaaa66
SA
34682014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3469
3470 * gdb.base/vla-sideeffect.c: New file.
3471 * gdb.base/vla-sideeffect.exp: New file.
3472
41f1ada5
DB
34732014-04-14 David Blaikie <dblaikie@gmail.com>
3474
3475 * gdb.mi/non-stop.c: Add return value for non-void function return
3476 statement.
3477 * gdb.threads/staticthreads.c: Ditto.
3478
0be03e84
DE
34792014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3480 Doug Evans <xdje42@gmail.com>
3481
3482 * gdb.guile/scm-value.c: Improve test case.
3483 * gdb.guile/scm-value.exp: Add new test.
3484
f180a1fb
DB
34852014-04-11 David Blaikie <dblaikie@gmail.com>
3486
3487 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3488 override Clang's default.
3489
6b662e19
JB
34902014-04-11 Joel Brobecker <brobecker@adacore.com>
3491
3492 Revert the following changes (regressions):
3493
3494 * gdb.base/vla-sideeffect.c: New file.
3495 * gdb.base/vla-sideeffect.exp: New file.
3496
3497 * gdb.dwarf2/count.exp: New file.
3498
3499 * gdb.base/vla-multi.c: New file.
3500 * gdb.base/vla-multi.exp: New file.
3501
3502 * gdb.base/vla-ptr.c: New file.
3503 * gdb.base/vla-ptr.exp: New file.
3504
3505 * gdb.base/vla-datatypes.c: New file.
3506 * gdb.base/vla-datatypes.exp: New file.
3507
3508 * gdb.mi/mi-vla-c99.exp: New file.
3509 * gdb.mi/vla.c: New file.
3510
245a5f0b
KS
35112014-04-11 Keith Seitz <keiths@redhat.com>
3512
3513 PR c++/16675
3514 * gdb.cp/cpsizeof.exp: New file.
3515 * gdb.cp/cpsizeof.cc: New file.
3516
58a84dcf
SA
35172014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3518
191a8a90
JB
3519 * gdb.mi/mi-vla-c99.exp: New file.
3520 * gdb.mi/vla.c: New file.
58a84dcf 3521
c8655f75
SA
35222014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3523
3524 * gdb.base/vla-datatypes.c: New file.
3525 * gdb.base/vla-datatypes.exp: New file.
3526
024e13b4
SA
35272014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3528
3529 * gdb.base/vla-ptr.c: New file.
3530 * gdb.base/vla-ptr.exp: New file.
3531
1a237e0e
SA
35322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3533
3534 * gdb.base/vla-multi.c: New file.
3535 * gdb.base/vla-multi.exp: New file.
3536
504f3432
SA
35372014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3538
3539 * gdb.dwarf2/count.exp: New file.
3540
3bce8237
SA
35412014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3542
191a8a90
JB
3543 * gdb.base/vla-sideeffect.c: New file.
3544 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 3545
322f9c21
YQ
35462014-04-11 Yao Qi <yao@codesourcery.com>
3547
3548 * gdb.base/completion.exp: Check file exists before running tests
3549 on file completion.
3550
d708bcd1
PA
35512014-04-10 Pedro Alves <palves@redhat.com>
3552
3553 * gdb.base/cond-eval-mode.c: New file.
3554 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3555 prepare_for_testing to build the new file. Check result of
3556 runto_main.
3557 (test_break, test_watch): New procedures.
3558 (top level): Use them.
3559
ae1d2761
PM
35602014-04-08 Pierre Muller <muller@sourceware.org>
3561
3562 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3563 Ctrl-V use for mingw hosts.
3564
7af389b8
SC
35652014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3566
3567 * gdb.python/py-value.c: Improve test case.
3568 * gdb.python/py-value.exp: Add new test.
3569
5e703181
DE
35702014-04-07 David Blaikie <dblaikie@gmail.com>
3571
3572 * lib/compiler.c: Identify the clang compiler.
3573 * lib/compiler.cc: Ditto.
3574
9810b410
YQ
35752014-04-03 Yao Qi <yao@codesourcery.com>
3576
3577 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3578
98d1b8dc
AB
35792014-04-01 Anton Blanchard <anton@samba.org>
3580
3581 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3582 messages unique.
3583
3114cea1
AB
35842014-04-01 Anton Blanchard <anton@samba.org>
3585
3586 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3587 prepare_for_testing.
3588
62f7182c
AB
35892014-04-01 Anton Blanchard <anton@samba.org>
3590
3591 * gdb.arch/ppc64-atomic-inst.c: Remove.
3592 * gdb.arch/ppc64-atomic-inst.S: New file.
3593 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3594
770e7fc7
DE
35952014-03-31 Doug Evans <dje@google.com>
3596
3597 * gdb.base/print-symbol-loading-lib.c: New file.
3598 * gdb.base/print-symbol-loading-main.c: New file.
3599 * gdb.base/print-symbol-loading.exp: New file.
3600
46e2bafa
YQ
36012014-03-31 Yao Qi <yao@codesourcery.com>
3602
3603 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3604
8776cfe9
JB
36052014-03-28 Joel Brobecker <brobecker@adacore.com>
3606
3607 * gdb.ada/mi_dyn_arr: New testcase.
3608
5d1ef361
DE
36092014-03-27 Doug Evans <dje@google.com>
3610
3611 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3612
b5bee914
YQ
36132014-03-27 Yao Qi <yao@codesourcery.com>
3614
3615 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3616 if target is nios2-*-*.
3617
0d4d0e77
YQ
36182014-03-26 Yao Qi <yao@codesourcery.com>
3619
3620 * lib/gdb.exp (readline_is_used): New proc.
3621 * gdb.base/completion.exp: Move tests on command complete up.
3622 Skip the rest of tests if readline is not used.
3623 * gdb.ada/complete.exp: Skp the test if readline is not
3624 used.
3625 * gdb.base/filesym.exp: Likewise.
3626 * gdb.base/macscp.exp: Likewise.
3627 * gdb.base/readline-ask.exp: Likewise.
3628 * gdb.base/readline.exp: Likewise.
3629 * gdb.python/py-cmd.exp: Likewise.
3630 * gdb.trace/tfile.exp: Likewise.
3631
29361eee
YQ
36322014-03-26 Yao Qi <yao@codesourcery.com>
3633
3634 * gdb.base/macscp.exp: Fix code format issues.
3635
bc9a5525
UW
36362014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3637
3638 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3639 * gdb.asm/powerpc64le.inc: New file.
3640
d3839ede
PA
36412014-03-25 Pedro Alves <palves@redhat.com>
3642 Doug Evans <dje@google.com>
3643
3644 * gdb.base/source-execution.c: New file.
3645 * gdb.base/source-execution.exp: New file.
3646 * gdb.base/source-execution.gdb: New file.
3647
01672a57
DE
36482014-03-24 Doug Evans <dje@google.com>
3649
3650 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3651 using fission.
3652
88bbeca9
HZ
36532014-03-24 Hui Zhu <hui@codesourcery.com>
3654 Pedro Alves <palves@redhat.com>
3655
3656 PR breakpoints/16101
3657 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3658 test pass/fail messages. Detect missing support for dprintf when
3659 breakpoints are actually inserted.
3660 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3661 breakpoints are actually inserted.
3662 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3663 fails.
3664
d2348791
JK
36652014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3666
3667 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3668
feef67ab
DE
36692014-03-22 Doug Evans <xdje42@gmail.com>
3670
3671 * gdb.python/python.exp (python not supported): Verify multi-line
3672 python command issues an error.
25d743f9 3673 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 3674 guile command issues an error.
feef67ab 3675
ecebef6a
MR
36762014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3677
3678 * gdb.threads/thread-specific.exp: Handle the lack of usable
3679 $this_breakpoint and $this_thread.
3680
ccdd1909
HZ
36812014-03-21 Hui Zhu <hui@codesourcery.com>
3682
3683 * gdb.base/attach.exp (do_command_attach_tests): New.
3684
beb460e8
PA
36852014-03-20 Tom Tromey <tromey@redhat.com>
3686 Pedro Alves <palves@redhat.com>
3687
3688 PR cli/15718
3689 * gdb.base/condbreak-call-false.c: New file.
3690 * gdb.base/condbreak-call-false.exp: New file.
3691
40acf43a
PA
36922014-03-20 Pedro Alves <palves@redhat.com>
3693
3694 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3695 Delete.
3696 (block_signals, unblock_signals): Delete.
3697 (child_function_2, main): Remove references to deleted variable
3698 and functions.
3699
9f5e1e02
PA
37002014-03-20 Pedro Alves <palves@redhat.com>
3701
3702 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3703 Use pthread_kill to signal thread 2.
3704 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3705 Adjust to make the test send itself a signal rather than using the
3706 host's "kill" command.
3707
99619bea
PA
37082014-03-20 Pedro Alves <palves@redhat.com>
3709
3710 * gdb.threads/multiple-step-overs.c: New file.
3711 * gdb.threads/multiple-step-overs.exp: New file.
3712 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3713 Adjust expected infrun debug output.
3714
2adfaa28
PA
37152014-03-20 Pedro Alves <palves@redhat.com>
3716
3717 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3718 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3719
31e77af2
PA
37202014-03-20 Pedro Alves <palves@redhat.com>
3721
3722 PR breakpoints/7143
3723 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3724 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3725 of gdb_test_multiple.
3726 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3727 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3728
b9f437de
PA
37292014-03-20 Pedro Alves <palves@redhat.com>
3730
3731 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3732 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3733
05adc73e
PA
37342014-03-19 Pedro Alves <palves@redhat.com>
3735
3736 * gdb.base/async.exp: Remove early return.
3737
6048b950
PA
37382014-03-19 Pedro Alves <palves@redhat.com>
3739
3740 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3741
8bcfb00a
PA
37422014-03-19 Pedro Alves <palves@redhat.com>
3743
3744 * gdb.base/async.exp (test_background): Expect \r\n after
3745 "completed." in the fail pattern.
3746
884e37dc
PA
37472014-03-19 Pedro Alves <palves@redhat.com>
3748
3749 * gdb.base/async.exp (test_background): New procedure.
3750 Use it for all background execution command tests.
3751
148e57e2
PA
37522014-03-19 Pedro Alves <palves@redhat.com>
3753
3754 * gdb.base/async.exp: Use prepare_for_testing.
3755
f48088c7
PA
37562014-03-19 Pedro Alves <palves@redhat.com>
3757
3758 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3759 the same line.
3760
e2f6c966
PA
37612014-03-19 Pedro Alves <palves@redhat.com>
3762
3763 * gdb.base/async.c (main): Add "jump here" and "until here" line
3764 marker comments.
3765 * gdb.base/async.exp (jump_here): New global.
3766 (jump& test): Use it.
3767 (until_here): New global.
3768 (until& test): Use it.
3769
c30568d4
PA
37702014-03-19 Pedro Alves <palves@redhat.com>
3771
3772 * gdb.base/async.exp: Don't frob gdb_protocol.
3773
0172b6a7
DE
37742014-03-18 Doug Evans <xdje42@gmail.com>
3775
3776 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3777 Fix spelling of exec-done-display.
3778
06c868a8
JK
37792014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3780
3781 PR gdb/15358
3782 * gdb.base/gdb-sigterm.c: New file.
3783 * gdb.base/gdb-sigterm.exp: New file.
3784
0c7e1a46
PA
37852014-03-18 Pedro Alves <palves@redhat.com>
3786
3787 PR gdb/13860
3788 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3789 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3790 solib-event.
3791
f7c77d93
JB
37922014-03-17 Joel Brobecker <brobecker@adacore.com>
3793
3794 * gdb.ada/pckd_arr_ren: New testcase.
3795
5a1e8c7a
DE
37962014-03-13 Doug Evans <xdje42@gmail.com>
3797
3798 PR guile/16612
3799 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3800 collect after discarding symbols.
3801
350e1a76
DE
38022014-03-13 Ludovic Courtès <ludo@gnu.org>
3803 Doug Evans <xdje42@gmail.com>
3804
3805 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3806 to history survives a gc.
3807
a69900ae
PA
38082014-03-13 Pedro Alves <palves@redhat.com>
3809
3810 * gdb.base/default.exp: Don't test "target procfs".
3811
5db9f0bd
PA
38122014-03-13 Pedro Alves <palves@redhat.com>
3813
3814 * gdb.base/default.exp: Update "target child" and "target procfs"
3815 tests to not expect "Unix".
3816
b3ccfe11
TT
38172014-03-12 Tom Tromey <tromey@redhat.com>
3818
3819 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3820 New procs. Add target-async tests.
3821 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3822 Add target-async tests.
3823
646f4417
AA
38242014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3825
3826 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3827 'func_start' and 'func_end' for the beginning and end of the
3828 function code, respectively.
3829 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3830 'func_end' instead of 'func' and 'main'.
3831
288c211f
AA
38322014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3833
3834 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3835 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3836 generate the debug info assembler source.
3837
e0c0f156
AA
38382014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3839
3840 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3841 * gdb.dwarf2/arr-subrange.exp: Likewise.
3842 * gdb.dwarf2/dwz.exp: Likewise.
3843 * gdb.dwarf2/method-ptr.exp: Likewise.
3844 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3845 * gdb.dwarf2/subrange.exp: Likewise.
3846 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3847 * gdb.dwarf2/implptrpiece.exp: Likewise.
3848 * gdb.dwarf2/nostaticblock.exp: Likewise.
3849
0e5c4555
AA
38502014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3851
3852 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3853 directory to absolute path name arguments.
3854
5ec18f2b
JG
38552014-03-10 Joel Brobecker <brobecker@adacore.com>
3856
3857 * gdb.ada/tagged_access: New testcase.
3858
847fc4f2
MM
38592014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3860
3861 * gdb.btrace/data.exp: Update expected output.
3862
cc3da688
YQ
38632014-03-06 Yao Qi <yao@codesourcery.com>
3864
3865 * gdb.trace/pr16508.exp: New file.
3866
0f26cec1
PA
38672014-03-05 Pedro Alves <palves@redhat.com>
3868
3869 PR gdb/16575
3870 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3871 procedure.
3872 (top level): Adjust to use it. Add tests that exercise breakpoint
3873 interaction with the code-cache.
3874
7a5a839f
LC
38752014-02-26 Ludovic Courtès <ludo@gnu.org>
3876
3877 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3878 test for 'history-append!'.
3879
31aa7e4e
JB
38802014-02-26 Joel Brobecker <brobecker@adacore.com>
3881
3882 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3883 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3884 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3885 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3886 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3887 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3888
1b588015
JB
38892014-02-26 Joel Brobecker <brobecker@adacore.com>
3890
3891 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3892 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3893 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3894
55426c9d
JB
38952014-02-26 Joel Brobecker <brobecker@adacore.com>
3896
3897 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3898
dc53a7ad
JB
38992014-02-26 Joel Brobecker <brobecker@adacore.com>
3900
3901 * gdb.dwarf2/arr-stride.c: New file.
3902 * gdb.dwarf2/arr-stride.exp: New file.
3903
12ab52e9
PA
39042014-02-26 Pedro Alves <palves@redhat.com>
3905
3906 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3907 that won't ever trigger. Make sure that GDB reports the correct
3908 breakpoint that caused the stop.
3909
849c862e
JK
39102014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3911
3912 PR gdb/16626
3913 * gdb.base/auto-load-script: New file.
3914 * gdb.base/auto-load.c: New file.
3915 * gdb.base/auto-load.exp: New file.
3916
71b7d793
JK
3917 PR gdb/16626
3918 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3919
e2f0d509
JK
39202014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3921
3922 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3923 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3924
50cc37c8
DE
39252014-02-24 Doug Evans <dje@google.com>
3926
3927 * lib/gdb.exp (run_on_host): Log error output if program fails.
3928
ea4758f2
PA
39292014-02-21 Pedro Alves <palves@redhat.com>
3930
3931 * gdb.threads/step-after-sr-lock.c: Rename to ...
3932 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3933 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3934 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3935 ... this.
3936
d7b30f67
SDJ
39372014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3938
3939 PR tdep/16397
3940 * gdb.arch/amd64-stap-special-operands.exp: New file.
3941 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3942 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3943 * gdb.arch/amd64-stap-triplet.S: Likewise.
3944 * gdb.arch/amd64-stap-triplet.c: Likewise.
3945
83deb43f
JB
39462014-02-20 Joel Brobecker <brobecker@adacore.com>
3947
3948 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3949 in .section pseudo-op.
3950
adde2bff
DE
39512014-02-20 lin zuojian <manjian2006@gmail.com>
3952 Joel Brobecker <brobecker@adacore.com>
3953 Doug Evans <xdje42@gmail.com>
3954
3955 PR symtab/16581
3956 * gdb.dwarf2/dw2-icycle.S: New file.
3957 * gdb.dwarf2/dw2-icycle.c: New file.
3958 * gdb.dwarf2/dw2-icycle.exp: New file.
3959
f7bd0f78
SC
39602014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3961
3962 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3963 operations on gdb.Value objects.
3964 * gdb.python/py-value-cc.exp: Add new test to test operations on
3965 gdb.Value objects.
3966
c17ef0d5
DE
39672014-02-18 Doug Evans <dje@google.com>
3968
3969 * Makefile.in (TESTS): New variable.
3970 (expanded_tests, expanded_tests_or_none): New variables
3971 (check-single): Pass $(expanded_tests_or_none) to runtest.
3972 (check-parallel): Only run tests in $(TESTS) if non-empty.
3973 (check/no-matching-tests-found): New rule.
3974 * README: Document TESTS makefile variable.
3975
5dd3176f
DE
39762014-02-18 Doug Evans <dje@google.com>
3977
3978 * Makefile.in (check-parallel): rm -rf outputs temp.
3979
0b10be4f
JK
39802014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3981
3982 Fix "ERROR: no fileid for" in the testsuite.
3983 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3984
85f224e7
DE
39852014-02-12 Doug Evans <dje@google.com>
3986
3987 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3988 (MISCELLANEOUS): New variable.
3989 (clean): rm -rf $(MISCELLANEOUS).
3990 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3991 dwp live in the same directory as symlinks, with each symlink pointed
3992 to a differently named file in a different directory.
3993
149b30ff
DE
39942014-02-11 Doug Evans <dje@google.com>
3995
3996 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3997 of Tcl file commands.
3998
1dfdac32
MK
39992014-02-10 Mark Kettenis <kettenis@gnu.org>
4000
4001 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4002 "kill -SIGUSR1 -1".
4003
aa4fb036
JB
40042014-02-10 Joel Brobecker <brobecker@adacore.com>
4005
4006 * gdb.ada/tick_length_array_enum_idx: New testcase.
4007
ed3ef339
DE
40082014-02-10 Doug Evans <xdje42@gmail.com>
4009
4010 * configure.ac (AC_OUTPUT): Add gdb.guile.
4011 * configure: Regenerate.
4012 * lib/gdb-guile.exp: New file.
4013 * lib/gdb.exp (get_target_charset): New function.
4014 * gdb.base/help.exp: Update expected output from "apropos apropos".
4015 * gdb.guile/Makefile.in: New file.
4016 * gdb.guile/guile.exp: New file.
4017 * gdb.guile/scm-arch.c: New file.
4018 * gdb.guile/scm-arch.exp: New file.
4019 * gdb.guile/scm-block.c: New file.
4020 * gdb.guile/scm-block.exp: New file.
4021 * gdb.guile/scm-breakpoint.c: New file.
4022 * gdb.guile/scm-breakpoint.exp: New file.
4023 * gdb.guile/scm-disasm.c: New file.
4024 * gdb.guile/scm-disasm.exp: New file.
4025 * gdb.guile/scm-equal.c: New file.
4026 * gdb.guile/scm-equal.exp: New file.
4027 * gdb.guile/scm-error.exp: New file.
4028 * gdb.guile/scm-error.scm: New file.
4029 * gdb.guile/scm-frame-args.c: New file.
4030 * gdb.guile/scm-frame-args.exp: New file.
4031 * gdb.guile/scm-frame-args.scm: New file.
4032 * gdb.guile/scm-frame-inline.c: New file.
4033 * gdb.guile/scm-frame-inline.exp: New file.
4034 * gdb.guile/scm-frame.c: New file.
4035 * gdb.guile/scm-frame.exp: New file.
4036 * gdb.guile/scm-generics.exp: New file.
4037 * gdb.guile/scm-gsmob.exp: New file.
4038 * gdb.guile/scm-iterator.c: New file.
4039 * gdb.guile/scm-iterator.exp: New file.
4040 * gdb.guile/scm-math.c: New file.
4041 * gdb.guile/scm-math.exp: New file.
4042 * gdb.guile/scm-objfile-script-gdb.in: New file.
4043 * gdb.guile/scm-objfile-script.c: New file.
4044 * gdb.guile/scm-objfile-script.exp: New file.
4045 * gdb.guile/scm-objfile.c: New file.
4046 * gdb.guile/scm-objfile.exp: New file.
4047 * gdb.guile/scm-ports.exp: New file.
4048 * gdb.guile/scm-pretty-print.c: New file.
4049 * gdb.guile/scm-pretty-print.exp: New file.
4050 * gdb.guile/scm-pretty-print.scm: New file.
4051 * gdb.guile/scm-section-script.c: New file.
4052 * gdb.guile/scm-section-script.exp: New file.
4053 * gdb.guile/scm-section-script.scm: New file.
4054 * gdb.guile/scm-symbol.c: New file.
4055 * gdb.guile/scm-symbol.exp: New file.
4056 * gdb.guile/scm-symtab-2.c: New file.
4057 * gdb.guile/scm-symtab.c: New file.
4058 * gdb.guile/scm-symtab.exp: New file.
4059 * gdb.guile/scm-type.c: New file.
4060 * gdb.guile/scm-type.exp: New file.
4061 * gdb.guile/scm-value-cc.cc: New file.
4062 * gdb.guile/scm-value-cc.exp: New file.
4063 * gdb.guile/scm-value.c: New file.
4064 * gdb.guile/scm-value.exp: New file.
4065 * gdb.guile/source2.scm: New file.
4066 * gdb.guile/types-module.cc: New file.
4067 * gdb.guile/types-module.exp: New file.
4068
7026a7c1
YQ
40692014-02-10 Yao Qi <yao@codesourcery.com>
4070
4071 PR testsuite/16543
4072 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4073 * configure: Regenerated.
4074 * Makefile.in: New file.
4075
6c466447
AS
40762014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4077
4078 * gdb.python/py-framefilter.exp: Fix typo.
4079
6e854735
YQ
40802014-02-08 Yao Qi <yao@codesourcery.com>
4081
4082 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4083 that no =breakpoint-modified is emitted when breakpoints are
4084 modified through MI commands.
4085
d137e6dc
PA
40862014-02-07 Pedro Alves <pedro@codesourcery.com>
4087 Pedro Alves <palves@redhat.com>
4088
4089 * gdb.threads/step-after-sr-lock.c: New file.
4090 * gdb.threads/step-after-sr-lock.exp: New file.
4091
b5ee5a50
PA
40922014-02-07 Pedro Alves <palves@redhat.com>
4093
4094 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4095
3c77faf3
JK
40962014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4097
4098 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4099 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4100
6dddc817
DE
41012014-02-06 Doug Evans <xdje42@gmail.com>
4102
4103 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4104 output.
4105
4106 * gdb.gdb/python-interrupts.exp: New file.
4107
de7b2893
YQ
41082014-02-05 Yao Qi <yao@codesourcery.com>
4109
4110 * gdb.trace/report.exp (use_collected_data): Test the output
4111 of "info threads" and "info inferiors".
4112
66d032ac
YQ
41132014-02-05 Yao Qi <yao@codesourcery.com>
4114
4115 Revert this patch:
4116
4117 2013-05-24 Yao Qi <yao@codesourcery.com>
4118
4119 * gdb.trace/tfile.exp: Test inferior and thread.
4120
591a12a1
UW
41212014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4122
4123 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4124 on a function.
4125 * gdb.base/step-bt.c: Call hello via function pointer to make
4126 sure its first instruction is executed on powerpc64le-linux.
4127
0ff3e01f
UW
41282014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4129
4130 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4131
084ee545
UW
41322014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4133
4134 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4135 of the test patterns for use on little-endian systems.
4136
6ed14ff3
UW
41372014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4138
4139 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4140 (decimal_vector): Fix for little-endian.
4141
401e27fd
JM
41422014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4143
4144 * gdb.arch/sparc-sysstep.exp: New file.
4145 * gdb.arch/sparc-sysstep.c: Likewise.
4146
4147 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4148
8b924729
EBM
41492014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4150
4151 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4152
fb151210
JB
41532014-01-23 Tom Tromey <tromey@redhat.com>
4154
4155 * gdb.ada/array_char_idx: New testcase.
4156
0740f8d8
TT
41572014-01-23 Tom Tromey <tromey@redhat.com>
4158
4159 PR python/16487:
4160 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4161 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4162 classes.
4163
21909fa1
TT
41642014-01-23 Tom Tromey <tromey@redhat.com>
4165
4166 PR python/16491:
4167 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4168 string from an inferior frame.
4169 * gdb.python/py-framefilter-mi.exp: Update.
4170
87ce2a04
DE
41712014-01-22 Doug Evans <dje@google.com>
4172
4173 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4174
237b092b
AA
41752014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4176
4177 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4178
d674a709
AA
41792014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4180
4181 * gdb.trace/entry-values.exp: Remove excess space character from
4182 regex patterns. Handle s390 call instruction.
4183
20fa3390
AA
41842014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4185
4186 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4187 define "*_start" label. Make "name" static.
4188 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4189 ${name} by references to ${name}_start.
4190
78466714
AA
41912014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4192
4193 * gdb.base/info-macros.exp: Remove "debug" from the compile
4194 options.
4195
ec9f644a
IB
41962014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4197
4198 * gdb.dlang/demangle.exp: New file.
4199
94b1b47e
IB
42002014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4201
4202 * gdb.dlang/primitive-types.exp: New file.
4203
7f420862
IB
42042014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4205
4206 * configure.ac: Create gdb.dlang/Makefile.
4207 * configure: Regenerate.
4208 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4209 * gdb.dlang/Makefile.in: New file.
4210 * lib/d-support.exp: New file.
4211 * lib/gdb.exp (skip_d_tests): New proc.
4212
52834460
MM
42132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4214
4215 * gdb.btrace/delta.exp: Check reverse stepi.
4216 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4217 * gdb.btrace/finish.exp: New.
4218 * gdb.btrace/next.exp: New.
4219 * gdb.btrace/nexti.exp: New.
4220 * gdb.btrace/record_goto.c: Add comments.
4221 * gdb.btrace/step.exp: New.
4222 * gdb.btrace/stepi.exp: New.
4223 * gdb.btrace/multi-thread-step.c: New.
4224 * gdb.btrace/multi-thread-step.exp: New.
4225 * gdb.btrace/rn-dl-bind.c: New.
4226 * gdb.btrace/rn-dl-bind.exp: New.
4227 * gdb.btrace/data.c: New.
4228 * gdb.btrace/data.exp: New.
4229 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4230
6e07b1d2
MM
42312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4232
4233 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4234 * gdb.btrace/exception.exp: Update.
4235 * gdb.btrace/instruction_history.exp: Update.
4236 * gdb.btrace/record_goto.exp: Update.
4237 * gdb.btrace/tailcall.exp: Update.
4238 * gdb.btrace/unknown_functions.exp: Update.
4239 * gdb.btrace/delta.exp: New.
4240
0b722aec
MM
42412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4242
4243 * gdb.btrace/record_goto.exp: Add backtrace test.
4244 * gdb.btrace/tailcall.exp: Add backtrace test.
4245
066ce621
MM
42462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4247
4248 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4249 * gdb.btrace/record_goto.c: New.
4250 * gdb.btrace/record_goto.exp: New.
4251 * gdb.btrace/x86-record_goto.S: New.
4252
0688d04e
MM
42532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4254
4255 * gdb.btrace/function_call_history.exp: Update tests.
4256 * gdb.btrace/instruction_history.exp: Update tests.
4257
8710b709
MM
42582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4259
4260 * gdb.btrace/function_call_history.exp: Fix expected field
4261 order for "record function-call-history".
4262 Add new tests for "record function-call-history /c".
4263 * gdb.btrace/exception.cc: New.
4264 * gdb.btrace/exception.exp: New.
4265 * gdb.btrace/tailcall.exp: New.
4266 * gdb.btrace/x86-tailcall.S: New.
4267 * gdb.btrace/x86-tailcall.c: New.
4268 * gdb.btrace/unknown_functions.c: New.
4269 * gdb.btrace/unknown_functions.exp: New.
4270 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4271
5de9129b
MM
42722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4273
4274 * gdb.btrace/instruction_history.exp: Update.
4275 * gdb.btrace/function_call_history.exp: Update.
4276
23a7fe75
MM
42772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4278
4279 * gdb.btrace/function_call_history.exp: Fix expected function
4280 trace.
4281 * gdb.btrace/instruction_history.exp: Initialize traced.
4282 Remove traced_functions.
4283
724c7dd8
MM
42842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4285
4286 * gdb.btrace/function_call_history.exp: Update
4287 * gdb.btrace/instruction_history.exp: Update.
4288
6d78d93b
MM
42892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4290
4291 * gdb.btrace/enable.exp: Update expected text.
4292
93a360cc
OJ
42932014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4294
4295 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4296 bytes.
4297
3772b53f
MR
42982014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4299
4300 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4301
596662fa
OJ
43022014-01-15 Omair Javaid <omair.javaid@linaro.org>
4303
4304 * lib/gdb.exp (supports_process_record): Return true for
4305 arm*-linux*. (supports_reverse): Likewise.
4306
b5b08fb4
SC
43072014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4308
4309 PR python/15464
4310 PR python/16113
4311 * gdb.python/py-type.c: Enhance test case.
4312 * gdb.python/py-value-cc.cc: Likewise
4313 * gdb.python/py-type.exp: Add new tests.
4314 * gdb.python/py-value-cc.exp: Likewise
4315
52d7fb13
AA
43162014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4317 Pedro Alves <palves@redhat.com>
4318
4319 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4320 Make "name" extern.
4321 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4322 references to ${name}_start by references to ${name}.
4323
a2cd8cfe
JB
43242014-01-10 Joel Brobecker <brobecker@adacore.com>
4325
4326 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4327
4e23fced
JB
43282014-01-10 Joel Brobecker <brobecker@adacore.com>
4329
4330 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4331
c6a9e42c
PA
43322014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4333 Pedro Alves <palves@redhat.com>
4334
4335 * gdb.mi/mi-info-os.exp: Connect to the target with
4336 mi_gdb_target_load.
4337
b7ea362b
PA
43382014-01-08 Pedro Alves <palves@redhat.com>
4339
4340 * gdb.threads/reconnect-signal.c: New file.
4341 * gdb.threads/reconnect-signal.exp: New file.
4342
5e3f4fab
EBM
43432014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4344
4345 * gdb.base/source-dir.exp: New file.
4346
79301218
JB
43472014-01-07 Joel Brobecker <brobecker@adacore.com>
4348
4349 * gdb.ada/mi_interface: New testcase.
4350
8e355c5d
JB
43512014-01-07 Joel Brobecker <brobecker@adacore.com>
4352
4353 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4354 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4355 gdb.ada/pp-rec-component/pck.ads: New files.
4356
c0d48811
JB
43572014-01-07 Joel Brobecker <brobecker@adacore.com>
4358
4359 * gdb.python/py-pp-integral.c: New file.
4360 * gdb.python/py-pp-integral.py: New file.
4361 * gdb.python/py-pp-integral.exp: New file.
4362
17b609c3 4363For older changes see ChangeLog-1993-2013.
c906108c 4364\f
8d8cb839
EZ
4365;; Local Variables:
4366;; mode: change-log
4367;; left-margin: 8
4368;; fill-column: 74
4369;; version-control: never
4370;; End:
902f2ccb 4371
32d0add0 4372 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4373 Copying and distribution of this file, with or without modification,
4374 are permitted provided the copyright notice and this notice are preserved.