]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Skip catch-syscall.exp on HP-UX target
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
5d0962b2
YQ
12015-03-11 Yao Qi <yao.qi@linaro.org>
2
3 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4
b2df3cef
PA
52015-03-09 Pedro Alves <palves@redhat.com>
6
7 * dg-extract-results.py: Delete.
8
ef878e53
PA
92015-03-09 Pedro Alves <palves@redhat.com>
10
11 Merge dg-extract-results.sh from GCC upstream (r218843).
12
13 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14 * dg-extract-results.sh: Use --text with grep to avoid issues with
15 binary files. Fall back to cat -v, if that doesn't work.
16
9494d219
PA
172015-03-05 Pedro Alves <palves@redhat.com>
18
19 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
20
a8d9763a
SM
212015-03-04 Simon Marchi <simon.marchi@ericsson.com>
22
23 * lib/mi-support.exp (mi_expect_interrupt): Accept
24 alternative event for when in all-stop mode.
25
be9957b8
PA
262015-03-04 Pedro Alves <palves@redhat.com>
27
28 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
29
d57be0f4 302015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
31
32 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
33
c214c7cf
AA
342015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
35
36 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
37 regexps for GDB's current line display, accept a hex address
38 preceding the line number.
39
6d74a497
AA
402015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
41
42 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
43 the 'arch1' variable for "s390*-linux*" targets.
44
511aee7c
PA
452015-03-04 Pedro Alves <palves@redhat.com>
46
47 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
48 (main): Pass missing retval argument to pthread_join call.
49
95e50b27
PA
502015-03-02 Pedro Alves <palves@redhat.com>
51
52 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
53 (top level): Call do_test with non-stop as well.
54
28054d69
PA
552015-03-02 Pedro Alves <palves@redhat.com>
56
57 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
58 -1.
59
4fa5d7b4
AA
602015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
61
62 * gdb.arch/s390-vregs.exp: New test.
63 * gdb.arch/s390-vregs.S: New file.
64
97c18565
PA
652015-02-27 Pedro Alves <palves@redhat.com>
66
67 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
68 call to catch_command_errors.
69 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
70 catch_command_errors.
71
a37bfa30
PA
722015-02-27 Pedro Alves <palves@redhat.com>
73
74 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
75 "true" for boolean result.
76 * gdb.gdb/selftest.exp (test_with_self): Also accept full
77 prototype of main.
78
6f98576f
PA
792015-02-27 Pedro Alves <palves@redhat.com>
80
81 * lib/unbuffer_output.c: New file.
82 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
83 (main): Call gdb_unbuffer_output.
84
eba5ab56
YQ
852015-02-27 Yao Qi <yao.qi@linaro.org>
86
87 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
88 target.
89
0def5aaa
DE
902015-02-26 Doug Evans <dje@google.com>
91
92 * gdb.cp/class2.cc (Dbase, D): New classes.
93 (main): New local delta.
94 * gdb.cp/class2.exp: Test printing delta.
95 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
96 (dynbar): New global.
97 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
98
081a1c2c
JK
992015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
100
101 * gdb.compile/compile-ifunc.c: New file.
102 * gdb.compile/compile-ifunc.exp: New file.
103
2f41223f
AT
1042015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
105
106 * gdb.base/structs.exp: Check for correct struct on finish.
107
03eddd80
YQ
1082015-02-26 Yao Qi <yao.qi@linaro.org>
109
110 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
111 is zero.
112
80c57053
JK
1132015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
114
115 * gdb.arch/cordic.ko.bz2: New file.
116 * gdb.arch/cordic.ko.debug.bz2: New file.
117 * gdb.arch/ppc64-symtab-cordic.exp: New file.
118
21613c12
YQ
1192015-02-25 Yao Qi <yao.qi@linaro.org>
120
121 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
122 aarch64*-*-* target.
123
d8b901ed
PA
1242015-02-23 Pedro Alves <palves@redhat.com>
125
126 * lib/gdb.exp (delete_breakpoints): Rewrite using
127 gdb_test_multiple.
128
e5b85ead
PA
1292015-02-23 Pedro Alves <palves@redhat.com>
130
131 * gdb.base/info-os.c: Include stdlib.h.
132
85c3a371
DE
1332015-02-22 Doug Evans <xdje42@gmail.com>
134
135 PR symtab/17855
136 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
137 is read after symbols have been re-read.
138 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
139 * gdb.ada/exec_changed/second.adb (Second): Ditto.
140
96553a0c
DE
1412015-02-21 Doug Evans <dje@google.com>
142
143 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
144
97a0c697
JK
1452015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
146
147 PR corefiles/17808
148 * gdb.arch/i386-biarch-core.core.bz2: New file.
149 * gdb.arch/i386-biarch-core.exp: New file.
150
a47cd6e9
PA
1512015-02-21 Pedro Alves <palves@redhat.com>
152
153 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
154 runto_main fails.
155
c5facdc4
PA
1562015-02-20 Pedro Alves <palves@redhat.com>
157
158 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
159 info probes.
160
2db9a427
PA
1612015-02-20 Pedro Alves <palves@redhat.com>
162
163 * gdb.threads/multi-create-ns-info-thr.exp: New file.
164
60fb7e9e
PA
1652015-02-20 Pedro Alves <palves@redhat.com>
166
167 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
168 clean_restart before gdb_target_supports_trace.
169
5c5019c2
PA
1702015-02-20 Pedro Alves <palves@redhat.com>
171
172 PR threads/18006
173 * gdb.threads/clone-thread_db.c: New file.
174 * gdb.threads/clone-thread_db.exp: New file.
175
c9587f88
AT
1762015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
177
178 PR breakpoints/16812
179 * gdb.base/catch-gdb-caused-signals.c: New file.
180 * gdb.base/catch-gdb-caused-signals.exp: New file.
181
f6a88844
JM
1822015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
183
184 * configure: Regenerated.
185 * configure.ac: Use GDB_AC_TRANSFORM.
186 * aclocal.m4: sinclude ../transform.m4.
187
497c491b
JM
1882015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
189
190 * lib/dtrace.exp: New file.
191 * gdb.base/dtrace-probe.exp: Likewise.
192 * gdb.base/dtrace-probe.d: Likewise.
193 * gdb.base/dtrace-probe.c: Likewise.
194 * lib/pdtrace.in: Likewise.
195 * configure.ac: Output variables with the transformed names of
196 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
197 * configure: Regenerated.
198
03e98035
JM
1992015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
200
201 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
202 expected message when trying to access $_probe_* convenience
203 variables while not on a probe.
204
63cc30e9
JK
2052015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
206
207 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
208
0703599a
PA
2092015-02-11 Pedro Alves <pedro@codesourcery.com>
210
211 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
212 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
213
7e60a48e
DE
2142015-02-10 Doug Evans <xdje42@gmail.com>
215
216 * lib/gdb.exp (gdb_load): Always return a result.
217
01b088bc
PA
2182015-02-10 Pedro Alves <palves@redhat.com>
219
220 * gdb.threads/signal-sigtrap.c: New file.
221 * gdb.threads/signal-sigtrap.exp: New file.
222
b05ec7a5
AT
2232015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
224
225 * gdb.trace/no-attach-trace.c: New file.
226 * gdb.trace/no-attach-trace.exp: New file.
227
a2c2acaf
MW
2282015-02-09 Mark Wielaard <mjw@redhat.com>
229
230 * gdb.dwarf2/atomic.c: New file.
231 * gdb.dwarf2/atomic-type.exp: Likewise.
232
31fd9caa
MM
2332015-02-09 Markus Metzger <markus.t.metzger@intel.com>
234
235 * gdb.btrace/buffer-size.exp: Update "info record" output.
236 * gdb.btrace/delta.exp: Update "info record" output.
237 * gdb.btrace/enable.exp: Update "info record" output.
238 * gdb.btrace/finish.exp: Update "info record" output.
239 * gdb.btrace/instruction_history.exp: Update "info record" output.
240 * gdb.btrace/next.exp: Update "info record" output.
241 * gdb.btrace/nexti.exp: Update "info record" output.
242 * gdb.btrace/step.exp: Update "info record" output.
243 * gdb.btrace/stepi.exp: Update "info record" output.
244 * gdb.btrace/nohist.exp: Update "info record" output.
245
d33501a5
MM
2462015-02-09 Markus Metzger <markus.t.metzger@intel.com>
247
248 * gdb.btrace/buffer-size: New.
249
f4abbc16
MM
2502015-02-09 Markus Metzger <markus.t.metzger@intel.com>
251
252 * gdb.btrace/delta.exp: Update "info record" output.
253 * gdb.btrace/enable.exp: Update "info record" output.
254 * gdb.btrace/finish.exp: Update "info record" output.
255 * gdb.btrace/instruction_history.exp: Update "info record" output.
256 * gdb.btrace/next.exp: Update "info record" output.
257 * gdb.btrace/nexti.exp: Update "info record" output.
258 * gdb.btrace/step.exp: Update "info record" output.
259 * gdb.btrace/stepi.exp: Update "info record" output.
260 * gdb.btrace/nohist.exp: Update "info record" output.
261
b9d61307
SM
2622015-02-06 Simon Marchi <simon.marchi@ericsson.com>
263
264 PR gdb/15678
265 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
266
e584fdbc
PA
2672015-02-06 Pedro Alves <palves@redhat.com>
268
269 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
270 macro.
271 (seconds_left, again): New globals.
272 (main): Wait seconds_left in a 1-second sleep loop instead of
273 sleeping 180 seconds. If 'again' is set, reset the seconds
274 counter.
275 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
276 'again' in the inferior before detaching. Print the seconds left.
277 (options): New global.
278 (top level): Build program with -DTIMEOUT=$timeout.
279
77f41761
PA
2802015-02-06 Pedro Alves <palves@redhat.com>
281
282 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
283 determine how many seconds to pass to 'alarm'.
284 * gdb.base/gdb-sigterm.exp (top level): Build program with
285 -DTIMEOUT=$timeout.
286 (do_test): Return success/failure indication. Add more verbose
287 logging. Don't fail if 200 single steps are seen. Instead, fail
288 when the test times out.
289 (passes): New global.
290 (top level): Break the testing loop if testing fails on any
291 iteration. Use gdb_assert.
292
b9394193
DB
2932015-02-04 Don Breazeal <donb@codesourcery.com>
294
295 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
296 and initialize them.
297 (ipc_cleanup): New function.
298 (main): Don't declare shmid, semid, and msqid. Add a call to
299 atexit so that we call ipc_cleanup on exit.
300
42d9e528
PA
3012015-02-04 Pedro Alves <palves@redhat.com>
302
303 * boards/native-extended-gdbserver.exp: Remove any target variant
304 specifications from the board name before clearing the isremote
305 flag from board_info.
306
ae6ae975
DE
3072015-01-31 Doug Evans <xdje42@gmail.com>
308
309 * gdb.base/maint.exp <maint print type argc>: Update expected output.
310
cfb069a8
GB
3112015-01-31 Gary Benson <gbenson@redhat.com>
312
313 * gdb.base/completion.exp: Disable completion limiting for
314 existing tests. Add new tests to check completion limiting.
315 * gdb.linespec/ls-errs.exp: Disable completion limiting.
316
5dd31d79
DE
3172015-01-31 Doug Evans <xdje42@gmail.com>
318
319 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
320
9f050062
DE
3212015-01-31 Doug Evans <xdje42@gmail.com>
322
323 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
324 entries. Duplicate file section script entries.
325 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
326 inlined entries. Add test for safe-path rejection.
327 * gdb.python/py-section-script.c: Add duplicate inlined section script
328 entries. Duplicate file section script entries.
329 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
330 inlined entries. Add test for safe-path rejection.
331
df25ebbd
JB
3322015-01-29 Joel Brobecker <brobecker@adacore.com>
333
334 * gdb.ada/disc_arr_bound: New testcase.
335
4a0ca9ec
JB
3362015-01-29 Joel Brobecker <brobecker@adacore.com>
337
338 * gdb.ada/mi_var_array: New testcase.
339
3a8b707a
DE
3402015-01-27 Doug Evans <dje@google.com>
341
342 * gdb.python/py-objfile.exp: Add tests for objfile.username.
343 Add test for objfile.filename, objfile.username after objfile
344 has been unloaded.
345
f8313f6e
JB
3462015-01-26 Joel Brobecker <brobecker@adacore.com>
347
348 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
349 the second test to print the name attribute of value
350 returned by the call to gdb.lookup_type, and adjust
351 the expected output accordingly.
352
37bc665e
MW
3532015-01-25 Mark Wielaard <mjw@redhat.com>
354
355 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
356 * gdb.base/disp-step-fork.c: Include unistd.h.
357 * gdb.base/siginfo-obj.c: Include stdio.h.
358 * gdb.base/siginfo-thread.c: Likewise.
359 * gdb.mi/non-stop.c: Include unistd.h.
360 * gdb.mi/nsthrexec.c: Include stdio.h.
361 * gdb.mi/pthreads.c: Include unistd.h.
362 * gdb.modula2/unbounded1.c (main): Declare returns int.
363 * gdb.reverse/consecutive-reverse.c: Likewise.
364 * gdb.threads/create-fail.c: Include unistd.h.
365 * gdb.threads/killed.c: Likewise.
366 * gdb.threads/linux-dp.c: Likewise.
367 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
368 * gdb.threads/non-ldr-exc-2.c: Likewise.
369 * gdb.threads/non-ldr-exc-3.c: Likewise.
370 * gdb.threads/non-ldr-exc-4.c: Likewise.
371 * gdb.threads/pthreads.c: Include unistd.h.
372 (main): Declare returns int.
373 * gdb.threads/tls-main.c (foo): New declaration.
374 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
375
f7e5394d
SM
3762015-01-23 Simon Marchi <simon.marchi@ericsson.com>
377
378 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
379 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
380
743649fd
MW
3812015-01-15 Mark Wielaard <mjw@redhat.com>
382
383 * gdb.base/noreturn-return.c: New file.
384 * gdb.base/noreturn-return.exp: New file.
385 * gdb.base/noreturn-finish.c: New file.
386 * gdb.base/noreturn-finish.exp: New file.
387
198297aa
PA
3882015-01-23 Pedro Alves <palves@redhat.com>
389
390 * gdb.threads/continue-pending-after-query.c: New file.
391 * gdb.threads/continue-pending-after-query.exp: New file.
392
717cf30c
AG
3932015-01-22 Anders Granlund <anders.granlund@ericsson.com>
394 Simon Marchi <simon.marchi@ericsson.com>
395
396 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
397 * gdb.base/valgrind-db-attach.exp: Same.
398 * gdb.base/valgrind-infcall.exp: Same.
399 * lib/mi-support.exp (default_mi_gdb_start): Same.
400 * lib/prompt.exp (default_prompt_gdb_start): Same.
401 * lib/gdb.exp (default_gdb_spawn): Same.
402 (gdb_interact): New.
403
404
4b62a76e
JK
4052015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
406
407 * gdb.compile/compile.exp (pointer to jit function): New test.
408
b4cdae6f
WW
4092015-01-17 Wei-cheng Wang <cole945@gmail.com>
410
411 * lib/gdb.exp (supports_process_record): Return true for
412 powerpc*-*-linux*.
413 (supports_reverse): Likewise.
414
d221e7ef
DB
4152015-01-15 Don Breazeal <donb@codesourcery.com>
416
417 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
418 instead of checking whether the target board is remote and
419 use spawn_wait_for_attach instead of exec/sleep.
420 * gdb.base/attach-twice.exp: Likewise.
421
bafffb51
JB
4222015-01-15 Joel Brobecker <brobecker@adacore.com>
423
424 * gdb.ada/var_arr_attrs: New testcase.
425
5589af0e
PA
4262015-01-14 Pedro Alves <palves@redhat.com>
427 Joel Brobecker <brobecker@adacore.com>
428
429 PR gdb/17525
430 * gdb.base/bp-cmds-execution-x-script.c: New file.
431 * gdb.base/bp-cmds-execution-x-script.exp: New file.
432 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
433
6c400b59
PA
4342015-01-14 Pedro Alves <palves@redhat.com>
435
436 PR cli/17828
437 * gdb.base/batch-preserve-term-settings.c: New file.
438 * gdb.base/batch-preserve-term-settings.exp: New file.
439
e02c96a7
DE
4402015-01-13 Doug Evans <dje@google.com>
441
442 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
443 binary.
444
576fd14c
JB
4452015-01-13 Joel Brobecker <brobecker@adacore.com>
446
447 * Makefile.in (clean mostlyclean): Do not delete *.py.
448
04dccad0
JB
4492015-01-13 Joel Brobecker <brobecker@adacore.com>
450
451 * gdb.python/py-lookup-type.exp: New file.
452
3d230f71
PA
4532015-01-12 Pedro Alves <palves@redhat.com>
454
455 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
456 restore GDBFLAGS before returning.
457
7e67715d
JK
4582015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
459
460 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
461 is_amd64_regs_target and is_x86_like_target.
462
f2e0d4b4
DE
4632015-01-11 Doug Evans <xdje42@gmail.com>
464
465 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
466 is given without an explicit form.
467 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
468 attributes.
469 * gdb.dwarf/corrupt.exp: Ditto.
470 * gdb.dwarf2/enum-type.exp: Ditto.
471 * gdb.trace/entry-values.exp: Ditto.
472 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
473
439250fb
DE
4742015-01-11 Doug Evans <xdje42@gmail.com>
475
476 PR gdb/15830
477 * gdb.base/maint.exp: Remove references to "maint demangle".
478 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
479 Add tests for explicitly specifying language to demangle.
480 * gdb.dlang/demangle.exp: Ditto.
481
ede9f622
PA
4822015-01-09 Pedro Alves <palves@redhat.com>
483
484 * gdb.threads/non-stop-fair-events.c: New file.
485 * gdb.threads/non-stop-fair-events.exp: New file.
486
a7b796db
PA
4872015-01-09 Pedro Alves <palves@redhat.com>
488
489 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
490 the global scope. Set a breakpoint after all threads are started
491 rather than stepping over two source lines. Expect the prompt.
492 * gdb.base/watch_thread_num.c (threads_started_barrier): New
493 global.
494 (NUM): Now 15.
495 (main): Use threads_started_barrier to wait for all threads to
496 start. Main thread no longer calls thread_function. Exit after
497 180 seconds.
498 (loop): New function.
499 (thread_function): Wait on threads_started_barrier barrier. Call
500 'loop' at each iteration.
501 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
502 threads have started, instead of hardcoding number of "next"
503 steps. Use an access watchpoint instead of a write watchpoint.
504
9665ffdd
PA
5052015-01-09 Pedro Alves <palves@redhat.com>
506
507 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
508 (thread_func): Wait on barrier.
509 (main): Wait for all threads to start before stopping GDB.
510 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
511 global.
512 (thread1_func, thread2_func): Wait on barrier.
513 (main): Wait for all threads to start before stopping GDB.
514 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
515 New global.
516 (thread1_func, thread2_func): Wait on barrier.
517 (main): Wait for all threads to start before stopping GDB.
518
c945a99f
PA
5192015-01-09 Pedro Alves <palves@redhat.com>
520
521 * gdb.threads/attach-many-short-lived-threads.c: New file.
522 * gdb.threads/attach-many-short-lived-threads.exp: New file.
523
c1a747c1
PA
5242014-01-09 Pedro Alves <palves@redhat.com>
525
526 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
527 instead of to thread 2.
528 * gdb.threads/signal-command-multiple-signals-pending.c (main):
529 Add barrier around each pthread_create call instead of around all
530 calls.
531 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
532 Set a break on thread_function and have the child threads hit it
533 one at at a time.
534
60b3033e
PA
5352015-01-09 Pedro Alves <palves@redhat.com>
536
537 * lib/gdb.exp (can_spawn_for_attach): New procedure.
538 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
539 false.
540 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
541 checking whether the target board is remote.
542 * gdb.multi/multi-attach.exp: Likewise.
543 * gdb.python/py-sync-interp.exp: Likewise.
544 * gdb.server/ext-attach.exp: Likewise.
545 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
546 tests that need to attach, instead of checking whether the target
547 board is remote at the top of the file.
548
acc018ac
YQ
5492015-01-08 Yao Qi <yao@codesourcery.com>
550
551 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
552
50a18af8
JK
5532015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
554
555 Fix testcase compilation.
556 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
557
8503d6e1
JB
5582015-01-06 Joel Brobecker <brobecker@adacore.com>
559
560 * gdb.python/py-type.exp: Add a couple test about empty
561 array creation, and negative-length array creation.
562
cc73dbcc
DE
5632015-01-02 Doug Evans <xdje42@gmail.com>
564
565 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
566
0300bbc7
DE
5672015-01-02 Doug Evans <dje@google.com>
568
569 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
570
9d85a0ec
YQ
5712014-12-29 Yao Qi <yao@codesourcery.com>
572
573 * gdb.trace/entry-values.exp: Update comments. Rename variable
574 bar_call_foo to returned_from_foo.
575
87186c6a
MMN
5762014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
577
578 PR gdb/17394
579 * gdb.linespec/break-asm-file.c: New file.
580 * gdb.linespec/break-asm-file.exp: New file.
581 * gdb.linespec/break-asm-file0.s: New file.
582 * gdb.linespec/break-asm-file1.s: New file.
583
1bab7383
YQ
5842014-12-18 Nigel Stephens <nigel@mips.com>
585 Maciej W. Rozycki <macro@codesourcery.com>
586
587 * gdb.base/float.exp: Handle the new output from "info float" on
588 MIPS targets.
589
1bc1068a
JK
5902014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
591
592 Fix MinGW compilation.
593 * gdb.compile/compile-ops.exp: Update untested message if
594 !skip_compile_feature_tests.
595 * gdb.compile/compile-setjmp.exp: Likewise.
596 * gdb.compile/compile-tls.exp: Likewise.
597 * gdb.compile/compile.exp: Likewise.
598 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
599 supported on this host".
600
b6615d10
DE
6012014-12-16 Doug Evans <xdje42@gmail.com>
602
603 * boards/stabs.exp: New file.
604
25dda427
AA
6052014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
606
607 * gdb.base/completion.exp: Adjust to format changes of "maint
608 print user-registers".
609
bf330350
CU
6102014-12-16 Catalin Udma <catalin.udma@freescale.com>
611
612 PR server/17457
613 * gdb.arch/aarch64-fp.c: New file.
614 * gdb.arch/aarch64-fp.exp: New file.
615
395cf596
SDJ
6162014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
617
618 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
619 r210637, r210913, r211666, r215400, r215817).
620
621 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
622 * dg-extract-results.py: New file.
623 * dg-extract-results.sh: Use it if the environment seems
624 suitable.
625
626 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
627
628 * dg-extract-results.py (parse_run): Handle warnings that
629 are printed before a test harness is run.
630
631 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
632
633 * dg-extract-results.py (Named): Remove __cmp__ method.
634 (output_variation): Use a key to sort variation.harnesses.
635
636 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
637
638 * dg-extract-results.py: For Python 3, force sys.stdout to
639 handle surrogate escape sequences.
640 (safe_open): New function.
641 (output_segment, main): Use it.
642
643 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
644
645 * dg-extract-results.py (Prog.result_re): Include options
646 in test name.
647
648 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
649
650 * dg-extract-results.py (output_variation): Always sort if
651 do_sum.
652
e882ef3c
SM
6532014-12-15 Simon Marchi <simon.marchi@ericsson.com>
654
655 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
656 as long as we get pagination notifications.
657
4992aa20
JM
6582014-12-15 Jason Merrill <jason@redhat.com>
659
660 * Makefile.in (check-gdb.%): Restore.
661 * README: Mention it.
662
c1b5a1a6
JB
6632014-12-13 Joel Brobecker <brobecker@adacore.com>
664
665 * gdb.ada/str_uninit: New testcase.
666
5537b577
JK
6672014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
668
669 PR symtab/17642
670 * gdb.base/vla-stub-define.c: New file.
671 * gdb.base/vla-stub.c: New file.
672 * gdb.base/vla-stub.exp: New file.
673
bb2ec1b3
TT
6742014-12-12 Phil Muldoon <pmuldoon@redhat.com>
675 Jan Kratochvil <jan.kratochvil@redhat.com>
676 Tom Tromey <tromey@redhat.com>
677
678 * configure.ac: Add gdb.compile/.
679 * configure: Regenerate.
680 * gdb.compile/Makefile.in: New file.
681 * gdb.compile/compile-ops.exp: New file.
682 * gdb.compile/compile-ops.c: New file.
683 * gdb.compile/compile-tls.c: New file.
684 * gdb.compile/compile-tls.exp: New file.
685 * gdb.compile/compile-constvar.S: New file.
686 * gdb.compile/compile-constvar.c: New file.
687 * gdb.compile/compile-mod.c: New file.
688 * gdb.compile/compile-nodebug.c: New file.
689 * gdb.compile/compile-setjmp-mod.c: New file.
690 * gdb.compile/compile-setjmp.c: New file.
691 * gdb.compile/compile-setjmp.exp: New file.
692 * gdb.compile/compile-shlib.c: New file.
693 * gdb.compile/compile.c: New file.
694 * gdb.compile/compile.exp: New file.
695 * lib/gdb.exp (skip_compile_feature_tests): New proc.
696
4ff709eb
TT
6972014-12-12 Tom Tromey <tromey@redhat.com>
698
699 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
700 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
701
6dddd6a5
DE
7022014-12-12 Doug Evans <dje@google.com>
703
704 * lib/gdb-python.exp (get_python_valueof): New function.
705 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
706
71c24708
AA
7072014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
708
709 * gdb.base/completion.exp: Add test for completion of "info
710 registers ".
711
3e29f34a
MR
7122014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
713
714 * gdb.base/func-ptrs.c: New file.
715 * gdb.base/func-ptrs.exp: New file.
716
fc126975
SM
7172014-12-10 Simon Marchi <simon.marchi@ericsson.com>
718
719 PR breakpoints/17012
720 * gdb.base/dprintf-detach.c: New file.
721 * gdb.base/dprintf-detach.exp: New file.
722
0a46d518
SM
7232014-12-10 Simon Marchi <simon.marchi@ericsson.com>
724
725 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
726 * lib/gdb.exp (target_is_gdbserver): New procedure.
727
a0be3e44
DE
7282014-12-08 Doug Evans <dje@google.com>
729
730 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
731
df1b803a
YQ
7322014-12-05 Yao Qi <yao@codesourcery.com>
733
734 * gdb.guile/scm-error.exp: Remove the third argument to
735 gdb_remote_download.
736 * gdb.guile/scm-frame-args.exp: Likewise.
737 * gdb.guile/scm-section-script.exp: Likewise.
738
ddb9f679
YQ
7392014-12-05 Yao Qi <yao@codesourcery.com>
740
741 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
742
86e4ed39
DE
7432014-12-04 Doug Evans <dje@google.com>
744
745 * gdb.python/py-objfile.exp: Add tests for
746 objfile.add_separate_debug_file.
747
7c50a931
DE
7482014-12-04 Doug Evans <dje@google.com>
749
750 * lib/gdb.exp (get_build_id): New function.
751 (build_id_debug_filename_get): Rewrite to use it.
752 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
753
621661e3
MR
7542014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
755
756 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
757 `method(long)', not just 0x0.
758 * gdb.cp/nsalias.exp: Align code labels to 4.
759 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
760 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
761 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
762 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
763 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
764 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
765
29f0c3b7
DE
7662014-12-02 Doug Evans <dje@google.com>
767
e1e061e7 768 PR symtab/17602
29f0c3b7 769 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 770 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
771 * gdb.cp/anon-ns.exp: Update.
772
162078c8
NB
7732014-12-02 Nick Bull <nicholaspbull@gmail.com>
774
775 * gdb.python/py-events.py (inferior_call_handler): New.
776 (register_changed_handler, memory_changed_handler): New.
777 (test_events.invoke): Register new handlers.
778 * gdb.python/py-events.exp: Add tests for inferior call,
779 memory_changed and register_changed events.
780
fdb09caf
AA
7812014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
782
783 * gdb.base/execl-update-breakpoints.exp: Specify the link address
784 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
785 if the linker doesn't understand this.
786
55cfb2c4
SM
7872014-12-01 Simon Marchi <simon.marchi@ericsson.com>
788
789 * gdb.python/python.exp: Change expected reply to help().
790
9e8cd6df
YQ
7912014-12-01 Yao Qi <yao@codesourcery.com>
792
793 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
794 AC_CONFIG_SUBDIRS(gdb.gdbtk).
795 * configure: Re-generated.
796
6c659fc2
SC
7972014-11-28 Siva Chandra Reddy <sivachandra@google.com>
798
799 * gdb.cp/chained-calls.cc: New file.
800 * gdb.cp/chained-calls.exp: New file.
801 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
802
d7fc3181
SM
8032014-11-28 Simon Marchi <simon.marchi@ericsson.com>
804
805 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
806 * gdb.dwarf2/symtab-producer.exp: Same.
807 * gdb.gdb/python-interrupts.exp: Same.
808 * gdb.gdb/python-selftest.exp: Same.
809 * gdb.python/py-linetable.exp: Same.
810 * gdb.python/py-type.exp: Same.
811 * gdb.python/py-value-cc.exp: Same.
812 * gdb.python/py-value.exp: Same.
813
10e79639
YQ
8142014-11-28 Yao Qi <yao@codesourcery.com>
815
816 * gdb.base/break-probes.exp: Match library name prefixed with
817 sysroot.
818
f28a0564
SM
8192014-11-27 Simon Marchi <simon.marchi@ericsson.com>
820
821 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
822 test expected output. Add parentheses for the call to print.
823 Remove L suffix from integers.
824
3fe1ce1d
DE
8252014-11-26 Doug Evans <dje@google.com>
826
827 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
828
84429e27
YQ
8292014-11-22 Yao Qi <yao@codesourcery.com>
830
831 * gdb.trace/entry-values.c: Remove asms.
832 (foo): Add foo_label.
833 (bar): Add bar_label.
834 * gdb.trace/entry-values.exp: Remove code computing foo's
835 length and bar's length.
836 (Dwarf::assemble): Invoke function_range for bar and use
837 MACRO_AT_func for foo.
838
26741859
YQ
8392014-11-22 Yao Qi <yao@codesourcery.com>
840
841 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
842 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
843 Use .Lgcc43_procstart instead of gcc43.
844
45e44d27
JB
8452014-11-21 Joel Brobecker <brobecker@adacore.com>
846
847 * gdb.ada/n_arr_bound: New testcase.
848
458c8db8
SDJ
8492014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
850
851 PR breakpoints/10737
852 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
853 test_catch_syscall_multi_arch.
854 (test_catch_syscall_multi_arch): New function.
855
43f3e411
DE
8562014-11-20 Doug Evans <xdje42@gmail.com>
857
858 * gdb.base/maint.exp: Update expected output.
859
0d7b2549
AA
8602014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
861
862 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
863 4-byte instruction on S390.
864
8908fca5
JB
8652014-11-19 Joel Brobecker <brobecker@adacore.com>
866
867 * gdb.ada/arr_arr: New testcase.
868
4a46959e
JB
8692014-11-19 Joel Brobecker <brobecker@adacore.com>
870
871 * gdb.ada/pkd_arr_elem: New Testcase.
872
470e2f4e
LM
8732014-11-18 Luis Machado <lgustavo@codesourcery.com>
874
875 * gdb.reverse/break-precsave: Expect completion message for
876 core file reads.
877 * gdb.reverse/consecutive-precsave.exp: Likewise.
878 * gdb.reverse/finish-precsave.exp: Likewise.
879 * gdb.reverse/i386-precsave.exp: Likewise.
880 * gdb.reverse/machinestate-precsave.exp: Likewise.
881 * gdb.reverse/sigall-precsave.exp: Likewise.
882 * gdb.reverse/solib-precsave.exp: Likewise.
883 * gdb.reverse/step-precsave.exp: Likewise.
884 * gdb.reverse/until-precsave.exp: Likewise.
885 * gdb.reverse/watch-precsave.exp: Likewise.
886
a267f3ad
AA
8872014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
888
889 * gdb.base/bp-permanent.c: Include unistd.h.
890 * gdb.python/py-framefilter-mi.c (main): Add return type.
891 * gdb.python/py-framefilter.c (main): Likewise.
892 * gdb.trace/actions-changed.c (main): Likewise.
893
12084a9a
AA
8942014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
895
896 * gdb.mi/until.c: Add eye-catchers.
897 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
898 line numbers.
899
dc7e1a77
AA
9002014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
901
902 * gdb.base/condbreak.exp: Drop references to removed non-prototype
903 function header variants in break1.c.
904 * gdb.base/ena-dis-br.exp: Likewise.
905 * gdb.base/hbreak2.exp: Likewise.
906 * gdb.reverse/until-precsave.exp: Drop references to removed
907 non-prototype function header variants in ur1.c.
908 * gdb.reverse/until-reverse.exp: Likewise.
909
41c77605
PM
9102014-11-17 Petr Machata <pmachata@redhat.com>
911
912 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
913 ${_cu_offset_size} bytes abbrev offset.
914
34248c3a
DE
9152014-11-15 Doug Evans <xdje42@gmail.com>
916
917 PR symtab/17559
918 * gdb.base/line-symtabs.exp: New file.
919 * gdb.base/line-symtabs.c: New file.
920 * gdb.base/line-symtabs.h: New file.
921
646da059
YQ
9222014-11-14 Yao Qi <yao@codesourcery.com>
923
924 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
925 (func): Add label func_label.
926 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
927 Replace low_pc and high_pc with MACRO_AT_range.
928 Replace name, low_pc and high_pc with MACRO_AT_func.
929
9301ebe6
YQ
9302014-11-14 Yao Qi <yao@codesourcery.com>
931
932 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
933 Replace name, low_pc and high_pc with MACRO_AT_func.
934
f166b542
YQ
9352014-11-14 Yao Qi <yao@codesourcery.com>
936
937 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
938 produce debug information.
939 * gdb.dwarf2/implptr-optimized-out.S: Removed.
940
0f6e71e3
YQ
9412014-11-14 Yao Qi <yao@codesourcery.com>
942
943 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
944 object and get function length.
945 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
946 with MACRO_AT_func.
947 (top-level): Replace gdb_compile and clean_restart with
948 prepare_for_testing.
949 * gdb.dwarf2/main.c (main): Add label main_label.
950
876c4df9
YQ
9512014-11-14 Yao Qi <yao@codesourcery.com>
952
953 * lib/dwarf.exp (function_range): New procedure.
954 (Dwarf::_handle_macro_at_func): New procedure.
955 (Dwarf::_handle_macro_at_range): New procedure.
956 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
957
02ad9cf1
YQ
9582014-11-14 Yao Qi <yao@codesourcery.com>
959
960 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
961 (_handle_attribute): New procedure.
962
a59add0c
AA
9632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
964
965 * gdb.ada/cond_lang/foo.c (callme): Add return type.
966 * gdb.base/call-sc.c (zed): Likewise.
967 * gdb.base/checkpoint.c (main): Likewise.
968 * gdb.base/dump.c (main): Likewise.
969 * gdb.base/gcore.c (main): Likewise.
970 * gdb.base/huge.c (main): Likewise.
971 * gdb.base/multi-forks.c (main): Likewise.
972 * gdb.base/pr10179-a.c (main): Likewise.
973 * gdb.base/savedregs.c (main): Likewise.
974 * gdb.base/sigaltstack.c (main): Likewise.
975 * gdb.base/siginfo.c (main): Likewise.
976 * gdb.base/structs.c (zed): Likewise.
977 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
978 * gdb.mi/mi-syn-frame.c (main): Likewise.
979 * gdb.mi/until.c (foo, main): Likewise.
980 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
981 * gdb.base/solib-weak.c (foo): Declare.
982 * gdb.base/attach-twice.c: Include stdio.h.
983 * gdb.base/weaklib1.c: Likewise.
984 * gdb.base/weaklib2.c: Likewise.
985 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
986 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
987 unistd.h.
988 * gdb.base/attach-pie-misread.c: Include stdlib.h.
989 * gdb.mi/mi-exit-code.c: Likewise.
990 * gdb.base/break-interp-lib.c: Include string.h.
991 * gdb.base/coremaker.c: Likewise.
992 * gdb.base/testenv.c: Likewise.
993 * gdb.python/py-finish-breakpoint.c: Likewise.
994 * gdb.base/inferior-died.c: Include sys/wait.h.
995 * gdb.base/fileio.c: Include time.h.
996 * gdb.base/async-shell.c: Include unistd.h.
997 * gdb.base/dprintf-non-stop.c: Likewise.
998 * gdb.base/info-os.c: Likewise.
999 * gdb.mi/mi-console.c: Likewise.
1000 * gdb.mi/watch-nonstop.c: Likewise.
1001 * gdb.python/py-events.c: Likewise.
1002 * gdb.base/async.c (baz): Move up before its invocation.
1003 * gdb.base/code_elim2.c (my_global_func): Likewise.
1004 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1005 * gdb.base/advance.c (func2): Likewise.
1006
3b5d5997
AA
10072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1008
1009 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1010 variant.
1011 * gdb.base/annota3.c: Likewise.
1012 * gdb.base/async.c: Likewise.
1013 * gdb.base/average.c: Likewise.
1014 * gdb.base/call-ar-st.c: Likewise.
1015 * gdb.base/call-rt-st.c: Likewise.
1016 * gdb.base/call-sc.c: Likewise.
1017 * gdb.base/call-strs.c: Likewise.
1018 * gdb.base/ending-run.c: Likewise.
1019 * gdb.base/execd-prog.c: Likewise.
1020 * gdb.base/exprs.c: Likewise.
1021 * gdb.base/foll-exec.c: Likewise.
1022 * gdb.base/foll-fork.c: Likewise.
1023 * gdb.base/foll-vfork.c: Likewise.
1024 * gdb.base/funcargs.c: Likewise.
1025 * gdb.base/gcore.c: Likewise.
1026 * gdb.base/jump.c: Likewise.
1027 * gdb.base/langs0.c: Likewise.
1028 * gdb.base/langs1.c: Likewise.
1029 * gdb.base/langs2.c: Likewise.
1030 * gdb.base/mips_pro.c: Likewise.
1031 * gdb.base/nodebug.c: Likewise.
1032 * gdb.base/opaque0.c: Likewise.
1033 * gdb.base/opaque1.c: Likewise.
1034 * gdb.base/recurse.c: Likewise.
1035 * gdb.base/run.c: Likewise.
1036 * gdb.base/scope0.c: Likewise.
1037 * gdb.base/scope1.c: Likewise.
1038 * gdb.base/setshow.c: Likewise.
1039 * gdb.base/setvar.c: Likewise.
1040 * gdb.base/shmain.c: Likewise.
1041 * gdb.base/shr1.c: Likewise.
1042 * gdb.base/shr2.c: Likewise.
1043 * gdb.base/sigall.c: Likewise.
1044 * gdb.base/signals.c: Likewise.
1045 * gdb.base/so-indr-cl.c: Likewise.
1046 * gdb.base/solib2.c: Likewise.
1047 * gdb.base/structs.c: Likewise.
1048 * gdb.base/sum.c: Likewise.
1049 * gdb.base/vforked-prog.c: Likewise.
1050 * gdb.base/watchpoint.c: Likewise.
1051 * gdb.reverse/shr2.c: Likewise.
1052 * gdb.reverse/until-reverse.c: Likewise.
1053 * gdb.reverse/ur1.c: Likewise.
1054 * gdb.reverse/watch-reverse.c: Likewise.
1055
066a77c5
AA
10562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1057
1058 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1059 variant.
1060 * gdb.base/sepdebug.exp: Drop references to removed code.
1061
4f204ea5
AA
10622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1063
1064 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1065 variant. Preserve original line numbering.
1066 * gdb.base/list1.c: Likewise.
1067
3b377a3a
AA
10682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1069
1070 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1071 variant.
1072 * gdb.base/break1.c: Likewise.
1073 * gdb.base/break.exp: Drop references to removed code.
1074
e444df73
AA
10752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1076
1077 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1078 variant.
1079
8008f2a7
AA
10802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1081
1082 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1083
a5a06887
AA
10842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1085
1086 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1087 logic into perform_all_tests() and invoke it with and without
1088 function header prototypes.
1089 (do_function_calls): Remove conditional XFAIL for PR 5318.
1090 (rerun_and_prepare): Remove duplicate code.
1091 (perform_all_tests): New. Main logic moved here.
1092
44dba9b9
AA
10932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1094
1095 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1096 code guarded by #ifdef NO_PROTOTYPES.
1097 (t_double_many_args): Likewise.
1098 (DEF_FUNC_MANY_ARGS_1): Likewise.
1099 (DEF_FUNC_VALUES_1): Likewise.
1100 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1101 guarded by #ifdef PROTOTYPES.
1102
d1fbcd56
AA
11032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1104
1105 * gdb.mi/mi-console.c: Add eye-catcher.
1106 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1107 instead of literal line number.
1108
b0e59b8f
AA
11092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1110
1111 * gdb.base/shr2.c: Add eye-catcher.
1112 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1113 line number.
1114
78f98cca
AA
11152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1116
1117 * gdb.base/jump.c: Add eye-catchers.
1118 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1119 numbers.
1120
58fa2af0
AA
11212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1122
1123 * gdb.base/execd-prog.c: Add eye-catchers.
1124 * gdb.base/foll-exec.c: Likewise.
1125 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1126 line numbers.
1127
04e5059b
AA
11282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1129
1130 * gdb.base/ending-run.c: Add eye-catchers.
1131 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1132 literal line numbers.
1133
dbfdb174
AA
11342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1135
1136 * gdb.base/call-rt-st.c: Add eye-catchers.
1137 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1138 literal line numbers.
1139
888a2ade
AA
11402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1141
1142 * gdb.base/call-ar-st.c: Add eye-catchers.
1143 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1144 literal line numbers.
1145
6acc2dde
AA
11462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1147
1148 * gdb.base/average.c: Add eye-catchers.
1149 * gdb.base/sum.c: Likewise.
1150 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1151 regexps dynamically.
1152
9ecfcd1d
AA
11532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1154
1155 * gdb.base/solib1.c: Add eye-catchers.
1156 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1157 literal line numbers.
1158
78708b7c
PA
11592014-11-12 Pedro Alves <palves@redhat.com>
1160
1161 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1162 leader has exited.
1163
af48d08f
PA
11642014-11-12 Pedro Alves <palves@redhat.com>
1165
1166 * gdb.arch/i386-bp_permanent.c: New file.
1167 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1168 (srcfile): Set to i386-bp_permanent.c.
1169 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1170 that stepi does not execute the 'leave' instruction, instead of
1171 testing it does execute.
1172 * gdb.base/bp-permanent.c: New file.
1173 * gdb.base/bp-permanent.exp: New file.
1174
af3768e9
DE
11752014-11-10 Doug Evans <xdje42@gmail.com>
1176
1177 PR symtab/17564
1178 * gdb.base/symtab-search-order.exp: New file.
1179 * gdb.base/symtab-search-order.c: New file.
1180 * gdb.base/symtab-search-order-1.c: New file.
1181 * gdb.base/symtab-search-order-shlib-1.c: New file.
1182
9de00a4a
PA
11832014-11-07 Pedro Alves <palves@redhat.com>
1184
1185 PR gdb/17511
1186 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1187 i?86-*-linux*.
1188
e0f52461
SC
11892014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1190
1191 PR c++/17494
1192 * gdb.cp/pr17494.cc: New file.
1193 * gdb.cp/pr17494.exp: New file.
1194
6ce8c980
YQ
11952014-11-02 Yao Qi <yao@codesourcery.com>
1196
1197 * gdb.python/python.exp: Get working directory and match the
1198 output of "set extended-prompt \\w " with it.
1199
02be9a71
DE
12002014-10-30 Doug Evans <dje@google.com>
1201
1202 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1203 in objfiles.
1204 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1205 in progspaces.
1206
3bdff46b
LM
12072014-10-30 Janis Johnson <janisjo@codesourcery.com>
1208
1209 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1210 * gdb.base/realname-expand.exp: Likewise.
1211 * gdb.linespec/macro-relative.exp: Likewise.
1212
ab917dfb
PA
12132014-10-29 Pedro Alves <palves@redhat.com>
1214
1215 PR gdb/17408
1216 * gdb.threads/schedlock.c (some_function): New function.
1217 (call_function): New global.
1218 (MAYBE_CALL_SOME_FUNCTION): New macro.
1219 (thread_function): Call it.
1220 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1221 and use it instead of a global counter. Adjust all callers.
1222 (get_current_thread): Use "find current thread" for test message
1223 here rather than having all callers pass down the same string.
1224 (goto_loop): New procedure, factored out from ...
1225 (my_continue): ... this.
1226 (step_ten_loops): Change parameter from test message to command to
1227 use. Adjust.
1228 (list_count): Delete global.
1229 (check_result): New procedure, factored out from duplicate top
1230 level code.
1231 (continue tests): Wrap in with_test_prefix.
1232 (test_step): New procedure, factored out from duplicate top level
1233 code.
1234 (top level): Test "step" in combination with all scheduler-locking
1235 modes. Test "next" in combination with all scheduler-locking
1236 modes, and in combination with stepping over a function call or
1237 not.
1238 * gdb.threads/next-bp-other-thread.c: New file.
1239 * gdb.threads/next-bp-other-thread.exp: New file.
1240
d3d4baed
PA
12412014-10-29 Pedro Alves <palves@redhat.com>
1242
1243 PR python/17372
1244 * gdb.python/python.exp: Test a multi-line command that spawns
1245 interactive Python.
1246 * gdb.base/multi-line-starts-subshell.exp: New file.
1247
563e8d85
YQ
12482014-10-29 Yao Qi <yao@codesourcery.com>
1249
1250 * gdb.base/fileio.exp: Make directories on host.
1251
0ea4d52e
YQ
12522014-10-29 Yao Qi <yao@codesourcery.com>
1253
1254 * gdb.base/fileio.c (test_write): Close the file.
1255
7f5ef605
PA
12562014-10-28 Pedro Alves <palves@redhat.com>
1257
1258 PR gdb/12623
1259 * gdb.base/sigstep.c (no_handler): New global.
1260 (main): If 'no_handler is true, set the signal handlers to
1261 SIG_IGN.
1262 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1263 with_sw_watch and no_handler parameters. Handle them.
1264 (top level) <stepping over handler when stopped at a breakpoint
1265 test>: Add a test axis for testing with a software watchpoint, and
1266 another for testing with the signal handler set to SIG_IGN.
1267 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1268 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1269
abbdbd03
PA
12702014-10-28 Pedro Alves <palves@redhat.com>
1271
1272 PR gdb/17511
1273 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1274 * gdb.base/sigstep.exp (other_handler_location): New global.
1275 (advance): Support stepping into the signal handler, and running
1276 commands while in the handler.
1277 (in_handler_map): New global.
1278 (top level): In the advance test, add combinations for getting
1279 into the handler with stepping commands, and for running commands
1280 in the handler. Add comment descripting the advancei tests.
1281
1df4399f
PA
12822014-10-28 Pedro Alves <palves@redhat.com>
1283
1284 * gdb.base/sigstep.exp: Use build_executable instead of
1285 prepare_for_testing.
1286 (top level): Move code that starts GDB, runs to main and creates a
1287 display to ...
1288 (restart): ... this new procedure.
1289 (top level): Move backtrace from signal handler test to ...
1290 (validate_backtrace): ... this new procedure.
1291 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1292 with_test_prefix. Always restart GDB.
1293 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1294 with_test_prefix. Always restart GDB. No need to delete
1295 breakpoints after the test.
1296 (test_skip_handler): Remove prefix parameter.
1297 (skip_over_handler, breakpoint_to_handler)
1298 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1299 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1300 restart GDB. No need to delete breakpoints after the test.
1301 (top level): Use foreach to call the test procedures with
1302 different commands.
1303
a5b6e449
PA
13042014-10-28 Pedro Alves <palves@redhat.com>
1305
1306 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1307 instead of GNATS numbers.
1308 * gdb.base/sigbpt.exp: Likewise.
1309 * gdb.base/siginfo.exp: Likewise.
1310 * gdb.base/sigstep.exp: Likewise.
1311
e5f8a7cc
PA
13122014-10-27 Pedro Alves <palves@redhat.com>
1313
1314 * gdb.base/sigstep.c (dummy): New global.
1315 (main): Issue a couple writes to the new global.
1316 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1317 procedures.
1318 (skip_over_handler): Use test_skip_handler.
1319 (top level): Call skip_over_handler for stepi and nexti too.
1320 (breakpoint_over_handler): Use test_skip_handler.
1321 (top level): Call breakpoint_over_handler for stepi and nexti too.
1322
763905a3
YQ
13232014-10-27 Yao Qi <yao@codesourcery.com>
1324
1325 * gdb.trace/tfile.c (adjust_function_address)
1326 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1327 function descriptor.
1328
6f259a23
DB
13292014-10-24 Don Breazeal <donb@codesourcery.com>
1330
1331 * gdb.base/foll-fork.exp (test_follow_fork,
1332 catch_fork_child_follow): Check for updated fork messages emitted
1333 from infrun.c.
1334 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1335 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1336 vfork_and_exec_child_follow_through_step): Check for updated vfork
1337 messages emitted from infrun.c.
1338
09dd9a69
PA
13392014-10-24 Pedro Alves <palves@redhat.com>
1340
1341 * gdb.base/corefile.exp: Remove references to ultrix.
1342 * gdb.base/interrupt.exp: Likewise.
1343 * gdb.base/whatis.exp: Likewise.
1344 * gdb.gdb/selftest.exp: Likewise.
1345 * gdb.threads/manythreads.exp: Likewise.
1346 * gdb.threads/print-threads.exp: Likewise.
1347 * gdb.threads/pthreads.exp:: Likewise.
1348 * gdb.threads/schedlock.exp: Likewise.
1349
3433cfa5
SC
13502014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1351
1352 * gdb.cp/non-trivial-retval.cc: Add a test case.
1353 * gdb.cp/non-trivial-retval.exp: Add a test.
1354
092f880b
YQ
13552014-10-20 Yao Qi <yao@codesourcery.com>
1356
1357 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1358 * gdb.python/py-objfile-script-gdb.py: New file.
1359 * gdb.python/py-objfile-script.exp: Update reference to
1360 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1361 of remote_download. Remove the dest file.
1362
acbdb7f3
YQ
13632014-10-20 Yao Qi <yao@codesourcery.com>
1364
1365 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1366 * gdb.base/step-line.exp: Likewise.
1367 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1368 * gdb.dwarf2/dw2-basic.exp: Likewise.
1369 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1370 * gdb.dwarf2/dw2-filename.exp: Likewise.
1371 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1372 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1373 * gdb.dwarf2/dw2-producer.exp: Likewise.
1374 * gdb.dwarf2/mac-fileno.exp: Likewise.
1375 * gdb.python/py-frame-args.exp: Likewise.
1376 * gdb.python/py-framefilter.exp: Likewise.
1377 * gdb.python/py-mi.exp: Likewise.
1378 * gdb.python/py-objfile-script.exp: Likewise
1379 * gdb.python/py-pp-integral.exp: Likewise.
1380 * gdb.python/py-pp-re-notag.exp: Likewise.
1381 * gdb.python/py-prettyprint.exp: Likewise.
1382 * gdb.python/py-section-script.exp: Likewise.
1383 * gdb.python/py-typeprint.exp: Likewise.
1384 * gdb.python/py-xmethods.exp: Likewise.
1385 * gdb.stabs/weird.exp: Likewise.
1386 * gdb.xml/tdesc-regs.exp: Likewise.
1387
bd286a29
KCY
13882014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1389
1390 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1391 (out_cu): Use addr_len for the size of addresses.
1392 (out_line): Likewise. Size DW_LNE_set_address instruction
1393 according to addr_len.
1394 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1395 (FUNC): Add START_INSNS to definition.
1396
673dc4a0
YQ
13972014-10-18 Yao Qi <yao@codesourcery.com>
1398
1399 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1400 gdb_has_argv0 return true.
1401 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1402 check [target_info exists noargs], check [gdb_has_argv0]
1403 instead.
1404 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1405 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1406 procedures.
1407
4ffbba72
DE
14082014-10-17 Doug Evans <dje@google.com>
1409
1410 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1411 event.
1412 * gdb.python/py-events.py: Add clear_objfiles event.
1413
d096d8c1
DE
14142014-10-17 Doug Evans <dje@google.com>
1415
1416 * gdb.python/py-objfile.exp: Test progspace attribute.
1417
a80db015
LM
14182014-10-17 Luis Machado <lgustavo@codesourcery.com>
1419
1420 * gdb.guile/scm-breakpoint.exp: Do not assume any
1421 directory separators when matching source file paths.
1422 * gdb.python/py-breakpoint.exp: Likewise.
1423 * gdb.reverse/break-precsave.exp: Likewise.
1424 * gdb.reverse/break-reverse.exp: Likewise.
1425 * gdb.reverse/consecutive-precsave.exp: Likewise.
1426 * gdb.reverse/finish-precsave.exp: Likewise.
1427 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1428 * gdb.reverse/finish-reverse.exp: Likewise.
1429 * gdb.reverse/i386-precsave.exp: Likewise.
1430 * gdb.reverse/i387-env-reverse.exp: Likewise.
1431 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1432 * gdb.reverse/machinestate-precsave.exp: Likewise.
1433 * gdb.reverse/machinestate.exp: Likewise.
1434 * gdb.reverse/sigall-precsave.exp: Likewise.
1435 * gdb.reverse/solib-precsave.exp: Likewise.
1436 * gdb.reverse/step-precsave.exp: Likewise.
1437 * gdb.reverse/until-precsave.exp: Likewise.
1438 * gdb.reverse/watch-precsave.exp: Likewise.
1439 * gdb.reverse/watch-reverse.exp: Likewise.
1440
b22089ab
YQ
14412014-10-17 Yao Qi <yao@codesourcery.com>
1442
1443 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1444 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1445
6c4486e6
PA
14462014-10-17 Pedro Alves <palves@redhat.com>
1447
1448 PR gdb/17471
1449 * gdb.base/bg-execution-repeat.c: New file.
1450 * gdb.base/bg-execution-repeat.exp: New file.
1451
0ff33695
PA
14522014-10-17 Pedro Alves <palves@redhat.com>
1453
1454 PR gdb/17300
1455 * gdb.base/continue-all-already-running.c: New file.
1456 * gdb.base/continue-all-already-running.exp: New file.
1457
6fdebc3d
PA
14582014-10-17 Pedro Alves <palves@redhat.com>
1459
1460 PR gdb/17472
1461 * gdb.base/annota-input-while-running.c: New file.
1462 * gdb.base/annota-input-while-running.exp: New file.
1463
32a8097b
PA
14642014-10-17 Pedro Alves <palves@redhat.com>
1465
1466 * gdb.base/callfuncs.exp: emove references to osf.
1467 * gdb.base/sigall.exp: Likewise.
1468 * gdb.gdb/selftest.exp: Likewise.
1469 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1470 * gdb.mi/non-stop.c: Likewise.
1471 * gdb.mi/pthreads.c: Likewise.
1472 * gdb.reverse/sigall-precsave.exp: Likewise.
1473 * gdb.reverse/sigall-reverse.exp: Likewise.
1474 * gdb.threads/pthreads.c: Likewise.
1475 * gdb.threads/pthreads.exp: Likewise.
1476
7a3517ff
YQ
14772014-10-17 Yao Qi <yao@codesourcery.com>
1478
1479 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1480 check 'target_info exists noargs'.
1481 (test_command_prompt_position): Likewise.
1482 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1483 Remove "set args".
1484 (progvar_simple_while_test): Likewise.
1485 (progvar_complex_if_while_test): Likewise.
1486 (if_while_breakpoint_command_test): Likewise.
1487 (infrun_breakpoint_command_test): Likewise.
1488 (breakpoint_command_test): Likewise.
1489 (watchpoint_command_test): Likewise.
1490 (bp_deleted_in_command_test): Likewise.
1491 (temporary_breakpoint_commands): Likewise.
1492
bb99c472
YQ
14932014-10-16 Yao Qi <yao@codesourcery.com>
1494
1495 * gdb.base/remotetimeout.exp: Remove noargs checking.
1496
7c16b83e
PA
14972014-10-15 Pedro Alves <palves@redhat.com>
1498
1499 PR breakpoints/9649
1500 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1501 * gdb.base/breakpoint-in-ro-region.exp
1502 (probe_target_hardware_step): New procedure.
1503 (top level): Probe hardware stepping and hardware breakpoint
1504 support. Test stepping through a read-only region, with both
1505 "breakpoint auto-hw" on and off and both "always-inserted" on and
1506 off.
1507
35a49624
IB
15082014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1509
1510 * gdb.dlang/demangle.exp: Update for demangling changes.
1511
2d1c107c
SC
15122014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1513
1514 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1515 * gdb.cp/non-trivial-retval.exp: Add new tests.
1516
778811d5
SC
15172014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1518
1519 PR c++/13403
1520 PR c++/15154
1521 * gdb.cp/non-trivial-retval.cc: New file.
1522 * gdb.cp/non-trivial-retval.exp: New file.
1523
10c5f0a8
YQ
15242014-10-15 Yao Qi <yao@codesourcery.com>
1525
1526 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1527 remote host.
1528
65d7b369
YQ
15292014-10-15 Yao Qi <yao@codesourcery.com>
1530
1531 * gdb.python/py-symbol.exp: Match file base name if host is
1532 remote, otherwise match file name with dir name.
1533 * gdb.python/py-symtab.exp: Likewise.
1534 * gdb.python/python.exp: Likewise.
1535
46dc1394
YQ
15362014-10-15 Yao Qi <yao@codesourcery.com>
1537
1538 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1539 pattern.
1540 * gdb.python/py-symtab.exp: Likewise.
1541 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1542 locationn.
1543
c40cc657
JB
15442014-10-14 Joel Brobecker <brobecker@adacore.com>
1545
1546 * gdb.ada/addr_arith: New testcase.
1547
2abf49e1
MR
15482014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1549
1550 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1551 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1552 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1553 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1554
f7088df3
SDJ
15552014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1556
1557 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1558 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1559 * gdb.arch/stap-eval-lang-ada.exp: New file.
1560
4dc06805
YQ
15612014-10-14 Yao Qi <yao@codesourcery.com>
1562
1563 * gdb.mi/mi-var-child.c (nothing1): New function.
1564 (nothing2): New function.
1565 (do_children_tests): Set function pointers by nothing1 and
1566 nothing2.
1567 * gdb.mi/mi-var-child.exp: Step over new added statements.
1568 Update test to match the new output.
1569 * gdb.mi/var-cmd.c (nothing1): New function.
1570 (nothing2): New function.
1571 (do_children_tests): Set function pointers by nothing1 and
1572 nothing2.
1573 * gdb.mi/mi-var-display.exp: Update test to match output.
1574 Step to the line specified by $line_dct_nothing.
1575 Increase the number of lines to step.
1576
46a93de2
YQ
15772014-10-14 Yao Qi <yao@codesourcery.com>
1578
1579 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1580 tests.
1581 * gdb.mi/mi2-var-child.exp: Likewise.
1582
14ea52ee
DE
15832014-10-13 Doug Evans <dje@google.com>
1584
1585 * gdb.python/py-objfile.exp: Change name of file name test.
1586
e5c6e92b
DE
15872014-10-13 Doug Evans <dje@google.com>
1588
1589 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1590 from the start of the CU.
1591
c780cc2f
JK
15922014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1593 Yao Qi <yao@codesourcery.com>
1594
1595 Fix "save breakpoints" for "catch" command.
1596 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1597 Remove -nonewline. Match also the added "main" line.
1598
99894e11
JK
15992014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1600
1601 Fix "save breakpoints" for "disable $bpnum" command.
1602 * gdb.base/save-bp.c (main): Add label.
1603 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1604
6e1ac5a3
JK
16052014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1606
1607 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1608
754dd2b0
YQ
16092014-10-11 Yao Qi <yao@codesourcery.com>
1610
1611 * gdb.server/server-kill.exp: Execute command
1612 "set remote trace-status-packet on" before "tstatus".
1613
f90183d7
YQ
16142014-10-11 Yao Qi <yao@codesourcery.com>
1615
1616 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1617 (main): Call getppid.
1618 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1619 and continue to it. Read variable "server_pid".
1620
bf40a607
YQ
16212014-10-11 Yao Qi <yao@codesourcery.com>
1622
1623 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1624
052ca370
YQ
16252014-10-11 Yao Qi <yao@codesourcery.com>
1626
1627 * gdb.threads/thread-find.exp: Don't execute command
1628 "info threads".
1629 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1630 * gdb.threads/linux-dp.exp: Don't check the condition
1631 $threads_created equals to zero.
1632
3831839c
PA
16332014-10-10 Pedro Alves <palves@redhat.com>
1634
1635 * gdb.base/bigcore.exp: Remove references to IRIX.
1636 * gdb.base/funcargs.exp: Likewise.
1637 * gdb.base/interrupt.exp: Likewise.
1638 * gdb.base/mips_pro.exp: Likewise.
1639 * gdb.base/nodebug.exp: Likewise.
1640 * gdb.base/setvar.exp: Likewise.
1641 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1642
8b9a549d
PA
16432014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1644 Pedro Alves <palves@redhat.com>
1645
1646 PR symtab/14466
1647 * gdb.base/vdso-warning.c: New file.
1648 * gdb.base/vdso-warning.exp: New file.
1649
d48ba5e8
DE
16502014-10-02 Doug Evans <dje@google.com>
1651
1652 * gdb.base/structs.c (main): Don't run forever.
1653
2278c276
PA
16542014-10-02 Pedro Alves <palves@redhat.com>
1655
1656 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1657 (top level) <stop threads 1, stop threads 2>: Use it.
1658
b57bacec
PA
16592014-10-02 Pedro Alves <palves@redhat.com>
1660
1661 * gdb.threads/break-while-running.exp (test): Add new
1662 'update_thread_list' argument. Skip "info threads" if false.
1663 (top level): Add new 'update_thread_list' axis.
1664
13fd3ff3
PA
16652014-10-02 Pedro Alves <palves@redhat.com>
1666
1667 PR breakpoints/17431
1668 * gdb.base/execl-update-breakpoints.c: New file.
1669 * gdb.base/execl-update-breakpoints.exp: New file.
1670
0fec99e8
PA
16712014-10-01 Pedro Alves <palves@redhat.com>
1672
1673 * gdb.base/breakpoint-in-ro-region.c: New file.
1674 * gdb.base/breakpoint-in-ro-region.exp: New file.
1675
2ddf4301
SM
16762014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1677
1678 * gdb.mi/mi-exit-code.exp: New file.
1679 * gdb.mi/mi-exit-code.c: New file.
1680
6a5f3f43
YQ
16812014-09-30 Yao Qi <yao@codesourcery.com>
1682
1683 * lib/prelink-support.exp (build_executable_own_libs): Error if
1684 the target isn't native.
1685
345bcc73
YQ
16862014-09-30 Yao Qi <yao@codesourcery.com>
1687
1688 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1689 false.
1690
a25a5a45
PA
16912014-09-22 Pedro Alves <palves@redhat.com>
1692
1693 * gdb.threads/break-while-running.exp: New file.
1694 * gdb.threads/break-while-running.c: New file.
1695
00ba3162
YQ
16962014-09-19 Yao Qi <yao@codesourcery.com>
1697
1698 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1699 Invoke test. Restart GDB with --readnow and invoke test again.
1700
c3b7b696
YQ
17012014-09-19 Yao Qi <yao@codesourcery.com>
1702
1703 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1704 proc set_breakpoint_on_gcd_function. Invoke
1705 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1706 invoke set_breakpoint_on_gcd_function again.
1707
2b4fd423
DE
17082014-09-18 Doug Evans <dje@google.com>
1709
1710 * gdb.dwarf2/symtab-producer.exp: New file.
1711
a5947601
SDJ
17122014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1713
1714 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1715 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1716 * gdb.base/global-var-nested-by-dso.c: Likewise.
1717 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1718
91c19059
SDJ
17192014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1720 Pedro Alves <palves@redhat.com>
1721
1722 * gdb.base/watch-bitfields.exp: Pass string other than test file
1723 name to prepare_for_testing.
1724 (watch): New procedure.
1725 (expect_watchpoint): Use with_test_prefix.
1726 (top level): Factor out tests to ...
1727 (test_watch_location, test_regular_watch): ... these new
1728 procedures, and use with_test_prefix and gdb_continue_to_end.
1729
bb9d5f81
PP
17302014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1731
1732 PR breakpoints/12526
1733 * gdb.base/watch-bitfields.exp: New file.
1734 * gdb.base/watch-bitfields.c: New file.
1735
635856f5
PA
17362014-09-16 Pedro Alves <palves@redhat.com>
1737
1738 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1739 software and hardware addresses, not software address against
1740 itself.
1741
7280ceea
PA
17422014-09-16 Pedro Alves <palves@redhat.com>
1743
1744 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1745 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1746
428b16bd
PA
17472014-09-16 Pedro Alves <palves@redhat.com>
1748
1749 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1750 files.
1751 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1752 "*-*-vxworks*" throughout.
1753 * gdb.base/break.exp: Likewise.
1754 * gdb.base/default.exp: Likewise.
1755 * gdb.base/scope.exp: Likewise.
1756 * gdb.base/sepdebug.exp: Likewise.
1757 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1758 throughout.
1759 * gdb.base/run.c: Likewise.
1760 * gdb.base/sepdebug.c: Likewise.
1761 * gdb.hp/gdb.aCC/run.c: Likewise.
1762 * gdb.reverse/until-reverse.c: Likewise.
1763 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1764
666d413c
YQ
17652014-09-16 Yao Qi <yao@codesourcery.com>
1766
1767 * boards/local-remote-host-native.exp: New file.
1768
57cbd724
DE
17692014-09-14 Doug Evans <xdje42@gmail.com>
1770
1771 * gdb.threads/queue-signal.c (thread_count): New variable.
1772 (thread_count_mutex, thread_count_condvar): New variables.
1773 (incr_thread_count, wait_all_threads_running): New functions.
1774 (main): Wait for all threads to be in their thread functions.
1775
81219e53
DE
17762014-09-13 Doug Evans <xdje42@gmail.com>
1777
1778 * gdb.threads/queue-signal.c: New file.
1779 * gdb.threads/queue-signal.exp: New file.
1780
3714cea7
DE
17812014-09-13 Doug Evans <xdje42@gmail.com>
1782
1783 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1784 be consistent with what default_gdb_init uses.
1785 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1786 the plain text of the prompt. Add some logging printfs.
1787 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1788
fa43b1d7
PA
17892014-09-12 Pedro Alves <palves@redhat.com>
1790
1791 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1792 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1793 * gdb.arch/i386-size-overlap.exp: Likewise.
1794 * gdb.arch/i386-size.exp: Likewise.
1795 * gdb.arch/i386-unwind.exp: Likewise.
1796 * gdb.base/a2-run.exp: Likewise.
1797 * gdb.base/break.exp: Likewise.
1798 * gdb.base/charset.exp: Likewise.
1799 * gdb.base/chng-syms.exp: Likewise.
1800 * gdb.base/commands.exp: Likewise.
1801 * gdb.base/dbx.exp: Likewise.
1802 * gdb.base/find.exp: Likewise.
1803 * gdb.base/funcargs.exp: Likewise.
1804 * gdb.base/jit-simple.exp: Likewise.
1805 * gdb.base/reread.exp: Likewise.
1806 * gdb.base/sepdebug.exp: Likewise.
1807 * gdb.base/step-bt.exp: Likewise.
1808 * gdb.cp/mb-inline.exp: Likewise.
1809 * gdb.cp/mb-templates.exp: Likewise.
1810 * gdb.objc/basicclass.exp: Likewise.
1811 * gdb.threads/killed.exp: Likewise.
1812
9d9bf2df
EBM
18132014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1814
1815 PR tdep/17379
1816 * gdb.arch/powerpc-stackless.S: New file.
1817 * gdb.arch/powerpc-stackless.exp: New file.
1818
1cf2f1b0
JK
18192014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1820
1821 * gdb.base/attach.c: Include unistd.h.
1822 (main): Call alarm. Add label postloop.
1823 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1824 gdb_breakpoint, gdb_continue_to_breakpoint.
1825 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1826
98880d46
PA
18272014-09-11 Pedro Alves <palves@redhat.com>
1828
1829 PR gdb/17347
1830 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1831 * gdb.base/attach.exp (test_command_line_attach_run): New
1832 procedure.
1833 (top level): Call it.
1834
4c92ff2c
PA
18352014-09-11 Pedro Alves <palves@redhat.com>
1836
1837 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1838 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1839 (do_command_attach_tests): Use spawn_wait_for_attach.
1840 * gdb.base/solib-overlap.exp: Likewise.
1841 * gdb.multi/multi-attach.exp: Likewise.
1842 * gdb.python/py-prompt.exp: Likewise.
1843 * gdb.python/py-sync-interp.exp: Likewise.
1844 * gdb.server/ext-attach.exp: Likewise.
1845
3adc1a7d
GKB
18462014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1847
1848 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1849 command in testcase. Simplify testcase.
1850
96334934
JB
18512014-09-10 Joel Brobecker <brobecker@adacore.com>
1852
1853 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1854
eb479039
JB
18552014-09-10 Joel Brobecker <brobecker@adacore.com>
1856
1857 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1858
deede10c
JB
18592014-09-10 Joel Brobecker <brobecker@adacore.com>
1860
1861 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1862
7828a5f5
JB
18632014-09-10 Joel Brobecker <brobecker@adacore.com>
1864
1865 * gdb.dwarf2/dynarr-ptr.c: New file.
1866 * gdb.dwarf2/dynarr-ptr.exp: New file.
1867
33aeebcf
MR
18682014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1869
1870 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1871 of 30 rather than hardcoding 120 for a slow test case. Take the
1872 `gdb,timeout' target setting into account for this calculation.
1873 Don't extend the timeout for the test cases that don't need it.
1874
7b415901
MR
18752014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1876
1877 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1878 a factor of 2 for a slow test case. Take the `gdb,timeout'
1879 target setting into account for this calculation.
1880 * gdb.reverse/until-precsave.exp: Increase the timeout by
1881 a factor of 15 and 3 respectively rather than adding 120
1882 for a pair of slow test cases. Take the `gdb,timeout'
1883 target setting into account for this calculation.
1884
4a40f85a
MR
18852014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1886
1887 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1888 timeout, don't pass one down to gdb_expect.
1889 (gdb_expect): Rework timeout selection.
1890
09635af7
MR
18912014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1892
1893 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1894 exception on timeout.
1895 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1896 (gdbserver_start_extended): Catch any `gdbserver_start' error
1897 exceptions.
1898 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1899 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1900 `gdbserver_gdb_load' error exceptions.
1901
2bdd10b7
MR
19022014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1903
1904 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1905 120 on waiting for the TCP socket to open.
1906
316935f0
DE
19072014-09-09 Doug Evans <xdje42@gmail.com>
1908
1909 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1910 _caller_matches, _any_caller_is, _any_caller_matches.
1911
83740597
DE
19122014-09-09 Doug Evans <xdje42@gmail.com>
1913
1914 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1915
4c122fc3
YQ
19162014-09-09 Yao Qi <yao@codesourcery.com>
1917
1918 * gdb.mi/mi-var-display.exp: Set print symbol off.
1919
a9f116cb
GKB
19202014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1921
1922 PR gdb/17035
1923 * gdb.base/commands.exp: Add tests to verify user-defined
1924 commands with empty bodies.
1925 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1926 python commands in `show user command`.
1927 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1928 scheme commands in `show user command`.
1929
c75bd3a2
JK
19302014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1931
1932 PR python/17355
1933 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1934 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1935 * gdb.python/py-framefilter-invalidarg.exp: New file.
1936 * gdb.python/py-framefilter-invalidarg.py: New file.
1937
faa42425
DE
19382014-09-06 Doug Evans <xdje42@gmail.com>
1939
1940 PR 15276
1941 * gdb.python/py-caller-is.c: New file.
1942 * gdb.python/py-caller-is.exp: New file.
1943
474ca4f6
SDJ
19442014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1945
1946 PR gdb/17235
1947 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1948 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1949
eb0b0463
SDJ
19502014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1951
1952 PR fortran/17237
1953 * gdb.fortran/print-formatted.exp: New file.
1954 * gdb.fortran/print-formatted.f90: Likewise.
1955
5f3b99cf
SS
19562014-09-03 Sasha Smundak <asmundak@google.com>
1957
1958 * gdb.python/py-frame.exp: Test Frame.read_register.
1959
7d793aa9
SDJ
19602014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1961
1962 PR python/16699
1963 * gdb.python/py-completion.exp: New file.
1964 * gdb.python/py-completion.py: Likewise.
1965
fb0576e9
DE
19662014-08-28 Doug Evans <dje@google.com>
1967
1968 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1969 eax,etc. are live with values set by gdb and thus the compiler can't
1970 use them.
1971 * gdb.arch/i386-pseudo.c (main): Ditto.
1972
ee92b0dd
DE
19732014-08-27 Doug Evans <dje@google.com>
1974
1975 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1976
6649db35
DE
19772014-08-25 Doug Evans <dje@google.com>
1978
1979 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1980 (main): Ditto.
1981
564b7600
DE
19822014-08-25 Doug Evans <dje@google.com>
1983
1984 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1985
3881fb67
YQ
19862014-08-24 Yao Qi <yao@codesourcery.com>
1987
1988 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1989 symbol off.
1990 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1991
a05a36a5
DE
19922014-08-22 Doug Evans <dje@google.com>
1993
1994 PR 17276
1995 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1996 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1997 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1998
7c343b48
YQ
19992014-08-22 Yao Qi <yao@codesourcery.com>
2000
2001 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2002 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2003 * gdb.python/python.exp: Likewise. Use .py file on the host
2004 instead of the build.
2005
22fd09ae
JK
20062014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2007
2008 * gdb.threads/gcore-stale-thread.c: New file.
2009 * gdb.threads/gcore-stale-thread.exp: New file.
2010
a8454a7c
PA
20112014-08-21 Pedro Alves <palves@redhat.com>
2012
2013 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2014 * gdb.base/gcore-relro-pie.exp: Likewise.
2015 * gdb.base/gcore-relro.exp: Likewise.
2016 * gdb.base/gcore.exp: Likewise.
2017 * gdb.base/print-symbol-loading.exp: Likewise.
2018 * gdb.threads/gcore-thread.exp: Likewise.
2019 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2020
2a31c623
PA
20212014-08-20 Pedro Alves <palves@redhat.com>
2022 Jan Kratochvil <jan.kratochvil@redhat.com>
2023
2024 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2025 configure.
2026 (EXPECT): Handle READ1 being set.
2027 (all): Depend on EXTRA_RULES.
2028 (check-read1, expect-read1, read1.so, read1): New rules.
2029 * README (Testsuite Parameters): Document the READ1 make variable.
2030 (Race detection): New section.
2031 * configure: Regenerate.
2032 * configure.ac: If build==host==target, and running under a
2033 GNU/glibc system, add read1 to the extra Makefile rules.
2034 (EXTRA_RULES): AC_SUBST it.
2035 * lib/read1.c: New file.
2036
d36430db
JB
20372014-08-20 Joel Brobecker <brobecker@adacore.com>
2038
2039 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2040 the handling of variables declared as a typedef to an array
2041 which a DW_AT_data_location attribute.
2042
9a0dc9e3
PA
20432014-08-19 Andrew Burgess <aburgess@broadcom.com>
2044 Pedro Alves <palves@redhat.com>
2045
2046 PR symtab/14604
2047 PR symtab/14605
2048 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2049 gdb_test.
2050
0718a8da
PA
20512014-08-19 Pedro Alves <palves@redhat.com>
2052
2053 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2054
13b448cd
YQ
20552014-08-19 Yao Qi <yao@codesourcery.com>
2056
2057 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2058 right line.
2059
1cbf5077
DB
20602014-08-18 David Blaikie <dblaikie@gmail.com>
2061
2062 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2063
bf0fae19
JB
20642014-08-18 Joel Brobecker <brobecker@adacore.com>
2065
2066 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2067 attribute in array range.
2068
3c8c5dcc
JB
20692014-08-18 Joel Brobecker <brobecker@adacore.com>
2070
2071 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2072
e66d4446
SC
20732014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2074
2075 PR c++/17132
2076 * gdb.cp/pr17132.cc: New file.
2077 * gdb.cp/pr17132.exp: New file.
2078
940df408
SC
20792014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2080
2081 * gdb.python/py-xmethods.py (A_getarrayind)
2082 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2083 Use 'print' with function call syntax.
2084 (E_method_matcher.match): Fix tab vs space indentation mixup.
2085
ebcc6c3a
YQ
20862014-08-15 Yao Qi <yao@codesourcery.com>
2087
2088 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2089 false.
2090
775e0f04
YQ
20912014-08-15 Yao Qi <yao@codesourcery.com>
2092
2093 * gdb.cp/casts.exp: Set print symbol off.
2094 * gdb.cp/class2.exp: Likewise.
2095 * gdb.cp/overload.exp: Likewise.
2096 * gdb.cp/templates.exp: Likewise.
2097
d769e349
DE
20982014-08-11 Doug Evans <dje@google.com>
2099
2100 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2101 (test_load_shlib): Update.
2102
20c6f1e1
YQ
21032014-08-09 Yao Qi <yao@codesourcery.com>
2104
2105 * gdb.base/display.exp: Invoke is_address_zero_readable.
2106 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2107 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2108 * gdb.base/hbreak-unmapped.exp: Return if
2109 is_address_zero_readable returns true.
2110 * gdb.base/signest.exp: Likewise.
2111 * gdb.base/signull.exp: Likewise.
2112 * gdb.base/sigbpt.exp: Likewise.
2113 * gdb.guile/scm-disasm.exp: Do the test if
2114 is_address_zero_readable returns false.
2115 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2116 * gdb.python/py-arch.exp: Likewise.
2117 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2118 * lib/gdb.exp (is_address_zero_readable): New proc.
2119
5792e8e3
YQ
21202014-08-09 Yao Qi <yao@codesourcery.com>
2121
2122 PR testsuite/13443
2123 * gdb.mi/mi-var-display.exp: Make test messages unique.
2124
3cecbbbe
TT
21252014-08-04 Tom Tromey <tromey@redhat.com>
2126
2127 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2128 target 0".
2129
00b51ff5
TT
21302014-08-04 Tom Tromey <tromey@redhat.com>
2131
2132 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2133 "target_resume".
2134
6908c509
JB
21352014-08-01 Joel Brobecker <brobecker@adacore.com>
2136
2137 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2138 inner_vla_struct_object_size.
2139 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2140 as xfail.
2141
cc6563d2
PA
21422014-07-30 Pedro Alves <palves@redhat.com>
2143
2144 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2145 comment.
2146
7e09a223
YQ
21472014-07-29 Yao Qi <yao@codesourcery.com>
2148
2149 PR gdb/17206
2150 * gdb.base/until-nodebug.exp: New.
2151
7ebdbe92
DE
21522014-07-28 Doug Evans <xdje42@gmail.com>
2153
2154 PR guile/17203
2155 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2156 previously existing parameter, and previously ambiguously spelled
2157 parameter.
2158
fdb1adc6
WN
21592014-07-28 Will Newton <will.newton@linaro.org>
2160
2161 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2162
186fcde0
DE
21632014-07-26 Ludovic Courtès <ludo@gnu.org>
2164 Doug Evans <xdje42@gmail.com>
2165
2166 PR guile/17146
2167 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2168
70509625
PA
21692014-07-25 Pedro Alves <palves@redhat.com>
2170
2171 * gdb.threads/signal-command-handle-nopass.c: New file.
2172 * gdb.threads/signal-command-handle-nopass.exp: New file.
2173 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2174 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2175 * gdb.threads/signal-delivered-right-thread.c: New file.
2176 * gdb.threads/signal-delivered-right-thread.exp: New file.
2177
c3f814a1
PA
21782014-07-25 Pedro Alves <palves@redhat.com>
2179
2180 * gdb.base/double-prompt-target-event-error.exp
2181 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2182 match.
2183 (cancel_pagination_in_target_event): Rework double prompt
2184 detection.
2185 * gdb.base/paginate-after-ctrl-c-running.exp
2186 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2187 <return>' match.
2188 * gdb.base/paginate-bg-execution.exp
2189 (test_bg_execution_pagination_return)
2190 (test_bg_execution_pagination_cancel): Remove '-notransfer
2191 <return>' matches.
2192 * gdb.base/paginate-execution-startup.exp
2193 (test_fg_execution_pagination_return)
2194 (test_fg_execution_pagination_cancel): Remove '-notransfer
2195 <return>' matches.
2196 * gdb.base/paginate-inferior-exit.exp
2197 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2198 match.
2199 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2200 * lib/gdb.exp (pagination_prompt): Run text through
2201 string_to_regexp.
2202 (gdb_test_multiple): Match $pagination_prompt instead of
2203 "<return>".
2204 (string_to_regexp): Move to lib/gdb-utils.exp.
2205
e214cf6c
JK
22062014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2207
2208 * gdb.arch/amd64-entry-value-paramref.S: New file.
2209 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2210 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2211 * gdb.arch/amd64-optimout-repeat.S: New file.
2212 * gdb.arch/amd64-optimout-repeat.c: New file.
2213 * gdb.arch/amd64-optimout-repeat.exp: New file.
2214
17d0c5c8
JK
22152014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2216
2217 PR gdb/17170
2218 * gdb.base/statistics.exp: New file.
2219
b8b8facf
DE
22202014-07-17 Doug Evans <dje@google.com>
2221
74b49205 2222 PR gdb/17170
b8b8facf
DE
2223 * gdb.base/maint.exp: Update testing of per-command stats.
2224
1b5d0ab3
PA
22252014-07-16 Pedro Alves <palves@redhat.com>
2226
2227 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2228 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2229 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2230 (tfile_write_buf): New functions.
2231 (add_memory_block): Rewrite using the above.
2232 (adjust_function_address): New function.
2233 (FUNCTION_ADDRESS): New macro.
2234 (write_basic_trace_file): Remove short_x local, and use
2235 tfile_write_16. Change type of func_addr local to unsigned long
2236 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2237 here. Cast argument of add_memory_block to char pointer.
2238 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2239 (main): Remove parameters.
2240 * gdb.trace/tfile.exp: Remove nowarnings.
2241
4d974e88
SM
22422014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2243
2244 * gdb.base/debug-expr.exp: Test string evaluation with
2245 "debug expression" on.
2246
41e99568
PA
22472014-07-15 Pedro Alves <palves@redhat.com>
2248
2249 * gdb.base/reread.exp: Use clean_restart.
2250
487d9753
PL
22512014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2252
2253 * gdb.arch/avr-flash-qualifer.c: New.
2254 * gdb.arch/avr-flash-qualifer.exp: New.
2255
cc1c52ad
PA
22562014-07-14 Pedro Alves <palves@redhat.com>
2257
2258 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2259 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2260
1e973570
PA
22612014-07-14 Pedro Alves <palves@redhat.com>
2262
2263 * gdb.base/double-prompt-target-event-error.c: New file.
2264 * gdb.base/double-prompt-target-event-error.exp: New file.
2265
93d6eb10
PA
22662014-07-14 Pedro Alves <palves@redhat.com>
2267
2268 PR gdb/17072
2269 * gdb.base/paginate-inferior-exit.c: New file.
2270 * gdb.base/paginate-inferior-exit.exp: New file.
2271
0017922d
PA
22722014-07-14 Pedro Alves <palves@redhat.com>
2273
2274 PR gdb/17072
2275 * gdb.base/paginate-bg-execution.c: New file.
2276 * gdb.base/paginate-bg-execution.exp: New file.
2277
94696ad3
PA
22782014-07-14 Pedro Alves <palves@redhat.com>
2279
2280 PR gdb/17072
2281 * gdb.base/paginate-execution-startup.c: New file.
2282 * gdb.base/paginate-execution-startup.exp: New file.
2283 * lib/gdb.exp (pagination_prompt): New global.
2284 (default_gdb_spawn): New procedure, factored out from
2285 default_gdb_spawn.
2286 (default_gdb_start): Adjust to call default_gdb_spawn.
2287 (gdb_spawn): New procedure.
2288
bd293940
PA
22892014-07-14 Pedro Alves <palves@redhat.com>
2290
2291 * lib/gdb.exp (gdb_assert): New procedure.
2292 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2293
c933f875
PA
22942014-07-14 Pedro Alves <palves@redhat.com>
2295
2296 * gdb.base/execution-termios.c: New file.
2297 * gdb.base/execution-termios.exp: New file.
2298
d98b7a16
TT
22992014-07-14 Tom Tromey <tromey@redhat.com>
2300
2301 * gdb.cp/vla-cxx.cc: New file.
2302 * gdb.cp/vla-cxx.exp: New file.
2303
548740d6
TT
23042014-07-14 Tom Tromey <tromey@redhat.com>
2305
2306 * gdb.reverse/rerun-prec.c: New file.
2307 * gdb.reverse/rerun-prec.exp: New file.
2308
a25eb028
MR
23092014-07-12 Maciej W. Rozycki <macro@mips.com>
2310 Maciej W. Rozycki <macro@codesourcery.com>
2311
2312 * lib/gdb-utils.exp: New file.
2313 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2314 inline `gdb_init_command' processing.
2315 (gdb_start_cmd): Likewise.
2316 * lib/mi-support.exp (mi_run_cmd): Likewise.
2317 * README: Document `gdb_init_command' and `gdb_init_commands'.
2318
218c2655
JK
23192014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2320
2321 Fix false FAIL running under a very long directory name.
2322 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2323 and "set print elements 10000". Twice.
2324
5401fde3
YQ
23252014-07-11 Yao Qi <yao@codesourcery.com>
2326
2327 * gdb.base/exprs.exp: "set print symbol off".
2328
e76126e8
PA
23292014-07-11 Pedro Alves <palves@redhat.com>
2330
2331 * gdb.threads/kill.c: New file.
2332 * gdb.threads/kill.exp: New file.
2333
2d6f0de6
YQ
23342014-07-10 Yao Qi <yao@codesourcery.com>
2335
2336 * gdb.trace/tfile.c (write_basic_trace_file)
2337 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2338 address written to trace file.
2339
7180e04a
PA
23402014-07-09 Pedro Alves <palves@redhat.com>
2341
2342 * gdb.base/attach-wait-input.exp: New file.
2343 * gdb.base/attach-wait-input.c: New file.
2344
9a9a7608
AB
23452014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2346
2347 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2348 setting up test structures.
2349 (main): Call new test function.
2350 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2351 test function, continue into test function and walk test
2352 structures.
2353
161ac41e
YQ
23542014-07-02 Yao Qi <yao@codesourcery.com>
2355
2356 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2357 'bar_start' at the beginning of functions 'foo' and 'bar'
2358 respectively.
2359 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2360 instead of 'foo' and 'bar'.
2361
1f267ae3
MM
23622014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2363
2364 * gdb.btrace/segv.exp: New.
2365 * gdb.btrace/segv.c: New.
2366
2b239efb
LM
23672014-07-02 Luis Machado <lgustavo@codesourcery.com>
2368
2369 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2370 instruction.
2371
cf363f18
MW
23722014-06-30 Mark Wielaard <mjw@redhat.com>
2373
2374 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2375 vulture, vilify, villar): New volatile array constants.
2376 (vindictive, vegetation): New const volatile array constants.
2377 * gdb.base/volatile.exp: Test volatile and const volatile array
2378 types.
2379
aebf9d24
AA
23802014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2381
2382 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2383 target lacks support for awatch, rwatch, or hbreak.
2384
b67a2c6f
YQ
23852014-06-27 Yao Qi <yao@codesourcery.com>
2386
2387 * gdb.multi/dummy-frame-restore.exp: New.
2388 * gdb.multi/dummy-frame-restore.c: New.
2389
aef92902
MM
23902014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2391
2392 * gdb.btrace/gcore.exp: New.
2393
8e9db26e
PA
23942014-06-23 Pedro Alves <palves@redhat.com>
2395
2396 * gdb.base/watchpoint-reuse-slot.c: New file.
2397 * gdb.base/watchpoint-reuse-slot.exp: New file.
2398
70afc5b7
SC
23992014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2400
2401 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2402 progspace's filename in 'info', 'enable' and 'disable' command
2403 tests.
2404
b972bd9c
JK
24052014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2406
2407 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2408 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2409 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2410
125f8a3d
GB
24112014-06-20 Gary Benson <gbenson@redhat.com>
2412
2413 * gdb.arch/i386-avx.exp: Fix include file location.
2414 * gdb.arch/i386-sse.exp: Likewise.
2415
3ed9baed
IB
24162014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2417
2418 * gdb.dlang/expression.exp: New file.
2419
034f788c
PA
24202014-06-19 Pedro Alves <palves@redhat.com>
2421
2422 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2423 out from ...
2424 (top level): ... here. Iterate running tests under different
2425 scheduler-locking settings.
2426
45371d0c
LM
24272014-06-18 Luis Machado <lgustavo@codesourcery.com>
2428
2429 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2430 to DW_FORM_addr and use non-zero addresses.
2431
5d376983
SC
24322014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2433
2434 PR gdb/17017
2435 * gdb.python/py-xmethods.cc: Add global function call counters and
2436 increment them in their respective functions. Remove "cout"
2437 statements.
2438 * gdb.python/py-xmethods.exp: Make tests check the global function
2439 call counters instead of depending on inferior IO.
2440
a1aa2221
LM
24412014-06-18 Don Breazeal <donb@codesourcery.com>
2442
2443 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2444 Deleted procedure.
2445 (explicit_fork_parent_follow): Deleted procedure.
2446 (explicit_fork_child_follow): Deleted procedure.
2447 (test_follow_fork): New procedure.
2448 (do_fork_tests): Replace calls to deleted procedures with
2449 calls to test_follow_fork and reset GDB for subsequent
2450 procedure calls.
2451
0fc05997
YQ
24522014-06-17 Yao Qi <yao@codesourcery.com>
2453
2454 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2455 CP1252.
2456
70795c52
LM
24572014-06-17 Luis Machado <lgustavo@codesourcery.com>
2458
2459 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2460 Initialize ptr and S explicitly.
2461 (skip_type_update_when_not_use_rtti_test): Likewise.
2462
6be47f0c
KS
24632014-06-16 Keith Seitz <keiths@redhat.com>
2464
2465 PR mi/15863
2466 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2467 the inferior is started.
2468
d03de421
PA
24692014-06-16 Pedro Alves <palves@redhat.com>
2470
2471 * gdb.base/break-main-file-remove-fail.c: New file.
2472 * gdb.base/break-main-file-remove-fail.exp: New file.
2473 * gdb.base/break-unload-file.exp: Use build_executable instead of
2474 prepare_for_testing.
2475 (test_break): New parameter "initial_load". Handle it.
2476 (top level): Add initial_load cmdline/file axis.
2477
f9579b99
TT
24782014-06-12 Tom Tromey <tromey@redhat.com>
2479
2480 * gdb.base/completion.exp: Don't use directory name in test.
2481
3657956b
GB
24822014-06-09 Gary Benson <gbenson@redhat.com>
2483
2484 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2485 separate the always-available ANSI-standard signals from the
2486 signals that require checking.
2487 (main): Likewise.
2488 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2489 Likewise.
2490 (main): Likewise.
2491
4186eb54
KS
24922014-06-07 Keith Seitz <keiths@redhat.com>
2493
2494 Revert:
2495 PR c++/16253
2496 * gdb.cp/var-tag.cc: New file.
2497 * gdb.cp/var-tag.exp: New file.
2498 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2499 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2500 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2501 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2502
25326a28 25032014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
2504
2505 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2506
829155c9
PA
25072014-06-06 Pedro Alves <palves@redhat.com>
2508
2509 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2510 in target debug output instead of looking at RSP packets,
2511 disabling the test on any target that uses hardware stepping.
2512 Update comments.
2513
61c8d22e
PA
25142014-06-06 Pedro Alves <palves@redhat.com>
2515
2516 * gdb.base/break-unload-file.exp: Fix typo.
2517
d9a47287
YQ
25182014-06-06 Yao Qi <yao@codesourcery.com>
2519
2520 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2521 from "jit_function" to "^jit_function".
2522
e5e01dbf
YQ
25232014-06-06 Yao Qi <yao@codesourcery.com>
2524
2525 * gdb.base/async.c (foo): Add one statement.
2526 * gdb.base/async.exp: Get the next instruction address and
2527 match the output of "nexti" by instruction address. Match
2528 the hex address in the output of "finish".
2529
73ba372c
GB
25302014-06-06 Gary Benson <gbenson@redhat.com>
2531
2532 * gdb.base/call-signals.c: Remove preprocessor conditionals
2533 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2534 SIGSEGV and SIGTERM.
2535 * gdb.base/sigall.c: Likewise.
2536 * gdb.base/unwindonsignal.c: Likewise.
2537 * gdb.reverse/sigall-reverse.c: Likewise.
2538
831517df
YQ
25392014-06-06 Yao Qi <yao@codesourcery.com>
2540
2541 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2542 readable, skip the test.
2543
b8b91e98
YQ
25442014-06-06 Yao Qi <yao@codesourcery.com>
2545
2546 * gdb.threads/staticthreads.c (thread_function): Move the line
2547 setting breakpoint on forward.
2548 * gdb.threads/staticthreads.exp: Update comments.
2549
fb934770
LC
25502014-06-05 Ludovic Courtès <ludo@gnu.org>
2551
2552 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2553 "history-append! type error".
2554
6ef284bd
SM
25552014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2556
2557 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2558 erroneous dprintf expected input.
2559
a872e241
DE
25602014-06-04 Doug Evans <xdje42@gmail.com>
2561
2562 * gdb.guile/scm-generics.exp: Delete.
2563
16f691fb
DE
25642014-06-04 Doug Evans <xdje42@gmail.com>
2565
2566 * gdb.guile/scm-breakpoint.exp: Update.
2567 Add tests for breakpoint registration.
2568
012370f6
TT
25692014-06-04 Tom Tromey <tromey@redhat.com>
2570
2571 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2572 VLA-in-union.
2573 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2574 inner_vla_struct, vla_union types. Initialize objects of those
2575 types and compute their sizes.
2576
9f5a4cef
HZ
25772014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2578 Hui Zhu <hui@codesourcery.com>
2579
2580 * gdb.base/fileio.exp: Add test for shell not available as well as
2581 available.
2582 * gdb.base/fileio.c (test_system): Check for shell twice.
2583
90a45c4d
YQ
25842014-06-04 Yao Qi <yao@codesourcery.com>
2585
2586 * gdb.base/auto-connect-native-target.exp: Remove redundant
2587 space from the regexp pattern.
2588
70017e41
YQ
25892014-06-04 Yao Qi <yao@codesourcery.com>
2590
2591 * gdb.base/default.exp: Replace "child" with "native" in
2592 regexp pattern.
2593
883964a7
SC
25942014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2595
2596 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2597 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2598 * gdb.python/py-xmethods.py: Python script supporting the
2599 new testcase and tests.
2600
ef370185
JB
26012014-06-03 Joel Brobecker <brobecker@adacore.com>
2602 Pedro Alves <palves@redhat.com>
2603
2604 PR breakpoints/17000
2605 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2606 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2607
1e2ccb61
BM
26082014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2609
2610 * gdb.base/subst.exp: Add tests to verify partial path matching
2611 output.
2612
c6ec5ab2
PA
26132014-06-03 Pedro Alves <palves@redhat.com>
2614
2615 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2616 target that doesn't use software single-stepping.
2617
835c559f
PA
26182014-06-03 Pedro Alves <palves@redhat.com>
2619
2620 PR breakpoints/17000
2621 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2622 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2623
06eb1586
DE
26242014-06-02 Doug Evans <xdje42@gmail.com>
2625
2626 * gdb.guile/scm-parameter.exp: New file.
2627
e698b8c4
DE
26282014-06-02 Doug Evans <xdje42@gmail.com>
2629
2630 * gdb.guile/scm-cmd.c: New file.
2631 * gdb.guile/scm-cmd.exp: New file.
2632
ded03782
DE
26332014-06-02 Doug Evans <xdje42@gmail.com>
2634
2635 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2636 pretty-printer lookup.
2637 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2638 (make-pp_s-printer): Call it.
2639 (make-pretty-printer-from-dict): New function.
2640 (lookup-pretty-printer-maker-from-dict): New function.
2641 (*pretty-printer*): Simplify.
2642 (make-objfile-pp_s-printer): New function.
2643 (install-objfile-pretty-printers!): New function.
2644 (make-progspace-pp_s-printer): New function.
2645 (install-progspace-pretty-printers!): New function.
2646 * gdb.guile/scm-progspace.c: New file.
2647 * gdb.guile/scm-progspace.exp: New file.
2648
41fac0cf
PA
26492014-06-02 Pedro Alves <palves@redhat.com>
2650
2651 * gdb.base/dprintf-bp-same-addr.c: New file.
2652 * gdb.base/dprintf-bp-same-addr.exp: New file.
2653
96ae5695
EBM
26542014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2655
2656 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2657 * gdb.arch/powerpc-power.s: Likewise.
2658
da02b3a8
JB
26592014-06-02 Joel Brobecker <brobecker@adacore.com>
2660
2661 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2662
c72b2e7b
YQ
26632014-06-01 Yao Qi <yao@codesourcery.com>
2664
2665 * gdb.base/watchpoint.exp (test_watch_location): Check null
2666 pointer can be dereferenced. If not, do the test, otherwise
2667 skip it.
2668
53e8a631
AB
26692014-05-30 Andrew Burgess <aburgess@broadcom.com>
2670
2671 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2672 results.
2673 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2674
938f0e2f
AB
26752014-05-30 Andrew Burgess <aburgess@broadcom.com>
2676
2677 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2678 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2679 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2680 * gdb.arch/amd64-invalid-stack-top.c: New file.
2681 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2682
9ba6657a
PA
26832014-05-30 Pedro Alves <palves@redhat.com>
2684
2685 PR breakpoints/17000
2686 * gdb.base/sss-bp-on-user-bp.c: New file.
2687 * gdb.base/sss-bp-on-user-bp.exp: New file.
2688
522c09bf
DB
26892014-05-30 David Blaikie <dblaikie@gmail.com>
2690
2691 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2692 gnu_inline semantics via attribute.
2693 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2694 source explicitly specifies the required semantics.
2695
bf4ef81e
MR
26962014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2697
2698 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2699
329ea579
PA
27002014-05-29 Pedro Alves <palves@redhat.com>
2701 Tom Tromey <tromey@redhat.com>
2702
2703 * gdb.base/async-shell.exp: Don't enable target-async.
2704 * gdb.base/async.exp
2705 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2706 parameter. Adjust.
2707 (top level): Don't test with "target-async".
2708 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2709 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2710 * gdb.base/inferior-died.exp: Don't enable target-async.
2711 * gdb.base/interrupt-noterm.exp: Likewise.
2712 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2713 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2714 * gdb.mi/mi-nonstop.exp: Likewise.
2715 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2716 * gdb.mi/mi-nsintrall.exp: Likewise.
2717 * gdb.mi/mi-nsmoribund.exp: Likewise.
2718 * gdb.mi/mi-nsthrexec.exp: Likewise.
2719 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2720 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2721 * gdb.python/py-evsignal.exp: Don't enable target-async.
2722 * gdb.python/py-evthreads.exp: Likewise.
2723 * gdb.python/py-prompt.exp: Likewise.
2724 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2725 * gdb.server/solib-list.exp: Don't enable target-async.
2726 * gdb.threads/thread-specific-bp.exp: Likewise.
2727 * lib/mi-support.exp: Adjust to use mi-async.
2728
fd664c91
PA
27292014-05-29 Pedro Alves <palves@redhat.com>
2730
2731 PR gdb/13860
2732 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2733 reason, even in sync mode.
2734
251bde03
PA
27352014-05-29 Pedro Alves <palves@redhat.com>
2736 Hui Zhu <hui@codesourcery.com>
2737
2738 PR PR15693
2739 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2740 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2741 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2742 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2743
7f3c0343
JB
27442014-05-28 Joel Brobecker <brobecker@adacore.com>
2745
2746 * config/monitor.exp (gdb_target_monitor): Replace use of
2747 "set remotebaud" by "set serial baud".
2748
b2715b27
AW
27492014-05-26 Andy Wingo <wingo@igalia.com>
2750
2751 * gdb.guile/scm-breakpoint.exp:
2752 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2753 properties instead of gdb-object-properties.
2754
498a4489
YQ
27552014-05-26 Yao Qi <yao@codesourcery.com>
2756
2757 * gdb.server/no-thread-db.exp: Specify source file name
2758 explicitly when setting a breakpoint.
2759
589fdceb
MM
27602014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2761
2762 * gdb.btrace/vdso.c: New.
2763 * gdb.btrace/vdso.exp: New.
2764
e9089e05
MM
27652014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2766
2767 * gdb.base/gcore.exp (capture_command_output): Move ...
2768 * lib/gdb.exp (capture_command_output): ... here.
2769
67b5c0c1
MM
27702014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2771
2772 * gdb.btrace/data.exp: Test memory access during btrace replay.
2773
a2199296
SM
27742014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2775
2776 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2777
17b2616c
PA
27782014-05-21 Pedro Alves <palves@redhat.com>
2779
2780 PR gdb/13860
2781 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2782 (top level): Test that output related to execution commands is
2783 sent to the console with CLI commands, but not with MI commands.
2784 Test that breakpoint events are always mirrored to the console.
2785 Also expect the new source line to be output after a "next" in
2786 async mode too. Make it a pass/fail test.
2787 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2788 output.
2789 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2790
5166082f
PA
27912014-05-21 Pedro Alves <palves@redhat.com>
2792
2793 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2794 Use them to test variations of "list" after reaching a breakpoint.
2795 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2796 Test "list" with listsize 10 after reaching a breakpoint.
2797 * gdb.python/python.exp (decode_line current location line
2798 number): Adjust expected line number.
2799
2f25d70f
SM
28002014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2801
2802 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2803 behavior for $args, pass it directly to "run".
2804
ff604a67
MR
28052014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2806
2807 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2808 30000 to 65536.
2809
6a3cb8e8
PA
28102014-05-21 Pedro Alves <palves@redhat.com>
2811
2812 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2813 auto-connect-native-target off".
2814 * gdb.base/auto-connect-native-target.c: New file.
2815 * gdb.base/auto-connect-native-target.exp: New file.
2816
4ebfc96e
PA
28172014-05-21 Pedro Alves <palves@redhat.com>
2818
2819 * gdb.base/default.exp: Test "target native" instead of "target
2820 child".
2821
36d46afb
MW
28222014-05-21 Mark Wielaard <mjw@redhat.com>
2823
2824 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2825
5876f503
JK
28262014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2827
2828 Fix TLS access for -static -pthread.
2829 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2830 <HAVE_TLS> (thread_function, main): Initialize it.
2831 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2832 Add clean_restart.
2833 <$have_tls != "">: Check TLSVAR.
2834
0256a6ac
PA
28352014-05-21 Pedro Alves <palves@redhat.com>
2836
2837 * gdb.base/dcache-line-read-error.c: New.
2838 * gdb.base/dcache-line-read-error.exp: New.
2839
936d2992
PA
28402014-05-20 Pedro Alves <palves@redhat.com>
2841
2842 * gdb.base/compare-sections.c: New file.
2843 * gdb.base/compare-sections.exp: New file.
2844
802e8e6d
PA
28452014-05-20 Pedro Alves <palves@redhat.com>
2846
2847 * gdb.base/break-idempotent.c: New file.
2848 * gdb.base/break-idempotent.exp: New file.
2849
e59fa00f
MM
28502014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2851
2852 * gdb.btrace/nohist.exp: New.
2853
8b696e31
YQ
28542014-05-20 Yao Qi <yao@codesourcery.com>
2855
2856 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2857 gdb.reverse directory and gdb_reverse_timeout exists in board
2858 setting.
2859 * README: Document gdb_reverse_timeout.
2860
73c9764f
YQ
28612014-05-20 Yao Qi <yao@codesourcery.com>
2862
2863 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2864 'test_file_name'. Treat args as a string instead of a list.
2865 (gdb_init): Rename argument 'args' by 'test_file_name'.
2866
f1f4348a
JK
28672014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2868
2869 * gdb.arch/powerpc-power.exp: New file.
2870 * gdb.arch/powerpc-power.s: New file.
2871
0dbe70ce
DE
28722014-05-16 Doug Evans <dje@google.com>
2873
2874 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
2875 * gdb.base/completion.exp: Check that all expected files exist
2876 before doing file completion.
0dbe70ce 2877
8d551b02
DE
28782014-05-16 Doug Evans <dje@google.com>
2879
2880 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2881 Update.
2882 (do_syscall_tests_without_xml): Update.
2883
73eb7709
PA
28842014-05-16 Pedro Alves <palves@redhat.com>
2885
2886 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2887 instead of "unknown output after running".
2888
3fae92fc
YQ
28892014-05-16 Yao Qi <yao@codesourcery.com>
2890
2891 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2892 file1.txt from host at the end.
2893 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2894
c2b2ccc5
DE
28952014-05-15 Doug Evans <dje@google.com>
2896
2897 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2898 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2899 loading file. Add test for TU lookup.
2900
8c217a4b
SM
29012014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2902
2903 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2904 calling "-exec-arguments" or "set args" before running the
2905 inferior.
2906
3deb39c6
SM
29072014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2908
2909 * lib/mi-support.exp (mi_expect_stop): Expect message for
2910 inferiors that exit with non-zero exit code.
2911
71a79f8c
YQ
29122014-05-14 Yao Qi <yao@codesourcery.com>
2913
2914 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2915 match absolute path on remote host.
2916 (test_file_list_exec_source_files): Remove "/" from the
2917 pattern.
2918
f23fcd46
YQ
29192014-05-14 Yao Qi <yao@codesourcery.com>
2920
2921 * boards/local-remote-host-notty.exp (${board}_file): New
2922 proc.
2923
9404b58f
KM
29242014-05-07 Kyle McMartin <kyle@redhat.com>
2925
2926 Pushed by Joel Brobecker <brobecker@adacore.com>.
2927 * gdb.arch/aarch64-atomic-inst.c: New file.
2928 * gdb.arch/aarch64-atomic-inst.exp: New file.
2929
5e45f04c
YQ
29302014-05-07 Yao Qi <yao@codesourcery.com>
2931
2932 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2933 in current context" too.
2934
c888a17d
KS
29352014-05-05 Keith Seitz <keiths@redhat.com>
2936
2937 * gdb.linespec/ls-dollar.exp: Add test for linespec
2938 file:convenience_variable.
2939
290a839c
YQ
29402014-05-05 Yao Qi <yao@codesourcery.com>
2941
2942 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2943 traceframes into tfile and ctf trace files. Read data from
2944 trace file and test collected data.
2945 (gdb_collect_locals_test): Likewise.
2946 (gdb_unavailable_registers_test): Likewise.
2947 (gdb_unavailable_floats): Likewise.
2948 (gdb_collect_globals_test): Likewise.
2949 (top-level): Append "ctf" to trace_file_targets if GDB
2950 supports.
2951
b5262cd0
YQ
29522014-05-05 Yao Qi <yao@codesourcery.com>
2953
2954 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2955 code to ...
2956 (gdb_collect_args_test_1): ... it. New proc.
2957 (gdb_collect_locals_test): Move some code to ...
2958 (gdb_collect_locals_test_1): ... it. New proc.
2959 (gdb_unavailable_registers_test): Move some code to ...
2960 (gdb_unavailable_registers_test_1): ... it. New proc.
2961 (gdb_unavailable_floats): Move some code to ...
2962 (gdb_unavailable_floats_1): ... it. New proc.
2963
30a1e6cc
SDJ
29642014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2965
2966 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2967 probes to test for bitness recognition.
2968 * gdb.arch/amd64-stap-optional-prefix.exp
2969 (test_probe_value_without_reg): New procedure.
2970 Add code to test for different kinds of bitness.
2971
f33da99a
SDJ
29722014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2973
2974 PR breakpoints/16889
2975 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2976 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2977
5b80f00d
PA
29782014-05-01 Pedro Alves <palves@redhat.com>
2979
2980 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2981 gdb_file_cmd if no file is specified.
2982 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2983 last_loaded_file to set the remote exec-file.
2984
f8c2a73c
PA
29852014-05-01 Pedro Alves <palves@redhat.com>
2986
2987 * boards/local-remote-host.exp: New file.
2988
be6e8ac7
PA
29892014-05-01 Pedro Alves <palves@redhat.com>
2990
2991 * boards/local-remote-host.exp: Rename to ...
2992 * boards/local-remote-host-notty.exp: ... this.
2993
cac0dc8f
JB
29942014-04-28 Joel Brobecker <brobecker@adacore.com>
2995
2996 * gdb.ada/dyn_arrayidx: New testcase.
2997
9730e6cc
YQ
29982014-04-26 Yao Qi <yao@codesourcery.com>
2999
3000 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3001 and compute the length of function main. Save it in
3002 $main_length.
3003 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3004 (top-level): Use gdb_compile to compile objects into
3005 executable and restart GDB. Remove invocation to
3006 prepare_for_testing.
3007
7ae1a6a6
PA
30082014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3009 Pedro Alves <palves@redhat.com>
3010
3011 PR server/16255
3012 * gdb.multi/multi-attach.c: New file.
3013 * gdb.multi/multi-attach.exp: New file.
3014
4082afcc
PA
30152014-04-25 Pedro Alves <palves@redhat.com>
3016
3017 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3018 user.
3019 (top level): Test that "set remote conditional-breakpoints-packet
3020 off" works as intended.
3021 * gdb.base/dprintf.exp: Test that "set remote
3022 breakpoint-commands-packet off" works as intended.
3023 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3024 New function.
3025 (top level): Call it.
3026 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3027 remote fast-tracepoints-packet off" works as intended.
3028 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3029 * lib/gdb.exp (gdb_is_target_remote): ... here.
3030
2abc3f8d
DB
30312014-04-24 David Blaikie <dblaikie@gmail.com>
3032
3033 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3034 ensure clang would not discard them.
3035 * gdb.base/gdbvars.c: Ditto.
3036 * gdb.base/memattr.c: Ditto.
3037 * gdb.base/whatis.c: Ditto.
3038 * gdb.python/py-prettyprint.c: Ditto.
3039 * gdb.trace/actions.c: Ditto.
3040 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3041 ensure clang would not discard it.
3042
bfd39632
DB
30432014-04-24 David Blaikie <dblaikie@gmail.com>
3044
3045 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3046 clang to emit the full definition of type required by the test
3047 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3048
22842ff6
DB
30492014-04-24 David Blaikie <dblaikie@gmail.com>
3050
3051 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3052 coax Clang into emitting the definition of the type.
3053 * gdb.cp/pr10728-x.h (y): Ditto.
3054 * gdb.cp/pr10728-y.cc (y): Ditto.
3055
c2e827ad
DB
30562014-04-24 David Blaikie <dblaikie@gmail.com>
3057
3058 * gdb.base/label.exp: XFAIL label related tests under Clang.
3059 * gdb.cp/cplabel.exp: Ditto.
3060 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3061 under Clang those using labels.
3062
4c2d33e7
YQ
30632014-04-25 Yao Qi <yao@codesourcery.com>
3064
3065 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3066 double_label.
3067 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3068 partial_label and double_label.
3069
56083b99
DB
30702014-04-24 David Blaikie <dblaikie@gmail.com>
3071
3072 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3073
25d4e99d
DB
30742014-04-24 David Blaikie <dblaikie@gmail.com>
3075
3076 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3077 of the function to work across GCC and Clang.
3078 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3079 pointer types (const void ** const V void **).
3080
01f9f808
MS
30812014-04-24 Michael Sturm <michael.sturm@mintel.com>
3082 Walfred Tedeschi <walfred.tedeschi@intel.com>
3083
3084 * Makefile.in (EXECUTABLES): Added i386-avx512.
3085 * gdb.arch/i386-avx512.c: New file.
3086 * gdb.arch/i386-avx512.exp: Likewise.
3087
4b48d439
KS
30882014-04-23 Keith Seitz <keiths@redhat.com>
3089
3090 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3091 (mi_make_breakpoint_table): New procedure.
3092 (mi_create_breakpoint): Use mi_make_breakpoint
3093 and return the result.
3094 (mi_make_breakpoint): New procedure.
3095 (mi_build_kv_pairs): New procedure.
3096
3097 * gdb.mi/mi-break.exp: Remove unused globals,
3098 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3099 All callers updated.
3100 * gdb.mi/mi-dprintf.exp: Use variable to track command
3101 number.
3102 Update all callers of mi_create_breakpoint and use
3103 mi_make_breakpoint_table.
3104 Remove any unused global variables.
3105 * gdb.mi/mi-nonstop.exp: Likewise.
3106 * gdb.mi/mi-nsintrall.exp: Likewise.
3107 * gdb.mi/mi-nsmoribund.exp: Likewise.
3108 * gdb.mi/mi-nsthrexec.exp: Likewise.
3109 * gdb.mi/mi-reverse.exp: Likewise.
3110 * gdb.mi/mi-simplerun.exp: Likewise.
3111 * gdb.mi/mi-stepn.exp: Likewise.
3112 * gdb.mi/mi-syn-frame.exp: Likewise.
3113 * gdb.mi/mi-until.exp: Likewise.
3114 * gdb.mi/mi-var-cp.exp: Likewise.
3115 * gdb.mi/mi-var-display.exp: Likewise.
3116 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3117 * gdb.mi/mi2-var-child.exp: Likewise.
3118 * gdb.mi/mi-vla-c99.exp: Likewise.
3119 * lib/mi-support.exp: Likewise.
3120
3121 From Ian Lance Taylor <iant@cygnus.com>:
3122 * lib/gdb.exp (parse_args): New procedure.
3123
08351840
PA
31242014-04-23 Pedro Alves <palves@redhat.com>
3125
3126 * gdb.base/break-unload-file.c: New file.
3127 * gdb.base/break-unload-file.exp: New file.
3128 * gdb.base/sym-file-lib.c (baz): New function.
3129 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3130 field.
3131 (load): Store the segment's mapped size.
3132 (unload): New function.
3133 (unload_shlib): New function.
3134 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3135 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3136 set a breakpoint at baz, and call it.
3137 * gdb.base/sym-file.exp: New tests for stale breakpoint
3138 instructions.
3139
076855f9
PA
31402014-04-23 Pedro Alves <palves@redhat.com>
3141
3142 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3143 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3144 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3145 * gdb.base/hbreak-unmapped.c: New file.
3146 * gdb.base/hbreak-unmapped.exp: New file.
3147 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3148 * lib/gdb.exp (gdb_is_target_remote): ... here.
3149
483805cf
PA
31502014-04-22 Pedro Alves <palves@redhat.com>
3151
3152 * gdb.base/consecutive-step-over.c: New file.
3153 * gdb.base/consecutive-step-over.exp: New file.
3154
06d97543
PA
31552014-04-22 Pedro Alves <palves@redhat.com>
3156
3157 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3158 instead of send_gdb/gdb_expect.
3159
b4429ea2
YQ
31602014-04-22 Yao Qi <yao@codesourcery.com>
3161
3162 * lib/trace-support.exp (generate_tracefile): New procedure.
3163 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3164 return 0.
3165 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3166 if generate_tracefile returns 1.
3167
51d48146
PA
31682014-04-18 Tom Tromey <palves@redhat.com>
3169 Pedro alves <tromey@redhat.com>
3170
3171 PR backtrace/15558
3172 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3173 with a backtrace limit.
3174 * gdb.python/py-frame-inline.exp: Test running to an inline
3175 function with a backtrace limit, and printing the newest frame.
3176 * gdb.python/py-frame-inline.c (main): Call f.
3177
bd1dce5f
MS
31782014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3179
3180 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3181
40d1a503
MS
31822014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3183
3184 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3185 Drop prefix from unsupported source file path.
3186
389b98f7
YQ
31872014-04-17 Yao Qi <yao@codesourcery.com>
3188
3189 * lib/gdb.exp (with_target_charset): New proc.
3190 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3191 with_target_charset.
3192 (test_print_strings): Likewise.
3193 (test_repeat_bytes): Likewise.
3194 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3195 for some tests.
3196
22869d73
KS
31972014-04-16 Keith Seitz <keiths@redhat.com>
3198
3199 PR gdb/15827
3200 * gdb.dwarf2/corrupt.c: New file.
3201 * gdb.dwarf2/corrupt.exp: New file.
3202
c4f87ca6
KS
32032014-04-16 Keith Seitz <keiths@redhat.com>
3204
3205 PR c++/16597
3206 * gdb.cp/namelessclass.cc: New file.
3207 * gdb.cp/namelessclass.exp: New file.
3208 * gdb.cp/namelessclass.S: New file.
3209
ab19de87
DE
32102014-04-16 Doug Evans <dje@google.com>
3211
3212 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3213 Add comment.
3214 (gdbserver_default_get_comm_port): New function.
3215 (gdbserver_start): Check if board file provided
3216 "gdbserver,get_comm_port" and use it if so.
3217 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3218 (gdb,socketport): Set to "stdio".
3219 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3220 (stdio_gdbserver_template): Delete.
3221 (${board}_get_remote_address): Update.
3222 (${board}_build_remote_cmd): Delete.
3223 (${board}_get_comm_port): New function.
3224 (${board}_spawn): Update.
3225 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3226 Delete.
3227 (${board}_get_remote_address): Update.
3228 (${board}_get_comm_port): New function.
3229
fc98a809
AB
32302014-04-16 Andrew Burgess <aburgess@broadcom.com>
3231
3232 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3233 appearing in any order.
3234
87fd9e6e
DE
32352014-04-15 Doug Evans <dje@google.com>
3236
3237 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3238 uninitialized value of "description".
3239
099fc3ea
KS
32402014-04-15 Keith Seitz <keiths@redhat.com>
3241
3242 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3243 Remove unused globals.
3244 (test_running_the_program): Likewise.
3245 (test_controlled_execution): Likewise.
3246 (test_controlling_breakpoints): Likewise.
3247 (test_program_termination): Likewise.
3248
5da151d4
KS
32492014-04-15 Keith Seitz <keiths@redhat.com>
3250
3251 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3252 unused globals.
3253 (test_rbreak_creation_and_listing): Likewise.
3254 (test_ignore_count): Likewise.
3255 (test_error): Likewise.
3256
35e5d2f0
PA
32572014-04-15 Pedro Alves <palves@redhat.com>
3258
3259 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3260 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3261 sym-file-loader.c.
3262 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3263 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3264 to sym-file-loader.c.
3265 (struct library): Forward declare.
3266 (load_shlib, lookup_function): Change prototypes.
3267 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3268 (translate_offset): Remove declarations.
3269 (get_text_addr): New declaration.
3270 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3271 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3272 sym-file-loader.h.
3273 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3274 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3275 here from sym-file-loader.h.
3276 (struct library): New structure.
3277 (load_shlib, lookup_function): Change prototypes and adjust to
3278 work with a struct library.
3279 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3280 (translate_offset): Make static.
3281 (get_text_addr): New function.
3282 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3283
eb4c1710
PA
32842014-04-15 Pedro Alves <palves@redhat.com>
3285
3286 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3287
2d1baf52
PA
32882014-04-15 Pedro Alves <palves@redhat.com>
3289
3290 * gdb.base/sym-file-loader.c: Include <limits.h>.
3291 (SELF_LINK): New define.
3292 (get_origin): New function.
3293 (load_shlib): Use it.
3294 * gdb.base/sym-file.exp: Don't early return if the target is
3295 remote. Use runto_main, and issue fail is that fails. Use
3296 gdb_load_shlibs.
3297 (shlib_name): Delete.
3298 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3299
7dd6df01
PA
33002014-04-15 Pedro Alves <palves@redhat.com>
3301
3302 * gdb.base/sym-file.exp: Remove regex characters from test
3303 message. Don't refer to breakpoint numbers in test messages.
3304
b50c8614
KS
33052014-04-14 Keith Seitz <keiths@redhat.com>
3306
3307 PR c++/16253
3308 * gdb.cp/var-tag.cc: New file.
3309 * gdb.cp/var-tag.exp: New file.
3310 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3311 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3312 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3313 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3314
3d567982
TT
33152014-04-14 Tom Tromey <tromey@redhat.com>
3316
3317 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3318 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3319 type.
3320 * gdb.cp/enum-class.exp: New file.
3321 * gdb.cp/enum-class.cc: New file.
3322
0626fc76
TT
33232014-04-14 Tom Tromey <tromey@redhat.com>
3324
3325 * gdb.dwarf2/enum-type.exp: New file.
3326
dca325b3
SA
33272014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3328
3329 * gdb.mi/mi-vla-c99.exp: New file.
3330 * gdb.mi/vla.c: New file.
3331
5854b38a
SA
33322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3333
3334 * gdb.base/vla-datatypes.c: New file.
3335 * gdb.base/vla-datatypes.exp: New file.
3336
463bb957
SA
33372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3338
3339 * gdb.base/vla-ptr.c: New file.
3340 * gdb.base/vla-ptr.exp: New file.
3341
3dd170be
SA
33422014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3343
3344 * gdb.dwarf2/count.exp: New file.
3345
5ecaaa66
SA
33462014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3347
3348 * gdb.base/vla-sideeffect.c: New file.
3349 * gdb.base/vla-sideeffect.exp: New file.
3350
41f1ada5
DB
33512014-04-14 David Blaikie <dblaikie@gmail.com>
3352
3353 * gdb.mi/non-stop.c: Add return value for non-void function return
3354 statement.
3355 * gdb.threads/staticthreads.c: Ditto.
3356
0be03e84
DE
33572014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3358 Doug Evans <xdje42@gmail.com>
3359
3360 * gdb.guile/scm-value.c: Improve test case.
3361 * gdb.guile/scm-value.exp: Add new test.
3362
f180a1fb
DB
33632014-04-11 David Blaikie <dblaikie@gmail.com>
3364
3365 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3366 override Clang's default.
3367
6b662e19
JB
33682014-04-11 Joel Brobecker <brobecker@adacore.com>
3369
3370 Revert the following changes (regressions):
3371
3372 * gdb.base/vla-sideeffect.c: New file.
3373 * gdb.base/vla-sideeffect.exp: New file.
3374
3375 * gdb.dwarf2/count.exp: New file.
3376
3377 * gdb.base/vla-multi.c: New file.
3378 * gdb.base/vla-multi.exp: New file.
3379
3380 * gdb.base/vla-ptr.c: New file.
3381 * gdb.base/vla-ptr.exp: New file.
3382
3383 * gdb.base/vla-datatypes.c: New file.
3384 * gdb.base/vla-datatypes.exp: New file.
3385
3386 * gdb.mi/mi-vla-c99.exp: New file.
3387 * gdb.mi/vla.c: New file.
3388
245a5f0b
KS
33892014-04-11 Keith Seitz <keiths@redhat.com>
3390
3391 PR c++/16675
3392 * gdb.cp/cpsizeof.exp: New file.
3393 * gdb.cp/cpsizeof.cc: New file.
3394
58a84dcf
SA
33952014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3396
191a8a90
JB
3397 * gdb.mi/mi-vla-c99.exp: New file.
3398 * gdb.mi/vla.c: New file.
58a84dcf 3399
c8655f75
SA
34002014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3401
3402 * gdb.base/vla-datatypes.c: New file.
3403 * gdb.base/vla-datatypes.exp: New file.
3404
024e13b4
SA
34052014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3406
3407 * gdb.base/vla-ptr.c: New file.
3408 * gdb.base/vla-ptr.exp: New file.
3409
1a237e0e
SA
34102014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3411
3412 * gdb.base/vla-multi.c: New file.
3413 * gdb.base/vla-multi.exp: New file.
3414
504f3432
SA
34152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3416
3417 * gdb.dwarf2/count.exp: New file.
3418
3bce8237
SA
34192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3420
191a8a90
JB
3421 * gdb.base/vla-sideeffect.c: New file.
3422 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 3423
322f9c21
YQ
34242014-04-11 Yao Qi <yao@codesourcery.com>
3425
3426 * gdb.base/completion.exp: Check file exists before running tests
3427 on file completion.
3428
d708bcd1
PA
34292014-04-10 Pedro Alves <palves@redhat.com>
3430
3431 * gdb.base/cond-eval-mode.c: New file.
3432 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3433 prepare_for_testing to build the new file. Check result of
3434 runto_main.
3435 (test_break, test_watch): New procedures.
3436 (top level): Use them.
3437
ae1d2761
PM
34382014-04-08 Pierre Muller <muller@sourceware.org>
3439
3440 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3441 Ctrl-V use for mingw hosts.
3442
7af389b8
SC
34432014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3444
3445 * gdb.python/py-value.c: Improve test case.
3446 * gdb.python/py-value.exp: Add new test.
3447
5e703181
DE
34482014-04-07 David Blaikie <dblaikie@gmail.com>
3449
3450 * lib/compiler.c: Identify the clang compiler.
3451 * lib/compiler.cc: Ditto.
3452
9810b410
YQ
34532014-04-03 Yao Qi <yao@codesourcery.com>
3454
3455 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3456
98d1b8dc
AB
34572014-04-01 Anton Blanchard <anton@samba.org>
3458
3459 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3460 messages unique.
3461
3114cea1
AB
34622014-04-01 Anton Blanchard <anton@samba.org>
3463
3464 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3465 prepare_for_testing.
3466
62f7182c
AB
34672014-04-01 Anton Blanchard <anton@samba.org>
3468
3469 * gdb.arch/ppc64-atomic-inst.c: Remove.
3470 * gdb.arch/ppc64-atomic-inst.S: New file.
3471 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3472
770e7fc7
DE
34732014-03-31 Doug Evans <dje@google.com>
3474
3475 * gdb.base/print-symbol-loading-lib.c: New file.
3476 * gdb.base/print-symbol-loading-main.c: New file.
3477 * gdb.base/print-symbol-loading.exp: New file.
3478
46e2bafa
YQ
34792014-03-31 Yao Qi <yao@codesourcery.com>
3480
3481 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3482
8776cfe9
JB
34832014-03-28 Joel Brobecker <brobecker@adacore.com>
3484
3485 * gdb.ada/mi_dyn_arr: New testcase.
3486
5d1ef361
DE
34872014-03-27 Doug Evans <dje@google.com>
3488
3489 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3490
b5bee914
YQ
34912014-03-27 Yao Qi <yao@codesourcery.com>
3492
3493 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3494 if target is nios2-*-*.
3495
0d4d0e77
YQ
34962014-03-26 Yao Qi <yao@codesourcery.com>
3497
3498 * lib/gdb.exp (readline_is_used): New proc.
3499 * gdb.base/completion.exp: Move tests on command complete up.
3500 Skip the rest of tests if readline is not used.
3501 * gdb.ada/complete.exp: Skp the test if readline is not
3502 used.
3503 * gdb.base/filesym.exp: Likewise.
3504 * gdb.base/macscp.exp: Likewise.
3505 * gdb.base/readline-ask.exp: Likewise.
3506 * gdb.base/readline.exp: Likewise.
3507 * gdb.python/py-cmd.exp: Likewise.
3508 * gdb.trace/tfile.exp: Likewise.
3509
29361eee
YQ
35102014-03-26 Yao Qi <yao@codesourcery.com>
3511
3512 * gdb.base/macscp.exp: Fix code format issues.
3513
bc9a5525
UW
35142014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3515
3516 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3517 * gdb.asm/powerpc64le.inc: New file.
3518
d3839ede
PA
35192014-03-25 Pedro Alves <palves@redhat.com>
3520 Doug Evans <dje@google.com>
3521
3522 * gdb.base/source-execution.c: New file.
3523 * gdb.base/source-execution.exp: New file.
3524 * gdb.base/source-execution.gdb: New file.
3525
01672a57
DE
35262014-03-24 Doug Evans <dje@google.com>
3527
3528 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3529 using fission.
3530
88bbeca9
HZ
35312014-03-24 Hui Zhu <hui@codesourcery.com>
3532 Pedro Alves <palves@redhat.com>
3533
3534 PR breakpoints/16101
3535 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3536 test pass/fail messages. Detect missing support for dprintf when
3537 breakpoints are actually inserted.
3538 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3539 breakpoints are actually inserted.
3540 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3541 fails.
3542
d2348791
JK
35432014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3544
3545 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3546
feef67ab
DE
35472014-03-22 Doug Evans <xdje42@gmail.com>
3548
3549 * gdb.python/python.exp (python not supported): Verify multi-line
3550 python command issues an error.
25d743f9 3551 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 3552 guile command issues an error.
feef67ab 3553
ecebef6a
MR
35542014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3555
3556 * gdb.threads/thread-specific.exp: Handle the lack of usable
3557 $this_breakpoint and $this_thread.
3558
ccdd1909
HZ
35592014-03-21 Hui Zhu <hui@codesourcery.com>
3560
3561 * gdb.base/attach.exp (do_command_attach_tests): New.
3562
beb460e8
PA
35632014-03-20 Tom Tromey <tromey@redhat.com>
3564 Pedro Alves <palves@redhat.com>
3565
3566 PR cli/15718
3567 * gdb.base/condbreak-call-false.c: New file.
3568 * gdb.base/condbreak-call-false.exp: New file.
3569
40acf43a
PA
35702014-03-20 Pedro Alves <palves@redhat.com>
3571
3572 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3573 Delete.
3574 (block_signals, unblock_signals): Delete.
3575 (child_function_2, main): Remove references to deleted variable
3576 and functions.
3577
9f5e1e02
PA
35782014-03-20 Pedro Alves <palves@redhat.com>
3579
3580 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3581 Use pthread_kill to signal thread 2.
3582 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3583 Adjust to make the test send itself a signal rather than using the
3584 host's "kill" command.
3585
99619bea
PA
35862014-03-20 Pedro Alves <palves@redhat.com>
3587
3588 * gdb.threads/multiple-step-overs.c: New file.
3589 * gdb.threads/multiple-step-overs.exp: New file.
3590 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3591 Adjust expected infrun debug output.
3592
2adfaa28
PA
35932014-03-20 Pedro Alves <palves@redhat.com>
3594
3595 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3596 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3597
31e77af2
PA
35982014-03-20 Pedro Alves <palves@redhat.com>
3599
3600 PR breakpoints/7143
3601 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3602 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3603 of gdb_test_multiple.
3604 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3605 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3606
b9f437de
PA
36072014-03-20 Pedro Alves <palves@redhat.com>
3608
3609 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3610 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3611
05adc73e
PA
36122014-03-19 Pedro Alves <palves@redhat.com>
3613
3614 * gdb.base/async.exp: Remove early return.
3615
6048b950
PA
36162014-03-19 Pedro Alves <palves@redhat.com>
3617
3618 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3619
8bcfb00a
PA
36202014-03-19 Pedro Alves <palves@redhat.com>
3621
3622 * gdb.base/async.exp (test_background): Expect \r\n after
3623 "completed." in the fail pattern.
3624
884e37dc
PA
36252014-03-19 Pedro Alves <palves@redhat.com>
3626
3627 * gdb.base/async.exp (test_background): New procedure.
3628 Use it for all background execution command tests.
3629
148e57e2
PA
36302014-03-19 Pedro Alves <palves@redhat.com>
3631
3632 * gdb.base/async.exp: Use prepare_for_testing.
3633
f48088c7
PA
36342014-03-19 Pedro Alves <palves@redhat.com>
3635
3636 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3637 the same line.
3638
e2f6c966
PA
36392014-03-19 Pedro Alves <palves@redhat.com>
3640
3641 * gdb.base/async.c (main): Add "jump here" and "until here" line
3642 marker comments.
3643 * gdb.base/async.exp (jump_here): New global.
3644 (jump& test): Use it.
3645 (until_here): New global.
3646 (until& test): Use it.
3647
c30568d4
PA
36482014-03-19 Pedro Alves <palves@redhat.com>
3649
3650 * gdb.base/async.exp: Don't frob gdb_protocol.
3651
0172b6a7
DE
36522014-03-18 Doug Evans <xdje42@gmail.com>
3653
3654 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3655 Fix spelling of exec-done-display.
3656
06c868a8
JK
36572014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3658
3659 PR gdb/15358
3660 * gdb.base/gdb-sigterm.c: New file.
3661 * gdb.base/gdb-sigterm.exp: New file.
3662
0c7e1a46
PA
36632014-03-18 Pedro Alves <palves@redhat.com>
3664
3665 PR gdb/13860
3666 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3667 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3668 solib-event.
3669
f7c77d93
JB
36702014-03-17 Joel Brobecker <brobecker@adacore.com>
3671
3672 * gdb.ada/pckd_arr_ren: New testcase.
3673
5a1e8c7a
DE
36742014-03-13 Doug Evans <xdje42@gmail.com>
3675
3676 PR guile/16612
3677 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3678 collect after discarding symbols.
3679
350e1a76
DE
36802014-03-13 Ludovic Courtès <ludo@gnu.org>
3681 Doug Evans <xdje42@gmail.com>
3682
3683 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3684 to history survives a gc.
3685
a69900ae
PA
36862014-03-13 Pedro Alves <palves@redhat.com>
3687
3688 * gdb.base/default.exp: Don't test "target procfs".
3689
5db9f0bd
PA
36902014-03-13 Pedro Alves <palves@redhat.com>
3691
3692 * gdb.base/default.exp: Update "target child" and "target procfs"
3693 tests to not expect "Unix".
3694
b3ccfe11
TT
36952014-03-12 Tom Tromey <tromey@redhat.com>
3696
3697 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3698 New procs. Add target-async tests.
3699 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3700 Add target-async tests.
3701
646f4417
AA
37022014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3703
3704 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3705 'func_start' and 'func_end' for the beginning and end of the
3706 function code, respectively.
3707 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3708 'func_end' instead of 'func' and 'main'.
3709
288c211f
AA
37102014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3711
3712 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3713 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3714 generate the debug info assembler source.
3715
e0c0f156
AA
37162014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3717
3718 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3719 * gdb.dwarf2/arr-subrange.exp: Likewise.
3720 * gdb.dwarf2/dwz.exp: Likewise.
3721 * gdb.dwarf2/method-ptr.exp: Likewise.
3722 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3723 * gdb.dwarf2/subrange.exp: Likewise.
3724 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3725 * gdb.dwarf2/implptrpiece.exp: Likewise.
3726 * gdb.dwarf2/nostaticblock.exp: Likewise.
3727
0e5c4555
AA
37282014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3729
3730 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3731 directory to absolute path name arguments.
3732
5ec18f2b
JG
37332014-03-10 Joel Brobecker <brobecker@adacore.com>
3734
3735 * gdb.ada/tagged_access: New testcase.
3736
847fc4f2
MM
37372014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3738
3739 * gdb.btrace/data.exp: Update expected output.
3740
cc3da688
YQ
37412014-03-06 Yao Qi <yao@codesourcery.com>
3742
3743 * gdb.trace/pr16508.exp: New file.
3744
0f26cec1
PA
37452014-03-05 Pedro Alves <palves@redhat.com>
3746
3747 PR gdb/16575
3748 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3749 procedure.
3750 (top level): Adjust to use it. Add tests that exercise breakpoint
3751 interaction with the code-cache.
3752
7a5a839f
LC
37532014-02-26 Ludovic Courtès <ludo@gnu.org>
3754
3755 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3756 test for 'history-append!'.
3757
31aa7e4e
JB
37582014-02-26 Joel Brobecker <brobecker@adacore.com>
3759
3760 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3761 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3762 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3763 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3764 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3765 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3766
1b588015
JB
37672014-02-26 Joel Brobecker <brobecker@adacore.com>
3768
3769 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3770 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3771 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3772
55426c9d
JB
37732014-02-26 Joel Brobecker <brobecker@adacore.com>
3774
3775 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3776
dc53a7ad
JB
37772014-02-26 Joel Brobecker <brobecker@adacore.com>
3778
3779 * gdb.dwarf2/arr-stride.c: New file.
3780 * gdb.dwarf2/arr-stride.exp: New file.
3781
12ab52e9
PA
37822014-02-26 Pedro Alves <palves@redhat.com>
3783
3784 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3785 that won't ever trigger. Make sure that GDB reports the correct
3786 breakpoint that caused the stop.
3787
849c862e
JK
37882014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3789
3790 PR gdb/16626
3791 * gdb.base/auto-load-script: New file.
3792 * gdb.base/auto-load.c: New file.
3793 * gdb.base/auto-load.exp: New file.
3794
71b7d793
JK
3795 PR gdb/16626
3796 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3797
e2f0d509
JK
37982014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3799
3800 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3801 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3802
50cc37c8
DE
38032014-02-24 Doug Evans <dje@google.com>
3804
3805 * lib/gdb.exp (run_on_host): Log error output if program fails.
3806
ea4758f2
PA
38072014-02-21 Pedro Alves <palves@redhat.com>
3808
3809 * gdb.threads/step-after-sr-lock.c: Rename to ...
3810 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3811 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3812 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3813 ... this.
3814
d7b30f67
SDJ
38152014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3816
3817 PR tdep/16397
3818 * gdb.arch/amd64-stap-special-operands.exp: New file.
3819 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3820 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3821 * gdb.arch/amd64-stap-triplet.S: Likewise.
3822 * gdb.arch/amd64-stap-triplet.c: Likewise.
3823
83deb43f
JB
38242014-02-20 Joel Brobecker <brobecker@adacore.com>
3825
3826 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3827 in .section pseudo-op.
3828
adde2bff
DE
38292014-02-20 lin zuojian <manjian2006@gmail.com>
3830 Joel Brobecker <brobecker@adacore.com>
3831 Doug Evans <xdje42@gmail.com>
3832
3833 PR symtab/16581
3834 * gdb.dwarf2/dw2-icycle.S: New file.
3835 * gdb.dwarf2/dw2-icycle.c: New file.
3836 * gdb.dwarf2/dw2-icycle.exp: New file.
3837
f7bd0f78
SC
38382014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3839
3840 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3841 operations on gdb.Value objects.
3842 * gdb.python/py-value-cc.exp: Add new test to test operations on
3843 gdb.Value objects.
3844
c17ef0d5
DE
38452014-02-18 Doug Evans <dje@google.com>
3846
3847 * Makefile.in (TESTS): New variable.
3848 (expanded_tests, expanded_tests_or_none): New variables
3849 (check-single): Pass $(expanded_tests_or_none) to runtest.
3850 (check-parallel): Only run tests in $(TESTS) if non-empty.
3851 (check/no-matching-tests-found): New rule.
3852 * README: Document TESTS makefile variable.
3853
5dd3176f
DE
38542014-02-18 Doug Evans <dje@google.com>
3855
3856 * Makefile.in (check-parallel): rm -rf outputs temp.
3857
0b10be4f
JK
38582014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3859
3860 Fix "ERROR: no fileid for" in the testsuite.
3861 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3862
85f224e7
DE
38632014-02-12 Doug Evans <dje@google.com>
3864
3865 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3866 (MISCELLANEOUS): New variable.
3867 (clean): rm -rf $(MISCELLANEOUS).
3868 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3869 dwp live in the same directory as symlinks, with each symlink pointed
3870 to a differently named file in a different directory.
3871
149b30ff
DE
38722014-02-11 Doug Evans <dje@google.com>
3873
3874 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3875 of Tcl file commands.
3876
1dfdac32
MK
38772014-02-10 Mark Kettenis <kettenis@gnu.org>
3878
3879 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3880 "kill -SIGUSR1 -1".
3881
aa4fb036
JB
38822014-02-10 Joel Brobecker <brobecker@adacore.com>
3883
3884 * gdb.ada/tick_length_array_enum_idx: New testcase.
3885
ed3ef339
DE
38862014-02-10 Doug Evans <xdje42@gmail.com>
3887
3888 * configure.ac (AC_OUTPUT): Add gdb.guile.
3889 * configure: Regenerate.
3890 * lib/gdb-guile.exp: New file.
3891 * lib/gdb.exp (get_target_charset): New function.
3892 * gdb.base/help.exp: Update expected output from "apropos apropos".
3893 * gdb.guile/Makefile.in: New file.
3894 * gdb.guile/guile.exp: New file.
3895 * gdb.guile/scm-arch.c: New file.
3896 * gdb.guile/scm-arch.exp: New file.
3897 * gdb.guile/scm-block.c: New file.
3898 * gdb.guile/scm-block.exp: New file.
3899 * gdb.guile/scm-breakpoint.c: New file.
3900 * gdb.guile/scm-breakpoint.exp: New file.
3901 * gdb.guile/scm-disasm.c: New file.
3902 * gdb.guile/scm-disasm.exp: New file.
3903 * gdb.guile/scm-equal.c: New file.
3904 * gdb.guile/scm-equal.exp: New file.
3905 * gdb.guile/scm-error.exp: New file.
3906 * gdb.guile/scm-error.scm: New file.
3907 * gdb.guile/scm-frame-args.c: New file.
3908 * gdb.guile/scm-frame-args.exp: New file.
3909 * gdb.guile/scm-frame-args.scm: New file.
3910 * gdb.guile/scm-frame-inline.c: New file.
3911 * gdb.guile/scm-frame-inline.exp: New file.
3912 * gdb.guile/scm-frame.c: New file.
3913 * gdb.guile/scm-frame.exp: New file.
3914 * gdb.guile/scm-generics.exp: New file.
3915 * gdb.guile/scm-gsmob.exp: New file.
3916 * gdb.guile/scm-iterator.c: New file.
3917 * gdb.guile/scm-iterator.exp: New file.
3918 * gdb.guile/scm-math.c: New file.
3919 * gdb.guile/scm-math.exp: New file.
3920 * gdb.guile/scm-objfile-script-gdb.in: New file.
3921 * gdb.guile/scm-objfile-script.c: New file.
3922 * gdb.guile/scm-objfile-script.exp: New file.
3923 * gdb.guile/scm-objfile.c: New file.
3924 * gdb.guile/scm-objfile.exp: New file.
3925 * gdb.guile/scm-ports.exp: New file.
3926 * gdb.guile/scm-pretty-print.c: New file.
3927 * gdb.guile/scm-pretty-print.exp: New file.
3928 * gdb.guile/scm-pretty-print.scm: New file.
3929 * gdb.guile/scm-section-script.c: New file.
3930 * gdb.guile/scm-section-script.exp: New file.
3931 * gdb.guile/scm-section-script.scm: New file.
3932 * gdb.guile/scm-symbol.c: New file.
3933 * gdb.guile/scm-symbol.exp: New file.
3934 * gdb.guile/scm-symtab-2.c: New file.
3935 * gdb.guile/scm-symtab.c: New file.
3936 * gdb.guile/scm-symtab.exp: New file.
3937 * gdb.guile/scm-type.c: New file.
3938 * gdb.guile/scm-type.exp: New file.
3939 * gdb.guile/scm-value-cc.cc: New file.
3940 * gdb.guile/scm-value-cc.exp: New file.
3941 * gdb.guile/scm-value.c: New file.
3942 * gdb.guile/scm-value.exp: New file.
3943 * gdb.guile/source2.scm: New file.
3944 * gdb.guile/types-module.cc: New file.
3945 * gdb.guile/types-module.exp: New file.
3946
7026a7c1
YQ
39472014-02-10 Yao Qi <yao@codesourcery.com>
3948
3949 PR testsuite/16543
3950 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3951 * configure: Regenerated.
3952 * Makefile.in: New file.
3953
6c466447
AS
39542014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3955
3956 * gdb.python/py-framefilter.exp: Fix typo.
3957
6e854735
YQ
39582014-02-08 Yao Qi <yao@codesourcery.com>
3959
3960 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3961 that no =breakpoint-modified is emitted when breakpoints are
3962 modified through MI commands.
3963
d137e6dc
PA
39642014-02-07 Pedro Alves <pedro@codesourcery.com>
3965 Pedro Alves <palves@redhat.com>
3966
3967 * gdb.threads/step-after-sr-lock.c: New file.
3968 * gdb.threads/step-after-sr-lock.exp: New file.
3969
b5ee5a50
PA
39702014-02-07 Pedro Alves <palves@redhat.com>
3971
3972 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3973
3c77faf3
JK
39742014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3975
3976 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3977 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3978
6dddc817
DE
39792014-02-06 Doug Evans <xdje42@gmail.com>
3980
3981 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3982 output.
3983
3984 * gdb.gdb/python-interrupts.exp: New file.
3985
de7b2893
YQ
39862014-02-05 Yao Qi <yao@codesourcery.com>
3987
3988 * gdb.trace/report.exp (use_collected_data): Test the output
3989 of "info threads" and "info inferiors".
3990
66d032ac
YQ
39912014-02-05 Yao Qi <yao@codesourcery.com>
3992
3993 Revert this patch:
3994
3995 2013-05-24 Yao Qi <yao@codesourcery.com>
3996
3997 * gdb.trace/tfile.exp: Test inferior and thread.
3998
591a12a1
UW
39992014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4000
4001 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4002 on a function.
4003 * gdb.base/step-bt.c: Call hello via function pointer to make
4004 sure its first instruction is executed on powerpc64le-linux.
4005
0ff3e01f
UW
40062014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4007
4008 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4009
084ee545
UW
40102014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4011
4012 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4013 of the test patterns for use on little-endian systems.
4014
6ed14ff3
UW
40152014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4016
4017 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4018 (decimal_vector): Fix for little-endian.
4019
401e27fd
JM
40202014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4021
4022 * gdb.arch/sparc-sysstep.exp: New file.
4023 * gdb.arch/sparc-sysstep.c: Likewise.
4024
4025 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4026
8b924729
EBM
40272014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4028
4029 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4030
fb151210
JB
40312014-01-23 Tom Tromey <tromey@redhat.com>
4032
4033 * gdb.ada/array_char_idx: New testcase.
4034
0740f8d8
TT
40352014-01-23 Tom Tromey <tromey@redhat.com>
4036
4037 PR python/16487:
4038 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4039 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4040 classes.
4041
21909fa1
TT
40422014-01-23 Tom Tromey <tromey@redhat.com>
4043
4044 PR python/16491:
4045 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4046 string from an inferior frame.
4047 * gdb.python/py-framefilter-mi.exp: Update.
4048
87ce2a04
DE
40492014-01-22 Doug Evans <dje@google.com>
4050
4051 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4052
237b092b
AA
40532014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4054
4055 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4056
d674a709
AA
40572014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4058
4059 * gdb.trace/entry-values.exp: Remove excess space character from
4060 regex patterns. Handle s390 call instruction.
4061
20fa3390
AA
40622014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4063
4064 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4065 define "*_start" label. Make "name" static.
4066 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4067 ${name} by references to ${name}_start.
4068
78466714
AA
40692014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4070
4071 * gdb.base/info-macros.exp: Remove "debug" from the compile
4072 options.
4073
ec9f644a
IB
40742014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4075
4076 * gdb.dlang/demangle.exp: New file.
4077
94b1b47e
IB
40782014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4079
4080 * gdb.dlang/primitive-types.exp: New file.
4081
7f420862
IB
40822014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4083
4084 * configure.ac: Create gdb.dlang/Makefile.
4085 * configure: Regenerate.
4086 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4087 * gdb.dlang/Makefile.in: New file.
4088 * lib/d-support.exp: New file.
4089 * lib/gdb.exp (skip_d_tests): New proc.
4090
52834460
MM
40912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4092
4093 * gdb.btrace/delta.exp: Check reverse stepi.
4094 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4095 * gdb.btrace/finish.exp: New.
4096 * gdb.btrace/next.exp: New.
4097 * gdb.btrace/nexti.exp: New.
4098 * gdb.btrace/record_goto.c: Add comments.
4099 * gdb.btrace/step.exp: New.
4100 * gdb.btrace/stepi.exp: New.
4101 * gdb.btrace/multi-thread-step.c: New.
4102 * gdb.btrace/multi-thread-step.exp: New.
4103 * gdb.btrace/rn-dl-bind.c: New.
4104 * gdb.btrace/rn-dl-bind.exp: New.
4105 * gdb.btrace/data.c: New.
4106 * gdb.btrace/data.exp: New.
4107 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4108
6e07b1d2
MM
41092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4110
4111 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4112 * gdb.btrace/exception.exp: Update.
4113 * gdb.btrace/instruction_history.exp: Update.
4114 * gdb.btrace/record_goto.exp: Update.
4115 * gdb.btrace/tailcall.exp: Update.
4116 * gdb.btrace/unknown_functions.exp: Update.
4117 * gdb.btrace/delta.exp: New.
4118
0b722aec
MM
41192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4120
4121 * gdb.btrace/record_goto.exp: Add backtrace test.
4122 * gdb.btrace/tailcall.exp: Add backtrace test.
4123
066ce621
MM
41242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4125
4126 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4127 * gdb.btrace/record_goto.c: New.
4128 * gdb.btrace/record_goto.exp: New.
4129 * gdb.btrace/x86-record_goto.S: New.
4130
0688d04e
MM
41312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4132
4133 * gdb.btrace/function_call_history.exp: Update tests.
4134 * gdb.btrace/instruction_history.exp: Update tests.
4135
8710b709
MM
41362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4137
4138 * gdb.btrace/function_call_history.exp: Fix expected field
4139 order for "record function-call-history".
4140 Add new tests for "record function-call-history /c".
4141 * gdb.btrace/exception.cc: New.
4142 * gdb.btrace/exception.exp: New.
4143 * gdb.btrace/tailcall.exp: New.
4144 * gdb.btrace/x86-tailcall.S: New.
4145 * gdb.btrace/x86-tailcall.c: New.
4146 * gdb.btrace/unknown_functions.c: New.
4147 * gdb.btrace/unknown_functions.exp: New.
4148 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4149
5de9129b
MM
41502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4151
4152 * gdb.btrace/instruction_history.exp: Update.
4153 * gdb.btrace/function_call_history.exp: Update.
4154
23a7fe75
MM
41552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4156
4157 * gdb.btrace/function_call_history.exp: Fix expected function
4158 trace.
4159 * gdb.btrace/instruction_history.exp: Initialize traced.
4160 Remove traced_functions.
4161
724c7dd8
MM
41622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4163
4164 * gdb.btrace/function_call_history.exp: Update
4165 * gdb.btrace/instruction_history.exp: Update.
4166
6d78d93b
MM
41672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4168
4169 * gdb.btrace/enable.exp: Update expected text.
4170
93a360cc
OJ
41712014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4172
4173 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4174 bytes.
4175
3772b53f
MR
41762014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4177
4178 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4179
596662fa
OJ
41802014-01-15 Omair Javaid <omair.javaid@linaro.org>
4181
4182 * lib/gdb.exp (supports_process_record): Return true for
4183 arm*-linux*. (supports_reverse): Likewise.
4184
b5b08fb4
SC
41852014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4186
4187 PR python/15464
4188 PR python/16113
4189 * gdb.python/py-type.c: Enhance test case.
4190 * gdb.python/py-value-cc.cc: Likewise
4191 * gdb.python/py-type.exp: Add new tests.
4192 * gdb.python/py-value-cc.exp: Likewise
4193
52d7fb13
AA
41942014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4195 Pedro Alves <palves@redhat.com>
4196
4197 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4198 Make "name" extern.
4199 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4200 references to ${name}_start by references to ${name}.
4201
a2cd8cfe
JB
42022014-01-10 Joel Brobecker <brobecker@adacore.com>
4203
4204 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4205
4e23fced
JB
42062014-01-10 Joel Brobecker <brobecker@adacore.com>
4207
4208 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4209
c6a9e42c
PA
42102014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4211 Pedro Alves <palves@redhat.com>
4212
4213 * gdb.mi/mi-info-os.exp: Connect to the target with
4214 mi_gdb_target_load.
4215
b7ea362b
PA
42162014-01-08 Pedro Alves <palves@redhat.com>
4217
4218 * gdb.threads/reconnect-signal.c: New file.
4219 * gdb.threads/reconnect-signal.exp: New file.
4220
5e3f4fab
EBM
42212014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4222
4223 * gdb.base/source-dir.exp: New file.
4224
79301218
JB
42252014-01-07 Joel Brobecker <brobecker@adacore.com>
4226
4227 * gdb.ada/mi_interface: New testcase.
4228
8e355c5d
JB
42292014-01-07 Joel Brobecker <brobecker@adacore.com>
4230
4231 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4232 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4233 gdb.ada/pp-rec-component/pck.ads: New files.
4234
c0d48811
JB
42352014-01-07 Joel Brobecker <brobecker@adacore.com>
4236
4237 * gdb.python/py-pp-integral.c: New file.
4238 * gdb.python/py-pp-integral.py: New file.
4239 * gdb.python/py-pp-integral.exp: New file.
4240
17b609c3 4241For older changes see ChangeLog-1993-2013.
c906108c 4242\f
8d8cb839
EZ
4243;; Local Variables:
4244;; mode: change-log
4245;; left-margin: 8
4246;; fill-column: 74
4247;; version-control: never
4248;; End:
902f2ccb 4249
32d0add0 4250 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4251 Copying and distribution of this file, with or without modification,
4252 are permitted provided the copyright notice and this notice are preserved.